@aiready/context-analyzer 0.22.4 → 0.22.5

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @aiready/context-analyzer@0.22.4 build /Users/pengcao/projects/aiready/packages/context-analyzer
2
+ > @aiready/context-analyzer@0.22.5 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,23 +8,23 @@ CLI tsup v8.5.1
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/python-context-BWDC4E5Z.mjs 4.48 KB
12
- ESM dist/orchestrator-R6MZT4Z2.mjs 190.00 B
13
- ESM dist/cli-action-E7UGP4KE.mjs 2.86 KB
11
+ CJS dist/cli.js 69.46 KB
12
+ CJS dist/index.js 83.18 KB
13
+ CJS ⚡️ Build success in 288ms
14
14
  ESM dist/index.mjs 12.64 KB
15
- ESM dist/chunk-J3SZQZNU.mjs 8.11 KB
16
- ESM dist/chunk-ILMLGJGI.mjs 40.85 KB
17
- ESM dist/chunk-64U3PNO3.mjs 2.65 KB
15
+ ESM dist/cli-action-E7UGP4KE.mjs 2.86 KB
16
+ ESM dist/cli.mjs 1.81 KB
18
17
  ESM dist/summary-7PZVW72O.mjs 119.00 B
18
+ ESM dist/orchestrator-R6MZT4Z2.mjs 190.00 B
19
+ ESM dist/python-context-BWDC4E5Z.mjs 4.48 KB
20
+ ESM dist/chunk-ILMLGJGI.mjs 40.85 KB
19
21
  ESM dist/chunk-EMYD7NS6.mjs 4.91 KB
20
- ESM dist/cli.mjs 1.81 KB
21
22
  ESM dist/chunk-BQCISA2F.mjs 3.35 KB
22
- ESM ⚡️ Build success in 54ms
23
- CJS dist/index.js 83.18 KB
24
- CJS dist/cli.js 69.46 KB
25
- CJS ⚡️ Build success in 54ms
23
+ ESM dist/chunk-J3SZQZNU.mjs 8.11 KB
24
+ ESM dist/chunk-64U3PNO3.mjs 2.65 KB
25
+ ESM ⚡️ Build success in 289ms
26
26
  DTS Build start
27
- DTS ⚡️ Build success in 2642ms
27
+ DTS ⚡️ Build success in 6207ms
28
28
  DTS dist/cli.d.ts 20.00 B
29
29
  DTS dist/index.d.ts 25.86 KB
30
30
  DTS dist/cli.d.mts 20.00 B
@@ -1,12 +1,10 @@
1
1
 
2
- > @aiready/context-analyzer@0.22.3 test /Users/pengcao/projects/aiready/packages/context-analyzer
2
+ > @aiready/context-analyzer@0.22.4 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
3
  > vitest run --exclude "**/dist/**"
4
4
 
5
5
 
6
6
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/context-analyzer
7
7
 
8
- ✓ src/__tests__/report/html-report.test.ts (11 tests) 20ms
9
- ✓ src/__tests__/report/console-report.test.ts (8 tests) 38ms
10
8
  stderr | src/__tests__/python-context.test.ts > python-context > analyzePythonContext > should filter for Python files only
11
9
  Failed to analyze src/file2.py: TypeError: Cannot read properties of undefined (reading 'split')
12
10
  at Module.analyzePythonContext (/Users/pengcao/projects/aiready/packages/context-analyzer/src/analyzers/python-context.ts:91:32)
@@ -21,29 +19,31 @@
21
19
  at /Users/pengcao/projects/aiready/packages/context-analyzer/src/__tests__/python-context.test.ts:84:23
22
20
  at file:///Users/pengcao/projects/aiready/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:915:20
23
21
 
24
- ✓ src/__tests__/python-context.test.ts (4 tests) 55ms
25
- ✓ src/__tests__/consolidation.test.ts (6 tests) 2ms
22
+ ✓ src/__tests__/python-context.test.ts (4 tests) 6ms
23
+ ✓ src/__tests__/report/console-report.test.ts (8 tests) 21ms
24
+ ✓ src/__tests__/report/html-report.test.ts (11 tests) 37ms
26
25
  ✓ src/__tests__/domain-inference.test.ts (26 tests) 4ms
27
- ✓ src/__tests__/scoring.test.ts (15 tests) 4ms
28
- ✓ src/__tests__/issue-analyzer.test.ts (17 tests) 41ms
29
- ✓ src/__tests__/orchestrator.test.ts (8 tests) 51ms
30
- ✓ src/__tests__/file-classification.test.ts (63 tests) 8ms
26
+ ✓ src/__tests__/defaults.test.ts (7 tests) 3ms
27
+ ✓ src/__tests__/issue-analyzer.test.ts (17 tests) 35ms
28
+ ✓ src/__tests__/orchestrator.test.ts (8 tests) 169ms
29
+ ✓ src/__tests__/provider.test.ts (2 tests) 6ms
31
30
  ✓ src/__tests__/auto-detection.test.ts (8 tests) 16ms
32
- ✓ src/__tests__/contract.test.ts (1 test) 14ms
33
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 26ms
34
- ✓ src/__tests__/analyzer.test.ts (14 tests) 57ms
31
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 30ms
32
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 39ms
33
+ ✓ src/__tests__/contract.test.ts (1 test) 39ms
34
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 9ms
35
+ ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 8ms
36
+ ✓ src/__tests__/consolidation.test.ts (6 tests) 2ms
37
+ ✓ src/__tests__/scoring.test.ts (15 tests) 5ms
35
38
  ✓ src/__tests__/remediation.test.ts (6 tests) 2ms
36
- ✓ src/__tests__/defaults.test.ts (7 tests) 113ms
37
- ✓ src/__tests__/provider.test.ts (2 tests) 38ms
38
- ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
39
- ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 5ms
40
- ✓ src/__tests__/cluster-detector.test.ts (3 tests) 3ms
39
+ ✓ src/__tests__/cluster-detector.test.ts (3 tests) 6ms
40
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 1ms
41
+ ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 5ms
42
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 3ms
41
43
  ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
42
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
43
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
44
44
 
45
45
   Test Files  22 passed (22)
46
46
   Tests  224 passed (224)
47
-  Start at  18:49:07
48
-  Duration  3.93s (transform 4.28s, setup 0ms, import 25.30s, tests 506ms, environment 2ms)
47
+  Start at  21:12:43
48
+  Duration  4.32s (transform 7.81s, setup 0ms, import 28.47s, tests 449ms, environment 3ms)
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.22.4",
3
+ "version": "0.22.5",
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.24.4"
52
+ "@aiready/core": "0.24.5"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",