mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/swarm.js
This commit is contained in:
1 parent
64e3e74ac5
commit
dccf1df0c6
2 files changed
+7
-8
No files matched your search
@@ -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"}
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user