@aiready/cli 0.14.12 → 0.14.14

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.14 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:27:11 am
14
14
 
15
15
  src/cli.ts:29:31:
16
16
   29 │ return dirname(fileURLToPath(import.meta.url));
@@ -20,10 +20,10 @@
20
20
 
21
21
 
22
22
 
23
+ CJS dist/cli.js 88.89 KB
23
24
  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
25
+ CJS ⚡️ Build success in 58ms
28
26
  ESM dist/chunk-JRRBBFYB.mjs 9.77 KB
29
- ESM ⚡️ Build success in 49ms
27
+ ESM dist/index.mjs 170.00 B
28
+ ESM dist/cli.mjs 74.64 KB
29
+ ESM ⚡️ Build success in 59ms
@@ -1,29 +1,16 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.14.11 test /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.14.13 test /Users/pengcao/projects/aiready/packages/cli
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/cli
8
8
 
9
+ ✓ src/commands/__tests__/testability.test.ts (2 tests) 8ms
9
10
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
10
11
  Building graph from report...
11
12
 
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
13
+ ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 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
+ ✓ src/commands/__tests__/visualize.test.ts (4 tests) 29ms
42
+ ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 7ms
43
+ ✓ src/commands/__tests__/deps-health.test.ts (1 test) 6ms
44
+ ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 7ms
45
+ stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
46
+  Set AIREADY_API_KEY environment variable or use --api-key flag.
47
+ Get an API key from https://platform.getaiready.dev/dashboard
48
+ 🚀 Uploading report to https://dev.platform.getaiready.dev...
49
+ Reading report from /Users/pengcao/projects/aiready/packages/cli/report.json...
50
+ Successfully parsed report JSON.
51
+
52
+ stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
53
+ 
54
+ ✅ Upload successful! (0.00s)
55
+ View results: https://dev.platform.getaiready.dev/dashboard
56
+ Analysis ID: 123
57
+ Score: 80/100
58
+
59
+ ✓ src/commands/__tests__/upload.test.ts (2 tests) 5ms
60
60
  ✓ src/utils/__tests__/helpers.test.ts (3 tests) 2ms
61
- ✓ src/commands/__tests__/init.test.ts (2 tests) 4ms
61
+ ✓ src/commands/__tests__/init.test.ts (2 tests) 5ms
62
62
  ✓ src/commands/__tests__/consistency.test.ts (4 tests) 4ms
63
- ✓ src/commands/__tests__/scan.test.ts (6 tests) 81ms
63
+ ✓ src/commands/__tests__/scan.test.ts (6 tests) 84ms
64
+ ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 116ms
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) 2243ms
67
+ ✓ should run unified analysis with both tools  2242ms
68
+ ✓ src/__tests__/config-shape.test.ts (3 tests) 2244ms
69
+ ✓ should generate a strictly portable AIReadyConfig in summary  2243ms
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:25:40
74
+  Duration  3.17s (transform 2.15s, setup 0ms, import 5.12s, tests 4.77s, 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.14",
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/consistency": "0.20.11",
15
+ "@aiready/core": "0.23.12",
16
+ "@aiready/context-analyzer": "0.21.15",
17
+ "@aiready/agent-grounding": "0.13.11",
18
+ "@aiready/doc-drift": "0.13.11",
19
+ "@aiready/change-amplification": "0.13.11",
20
+ "@aiready/ai-signal-clarity": "0.13.12",
21
+ "@aiready/deps": "0.13.12",
22
+ "@aiready/pattern-detect": "0.16.11",
23
+ "@aiready/visualizer": "0.6.11",
24
+ "@aiready/testability": "0.6.11"
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