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
40e5a9b47f
commit
b5147b9984
2 files changed
+9
No files matched your search
@@ -0,0 +1 @@
|
||||
{"checkpoint": "task-20250812-181339", "task": "this doesn't work. @ruvnet ➜ /workspaces/claude-code-flow (alpha-89) $ ./claude-flow stream-chain ", "timestamp": "2025-08-12T18:13:40Z", "commit": "98a31c57003ed29608cd20be6c07a24000a10674", "github_release": "true"}
|
||||
@@ -260,6 +260,14 @@ async function executeStreamStep(prompt, inputStream, isLast, flags = {}) {
|
||||
return new Promise((resolve) => {
|
||||
const startTime = Date.now();
|
||||
|
||||
// Check if claude CLI is available
|
||||
const claudeAvailable = checkClaudeAvailable();
|
||||
|
||||
if (!claudeAvailable) {
|
||||
// Mock implementation when claude CLI isn't available
|
||||
return mockStreamStep(prompt, inputStream, isLast, flags, resolve, startTime);
|
||||
}
|
||||
|
||||
// Build command arguments
|
||||
const args = ['-p'];
|
||||
|
||||
|
||||
Reference in new issue
Block a user