@aiready/cli 0.14.7 → 0.14.9

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.7 build /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.14.9 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
- [12:34:21 pm]  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:14:43 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/index.js 10.62 KB
24
- CJS dist/cli.js 84.50 KB
25
- CJS ⚡️ Build success in 69ms
26
23
  ESM dist/index.mjs 170.00 B
27
- ESM dist/cli.mjs 70.71 KB
24
+ ESM dist/cli.mjs 70.91 KB
28
25
  ESM dist/chunk-VOKP7FGM.mjs 9.52 KB
29
- ESM ⚡️ Build success in 69ms
26
+ ESM ⚡️ Build success in 36ms
27
+ CJS dist/cli.js 84.70 KB
28
+ CJS dist/index.js 10.62 KB
29
+ CJS ⚡️ Build success in 36ms
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.14.4 test /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.14.8 test /Users/pengcao/projects/aiready/packages/cli
4
4
  > vitest run
5
5
 
6
6
  [?25l
@@ -9,23 +9,7 @@
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
27
- ✓ src/commands/__tests__/testability.test.ts (2 tests) 10ms
28
- ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 18ms
12
+ ✓ src/commands/__tests__/testability.test.ts (2 tests) 17ms
29
13
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
30
14
  Generating HTML...
31
15
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
@@ -53,24 +37,40 @@ Or specify a custom report:
53
37
  Generating HTML...
54
38
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
55
39
 
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
40
+ ✓ src/commands/__tests__/visualize.test.ts (4 tests) 59ms
41
+ ✓ src/commands/__tests__/deps-health.test.ts (1 test) 63ms
42
+ ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 60ms
43
+ ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 58ms
44
+ ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 57ms
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) 11ms
60
+ ✓ src/commands/__tests__/init.test.ts (3 tests) 9ms
62
61
  ✓ 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
62
+ ✓ src/utils/__tests__/helpers.test.ts (3 tests) 2ms
63
+ ✓ src/commands/__tests__/scan.test.ts (6 tests) 98ms
64
+ ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 113ms
65
65
  ✓ src/__tests__/unified.test.ts (4 tests) 3ms
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
66
+ ✓ src/__tests__/cli.test.ts (3 tests) 3798ms
67
+ ✓ should run unified analysis with both tools  3797ms
68
+ ✓ src/__tests__/config-shape.test.ts (3 tests) 3799ms
69
+ ✓ should generate a strictly portable AIReadyConfig in summary  3798ms
70
70
 
71
71
   Test Files  15 passed (15)
72
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)
73
+  Start at  10:12:44
74
+  Duration  5.54s (transform 3.64s, setup 0ms, import 10.00s, tests 8.15s, environment 2ms)
75
75
 
76
76
  [?25h
package/dist/cli.js CHANGED
@@ -1958,15 +1958,17 @@ AI READINESS SCORING:
1958
1958
  EXAMPLES:
1959
1959
  $ aiready scan # Comprehensive analysis with AI Readiness Score
1960
1960
  $ aiready scan --no-score # Run scan without score calculation
1961
- $ aiready scan --tools patterns # Run only pattern detection
1961
+ $ aiready init # Create a default aiready.json configuration
1962
+ $ aiready init --full # Create configuration with ALL available options
1962
1963
  $ npx @aiready/cli scan # Industry standard way to run standard scan
1963
1964
  $ aiready scan --output json # Output raw JSON for piping
1964
1965
 
1965
1966
  GETTING STARTED:
1966
- 1. Run 'aiready scan' to analyze your codebase and get an AI Readiness Score
1967
- 2. Use '--profile agentic' for agent-focused analysis
1968
- 3. Create aiready.json for persistent configuration
1969
- 4. Set up CI/CD with '--threshold' for quality gates
1967
+ 1. Run 'aiready init' to create a persistent 'aiready.json' config file
1968
+ 2. Run 'aiready scan' to analyze your codebase and get an AI Readiness Score
1969
+ 3. Use 'aiready init --full' to see every fine-tuning parameter available
1970
+ 4. Use '--profile agentic' for agent-focused analysis
1971
+ 5. Set up CI/CD with '--threshold' for quality gates
1970
1972
 
1971
1973
  CONFIGURATION:
1972
1974
  Config files (searched upward): aiready.json, .aiready.json, aiready.config.*
package/dist/cli.mjs CHANGED
@@ -1719,15 +1719,17 @@ AI READINESS SCORING:
1719
1719
  EXAMPLES:
1720
1720
  $ aiready scan # Comprehensive analysis with AI Readiness Score
1721
1721
  $ aiready scan --no-score # Run scan without score calculation
1722
- $ aiready scan --tools patterns # Run only pattern detection
1722
+ $ aiready init # Create a default aiready.json configuration
1723
+ $ aiready init --full # Create configuration with ALL available options
1723
1724
  $ npx @aiready/cli scan # Industry standard way to run standard scan
1724
1725
  $ aiready scan --output json # Output raw JSON for piping
1725
1726
 
1726
1727
  GETTING STARTED:
1727
- 1. Run 'aiready scan' to analyze your codebase and get an AI Readiness Score
1728
- 2. Use '--profile agentic' for agent-focused analysis
1729
- 3. Create aiready.json for persistent configuration
1730
- 4. Set up CI/CD with '--threshold' for quality gates
1728
+ 1. Run 'aiready init' to create a persistent 'aiready.json' config file
1729
+ 2. Run 'aiready scan' to analyze your codebase and get an AI Readiness Score
1730
+ 3. Use 'aiready init --full' to see every fine-tuning parameter available
1731
+ 4. Use '--profile agentic' for agent-focused analysis
1732
+ 5. Set up CI/CD with '--threshold' for quality gates
1731
1733
 
1732
1734
  CONFIGURATION:
1733
1735
  Config files (searched upward): aiready.json, .aiready.json, aiready.config.*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/cli",
3
- "version": "0.14.7",
3
+ "version": "0.14.9",
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.5",
15
- "@aiready/context-analyzer": "0.21.9",
16
- "@aiready/agent-grounding": "0.13.5",
17
- "@aiready/core": "0.23.6",
18
- "@aiready/deps": "0.13.5",
19
- "@aiready/doc-drift": "0.13.5",
20
- "@aiready/testability": "0.6.5",
21
- "@aiready/visualizer": "0.6.5",
22
- "@aiready/pattern-detect": "0.16.5",
23
- "@aiready/change-amplification": "0.13.5",
24
- "@aiready/ai-signal-clarity": "0.13.5"
14
+ "@aiready/agent-grounding": "0.13.6",
15
+ "@aiready/consistency": "0.20.6",
16
+ "@aiready/context-analyzer": "0.21.10",
17
+ "@aiready/core": "0.23.7",
18
+ "@aiready/deps": "0.13.6",
19
+ "@aiready/change-amplification": "0.13.6",
20
+ "@aiready/visualizer": "0.6.6",
21
+ "@aiready/ai-signal-clarity": "0.13.7",
22
+ "@aiready/pattern-detect": "0.16.6",
23
+ "@aiready/testability": "0.6.6",
24
+ "@aiready/doc-drift": "0.13.6"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^24.0.0",