From dccf1df0c62ee5fb15dbbb499e87c050afd5cf26 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 13 Aug 2025 20:39:34 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/swarm.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/task-1755117549.json | 1 + src/cli/simple-commands/swarm.js | 14 ++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 .claude/checkpoints/task-1755117549.json 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',