@aiready/context-analyzer 0.21.15 → 0.21.16

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,26 +1,25 @@
1
-
2
- 
3
- > @aiready/context-analyzer@0.21.15 build /Users/pengcao/projects/aiready/packages/context-analyzer
4
- > tsup src/index.ts src/cli.ts --format cjs,esm --dts
5
-
6
- CLI Building entry: src/cli.ts, src/index.ts
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.5.1
9
- CLI Target: es2020
10
- CJS Build start
11
- ESM Build start
12
- CJS dist/index.js 81.25 KB
13
- CJS dist/cli.js 68.78 KB
14
- CJS ⚡️ Build success in 42ms
15
- ESM dist/cli.mjs 4.38 KB
16
- ESM dist/python-context-3GZKN3LR.mjs 4.47 KB
17
- ESM dist/index.mjs 10.53 KB
18
- ESM dist/chunk-64U3PNO3.mjs 2.65 KB
19
- ESM dist/chunk-BEZPBI5C.mjs 60.26 KB
20
- ESM ⚡️ Build success in 45ms
21
- DTS Build start
22
- DTS ⚡️ Build success in 4590ms
23
- DTS dist/cli.d.ts 20.00 B
24
- DTS dist/index.d.ts 20.93 KB
25
- DTS dist/cli.d.mts 20.00 B
26
- DTS dist/index.d.mts 20.93 KB
1
+
2
+ > @aiready/context-analyzer@0.21.16 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
+
5
+ CLI Building entry: src/cli.ts, src/index.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.5.1
8
+ CLI Target: es2020
9
+ CJS Build start
10
+ ESM Build start
11
+ CJS dist/index.js 81.25 KB
12
+ CJS dist/cli.js 68.78 KB
13
+ CJS ⚡️ Build success in 237ms
14
+ ESM dist/index.mjs 10.53 KB
15
+ ESM dist/python-context-3GZKN3LR.mjs 4.47 KB
16
+ ESM dist/cli.mjs 4.38 KB
17
+ ESM dist/chunk-BEZPBI5C.mjs 60.26 KB
18
+ ESM dist/chunk-64U3PNO3.mjs 2.65 KB
19
+ ESM ⚡️ Build success in 240ms
20
+ DTS Build start
21
+ DTS ⚡️ Build success in 4058ms
22
+ DTS dist/cli.d.ts 20.00 B
23
+ DTS dist/index.d.ts 20.93 KB
24
+ DTS dist/cli.d.mts 20.00 B
25
+ DTS dist/index.d.mts 20.93 KB
@@ -1,42 +1,40 @@
1
-
2
- 
3
- > @aiready/context-analyzer@0.21.14 test /Users/pengcao/projects/aiready/packages/context-analyzer
4
- > vitest run
5
-
6
- [?25l
7
-  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/context-analyzer
8
-
9
- ✓ src/__tests__/scoring.test.ts (15 tests) 4ms
10
- ✓ dist/__tests__/contract.test.js (1 test) 14ms
11
- ✓ dist/__tests__/file-classification.test.js (63 tests) 6ms
12
- ✓ dist/__tests__/auto-detection.test.js (8 tests) 16ms
13
- ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 20ms
14
- ✓ dist/__tests__/analyzer.test.js (14 tests) 20ms
15
- ✓ src/__tests__/provider.test.ts (2 tests) 10ms
16
- ✓ src/__tests__/contract.test.ts (1 test) 19ms
17
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 20ms
18
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 24ms
19
- ✓ src/__tests__/analyzer.test.ts (14 tests) 34ms
20
- ✓ dist/__tests__/remediation.test.js (6 tests) 2ms
21
- ✓ src/__tests__/remediation.test.ts (6 tests) 2ms
22
- ✓ dist/__tests__/cluster-detector.test.js (3 tests) 3ms
23
- ✓ src/__tests__/cluster-detector.test.ts (3 tests) 7ms
24
- ✓ src/__tests__/file-classification.test.ts (63 tests) 7ms
25
- ✓ dist/__tests__/scoring.test.js (15 tests) 14ms
26
- ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 3ms
27
- ✓ dist/__tests__/provider.test.js (2 tests) 5ms
28
- ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
29
- ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 2ms
30
- ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 2ms
31
- ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 2ms
32
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
33
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
34
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
35
- ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 1ms
36
-
37
-  Test Files  27 passed (27)
38
-  Tests  267 passed (267)
39
-  Start at  00:25:37
40
-  Duration  1.83s (transform 2.33s, setup 0ms, import 11.99s, tests 242ms, environment 2ms)
41
-
42
- [?25h
1
+
2
+ > @aiready/context-analyzer@0.21.15 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > vitest run
4
+
5
+
6
+  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/context-analyzer
7
+
8
+ ✓ dist/__tests__/auto-detection.test.js (8 tests) 43ms
9
+ ✓ dist/__tests__/analyzer.test.js (14 tests) 115ms
10
+ ✓ src/__tests__/contract.test.ts (1 test) 37ms
11
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 44ms
12
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 78ms
13
+ ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 160ms
14
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 135ms
15
+ ✓ dist/__tests__/scoring.test.js (15 tests) 4ms
16
+ ✓ dist/__tests__/contract.test.js (1 test) 65ms
17
+ ✓ src/__tests__/cluster-detector.test.ts (3 tests) 7ms
18
+ ✓ src/__tests__/provider.test.ts (2 tests) 4ms
19
+ ✓ dist/__tests__/remediation.test.js (6 tests) 5ms
20
+ ✓ src/__tests__/remediation.test.ts (6 tests) 10ms
21
+ ✓ dist/__tests__/file-classification.test.js (63 tests) 8ms
22
+ ✓ dist/__tests__/cluster-detector.test.js (3 tests) 3ms
23
+ ✓ dist/__tests__/provider.test.js (2 tests) 5ms
24
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 42ms
25
+ ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 5ms
26
+ ✓ src/__tests__/scoring.test.ts (15 tests) 7ms
27
+ ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 6ms
28
+ ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 4ms
29
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 4ms
30
+ ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 3ms
31
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 3ms
32
+ ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 1ms
33
+ ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 1ms
34
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
35
+
36
+  Test Files  27 passed (27)
37
+  Tests  267 passed (267)
38
+  Start at  16:30:26
39
+  Duration  6.66s (transform 6.61s, setup 0ms, import 48.21s, tests 801ms, environment 5ms)
40
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.21.15",
3
+ "version": "0.21.16",
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.23.12"
52
+ "@aiready/core": "0.23.13"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",