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

This commit is contained in:
rUv committed 2025-08-03 12:32:34 +00:00
1 parent 3e80fa1cf7
commit c9ea2904cd
2 files changed
+1 -6

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"checkpoint": "task-20250803-123203", "task": "{{user_prompt}} ", "timestamp": "2025-08-03T12:32:03Z", "commit": "8838348afdcc9a80cc37ad1c7f508cfafe60709a", "github_release": "true"}
-6
View File
@@ -777,12 +777,6 @@ The swarm should be self-documenting - use memory_store to save all important in
console.log('🚀 Launching Claude Code with Swarm Coordination');
console.log('─'.repeat(60));
// Save prompt to file for reference
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✓ Swarm prompt saved to: ${promptFile}`);
// Pass the prompt directly as an argument to claude
const claudeArgs = [swarmPrompt];