diff --git a/v3/@claude-flow/cli/agents/architect.yaml b/v3/@claude-flow/cli/agents/architect.yaml index c2fa1757e4..36e71868b3 100644 --- a/v3/@claude-flow/cli/agents/architect.yaml +++ b/v3/@claude-flow/cli/agents/architect.yaml @@ -8,4 +8,4 @@ capabilities: optimizations: - context-caching - memory-persistence -createdAt: "2026-01-07T04:38:55.779Z" +createdAt: "2026-01-07T14:37:14.878Z" diff --git a/v3/@claude-flow/cli/agents/coder.yaml b/v3/@claude-flow/cli/agents/coder.yaml index 7cd8157943..e5cb527d3b 100644 --- a/v3/@claude-flow/cli/agents/coder.yaml +++ b/v3/@claude-flow/cli/agents/coder.yaml @@ -8,4 +8,4 @@ capabilities: optimizations: - flash-attention - token-reduction -createdAt: "2026-01-07T04:38:55.778Z" +createdAt: "2026-01-07T14:37:14.878Z" diff --git a/v3/@claude-flow/cli/agents/reviewer.yaml b/v3/@claude-flow/cli/agents/reviewer.yaml index 1cba967c13..9d3dd00290 100644 --- a/v3/@claude-flow/cli/agents/reviewer.yaml +++ b/v3/@claude-flow/cli/agents/reviewer.yaml @@ -7,4 +7,4 @@ capabilities: - best-practices optimizations: - incremental-analysis -createdAt: "2026-01-07T04:38:55.779Z" +createdAt: "2026-01-07T14:37:14.878Z" diff --git a/v3/@claude-flow/cli/agents/security-architect.yaml b/v3/@claude-flow/cli/agents/security-architect.yaml index 6a88fce3f1..7284884792 100644 --- a/v3/@claude-flow/cli/agents/security-architect.yaml +++ b/v3/@claude-flow/cli/agents/security-architect.yaml @@ -7,4 +7,4 @@ capabilities: - security-review optimizations: - pattern-matching -createdAt: "2026-01-07T04:38:55.779Z" +createdAt: "2026-01-07T14:37:14.878Z" diff --git a/v3/@claude-flow/cli/agents/tester.yaml b/v3/@claude-flow/cli/agents/tester.yaml index 2a7154a7e0..bc8f132b54 100644 --- a/v3/@claude-flow/cli/agents/tester.yaml +++ b/v3/@claude-flow/cli/agents/tester.yaml @@ -7,4 +7,4 @@ capabilities: - coverage optimizations: - parallel-execution -createdAt: "2026-01-07T04:38:55.779Z" +createdAt: "2026-01-07T14:37:14.878Z" diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.json index b054cfc3af..afb243147c 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.18", + "version": "3.0.0-alpha.19", "type": "module", "description": "CLI module - command parsing, prompts, output formatting", "main": "dist/src/index.js", diff --git a/v3/@claude-flow/cli/src/commands/route.ts b/v3/@claude-flow/cli/src/commands/route.ts index 76ef490c17..f9b7f2732a 100644 --- a/v3/@claude-flow/cli/src/commands/route.ts +++ b/v3/@claude-flow/cli/src/commands/route.ts @@ -192,11 +192,12 @@ const routeTaskCommand: Command = { output.writeln(); const confidence = result.confidence ?? 0; + // Use bound methods to preserve `this` context when calling output methods const confidenceColor = confidence >= 0.7 - ? output.success + ? (text: string) => output.success(text) : confidence >= 0.4 - ? output.warning - : output.error; + ? (text: string) => output.warning(text) + : (text: string) => output.error(text); const qValues = result.qValues || [0]; const maxQValue = Math.max(...qValues); diff --git a/v3/package-lock.json b/v3/package-lock.json index da8d62ba4a..b11828a084 100644 --- a/v3/package-lock.json +++ b/v3/package-lock.json @@ -121,7 +121,7 @@ } }, "@claude-flow/cli": { - "version": "3.0.0-alpha.15", + "version": "3.0.0-alpha.19", "dependencies": { "@claude-flow/shared": "^3.0.0-alpha.1" }, @@ -1375,6 +1375,17 @@ "node": ">=18.0.0" } }, + "claude-flow/node_modules/@claude-flow/cli": { + "version": "3.0.0-alpha.15", + "resolved": "https://registry.npmjs.org/@claude-flow/cli/-/cli-3.0.0-alpha.15.tgz", + "integrity": "sha512-mslAhSRhgJc/hah4DrlbFwuzw6KqOQy3/FaeAZ4IMlRfdpMFFBcnBZL43WO+59oQOmqKrfSdUlnoV4cKgC/Elg==", + "dependencies": { + "@claude-flow/shared": "^3.0.0-alpha.1" + }, + "bin": { + "claude-flow": "bin/cli.js" + } + }, "node_modules/@ampproject/remapping": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",