🌊 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
rUvf4eed732b487
diff --git a/.claude/checkpoints/1755023516.json b/.claude/checkpoints/1755023516.jsonnew file mode 100644index 0000000000..4092720a82--- /dev/null+++ b/.claude/checkpoints/1755023516.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250812-183156", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:31:56Z", "type": "pre-edit", "original_branch": "alpha-89"}diff --git a/.claude/checkpoints/1755023518.json b/.claude/checkpoints/1755023518.jsonnew file mode 100644index 0000000000..328f18135e--- /dev/null+++ b/.claude/checkpoints/1755023518.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250812-183158", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:31:58Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 6102 +----------------------------- .claude-flow/metrics/task-metrics.json | 14 +- .claude/checkpoints/1755023491.json | 1 + .claude/checkpoints/1755023493.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-chain.js | 4 +- 7 files changed, 43 insertions(+), 6085 deletions(-) "}diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.jsindex d1e34be2fd..a9ff95958f 100644--- a/src/cli/simple-commands/stream-chain.js+++ b/src/cli/simple-commands/stream-chain.js@@ -460,14 +460,12 @@ async function runDemoChain(flags) {"Implement the core functionality based on the design"];- // Use real mode if Claude CLI is available, unless mock is explicitly requested+ // For demo reliability, default to mock mode unless --real flag is usedconst demoFlags = { ...flags };- if (flags.mock) {- demoFlags.mock = true;- } else if (!checkClaudeAvailable()) {+ if (!flags.real) {demoFlags.mock = true;}- // Otherwise use real mode (Claude CLI is available)+ // Use real mode only if --real flag is explicitly providedreturn runStreamChain(demoPrompts, demoFlags);}