From 33d93519cfc2ea499adeb681fbbf530d5a1d2dd1 Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 12 Aug 2025 19:29:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/command-registry.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/task-1755026957.json | 1 + src/cli/command-registry.js | 49 +++++++++++++++--------- 2 files changed, 32 insertions(+), 18 deletions(-) create mode 100644 .claude/checkpoints/task-1755026957.json diff --git a/.claude/checkpoints/task-1755026957.json b/.claude/checkpoints/task-1755026957.json new file mode 100644 index 0000000000..3a5adde1e5 --- /dev/null +++ b/.claude/checkpoints/task-1755026957.json @@ -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"} diff --git a/src/cli/command-registry.js b/src/cli/command-registry.js index 119bfbf45a..7d1af122cd 100644 --- a/src/cli/command-registry.js +++ b/src/cli/command-registry.js @@ -723,29 +723,42 @@ Options: usage: 'stream-chain [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 [...] Execute custom chain (min 2 prompts) + demo Run 3-step demo chain + pipeline Run predefined pipeline (analysis/refactor/test/optimize) + test Test stream connection + help Show comprehensive documentation + +OPTIONS + --verbose Show detailed execution info + --timeout 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', {