🌊 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
rUvc6cdaa15960d
diff --git a/.claude/checkpoints/1755023744.json b/.claude/checkpoints/1755023744.jsonnew file mode 100644index 0000000000..ede3b9f60b--- /dev/null+++ b/.claude/checkpoints/1755023744.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250812-183544", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:35:44Z", "type": "pre-edit", "original_branch": "alpha-89"}diff --git a/.claude/checkpoints/1755023746.json b/.claude/checkpoints/1755023746.jsonnew file mode 100644index 0000000000..6ed3d30710--- /dev/null+++ b/.claude/checkpoints/1755023746.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250812-183546", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T18:35:46Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 6118 +----------------------------- .claude-flow/metrics/task-metrics.json | 14 +- .claude/checkpoints/1755023727.json | 1 + .claude/checkpoints/1755023729.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-chain.js | 2 - 7 files changed, 97 insertions(+), 6045 deletions(-) "}diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.jsindex 6340e52ed4..b5339cf8a9 100644--- a/src/cli/simple-commands/stream-chain.js+++ b/src/cli/simple-commands/stream-chain.js@@ -370,11 +370,13 @@ async function executeStreamStep(prompt, inputStream, isLast, flags = {}) {// Add input format if we have input streamif (inputStream) {args.push('--input-format', 'stream-json');- }-- // Add output format unless it's the last step and user wants text- if (!isLast || flags.json) {+ // When input format is stream-json, output format must also be stream-jsonargs.push('--output-format', 'stream-json');+ } else {+ // Add output format unless it's the last step and user wants text+ if (!isLast || flags.json) {+ args.push('--output-format', 'stream-json');+ }}// Add the prompt