mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/command-registry.js
This commit is contained in:
1 parent
c76644dcf1
commit
33d93519cf
2 files changed
+32
-18
No files matched your search
@@ -0,0 +1 @@
|
||||
{"checkpoint": "task-20250812-192916", "task": "it doesn't look any different. @ruvnet ➜ /workspaces/claude-code-flow (alpha-89) $ ./claude-flow s", "timestamp": "2025-08-12T19:29:17Z", "commit": "7c7ad85309d3de21408c8a9b6e5705a85d5c0a22", "github_release": "true"}
|
||||
+31
-18
@@ -723,29 +723,42 @@ Options:
|
||||
usage: 'stream-chain <subcommand> [options]',
|
||||
examples: [
|
||||
'stream-chain run "analyze" "design" "implement" # Custom chain',
|
||||
'stream-chain demo # Run demo chain',
|
||||
'stream-chain demo # Run demo chain',
|
||||
'stream-chain pipeline analysis # Run analysis pipeline',
|
||||
'stream-chain test # Test stream connection',
|
||||
'stream-chain help # Show detailed help',
|
||||
],
|
||||
details: `
|
||||
Stream Chaining Features:
|
||||
• Connect multiple Claude instances in sequence
|
||||
• Preserve full context between agents
|
||||
• <100ms latency per handoff
|
||||
• Support for custom and predefined pipelines
|
||||
• Real-time streaming with no intermediate files
|
||||
|
||||
Available Pipelines:
|
||||
• analysis - Code analysis pipeline
|
||||
• refactor - Refactoring pipeline
|
||||
• test - Test generation pipeline
|
||||
• optimize - Performance optimization pipeline
|
||||
|
||||
Performance:
|
||||
• Context preservation: 100%
|
||||
• Memory usage: O(1) streaming
|
||||
• End-to-end speed: 40-60% faster than file-based`,
|
||||
SUBCOMMANDS
|
||||
run <p1> <p2> [...] Execute custom chain (min 2 prompts)
|
||||
demo Run 3-step demo chain
|
||||
pipeline <type> Run predefined pipeline (analysis/refactor/test/optimize)
|
||||
test Test stream connection
|
||||
help Show comprehensive documentation
|
||||
|
||||
OPTIONS
|
||||
--verbose Show detailed execution info
|
||||
--timeout <seconds> Timeout per step (default: 30)
|
||||
--debug Enable debug mode
|
||||
|
||||
STREAM CHAINING
|
||||
Chains multiple Claude Code calls with context preservation:
|
||||
• Step 1 outputs stream-json → Step 2 receives context → Step 3...
|
||||
• 100% context preservation between steps
|
||||
• Real execution with Claude Code (not simulated)
|
||||
|
||||
PIPELINES
|
||||
analysis - Analyze → Identify issues → Generate report
|
||||
refactor - Find opportunities → Create plan → Apply changes
|
||||
test - Analyze coverage → Design cases → Generate tests
|
||||
optimize - Profile code → Find bottlenecks → Apply optimizations
|
||||
|
||||
PERFORMANCE
|
||||
• Latency: ~10-30s per step
|
||||
• Context: Full preservation
|
||||
• Streaming: No intermediate files
|
||||
|
||||
For full documentation: stream-chain help`,
|
||||
});
|
||||
|
||||
commandRegistry.set('hive', {
|
||||
|
||||
Reference in new issue
Block a user