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

rUv8cdc869e62ba
diff --git a/.claude/checkpoints/task-1755023280.json b/.claude/checkpoints/task-1755023280.json
new file mode 100644
index 0000000000..6b4b7974a0
--- /dev/null
+++ b/.claude/checkpoints/task-1755023280.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250812-182759", "task": "this doesn't seem to actually work. ruvnet ➜ /workspaces/claude-code-flow (alpha-89) $ ./claude-fl", "timestamp": "2025-08-12T18:28:00Z", "commit": "c0d3c6bfeffada6811bb38cde3d71d5feeeb497b", "github_release": "true"}
diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.js
index 632a5ce9de..5451b77074 100644
--- a/src/cli/simple-commands/stream-chain.js
+++ b/src/cli/simple-commands/stream-chain.js
@@ -454,11 +454,14 @@ async function runDemoChain(flags) {
"Implement the core functionality based on the design"
];
- // Force mock mode for demo if not explicitly requesting real mode
+ // Use real mode if Claude CLI is available, unless mock is explicitly requested
const demoFlags = { ...flags };
- if (!flags.real) {
+ if (flags.mock) {
+ demoFlags.mock = true;
+ } else if (!checkClaudeAvailable()) {
demoFlags.mock = true;
}
+ // Otherwise use real mode (Claude CLI is available)
return runStreamChain(demoPrompts, demoFlags);
}