@aiready/cli 0.14.3 → 0.14.4

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.3 build /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.14.4 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
- [2:02:35 AM]  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta]
13
+  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta] 10:24:33 pm
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
- ESM dist/chunk-VOKP7FGM.mjs 9.52 KB
24
- ESM dist/index.mjs 170.00 B
25
- ESM dist/cli.mjs 70.60 KB
26
- ESM ⚡️ Build success in 31ms
27
23
  CJS dist/index.js 10.62 KB
28
- CJS dist/cli.js 84.31 KB
29
- CJS ⚡️ Build success in 31ms
24
+ CJS dist/cli.js 84.50 KB
25
+ CJS ⚡️ Build success in 85ms
26
+ ESM dist/cli.mjs 70.71 KB
27
+ ESM dist/index.mjs 170.00 B
28
+ ESM dist/chunk-VOKP7FGM.mjs 9.52 KB
29
+ ESM ⚡️ Build success in 88ms
@@ -1,32 +0,0 @@
1
-
2
- 
3
- > @aiready/cli@0.12.20 lint /Users/pengcao/projects/aiready/packages/cli
4
- > eslint src
5
-
6
- 
7
- /Users/pengcao/projects/aiready/packages/cli/src/__tests__/cli.test.ts
8
- 1:55 warning 'vi' is defined but never used @typescript-eslint/no-unused-vars
9
-
10
- /Users/pengcao/projects/aiready/packages/cli/src/__tests__/config-shape.test.ts
11
- 79:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
12
-
13
- /Users/pengcao/projects/aiready/packages/cli/src/commands/scan.ts
14
- 12:3 warning 'getElapsedTime' is defined but never used @typescript-eslint/no-unused-vars
15
- 15:3 warning 'formatToolScore' is defined but never used @typescript-eslint/no-unused-vars
16
- 17:3 warning 'estimateCostFromBudget' is defined but never used @typescript-eslint/no-unused-vars
17
- 18:3 warning 'getModelPreset' is defined but never used @typescript-eslint/no-unused-vars
18
- 20:3 warning 'getRatingDisplay' is defined but never used @typescript-eslint/no-unused-vars
19
- 23:3 warning 'IssueType' is defined but never used @typescript-eslint/no-unused-vars
20
- 25:3 warning 'ToolRegistry' is defined but never used @typescript-eslint/no-unused-vars
21
- 31:3 warning 'truncateArray' is defined but never used @typescript-eslint/no-unused-vars
22
- 135:9 error 'finalOptions' is never reassigned. Use 'const' instead prefer-const
23
-
24
- /Users/pengcao/projects/aiready/packages/cli/src/index.ts
25
- 6:3 warning 'GLOBAL_SCAN_OPTIONS' is defined but never used @typescript-eslint/no-unused-vars
26
- 12:3 warning 'AnalysisResult' is defined but never used @typescript-eslint/no-unused-vars
27
- 14:3 warning 'SpokeOutput' is defined but never used @typescript-eslint/no-unused-vars
28
-
29
- ✖ 14 problems (2 errors, 12 warnings)
30
-  1 error and 0 warnings potentially fixable with the `--fix` option.
31
- 
32
-  ELIFECYCLE  Command failed with exit code 1.
@@ -1,15 +1,34 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.14.2 test /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.14.3 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) 14ms
10
+ ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 12ms
11
+ ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 15ms
12
+ ✓ src/commands/__tests__/deps-health.test.ts (1 test) 18ms
13
+ ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 11ms
14
+ stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
15
+  Set AIREADY_API_KEY environment variable or use --api-key flag.
16
+ Get an API key from https://platform.getaiready.dev/dashboard
17
+ 🚀 Uploading report to https://dev.platform.getaiready.dev...
18
+ Reading report from /Users/pengcao/projects/aiready/packages/cli/report.json...
19
+ Successfully parsed report JSON.
20
+
21
+ stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
22
+ 
23
+ ✅ Upload successful! (0.00s)
24
+ View results: https://dev.platform.getaiready.dev/dashboard
25
+ Analysis ID: 123
26
+ Score: 80/100
27
+
28
+ ✓ src/commands/__tests__/upload.test.ts (2 tests) 9ms
9
29
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
10
30
  Building graph from report...
11
31
 
12
- ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 6ms
13
32
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
14
33
  Generating HTML...
15
34
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
@@ -37,39 +56,21 @@ Or specify a custom report:
37
56
  Generating HTML...
38
57
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
39
58
 
40
- ✓ src/commands/__tests__/testability.test.ts (2 tests) 12ms
41
- ✓ src/commands/__tests__/visualize.test.ts (4 tests) 14ms
42
- ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 16ms
43
- ✓ src/commands/__tests__/deps-health.test.ts (1 test) 21ms
44
- ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 18ms
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) 8ms
60
- ✓ src/utils/__tests__/helpers.test.ts (3 tests) 4ms
61
- ✓ src/commands/__tests__/consistency.test.ts (4 tests) 5ms
62
- ✓ src/commands/__tests__/scan.test.ts (6 tests) 91ms
63
- ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 126ms
59
+ ✓ src/commands/__tests__/visualize.test.ts (4 tests) 24ms
60
+ ✓ src/utils/__tests__/helpers.test.ts (3 tests) 2ms
61
+ ✓ src/commands/__tests__/init.test.ts (3 tests) 5ms
62
+ ✓ src/commands/__tests__/consistency.test.ts (4 tests) 4ms
63
+ ✓ src/commands/__tests__/scan.test.ts (6 tests) 129ms
64
+ ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 111ms
64
65
  ✓ src/__tests__/unified.test.ts (4 tests) 3ms
65
- ✓ src/__tests__/cli.test.ts (3 tests) 2544ms
66
- ✓ should run unified analysis with both tools  2543ms
67
- ✓ src/__tests__/config-shape.test.ts (3 tests) 2545ms
68
- ✓ should generate a strictly portable AIReadyConfig in summary  2544ms
66
+ ✓ src/__tests__/config-shape.test.ts (3 tests) 3386ms
67
+ ✓ should generate a strictly portable AIReadyConfig in summary  3385ms
68
+ ✓ src/__tests__/cli.test.ts (3 tests) 3388ms
69
+ ✓ should run unified analysis with both tools  3386ms
69
70
 
70
-  Test Files  14 passed (14)
71
-  Tests  43 passed (43)
72
-  Start at  02:00:22
73
-  Duration  3.39s (transform 2.10s, setup 0ms, import 4.20s, tests 5.41s, environment 1ms)
71
+  Test Files  15 passed (15)
72
+  Tests  46 passed (46)
73
+  Start at  22:22:10
74
+  Duration  4.77s (transform 3.47s, setup 0ms, import 7.38s, tests 7.13s, environment 1ms)
74
75
 
75
76
  [?25h