@ai-matrx/agents 0.28.0 → 0.29.0

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/content-transfer/index.cjs.map +1 -1
  3. package/dist/content-transfer/index.d.cts +2 -1
  4. package/dist/content-transfer/index.d.ts +2 -1
  5. package/dist/content-transfer/index.js.map +1 -1
  6. package/dist/content-transfer/react/index.cjs.map +1 -1
  7. package/dist/content-transfer/react/index.js.map +1 -1
  8. package/dist/context/index.cjs +29 -5
  9. package/dist/context/index.cjs.map +1 -1
  10. package/dist/context/index.d.cts +65 -13
  11. package/dist/context/index.d.ts +65 -13
  12. package/dist/context/index.js +29 -5
  13. package/dist/context/index.js.map +1 -1
  14. package/dist/context/react/index.cjs +262 -78
  15. package/dist/context/react/index.cjs.map +1 -1
  16. package/dist/context/react/index.d.cts +100 -21
  17. package/dist/context/react/index.d.ts +100 -21
  18. package/dist/context/react/index.js +261 -77
  19. package/dist/context/react/index.js.map +1 -1
  20. package/dist/index.d.cts +2 -1
  21. package/dist/index.d.ts +2 -1
  22. package/dist/mandates/index.cjs +2 -2
  23. package/dist/mandates/index.cjs.map +1 -1
  24. package/dist/mandates/index.d.cts +4 -4
  25. package/dist/mandates/index.d.ts +4 -4
  26. package/dist/mandates/index.js +2 -2
  27. package/dist/mandates/index.js.map +1 -1
  28. package/dist/matrx/index.d.cts +4 -2
  29. package/dist/matrx/index.d.ts +4 -2
  30. package/dist/{operations-Dp4ut-ac.d.ts → operations-C3iHFcnt.d.ts} +2 -94
  31. package/dist/{operations--f5ko9Su.d.cts → operations-C9QvBH_2.d.cts} +2 -94
  32. package/dist/portable/index.cjs +164 -0
  33. package/dist/portable/index.cjs.map +1 -0
  34. package/dist/portable/index.d.cts +74 -0
  35. package/dist/portable/index.d.ts +74 -0
  36. package/dist/portable/index.js +141 -0
  37. package/dist/portable/index.js.map +1 -0
  38. package/dist/portable/mcp.cjs +512 -0
  39. package/dist/portable/mcp.cjs.map +1 -0
  40. package/dist/portable/mcp.d.cts +81 -0
  41. package/dist/portable/mcp.d.ts +81 -0
  42. package/dist/portable/mcp.js +492 -0
  43. package/dist/portable/mcp.js.map +1 -0
  44. package/dist/transport-CxD0fL8p.d.cts +94 -0
  45. package/dist/transport-CxD0fL8p.d.ts +94 -0
  46. package/dist/types.generated-BydVlqDC.d.cts +49 -0
  47. package/dist/types.generated-BydVlqDC.d.ts +49 -0
  48. package/mandates/snapshots/keys.0.28.1.json +652 -0
  49. package/mandates/snapshots/keys.0.29.0.json +652 -0
  50. package/package.json +24 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.29.0
4
+
5
+ - **Context is fetched on demand — the receipt carries size and hash only** (owner law 2026-10-01, RULES.md §5b: *"99 out of 100 times the user will never want to see the value"*). `ContextReceiptRow.delivered` / `on_request` and the new `ContextReceiptBlock.delivered` are `ContextDeliveredRef {chars, sha256}` — `ContextDeliveredText` is gone. New viewer types `ContextViewTarget`, `ContextViewedText`, `ContextViewLoader`; `ContextDeliveredValue` / `DeliveredSection` fetch the exact text through the host's `load` when the detail opens (Skeleton while loading, an honest one-line error with Retry), and never before.
6
+ - **Every block of server text the model read is on the receipt** (`ContextReceipt.blocks`): `ContextRulesPanelBody` takes `blocks` and lists them read-only under **Also sent** (label + chars, aligned to Chars), each opening to its text; `ContextReceiptBlocks` / `ContextReceiptBlockDetail` are exported for other views.
7
+ - **The Organization is everything the model read for it**: `CONTEXT_ROW_BLOCKS` attaches the `organization_catalog` block to the `organization` row (`deliveredBlocks`, `blocksForRow`, `unclaimedBlocks`) — shown in its detail, counted in its chars, not listed again under Also sent. A server-authoritative row's chars are the server's (its statement + attached blocks), never the page's copy.
8
+ - Consumer action: pass `loadView` (sent turn: `GET /ai/context/delivered`; next turn: `POST /ai/context/preview` with `view`) and `blocks` to `ContextRulesPanelBody`; `receiptRowToResolved(row, receipt.blocks)`; drop every read of `delivered.text` / `truncated`.
9
+
10
+ - **The composer's value-group chip is compact and never says "Context"** (Arman, 2026-10-01: *"never use the word context to describe what's inside"*). `ContextRulesChipProps.label` is optional: empty or omitted renders NO text — the face is icon + count, its accessible name and tooltip are "N included", and the popover header shows the count only. The face is `h-6`, `rounded-md`, the height of the composer's other row pills (was a `h-7` full pill); on mobile an invisible ring keeps a 44px hit area. The popover aligns `end` (the chip sits at the far right of the composer row). The master switch's accessible name is "Include this page"; the blind tooltip is "This model can't read these values".
11
+ - Consumer action: pass the group's real name (a page or surface display name) or nothing — never a generic "Context" fallback; re-anchor tests on `"<name> · N included"` / `"N included"` and the switch `"Include this page"`.
12
+
13
+ ## 0.28.1
14
+
15
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
16
+ `git diff npm/matrx-agents/v0.28.0..npm/matrx-agents/v0.28.1 -- apps/shared/matrx-agents`).
17
+ No source changes intended and no consumer action required.
18
+
3
19
  ## 0.28.0
4
20
 
5
21
  - **Identity is the server's truth, never the page's claim** (RULES.md §5a, owner ruling 2026-10-01). New `SERVER_AUTHORITATIVE_KEYS` (`user`, `client` → a server-built value; `organization`, `active_scopes` → the server's `<active_context>`) and `isServerAuthoritativeKey`, equal to the parity corpus's `server_authoritative_keys`. The server drops the client's copy of these keys and states its own every turn; the receipt row is `origin: "server"` and its `delivered` IS the server's text. `ContextDeliveredValue` says "Filled in by the server" for one with no receipt yet — never the page's guess.
@@ -2254,3 +2270,4 @@ byte-identical to v0.6.0). No source changes and no consumer action required.
2254
2270
  - Added strict tests, ESM declarations, packed-artifact validation, and an
2255
2271
  isolated consumer import canary.
2256
2272
 
2273
+