@ai-matrx/agents 0.21.4 → 0.21.6
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 +28 -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 +34 -19
- package/dist/context/index.cjs.map +1 -1
- package/dist/context/index.d.cts +26 -3
- package/dist/context/index.d.ts +26 -3
- package/dist/context/index.js +34 -19
- package/dist/context/index.js.map +1 -1
- package/dist/context/react/index.cjs.map +1 -1
- 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.5.json +652 -0
- package/mandates/snapshots/keys.0.21.6.json +652 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.6
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/matrx-agents/v0.21.5..npm/matrx-agents/v0.21.6 -- apps/shared/matrx-agents`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.21.5
|
|
10
|
+
|
|
11
|
+
### Fixed (in `./context`)
|
|
12
|
+
|
|
13
|
+
- A record that merely has a `content` key (a note `{ id, title, content }`) was treated as a rich
|
|
14
|
+
envelope: its size was measured on `.content` only, and it was sent as
|
|
15
|
+
`{ id, title, content, label, max_inline_chars }`, which the server reads as raw content — the
|
|
16
|
+
page limit was silently lost. Envelope detection now matches the server exactly: own `content`
|
|
17
|
+
and every key in `RICH_ENVELOPE_KEYS` (aidream `_RICH_FORM_KEYS`); anything else is wrapped as
|
|
18
|
+
`{ content: record, … }`. Applies to `resolveContextRow` sizing, `buildContextWire` and
|
|
19
|
+
`serverDefaultMax`.
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- `RICH_ENVELOPE_KEYS`, `isRichEnvelope(value)`, `splitContextValue(value)` (the twin of aidream
|
|
24
|
+
`_split_rich_context_value`). Corpus `envelope_cases`, run here and by aidream pytest.
|
|
25
|
+
|
|
26
|
+
### Consumer action
|
|
27
|
+
|
|
28
|
+
- matrx-frontend: no API change; drop any local "is this an envelope" check in favor of
|
|
29
|
+
`isRichEnvelope` / `splitContextValue` from `@ai-matrx/agents/context`.
|
|
30
|
+
|
|
3
31
|
## 0.21.4
|
|
4
32
|
|
|
5
33
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|