@aiready/context-analyzer 0.21.25 → 0.21.26
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/.turbo/turbo-test.log +23 -23
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @aiready/context-analyzer@0.21.
|
|
2
|
+
> @aiready/context-analyzer@0.21.26 build /Users/pengcao/projects/aiready/packages/context-analyzer
|
|
3
3
|
> tsup src/index.ts src/cli.ts --format cjs,esm --dts
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/cli.ts, src/index.ts
|
|
@@ -8,17 +8,17 @@ CLI tsup v8.5.1
|
|
|
8
8
|
CLI Target: es2020
|
|
9
9
|
CJS Build start
|
|
10
10
|
ESM Build start
|
|
11
|
+
CJS dist/index.js 81.13 KB
|
|
12
|
+
CJS dist/cli.js 67.22 KB
|
|
13
|
+
CJS ⚡️ Build success in 75ms
|
|
11
14
|
ESM dist/cli.mjs 4.38 KB
|
|
12
|
-
ESM dist/chunk-VLV6MXPL.mjs 57.97 KB
|
|
13
|
-
ESM dist/python-context-BWDC4E5Z.mjs 4.48 KB
|
|
14
15
|
ESM dist/index.mjs 12.40 KB
|
|
15
16
|
ESM dist/chunk-64U3PNO3.mjs 2.65 KB
|
|
16
|
-
ESM
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
CJS ⚡️ Build success in 613ms
|
|
17
|
+
ESM dist/chunk-VLV6MXPL.mjs 57.97 KB
|
|
18
|
+
ESM dist/python-context-BWDC4E5Z.mjs 4.48 KB
|
|
19
|
+
ESM ⚡️ Build success in 79ms
|
|
20
20
|
DTS Build start
|
|
21
|
-
DTS ⚡️ Build success in
|
|
21
|
+
DTS ⚡️ Build success in 2862ms
|
|
22
22
|
DTS dist/cli.d.ts 20.00 B
|
|
23
23
|
DTS dist/index.d.ts 25.71 KB
|
|
24
24
|
DTS dist/cli.d.mts 20.00 B
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
> @aiready/context-analyzer@0.21.
|
|
2
|
+
> @aiready/context-analyzer@0.21.25 test /Users/pengcao/projects/aiready/packages/context-analyzer
|
|
3
3
|
> vitest run --exclude "**/dist/**"
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
[1m[46m RUN [49m[22m [36mv4.0.18 [39m[90m/Users/pengcao/projects/aiready/packages/context-analyzer[39m
|
|
7
7
|
|
|
8
|
-
[32m✓[39m src/__tests__/
|
|
9
|
-
[32m✓[39m src/__tests__/report/console-report.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m
|
|
10
|
-
[32m✓[39m src/__tests__/
|
|
11
|
-
[32m✓[39m src/__tests__/issue-analyzer.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m 15[2mms[22m[39m
|
|
8
|
+
[32m✓[39m src/__tests__/remediation.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 2[2mms[22m[39m
|
|
9
|
+
[32m✓[39m src/__tests__/report/console-report.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 142[2mms[22m[39m
|
|
10
|
+
[32m✓[39m src/__tests__/consolidation.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
12
11
|
[90mstderr[2m | src/__tests__/python-context.test.ts[2m > [22m[2mpython-context[2m > [22m[2manalyzePythonContext[2m > [22m[2mshould filter for Python files only
|
|
13
12
|
[22m[39mFailed to analyze src/file2.py: Error: [vitest] No "default" export is defined on the "fs" mock. Did you forget to return it from "vi.mock"?
|
|
14
13
|
If you need to partially mock a module, you can use "importOriginal" helper inside:
|
|
@@ -47,9 +46,9 @@ If you need to partially mock a module, you can use "importOriginal" helper insi
|
|
|
47
46
|
[32m'})'[39m
|
|
48
47
|
}
|
|
49
48
|
|
|
50
|
-
[32m✓[39m src/__tests__/python-context.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m
|
|
51
|
-
[32m✓[39m src/__tests__/
|
|
52
|
-
[32m✓[39m src/__tests__/
|
|
49
|
+
[32m✓[39m src/__tests__/python-context.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 21[2mms[22m[39m
|
|
50
|
+
[32m✓[39m src/__tests__/report/html-report.test.ts [2m([22m[2m11 tests[22m[2m)[22m[32m 125[2mms[22m[39m
|
|
51
|
+
[32m✓[39m src/__tests__/domain-inference.test.ts [2m([22m[2m26 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
53
52
|
[90mstderr[2m | src/__tests__/orchestrator.test.ts[2m > [22m[2manalyzeContext[2m > [22m[2mshould filter Python files when not present
|
|
54
53
|
[22m[39mFailed to analyze src/file2.py: Error: ENOENT: no such file or directory, open 'src/file2.py'
|
|
55
54
|
[90m at open (node:internal/fs/promises:636:25)[39m
|
|
@@ -64,24 +63,25 @@ If you need to partially mock a module, you can use "importOriginal" helper insi
|
|
|
64
63
|
path: [32m'src/file2.py'[39m
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
[32m✓[39m src/__tests__/orchestrator.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m
|
|
68
|
-
[32m✓[39m src/__tests__/
|
|
69
|
-
[32m✓[39m src/__tests__/
|
|
70
|
-
[32m✓[39m src/__tests__/
|
|
71
|
-
[32m✓[39m src/__tests__/
|
|
72
|
-
[32m✓[39m src/__tests__/
|
|
73
|
-
[32m✓[39m src/__tests__/
|
|
74
|
-
[32m✓[39m src/__tests__/
|
|
66
|
+
[32m✓[39m src/__tests__/orchestrator.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 92[2mms[22m[39m
|
|
67
|
+
[32m✓[39m src/__tests__/auto-detection.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 29[2mms[22m[39m
|
|
68
|
+
[32m✓[39m src/__tests__/analyzer.test.ts [2m([22m[2m14 tests[22m[2m)[22m[32m 32[2mms[22m[39m
|
|
69
|
+
[32m✓[39m src/__tests__/contract.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 30[2mms[22m[39m
|
|
70
|
+
[32m✓[39m src/__tests__/issue-analyzer.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m 39[2mms[22m[39m
|
|
71
|
+
[32m✓[39m src/__tests__/fragmentation-coupling.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 244[2mms[22m[39m
|
|
72
|
+
[32m✓[39m src/__tests__/scoring.test.ts [2m([22m[2m15 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
73
|
+
[32m✓[39m src/__tests__/boilerplate-barrel.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 3[2mms[22m[39m
|
|
74
|
+
[32m✓[39m src/__tests__/fragmentation-advanced.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 1[2mms[22m[39m
|
|
75
75
|
[32m✓[39m src/__tests__/file-classification.test.ts [2m([22m[2m63 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
76
|
-
[32m✓[39m src/__tests__/
|
|
77
|
-
[32m✓[39m src/__tests__/
|
|
78
|
-
[32m✓[39m src/__tests__/fragmentation-log.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 2[2mms[22m[39m
|
|
79
|
-
[32m✓[39m src/__tests__/fragmentation-advanced.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
76
|
+
[32m✓[39m src/__tests__/cluster-detector.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 3[2mms[22m[39m
|
|
77
|
+
[32m✓[39m src/__tests__/provider.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 8[2mms[22m[39m
|
|
80
78
|
[32m✓[39m src/__tests__/enhanced-cohesion.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 3[2mms[22m[39m
|
|
81
|
-
[32m✓[39m src/__tests__/
|
|
79
|
+
[32m✓[39m src/__tests__/defaults.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 10[2mms[22m[39m
|
|
80
|
+
[32m✓[39m src/__tests__/fragmentation-log.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 2[2mms[22m[39m
|
|
81
|
+
[32m✓[39m src/__tests__/structural-cohesion.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 3[2mms[22m[39m
|
|
82
82
|
|
|
83
83
|
[2m Test Files [22m [1m[32m22 passed[39m[22m[90m (22)[39m
|
|
84
84
|
[2m Tests [22m [1m[32m224 passed[39m[22m[90m (224)[39m
|
|
85
|
-
[2m Start at [22m 19:
|
|
86
|
-
[2m Duration [22m
|
|
85
|
+
[2m Start at [22m 19:39:17
|
|
86
|
+
[2m Duration [22m 4.67s[2m (transform 5.84s, setup 0ms, import 28.95s, tests 810ms, environment 2ms)[22m
|
|
87
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/context-analyzer",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.26",
|
|
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
|
"commander": "^14.0.0",
|
|
50
50
|
"chalk": "^5.3.0",
|
|
51
51
|
"prompts": "^2.4.2",
|
|
52
|
-
"@aiready/core": "0.23.
|
|
52
|
+
"@aiready/core": "0.23.23"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/node": "^24.0.0",
|