🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js
rUv393804b0838a
diff --git a/.claude/checkpoints/1755022609.json b/.claude/checkpoints/1755022609.jsonnew file mode 100644index 0000000000..c88c9bf470--- /dev/null+++ b/.claude/checkpoints/1755022609.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250812-181649", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:16:49Z", "type": "pre-edit", "original_branch": "alpha-89"}diff --git a/.claude/checkpoints/1755022611.json b/.claude/checkpoints/1755022611.jsonnew file mode 100644index 0000000000..425ff2531d--- /dev/null+++ b/.claude/checkpoints/1755022611.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250812-181651", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:16:51Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 72 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +-- .claude/checkpoints/1755022494.json | 1 + .claude/checkpoints/1755022496.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-chain.js | 11 ++++- 7 files changed, 88 insertions(+), 5 deletions(-) "}diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.jsindex 9675c25652..f6ccfe3b0f 100644--- a/src/cli/simple-commands/stream-chain.js+++ b/src/cli/simple-commands/stream-chain.js@@ -332,11 +332,11 @@ async function executeStreamStep(prompt, inputStream, isLast, flags = {}) {return new Promise((resolve) => {const startTime = Date.now();- // Check if claude CLI is available- const claudeAvailable = checkClaudeAvailable();+ // Check if we should use mock mode+ const useMock = flags.mock || !checkClaudeAvailable();- if (!claudeAvailable) {- // Mock implementation when claude CLI isn't available+ if (useMock) {+ // Mock implementation when claude CLI isn't available or mock flag is setreturn mockStreamStep(prompt, inputStream, isLast, flags, resolve, startTime);}