@aiready/context-analyzer 0.9.0 → 0.9.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,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.9.0 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.4 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-JZ2SE4DB.mjs 37.53 KB
13
- ESM dist/chunk-Y6FXYEAI.mjs 390.00 B
14
12
  ESM dist/index.mjs 585.00 B
15
- ESM dist/cli.mjs 18.53 KB
16
13
  ESM dist/python-context-UOPTQH44.mjs 5.64 KB
17
- ESM ⚡️ Build success in 36ms
18
- CJS dist/cli.js 57.56 KB
14
+ ESM dist/chunk-JZ2SE4DB.mjs 37.53 KB
15
+ ESM dist/cli.mjs 18.53 KB
16
+ ESM dist/chunk-Y6FXYEAI.mjs 390.00 B
17
+ ESM ⚡️ Build success in 71ms
19
18
  CJS dist/index.js 45.81 KB
20
- CJS ⚡️ Build success in 36ms
19
+ CJS dist/cli.js 57.56 KB
20
+ CJS ⚡️ Build success in 72ms
21
21
  DTS Build start
22
- DTS ⚡️ Build success in 920ms
22
+ DTS ⚡️ Build success in 1424ms
23
23
  DTS dist/cli.d.ts 20.00 B
24
24
  DTS dist/index.d.ts 5.95 KB
25
25
  DTS dist/cli.d.mts 20.00 B
@@ -1,45 +1,19 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.9.0 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.4 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
- [?2026h
10
-  ❯ src/__tests__/enhanced-cohesion.test.ts [queued]
11
-
12
-  Test Files 0 passed (4)
13
-  Tests 0 passed (0)
14
-  Start at 19:45:54
15
-  Duration 103ms
16
- [?2026l[?2026h
17
-  ❯ src/__tests__/analyzer.test.ts [queued]
18
-  ❯ src/__tests__/auto-detection.test.ts [queued]
19
-  ❯ src/__tests__/enhanced-cohesion.test.ts [queued]
20
-  ❯ src/__tests__/scoring.test.ts 0/7
21
-
22
-  Test Files 0 passed (4)
23
-  Tests 0 passed (7)
24
-  Start at 19:45:54
25
-  Duration 305ms
26
- [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (7 tests) 3ms
27
-
28
-  ❯ src/__tests__/analyzer.test.ts [queued]
29
-  ❯ src/__tests__/auto-detection.test.ts [queued]
30
-  ❯ src/__tests__/enhanced-cohesion.test.ts 0/6
31
-
32
-  Test Files 1 passed (4)
33
-  Tests 7 passed (13)
34
-  Start at 19:45:54
35
-  Duration 715ms
36
- [?2026l ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
37
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 15ms
38
- ✓ src/__tests__/analyzer.test.ts (14 tests) 18ms
9
+ ✓ src/__tests__/scoring.test.ts (7 tests) 16ms
10
+ ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 9ms
11
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 19ms
12
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 41ms
39
13
 
40
14
   Test Files  4 passed (4)
41
15
   Tests  35 passed (35)
42
-  Start at  19:45:54
43
-  Duration  757ms (transform 685ms, setup 0ms, import 1.71s, tests 38ms, environment 1ms)
16
+  Start at  22:45:25
17
+  Duration  1.60s (transform 898ms, setup 0ms, import 2.84s, tests 85ms, environment 0ms)
44
18
 
45
19
  [?25h
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  When AI tools try to help with your code, they need to load files into their context window. Fragmented code structures make this expensive and sometimes impossible. This tool analyzes your codebase to identify:
6
6
 
7
- ## �️ Architecture
7
+ ## 🏛️ Architecture
8
8
 
9
9
  ```
10
10
  🎯 USER
@@ -24,7 +24,7 @@ When AI tools try to help with your code, they need to load files into their con
24
24
  └─────────────┘
25
25
  ```
26
26
 
27
- ## �🌍 Language Support
27
+ ## 🌍 Language Support
28
28
 
29
29
  **Currently Supported (64% market coverage):**
30
30
  - ✅ **TypeScript** (`.ts`, `.tsx`) - Import chains, context budget, cohesion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.9.0",
3
+ "version": "0.9.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.9.0"
52
+ "@aiready/core": "0.9.4"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",