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

rUva2c2618efcba
diff --git a/.claude/checkpoints/task-1754337459.json b/.claude/checkpoints/task-1754337459.json
new file mode 100644
index 0000000000..43344d63c4
--- /dev/null
+++ b/.claude/checkpoints/task-1754337459.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250804-195738", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T19:57:39Z", "commit": "08ee2b93aa5a2d3124fd4c0ff746f15a1d9da01e", "github_release": "true"}
diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.js
index c34b943e55..2a931995f9 100644
--- a/src/cli/simple-commands/automation-executor.js
+++ b/src/cli/simple-commands/automation-executor.js
@@ -211,13 +211,14 @@ export class WorkflowExecutor {
console.log(` 🤖 Spawning Claude for ${agent.name}: claude ${flagsDisplay} "${displayPrompt}"`);
// Spawn Claude process
+ // In non-interactive mode with stream-json, use inherit to see real-time output
const claudeProcess = spawn('claude', claudeArgs, {
- stdio: this.options.nonInteractive ? ['pipe', 'pipe', 'pipe'] : 'inherit',
+ stdio: 'inherit', // Always inherit to see Claude's output directly
shell: false,
});
- // Handle stream-json output in non-interactive mode
- if (this.options.nonInteractive && claudeProcess.stdout) {
+ // No need to manually handle stdout in non-interactive mode with inherit
+ if (false && this.options.nonInteractive && claudeProcess.stdout) {
let buffer = '';
claudeProcess.stdout.on('data', (data) => {