@aiready/context-analyzer 0.8.0 → 0.9.0

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.0 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.0 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 45.81 KB
13
- CJS dist/cli.js 57.56 KB
14
- CJS ⚡️ Build success in 53ms
15
- ESM dist/python-context-UOPTQH44.mjs 5.64 KB
16
- ESM dist/cli.mjs 18.53 KB
17
- ESM dist/index.mjs 585.00 B
18
12
  ESM dist/chunk-JZ2SE4DB.mjs 37.53 KB
19
13
  ESM dist/chunk-Y6FXYEAI.mjs 390.00 B
20
- ESM ⚡️ Build success in 53ms
14
+ ESM dist/index.mjs 585.00 B
15
+ ESM dist/cli.mjs 18.53 KB
16
+ ESM dist/python-context-UOPTQH44.mjs 5.64 KB
17
+ ESM ⚡️ Build success in 36ms
18
+ CJS dist/cli.js 57.56 KB
19
+ CJS dist/index.js 45.81 KB
20
+ CJS ⚡️ Build success in 36ms
21
21
  DTS Build start
22
- DTS ⚡️ Build success in 629ms
22
+ DTS ⚡️ Build success in 920ms
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,19 +1,29 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.8.0 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.9.0 test /Users/pengcao/projects/aiready/packages/context-analyzer
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
-  RUN  v4.0.17 /Users/pengcao/projects/aiready/packages/context-analyzer
7
+  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/context-analyzer
8
8
 
9
9
  [?2026h
10
-  ❯ src/__tests__/auto-detection.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 21:02:10
15
-  Duration 101ms
16
- [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (7 tests) 2ms
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
17
27
 
18
28
   ❯ src/__tests__/analyzer.test.ts [queued]
19
29
   ❯ src/__tests__/auto-detection.test.ts [queued]
@@ -21,15 +31,15 @@
21
31
 
22
32
   Test Files 1 passed (4)
23
33
   Tests 7 passed (13)
24
-  Start at 21:02:10
25
-  Duration 514ms
34
+  Start at 19:45:54
35
+  Duration 715ms
26
36
  [?2026l ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
27
37
  ✓ src/__tests__/auto-detection.test.ts (8 tests) 15ms
28
- ✓ src/__tests__/analyzer.test.ts (14 tests) 20ms
38
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 18ms
29
39
 
30
40
   Test Files  4 passed (4)
31
41
   Tests  35 passed (35)
32
-  Start at  21:02:10
33
-  Duration  594ms (transform 264ms, setup 0ms, import 1.35s, tests 39ms, environment 0ms)
42
+  Start at  19:45:54
43
+  Duration  757ms (transform 685ms, setup 0ms, import 1.71s, tests 38ms, environment 1ms)
34
44
 
35
45
  [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
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.0"
52
+ "@aiready/core": "0.9.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",
@@ -57,7 +57,7 @@
57
57
  "tsup": "^8.3.5",
58
58
  "typescript": "^5.7.3",
59
59
  "vitest": "^4.0.0",
60
- "eslint": "^9.18.0"
60
+ "eslint": "^10.0.0"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=18.0.0"