mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/command-registry.js
This commit is contained in:
1 parent
47925c4134
commit
707e836629
3 files changed
+28
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250805-142655", "file": "/workspaces/claude-code-flow/src/cli/command-registry.js", "timestamp": "2025-08-05T14:26:55Z", "type": "pre-edit", "original_branch": "alpha-86"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250805-142657", "file": "/workspaces/claude-code-flow/src/cli/command-registry.js", "timestamp": "2025-08-05T14:26:57Z", "type": "post-edit", "branch": "alpha-86", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 2896 +++++++++++++----------------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754404006.json | 1 + .claude/checkpoints/1754404008.json | 1 + memory/memory-store.json | 6 + src/cli/command-registry.js | 1 + 7 files changed, 1251 insertions(+), 1662 deletions(-) "}
|
||||
@@ -111,6 +111,32 @@ First-time users should run: npx claude-flow@latest init --sparc`,
|
||||
],
|
||||
});
|
||||
|
||||
commandRegistry.set('memory-consolidate', {
|
||||
handler: memoryConsolidationCommand,
|
||||
description: 'Consolidate fragmented memory stores into unified database',
|
||||
usage: 'memory-consolidate <command> [options]',
|
||||
examples: [
|
||||
'memory-consolidate scan # Scan for all memory stores',
|
||||
'memory-consolidate plan # Create consolidation plan',
|
||||
'memory-consolidate execute --force # Execute consolidation',
|
||||
'memory-consolidate report # Generate report',
|
||||
],
|
||||
details: `
|
||||
Memory Consolidation Features:
|
||||
• Discovers all memory storage locations (JSON & SQLite)
|
||||
• Creates automatic backups before consolidation
|
||||
• Merges all stores into unified SQLite database
|
||||
• Optimizes with indices for better performance
|
||||
• Maintains backward compatibility
|
||||
|
||||
Benefits:
|
||||
• Single source of truth for all memory data
|
||||
• Improved query performance with indices
|
||||
• Reduced disk fragmentation
|
||||
• Easier backup and restore
|
||||
• Cross-session persistence`,
|
||||
});
|
||||
|
||||
commandRegistry.set('sparc', {
|
||||
handler: sparcCommand,
|
||||
description: 'SPARC development mode operations',
|
||||
|
||||
Reference in new issue
Block a user