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) => {