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

This commit is contained in:
rUv committed 2025-08-12 17:37:27 +00:00
1 parent 7f06fd4b39
commit f52ef1e4cb
3 files changed
+15 -2

No files matched your search

+1
View File
@@ -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"}
+1
View File
@@ -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(-) "}
+13 -2
View File
@@ -460,6 +460,8 @@ Subcommands:
demo Run a demonstration chain
pipeline <type> Run a predefined pipeline
test Test stream connection
monitor Monitor background stream chains
kill <process_id> 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 <sec> 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 <process_id>
• 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.