From 3470ad370a7b774b57bf318ba2a6a6ee0d40cb2b Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 26 Jan 2026 18:45:57 +0000 Subject: [PATCH 1/6] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: fix/cli-help-categories - Timestamp: 2026-01-26T18:45:57Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/index.ts | 41 ++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/v3/@claude-flow/cli/src/index.ts b/v3/@claude-flow/cli/src/index.ts index ca2fc5e1e0..4d76e7be8a 100644 --- a/v3/@claude-flow/cli/src/index.ts +++ b/v3/@claude-flow/cli/src/index.ts @@ -268,8 +268,45 @@ export class CLI { this.output.writeln(` ${this.name} [subcommand] [options]`); this.output.writeln(); - this.output.writeln(this.output.bold('COMMANDS:')); - for (const cmd of commands) { + // Primary Commands + this.output.writeln(this.output.bold('PRIMARY COMMANDS:')); + for (const cmd of commandsByCategory.primary) { + if (cmd.hidden) continue; + const name = cmd.name.padEnd(12); + this.output.writeln(` ${this.output.highlight(name)} ${cmd.description}`); + } + this.output.writeln(); + + // Advanced Commands + this.output.writeln(this.output.bold('ADVANCED COMMANDS:')); + for (const cmd of commandsByCategory.advanced) { + if (cmd.hidden) continue; + const name = cmd.name.padEnd(12); + this.output.writeln(` ${this.output.highlight(name)} ${cmd.description}`); + } + this.output.writeln(); + + // Utility Commands + this.output.writeln(this.output.bold('UTILITY COMMANDS:')); + for (const cmd of commandsByCategory.utility) { + if (cmd.hidden) continue; + const name = cmd.name.padEnd(12); + this.output.writeln(` ${this.output.highlight(name)} ${cmd.description}`); + } + this.output.writeln(); + + // Analysis Commands + this.output.writeln(this.output.bold('ANALYSIS COMMANDS:')); + for (const cmd of commandsByCategory.analysis) { + if (cmd.hidden) continue; + const name = cmd.name.padEnd(12); + this.output.writeln(` ${this.output.highlight(name)} ${cmd.description}`); + } + this.output.writeln(); + + // Management Commands + this.output.writeln(this.output.bold('MANAGEMENT COMMANDS:')); + for (const cmd of commandsByCategory.management) { if (cmd.hidden) continue; const name = cmd.name.padEnd(12); this.output.writeln(` ${this.output.highlight(name)} ${cmd.description}`); From 7ce1700d00437fca18a413017740425476f51caf Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 26 Jan 2026 18:46:27 +0000 Subject: [PATCH 2/6] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: fix/cli-help-categories - Timestamp: 2026-01-26T18:46:27Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/@claude-flow/cli/src/index.ts b/v3/@claude-flow/cli/src/index.ts index 4d76e7be8a..b773ea9ba9 100644 --- a/v3/@claude-flow/cli/src/index.ts +++ b/v3/@claude-flow/cli/src/index.ts @@ -11,7 +11,7 @@ import { dirname, join } from 'path'; import type { Command, CommandContext, CommandResult, V3Config, CLIError } from './types.js'; import { CommandParser, commandParser } from './parser.js'; import { OutputFormatter, output } from './output.js'; -import { commands, commandRegistry, getCommand, getCommandAsync, getCommandNames, hasCommand } from './commands/index.js'; +import { commands, commandsByCategory, commandRegistry, getCommand, getCommandAsync, getCommandNames, hasCommand } from './commands/index.js'; import { suggestCommand } from './suggest.js'; import { runStartupUpdateCheck } from './update/index.js'; From bd26c586c8a59b6549d267cc134a652d7f07af95 Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 26 Jan 2026 18:47:47 +0000 Subject: [PATCH 3/6] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: fix/cli-help-categories - Timestamp: 2026-01-26T18:47:47Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/commands/index.ts | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/v3/@claude-flow/cli/src/commands/index.ts b/v3/@claude-flow/cli/src/commands/index.ts index ea88a4cdf5..17e092243e 100644 --- a/v3/@claude-flow/cli/src/commands/index.ts +++ b/v3/@claude-flow/cli/src/commands/index.ts @@ -214,6 +214,39 @@ export const commands: Command[] = [ hiveMindCommand, ]; +/** + * Commands organized by category for help display + */ +export const commandsByCategory = { + primary: [ + initCommand, + startCommand, + statusCommand, + agentCommand, + swarmCommand, + memoryCommand, + taskCommand, + sessionCommand, + mcpCommand, + hooksCommand, + ], + advanced: [ + neuralCommand, + securityCommand, + performanceCommand, + embeddingsCommand, + hiveMindCommand, + ruvectorCommand, + ], + utility: [ + // These are lazy-loaded, will be populated when accessed + doctorCommand, + daemonCommand, + ], + analysis: [] as Command[], // Lazy-loaded: analyze, route, progress + management: [] as Command[], // Lazy-loaded: providers, plugins, deployment, claims, issues, update, process +}; + /** * Command registry map for quick lookup * Supports both sync (core commands) and async (lazy-loaded) commands From dcc82d750c9c83d5368dd166b70f4b98c7c79de1 Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 26 Jan 2026 18:48:27 +0000 Subject: [PATCH 4/6] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: fix/cli-help-categories - Timestamp: 2026-01-26T18:48:27Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/commands/index.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/v3/@claude-flow/cli/src/commands/index.ts b/v3/@claude-flow/cli/src/commands/index.ts index 17e092243e..caa6435cbb 100644 --- a/v3/@claude-flow/cli/src/commands/index.ts +++ b/v3/@claude-flow/cli/src/commands/index.ts @@ -120,6 +120,21 @@ import { performanceCommand } from './performance.js'; import { securityCommand } from './security.js'; import { ruvectorCommand } from './ruvector/index.js'; import { hiveMindCommand } from './hive-mind.js'; +// Additional commands for categorized help display +import { configCommand } from './config.js'; +import { completionsCommand } from './completions.js'; +import { migrateCommand } from './migrate.js'; +import { workflowCommand } from './workflow.js'; +import { analyzeCommand } from './analyze.js'; +import { routeCommand } from './route.js'; +import { progressCommand } from './progress.js'; +import { providersCommand } from './providers.js'; +import { pluginsCommand } from './plugins.js'; +import { deploymentCommand } from './deployment.js'; +import { claimsCommand } from './claims.js'; +import { issuesCommand } from './issues.js'; +import updateCommand from './update.js'; +import { processCommand } from './process.js'; // Pre-populate cache with core commands loadedCommands.set('init', initCommand); From cfff714a49bb86132b889fcb3474f53458c0b8c1 Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 26 Jan 2026 18:48:36 +0000 Subject: [PATCH 5/6] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: fix/cli-help-categories - Timestamp: 2026-01-26T18:48:36Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/commands/index.ts | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/v3/@claude-flow/cli/src/commands/index.ts b/v3/@claude-flow/cli/src/commands/index.ts index caa6435cbb..d1c0499c0f 100644 --- a/v3/@claude-flow/cli/src/commands/index.ts +++ b/v3/@claude-flow/cli/src/commands/index.ts @@ -254,12 +254,27 @@ export const commandsByCategory = { ruvectorCommand, ], utility: [ - // These are lazy-loaded, will be populated when accessed + configCommand, doctorCommand, daemonCommand, + completionsCommand, + migrateCommand, + workflowCommand, + ], + analysis: [ + analyzeCommand, + routeCommand, + progressCommand, + ], + management: [ + providersCommand, + pluginsCommand, + deploymentCommand, + claimsCommand, + issuesCommand, + updateCommand, + processCommand, ], - analysis: [] as Command[], // Lazy-loaded: analyze, route, progress - management: [] as Command[], // Lazy-loaded: providers, plugins, deployment, claims, issues, update, process }; /** From d5efab30c0da5f1721ac90f2b1957595cb8413d5 Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 26 Jan 2026 18:50:32 +0000 Subject: [PATCH 6/6] fix: CLI help categorization and v3.0.0-alpha.184 - Add commandsByCategory to commands/index.ts - Import all commands synchronously for help display - Fix broken v183 that was missing commandsByCategory export - Categorized help: PRIMARY, ADVANCED, UTILITY, ANALYSIS, MANAGEMENT Co-Authored-By: claude-flow --- package-lock.json | 4 ++-- package.json | 2 +- v3/@claude-flow/cli/package.json | 2 +- v3/package-lock.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc889ae005..14b085422b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "claude-flow", - "version": "3.0.0-alpha.182", + "version": "3.0.0-alpha.184", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "claude-flow", - "version": "3.0.0-alpha.182", + "version": "3.0.0-alpha.184", "license": "MIT", "dependencies": { "@claude-flow/plugin-gastown-bridge": "^0.1.0", diff --git a/package.json b/package.json index 3ca7936c42..87a8f6a76d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claude-flow", - "version": "3.0.0-alpha.183", + "version": "3.0.0-alpha.184", "description": "Enterprise AI agent orchestration for Claude Code - Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration", "main": "dist/index.js", "type": "module", diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.json index 902ad9e91f..4787a0270d 100644 --- a/v3/@claude-flow/cli/package.json +++ b/v3/@claude-flow/cli/package.json @@ -1,6 +1,6 @@ { "name": "@claude-flow/cli", - "version": "3.0.0-alpha.183", + "version": "3.0.0-alpha.184", "type": "module", "description": "Claude Flow CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code", "main": "dist/src/index.js", diff --git a/v3/package-lock.json b/v3/package-lock.json index 9b8e950cbe..0eb89a173b 100644 --- a/v3/package-lock.json +++ b/v3/package-lock.json @@ -1789,7 +1789,7 @@ } }, "@claude-flow/cli": { - "version": "3.0.0-alpha.183", + "version": "3.0.0-alpha.184", "license": "MIT", "dependencies": { "@claude-flow/aidefence": "^3.0.2",