@aiready/context-analyzer 0.19.16 → 0.19.17

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.19.15 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.19.16 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 71.44 KB
13
- CJS dist/cli.js 83.05 KB
14
- CJS ⚡️ Build success in 137ms
15
- ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
16
- ESM dist/index.mjs 2.15 KB
17
- ESM dist/chunk-YYB6NZE3.mjs 60.95 KB
12
+ CJS dist/cli.js 80.70 KB
13
+ CJS dist/index.js 69.00 KB
14
+ CJS ⚡️ Build success in 59ms
18
15
  ESM dist/cli.mjs 19.14 KB
19
- ESM ⚡️ Build success in 139ms
16
+ ESM dist/index.mjs 2.09 KB
17
+ ESM dist/chunk-PVVMK56C.mjs 58.60 KB
18
+ ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
19
+ ESM ⚡️ Build success in 59ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 1776ms
21
+ DTS ⚡️ Build success in 2250ms
22
22
  DTS dist/cli.d.ts 20.00 B
23
- DTS dist/index.d.ts 12.54 KB
23
+ DTS dist/index.d.ts 12.39 KB
24
24
  DTS dist/cli.d.mts 20.00 B
25
- DTS dist/index.d.mts 12.54 KB
25
+ DTS dist/index.d.mts 12.39 KB
@@ -1,36 +1,36 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.19.15 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.19.16 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) 3ms
10
- ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 10ms
9
+ ✓ dist/__tests__/scoring.test.js (7 tests) 2ms
10
+ ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 21ms
11
11
  ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
12
- ✓ src/__tests__/file-classification.test.ts (63 tests) 7ms
13
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 15ms
12
+ ✓ dist/__tests__/auto-detection.test.js (8 tests) 15ms
13
+ ✓ src/__tests__/scoring.test.ts (7 tests) 4ms
14
14
  stdout | src/__tests__/contract.test.ts
15
- [ToolRegistry#0.9529162792268479] Registering tool: context-analyzer (context, fragmentation, budget)
15
+ [ToolRegistry#0.5511248975321416] Registering tool: context-analyzer (context, fragmentation, budget)
16
16
 
17
- ✓ src/__tests__/contract.test.ts (1 test) 17ms
18
- ✓ src/__tests__/scoring.test.ts (7 tests) 8ms
19
- ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 5ms
20
- ✓ dist/__tests__/auto-detection.test.js (8 tests) 28ms
21
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 88ms
22
- ✓ dist/__tests__/analyzer.test.js (14 tests) 108ms
23
- ✓ src/__tests__/analyzer.test.ts (14 tests) 59ms
24
- ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 4ms
25
- ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 1ms
26
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 3ms
27
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 4ms
17
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 56ms
18
+ ✓ src/__tests__/contract.test.ts (1 test) 14ms
19
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 61ms
20
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 6ms
21
+ ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 7ms
22
+ ✓ dist/__tests__/analyzer.test.js (14 tests) 16ms
23
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 25ms
24
+ ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 3ms
25
+ ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 2ms
26
+ ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 4ms
27
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
28
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
28
29
  ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
29
- ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 1ms
30
30
 
31
31
   Test Files  18 passed (18)
32
32
   Tests  158 passed (158)
33
-  Start at  02:11:33
34
-  Duration  1.70s (transform 1.90s, setup 0ms, import 11.04s, tests 365ms, environment 2ms)
33
+  Start at  12:45:53
34
+  Duration  2.99s (transform 3.80s, setup 0ms, import 19.75s, tests 242ms, environment 1ms)
35
35
 
36
36
  [?25h
package/README.md CHANGED
@@ -7,7 +7,12 @@
7
7
 
8
8
  ## Overview
9
9
 
10
- AI model context windows are precious and expensive. The **Context Analyzer** identifies import chains, redundant dependencies, and complex data structures that bloat your context window and degrade AI reasoning performance.
10
+ AI tokens are expensive and context windows are finite. **Context Analyzer** helps you map dependencies and identify fragmentation that wastes AI resources.
11
+
12
+ ### Language Support
13
+
14
+ - **Full Support:** TypeScript, JavaScript, Python, Java, Go, C#
15
+ - **Capabilities:** Import depth, context budget, dependency mapping.
11
16
 
12
17
  ## 🏛️ Architecture
13
18