@aiready/context-analyzer 0.8.3 → 0.9.1

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.8.3 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.1 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
@@ -11,15 +11,15 @@
11
11
  ESM Build start
12
12
  CJS dist/cli.js 57.56 KB
13
13
  CJS dist/index.js 45.81 KB
14
- CJS ⚡️ Build success in 171ms
15
- ESM dist/chunk-JZ2SE4DB.mjs 37.53 KB
16
- ESM dist/cli.mjs 18.53 KB
14
+ CJS ⚡️ Build success in 26ms
17
15
  ESM dist/index.mjs 585.00 B
18
- ESM dist/python-context-UOPTQH44.mjs 5.64 KB
19
16
  ESM dist/chunk-Y6FXYEAI.mjs 390.00 B
20
- ESM ⚡️ Build success in 121ms
17
+ ESM dist/python-context-UOPTQH44.mjs 5.64 KB
18
+ ESM dist/chunk-JZ2SE4DB.mjs 37.53 KB
19
+ ESM dist/cli.mjs 18.53 KB
20
+ ESM ⚡️ Build success in 26ms
21
21
  DTS Build start
22
- DTS ⚡️ Build success in 2918ms
22
+ DTS ⚡️ Build success in 694ms
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,18 +1,18 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.8.3 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.1 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
9
  [?2026h
10
-  ❯ src/__tests__/scoring.test.ts [queued]
10
+  ❯ src/__tests__/enhanced-cohesion.test.ts [queued]
11
11
 
12
12
   Test Files 0 passed (4)
13
13
   Tests 0 passed (0)
14
-  Start at 18:08:29
15
-  Duration 141ms
14
+  Start at 20:59:54
15
+  Duration 102ms
16
16
  [?2026l[?2026h
17
17
   ❯ src/__tests__/analyzer.test.ts [queued]
18
18
   ❯ src/__tests__/auto-detection.test.ts [queued]
@@ -21,8 +21,8 @@
21
21
 
22
22
   Test Files 0 passed (4)
23
23
   Tests 0 passed (7)
24
-  Start at 18:08:29
25
-  Duration 247ms
24
+  Start at 20:59:54
25
+  Duration 310ms
26
26
  [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (7 tests) 3ms
27
27
 
28
28
   ❯ src/__tests__/analyzer.test.ts [queued]
@@ -31,15 +31,15 @@
31
31
 
32
32
   Test Files 1 passed (4)
33
33
   Tests 7 passed (13)
34
-  Start at 18:08:29
35
-  Duration 761ms
34
+  Start at 20:59:54
35
+  Duration 512ms
36
36
  [?2026l ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
37
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 22ms
38
- ✓ src/__tests__/analyzer.test.ts (14 tests) 20ms
37
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 15ms
38
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 17ms
39
39
 
40
40
   Test Files  4 passed (4)
41
41
   Tests  35 passed (35)
42
-  Start at  18:08:29
43
-  Duration  905ms (transform 651ms, setup 0ms, import 2.16s, tests 48ms, environment 0ms)
42
+  Start at  20:59:54
43
+  Duration  608ms (transform 350ms, setup 0ms, import 1.16s, tests 36ms, environment 0ms)
44
44
 
45
45
  [?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.8.3",
3
+ "version": "0.9.1",
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.8.1"
52
+ "@aiready/core": "0.9.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",