@aiready/context-analyzer 0.17.5 → 0.19.1

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.19.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
13
- ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
14
- ESM dist/chunk-7VK3XTSH.mjs 57.28 KB
12
+ ESM dist/chunk-Q2GDZ2FZ.mjs 58.49 KB
13
+ ESM dist/index.mjs 2.15 KB
15
14
  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
15
+ ESM dist/python-context-TBI5FVFY.mjs 5.66 KB
16
+ ESM ⚡️ Build success in 138ms
17
+ CJS dist/cli.js 80.57 KB
18
+ CJS dist/index.js 68.96 KB
19
+ CJS ⚡️ Build success in 138ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 3643ms
21
+ DTS ⚡️ Build success in 3063ms
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.19.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
9
+ ✓ dist/__tests__/scoring.test.js (7 tests) 3ms
20
10
  ✓ dist/__tests__/structural-cohesion.test.js (4 tests) 2ms
21
- ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 2ms
22
11
  ✓ 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
12
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 6ms
13
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 12ms
14
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 11ms
15
+ ✓ dist/__tests__/fragmentation-coupling.test.js (2 tests) 11ms
16
+ ✓ dist/__tests__/auto-detection.test.js (8 tests) 12ms
17
+ ✓ dist/__tests__/analyzer.test.js (14 tests) 17ms
18
+ stdout | src/__tests__/contract.test.ts
19
+ [ToolRegistry#0.7853688085796254] Registering tool: context-analyzer (context, fragmentation, budget)
20
+
21
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 25ms
22
+ ✓ src/__tests__/contract.test.ts (1 test) 13ms
23
+ ✓ dist/__tests__/enhanced-cohesion.test.js (6 tests) 2ms
24
+ ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 4ms
25
+ ✓ dist/__tests__/fragmentation-advanced.test.js (3 tests) 2ms
26
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
25
27
  ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
26
- ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 2ms
28
+ ✓ dist/__tests__/fragmentation-log.test.js (3 tests) 1ms
29
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 7ms
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  10:34:42
34
+  Duration  2.43s (transform 3.32s, setup 0ms, import 14.61s, tests 133ms, environment 2ms)
32
35
 
33
36
  [?25h