@nerviq/cli 1.6.1 → 1.6.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.
package/bin/cli.js CHANGED
@@ -1127,9 +1127,9 @@ async function main() {
1127
1127
  const fixKey = parsed.extraArgs[0] || null;
1128
1128
  const allCritical = flags.includes('--all-critical');
1129
1129
 
1130
- // Step 1: Run silent audit to find failed checks
1130
+ // Step 1: Run silent audit to find failed checks (only actual failures, not skipped/null)
1131
1131
  const auditResult = await audit({ dir: options.dir, silent: true, platform: options.platform });
1132
- const failedResults = (auditResult.results || []).filter(r => !r.passed);
1132
+ const failedResults = (auditResult.results || []).filter(r => r.passed === false);
1133
1133
 
1134
1134
  if (failedResults.length === 0) {
1135
1135
  console.log('\n ✅ All checks passing — nothing to fix.\n');
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@nerviq/cli",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "The intelligent nervous system for AI coding agents — 2,431 checks across 8 platforms, 10 languages, and 62 domain packs. Audit, align, and amplify.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
7
7
  "nerviq": "bin/cli.js",
8
+ "@nerviq/cli": "bin/cli.js",
8
9
  "nerviq-mcp": "src/mcp-server.js"
9
10
  },
10
11
  "files": [
package/src/audit.js CHANGED
@@ -533,8 +533,8 @@ function confidenceFromImpact(impact) {
533
533
  }
534
534
 
535
535
  function confidenceLabel(confidence) {
536
- if (confidence >= 0.8) return 'HIGH';
537
- if (confidence >= 0.5) return 'MEDIUM';
536
+ if (confidence >= 0.6) return 'HIGH';
537
+ if (confidence >= 0.3) return 'MEDIUM';
538
538
  return 'HEURISTIC';
539
539
  }
540
540