@aiready/context-analyzer 0.9.40 → 0.9.41

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.9.40 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.41 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
- ESM dist/index.mjs 666.00 B
13
- ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
14
- ESM dist/cli.mjs 19.14 KB
15
- ESM dist/chunk-EBXG2Q5Y.mjs 66.77 KB
16
- ESM ⚡️ Build success in 154ms
17
12
  CJS dist/cli.js 87.04 KB
18
13
  CJS dist/index.js 75.45 KB
19
- CJS ⚡️ Build success in 154ms
14
+ CJS ⚡️ Build success in 262ms
15
+ ESM dist/cli.mjs 19.14 KB
16
+ ESM dist/index.mjs 666.00 B
17
+ ESM dist/chunk-EBXG2Q5Y.mjs 66.77 KB
18
+ ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
19
+ ESM ⚡️ Build success in 262ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 3130ms
21
+ DTS ⚡️ Build success in 5202ms
22
22
  DTS dist/cli.d.ts 20.00 B
23
23
  DTS dist/index.d.ts 8.07 KB
24
24
  DTS dist/cli.d.mts 20.00 B
@@ -1,35 +1,32 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.9.38 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.41 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) 8ms
10
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 5ms
11
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 4ms
12
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 60ms
13
- ✓ src/__tests__/file-classification.test.ts (63 tests) 36ms
14
- ✓ dist/__tests__/auto-detection.test.js (8 tests) 283ms
15
- ✓ dist/__tests__/analyzer.test.js (14 tests) 520ms
16
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 418ms
17
- ✓ should auto-detect domain keywords from folder paths  367ms
18
- ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 499ms
19
- ✓ does not apply discount when files have no shared imports  475ms
20
- ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 5ms
21
- ✓ src/__tests__/analyzer.test.ts (14 tests) 760ms
22
- ✓ should build a basic dependency graph  427ms
23
- ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 96ms
24
- ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 3ms
25
- ✓ src/__tests__/scoring.test.ts (7 tests) 12ms
26
- ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 38ms
27
- ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 27ms
28
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 54ms
9
+ ✓ dist/__tests__/scoring.test.js (7 tests) 4ms
10
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 21ms
11
+ ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 21ms
12
+ ✓ src/__tests__/scoring.test.ts (7 tests) 33ms
13
+ ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 4ms
14
+ ✓ dist/__tests__/auto-detection.test.js (8 tests) 21ms
15
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 71ms
16
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 12ms
17
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
18
+ ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
19
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 16ms
20
+ ✓ dist/__tests__/analyzer.test.js (14 tests) 24ms
21
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
22
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
23
+ ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 2ms
24
+ ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 2ms
25
+ ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 2ms
29
26
 
30
27
   Test Files  17 passed (17)
31
28
   Tests  157 passed (157)
32
-  Start at  00:56:30
33
-  Duration  15.56s (transform 16.50s, setup 0ms, import 90.61s, tests 2.83s, environment 29ms)
29
+  Start at  12:53:41
30
+  Duration  2.65s (transform 2.99s, setup 0ms, import 17.97s, tests 240ms, environment 1ms)
34
31
 
35
32
  [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.9.40",
3
+ "version": "0.9.41",
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.9.37"
52
+ "@aiready/core": "0.9.38"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",