@aiready/context-analyzer 0.9.6 → 0.9.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.9.6 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.8 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
- CJS dist/index.js 51.03 KB
13
- CJS dist/cli.js 62.78 KB
14
- CJS ⚡️ Build success in 105ms
15
- ESM dist/index.mjs 585.00 B
16
- ESM dist/chunk-BD4NWUVG.mjs 42.75 KB
17
- ESM dist/cli.mjs 18.53 KB
18
12
  ESM dist/python-context-UOPTQH44.mjs 5.64 KB
19
13
  ESM dist/chunk-Y6FXYEAI.mjs 390.00 B
20
- ESM ⚡️ Build success in 106ms
14
+ ESM dist/cli.mjs 18.53 KB
15
+ ESM dist/chunk-BD4NWUVG.mjs 42.75 KB
16
+ ESM dist/index.mjs 585.00 B
17
+ ESM ⚡️ Build success in 117ms
18
+ CJS dist/index.js 51.03 KB
19
+ CJS dist/cli.js 62.78 KB
20
+ CJS ⚡️ Build success in 121ms
21
21
  DTS Build start
22
- DTS ⚡️ Build success in 1603ms
22
+ DTS ⚡️ Build success in 3701ms
23
23
  DTS dist/cli.d.ts 20.00 B
24
24
  DTS dist/index.d.ts 6.03 KB
25
25
  DTS dist/cli.d.mts 20.00 B
@@ -1,31 +1,32 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.9.6 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.8 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
- ✓ src/__tests__/scoring.test.ts (7 tests) 14ms
10
- ✓ dist/__tests__/scoring.test.js (7 tests) 17ms
11
- ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 5ms
12
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 17ms
13
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 9ms
14
- ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 13ms
15
- ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 4ms
16
- ✓ dist/__tests__/auto-detection.test.js (8 tests) 13ms
17
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 30ms
18
- ✓ dist/__tests__/analyzer.test.js (14 tests) 20ms
19
- ✓ src/__tests__/analyzer.test.ts (14 tests) 22ms
20
- ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 1ms
21
- ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 1ms
22
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 3ms
9
+ ✓ dist/__tests__/scoring.test.js (7 tests) 5ms
10
+ ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 4ms
11
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 359ms
12
+ ✓ should auto-detect domain keywords from folder paths  329ms
13
+ ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 235ms
14
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 11ms
15
+ ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 3ms
16
+ ✓ dist/__tests__/auto-detection.test.js (8 tests) 292ms
23
17
  ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 2ms
24
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 1ms
18
+ ✓ dist/__tests__/analyzer.test.js (14 tests) 302ms
19
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 168ms
20
+ ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 2ms
21
+ ✓ src/__tests__/scoring.test.ts (7 tests) 3ms
22
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 200ms
23
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 1ms
24
+ ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 5ms
25
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
25
26
 
26
27
   Test Files  16 passed (16)
27
28
   Tests  94 passed (94)
28
-  Start at  22:46:18
29
-  Duration  2.14s (transform 2.60s, setup 0ms, import 11.43s, tests 174ms, environment 1ms)
29
+  Start at  14:29:26
30
+  Duration  6.08s (transform 11.24s, setup 0ms, import 37.25s, tests 1.59s, environment 83ms)
30
31
 
31
32
  [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.9.6",
3
+ "version": "0.9.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.9.6"
52
+ "@aiready/core": "0.9.8"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",