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

rUvdccf1df0c62e
diff --git a/.claude/checkpoints/task-1755117549.json b/.claude/checkpoints/task-1755117549.json
new file mode 100644
index 0000000000..4c22002a92
--- /dev/null
+++ b/.claude/checkpoints/task-1755117549.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250813-203908", "task": "@ruvnet ➜ /workspaces/claude-code-flow (alpha-89) $ ./claude-flow swarm "analyze code" --claude �", "timestamp": "2025-08-13T20:39:09Z", "commit": "27068a3cec7dad5bc385be413c9f47a55aa13c07", "github_release": "true"}
diff --git a/src/cli/simple-commands/swarm.js b/src/cli/simple-commands/swarm.js
index 73cc41e186..8ed18a82c3 100644
--- a/src/cli/simple-commands/swarm.js
+++ b/src/cli/simple-commands/swarm.js
@@ -792,16 +792,14 @@ The swarm should be self-documenting - use memory_store to save all important in
// --claude flag means interactive mode, so don't add non-interactive flags
- // For --claude interactive mode, don't use the wrapper that interferes with stdio
- // Just spawn Claude directly with telemetry environment variables
+ // For --claude interactive mode, spawn Claude directly
+ // Temporarily disable telemetry to avoid console output interference
const claudeEnv = { ...process.env };
- if (process.env.CLAUDE_CODE_ENABLE_TELEMETRY === '1') {
- console.log(`📊 Telemetry enabled - token usage will be tracked`);
- // Set telemetry to file output instead of console to avoid interference
- claudeEnv.OTEL_METRICS_EXPORTER = 'none'; // Disable console output
- claudeEnv.OTEL_LOGS_EXPORTER = 'none'; // Disable console output
- }
+ // Remove telemetry env vars to prevent console output
+ delete claudeEnv.CLAUDE_CODE_ENABLE_TELEMETRY;
+ delete claudeEnv.OTEL_METRICS_EXPORTER;
+ delete claudeEnv.OTEL_LOGS_EXPORTER;
const claudeProcess = spawn('claude', claudeArgs, {
stdio: 'inherit',