mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/stream-processor.js
This commit is contained in:
1 parent
aef868d708
commit
470bb56471
3 files changed
+21
No files matched your search
@@ -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"}
|
||||
@@ -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(-) "}
|
||||
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user