@rigour-labs/cli 6.12.5-rc.1 → 6.12.5-rc.10

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.
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import chalk from 'chalk';
9
9
  import { execFileSync } from 'child_process';
10
- import { branchBase, itemLine, reviewerInputs, reviewStatus, runReviewer } from '@rigour-labs/core';
10
+ import { branchBase, coverageLine, itemLine, reviewerInputs, reviewStatus, runReviewer } from '@rigour-labs/core';
11
11
  /** The base a branch review runs against: the one named, else where the branch left main. */
12
12
  export function reviewerBase(cwd, named) {
13
13
  return named ?? branchBase(cwd)?.mainRef.replace(/^refs\/(remotes\/|heads\/)/, '');
@@ -66,6 +66,8 @@ export function printReviewer(result, options = {}) {
66
66
  else if (folded.length) {
67
67
  console.log(chalk.dim(` Also seen, never blocking: ${folded.map(([n, what]) => `${n} ${what}${n === 1 || what.startsWith('more') || what === 'disputed' || what === 'unverified' ? '' : 's'}`).join(', ')} (rigour review --reviewer --notes lists them)`));
68
68
  }
69
+ if (result.record?.coverage)
70
+ console.log(chalk.dim(` ${coverageLine(result.record.coverage)}`));
69
71
  if (result.rules?.checked)
70
72
  console.log(chalk.dim(` repository rules answered: ${result.rules.checked} (${result.rules.broken} broken, ${result.rules.followed} followed, ${result.rules.notApplicable} not applicable)`));
71
73
  if (result.record && result.recordPath)
@@ -94,6 +96,7 @@ export function reviewerJson(result) {
94
96
  blocks: result.outcome === 'findings' || result.outcome === 'unavailable',
95
97
  reason: result.reason ?? null,
96
98
  blind: !!result.blind,
99
+ coverage: result.coverage ?? null,
97
100
  reviewers: result.reviewers,
98
101
  scope: result.scope ?? null,
99
102
  items: result.items,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rigour-labs/cli",
3
- "version": "6.12.5-rc.1",
3
+ "version": "6.12.5-rc.10",
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"
@@ -59,13 +59,13 @@
59
59
  "inquirer": "9.2.16",
60
60
  "ora": "^8.0.1",
61
61
  "yaml": "^2.8.2",
62
- "@rigour-labs/core": "6.12.5-rc.1"
62
+ "@rigour-labs/core": "6.12.5-rc.10"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@types/fs-extra": "^11.0.4",
66
66
  "@types/inquirer": "9.0.7",
67
67
  "@types/node": "^25.0.3",
68
- "@rigour-labs/studio": "6.12.5-rc.1"
68
+ "@rigour-labs/studio": "6.12.5-rc.10"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "tsc && pnpm bundle-studio",