From 470bb56471e7a52da7170e61ba22a9414537c0e2 Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 5 Aug 2025 03:27:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/stream-processor.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1754364395.json | 1 + .claude/checkpoints/1754364397.json | 1 + src/cli/simple-commands/stream-processor.js | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 .claude/checkpoints/1754364395.json create mode 100644 .claude/checkpoints/1754364397.json diff --git a/.claude/checkpoints/1754364395.json b/.claude/checkpoints/1754364395.json new file mode 100644 index 0000000000..61b238b69a --- /dev/null +++ b/.claude/checkpoints/1754364395.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250805-032635", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation.js", "timestamp": "2025-08-05T03:26:35Z", "type": "pre-edit", "original_branch": "alpha-85"} diff --git a/.claude/checkpoints/1754364397.json b/.claude/checkpoints/1754364397.json new file mode 100644 index 0000000000..afc9b43ce2 --- /dev/null +++ b/.claude/checkpoints/1754364397.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250805-032637", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation.js", "timestamp": "2025-08-05T03:26:37Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 36 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1754364384.json | 1 + .claude/checkpoints/1754364386.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/automation.js | 2 +- 7 files changed, 43 insertions(+), 5 deletions(-) "} diff --git a/src/cli/simple-commands/stream-processor.js b/src/cli/simple-commands/stream-processor.js index eab041a394..77ea1e9e27 100644 --- a/src/cli/simple-commands/stream-processor.js +++ b/src/cli/simple-commands/stream-processor.js @@ -70,6 +70,25 @@ export class StreamJsonProcessor extends Transform { return; } + // Handle quiet mode - only show major milestones + if (this.options.verbose === false && this.options.logLevel === 'quiet') { + switch (event.type) { + case 'system': + if (event.subtype === 'init') { + console.log(`🤖 ${this.agentName} - Started`); + } + break; + case 'result': + if (event.subtype === 'success') { + console.log(`✅ ${this.agentName} - Completed (${this.formatDuration(event.duration_ms)})`); + } else if (event.is_error) { + console.log(`❌ ${this.agentName} - Failed: ${event.error || 'Unknown error'}`); + } + break; + } + return; + } + // Use clean, concise formatting for non-interactive mode switch (event.type) { case 'system':