@ai-matrx/agents 0.21.14 → 0.21.16

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,43 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.16
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/matrx-agents/v0.21.15..npm/matrx-agents/v0.21.16 -- apps/shared/matrx-agents`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.21.15
10
+
11
+ ### Fixed (in `./context`) — the client no longer predicts a server-side resolution
12
+
13
+ A live clone turn showed two mismatches of one class: `note_id` (a UUID under a `*_id` key, which
14
+ the server promotes to a resource reference) and `current_note` (a top-level `resource_ref`, which
15
+ the server resolves to a descriptor). The client predicted sizes, defaults and deliveries only the
16
+ server can know.
17
+
18
+ ### Added
19
+
20
+ - `isServerResolved(key, value)`: a top-level resource reference, or a UUID (any form the server's
21
+ `UUID()` accepts) under a `*_id` key — bare or as a rich envelope's `content`. A deliberate
22
+ superset of the server's registry-backed rule: on a value the server keeps raw, the client only
23
+ stops predicting.
24
+ - `ResolvedContextRow.serverResolved` / `fromReceipt`, and `ContextRowDelivery`
25
+ (`ContextDelivery | "server"`). `resolveContextRow` gives such rows `chars: null` and, when
26
+ included, `delivery: "server"` (no claim); include and the person's rule resolve as before.
27
+ - `compareReceipt`: for server-resolved rows compares include and user_rule, and the limit only
28
+ when the person set one — never delivery or a default-derived limit.
29
+ - `applyReceiptToRows(rows, receipt)`: display-only fill of chars / limit / delivery for
30
+ server-resolved rows from the latest receipt (never for comparison).
31
+ - `./context/react`: such rows show Chars "—", Inline max placeholder "auto" (the applied limit
32
+ once a receipt fills it), and the row tooltip "Resolved by the server".
33
+ - Corpus `server_resolved_cases`, run here and by aidream pytest against `normalize_resource_context`.
34
+
35
+ ### Consumer action
36
+
37
+ - matrx-frontend: handle `delivery: "server"` wherever a row's delivery is switched on; render
38
+ rows through `applyReceiptToRows(rows, latestReceipt)` for display while still passing the
39
+ original rows to `compareReceipt`.
40
+
3
41
  ## 0.21.14
4
42
 
5
43
  Automatic changed-only republish (docs/metadata drift since the last tag — see