mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/stream-processor.js
This commit is contained in:
1 parent
40044cbc9c
commit
9f7680af3d
3 files changed
+6
-6
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250804-211912", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-processor.js", "timestamp": "2025-08-04T21:19:12Z", "type": "pre-edit", "original_branch": "alpha-85"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250804-211914", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-processor.js", "timestamp": "2025-08-04T21:19:14Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 60 +++++++++++++++++++++++------ .claude-flow/metrics/task-metrics.json | 6 +-- .claude/checkpoints/1754342315.json | 1 + .claude/checkpoints/1754342317.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-processor.js | 32 +++++++++++++++ 7 files changed, 86 insertions(+), 16 deletions(-) "}
|
||||
@@ -233,16 +233,14 @@ export class StreamJsonProcessor extends Transform {
|
||||
}
|
||||
|
||||
updateProgress() {
|
||||
const elapsed = this.formatDuration(Date.now() - this.startTime);
|
||||
const spinner = this.getSpinner();
|
||||
const progress = this.getProgressBar(Date.now() - this.startTime, 60000);
|
||||
|
||||
process.stdout.write(`\r ${spinner} ${this.agentName} ${progress} ${elapsed} | Events: ${this.eventCount}`);
|
||||
// Don't show progress updates in interactive-style mode - events handle the display
|
||||
}
|
||||
|
||||
showFinalStatus() {
|
||||
const elapsed = this.formatDuration(Date.now() - this.startTime);
|
||||
console.log(`\n 📊 ${this.agentName} processed ${this.eventCount} events in ${elapsed}`);
|
||||
console.log(`\n● 📊 ${this.agentName} - Final Status`);
|
||||
console.log(` ⎿ Events processed: ${this.eventCount}`);
|
||||
console.log(` ⎿ Total duration: ${elapsed}`);
|
||||
}
|
||||
|
||||
getSpinner() {
|
||||
|
||||
Reference in new issue
Block a user