@aiready/context-analyzer 0.19.4 → 0.19.8

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.3 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.19.7 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,17 +9,17 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- ESM dist/chunk-Q2GDZ2FZ.mjs 58.49 KB
13
- ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
14
12
  ESM dist/index.mjs 2.15 KB
13
+ ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
15
14
  ESM dist/cli.mjs 19.14 KB
16
- ESM ⚡️ Build success in 38ms
15
+ ESM dist/chunk-Q2GDZ2FZ.mjs 58.49 KB
16
+ ESM ⚡️ Build success in 200ms
17
17
  CJS dist/index.js 68.96 KB
18
18
  CJS dist/cli.js 80.57 KB
19
- CJS ⚡️ Build success in 39ms
20
- DTS Build start
21
- DTS ⚡️ Build success in 1203ms
22
- DTS dist/cli.d.ts 20.00 B
23
- DTS dist/index.d.ts 12.50 KB
24
- DTS dist/cli.d.mts 20.00 B
25
- DTS dist/index.d.mts 12.50 KB
19
+ CJS ⚡️ Build success in 201ms
20
+ DTS Build start
21
+ DTS ⚡️ Build success in 3150ms
22
+ DTS dist/cli.d.ts 20.00 B
23
+ DTS dist/index.d.ts 12.50 KB
24
+ DTS dist/cli.d.mts 20.00 B
25
+ DTS dist/index.d.mts 12.50 KB
@@ -1,36 +1,36 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.19.3 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.19.7 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) 6ms
9
10
  ✓ src/__tests__/scoring.test.ts (7 tests) 4ms
10
- ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 2ms
11
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 18ms
12
- ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 176ms
13
- ✓ src/__tests__/file-classification.test.ts (63 tests) 6ms
14
- ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
15
- ✓ src/__tests__/analyzer.test.ts (14 tests) 129ms
11
+ ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 2ms
12
+ ✓ dist/__tests__/auto-detection.test.js (8 tests) 16ms
13
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 8ms
14
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 22ms
15
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 44ms
16
16
  stdout | src/__tests__/contract.test.ts
17
- [ToolRegistry#0.19746777757672174] Registering tool: context-analyzer (context, fragmentation, budget)
17
+ [ToolRegistry#0.5646730429399127] Registering tool: context-analyzer (context, fragmentation, budget)
18
18
 
19
- ✓ dist/__tests__/auto-detection.test.js (8 tests) 14ms
20
- ✓ src/__tests__/contract.test.ts (1 test) 41ms
21
- ✓ dist/__tests__/analyzer.test.js (14 tests) 25ms
22
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 127ms
23
- ✓ dist/__tests__/scoring.test.js (7 tests) 2ms
24
- ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 2ms
25
- ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 3ms
26
- ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 2ms
27
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
19
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 82ms
20
+ ✓ dist/__tests__/analyzer.test.js (14 tests) 89ms
21
+ ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 88ms
22
+ ✓ src/__tests__/contract.test.ts (1 test) 56ms
28
23
  ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
24
+ ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 5ms
25
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
26
+ ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 2ms
27
+ ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 4ms
28
+ ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 4ms
29
29
  ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
30
30
 
31
31
   Test Files  18 passed (18)
32
32
   Tests  158 passed (158)
33
-  Start at  11:12:29
34
-  Duration  3.45s (transform 5.06s, setup 0ms, import 23.81s, tests 559ms, environment 5ms)
33
+  Start at  13:15:42
34
+  Duration  2.90s (transform 2.40s, setup 0ms, import 17.59s, tests 437ms, environment 2ms)
35
35
 
36
36
  [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.19.4",
3
+ "version": "0.19.8",
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.21.4"
52
+ "@aiready/core": "0.21.8"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",