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

rUv1641910e63c0
diff --git a/.claude/checkpoints/1755023408.json b/.claude/checkpoints/1755023408.json
new file mode 100644
index 0000000000..e22e1a87b4
--- /dev/null
+++ b/.claude/checkpoints/1755023408.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250812-183008", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:30:08Z", "type": "pre-edit", "original_branch": "alpha-89"}
diff --git a/.claude/checkpoints/1755023410.json b/.claude/checkpoints/1755023410.json
new file mode 100644
index 0000000000..a05fecd1a0
--- /dev/null
+++ b/.claude/checkpoints/1755023410.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250812-183009", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:30:10Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 6096 +----------------------------- .claude-flow/metrics/task-metrics.json | 14 +- .claude/checkpoints/1755023392.json | 1 + .claude/checkpoints/1755023394.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-chain.js | 1 + 7 files changed, 21 insertions(+), 6098 deletions(-) "}
diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.js
index fc857016c9..2c6965bddb 100644
--- a/src/cli/simple-commands/stream-chain.js
+++ b/src/cli/simple-commands/stream-chain.js
@@ -421,8 +421,8 @@ async function executeStreamStep(prompt, inputStream, isLast, flags = {}) {
const timeoutId = setTimeout(() => {
claudeProcess.kill();
console.log('⚠️ Claude CLI timed out, falling back to mock mode...');
- // Fallback to mock implementation
- mockStreamStep(prompt, inputStream, isLast, { ...flags, mock: true }, resolve, startTime);
+ // Fallback to mock implementation with a fresh start time
+ mockStreamStep(prompt, inputStream, isLast, { ...flags, mock: true }, resolve, Date.now());
}, stepTimeout);
});
}