@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.
Files changed (98) hide show
  1. package/CONTRIBUTING.md +86 -1
  2. package/LICENSE +21 -0
  3. package/README.md +152 -52
  4. package/dist/cli.js +73 -12
  5. package/dist/cli.mjs +73 -12
  6. package/package.json +44 -14
  7. package/.aiready/aiready-report-20260227-133806.json +0 -7805
  8. package/.aiready/aiready-report-20260227-133938.json +0 -7951
  9. package/.aiready/aiready-report-20260228-003433.json +0 -7939
  10. package/.aiready/aiready-report-20260228-003613.json +0 -771
  11. package/.aiready/aiready-report-20260314-164626.json +0 -59
  12. package/.aiready/aiready-report-20260314-164741.json +0 -59
  13. package/.aiready/aiready-report-20260319-201106.json +0 -5566
  14. package/.aiready/aiready-report-20260319-201511.json +0 -5566
  15. package/.aiready/aiready-report-20260319-202017.json +0 -5708
  16. package/.github/FUNDING.yml +0 -5
  17. package/.turbo/turbo-build.log +0 -29
  18. package/.turbo/turbo-lint.log +0 -0
  19. package/.turbo/turbo-test.log +0 -76
  20. package/aiready-report.json +0 -30703
  21. package/coverage/base.css +0 -224
  22. package/coverage/block-navigation.js +0 -87
  23. package/coverage/clover.xml +0 -865
  24. package/coverage/coverage-final.json +0 -15
  25. package/coverage/favicon.png +0 -0
  26. package/coverage/index.html +0 -146
  27. package/coverage/prettify.css +0 -1
  28. package/coverage/prettify.js +0 -2
  29. package/coverage/sort-arrow-sprite.png +0 -0
  30. package/coverage/sorter.js +0 -210
  31. package/coverage/src/commands/agent-grounding.ts.html +0 -271
  32. package/coverage/src/commands/ai-signal-clarity.ts.html +0 -253
  33. package/coverage/src/commands/change-amplification.ts.html +0 -94
  34. package/coverage/src/commands/consistency.ts.html +0 -781
  35. package/coverage/src/commands/context.ts.html +0 -871
  36. package/coverage/src/commands/deps-health.ts.html +0 -280
  37. package/coverage/src/commands/doc-drift.ts.html +0 -271
  38. package/coverage/src/commands/index.html +0 -281
  39. package/coverage/src/commands/patterns.ts.html +0 -745
  40. package/coverage/src/commands/scan.ts.html +0 -1393
  41. package/coverage/src/commands/testability.ts.html +0 -304
  42. package/coverage/src/commands/upload.ts.html +0 -466
  43. package/coverage/src/commands/visualize.ts.html +0 -1027
  44. package/coverage/src/index.html +0 -116
  45. package/coverage/src/index.ts.html +0 -1372
  46. package/coverage/src/utils/helpers.ts.html +0 -559
  47. package/coverage/src/utils/index.html +0 -116
  48. package/docs/SPOKE_GUIDE.md +0 -184
  49. package/packages/core/src/.aiready/aiready-report-20260314-161145.json +0 -224
  50. package/packages/core/src/.aiready/aiready-report-20260314-161152.json +0 -235
  51. package/packages/pattern-detect/src/.aiready/aiready-report-20260314-161139.json +0 -224
  52. package/src/.aiready/aiready-report-20260312-103623.json +0 -32574
  53. package/src/.aiready/aiready-report-20260312-110843.json +0 -28740
  54. package/src/.aiready/aiready-report-20260312-110955.json +0 -28740
  55. package/src/.aiready/aiready-report-20260314-203209.json +0 -30713
  56. package/src/.aiready/aiready-report-20260314-203736.json +0 -30713
  57. package/src/.aiready/aiready-report-20260314-203857.json +0 -30713
  58. package/src/.aiready/aiready-report-20260314-204047.json +0 -30713
  59. package/src/.aiready/aiready-report-20260318-002110.json +0 -28782
  60. package/src/__tests__/cli.test.ts +0 -85
  61. package/src/__tests__/config-shape.test.ts +0 -105
  62. package/src/__tests__/unified.test.ts +0 -95
  63. package/src/cli.ts +0 -333
  64. package/src/commands/__tests__/agent-grounding.test.ts +0 -24
  65. package/src/commands/__tests__/ai-signal-clarity.test.ts +0 -32
  66. package/src/commands/__tests__/consistency.test.ts +0 -100
  67. package/src/commands/__tests__/deps-health.test.ts +0 -26
  68. package/src/commands/__tests__/doc-drift.test.ts +0 -26
  69. package/src/commands/__tests__/extra-commands.test.ts +0 -168
  70. package/src/commands/__tests__/init.test.ts +0 -51
  71. package/src/commands/__tests__/scan.test.ts +0 -153
  72. package/src/commands/__tests__/testability.test.ts +0 -36
  73. package/src/commands/__tests__/upload.test.ts +0 -50
  74. package/src/commands/__tests__/visualize.test.ts +0 -78
  75. package/src/commands/agent-grounding.ts +0 -62
  76. package/src/commands/ai-signal-clarity.ts +0 -1
  77. package/src/commands/bug.ts +0 -99
  78. package/src/commands/change-amplification.ts +0 -3
  79. package/src/commands/consistency.ts +0 -232
  80. package/src/commands/context.ts +0 -262
  81. package/src/commands/deps-health.ts +0 -1
  82. package/src/commands/doc-drift.ts +0 -1
  83. package/src/commands/index.ts +0 -20
  84. package/src/commands/init.ts +0 -199
  85. package/src/commands/patterns.ts +0 -222
  86. package/src/commands/report-formatter.ts +0 -267
  87. package/src/commands/scan.ts +0 -432
  88. package/src/commands/shared/configured-tool-action.ts +0 -35
  89. package/src/commands/shared/standard-tool-actions.ts +0 -126
  90. package/src/commands/testability.ts +0 -73
  91. package/src/commands/upload.ts +0 -129
  92. package/src/commands/visualize.ts +0 -321
  93. package/src/index.ts +0 -465
  94. package/src/utils/__tests__/helpers.test.ts +0 -35
  95. package/src/utils/helpers.ts +0 -234
  96. package/tsconfig.json +0 -11
  97. package/tsconfig.tsbuildinfo +0 -1
  98. package/vitest.config.ts +0 -13
@@ -1,5 +0,0 @@
1
- github: ['caopengau']
2
- custom:
3
- - https://github.com/sponsors/caopengau
4
- - https://receiptclaimer.com
5
- - mailto:caopengau@gmail.com
@@ -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
- CLI Building entry: src/cli.ts, src/index.ts
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.5.1
9
- CLI Target: es2020
10
- CJS Build start
11
- ESM Build start
12
-
13
-  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta] 12:27:11 am
14
-
15
- src/cli.ts:29:31:
16
-  29 │ return dirname(fileURLToPath(import.meta.url));
17
- ╵ ~~~~~~~~~~~
18
-
19
- You need to set the output format to "esm" for "import.meta" to work correctly.
20
-
21
-
22
-
23
- CJS dist/cli.js 88.89 KB
24
- CJS dist/index.js 10.87 KB
25
- CJS ⚡️ Build success in 58ms
26
- ESM dist/chunk-JRRBBFYB.mjs 9.77 KB
27
- ESM dist/index.mjs 170.00 B
28
- ESM dist/cli.mjs 74.64 KB
29
- ESM ⚡️ Build success in 59ms
File without changes
@@ -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
-  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/cli
8
-
9
- ✓ src/commands/__tests__/testability.test.ts (2 tests) 8ms
10
- stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
11
- Building graph from report...
12
-
13
- ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 9ms
14
- stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
15
- Generating HTML...
16
- ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
17
-
18
- stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should find latest report if none specified
19
- Found latest report: latest.json
20
- Building graph from report...
21
-
22
- stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should find latest report if none specified
23
- Generating HTML...
24
- ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
25
-
26
- stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should handle missing reports
27
- 
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
- stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should attempt to open visualization if requested
35
- Building graph from report...
36
-
37
- stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should attempt to open visualization if requested
38
- Generating HTML...
39
- ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
40
-
41
- ✓ src/commands/__tests__/visualize.test.ts (4 tests) 29ms
42
- ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 7ms
43
- ✓ src/commands/__tests__/deps-health.test.ts (1 test) 6ms
44
- ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 7ms
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) 5ms
60
- ✓ src/utils/__tests__/helpers.test.ts (3 tests) 2ms
61
- ✓ src/commands/__tests__/init.test.ts (2 tests) 5ms
62
- ✓ src/commands/__tests__/consistency.test.ts (4 tests) 4ms
63
- ✓ src/commands/__tests__/scan.test.ts (6 tests) 84ms
64
- ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 116ms
65
- ✓ src/__tests__/unified.test.ts (4 tests) 3ms
66
- ✓ src/__tests__/cli.test.ts (3 tests) 2243ms
67
- ✓ should run unified analysis with both tools  2242ms
68
- ✓ src/__tests__/config-shape.test.ts (3 tests) 2244ms
69
- ✓ should generate a strictly portable AIReadyConfig in summary  2243ms
70
-
71
-  Test Files  15 passed (15)
72
-  Tests  45 passed (45)
73
-  Start at  00:25:40
74
-  Duration  3.17s (transform 2.15s, setup 0ms, import 5.12s, tests 4.77s, environment 1ms)
75
-
76
- [?25h