🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUv8e1ce40c2f9c
diff --git a/v3/@claude-flow/cli/src/index.ts b/v3/@claude-flow/cli/src/index.tsindex 1ae00f7287..c409f94864 100644--- a/v3/@claude-flow/cli/src/index.ts+++ b/v3/@claude-flow/cli/src/index.ts@@ -96,6 +96,17 @@ export class CLI {this.output.printDebug(`CWD: ${process.cwd()}`);}+ // Handle lazy-loaded commands that weren't recognized by the parser+ // If commandPath is empty but positional has a command name, check if it's lazy-loadable+ if (commandPath.length === 0 && positional.length > 0 && !positional[0].startsWith('-')) {+ const potentialCommand = positional[0];+ if (hasCommand(potentialCommand)) {+ // This is a lazy-loaded command, treat it as the command+ commandPath.push(potentialCommand);+ positional.shift();+ }+ }+// No command - show help or suggest correctionif (commandPath.length === 0 || flags.help || flags.h) {if (commandPath.length > 0) {@@ -105,7 +116,7 @@ export class CLI {// First positional looks like an attempted command - suggest correctionconst attemptedCommand = positional[0];this.output.printError(`Unknown command: ${attemptedCommand}`);- const availableCommands = Array.from(new Set(commands.map(c => c.name)));+ const availableCommands = Array.from(new Set([...commands.map(c => c.name), ...getCommandNames()]));const { message } = suggestCommand(attemptedCommand, availableCommands);this.output.writeln(this.output.dim(` ${message}`));process.exit(1);