Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/index.js

rUvab033295e694
diff --git a/.claude/checkpoints/1755183529.json b/.claude/checkpoints/1755183529.json
new file mode 100644
index 0000000000..b13fdac1ed
--- /dev/null
+++ b/.claude/checkpoints/1755183529.json
@@ -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"}
diff --git a/.claude/checkpoints/1755183531.json b/.claude/checkpoints/1755183531.json
new file mode 100644
index 0000000000..96a5ae2d2b
--- /dev/null
+++ b/.claude/checkpoints/1755183531.json
@@ -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(-) "}
diff --git a/src/cli/simple-commands/init/index.js b/src/cli/simple-commands/init/index.js
index c521141b6d..6de82ec196 100644
--- a/src/cli/simple-commands/init/index.js
+++ b/src/cli/simple-commands/init/index.js
@@ -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!');