@aiready/cli 0.14.14 → 0.14.16
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/CONTRIBUTING.md +86 -1
- package/LICENSE +21 -0
- package/README.md +152 -52
- package/dist/cli.js +73 -12
- package/dist/cli.mjs +73 -12
- package/package.json +44 -14
- package/.aiready/aiready-report-20260227-133806.json +0 -7805
- package/.aiready/aiready-report-20260227-133938.json +0 -7951
- package/.aiready/aiready-report-20260228-003433.json +0 -7939
- package/.aiready/aiready-report-20260228-003613.json +0 -771
- package/.aiready/aiready-report-20260314-164626.json +0 -59
- package/.aiready/aiready-report-20260314-164741.json +0 -59
- package/.aiready/aiready-report-20260319-201106.json +0 -5566
- package/.aiready/aiready-report-20260319-201511.json +0 -5566
- package/.aiready/aiready-report-20260319-202017.json +0 -5708
- package/.github/FUNDING.yml +0 -5
- package/.turbo/turbo-build.log +0 -29
- package/.turbo/turbo-lint.log +0 -0
- package/.turbo/turbo-test.log +0 -76
- package/aiready-report.json +0 -30703
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/clover.xml +0 -865
- package/coverage/coverage-final.json +0 -15
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -146
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -210
- package/coverage/src/commands/agent-grounding.ts.html +0 -271
- package/coverage/src/commands/ai-signal-clarity.ts.html +0 -253
- package/coverage/src/commands/change-amplification.ts.html +0 -94
- package/coverage/src/commands/consistency.ts.html +0 -781
- package/coverage/src/commands/context.ts.html +0 -871
- package/coverage/src/commands/deps-health.ts.html +0 -280
- package/coverage/src/commands/doc-drift.ts.html +0 -271
- package/coverage/src/commands/index.html +0 -281
- package/coverage/src/commands/patterns.ts.html +0 -745
- package/coverage/src/commands/scan.ts.html +0 -1393
- package/coverage/src/commands/testability.ts.html +0 -304
- package/coverage/src/commands/upload.ts.html +0 -466
- package/coverage/src/commands/visualize.ts.html +0 -1027
- package/coverage/src/index.html +0 -116
- package/coverage/src/index.ts.html +0 -1372
- package/coverage/src/utils/helpers.ts.html +0 -559
- package/coverage/src/utils/index.html +0 -116
- package/docs/SPOKE_GUIDE.md +0 -184
- package/packages/core/src/.aiready/aiready-report-20260314-161145.json +0 -224
- package/packages/core/src/.aiready/aiready-report-20260314-161152.json +0 -235
- package/packages/pattern-detect/src/.aiready/aiready-report-20260314-161139.json +0 -224
- package/src/.aiready/aiready-report-20260312-103623.json +0 -32574
- package/src/.aiready/aiready-report-20260312-110843.json +0 -28740
- package/src/.aiready/aiready-report-20260312-110955.json +0 -28740
- package/src/.aiready/aiready-report-20260314-203209.json +0 -30713
- package/src/.aiready/aiready-report-20260314-203736.json +0 -30713
- package/src/.aiready/aiready-report-20260314-203857.json +0 -30713
- package/src/.aiready/aiready-report-20260314-204047.json +0 -30713
- package/src/.aiready/aiready-report-20260318-002110.json +0 -28782
- package/src/__tests__/cli.test.ts +0 -85
- package/src/__tests__/config-shape.test.ts +0 -105
- package/src/__tests__/unified.test.ts +0 -95
- package/src/cli.ts +0 -333
- package/src/commands/__tests__/agent-grounding.test.ts +0 -24
- package/src/commands/__tests__/ai-signal-clarity.test.ts +0 -32
- package/src/commands/__tests__/consistency.test.ts +0 -100
- package/src/commands/__tests__/deps-health.test.ts +0 -26
- package/src/commands/__tests__/doc-drift.test.ts +0 -26
- package/src/commands/__tests__/extra-commands.test.ts +0 -168
- package/src/commands/__tests__/init.test.ts +0 -51
- package/src/commands/__tests__/scan.test.ts +0 -153
- package/src/commands/__tests__/testability.test.ts +0 -36
- package/src/commands/__tests__/upload.test.ts +0 -50
- package/src/commands/__tests__/visualize.test.ts +0 -78
- package/src/commands/agent-grounding.ts +0 -62
- package/src/commands/ai-signal-clarity.ts +0 -1
- package/src/commands/bug.ts +0 -99
- package/src/commands/change-amplification.ts +0 -3
- package/src/commands/consistency.ts +0 -232
- package/src/commands/context.ts +0 -262
- package/src/commands/deps-health.ts +0 -1
- package/src/commands/doc-drift.ts +0 -1
- package/src/commands/index.ts +0 -20
- package/src/commands/init.ts +0 -199
- package/src/commands/patterns.ts +0 -222
- package/src/commands/report-formatter.ts +0 -267
- package/src/commands/scan.ts +0 -432
- package/src/commands/shared/configured-tool-action.ts +0 -35
- package/src/commands/shared/standard-tool-actions.ts +0 -126
- package/src/commands/testability.ts +0 -73
- package/src/commands/upload.ts +0 -129
- package/src/commands/visualize.ts +0 -321
- package/src/index.ts +0 -465
- package/src/utils/__tests__/helpers.test.ts +0 -35
- package/src/utils/helpers.ts +0 -234
- package/tsconfig.json +0 -11
- package/tsconfig.tsbuildinfo +0 -1
- package/vitest.config.ts +0 -13
package/.github/FUNDING.yml
DELETED
package/.turbo/turbo-build.log
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @aiready/cli@0.14.14 build /Users/pengcao/projects/aiready/packages/cli
|
|
4
|
-
> tsup src/index.ts src/cli.ts --format cjs,esm
|
|
5
|
-
|
|
6
|
-
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
7
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
|
-
[34mCLI[39m tsup v8.5.1
|
|
9
|
-
[34mCLI[39m Target: es2020
|
|
10
|
-
[34mCJS[39m Build start
|
|
11
|
-
[34mESM[39m Build start
|
|
12
|
-
|
|
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] [90m12:27:11 am[39m
|
|
14
|
-
|
|
15
|
-
src/cli.ts:29:31:
|
|
16
|
-
[37m 29 │ return dirname(fileURLToPath([32mimport.meta[37m.url));
|
|
17
|
-
╵ [32m~~~~~~~~~~~[0m
|
|
18
|
-
|
|
19
|
-
You need to set the output format to "esm" for "import.meta" to work correctly.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
[32mCJS[39m [1mdist/cli.js [22m[32m88.89 KB[39m
|
|
24
|
-
[32mCJS[39m [1mdist/index.js [22m[32m10.87 KB[39m
|
|
25
|
-
[32mCJS[39m ⚡️ Build success in 58ms
|
|
26
|
-
[32mESM[39m [1mdist/chunk-JRRBBFYB.mjs [22m[32m9.77 KB[39m
|
|
27
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m170.00 B[39m
|
|
28
|
-
[32mESM[39m [1mdist/cli.mjs [22m[32m74.64 KB[39m
|
|
29
|
-
[32mESM[39m ⚡️ Build success in 59ms
|
package/.turbo/turbo-lint.log
DELETED
|
File without changes
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @aiready/cli@0.14.13 test /Users/pengcao/projects/aiready/packages/cli
|
|
4
|
-
> vitest run
|
|
5
|
-
|
|
6
|
-
[?25l
|
|
7
|
-
[1m[46m RUN [49m[22m [36mv4.0.18 [39m[90m/Users/pengcao/projects/aiready/packages/cli[39m
|
|
8
|
-
|
|
9
|
-
[32m✓[39m src/commands/__tests__/testability.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 8[2mms[22m[39m
|
|
10
|
-
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould generate HTML from specified report
|
|
11
|
-
[22m[39mBuilding graph from report...
|
|
12
|
-
|
|
13
|
-
[32m✓[39m src/commands/__tests__/agent-grounding.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 9[2mms[22m[39m
|
|
14
|
-
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould generate HTML from specified report
|
|
15
|
-
[22m[39mGenerating HTML...
|
|
16
|
-
✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
|
|
17
|
-
|
|
18
|
-
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould find latest report if none specified
|
|
19
|
-
[22m[39mFound latest report: latest.json
|
|
20
|
-
Building graph from report...
|
|
21
|
-
|
|
22
|
-
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould find latest report if none specified
|
|
23
|
-
[22m[39mGenerating HTML...
|
|
24
|
-
✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
|
|
25
|
-
|
|
26
|
-
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould handle missing reports
|
|
27
|
-
[22m[39m
|
|
28
|
-
Generate a report with:
|
|
29
|
-
aiready scan --output json
|
|
30
|
-
|
|
31
|
-
Or specify a custom report:
|
|
32
|
-
aiready visualise --report <path-to-report.json>
|
|
33
|
-
|
|
34
|
-
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould attempt to open visualization if requested
|
|
35
|
-
[22m[39mBuilding graph from report...
|
|
36
|
-
|
|
37
|
-
[90mstdout[2m | src/commands/__tests__/visualize.test.ts[2m > [22m[2mVisualize CLI Action[2m > [22m[2mshould attempt to open visualization if requested
|
|
38
|
-
[22m[39mGenerating HTML...
|
|
39
|
-
✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
|
|
40
|
-
|
|
41
|
-
[32m✓[39m src/commands/__tests__/visualize.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 29[2mms[22m[39m
|
|
42
|
-
[32m✓[39m src/commands/__tests__/doc-drift.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 7[2mms[22m[39m
|
|
43
|
-
[32m✓[39m src/commands/__tests__/deps-health.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
44
|
-
[32m✓[39m src/commands/__tests__/ai-signal-clarity.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 7[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 5[2mms[22m[39m
|
|
60
|
-
[32m✓[39m src/utils/__tests__/helpers.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 2[2mms[22m[39m
|
|
61
|
-
[32m✓[39m src/commands/__tests__/init.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 5[2mms[22m[39m
|
|
62
|
-
[32m✓[39m src/commands/__tests__/consistency.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
63
|
-
[32m✓[39m src/commands/__tests__/scan.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 84[2mms[22m[39m
|
|
64
|
-
[32m✓[39m src/commands/__tests__/extra-commands.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 116[2mms[22m[39m
|
|
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 2243[2mms[22m[39m
|
|
67
|
-
[33m[2m✓[22m[39m should run unified analysis with both tools [33m 2242[2mms[22m[39m
|
|
68
|
-
[32m✓[39m src/__tests__/config-shape.test.ts [2m([22m[2m3 tests[22m[2m)[22m[33m 2244[2mms[22m[39m
|
|
69
|
-
[33m[2m✓[22m[39m should generate a strictly portable AIReadyConfig in summary [33m 2243[2mms[22m[39m
|
|
70
|
-
|
|
71
|
-
[2m Test Files [22m [1m[32m15 passed[39m[22m[90m (15)[39m
|
|
72
|
-
[2m Tests [22m [1m[32m45 passed[39m[22m[90m (45)[39m
|
|
73
|
-
[2m Start at [22m 00:25:40
|
|
74
|
-
[2m Duration [22m 3.17s[2m (transform 2.15s, setup 0ms, import 5.12s, tests 4.77s, environment 1ms)[22m
|
|
75
|
-
|
|
76
|
-
[?25h
|