@aiready/context-analyzer 0.22.3 → 0.22.4

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.3 build /Users/pengcao/projects/aiready/packages/context-analyzer
2
+ > @aiready/context-analyzer@0.22.4 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
- CJS dist/cli.js 69.46 KB
12
- CJS dist/index.js 83.18 KB
13
- CJS ⚡️ Build success in 275ms
14
- ESM dist/index.mjs 12.64 KB
15
11
  ESM dist/python-context-BWDC4E5Z.mjs 4.48 KB
16
- ESM dist/cli.mjs 1.81 KB
17
- ESM dist/chunk-J3SZQZNU.mjs 8.11 KB
12
+ ESM dist/orchestrator-R6MZT4Z2.mjs 190.00 B
18
13
  ESM dist/cli-action-E7UGP4KE.mjs 2.86 KB
14
+ ESM dist/index.mjs 12.64 KB
15
+ ESM dist/chunk-J3SZQZNU.mjs 8.11 KB
19
16
  ESM dist/chunk-ILMLGJGI.mjs 40.85 KB
20
- ESM dist/orchestrator-R6MZT4Z2.mjs 190.00 B
21
- ESM dist/chunk-BQCISA2F.mjs 3.35 KB
22
17
  ESM dist/chunk-64U3PNO3.mjs 2.65 KB
23
18
  ESM dist/summary-7PZVW72O.mjs 119.00 B
24
19
  ESM dist/chunk-EMYD7NS6.mjs 4.91 KB
25
- ESM ⚡️ Build success in 277ms
20
+ ESM dist/cli.mjs 1.81 KB
21
+ 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
26
26
  DTS Build start
27
- DTS ⚡️ Build success in 6887ms
27
+ DTS ⚡️ Build success in 2642ms
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,10 +1,12 @@
1
1
 
2
- > @aiready/context-analyzer@0.22.2 test /Users/pengcao/projects/aiready/packages/context-analyzer
2
+ > @aiready/context-analyzer@0.22.3 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
8
10
  stderr | src/__tests__/python-context.test.ts > python-context > analyzePythonContext > should filter for Python files only
9
11
  Failed to analyze src/file2.py: TypeError: Cannot read properties of undefined (reading 'split')
10
12
  at Module.analyzePythonContext (/Users/pengcao/projects/aiready/packages/context-analyzer/src/analyzers/python-context.ts:91:32)
@@ -19,31 +21,29 @@
19
21
  at /Users/pengcao/projects/aiready/packages/context-analyzer/src/__tests__/python-context.test.ts:84:23
20
22
  at file:///Users/pengcao/projects/aiready/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:915:20
21
23
 
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
24
+ ✓ src/__tests__/python-context.test.ts (4 tests) 55ms
25
+ ✓ src/__tests__/consolidation.test.ts (6 tests) 2ms
26
+ ✓ 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
31
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 16ms
32
+ ✓ src/__tests__/contract.test.ts (1 test) 14ms
30
33
  ✓ 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
34
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 57ms
35
+ ✓ 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
43
41
  ✓ 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  14:30:42
48
-  Duration  6.21s (transform 9.22s, setup 0ms, import 43.12s, tests 933ms, environment 2ms)
47
+  Start at  18:49:07
48
+  Duration  3.93s (transform 4.28s, setup 0ms, import 25.30s, tests 506ms, environment 2ms)
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.22.3",
3
+ "version": "0.22.4",
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.3"
52
+ "@aiready/core": "0.24.4"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",