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

rUv0f91173b1e9b
diff --git a/.claude/checkpoints/1755022494.json b/.claude/checkpoints/1755022494.json
new file mode 100644
index 0000000000..1e35defab6
--- /dev/null
+++ b/.claude/checkpoints/1755022494.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250812-181454", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:14:54Z", "type": "pre-edit", "original_branch": "alpha-89"}
diff --git a/.claude/checkpoints/1755022496.json b/.claude/checkpoints/1755022496.json
new file mode 100644
index 0000000000..a06d0a2ecf
--- /dev/null
+++ b/.claude/checkpoints/1755022496.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250812-181456", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:14:56Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1755022478.json | 1 + .claude/checkpoints/1755022479.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-chain.js | 8 ++++++++ 7 files changed, 38 insertions(+), 4 deletions(-) "}
diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.js
index d01a8c59f8..9675c25652 100644
--- a/src/cli/simple-commands/stream-chain.js
+++ b/src/cli/simple-commands/stream-chain.js
@@ -441,6 +441,9 @@ async function runDemoChain(flags) {
console.log('⚠️ Warning: Claude CLI not found - using mock implementation');
console.log(' For real stream chaining, install Claude CLI:');
console.log(' https://docs.anthropic.com/claude/docs/claude-cli\n');
+ } else {
+ console.log('ℹ️ Claude CLI detected - attempting real stream chaining');
+ console.log(' Note: This requires Claude CLI to be properly configured\n');
}
console.log('This demo shows a 3-step analysis → design → implementation chain\n');
@@ -451,7 +454,13 @@ async function runDemoChain(flags) {
"Implement the core functionality based on the design"
];
- return runStreamChain(demoPrompts, flags);
+ // Force mock mode for demo if not explicitly requesting real mode
+ const demoFlags = { ...flags };
+ if (!flags.real) {
+ demoFlags.mock = true;
+ }
+
+ return runStreamChain(demoPrompts, demoFlags);
}
/**