π 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/swarm.js
rUvc78cdb705653
diff --git a/.claude/checkpoints/1754224563.json b/.claude/checkpoints/1754224563.jsonnew file mode 100644index 0000000000..e67e773471--- /dev/null+++ b/.claude/checkpoints/1754224563.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250803-123603", "file": "/workspaces/claude-code-flow/src/cli/help-text.js", "timestamp": "2025-08-03T12:36:03Z", "type": "pre-edit", "original_branch": "alpha-84b"}diff --git a/.claude/checkpoints/1754224565.json b/.claude/checkpoints/1754224565.jsonnew file mode 100644index 0000000000..60a9cb7509--- /dev/null+++ b/.claude/checkpoints/1754224565.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250803-123605", "file": "/workspaces/claude-code-flow/src/cli/help-text.js", "timestamp": "2025-08-03T12:36:05Z", "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/1754224553.json | 1 + .claude/checkpoints/1754224555.json | 1 + claude-flow-wiki | 0 src/cli/help-text.js | 2 +- 7 files changed, 20 insertions(+), 6 deletions(-) "}diff --git a/src/cli/simple-commands/swarm.js b/src/cli/simple-commands/swarm.jsindex 35ebd2e53d..d9f90534c4 100644--- a/src/cli/simple-commands/swarm.js+++ b/src/cli/simple-commands/swarm.js@@ -156,7 +156,7 @@ EXAMPLES:claude-flow swarm "Develop user registration feature" --mode distributedclaude-flow swarm "Optimize React app performance" --strategy optimizationclaude-flow swarm "Create microservice" --executor # Use built-in executor- claude-flow swarm "Build API" --claude # Open Claude Code desktop app+ claude-flow swarm "Build API" --claude # Open Claude Code CLIclaude-flow swarm "Build API endpoints" --output-format json # Get JSON outputclaude-flow swarm "Research AI trends" --output-format json --output-file results.json@@ -165,7 +165,7 @@ DEFAULT BEHAVIOR:including memory coordination, agent management, and task orchestration.If Claude CLI is not available:- β’ Use --claude flag to open Claude Code desktop app+ β’ Use --claude flag to open Claude Code CLIβ’ Use --executor flag to run with the built-in executorSTRATEGIES:@@ -213,7 +213,7 @@ OPTIONS:--verbose Enable detailed logging--dry-run Show configuration without executing--executor Use built-in executor instead of Claude Code- --claude Force open Claude Code desktop app (even without CLI)+ --claude Open Claude Code CLI--output-format <format> Output format: json, text (default: text)--output-file <path> Save output to file instead of stdout--no-interactive Run in non-interactive mode (auto-enabled with --output-format json)@@ -847,12 +847,12 @@ The swarm should be self-documenting - use memory_store to save all important in} catch {console.log('β οΈ Claude Code CLI not found in PATH');console.log('Install it with: npm install -g @anthropic-ai/claude-code');- console.log('Or use --claude flag to open Claude Code desktop app');+ console.log('Or use --claude flag to open Claude Code CLI');console.log('\nWould spawn Claude Code with swarm objective:');console.log(`π Objective: ${objective}`);console.log('\nOptions:');console.log(' β’ Use --executor flag for built-in executor: claude-flow swarm "objective" --executor');- console.log(' β’ Use --claude flag to open desktop app: claude-flow swarm "objective" --claude');+ console.log(' β’ Use --claude flag to open Claude Code CLI: claude-flow swarm "objective" --claude');return;}@@ -896,7 +896,7 @@ The swarm should be self-documenting - use memory_store to save all important inconsole.log('π€ Running in non-interactive mode with Claude CLI');console.log('π Command: claude [prompt] -p --output-format stream-json --verbose');- console.log('π‘ Tip: Use --claude flag to open Claude Code desktop app instead');+ console.log('π‘ Tip: Use --claude flag to open Claude Code CLI instead');}// Spawn claude with the prompt as the first argument@@ -1483,7 +1483,7 @@ OPTIONS:--verbose Enable detailed logging--dry-run Show configuration without executing--executor Use built-in executor instead of Claude Code- --claude Force open Claude Code desktop app (even without CLI)+ --claude Open Claude Code CLI--output-format <format> Output format: json, text (default: text)--output-file <path> Save output to file instead of stdout--no-interactive Run in non-interactive mode (auto-enabled with --output-format json)