mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/index.js
This commit is contained in:
1 parent
504cae646d
commit
8428f30ed2
3 files changed
+17
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250814-145753", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-14T14:57:53Z", "type": "pre-edit", "original_branch": "alpha90"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250814-145755", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-14T14:57:55Z", "type": "post-edit", "branch": "alpha90", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 72 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1755183448.json | 1 + .claude/checkpoints/1755183449.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/init/index.js | 97 +++++++++----------------------- 7 files changed, 106 insertions(+), 73 deletions(-) "}
|
||||
@@ -1447,20 +1447,34 @@ ${commands.map((cmd) => `- [${cmd}](./${cmd}.md)`).join('\n')}
|
||||
await setupMonitoring(workingDir);
|
||||
}
|
||||
|
||||
// Final instructions
|
||||
// Final instructions with hive-mind status
|
||||
console.log('\n🎉 Claude Flow v2.0.0 initialization complete!');
|
||||
|
||||
// Display hive-mind status
|
||||
const hiveMindStatus = getHiveMindStatus(workingDir);
|
||||
console.log('\n🧠 Hive Mind System Status:');
|
||||
console.log(` Configuration: ${hiveMindStatus.configured ? '✅ Ready' : '❌ Missing'}`);
|
||||
console.log(` Database: ${hiveMindStatus.database === 'sqlite' ? '✅ SQLite' : hiveMindStatus.database === 'fallback' ? '⚠️ JSON Fallback' : '❌ Not initialized'}`);
|
||||
console.log(` Directory Structure: ${hiveMindStatus.directories ? '✅ Created' : '❌ Missing'}`);
|
||||
|
||||
console.log('\n📚 Quick Start:');
|
||||
if (isClaudeCodeInstalled()) {
|
||||
console.log('1. View available commands: ls .claude/commands/');
|
||||
console.log('2. Start a swarm: npx claude-flow@alpha swarm "your objective" --claude');
|
||||
console.log('3. Use hive-mind: npx claude-flow@alpha hive-mind spawn "command" --claude');
|
||||
console.log('4. Use MCP tools in Claude Code for enhanced coordination');
|
||||
if (hiveMindStatus.configured) {
|
||||
console.log('5. Initialize first swarm: npx claude-flow@alpha hive-mind init');
|
||||
}
|
||||
} else {
|
||||
console.log('1. Install Claude Code: npm install -g @anthropic-ai/claude-code');
|
||||
console.log('2. Add MCP servers (see instructions above)');
|
||||
console.log('3. View available commands: ls .claude/commands/');
|
||||
console.log('4. Start a swarm: npx claude-flow@alpha swarm "your objective" --claude');
|
||||
console.log('5. Use hive-mind: npx claude-flow@alpha hive-mind spawn "command" --claude');
|
||||
if (hiveMindStatus.configured) {
|
||||
console.log('6. Initialize first swarm: npx claude-flow@alpha hive-mind init');
|
||||
}
|
||||
}
|
||||
console.log('\n💡 Tips:');
|
||||
console.log('• Check .claude/commands/ for detailed documentation');
|
||||
|
||||
Reference in new issue
Block a user