@aiready/cli 0.15.0 → 0.15.1
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/README.md +10 -8
- package/dist/cli.js +9 -3
- package/dist/cli.mjs +9 -3
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -52,6 +52,7 @@ AIReady helps teams **assess, visualize, and prepare** repositories for better A
|
|
|
52
52
|
- **Documentation Drift** - Track documentation freshness vs code churn
|
|
53
53
|
- **Testability Assessment** - Measure code testability for AI agents
|
|
54
54
|
- **Agent Grounding** - Evaluate how well code aids AI agents
|
|
55
|
+
- **Contract Enforcement** - Measure structural type safety and boundary validation
|
|
55
56
|
- **Interactive Visualization** - Generate force-directed graph visualizations
|
|
56
57
|
- **CI/CD Integration** - Quality gates for AI readiness in your pipeline
|
|
57
58
|
|
|
@@ -75,6 +76,7 @@ aiready scan . --threshold 70
|
|
|
75
76
|
| `aiready context` | Analyze context window cost & dependencies |
|
|
76
77
|
| `aiready consistency` | Check naming conventions |
|
|
77
78
|
| `aiready testability` | Assess code testability |
|
|
79
|
+
| `aiready contract` | Analyze structural type safety & contracts |
|
|
78
80
|
| `aiready visualize` | Generate interactive visualizations |
|
|
79
81
|
| `aiready upload` | Upload results to AIReady platform |
|
|
80
82
|
|
|
@@ -166,14 +168,14 @@ Create an `aiready.json` config file:
|
|
|
166
168
|
│
|
|
167
169
|
▼
|
|
168
170
|
🎛️ @aiready/cli (orchestrator)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
171
|
+
│ │ │ │ │ │ │ │ │ │
|
|
172
|
+
▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼
|
|
173
|
+
[PAT] [CTX] [CON] [AMP] [DEP] [DOC] [SIG] [AGT] [TST] [CTR]
|
|
174
|
+
│ │ │ │ │ │ │ │ │ │
|
|
175
|
+
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
|
176
|
+
│
|
|
177
|
+
▼
|
|
178
|
+
🏢 @aiready/core
|
|
177
179
|
```
|
|
178
180
|
|
|
179
181
|
## 🤝 Contributing
|
package/dist/cli.js
CHANGED
|
@@ -471,7 +471,8 @@ function getProfileTools(profile) {
|
|
|
471
471
|
return [
|
|
472
472
|
import_core5.ToolName.AiSignalClarity,
|
|
473
473
|
import_core5.ToolName.AgentGrounding,
|
|
474
|
-
import_core5.ToolName.TestabilityIndex
|
|
474
|
+
import_core5.ToolName.TestabilityIndex,
|
|
475
|
+
import_core5.ToolName.ContractEnforcement
|
|
475
476
|
];
|
|
476
477
|
case "cost":
|
|
477
478
|
return [import_core5.ToolName.PatternDetect, import_core5.ToolName.ContextAnalyzer];
|
|
@@ -481,7 +482,8 @@ function getProfileTools(profile) {
|
|
|
481
482
|
import_core5.ToolName.NamingConsistency,
|
|
482
483
|
import_core5.ToolName.ContextAnalyzer,
|
|
483
484
|
import_core5.ToolName.PatternDetect,
|
|
484
|
-
import_core5.ToolName.ChangeAmplification
|
|
485
|
+
import_core5.ToolName.ChangeAmplification,
|
|
486
|
+
import_core5.ToolName.ContractEnforcement
|
|
485
487
|
];
|
|
486
488
|
case "ui":
|
|
487
489
|
return [
|
|
@@ -492,7 +494,11 @@ function getProfileTools(profile) {
|
|
|
492
494
|
import_core5.ToolName.AiSignalClarity
|
|
493
495
|
];
|
|
494
496
|
case "security":
|
|
495
|
-
return [
|
|
497
|
+
return [
|
|
498
|
+
import_core5.ToolName.NamingConsistency,
|
|
499
|
+
import_core5.ToolName.TestabilityIndex,
|
|
500
|
+
import_core5.ToolName.ContractEnforcement
|
|
501
|
+
];
|
|
496
502
|
case "onboarding":
|
|
497
503
|
return [
|
|
498
504
|
import_core5.ToolName.ContextAnalyzer,
|
package/dist/cli.mjs
CHANGED
|
@@ -476,7 +476,8 @@ function getProfileTools(profile) {
|
|
|
476
476
|
return [
|
|
477
477
|
ToolName.AiSignalClarity,
|
|
478
478
|
ToolName.AgentGrounding,
|
|
479
|
-
ToolName.TestabilityIndex
|
|
479
|
+
ToolName.TestabilityIndex,
|
|
480
|
+
ToolName.ContractEnforcement
|
|
480
481
|
];
|
|
481
482
|
case "cost":
|
|
482
483
|
return [ToolName.PatternDetect, ToolName.ContextAnalyzer];
|
|
@@ -486,7 +487,8 @@ function getProfileTools(profile) {
|
|
|
486
487
|
ToolName.NamingConsistency,
|
|
487
488
|
ToolName.ContextAnalyzer,
|
|
488
489
|
ToolName.PatternDetect,
|
|
489
|
-
ToolName.ChangeAmplification
|
|
490
|
+
ToolName.ChangeAmplification,
|
|
491
|
+
ToolName.ContractEnforcement
|
|
490
492
|
];
|
|
491
493
|
case "ui":
|
|
492
494
|
return [
|
|
@@ -497,7 +499,11 @@ function getProfileTools(profile) {
|
|
|
497
499
|
ToolName.AiSignalClarity
|
|
498
500
|
];
|
|
499
501
|
case "security":
|
|
500
|
-
return [
|
|
502
|
+
return [
|
|
503
|
+
ToolName.NamingConsistency,
|
|
504
|
+
ToolName.TestabilityIndex,
|
|
505
|
+
ToolName.ContractEnforcement
|
|
506
|
+
];
|
|
501
507
|
case "onboarding":
|
|
502
508
|
return [
|
|
503
509
|
ToolName.ContextAnalyzer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/cli",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Assess and improve your codebase's AI-readiness. Get an AI Readiness Score (0-100) and detect semantic duplicates, context fragmentation, and naming inconsistencies.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"chalk": "^5.3.0",
|
|
26
26
|
"commander": "^14.0.0",
|
|
27
|
-
"@aiready/agent-grounding": "0.14.
|
|
28
|
-
"@aiready/consistency": "0.21.
|
|
29
|
-
"@aiready/
|
|
30
|
-
"@aiready/
|
|
31
|
-
"@aiready/
|
|
32
|
-
"@aiready/doc-drift": "0.14.
|
|
33
|
-
"@aiready/
|
|
34
|
-
"@aiready/
|
|
35
|
-
"@aiready/
|
|
36
|
-
"@aiready/
|
|
37
|
-
"@aiready/testability": "0.7.
|
|
38
|
-
"@aiready/
|
|
27
|
+
"@aiready/agent-grounding": "0.14.1",
|
|
28
|
+
"@aiready/consistency": "0.21.1",
|
|
29
|
+
"@aiready/context-analyzer": "0.22.1",
|
|
30
|
+
"@aiready/core": "0.24.1",
|
|
31
|
+
"@aiready/deps": "0.14.1",
|
|
32
|
+
"@aiready/doc-drift": "0.14.1",
|
|
33
|
+
"@aiready/ai-signal-clarity": "0.14.1",
|
|
34
|
+
"@aiready/change-amplification": "0.14.1",
|
|
35
|
+
"@aiready/pattern-detect": "0.17.1",
|
|
36
|
+
"@aiready/visualizer": "0.7.1",
|
|
37
|
+
"@aiready/testability": "0.7.1",
|
|
38
|
+
"@aiready/contract-enforcement": "0.2.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^24.0.0",
|