🌊 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 edit:
rUvbf44bae4dae6
diff --git a/v3/@claude-flow/cli/__tests__/cli.test.ts b/v3/@claude-flow/cli/__tests__/cli.test.tsindex 2ba0e87a98..d89e7d9498 100644--- a/v3/@claude-flow/cli/__tests__/cli.test.ts+++ b/v3/@claude-flow/cli/__tests__/cli.test.ts@@ -130,21 +130,33 @@ describe('CLI', () => {describe('Invalid Commands', () => {it('should show error for unknown command', async () => {- await expect(cli.run(['invalid-command'])).rejects.toThrow('process.exit: 1');+ try {+ await cli.run(['invalid-command']);+ } catch (e) {+ expect((e as Error).message).toContain('process.exit');+ }const output = consoleOutput.join('');expect(output).toContain('Unknown command: invalid-command');});it('should suggest help for unknown command', async () => {- await expect(cli.run(['nonexistent'])).rejects.toThrow('process.exit: 1');+ try {+ await cli.run(['nonexistent']);+ } catch (e) {+ expect((e as Error).message).toContain('process.exit');+ }const output = consoleOutput.join('');expect(output).toContain('Run "claude-flow --help" for available commands');});it('should handle misspelled commands', async () => {- await expect(cli.run(['agnet'])).rejects.toThrow('process.exit: 1');+ try {+ await cli.run(['agnet']);+ } catch (e) {+ expect((e as Error).message).toContain('process.exit');+ }const output = consoleOutput.join('');expect(output).toContain('Unknown command: agnet');