🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js

This commit is contained in:
rUv committed 2025-08-12 18:28:43 +00:00
1 parent 089a631d46
commit 8cdc869e62
2 files changed
+6 -2

No files matched your search

+1
View File
@@ -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"}
+5 -2
View File
@@ -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);
}