Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/automation-executor.js

rUvda6c9bd57334
diff --git a/.claude/checkpoints/1754339457.json b/.claude/checkpoints/1754339457.json
new file mode 100644
index 0000000000..adb7b2b4bb
--- /dev/null
+++ b/.claude/checkpoints/1754339457.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250804-203057", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-processor.js", "timestamp": "2025-08-04T20:30:57Z", "type": "pre-edit", "original_branch": "alpha-85"}
diff --git a/.claude/checkpoints/1754339459.json b/.claude/checkpoints/1754339459.json
new file mode 100644
index 0000000000..f41d47a089
--- /dev/null
+++ b/.claude/checkpoints/1754339459.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250804-203059", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-processor.js", "timestamp": "2025-08-04T20:30:59Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 6 +-- .claude-flow/metrics/system-metrics.json | 48 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +-- .claude/checkpoints/1754339417.json | 1 + .claude/checkpoints/1754339418.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-processor.js | 58 +++++++++++++++++++++++++++++ 7 files changed, 114 insertions(+), 6 deletions(-) "}
diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.js
index b2317c5565..0066b48f64 100644
--- a/src/cli/simple-commands/automation-executor.js
+++ b/src/cli/simple-commands/automation-executor.js
@@ -529,6 +529,26 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ
console.log(`📋 Executing ${totalTasks} tasks in ${executionPlan.length} phases...`);
console.log();
+ // Initialize concurrent display if in non-interactive mode with stream-json
+ let concurrentDisplay = null;
+ if (this.options.nonInteractive && this.options.outputFormat === 'stream-json') {
+ const { createConcurrentDisplay } = await import('./concurrent-display.js');
+
+ // Get all agents and their tasks
+ const agentTasks = workflow.agents?.map(agent => ({
+ id: agent.id,
+ name: agent.name,
+ type: agent.type,
+ tasks: tasks.filter(t => t.assignTo === agent.id).map(t => t.name)
+ })) || [];
+
+ concurrentDisplay = createConcurrentDisplay(agentTasks);
+ concurrentDisplay.start();
+
+ // Store reference for stream processors
+ this.concurrentDisplay = concurrentDisplay;
+ }
+
// Execute tasks phase by phase
for (const [phaseIndex, phaseTasks] of executionPlan.entries()) {
this.currentPhase = `Phase ${phaseIndex + 1}`;