@aiready/context-analyzer 0.22.2 → 0.22.3

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.2 build /Users/pengcao/projects/aiready/packages/context-analyzer
2
+ > @aiready/context-analyzer@0.22.3 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
@@ -10,21 +10,21 @@ CJS Build start
10
10
  ESM Build start
11
11
  CJS dist/cli.js 69.46 KB
12
12
  CJS dist/index.js 83.18 KB
13
- CJS ⚡️ Build success in 159ms
13
+ CJS ⚡️ Build success in 275ms
14
+ ESM dist/index.mjs 12.64 KB
14
15
  ESM dist/python-context-BWDC4E5Z.mjs 4.48 KB
15
- ESM dist/orchestrator-R6MZT4Z2.mjs 190.00 B
16
+ ESM dist/cli.mjs 1.81 KB
17
+ ESM dist/chunk-J3SZQZNU.mjs 8.11 KB
16
18
  ESM dist/cli-action-E7UGP4KE.mjs 2.86 KB
17
19
  ESM dist/chunk-ILMLGJGI.mjs 40.85 KB
18
- ESM dist/summary-7PZVW72O.mjs 119.00 B
19
- ESM dist/index.mjs 12.64 KB
20
+ ESM dist/orchestrator-R6MZT4Z2.mjs 190.00 B
21
+ ESM dist/chunk-BQCISA2F.mjs 3.35 KB
20
22
  ESM dist/chunk-64U3PNO3.mjs 2.65 KB
21
- ESM dist/chunk-J3SZQZNU.mjs 8.11 KB
23
+ ESM dist/summary-7PZVW72O.mjs 119.00 B
22
24
  ESM dist/chunk-EMYD7NS6.mjs 4.91 KB
23
- ESM dist/chunk-BQCISA2F.mjs 3.35 KB
24
- ESM dist/cli.mjs 1.81 KB
25
- ESM ⚡️ Build success in 158ms
25
+ ESM ⚡️ Build success in 277ms
26
26
  DTS Build start
27
- DTS ⚡️ Build success in 6961ms
27
+ DTS ⚡️ Build success in 6887ms
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,14 +1,10 @@
1
1
 
2
- > @aiready/context-analyzer@0.22.1 test /Users/pengcao/projects/aiready/packages/context-analyzer
2
+ > @aiready/context-analyzer@0.22.2 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__/consolidation.test.ts (6 tests) 4ms
9
- ✓ src/__tests__/remediation.test.ts (6 tests) 2ms
10
- ✓ src/__tests__/report/console-report.test.ts (8 tests) 36ms
11
- ✓ src/__tests__/report/html-report.test.ts (11 tests) 20ms
12
8
  stderr | src/__tests__/python-context.test.ts > python-context > analyzePythonContext > should filter for Python files only
13
9
  Failed to analyze src/file2.py: TypeError: Cannot read properties of undefined (reading 'split')
14
10
  at Module.analyzePythonContext (/Users/pengcao/projects/aiready/packages/context-analyzer/src/analyzers/python-context.ts:91:32)
@@ -23,27 +19,31 @@
23
19
  at /Users/pengcao/projects/aiready/packages/context-analyzer/src/__tests__/python-context.test.ts:84:23
24
20
  at file:///Users/pengcao/projects/aiready/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:915:20
25
21
 
26
- ✓ src/__tests__/python-context.test.ts (4 tests) 62ms
27
- ✓ src/__tests__/scoring.test.ts (15 tests) 8ms
28
- ✓ src/__tests__/issue-analyzer.test.ts (17 tests) 24ms
29
- ✓ src/__tests__/domain-inference.test.ts (26 tests) 4ms
30
- ✓ src/__tests__/orchestrator.test.ts (8 tests) 40ms
31
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 16ms
32
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 29ms
33
- ✓ src/__tests__/analyzer.test.ts (14 tests) 36ms
34
- ✓ src/__tests__/contract.test.ts (1 test) 67ms
22
+ ✓ src/__tests__/python-context.test.ts (4 tests) 10ms
23
+ ✓ src/__tests__/report/html-report.test.ts (11 tests) 34ms
24
+ ✓ src/__tests__/report/console-report.test.ts (8 tests) 19ms
25
+ ✓ src/__tests__/domain-inference.test.ts (26 tests) 7ms
26
+ ✓ src/__tests__/issue-analyzer.test.ts (17 tests) 143ms
27
+ ✓ src/__tests__/consolidation.test.ts (6 tests) 5ms
28
+ ✓ src/__tests__/orchestrator.test.ts (8 tests) 90ms
29
+ ✓ src/__tests__/provider.test.ts (2 tests) 8ms
30
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 26ms
31
+ ✓ src/__tests__/contract.test.ts (1 test) 32ms
32
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 12ms
33
+ ✓ src/__tests__/scoring.test.ts (15 tests) 139ms
34
+ ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 3ms
35
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 200ms
36
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 169ms
37
+ ✓ src/__tests__/remediation.test.ts (6 tests) 5ms
38
+ ✓ src/__tests__/defaults.test.ts (7 tests) 5ms
39
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 15ms
40
+ ✓ src/__tests__/cluster-detector.test.ts (3 tests) 4ms
41
+ ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 3ms
42
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
35
43
  ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
36
- ✓ src/__tests__/file-classification.test.ts (63 tests) 16ms
37
- ✓ src/__tests__/defaults.test.ts (7 tests) 3ms
38
- ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
39
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 1ms
40
- ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 8ms
41
- ✓ src/__tests__/cluster-detector.test.ts (3 tests) 3ms
42
- ✓ src/__tests__/provider.test.ts (2 tests) 27ms
43
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 3ms
44
44
 
45
45
   Test Files  22 passed (22)
46
46
   Tests  224 passed (224)
47
-  Start at  14:03:16
48
-  Duration  5.65s (transform 10.89s, setup 0ms, import 39.42s, tests 413ms, environment 4ms)
47
+  Start at  14:30:42
48
+  Duration  6.21s (transform 9.22s, setup 0ms, import 43.12s, tests 933ms, environment 2ms)
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.22.2",
3
+ "version": "0.22.3",
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.2"
52
+ "@aiready/core": "0.24.3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",