@ai-matrx/agents 0.21.2 → 0.21.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.4
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/matrx-agents/v0.21.3..npm/matrx-agents/v0.21.4 -- apps/shared/matrx-agents`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.21.3
10
+
11
+ ### Added (in `./context`)
12
+
13
+ - `serverDefaultMax(value)` + `LAZY_SOURCE_DEFAULT_MAX` (6000): the server's per-key default
14
+ for a wire value (envelope `default_max_inline_chars`; resource reference → 0; lazy source
15
+ → 6000). `resolveContextRow` uses it for `layers.default_max` when the source sets none.
16
+ Parity: new `server_default_cases` in the corpus, run here and by aidream pytest through
17
+ `normalize_resource_context` → `ContextManifest.build` → `_server_default_max`.
18
+ - `receiptRowToResolved(row)` — a receipt row as a read-only table row (sent messages).
19
+ - `compareReceipt` now returns `modelReadsContext`; when the receipt says the model reads no
20
+ context, `delivery` is not compared (include / limit / your rule still are).
21
+
22
+ ### Fixed
23
+
24
+ - A source-only lazy pointer (`{ source, type, label }`, no `content`) now ships as the pointer
25
+ itself (it was wrapped as `{ content: <pointer> }`), and its size is unknown (`null`) instead
26
+ of the pointer's own JSON length.
27
+
28
+ ### Changed (in `./context/react`)
29
+
30
+ - `ContextRulesChip`: `on` / `onToggleAll` are optional — no page, no master switch. New
31
+ `modelReadsContext` prop: false shows a muted eye-off face, the tooltip "This model can't read
32
+ context", and no amber.
33
+
34
+ ### Consumer action
35
+
36
+ - matrx-frontend: pass `modelReadsContext={result.modelReadsContext}` from `compareReceipt` to
37
+ `ContextRulesChip`; omit `on` where the composer has no page; render sent messages' context
38
+ with `receipt.rows.map(receiptRowToResolved)` in a `readOnly` `ContextRulesTable`.
39
+
3
40
  ## 0.21.2
4
41
 
5
42
  Automatic changed-only republish (docs/metadata drift since the last tag — see