@aiready/context-analyzer 0.1.3 → 0.2.0
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/.turbo/turbo-build.log +8 -8
- package/dist/cli.js +1 -1
- package/dist/cli.mjs +1 -1
- package/package.json +2 -2
- package/src/cli.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/context-analyzer@0.
|
|
3
|
+
> @aiready/context-analyzer@0.2.0 build /Users/pengcao/projects/aiready/packages/context-analyzer
|
|
4
4
|
> tsup src/index.ts src/cli.ts --format cjs,esm --dts
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
[34mCLI[39m Target: es2020
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/cli.js [22m[32m32.65 KB[39m
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m18.33 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in 57ms
|
|
15
|
-
[32mESM[39m [1mdist/cli.mjs [22m[32m13.39 KB[39m
|
|
16
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m124.00 B[39m
|
|
17
12
|
[32mESM[39m [1mdist/chunk-T6ZCOPPI.mjs [22m[32m17.25 KB[39m
|
|
18
|
-
[32mESM[39m
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m124.00 B[39m
|
|
14
|
+
[32mESM[39m [1mdist/cli.mjs [22m[32m13.59 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 74ms
|
|
16
|
+
[32mCJS[39m [1mdist/cli.js [22m[32m32.86 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/index.js [22m[32m18.33 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 74ms
|
|
19
19
|
DTS Build start
|
|
20
|
-
DTS ⚡️ Build success in
|
|
20
|
+
DTS ⚡️ Build success in 630ms
|
|
21
21
|
DTS dist/cli.d.ts 20.00 B
|
|
22
22
|
DTS dist/index.d.ts 2.14 KB
|
|
23
23
|
DTS dist/cli.d.mts 20.00 B
|
package/dist/cli.js
CHANGED
|
@@ -566,7 +566,7 @@ var import_fs = require("fs");
|
|
|
566
566
|
var import_path = require("path");
|
|
567
567
|
var import_core3 = require("@aiready/core");
|
|
568
568
|
var program = new import_commander.Command();
|
|
569
|
-
program.name("aiready-context").description("Analyze AI context window cost and code structure").version("0.1.0").argument("<directory>", "Directory to analyze").option("--max-depth <number>", "Maximum acceptable import depth", "5").option(
|
|
569
|
+
program.name("aiready-context").description("Analyze AI context window cost and code structure").version("0.1.0").addHelpText("after", "\nCONFIGURATION:\n Supports config files: aiready.json, aiready.config.json, .aiready.json, .aireadyrc.json, aiready.config.js, .aireadyrc.js\n CLI options override config file settings").argument("<directory>", "Directory to analyze").option("--max-depth <number>", "Maximum acceptable import depth", "5").option(
|
|
570
570
|
"--max-context <number>",
|
|
571
571
|
"Maximum acceptable context budget (tokens)",
|
|
572
572
|
"10000"
|
package/dist/cli.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import { writeFileSync } from "fs";
|
|
|
11
11
|
import { join } from "path";
|
|
12
12
|
import { loadConfig, mergeConfigWithDefaults } from "@aiready/core";
|
|
13
13
|
var program = new Command();
|
|
14
|
-
program.name("aiready-context").description("Analyze AI context window cost and code structure").version("0.1.0").argument("<directory>", "Directory to analyze").option("--max-depth <number>", "Maximum acceptable import depth", "5").option(
|
|
14
|
+
program.name("aiready-context").description("Analyze AI context window cost and code structure").version("0.1.0").addHelpText("after", "\nCONFIGURATION:\n Supports config files: aiready.json, aiready.config.json, .aiready.json, .aireadyrc.json, aiready.config.js, .aireadyrc.js\n CLI options override config file settings").argument("<directory>", "Directory to analyze").option("--max-depth <number>", "Maximum acceptable import depth", "5").option(
|
|
15
15
|
"--max-context <number>",
|
|
16
16
|
"Maximum acceptable context budget (tokens)",
|
|
17
17
|
"10000"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/context-analyzer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "AI context window cost analysis - detect fragmented code, deep import chains, and expensive context budgets",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"commander": "^12.1.0",
|
|
51
51
|
"chalk": "^5.3.0",
|
|
52
|
-
"@aiready/core": "0.2.
|
|
52
|
+
"@aiready/core": "0.2.4"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/node": "^22.10.2",
|
package/src/cli.ts
CHANGED
|
@@ -13,6 +13,7 @@ program
|
|
|
13
13
|
.name('aiready-context')
|
|
14
14
|
.description('Analyze AI context window cost and code structure')
|
|
15
15
|
.version('0.1.0')
|
|
16
|
+
.addHelpText('after', '\nCONFIGURATION:\n Supports config files: aiready.json, aiready.config.json, .aiready.json, .aireadyrc.json, aiready.config.js, .aireadyrc.js\n CLI options override config file settings')
|
|
16
17
|
.argument('<directory>', 'Directory to analyze')
|
|
17
18
|
.option('--max-depth <number>', 'Maximum acceptable import depth', '5')
|
|
18
19
|
.option(
|