@claude-flow/cli 3.18.0 → 3.18.2

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":"neural.d.ts","sourceRoot":"","sources":["../../../src/commands/neural.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AA8oI1E,eAAO,MAAM,aAAa,EAAE,OAmB3B,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"neural.d.ts","sourceRoot":"","sources":["../../../src/commands/neural.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AAmqI1E,eAAO,MAAM,aAAa,EAAE,OAmB3B,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -451,17 +451,39 @@ const statusCommand = {
451
451
  },
452
452
  {
453
453
  component: 'Contrastive Trainer',
454
- status: stats._contrastiveTrainer && stats._contrastiveTrainer !== 'unavailable' ? output.success('Active') : output.dim('Unavailable'),
455
- details: stats._contrastiveTrainer && stats._contrastiveTrainer !== 'unavailable'
454
+ // #2549 three states: live session (object with counts),
455
+ // 'available' (module resolves, no in-process session — the
456
+ // normal case for a read-only status process), 'unavailable'
457
+ // (module genuinely does not resolve).
458
+ status: typeof stats._contrastiveTrainer === 'object'
459
+ ? output.success('Active')
460
+ : stats._contrastiveTrainer === 'available'
461
+ ? output.success('Available')
462
+ : output.dim('Unavailable'),
463
+ details: typeof stats._contrastiveTrainer === 'object'
456
464
  ? `${stats._contrastiveTrainer.triplets ?? 0} triplets, ${stats._contrastiveTrainer.agents ?? 0} agents`
457
- : 'Install @ruvector/ruvllm',
465
+ : stats._contrastiveTrainer === 'available'
466
+ ? 'ready — trains in-process on demand'
467
+ : 'Install @ruvector/ruvllm',
458
468
  },
459
469
  {
460
470
  component: 'Training Pipeline',
461
- status: stats._trainingBackend === 'ruvllm' ? output.success('Active') : output.dim(stats._trainingBackend || 'Unavailable'),
471
+ status: stats._trainingBackend === 'ruvllm' ? output.success('Available') : output.dim(stats._trainingBackend || 'Unavailable'),
472
+ // Checkpoint capability is version-gated: saveCheckpoint(path)
473
+ // was a silent no-op before @ruvector/ruvllm 2.5.7 (#2549).
462
474
  details: stats._trainingBackend === 'ruvllm'
463
- ? 'ruvllm checkpoints enabled'
464
- : 'JS fallback (no checkpoints)',
475
+ ? await (async () => {
476
+ try {
477
+ const { nativeCheckpointsSupported } = await import('../ruvector/lora-adapter.js');
478
+ return nativeCheckpointsSupported()
479
+ ? 'native @ruvector/ruvllm pipeline + disk checkpoints'
480
+ : 'native @ruvector/ruvllm pipeline (checkpoints need >=2.5.7)';
481
+ }
482
+ catch {
483
+ return 'native @ruvector/ruvllm pipeline';
484
+ }
485
+ })()
486
+ : 'JS fallback',
465
487
  },
466
488
  await (async () => {
467
489
  try {