@rigour-labs/cli 6.14.0-rc.2 → 6.14.0-rc.3

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.
@@ -3,7 +3,7 @@ import path from 'path';
3
3
  import chalk from 'chalk';
4
4
  import yaml from 'yaml';
5
5
  import { GateRunner, ConfigSchema, normalizeScopePatterns, deepAnalysisError, recordScore, getScoreTrend, resolveDeepOptions, getProvenanceTrends, getQualityTrend, IncrementalCache, renderFullReport } from '@rigour-labs/core';
6
- import inquirer from 'inquirer';
6
+ import { input, select, Separator } from '@inquirer/prompts';
7
7
  import { randomUUID } from 'crypto';
8
8
  import { EXIT_PASS, EXIT_FAIL, EXIT_CONFIG_ERROR, EXIT_INTERNAL_ERROR, exitCodeFor } from './exit-codes.js';
9
9
  import { deepProvider } from './deep-provider.js';
@@ -490,19 +490,11 @@ async function interactiveMode(report, config) {
490
490
  name: `[${f.id}] ${f.title}`,
491
491
  value: i
492
492
  }));
493
- choices.push(new inquirer.Separator());
493
+ choices.push(new Separator());
494
494
  choices.push({ name: 'Exit', value: -1 });
495
495
  let exit = false;
496
496
  while (!exit) {
497
- const { index } = await inquirer.prompt([
498
- {
499
- type: 'list',
500
- name: 'index',
501
- message: 'Select a violation to view details:',
502
- choices,
503
- pageSize: 15
504
- }
505
- ]);
497
+ const index = await select({ message: 'Select a violation to view details:', choices, pageSize: 15 });
506
498
  if (index === -1) {
507
499
  exit = true;
508
500
  continue;
@@ -527,7 +519,7 @@ async function interactiveMode(report, config) {
527
519
  console.log(`${chalk.bold('Verified:')} ${failure.verified ? chalk.green('Yes') : chalk.red('No')}`);
528
520
  }
529
521
  console.log(chalk.dim('\n' + '─'.repeat(40)));
530
- await inquirer.prompt([{ type: 'input', name: 'continue', message: 'Press Enter to return to list...' }]);
522
+ await input({ message: 'Press Enter to return to list...' });
531
523
  console.clear();
532
524
  console.log(chalk.bold.blue('══ Rigour Interactive Review ══\n'));
533
525
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rigour-labs/cli",
3
- "version": "6.14.0-rc.2",
3
+ "version": "6.14.0-rc.3",
4
4
  "description": "Code review that happens while your agent writes: deterministic checks on the lines it changed, quiet unless it can prove a defect, and learning from your team's fixes and dismissals. Works with Claude Code, Cursor, Codex, Cline and Windsurf.",
5
5
  "engines": {
6
6
  "node": ">=22.13"
@@ -50,22 +50,21 @@
50
50
  "provenance": true
51
51
  },
52
52
  "dependencies": {
53
+ "@inquirer/prompts": "^8.7.3",
53
54
  "chalk": "^5.3.0",
54
55
  "commander": "^12.0.0",
55
56
  "cosmiconfig": "^9.0.0",
56
57
  "execa": "^8.0.1",
57
58
  "fs-extra": "^11.4.0",
58
59
  "globby": "^14.0.1",
59
- "inquirer": "9.2.16",
60
60
  "ora": "^8.0.1",
61
61
  "yaml": "^2.8.2",
62
- "@rigour-labs/core": "6.14.0-rc.2"
62
+ "@rigour-labs/core": "6.14.0-rc.3"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@types/fs-extra": "^11.0.4",
66
- "@types/inquirer": "9.0.7",
67
66
  "@types/node": "^25.0.3",
68
- "@rigour-labs/studio": "6.14.0-rc.2"
67
+ "@rigour-labs/studio": "6.14.0-rc.3"
69
68
  },
70
69
  "scripts": {
71
70
  "build": "tsc && pnpm bundle-studio",