mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js
This commit is contained in:
1 parent
089a631d46
commit
8cdc869e62
2 files changed
+6
-2
No files matched your search
@@ -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"}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user