@aiready/context-analyzer 0.22.8 → 0.22.9

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,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.22.8 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.22.9 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
  CLI Building entry: src/cli.ts, src/index.ts
@@ -9,23 +9,23 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- ESM dist/index.mjs 12.69 KB
12
+ CJS dist/cli.js 69.65 KB
13
+ CJS dist/index.js 83.44 KB
14
+ CJS ⚡️ Build success in 98ms
13
15
  ESM dist/cli.mjs 1.81 KB
14
16
  ESM dist/python-context-BWDC4E5Z.mjs 4.48 KB
17
+ ESM dist/summary-RSPRRY6S.mjs 119.00 B
15
18
  ESM dist/orchestrator-62YVSQFV.mjs 190.00 B
16
- ESM dist/cli-action-HREY7TK5.mjs 2.86 KB
19
+ ESM dist/chunk-ZA7HRDAH.mjs 41.00 KB
17
20
  ESM dist/chunk-BTDF2ZA4.mjs 3.35 KB
21
+ ESM dist/index.mjs 12.69 KB
18
22
  ESM dist/chunk-J3SZQZNU.mjs 8.11 KB
19
- ESM dist/chunk-64U3PNO3.mjs 2.65 KB
20
- ESM dist/summary-RSPRRY6S.mjs 119.00 B
23
+ ESM dist/cli-action-HREY7TK5.mjs 2.86 KB
21
24
  ESM dist/chunk-JSM7Q5CY.mjs 4.98 KB
22
- ESM dist/chunk-ZA7HRDAH.mjs 41.00 KB
23
- ESM ⚡️ Build success in 180ms
24
- CJS dist/index.js 83.44 KB
25
- CJS dist/cli.js 69.65 KB
26
- CJS ⚡️ Build success in 180ms
25
+ ESM dist/chunk-64U3PNO3.mjs 2.65 KB
26
+ ESM ⚡️ Build success in 106ms
27
27
  DTS Build start
28
- DTS ⚡️ Build success in 2332ms
28
+ DTS ⚡️ Build success in 3222ms
29
29
  DTS dist/cli.d.ts 20.00 B
30
30
  DTS dist/index.d.ts 25.64 KB
31
31
  DTS dist/cli.d.mts 20.00 B
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.22.8 format-check /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.22.9 format-check /Users/pengcao/projects/aiready/packages/context-analyzer
4
4
  > prettier --check . --ignore-path ../../.prettierignore
5
5
 
6
6
  Checking formatting...
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.22.8 lint /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.22.9 lint /Users/pengcao/projects/aiready/packages/context-analyzer
4
4
  > eslint src
5
5
 
@@ -1,15 +1,13 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.22.7 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.22.8 test /Users/pengcao/projects/aiready/packages/context-analyzer
4
4
  > vitest run --exclude "**/dist/**"
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/context-analyzer
8
8
 
9
- ✓ src/__tests__/consolidation.test.ts (6 tests) 3ms
10
- ✓ src/__tests__/report/html-report.test.ts (11 tests) 32ms
11
- ✓ src/__tests__/report/console-report.test.ts (8 tests) 124ms
12
- ✓ src/__tests__/domain-inference.test.ts (26 tests) 6ms
9
+ ✓ src/__tests__/report/console-report.test.ts (8 tests) 42ms
10
+ ✓ src/__tests__/report/html-report.test.ts (11 tests) 67ms
13
11
  stderr | src/__tests__/python-context.test.ts > python-context > analyzePythonContext > should filter for Python files only
14
12
  Failed to analyze src/file2.py: TypeError: Cannot read properties of undefined (reading 'split')
15
13
  at Module.analyzePythonContext (/Users/pengcao/projects/aiready/packages/context-analyzer/src/analyzers/python-context.ts:91:32)
@@ -24,28 +22,30 @@
24
22
  at /Users/pengcao/projects/aiready/packages/context-analyzer/src/__tests__/python-context.test.ts:84:23
25
23
  at file:///Users/pengcao/projects/aiready/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:915:20
26
24
 
27
- ✓ src/__tests__/python-context.test.ts (4 tests) 14ms
28
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 1ms
29
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 42ms
30
- ✓ src/__tests__/analyzer.test.ts (14 tests) 46ms
31
- ✓ src/__tests__/issue-analyzer.test.ts (17 tests) 14ms
32
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 177ms
33
- ✓ src/__tests__/orchestrator.test.ts (8 tests) 226ms
34
- ✓ src/__tests__/provider.test.ts (2 tests) 10ms
35
- ✓ src/__tests__/defaults.test.ts (7 tests) 3ms
36
- ✓ src/__tests__/cluster-detector.test.ts (3 tests) 35ms
37
- ✓ src/__tests__/file-classification.test.ts (63 tests) 12ms
38
- ✓ src/__tests__/remediation.test.ts (6 tests) 2ms
25
+ ✓ src/__tests__/python-context.test.ts (4 tests) 13ms
26
+ ✓ src/__tests__/domain-inference.test.ts (26 tests) 6ms
27
+ ✓ src/__tests__/cluster-detector.test.ts (3 tests) 3ms
28
+ ✓ src/__tests__/issue-analyzer.test.ts (17 tests) 99ms
29
+ ✓ src/__tests__/orchestrator.test.ts (8 tests) 70ms
30
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 25ms
39
31
  ✓ src/__tests__/contract.test.ts (1 test) 19ms
40
- ✓ src/__tests__/scoring.test.ts (15 tests) 3ms
32
+ ✓ src/__tests__/consolidation.test.ts (6 tests) 2ms
33
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 64ms
34
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 3ms
35
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 47ms
36
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 6ms
37
+ ✓ src/__tests__/remediation.test.ts (6 tests) 3ms
38
+ ✓ src/__tests__/provider.test.ts (2 tests) 4ms
39
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
40
+ ✓ src/__tests__/scoring.test.ts (15 tests) 6ms
41
+ ✓ src/__tests__/defaults.test.ts (7 tests) 5ms
41
42
  ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
42
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 39ms
43
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 1ms
44
- ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 3ms
43
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 3ms
44
+ ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 4ms
45
45
 
46
46
   Test Files  22 passed (22)
47
47
   Tests  224 passed (224)
48
-  Start at  00:08:32
49
-  Duration  5.11s (transform 8.77s, setup 0ms, import 35.15s, tests 815ms, environment 9ms)
48
+  Start at  00:14:06
49
+  Duration  4.74s (transform 8.07s, setup 0ms, import 29.32s, tests 494ms, environment 2ms)
50
50
 
51
51
  [?25h
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.22.8 type-check /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.22.9 type-check /Users/pengcao/projects/aiready/packages/context-analyzer
4
4
  > tsc --noEmit
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.22.8",
3
+ "version": "0.22.9",
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.8"
52
+ "@aiready/core": "0.24.9"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",