@aiready/context-analyzer 0.22.0 → 0.22.2

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,5 +1,5 @@
1
1
 
2
- > @aiready/context-analyzer@0.22.0 build /Users/pengcao/projects/aiready/packages/context-analyzer
2
+ > @aiready/context-analyzer@0.22.2 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
3
  > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
4
 
5
5
  CLI Building entry: src/cli.ts, src/index.ts
@@ -8,24 +8,24 @@ CLI tsup v8.5.1
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/cli.js 69.64 KB
12
- CJS dist/index.js 83.36 KB
13
- CJS ⚡️ Build success in 268ms
14
- ESM dist/cli.mjs 1.81 KB
11
+ CJS dist/cli.js 69.46 KB
12
+ CJS dist/index.js 83.18 KB
13
+ CJS ⚡️ Build success in 159ms
15
14
  ESM dist/python-context-BWDC4E5Z.mjs 4.48 KB
15
+ ESM dist/orchestrator-R6MZT4Z2.mjs 190.00 B
16
+ ESM dist/cli-action-E7UGP4KE.mjs 2.86 KB
17
+ ESM dist/chunk-ILMLGJGI.mjs 40.85 KB
16
18
  ESM dist/summary-7PZVW72O.mjs 119.00 B
17
- ESM dist/orchestrator-3L3NAZYP.mjs 190.00 B
18
- ESM dist/chunk-BCEZGRXI.mjs 40.87 KB
19
- ESM dist/chunk-BQCISA2F.mjs 3.35 KB
20
19
  ESM dist/index.mjs 12.64 KB
21
- ESM dist/chunk-EMYD7NS6.mjs 4.91 KB
22
20
  ESM dist/chunk-64U3PNO3.mjs 2.65 KB
23
- ESM dist/cli-action-SA7SCYNV.mjs 2.86 KB
24
21
  ESM dist/chunk-J3SZQZNU.mjs 8.11 KB
25
- ESM ⚡️ Build success in 328ms
22
+ ESM dist/chunk-EMYD7NS6.mjs 4.91 KB
23
+ ESM dist/chunk-BQCISA2F.mjs 3.35 KB
24
+ ESM dist/cli.mjs 1.81 KB
25
+ ESM ⚡️ Build success in 158ms
26
26
  DTS Build start
27
- DTS ⚡️ Build success in 7290ms
27
+ DTS ⚡️ Build success in 6961ms
28
28
  DTS dist/cli.d.ts 20.00 B
29
- DTS dist/index.d.ts 25.71 KB
29
+ DTS dist/index.d.ts 25.86 KB
30
30
  DTS dist/cli.d.mts 20.00 B
31
- DTS dist/index.d.mts 25.71 KB
31
+ DTS dist/index.d.mts 25.86 KB
@@ -1,13 +1,14 @@
1
1
 
2
- > @aiready/context-analyzer@0.21.27 test /Users/pengcao/projects/aiready/packages/context-analyzer
2
+ > @aiready/context-analyzer@0.22.1 test /Users/pengcao/projects/aiready/packages/context-analyzer
3
3
  > vitest run --exclude "**/dist/**"
4
4
 
5
5
 
6
6
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/context-analyzer
7
7
 
8
- ✓ src/__tests__/domain-inference.test.ts (26 tests) 5ms
9
- ✓ src/__tests__/report/html-report.test.ts (11 tests) 40ms
10
- ✓ src/__tests__/report/console-report.test.ts (8 tests) 122ms
8
+ ✓ src/__tests__/consolidation.test.ts (6 tests) 4ms
9
+ ✓ src/__tests__/remediation.test.ts (6 tests) 2ms
10
+ ✓ src/__tests__/report/console-report.test.ts (8 tests) 36ms
11
+ ✓ src/__tests__/report/html-report.test.ts (11 tests) 20ms
11
12
  stderr | src/__tests__/python-context.test.ts > python-context > analyzePythonContext > should filter for Python files only
12
13
  Failed to analyze src/file2.py: TypeError: Cannot read properties of undefined (reading 'split')
13
14
  at Module.analyzePythonContext (/Users/pengcao/projects/aiready/packages/context-analyzer/src/analyzers/python-context.ts:91:32)
@@ -22,28 +23,27 @@
22
23
  at /Users/pengcao/projects/aiready/packages/context-analyzer/src/__tests__/python-context.test.ts:84:23
23
24
  at file:///Users/pengcao/projects/aiready/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:915:20
24
25
 
25
- ✓ src/__tests__/python-context.test.ts (4 tests) 8ms
26
- ✓ src/__tests__/consolidation.test.ts (6 tests) 103ms
27
- ✓ src/__tests__/provider.test.ts (2 tests) 4ms
28
- ✓ src/__tests__/file-classification.test.ts (63 tests) 6ms
29
- ✓ src/__tests__/issue-analyzer.test.ts (17 tests) 23ms
30
- ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 6ms
31
- ✓ src/__tests__/auto-detection.test.ts (8 tests) 61ms
32
- ✓ src/__tests__/orchestrator.test.ts (8 tests) 167ms
33
- ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 26ms
34
- ✓ src/__tests__/contract.test.ts (1 test) 63ms
35
- ✓ src/__tests__/analyzer.test.ts (14 tests) 221ms
36
- ✓ src/__tests__/remediation.test.ts (6 tests) 53ms
37
- ✓ src/__tests__/defaults.test.ts (7 tests) 6ms
26
+ ✓ src/__tests__/python-context.test.ts (4 tests) 62ms
27
+ ✓ src/__tests__/scoring.test.ts (15 tests) 8ms
28
+ ✓ src/__tests__/issue-analyzer.test.ts (17 tests) 24ms
29
+ ✓ src/__tests__/domain-inference.test.ts (26 tests) 4ms
30
+ ✓ src/__tests__/orchestrator.test.ts (8 tests) 40ms
31
+ ✓ src/__tests__/fragmentation-coupling.test.ts (2 tests) 16ms
32
+ ✓ src/__tests__/auto-detection.test.ts (8 tests) 29ms
33
+ ✓ src/__tests__/analyzer.test.ts (14 tests) 36ms
34
+ ✓ src/__tests__/contract.test.ts (1 test) 67ms
35
+ ✓ src/__tests__/structural-cohesion.test.ts (4 tests) 2ms
36
+ ✓ src/__tests__/file-classification.test.ts (63 tests) 16ms
37
+ ✓ src/__tests__/defaults.test.ts (7 tests) 3ms
38
38
  ✓ src/__tests__/enhanced-cohesion.test.ts (6 tests) 2ms
39
+ ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 1ms
40
+ ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 8ms
39
41
  ✓ src/__tests__/cluster-detector.test.ts (3 tests) 3ms
40
- ✓ src/__tests__/scoring.test.ts (15 tests) 24ms
41
- ✓ src/__tests__/fragmentation-advanced.test.ts (3 tests) 2ms
42
- ✓ src/__tests__/boilerplate-barrel.test.ts (7 tests) 4ms
42
+ ✓ src/__tests__/provider.test.ts (2 tests) 27ms
43
43
  ✓ src/__tests__/fragmentation-log.test.ts (3 tests) 3ms
44
44
 
45
45
   Test Files  22 passed (22)
46
46
   Tests  224 passed (224)
47
-  Start at  15:17:50
48
-  Duration  5.09s (transform 6.36s, setup 0ms, import 31.37s, tests 951ms, environment 2ms)
47
+  Start at  14:03:16
48
+  Duration  5.65s (transform 10.89s, setup 0ms, import 39.42s, tests 413ms, environment 4ms)
49
49
 
package/README.md CHANGED
@@ -21,11 +21,11 @@ AI tokens are expensive and context windows are finite. **Context Analyzer** hel
21
21
 
22
22
 
23
23
  🎛️ @aiready/cli (orchestrator)
24
- │ │ │ │ │ │ │ │ │
25
- ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼
26
- [PAT] [CTX] [CON] [AMP] [DEP] [DOC] [SIG] [AGT] [TST]
27
- │ │ │ │ │ │ │ │ │
28
- └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
24
+ │ │ │ │ │ │ │ │ │
25
+ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼
26
+ [PAT] [CTX] [CON] [AMP] [DEP] [DOC] [SIG] [AGT] [TST] [CTR]
27
+ │ │ │ │ │ │ │ │ │
28
+ └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
29
29
 
30
30
 
31
31
  🏢 @aiready/core
@@ -35,7 +35,8 @@ Legend:
35
35
  CON = consistency AMP = change-amplification
36
36
  DEP = deps-health DOC = doc-drift
37
37
  SIG = ai-signal-clarity AGT = agent-grounding
38
- TST = testability = YOU ARE HERE
38
+ TST = testability CTR = contract-enforcement
39
+ ★ = YOU ARE HERE
39
40
  ```
40
41
 
41
42
  ## Features