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/swarm.js

rUv88348c79e0d9
diff --git a/.claude/checkpoints/1754223377.json b/.claude/checkpoints/1754223377.json
new file mode 100644
index 0000000000..748e459eaa
--- /dev/null
+++ b/.claude/checkpoints/1754223377.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250803-121617", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/swarm.js", "timestamp": "2025-08-03T12:16:17Z", "type": "pre-edit", "original_branch": "alpha-84b"}
diff --git a/.claude/checkpoints/1754223379.json b/.claude/checkpoints/1754223379.json
new file mode 100644
index 0000000000..f841622701
--- /dev/null
+++ b/.claude/checkpoints/1754223379.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250803-121619", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/swarm.js", "timestamp": "2025-08-03T12:16:19Z", "type": "post-edit", "branch": "alpha-84b", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 +++++++++++ .claude-flow/metrics/task-metrics.json | 8 +++---- .claude/checkpoints/1754223355.json | 1 + .claude/checkpoints/1754223357.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/swarm.js | 36 -------------------------------- 7 files changed, 19 insertions(+), 41 deletions(-) "}
diff --git a/src/cli/simple-commands/swarm.js b/src/cli/simple-commands/swarm.js
index cbeb2bb169..36c26d378f 100644
--- a/src/cli/simple-commands/swarm.js
+++ b/src/cli/simple-commands/swarm.js
@@ -387,7 +387,17 @@ export async function swarmCommand(args, flags) {
return;
} catch (desktopError) {
console.log('⚠️ Could not open Claude Code desktop app automatically');
- console.log('Please open Claude Code manually and paste the prompt above');
+ console.log('Please open Claude Code manually and paste the prompt below');
+ console.log('\n📋 Copy this prompt into Claude Code:\n');
+ console.log('═'.repeat(80));
+ console.log(swarmPrompt);
+ console.log('═'.repeat(80));
+
+ // Save prompt to file for easy access
+ const promptFile = path.join(process.cwd(), '.claude-flow', `swarm-prompt-${Date.now()}.txt`);
+ await mkdirAsync(path.dirname(promptFile));
+ await writeTextFile(promptFile, swarmPrompt);
+ console.log(`\n💾 Prompt saved to: ${promptFile}`);
return;
}
}