From f52ef1e4cb7daa68f413ba2d2a6f80f137d9a4bf Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 12 Aug 2025 17:37:27 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/stream-chain.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1755020218.json | 1 + .claude/checkpoints/1755020220.json | 1 + src/cli/simple-commands/stream-chain.js | 15 +++++++++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .claude/checkpoints/1755020218.json create mode 100644 .claude/checkpoints/1755020220.json diff --git a/.claude/checkpoints/1755020218.json b/.claude/checkpoints/1755020218.json new file mode 100644 index 0000000000..6afbedebbe --- /dev/null +++ b/.claude/checkpoints/1755020218.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250812-173658", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T17:36:58Z", "type": "pre-edit", "original_branch": "alpha-89"} diff --git a/.claude/checkpoints/1755020220.json b/.claude/checkpoints/1755020220.json new file mode 100644 index 0000000000..0b0ed14631 --- /dev/null +++ b/.claude/checkpoints/1755020220.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250812-173700", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js", "timestamp": "2025-08-12T17:37:00Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 +++ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/task-1755020170.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/stream-chain.js | 165 +++++++++++++++++++++++++++++++ 6 files changed, 182 insertions(+), 4 deletions(-) "} diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.js index 2554f0f1d5..f165ecf7a4 100644 --- a/src/cli/simple-commands/stream-chain.js +++ b/src/cli/simple-commands/stream-chain.js @@ -460,6 +460,8 @@ Subcommands: demo Run a demonstration chain pipeline Run a predefined pipeline test Test stream connection + monitor Monitor background stream chains + kill Kill a background stream chain help Show this help message Pipeline Types: @@ -469,16 +471,25 @@ Pipeline Types: optimize - Performance optimization pipeline Options: + --background, --bg Run stream chain in background --verbose Show detailed output --json Keep JSON format for final output --timeout Set timeout for each step Examples: stream-chain run "Analyze code" "Generate tests" "Run tests" - stream-chain demo - stream-chain pipeline analysis + stream-chain demo --background + stream-chain pipeline analysis --bg + stream-chain monitor + stream-chain kill stream_1234567890 stream-chain test --verbose +Background Execution: + • Use --background or --bg to run chains in background + • Monitor with: stream-chain monitor + • Kill with: stream-chain kill + • Background chains persist across sessions + Stream Format: Each Claude instance in the chain uses stream-json format for input/output, enabling seamless data flow between steps.