🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/index.js
rUv5a0c5e355845
diff --git a/.claude/checkpoints/1755183493.json b/.claude/checkpoints/1755183493.jsonnew file mode 100644index 0000000000..d89a1402e9--- /dev/null+++ b/.claude/checkpoints/1755183493.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250814-145813", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-14T14:58:13Z", "type": "pre-edit", "original_branch": "alpha90"}diff --git a/.claude/checkpoints/1755183495.json b/.claude/checkpoints/1755183495.jsonnew file mode 100644index 0000000000..2b5867fbba--- /dev/null+++ b/.claude/checkpoints/1755183495.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250814-145815", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-14T14:58:15Z", "type": "post-edit", "branch": "alpha90", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 84 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +-- .claude/checkpoints/1755183473.json | 1 + .claude/checkpoints/1755183475.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/init/index.js | 16 +++++- 7 files changed, 105 insertions(+), 5 deletions(-) "}diff --git a/src/cli/simple-commands/init/index.js b/src/cli/simple-commands/init/index.jsindex c818ee2b80..c521141b6d 100644--- a/src/cli/simple-commands/init/index.js+++ b/src/cli/simple-commands/init/index.js@@ -1485,5 +1485,21 @@ ${commands.map((cmd) => `- [${cmd}](./${cmd}.md)`).join('\n')}console.log('• Use .claude/helpers/checkpoint-manager.sh for easy rollback');} catch (err) {printError(`Failed to initialize Claude Flow v2.0.0: ${err.message}`);++ // Attempt hive-mind rollback if it was partially initialized+ try {+ const hiveMindStatus = getHiveMindStatus(workingDir);+ if (hiveMindStatus.directories || hiveMindStatus.configured) {+ console.log('\n🔄 Attempting hive-mind system rollback...');+ const rollbackResult = await rollbackHiveMindInit(workingDir);+ if (rollbackResult.success) {+ console.log(' ✅ Hive-mind rollback completed');+ } else {+ console.log(` ⚠️ Hive-mind rollback failed: ${rollbackResult.error}`);+ }+ }+ } catch (rollbackErr) {+ console.log(` ⚠️ Rollback error: ${rollbackErr.message}`);+ }}}