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