@aiready/cli 0.14.13 → 0.14.15

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 (95) hide show
  1. package/CONTRIBUTING.md +86 -1
  2. package/LICENSE +21 -0
  3. package/package.json +33 -12
  4. package/.aiready/aiready-report-20260227-133806.json +0 -7805
  5. package/.aiready/aiready-report-20260227-133938.json +0 -7951
  6. package/.aiready/aiready-report-20260228-003433.json +0 -7939
  7. package/.aiready/aiready-report-20260228-003613.json +0 -771
  8. package/.aiready/aiready-report-20260314-164626.json +0 -59
  9. package/.aiready/aiready-report-20260314-164741.json +0 -59
  10. package/.aiready/aiready-report-20260319-201106.json +0 -5566
  11. package/.aiready/aiready-report-20260319-201511.json +0 -5566
  12. package/.aiready/aiready-report-20260319-202017.json +0 -5708
  13. package/.github/FUNDING.yml +0 -5
  14. package/.turbo/turbo-build.log +0 -29
  15. package/.turbo/turbo-lint.log +0 -0
  16. package/.turbo/turbo-test.log +0 -76
  17. package/aiready-report.json +0 -30703
  18. package/coverage/base.css +0 -224
  19. package/coverage/block-navigation.js +0 -87
  20. package/coverage/clover.xml +0 -865
  21. package/coverage/coverage-final.json +0 -15
  22. package/coverage/favicon.png +0 -0
  23. package/coverage/index.html +0 -146
  24. package/coverage/prettify.css +0 -1
  25. package/coverage/prettify.js +0 -2
  26. package/coverage/sort-arrow-sprite.png +0 -0
  27. package/coverage/sorter.js +0 -210
  28. package/coverage/src/commands/agent-grounding.ts.html +0 -271
  29. package/coverage/src/commands/ai-signal-clarity.ts.html +0 -253
  30. package/coverage/src/commands/change-amplification.ts.html +0 -94
  31. package/coverage/src/commands/consistency.ts.html +0 -781
  32. package/coverage/src/commands/context.ts.html +0 -871
  33. package/coverage/src/commands/deps-health.ts.html +0 -280
  34. package/coverage/src/commands/doc-drift.ts.html +0 -271
  35. package/coverage/src/commands/index.html +0 -281
  36. package/coverage/src/commands/patterns.ts.html +0 -745
  37. package/coverage/src/commands/scan.ts.html +0 -1393
  38. package/coverage/src/commands/testability.ts.html +0 -304
  39. package/coverage/src/commands/upload.ts.html +0 -466
  40. package/coverage/src/commands/visualize.ts.html +0 -1027
  41. package/coverage/src/index.html +0 -116
  42. package/coverage/src/index.ts.html +0 -1372
  43. package/coverage/src/utils/helpers.ts.html +0 -559
  44. package/coverage/src/utils/index.html +0 -116
  45. package/docs/SPOKE_GUIDE.md +0 -184
  46. package/packages/core/src/.aiready/aiready-report-20260314-161145.json +0 -224
  47. package/packages/core/src/.aiready/aiready-report-20260314-161152.json +0 -235
  48. package/packages/pattern-detect/src/.aiready/aiready-report-20260314-161139.json +0 -224
  49. package/src/.aiready/aiready-report-20260312-103623.json +0 -32574
  50. package/src/.aiready/aiready-report-20260312-110843.json +0 -28740
  51. package/src/.aiready/aiready-report-20260312-110955.json +0 -28740
  52. package/src/.aiready/aiready-report-20260314-203209.json +0 -30713
  53. package/src/.aiready/aiready-report-20260314-203736.json +0 -30713
  54. package/src/.aiready/aiready-report-20260314-203857.json +0 -30713
  55. package/src/.aiready/aiready-report-20260314-204047.json +0 -30713
  56. package/src/.aiready/aiready-report-20260318-002110.json +0 -28782
  57. package/src/__tests__/cli.test.ts +0 -85
  58. package/src/__tests__/config-shape.test.ts +0 -105
  59. package/src/__tests__/unified.test.ts +0 -95
  60. package/src/cli.ts +0 -333
  61. package/src/commands/__tests__/agent-grounding.test.ts +0 -24
  62. package/src/commands/__tests__/ai-signal-clarity.test.ts +0 -32
  63. package/src/commands/__tests__/consistency.test.ts +0 -100
  64. package/src/commands/__tests__/deps-health.test.ts +0 -26
  65. package/src/commands/__tests__/doc-drift.test.ts +0 -26
  66. package/src/commands/__tests__/extra-commands.test.ts +0 -168
  67. package/src/commands/__tests__/init.test.ts +0 -51
  68. package/src/commands/__tests__/scan.test.ts +0 -153
  69. package/src/commands/__tests__/testability.test.ts +0 -36
  70. package/src/commands/__tests__/upload.test.ts +0 -50
  71. package/src/commands/__tests__/visualize.test.ts +0 -78
  72. package/src/commands/agent-grounding.ts +0 -62
  73. package/src/commands/ai-signal-clarity.ts +0 -1
  74. package/src/commands/bug.ts +0 -99
  75. package/src/commands/change-amplification.ts +0 -3
  76. package/src/commands/consistency.ts +0 -232
  77. package/src/commands/context.ts +0 -262
  78. package/src/commands/deps-health.ts +0 -1
  79. package/src/commands/doc-drift.ts +0 -1
  80. package/src/commands/index.ts +0 -20
  81. package/src/commands/init.ts +0 -199
  82. package/src/commands/patterns.ts +0 -222
  83. package/src/commands/report-formatter.ts +0 -267
  84. package/src/commands/scan.ts +0 -432
  85. package/src/commands/shared/configured-tool-action.ts +0 -35
  86. package/src/commands/shared/standard-tool-actions.ts +0 -126
  87. package/src/commands/testability.ts +0 -73
  88. package/src/commands/upload.ts +0 -129
  89. package/src/commands/visualize.ts +0 -321
  90. package/src/index.ts +0 -465
  91. package/src/utils/__tests__/helpers.test.ts +0 -35
  92. package/src/utils/helpers.ts +0 -234
  93. package/tsconfig.json +0 -11
  94. package/tsconfig.tsbuildinfo +0 -1
  95. package/vitest.config.ts +0 -13
@@ -1,235 +0,0 @@
1
- {
2
- "summary": {
3
- "totalIssues": 0,
4
- "criticalIssues": 0,
5
- "majorIssues": 0,
6
- "totalFiles": 0,
7
- "toolsRun": ["pattern-detect"],
8
- "executionTime": 5,
9
- "config": {
10
- "scan": {
11
- "tools": ["patterns"],
12
- "include": ["**/*.ts"]
13
- },
14
- "tools": {
15
- "pattern-detect": {
16
- "minSimilarity": 0.5,
17
- "minLines": 6,
18
- "approx": true,
19
- "minSharedTokens": 10,
20
- "maxCandidatesPerBlock": 100,
21
- "severity": "all"
22
- }
23
- }
24
- },
25
- "toolConfigs": {
26
- "pattern-detect": {
27
- "minSimilarity": 0.5,
28
- "minLines": 6,
29
- "approx": true,
30
- "minSharedTokens": 10,
31
- "maxCandidatesPerBlock": 100,
32
- "severity": "all"
33
- }
34
- }
35
- },
36
- "pattern-detect": {
37
- "results": [],
38
- "summary": {
39
- "totalFiles": 0,
40
- "totalIssues": 0,
41
- "duplicates": [],
42
- "clusters": [],
43
- "config": {
44
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/core/src",
45
- "minSimilarity": 0.5,
46
- "minLines": 6,
47
- "approx": true,
48
- "minSharedTokens": 10,
49
- "maxCandidatesPerBlock": 100,
50
- "severity": "all"
51
- }
52
- },
53
- "metadata": {
54
- "toolName": "pattern-detect",
55
- "version": "0.12.5",
56
- "timestamp": "2026-03-14T05:11:52.041Z",
57
- "config": {
58
- "include": ["**/*.ts"],
59
- "minSimilarity": 0.5,
60
- "minLines": 6,
61
- "approx": true,
62
- "minSharedTokens": 10,
63
- "maxCandidatesPerBlock": 100,
64
- "severity": "all",
65
- "includeTests": false
66
- }
67
- }
68
- },
69
- "patterns": {
70
- "results": [],
71
- "summary": {
72
- "totalFiles": 0,
73
- "totalIssues": 0,
74
- "duplicates": [],
75
- "clusters": [],
76
- "config": {
77
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/core/src",
78
- "minSimilarity": 0.5,
79
- "minLines": 6,
80
- "approx": true,
81
- "minSharedTokens": 10,
82
- "maxCandidatesPerBlock": 100,
83
- "severity": "all"
84
- }
85
- },
86
- "metadata": {
87
- "toolName": "pattern-detect",
88
- "version": "0.12.5",
89
- "timestamp": "2026-03-14T05:11:52.041Z",
90
- "config": {
91
- "include": ["**/*.ts"],
92
- "minSimilarity": 0.5,
93
- "minLines": 6,
94
- "approx": true,
95
- "minSharedTokens": 10,
96
- "maxCandidatesPerBlock": 100,
97
- "severity": "all",
98
- "includeTests": false
99
- }
100
- }
101
- },
102
- "duplicates": {
103
- "results": [],
104
- "summary": {
105
- "totalFiles": 0,
106
- "totalIssues": 0,
107
- "duplicates": [],
108
- "clusters": [],
109
- "config": {
110
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/core/src",
111
- "minSimilarity": 0.5,
112
- "minLines": 6,
113
- "approx": true,
114
- "minSharedTokens": 10,
115
- "maxCandidatesPerBlock": 100,
116
- "severity": "all"
117
- }
118
- },
119
- "metadata": {
120
- "toolName": "pattern-detect",
121
- "version": "0.12.5",
122
- "timestamp": "2026-03-14T05:11:52.041Z",
123
- "config": {
124
- "include": ["**/*.ts"],
125
- "minSimilarity": 0.5,
126
- "minLines": 6,
127
- "approx": true,
128
- "minSharedTokens": 10,
129
- "maxCandidatesPerBlock": 100,
130
- "severity": "all",
131
- "includeTests": false
132
- }
133
- }
134
- },
135
- "duplication": {
136
- "results": [],
137
- "summary": {
138
- "totalFiles": 0,
139
- "totalIssues": 0,
140
- "duplicates": [],
141
- "clusters": [],
142
- "config": {
143
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/core/src",
144
- "minSimilarity": 0.5,
145
- "minLines": 6,
146
- "approx": true,
147
- "minSharedTokens": 10,
148
- "maxCandidatesPerBlock": 100,
149
- "severity": "all"
150
- }
151
- },
152
- "metadata": {
153
- "toolName": "pattern-detect",
154
- "version": "0.12.5",
155
- "timestamp": "2026-03-14T05:11:52.041Z",
156
- "config": {
157
- "include": ["**/*.ts"],
158
- "minSimilarity": 0.5,
159
- "minLines": 6,
160
- "approx": true,
161
- "minSharedTokens": 10,
162
- "maxCandidatesPerBlock": 100,
163
- "severity": "all",
164
- "includeTests": false
165
- }
166
- }
167
- },
168
- "patternDetect": {
169
- "results": [],
170
- "summary": {
171
- "totalFiles": 0,
172
- "totalIssues": 0,
173
- "duplicates": [],
174
- "clusters": [],
175
- "config": {
176
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/core/src",
177
- "minSimilarity": 0.5,
178
- "minLines": 6,
179
- "approx": true,
180
- "minSharedTokens": 10,
181
- "maxCandidatesPerBlock": 100,
182
- "severity": "all"
183
- }
184
- },
185
- "metadata": {
186
- "toolName": "pattern-detect",
187
- "version": "0.12.5",
188
- "timestamp": "2026-03-14T05:11:52.041Z",
189
- "config": {
190
- "include": ["**/*.ts"],
191
- "minSimilarity": 0.5,
192
- "minLines": 6,
193
- "approx": true,
194
- "minSharedTokens": 10,
195
- "maxCandidatesPerBlock": 100,
196
- "severity": "all",
197
- "includeTests": false
198
- }
199
- }
200
- },
201
- "results": [],
202
- "scoring": {
203
- "overall": 100,
204
- "rating": "Excellent",
205
- "timestamp": "2026-03-14T05:11:52.043Z",
206
- "toolsUsed": ["pattern-detect"],
207
- "breakdown": [
208
- {
209
- "toolName": "pattern-detect",
210
- "score": 100,
211
- "rawMetrics": {
212
- "totalDuplicates": 0,
213
- "totalTokenCost": 0,
214
- "highImpactDuplicates": 0,
215
- "totalFilesAnalyzed": 0
216
- },
217
- "factors": [],
218
- "recommendations": []
219
- }
220
- ],
221
- "calculation": {
222
- "formula": "[(100 × 22)] / 22 = 100",
223
- "weights": {
224
- "pattern-detect": 22
225
- },
226
- "normalized": "[(100 × 22)] / 22 = 100"
227
- }
228
- },
229
- "repository": {
230
- "url": "https://github.com/caopengau/aiready.git",
231
- "branch": "main",
232
- "commit": "d18009e9c1b30c7efd1afef5569b0aca40ccabf5",
233
- "author": "caopengau@gmail.com"
234
- }
235
- }
@@ -1,224 +0,0 @@
1
- {
2
- "summary": {
3
- "totalIssues": 0,
4
- "criticalIssues": 0,
5
- "majorIssues": 0,
6
- "totalFiles": 0,
7
- "toolsRun": ["pattern-detect"],
8
- "executionTime": 7,
9
- "config": {
10
- "scan": {
11
- "tools": ["patterns"]
12
- },
13
- "tools": {
14
- "pattern-detect": {
15
- "minSimilarity": 0.5,
16
- "minLines": 6,
17
- "approx": true,
18
- "minSharedTokens": 10,
19
- "maxCandidatesPerBlock": 100,
20
- "severity": "all"
21
- }
22
- }
23
- },
24
- "toolConfigs": {
25
- "pattern-detect": {
26
- "minSimilarity": 0.5,
27
- "minLines": 6,
28
- "approx": true,
29
- "minSharedTokens": 10,
30
- "maxCandidatesPerBlock": 100,
31
- "severity": "all"
32
- }
33
- }
34
- },
35
- "pattern-detect": {
36
- "results": [],
37
- "summary": {
38
- "totalFiles": 0,
39
- "totalIssues": 0,
40
- "duplicates": [],
41
- "clusters": [],
42
- "config": {
43
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/pattern-detect/src",
44
- "minSimilarity": 0.5,
45
- "minLines": 6,
46
- "approx": true,
47
- "minSharedTokens": 10,
48
- "maxCandidatesPerBlock": 100,
49
- "severity": "all"
50
- }
51
- },
52
- "metadata": {
53
- "toolName": "pattern-detect",
54
- "version": "0.12.5",
55
- "timestamp": "2026-03-14T05:11:39.972Z",
56
- "config": {
57
- "minSimilarity": 0.5,
58
- "minLines": 6,
59
- "approx": true,
60
- "minSharedTokens": 10,
61
- "maxCandidatesPerBlock": 100,
62
- "severity": "all",
63
- "includeTests": false
64
- }
65
- }
66
- },
67
- "patterns": {
68
- "results": [],
69
- "summary": {
70
- "totalFiles": 0,
71
- "totalIssues": 0,
72
- "duplicates": [],
73
- "clusters": [],
74
- "config": {
75
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/pattern-detect/src",
76
- "minSimilarity": 0.5,
77
- "minLines": 6,
78
- "approx": true,
79
- "minSharedTokens": 10,
80
- "maxCandidatesPerBlock": 100,
81
- "severity": "all"
82
- }
83
- },
84
- "metadata": {
85
- "toolName": "pattern-detect",
86
- "version": "0.12.5",
87
- "timestamp": "2026-03-14T05:11:39.972Z",
88
- "config": {
89
- "minSimilarity": 0.5,
90
- "minLines": 6,
91
- "approx": true,
92
- "minSharedTokens": 10,
93
- "maxCandidatesPerBlock": 100,
94
- "severity": "all",
95
- "includeTests": false
96
- }
97
- }
98
- },
99
- "duplicates": {
100
- "results": [],
101
- "summary": {
102
- "totalFiles": 0,
103
- "totalIssues": 0,
104
- "duplicates": [],
105
- "clusters": [],
106
- "config": {
107
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/pattern-detect/src",
108
- "minSimilarity": 0.5,
109
- "minLines": 6,
110
- "approx": true,
111
- "minSharedTokens": 10,
112
- "maxCandidatesPerBlock": 100,
113
- "severity": "all"
114
- }
115
- },
116
- "metadata": {
117
- "toolName": "pattern-detect",
118
- "version": "0.12.5",
119
- "timestamp": "2026-03-14T05:11:39.972Z",
120
- "config": {
121
- "minSimilarity": 0.5,
122
- "minLines": 6,
123
- "approx": true,
124
- "minSharedTokens": 10,
125
- "maxCandidatesPerBlock": 100,
126
- "severity": "all",
127
- "includeTests": false
128
- }
129
- }
130
- },
131
- "duplication": {
132
- "results": [],
133
- "summary": {
134
- "totalFiles": 0,
135
- "totalIssues": 0,
136
- "duplicates": [],
137
- "clusters": [],
138
- "config": {
139
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/pattern-detect/src",
140
- "minSimilarity": 0.5,
141
- "minLines": 6,
142
- "approx": true,
143
- "minSharedTokens": 10,
144
- "maxCandidatesPerBlock": 100,
145
- "severity": "all"
146
- }
147
- },
148
- "metadata": {
149
- "toolName": "pattern-detect",
150
- "version": "0.12.5",
151
- "timestamp": "2026-03-14T05:11:39.972Z",
152
- "config": {
153
- "minSimilarity": 0.5,
154
- "minLines": 6,
155
- "approx": true,
156
- "minSharedTokens": 10,
157
- "maxCandidatesPerBlock": 100,
158
- "severity": "all",
159
- "includeTests": false
160
- }
161
- }
162
- },
163
- "patternDetect": {
164
- "results": [],
165
- "summary": {
166
- "totalFiles": 0,
167
- "totalIssues": 0,
168
- "duplicates": [],
169
- "clusters": [],
170
- "config": {
171
- "rootDir": "/Users/pengcao/projects/aiready/packages/cli/packages/pattern-detect/src",
172
- "minSimilarity": 0.5,
173
- "minLines": 6,
174
- "approx": true,
175
- "minSharedTokens": 10,
176
- "maxCandidatesPerBlock": 100,
177
- "severity": "all"
178
- }
179
- },
180
- "metadata": {
181
- "toolName": "pattern-detect",
182
- "version": "0.12.5",
183
- "timestamp": "2026-03-14T05:11:39.972Z",
184
- "config": {
185
- "minSimilarity": 0.5,
186
- "minLines": 6,
187
- "approx": true,
188
- "minSharedTokens": 10,
189
- "maxCandidatesPerBlock": 100,
190
- "severity": "all",
191
- "includeTests": false
192
- }
193
- }
194
- },
195
- "results": [],
196
- "scoring": {
197
- "overall": 100,
198
- "rating": "Excellent",
199
- "timestamp": "2026-03-14T05:11:39.975Z",
200
- "toolsUsed": ["pattern-detect"],
201
- "breakdown": [
202
- {
203
- "toolName": "pattern-detect",
204
- "score": 100,
205
- "rawMetrics": {
206
- "totalDuplicates": 0,
207
- "totalTokenCost": 0,
208
- "highImpactDuplicates": 0,
209
- "totalFilesAnalyzed": 0
210
- },
211
- "factors": [],
212
- "recommendations": []
213
- }
214
- ],
215
- "calculation": {
216
- "formula": "[(100 × 22)] / 22 = 100",
217
- "weights": {
218
- "pattern-detect": 22
219
- },
220
- "normalized": "[(100 × 22)] / 22 = 100"
221
- }
222
- },
223
- "repository": {}
224
- }