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

This commit is contained in:
rUv committed 2025-08-12 18:14:06 +00:00
1 parent 40e5a9b47f
commit b5147b9984
2 files changed
+9

No files matched your search

+1
View File
@@ -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"}
+8
View File
@@ -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'];