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/stream-chain.js

rUvc748811a7916
diff --git a/.claude/checkpoints/1755023631.json b/.claude/checkpoints/1755023631.json
new file mode 100644
index 0000000000..8d3a833f3a
--- /dev/null
+++ b/.claude/checkpoints/1755023631.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250812-183350", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:33:51Z", "type": "pre-edit", "original_branch": "alpha-89"}
diff --git a/.claude/checkpoints/1755023632.json b/.claude/checkpoints/1755023632.json
new file mode 100644
index 0000000000..013f4bf5a6
--- /dev/null
+++ b/.claude/checkpoints/1755023632.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250812-183352", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:33:52Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 6110 +----------------------------- .claude-flow/metrics/task-metrics.json | 14 +- .claude/checkpoints/1755023619.json | 1 + .claude/checkpoints/1755023620.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-chain.js | 7 + 7 files changed, 76 insertions(+), 6063 deletions(-) "}
diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.js
index e2c9a008ec..e6cd7cb4c9 100644
--- a/src/cli/simple-commands/stream-chain.js
+++ b/src/cli/simple-commands/stream-chain.js
@@ -448,6 +448,7 @@ async function executeStreamStep(prompt, inputStream, isLast, flags = {}) {
// Handle timeout - fallback to mock mode if Claude CLI hangs
const timeoutId = setTimeout(() => {
+ timedOut = true; // Mark as timed out
claudeProcess.kill();
console.log('⚠️ Claude CLI timed out, falling back to mock mode...');
console.log(' Debug: Calling mockStreamStep with fallback...');