@aiready/cli 0.14.3 → 0.14.5

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.5 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:37:56 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
- ESM dist/chunk-VOKP7FGM.mjs 9.52 KB
24
23
  ESM dist/index.mjs 170.00 B
25
- ESM dist/cli.mjs 70.60 KB
26
- ESM ⚡️ Build success in 31ms
24
+ ESM dist/chunk-VOKP7FGM.mjs 9.52 KB
25
+ ESM dist/cli.mjs 70.71 KB
26
+ ESM ⚡️ Build success in 40ms
27
27
  CJS dist/index.js 10.62 KB
28
- CJS dist/cli.js 84.31 KB
29
- CJS ⚡️ Build success in 31ms
28
+ CJS dist/cli.js 84.50 KB
29
+ CJS ⚡️ Build success in 41ms
@@ -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,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.14.2 test /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.14.4 test /Users/pengcao/projects/aiready/packages/cli
4
4
  > vitest run
5
5
 
6
6
  [?25l
@@ -9,7 +9,23 @@
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
- ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 6ms
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
27
+ ✓ src/commands/__tests__/testability.test.ts (2 tests) 10ms
28
+ ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 18ms
13
29
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
14
30
  Generating HTML...
15
31
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
@@ -37,39 +53,24 @@ Or specify a custom report:
37
53
  Generating HTML...
38
54
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
39
55
 
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
56
+ ✓ src/commands/__tests__/visualize.test.ts (4 tests) 26ms
57
+ ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 10ms
58
+ ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 11ms
59
+ ✓ src/commands/__tests__/deps-health.test.ts (1 test) 11ms
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) 89ms
64
+ ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 99ms
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__/cli.test.ts (3 tests) 2959ms
67
+ ✓ should run unified analysis with both tools  2957ms
68
+ ✓ src/__tests__/config-shape.test.ts (3 tests) 2959ms
69
+ ✓ should generate a strictly portable AIReadyConfig in summary  2958ms
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  10:36:31
74
+  Duration  3.86s (transform 2.14s, setup 0ms, import 4.73s, tests 6.21s, environment 1ms)
74
75
 
75
76
  [?25h