From 36f17f1798aba1e32d217e4c077dcfbe27faefbb Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 4 Aug 2025 21:14:37 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/automation-executor.j?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1754342060.json | 1 + .claude/checkpoints/1754342061.json | 1 + src/cli/simple-commands/automation-executor.js | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .claude/checkpoints/1754342060.json create mode 100644 .claude/checkpoints/1754342061.json diff --git a/.claude/checkpoints/1754342060.json b/.claude/checkpoints/1754342060.json new file mode 100644 index 0000000000..65e9a82162 --- /dev/null +++ b/.claude/checkpoints/1754342060.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250804-211420", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation-executor.js", "timestamp": "2025-08-04T21:14:20Z", "type": "pre-edit", "original_branch": "alpha-85"} diff --git a/.claude/checkpoints/1754342061.json b/.claude/checkpoints/1754342061.json new file mode 100644 index 0000000000..86ad87df12 --- /dev/null +++ b/.claude/checkpoints/1754342061.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250804-211421", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation-executor.js", "timestamp": "2025-08-04T21:14:21Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1754342050.json | 1 + .claude/checkpoints/1754342051.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/automation-executor.js | 4 ++-- 7 files changed, 32 insertions(+), 6 deletions(-) "} diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.js index 6a6c60cda8..86d971b74f 100644 --- a/src/cli/simple-commands/automation-executor.js +++ b/src/cli/simple-commands/automation-executor.js @@ -264,8 +264,8 @@ export class WorkflowExecutor { console.error(` ❌ [${agent.name}] Error: ${message}`); } }); - } else if (this.options.outputFormat !== 'stream-json') { - // For non-stream-json output, show stdout directly + } else if (this.options.nonInteractive && this.options.outputFormat !== 'stream-json') { + // For non-interactive non-stream-json output, show stdout directly claudeProcess.stdout.on('data', (data) => { console.log(data.toString().trimEnd()); }); @@ -274,6 +274,7 @@ export class WorkflowExecutor { console.error(data.toString().trimEnd()); }); } + // Note: In interactive mode, stdio is inherited so Claude handles its own I/O // Handle process events claudeProcess.on('error', (error) => {