Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

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

rUvc4a0bd301385
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 <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.