@aiready/context-analyzer 0.20.0 → 0.21.0

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.19.21 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.20.0 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,16 +9,16 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- CJS dist/index.js 69.83 KB
13
12
  CJS dist/cli.js 81.47 KB
14
- CJS ⚡️ Build success in 201ms
13
+ CJS dist/index.js 69.83 KB
14
+ CJS ⚡️ Build success in 78ms
15
15
  ESM dist/index.mjs 2.13 KB
16
16
  ESM dist/cli.mjs 19.14 KB
17
17
  ESM dist/chunk-CCBNKQYB.mjs 59.39 KB
18
18
  ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
19
- ESM ⚡️ Build success in 201ms
19
+ ESM ⚡️ Build success in 77ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 1788ms
21
+ DTS ⚡️ Build success in 1333ms
22
22
  DTS dist/cli.d.ts 20.00 B
23
23
  DTS dist/index.d.ts 14.48 KB
24
24
  DTS dist/cli.d.mts 20.00 B
@@ -1,36 +1,36 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.19.21 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.20.0 test /Users/pengcao/projects/aiready/packages/context-analyzer
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/context-analyzer
8
8
 
9
- ✓ dist/__tests__/scoring.test.js (7 tests) 37ms
10
- ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 23ms
11
- ✓ src/__tests__/file-classification.test.ts (63 tests) 6ms
12
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 20ms
13
- ✓ src/__tests__/analyzer.test.ts (14 tests) 23ms
14
- ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 27ms
15
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 28ms
16
- ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 5ms
17
- ✓ dist/__tests__/auto-detection.test.js (8 tests) 85ms
18
- ✓ dist/__tests__/analyzer.test.js (14 tests) 62ms
19
- ✓ src/__tests__/contract.test.ts (1 test) 14ms
20
- ✓ src/__tests__/cluster-detector.test.ts (3 tests) 2ms
9
+ ✓ dist/__tests__/scoring.test.js (7 tests) 6ms
10
+ ✓ dist/__tests__/analyzer.test.js (14 tests) 181ms
11
+ ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 89ms
12
+ ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 48ms
13
+ ✓ dist/__tests__/auto-detection.test.js (8 tests) 289ms
14
+ ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 4ms
15
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 22ms
16
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 28ms
17
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 39ms
18
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 104ms
19
+ ✓ src/__tests__/contract.test.ts (1 test) 29ms
21
20
  ✓ src/__tests__/remediation.test.ts (6 tests) 3ms
22
- ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 2ms
23
- ✓ src/__tests__/scoring.test.ts (7 tests) 3ms
24
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 3ms
25
- ✓ src/__tests__/provider.test.ts (2 tests) 5ms
21
+ ✓ src/__tests__/scoring.test.ts (7 tests) 27ms
22
+ ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 6ms
26
23
  ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 3ms
27
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 1ms
28
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
29
- ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 2ms
24
+ ✓ src/__tests__/cluster-detector.test.ts (3 tests) 21ms
25
+ ✓ src/__tests__/provider.test.ts (2 tests) 10ms
26
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 3ms
27
+ ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 2ms
28
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
29
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
30
30
 
31
31
   Test Files  21 passed (21)
32
32
   Tests  169 passed (169)
33
-  Start at  18:20:54
34
-  Duration  3.59s (transform 2.81s, setup 0ms, import 24.18s, tests 356ms, environment 2ms)
33
+  Start at  16:14:19
34
+  Duration  5.05s (transform 6.37s, setup 0ms, import 39.66s, tests 918ms, environment 114ms)
35
35
 
36
36
  [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
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.22.0"
52
+ "@aiready/core": "0.23.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",