@aiready/context-analyzer 0.17.3 → 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.2 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
- CJS dist/cli.js 75.05 KB
13
- CJS dist/index.js 67.69 KB
14
- CJS ⚡️ Build success in 81ms
15
- ESM dist/cli.mjs 19.14 KB
16
- 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
17
15
  ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
18
- ESM dist/chunk-7VK3XTSH.mjs 57.28 KB
19
- ESM ⚡️ Build success in 82ms
16
+ ESM dist/cli.mjs 19.14 KB
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 2513ms
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.2 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) 4ms
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
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
10
24
  ✓ src/__tests__/scoring.test.ts (7 tests) 3ms
11
- ✓ dist/__tests__/auto-detection.test.js (8 tests) 49ms
12
- ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 191ms
13
- ✓ src/__tests__/analyzer.test.ts (14 tests) 108ms
25
+ ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 2ms
14
26
  ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
15
- ✓ dist/__tests__/analyzer.test.js (14 tests) 139ms
16
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 73ms
17
- ✓ src/__tests__/contract.test.ts (1 test) 111ms
18
- ✓ src/__tests__/file-classification.test.ts (63 tests) 28ms
19
- ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 51ms
20
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 16ms
21
- ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 2ms
22
- ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 2ms
23
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
24
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
25
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
26
- ✓ dist/__tests__/structural-cohesion.test.js (4 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  20:23:03
31
-  Duration  3.64s (transform 3.33s, setup 0ms, import 25.49s, tests 784ms, 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