@aiready/context-analyzer 0.17.5 → 0.19.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.17.4 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.18.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
- ESM dist/index.mjs 2.09 KB
12
+ CJS dist/cli.js 80.57 KB
13
+ CJS dist/index.js 68.96 KB
14
+ CJS ⚡️ Build success in 47ms
13
15
  ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
14
- ESM dist/chunk-7VK3XTSH.mjs 57.28 KB
15
16
  ESM dist/cli.mjs 19.14 KB
16
- ESM ⚡️ Build success in 141ms
17
- CJS dist/index.js 67.69 KB
18
- CJS dist/cli.js 75.05 KB
19
- CJS ⚡️ Build success in 141ms
17
+ ESM dist/index.mjs 2.15 KB
18
+ ESM dist/chunk-Q2GDZ2FZ.mjs 58.49 KB
19
+ ESM ⚡️ Build success in 47ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 3643ms
21
+ DTS ⚡️ Build success in 887ms
22
22
  DTS dist/cli.d.ts 20.00 B
23
- DTS dist/index.d.ts 12.37 KB
23
+ DTS dist/index.d.ts 12.50 KB
24
24
  DTS dist/cli.d.mts 20.00 B
25
- DTS dist/index.d.mts 12.37 KB
25
+ DTS dist/index.d.mts 12.50 KB
@@ -1,6 +1,26 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.9.36 lint /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.17.5 lint /Users/pengcao/projects/aiready/packages/context-analyzer
4
4
  > eslint src
5
5
 
6
-  ELIFECYCLE  Command failed.
6
+ 
7
+ /Users/pengcao/projects/aiready/packages/context-analyzer/src/analyzer.ts
8
+ 1:10 warning 'estimateTokens' is defined but never used @typescript-eslint/no-unused-vars
9
+ 3:3 warning 'DependencyGraph' is defined but never used @typescript-eslint/no-unused-vars
10
+ 4:3 warning 'DependencyNode' is defined but never used @typescript-eslint/no-unused-vars
11
+ 6:3 warning 'ModuleCluster' is defined but never used @typescript-eslint/no-unused-vars
12
+ 7:3 warning 'FileClassification' is defined but never used @typescript-eslint/no-unused-vars
13
+ 8:3 warning 'ContextAnalysisResult' is defined but never used @typescript-eslint/no-unused-vars
14
+
15
+ /Users/pengcao/projects/aiready/packages/context-analyzer/src/ast-utils.ts
16
+ 2:27 warning 'DependencyNode' is defined but never used @typescript-eslint/no-unused-vars
17
+ 2:43 warning 'FileClassification' is defined but never used @typescript-eslint/no-unused-vars
18
+
19
+ /Users/pengcao/projects/aiready/packages/context-analyzer/src/index.ts
20
+ 16:10 warning 'calculateContextScore' is defined but never used @typescript-eslint/no-unused-vars
21
+ 17:10 warning 'getSmartDefaults' is defined but never used @typescript-eslint/no-unused-vars
22
+ 18:10 warning 'generateSummary' is defined but never used @typescript-eslint/no-unused-vars
23
+ 22:3 warning 'ContextSummary' is defined but never used @typescript-eslint/no-unused-vars
24
+
25
+ ✖ 12 problems (0 errors, 12 warnings)
26
+ 
@@ -1,33 +1,36 @@
1
1
 
2
2
  
3
- > @aiready/context-analyzer@0.17.4 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.18.0 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) 27ms
10
- ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 125ms
11
- ✓ dist/__tests__/analyzer.test.js (14 tests) 173ms
12
- ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 2ms
13
- ✓ src/__tests__/file-classification.test.ts (63 tests) 29ms
14
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 53ms
15
- ✓ src/__tests__/analyzer.test.ts (14 tests) 114ms
16
- ✓ dist/__tests__/auto-detection.test.js (8 tests) 68ms
17
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 130ms
18
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
19
- ✓ src/__tests__/contract.test.ts (1 test) 24ms
20
- ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 2ms
9
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
10
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 58ms
11
+ stdout | src/__tests__/contract.test.ts
12
+ [ToolRegistry#0.5683580300894955] Registering tool: context-analyzer (context, fragmentation, budget)
13
+
14
+ ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 17ms
21
15
  ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 2ms
16
+ ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 3ms
17
+ ✓ src/__tests__/contract.test.ts (1 test) 21ms
18
+ ✓ dist/__tests__/analyzer.test.js (14 tests) 44ms
19
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 101ms
20
+ ✓ dist/__tests__/auto-detection.test.js (8 tests) 46ms
21
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 71ms
22
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 11ms
23
+ ✓ dist/__tests__/scoring.test.js (7 tests) 3ms
22
24
  ✓ src/__tests__/scoring.test.ts (7 tests) 3ms
23
- ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 2ms
24
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
25
+ ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 2ms
25
26
  ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
26
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
27
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 1ms
28
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 1ms
29
+ ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 1ms
27
30
 
28
31
   Test Files  18 passed (18)
29
32
   Tests  158 passed (158)
30
-  Start at  21:39:04
31
-  Duration  2.07s (transform 1.70s, setup 0ms, import 13.24s, tests 762ms, environment 1ms)
33
+  Start at  09:33:02
34
+  Duration  2.32s (transform 4.00s, setup 0ms, import 14.20s, tests 389ms, environment 3ms)
32
35
 
33
36
  [?25h