@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.
- package/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-test.log +32 -32
- package/dist/cli.js +7 -5
- package/dist/cli.mjs +7 -5
- package/package.json +12 -12
- package/src/.aiready/aiready-report-20260318-002110.json +28782 -0
- package/src/cli.ts +7 -5
- package/src/commands/report-formatter.ts +17 -4
- package/src/index.ts +14 -3
- package/src/utils/helpers.ts +30 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/cli@0.14.
|
|
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
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
|
|
13
|
-
[
|
|
13
|
+
[43m[30m WARN [39m[49m [33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m"import.meta" is not available with the "cjs" output format and will be empty[0m [empty-import-meta] [90m10:14:43 am[39m
|
|
14
14
|
|
|
15
15
|
src/cli.ts:29:31:
|
|
16
16
|
[37m 29 │ return dirname(fileURLToPath([32mimport.meta[37m.url));
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
[32mCJS[39m [1mdist/index.js [22m[32m10.62 KB[39m
|
|
24
|
-
[32mCJS[39m [1mdist/cli.js [22m[32m84.50 KB[39m
|
|
25
|
-
[32mCJS[39m ⚡️ Build success in 69ms
|
|
26
23
|
[32mESM[39m [1mdist/index.mjs [22m[32m170.00 B[39m
|
|
27
|
-
[32mESM[39m [1mdist/cli.mjs [22m[32m70.
|
|
24
|
+
[32mESM[39m [1mdist/cli.mjs [22m[32m70.91 KB[39m
|
|
28
25
|
[32mESM[39m [1mdist/chunk-VOKP7FGM.mjs [22m[32m9.52 KB[39m
|
|
29
|
-
[32mESM[39m ⚡️ Build success in
|
|
26
|
+
[32mESM[39m ⚡️ Build success in 36ms
|
|
27
|
+
[32mCJS[39m [1mdist/cli.js [22m[32m84.70 KB[39m
|
|
28
|
+
[32mCJS[39m [1mdist/index.js [22m[32m10.62 KB[39m
|
|
29
|
+
[32mCJS[39m ⚡️ Build success in 36ms
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/cli@0.14.
|
|
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
|
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould generate HTML from specified report
|
|
10
10
|
[22m[39mBuilding graph from report...
|
|
11
11
|
|
|
12
|
-
[
|
|
13
|
-
[22m[39m 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
|
-
[90mstdout[2m | src/commands/__tests__/upload.test.ts[2m > [22m[2mUpload CLI Action[2m > [22m[2mshould fail if API key is missing
|
|
20
|
-
[22m[39m
|
|
21
|
-
✅ Upload successful! (0.00s)
|
|
22
|
-
View results: https://dev.platform.getaiready.dev/dashboard
|
|
23
|
-
Analysis ID: 123
|
|
24
|
-
Score: 80/100
|
|
25
|
-
|
|
26
|
-
[32m✓[39m src/commands/__tests__/upload.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
27
|
-
[32m✓[39m src/commands/__tests__/testability.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 10[2mms[22m[39m
|
|
28
|
-
[32m✓[39m src/commands/__tests__/agent-grounding.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 18[2mms[22m[39m
|
|
12
|
+
[32m✓[39m src/commands/__tests__/testability.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 17[2mms[22m[39m
|
|
29
13
|
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould generate HTML from specified report
|
|
30
14
|
[22m[39mGenerating 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
|
[22m[39mGenerating HTML...
|
|
54
38
|
✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
|
|
55
39
|
|
|
56
|
-
[32m✓[39m src/commands/__tests__/visualize.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m
|
|
57
|
-
[32m✓[39m src/commands/__tests__/
|
|
58
|
-
[32m✓[39m src/commands/__tests__/doc-drift.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m
|
|
59
|
-
[32m✓[39m src/commands/__tests__/
|
|
60
|
-
[32m✓[39m src/
|
|
61
|
-
|
|
40
|
+
[32m✓[39m src/commands/__tests__/visualize.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 59[2mms[22m[39m
|
|
41
|
+
[32m✓[39m src/commands/__tests__/deps-health.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 63[2mms[22m[39m
|
|
42
|
+
[32m✓[39m src/commands/__tests__/doc-drift.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 60[2mms[22m[39m
|
|
43
|
+
[32m✓[39m src/commands/__tests__/ai-signal-clarity.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 58[2mms[22m[39m
|
|
44
|
+
[32m✓[39m src/commands/__tests__/agent-grounding.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 57[2mms[22m[39m
|
|
45
|
+
[90mstdout[2m | src/commands/__tests__/upload.test.ts[2m > [22m[2mUpload CLI Action[2m > [22m[2mshould fail if API key is missing
|
|
46
|
+
[22m[39m 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
|
+
[90mstdout[2m | src/commands/__tests__/upload.test.ts[2m > [22m[2mUpload CLI Action[2m > [22m[2mshould fail if API key is missing
|
|
53
|
+
[22m[39m
|
|
54
|
+
✅ Upload successful! (0.00s)
|
|
55
|
+
View results: https://dev.platform.getaiready.dev/dashboard
|
|
56
|
+
Analysis ID: 123
|
|
57
|
+
Score: 80/100
|
|
58
|
+
|
|
59
|
+
[32m✓[39m src/commands/__tests__/upload.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 11[2mms[22m[39m
|
|
60
|
+
[32m✓[39m src/commands/__tests__/init.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 9[2mms[22m[39m
|
|
62
61
|
[32m✓[39m src/commands/__tests__/consistency.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
63
|
-
[32m✓[39m src/
|
|
64
|
-
[32m✓[39m src/commands/__tests__/
|
|
62
|
+
[32m✓[39m src/utils/__tests__/helpers.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 2[2mms[22m[39m
|
|
63
|
+
[32m✓[39m src/commands/__tests__/scan.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 98[2mms[22m[39m
|
|
64
|
+
[32m✓[39m src/commands/__tests__/extra-commands.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 113[2mms[22m[39m
|
|
65
65
|
[32m✓[39m src/__tests__/unified.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 3[2mms[22m[39m
|
|
66
|
-
[32m✓[39m src/__tests__/cli.test.ts [2m([22m[2m3 tests[22m[2m)[22m[33m
|
|
67
|
-
[33m[2m✓[22m[39m should run unified analysis with both tools [33m
|
|
68
|
-
[32m✓[39m src/__tests__/config-shape.test.ts [2m([22m[2m3 tests[22m[2m)[22m[33m
|
|
69
|
-
[33m[2m✓[22m[39m should generate a strictly portable AIReadyConfig in summary [33m
|
|
66
|
+
[32m✓[39m src/__tests__/cli.test.ts [2m([22m[2m3 tests[22m[2m)[22m[33m 3798[2mms[22m[39m
|
|
67
|
+
[33m[2m✓[22m[39m should run unified analysis with both tools [33m 3797[2mms[22m[39m
|
|
68
|
+
[32m✓[39m src/__tests__/config-shape.test.ts [2m([22m[2m3 tests[22m[2m)[22m[33m 3799[2mms[22m[39m
|
|
69
|
+
[33m[2m✓[22m[39m should generate a strictly portable AIReadyConfig in summary [33m 3798[2mms[22m[39m
|
|
70
70
|
|
|
71
71
|
[2m Test Files [22m [1m[32m15 passed[39m[22m[90m (15)[39m
|
|
72
72
|
[2m Tests [22m [1m[32m46 passed[39m[22m[90m (46)[39m
|
|
73
|
-
[2m Start at [22m 10:
|
|
74
|
-
[2m Duration [22m
|
|
73
|
+
[2m Start at [22m 10:12:44
|
|
74
|
+
[2m Duration [22m 5.54s[2m (transform 3.64s, setup 0ms, import 10.00s, tests 8.15s, environment 2ms)[22m
|
|
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
|
|
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
|
|
1967
|
-
2.
|
|
1968
|
-
3.
|
|
1969
|
-
4.
|
|
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
|
|
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
|
|
1728
|
-
2.
|
|
1729
|
-
3.
|
|
1730
|
-
4.
|
|
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.
|
|
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/
|
|
15
|
-
"@aiready/
|
|
16
|
-
"@aiready/
|
|
17
|
-
"@aiready/core": "0.23.
|
|
18
|
-
"@aiready/deps": "0.13.
|
|
19
|
-
"@aiready/
|
|
20
|
-
"@aiready/
|
|
21
|
-
"@aiready/
|
|
22
|
-
"@aiready/pattern-detect": "0.16.
|
|
23
|
-
"@aiready/
|
|
24
|
-
"@aiready/
|
|
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",
|