mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/index.js
This commit is contained in:
1 parent
fe532bcaf1
commit
ab033295e6
3 files changed
+27
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250814-145849", "file": "/workspaces/claude-code-flow/claude/commands/hive-mind/status.js", "timestamp": "2025-08-14T14:58:49Z", "type": "pre-edit", "original_branch": "alpha90"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250814-145851", "file": "/workspaces/claude-code-flow/claude/commands/hive-mind/status.js", "timestamp": "2025-08-14T14:58:51Z", "type": "post-edit", "branch": "alpha90", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 96 ++++++++ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1755183526.json | 1 + .claude/checkpoints/1755183528.json | 1 + claude-flow-wiki | 0 claude/commands/hive-mind/status.js | 367 +++++++++++++++++++++++++++++++ 7 files changed, 469 insertions(+), 4 deletions(-) "}
|
||||
@@ -488,6 +488,31 @@ export async function initCommand(subArgs, flags) {
|
||||
console.log(' • Monitor performance with real-time metrics');
|
||||
}
|
||||
|
||||
// Initialize hive-mind system for standard init
|
||||
console.log('\n🧠 Initializing basic hive-mind system...');
|
||||
try {
|
||||
const hiveMindOptions = {
|
||||
config: {
|
||||
integration: {
|
||||
claudeCode: { enabled: isClaudeCodeInstalled() },
|
||||
mcpTools: { enabled: true }
|
||||
},
|
||||
monitoring: { enabled: false } // Basic setup for standard init
|
||||
}
|
||||
};
|
||||
|
||||
const hiveMindResult = await initializeHiveMind(workingDir, hiveMindOptions, false);
|
||||
|
||||
if (hiveMindResult.success) {
|
||||
console.log(' ✅ Basic hive-mind system initialized');
|
||||
console.log(' 💡 Use "npx claude-flow@alpha hive-mind" for advanced features');
|
||||
} else {
|
||||
console.log(` ⚠️ Hive-mind setup skipped: ${hiveMindResult.error}`);
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(` ⚠️ Hive-mind setup skipped: ${err.message}`);
|
||||
}
|
||||
|
||||
// Check for Claude Code and set up MCP servers (always enabled by default)
|
||||
if (!initDryRun && isClaudeCodeInstalled()) {
|
||||
console.log('\n🔍 Claude Code CLI detected!');
|
||||
|
||||
Reference in new issue
Block a user