@aiready/cli 0.15.7 → 0.15.8
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/dist/cli.js +5 -5
- package/dist/cli.mjs +5 -5
- package/package.json +6 -6
package/dist/cli.js
CHANGED
|
@@ -1175,7 +1175,7 @@ function defineScanCommand(program2) {
|
|
|
1175
1175
|
).option(
|
|
1176
1176
|
"--exclude <patterns>",
|
|
1177
1177
|
"File patterns to exclude (comma-separated)"
|
|
1178
|
-
).option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)").option("--no-score", "Disable calculating AI Readiness Score").option("--weights <weights>", "Custom scoring weights").option(
|
|
1178
|
+
).option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").option("--weights <weights>", "Custom scoring weights").option(
|
|
1179
1179
|
"--threshold <score>",
|
|
1180
1180
|
"Fail CI/CD if score below threshold (0-100)"
|
|
1181
1181
|
).option(
|
|
@@ -1510,7 +1510,7 @@ function definePatternsCommand(program2) {
|
|
|
1510
1510
|
).option(
|
|
1511
1511
|
"--exclude <patterns>",
|
|
1512
1512
|
"File patterns to exclude (comma-separated)"
|
|
1513
|
-
).option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)").option("--no-score", "Disable calculating AI Readiness Score").addHelpText("after", PATTERNS_HELP_TEXT).action(async (directory, options) => {
|
|
1513
|
+
).option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").addHelpText("after", PATTERNS_HELP_TEXT).action(async (directory, options) => {
|
|
1514
1514
|
await patternsAction(directory, options);
|
|
1515
1515
|
});
|
|
1516
1516
|
}
|
|
@@ -2517,7 +2517,7 @@ program.command("change-amplification").description("Analyze graph metrics for c
|
|
|
2517
2517
|
"-o, --output <format>",
|
|
2518
2518
|
"Output format: console, json",
|
|
2519
2519
|
CLI_CONSTANTS.FORMATS.CONSOLE
|
|
2520
|
-
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").action(async (directory, options) => {
|
|
2520
|
+
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").action(async (directory, options) => {
|
|
2521
2521
|
await (0, import_cli.changeAmplificationAction)(directory, options);
|
|
2522
2522
|
});
|
|
2523
2523
|
program.command("testability").description("Analyze test coverage and AI readiness").argument(
|
|
@@ -2538,7 +2538,7 @@ program.command("testability").description("Analyze test coverage and AI readine
|
|
|
2538
2538
|
"-o, --output <format>",
|
|
2539
2539
|
"Output format: console, json",
|
|
2540
2540
|
CLI_CONSTANTS.FORMATS.CONSOLE
|
|
2541
|
-
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").action(async (directory, options) => {
|
|
2541
|
+
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").action(async (directory, options) => {
|
|
2542
2542
|
await testabilityAction(directory, options);
|
|
2543
2543
|
});
|
|
2544
2544
|
program.command("contract").description("Analyze structural contract enforcement and defensive coding").argument(
|
|
@@ -2559,7 +2559,7 @@ program.command("contract").description("Analyze structural contract enforcement
|
|
|
2559
2559
|
"-o, --output <format>",
|
|
2560
2560
|
"Output format: console, json",
|
|
2561
2561
|
CLI_CONSTANTS.FORMATS.CONSOLE
|
|
2562
|
-
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").action(async (directory, options) => {
|
|
2562
|
+
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").action(async (directory, options) => {
|
|
2563
2563
|
await contractEnforcementAction(directory, options);
|
|
2564
2564
|
});
|
|
2565
2565
|
program.command("upload").description("Upload an AIReady report JSON to the platform").argument("<file>", "Report JSON file to upload").option(CLI_CONSTANTS.OPTIONS.API_KEY, "Platform API key").option(CLI_CONSTANTS.OPTIONS.REPO_ID, "Platform repository ID (optional)").option(CLI_CONSTANTS.OPTIONS.SERVER, "Custom platform URL").addHelpText("after", UPLOAD_HELP_TEXT).action(async (file, options) => {
|
package/dist/cli.mjs
CHANGED
|
@@ -865,7 +865,7 @@ function defineScanCommand(program2) {
|
|
|
865
865
|
).option(
|
|
866
866
|
"--exclude <patterns>",
|
|
867
867
|
"File patterns to exclude (comma-separated)"
|
|
868
|
-
).option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)").option("--no-score", "Disable calculating AI Readiness Score").option("--weights <weights>", "Custom scoring weights").option(
|
|
868
|
+
).option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").option("--weights <weights>", "Custom scoring weights").option(
|
|
869
869
|
"--threshold <score>",
|
|
870
870
|
"Fail CI/CD if score below threshold (0-100)"
|
|
871
871
|
).option(
|
|
@@ -1203,7 +1203,7 @@ function definePatternsCommand(program2) {
|
|
|
1203
1203
|
).option(
|
|
1204
1204
|
"--exclude <patterns>",
|
|
1205
1205
|
"File patterns to exclude (comma-separated)"
|
|
1206
|
-
).option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)").option("--no-score", "Disable calculating AI Readiness Score").addHelpText("after", PATTERNS_HELP_TEXT).action(async (directory, options) => {
|
|
1206
|
+
).option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").addHelpText("after", PATTERNS_HELP_TEXT).action(async (directory, options) => {
|
|
1207
1207
|
await patternsAction(directory, options);
|
|
1208
1208
|
});
|
|
1209
1209
|
}
|
|
@@ -2209,7 +2209,7 @@ program.command("change-amplification").description("Analyze graph metrics for c
|
|
|
2209
2209
|
"-o, --output <format>",
|
|
2210
2210
|
"Output format: console, json",
|
|
2211
2211
|
CLI_CONSTANTS.FORMATS.CONSOLE
|
|
2212
|
-
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").action(async (directory, options) => {
|
|
2212
|
+
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").action(async (directory, options) => {
|
|
2213
2213
|
await changeAmplificationAction(directory, options);
|
|
2214
2214
|
});
|
|
2215
2215
|
program.command("testability").description("Analyze test coverage and AI readiness").argument(
|
|
@@ -2230,7 +2230,7 @@ program.command("testability").description("Analyze test coverage and AI readine
|
|
|
2230
2230
|
"-o, --output <format>",
|
|
2231
2231
|
"Output format: console, json",
|
|
2232
2232
|
CLI_CONSTANTS.FORMATS.CONSOLE
|
|
2233
|
-
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").action(async (directory, options) => {
|
|
2233
|
+
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").action(async (directory, options) => {
|
|
2234
2234
|
await testabilityAction(directory, options);
|
|
2235
2235
|
});
|
|
2236
2236
|
program.command("contract").description("Analyze structural contract enforcement and defensive coding").argument(
|
|
@@ -2251,7 +2251,7 @@ program.command("contract").description("Analyze structural contract enforcement
|
|
|
2251
2251
|
"-o, --output <format>",
|
|
2252
2252
|
"Output format: console, json",
|
|
2253
2253
|
CLI_CONSTANTS.FORMATS.CONSOLE
|
|
2254
|
-
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").action(async (directory, options) => {
|
|
2254
|
+
).option(CLI_CONSTANTS.OPTIONS.OUTPUT_FILE, "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100)", true).option("--no-score", "Disable calculating AI Readiness Score").action(async (directory, options) => {
|
|
2255
2255
|
await contractEnforcementAction(directory, options);
|
|
2256
2256
|
});
|
|
2257
2257
|
program.command("upload").description("Upload an AIReady report JSON to the platform").argument("<file>", "Report JSON file to upload").option(CLI_CONSTANTS.OPTIONS.API_KEY, "Platform API key").option(CLI_CONSTANTS.OPTIONS.REPO_ID, "Platform repository ID (optional)").option(CLI_CONSTANTS.OPTIONS.SERVER, "Custom platform URL").addHelpText("after", UPLOAD_HELP_TEXT).action(async (file, options) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/cli",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.8",
|
|
4
4
|
"description": "The unified CLI for Agentic Readiness. Optimize codebases for AI agents like Cursor, Windsurf, and Claude. Detect semantic duplicates, analyze context fragmentation, and improve agentic leverage.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"commander": "^14.0.0",
|
|
27
27
|
"@aiready/agent-grounding": "0.14.6",
|
|
28
28
|
"@aiready/consistency": "0.21.6",
|
|
29
|
-
"@aiready/core": "0.24.6",
|
|
30
29
|
"@aiready/context-analyzer": "0.22.6",
|
|
31
|
-
"@aiready/
|
|
30
|
+
"@aiready/core": "0.24.6",
|
|
32
31
|
"@aiready/deps": "0.14.6",
|
|
33
|
-
"@aiready/change-amplification": "0.14.6",
|
|
34
32
|
"@aiready/contract-enforcement": "0.2.6",
|
|
35
|
-
"@aiready/
|
|
33
|
+
"@aiready/change-amplification": "0.14.6",
|
|
34
|
+
"@aiready/doc-drift": "0.14.6",
|
|
35
|
+
"@aiready/ai-signal-clarity": "0.14.8",
|
|
36
36
|
"@aiready/testability": "0.7.6",
|
|
37
37
|
"@aiready/visualizer": "0.7.6",
|
|
38
|
-
"@aiready/
|
|
38
|
+
"@aiready/pattern-detect": "0.17.6"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^24.0.0",
|