@claude-flow/cli 3.0.0-alpha.177 → 3.0.0-alpha.178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/commands/hooks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AAyjI1E,eAAO,MAAM,YAAY,EAAE,OAiG1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/commands/hooks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AAulI1E,eAAO,MAAM,YAAY,EAAE,OAiG1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -454,6 +454,24 @@ const routeCommand = {
454
454
  output.printJson(result);
455
455
  return { success: true, data: result };
456
456
  }
457
+ // Show routing method info
458
+ if (result.routing) {
459
+ output.writeln();
460
+ output.writeln(output.bold('Routing Method'));
461
+ output.printList([
462
+ `Method: ${result.routing.method === 'semantic' ? output.success('semantic (47k routes/s)') : 'keyword'}`,
463
+ `Latency: ${result.routing.latencyMs.toFixed(3)}ms`,
464
+ result.matchedPattern ? `Matched Pattern: ${result.matchedPattern}` : null,
465
+ ].filter(Boolean));
466
+ // Show semantic matches if available
467
+ if (result.semanticMatches && result.semanticMatches.length > 0) {
468
+ output.writeln();
469
+ output.writeln(output.dim('Semantic Matches:'));
470
+ result.semanticMatches.forEach(m => {
471
+ output.writeln(` ${m.pattern}: ${(m.score * 100).toFixed(1)}%`);
472
+ });
473
+ }
474
+ }
457
475
  output.writeln();
458
476
  output.printBox([
459
477
  `Agent: ${output.highlight(result.primaryAgent.type)}`,