@aiready/cli 0.14.12 → 0.14.13

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,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.14.12 build /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.14.13 build /Users/pengcao/projects/aiready/packages/cli
4
4
  > tsup src/index.ts src/cli.ts --format cjs,esm
5
5
 
6
6
  CLI Building entry: src/cli.ts, src/index.ts
@@ -10,7 +10,7 @@
10
10
  CJS Build start
11
11
  ESM Build start
12
12
 
13
-  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta] 12:03:29 am
13
+  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta] 12:09:38 am
14
14
 
15
15
  src/cli.ts:29:31:
16
16
   29 │ return dirname(fileURLToPath(import.meta.url));
@@ -21,9 +21,9 @@
21
21
 
22
22
 
23
23
  CJS dist/index.js 10.87 KB
24
- CJS dist/cli.js 88.84 KB
25
- CJS ⚡️ Build success in 49ms
26
- ESM dist/index.mjs 170.00 B
27
- ESM dist/cli.mjs 74.59 KB
24
+ CJS dist/cli.js 88.89 KB
25
+ CJS ⚡️ Build success in 59ms
26
+ ESM dist/cli.mjs 74.64 KB
28
27
  ESM dist/chunk-JRRBBFYB.mjs 9.77 KB
29
- ESM ⚡️ Build success in 49ms
28
+ ESM dist/index.mjs 170.00 B
29
+ ESM ⚡️ Build success in 59ms
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.14.11 test /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.14.12 test /Users/pengcao/projects/aiready/packages/cli
4
4
  > vitest run
5
5
 
6
6
  [?25l
@@ -9,21 +9,8 @@
9
9
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
10
10
  Building graph from report...
11
11
 
12
- stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
13
-  Set AIREADY_API_KEY environment variable or use --api-key flag.
14
- Get an API key from https://platform.getaiready.dev/dashboard
15
- 🚀 Uploading report to https://dev.platform.getaiready.dev...
16
- Reading report from /Users/pengcao/projects/aiready/packages/cli/report.json...
17
- Successfully parsed report JSON.
18
-
19
- stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
20
- 
21
- ✅ Upload successful! (0.00s)
22
- View results: https://dev.platform.getaiready.dev/dashboard
23
- Analysis ID: 123
24
- Score: 80/100
25
-
26
- ✓ src/commands/__tests__/upload.test.ts (2 tests) 4ms
12
+ ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 7ms
13
+ ✓ src/commands/__tests__/testability.test.ts (2 tests) 9ms
27
14
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
28
15
  Generating HTML...
29
16
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
@@ -51,26 +38,39 @@ Or specify a custom report:
51
38
  Generating HTML...
52
39
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
53
40
 
54
- ✓ src/commands/__tests__/visualize.test.ts (4 tests) 24ms
55
- ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 21ms
56
- ✓ src/commands/__tests__/testability.test.ts (2 tests) 9ms
57
- ✓ src/commands/__tests__/deps-health.test.ts (1 test) 11ms
58
- ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 12ms
59
- ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 13ms
41
+ stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
42
+  Set AIREADY_API_KEY environment variable or use --api-key flag.
43
+ Get an API key from https://platform.getaiready.dev/dashboard
44
+ 🚀 Uploading report to https://dev.platform.getaiready.dev...
45
+ Reading report from /Users/pengcao/projects/aiready/packages/cli/report.json...
46
+ Successfully parsed report JSON.
47
+
48
+ stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
49
+ 
50
+ ✅ Upload successful! (0.00s)
51
+ View results: https://dev.platform.getaiready.dev/dashboard
52
+ Analysis ID: 123
53
+ Score: 80/100
54
+
55
+ ✓ src/commands/__tests__/visualize.test.ts (4 tests) 21ms
56
+ ✓ src/commands/__tests__/upload.test.ts (2 tests) 5ms
57
+ ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 9ms
58
+ ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 11ms
59
+ ✓ src/commands/__tests__/deps-health.test.ts (1 test) 10ms
60
60
  ✓ src/utils/__tests__/helpers.test.ts (3 tests) 2ms
61
61
  ✓ src/commands/__tests__/init.test.ts (2 tests) 4ms
62
- ✓ src/commands/__tests__/consistency.test.ts (4 tests) 4ms
63
- ✓ src/commands/__tests__/scan.test.ts (6 tests) 81ms
62
+ ✓ src/commands/__tests__/consistency.test.ts (4 tests) 6ms
63
+ ✓ src/commands/__tests__/scan.test.ts (6 tests) 98ms
64
+ ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 130ms
64
65
  ✓ src/__tests__/unified.test.ts (4 tests) 3ms
65
- ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 117ms
66
- ✓ src/__tests__/cli.test.ts (3 tests) 2506ms
67
- ✓ should run unified analysis with both tools  2505ms
68
- ✓ src/__tests__/config-shape.test.ts (3 tests) 2506ms
69
- ✓ should generate a strictly portable AIReadyConfig in summary  2505ms
66
+ ✓ src/__tests__/cli.test.ts (3 tests) 1947ms
67
+ ✓ should run unified analysis with both tools  1946ms
68
+ ✓ src/__tests__/config-shape.test.ts (3 tests) 1948ms
69
+ ✓ should generate a strictly portable AIReadyConfig in summary  1947ms
70
70
 
71
71
   Test Files  15 passed (15)
72
72
   Tests  45 passed (45)
73
-  Start at  00:01:59
74
-  Duration  3.47s (transform 2.12s, setup 0ms, import 5.20s, tests 5.32s, environment 1ms)
73
+  Start at  00:08:07
74
+  Duration  2.94s (transform 2.51s, setup 0ms, import 5.31s, tests 4.21s, environment 1ms)
75
75
 
76
76
  [?25h
package/dist/cli.js CHANGED
@@ -996,6 +996,7 @@ async function initAction(options) {
996
996
  process.exit(1);
997
997
  }
998
998
  const baseConfig = {
999
+ $schema: "https://getaiready.dev/schema.json",
999
1000
  // Target quality score threshold (0-100)
1000
1001
  threshold: 75,
1001
1002
  // Global scan settings
package/dist/cli.mjs CHANGED
@@ -733,6 +733,7 @@ async function initAction(options) {
733
733
  process.exit(1);
734
734
  }
735
735
  const baseConfig = {
736
+ $schema: "https://getaiready.dev/schema.json",
736
737
  // Target quality score threshold (0-100)
737
738
  threshold: 75,
738
739
  // Global scan settings
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/cli",
3
- "version": "0.14.12",
3
+ "version": "0.14.13",
4
4
  "description": "Unified CLI for AIReady analysis tools",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -11,17 +11,17 @@
11
11
  "dependencies": {
12
12
  "chalk": "^5.3.0",
13
13
  "commander": "^14.0.0",
14
- "@aiready/consistency": "0.20.9",
15
- "@aiready/doc-drift": "0.13.9",
16
- "@aiready/agent-grounding": "0.13.9",
17
- "@aiready/context-analyzer": "0.21.13",
18
- "@aiready/change-amplification": "0.13.9",
19
- "@aiready/core": "0.23.10",
20
- "@aiready/deps": "0.13.10",
21
- "@aiready/visualizer": "0.6.9",
22
- "@aiready/ai-signal-clarity": "0.13.10",
23
- "@aiready/pattern-detect": "0.16.9",
24
- "@aiready/testability": "0.6.9"
14
+ "@aiready/agent-grounding": "0.13.10",
15
+ "@aiready/context-analyzer": "0.21.14",
16
+ "@aiready/consistency": "0.20.10",
17
+ "@aiready/doc-drift": "0.13.10",
18
+ "@aiready/core": "0.23.11",
19
+ "@aiready/change-amplification": "0.13.10",
20
+ "@aiready/deps": "0.13.11",
21
+ "@aiready/pattern-detect": "0.16.10",
22
+ "@aiready/ai-signal-clarity": "0.13.11",
23
+ "@aiready/visualizer": "0.6.10",
24
+ "@aiready/testability": "0.6.10"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^24.0.0",
@@ -20,6 +20,8 @@ export async function initAction(options: {
20
20
  }
21
21
 
22
22
  const baseConfig = {
23
+ $schema: 'https://getaiready.dev/schema.json',
24
+
23
25
  // Target quality score threshold (0-100)
24
26
  threshold: 75,
25
27