@ai-matrx/agents 0.59.216 → 0.59.218
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 +10 -0
- package/dist/context/index.cjs +5 -1
- package/dist/context/index.d.cts +6 -0
- package/dist/context/index.d.ts +6 -0
- package/dist/context/index.js +5 -1
- package/dist/context/react/index.cjs +7 -1
- package/dist/context/react/index.d.cts +6 -0
- package/dist/context/react/index.d.ts +6 -0
- package/dist/context/react/index.js +7 -1
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.d.cts +4 -4
- package/dist/mandates/index.d.ts +4 -4
- package/dist/mandates/index.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.59.218
|
|
4
|
+
|
|
5
|
+
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
|
+
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/matrx-agents/src`.
|
|
7
|
+
|
|
3
8
|
## 0.59.216
|
|
4
9
|
|
|
10
|
+
Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff 1e5f26b1bb 09a96cc8f8 -- apps/shared/matrx-agents/src`
|
|
11
|
+
has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
|
|
12
|
+
|
|
13
|
+
## 0.59.215
|
|
14
|
+
|
|
5
15
|
- **Glyph path data removed; the same exports now alias the one glyph home (one-canonical, glyph lane, 2026-10-21).** `context, models, settings and versions icon files` defines no SVG any more: each export is `@ai-matrx/design-system/icons`'s glyph with this package's historical size and stroke. Names, props and sizes are unchanged; catalog `FolderIcon`, `TagIcon` and `RotateCcwIcon` are re-exports of the glyph home, and the settings rows join classes with `cn` from `@ai-matrx/design-system/cn`. Consumer action: none.
|
|
6
16
|
|
|
7
17
|
## 0.59.214
|
package/dist/context/index.cjs
CHANGED
|
@@ -160,7 +160,11 @@ function resolveContextRule(input) {
|
|
|
160
160
|
include = false;
|
|
161
161
|
includeBy = "agent";
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
const ownLocked = !identity && surface?.own === true;
|
|
164
|
+
if (ownLocked) {
|
|
165
|
+
include = false;
|
|
166
|
+
includeBy = "page";
|
|
167
|
+
} else if (user && typeof user.include === "boolean") {
|
|
164
168
|
include = user.include;
|
|
165
169
|
includeBy = "you";
|
|
166
170
|
}
|
package/dist/context/index.d.cts
CHANGED
|
@@ -113,6 +113,12 @@ interface ContextSurfaceLayer {
|
|
|
113
113
|
auto_context?: boolean | null;
|
|
114
114
|
/** `inlineUpTo` / envelope `max_inline_chars` / DB column. */
|
|
115
115
|
max_inline_chars?: number | null;
|
|
116
|
+
/**
|
|
117
|
+
* The value is withheld because this conversation IS the page (`page_context` mode `own`):
|
|
118
|
+
* nothing re-opens it — not the agent's Context Policy, not the person's rule. A page's own
|
|
119
|
+
* chat never receives itself (Arman, 2026-10-01 / 2026-10-21).
|
|
120
|
+
*/
|
|
121
|
+
own?: boolean;
|
|
116
122
|
}
|
|
117
123
|
/** The non-person layers for one value — what the table's layer breakdown shows. */
|
|
118
124
|
interface ContextRuleLayers {
|
package/dist/context/index.d.ts
CHANGED
|
@@ -113,6 +113,12 @@ interface ContextSurfaceLayer {
|
|
|
113
113
|
auto_context?: boolean | null;
|
|
114
114
|
/** `inlineUpTo` / envelope `max_inline_chars` / DB column. */
|
|
115
115
|
max_inline_chars?: number | null;
|
|
116
|
+
/**
|
|
117
|
+
* The value is withheld because this conversation IS the page (`page_context` mode `own`):
|
|
118
|
+
* nothing re-opens it — not the agent's Context Policy, not the person's rule. A page's own
|
|
119
|
+
* chat never receives itself (Arman, 2026-10-01 / 2026-10-21).
|
|
120
|
+
*/
|
|
121
|
+
own?: boolean;
|
|
116
122
|
}
|
|
117
123
|
/** The non-person layers for one value — what the table's layer breakdown shows. */
|
|
118
124
|
interface ContextRuleLayers {
|
package/dist/context/index.js
CHANGED
|
@@ -97,7 +97,11 @@ function resolveContextRule(input) {
|
|
|
97
97
|
include = false;
|
|
98
98
|
includeBy = "agent";
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
const ownLocked = !identity && surface?.own === true;
|
|
101
|
+
if (ownLocked) {
|
|
102
|
+
include = false;
|
|
103
|
+
includeBy = "page";
|
|
104
|
+
} else if (user && typeof user.include === "boolean") {
|
|
101
105
|
include = user.include;
|
|
102
106
|
includeBy = "you";
|
|
103
107
|
}
|
|
@@ -103,7 +103,11 @@ function resolveContextRule(input) {
|
|
|
103
103
|
include = false;
|
|
104
104
|
includeBy = "agent";
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
const ownLocked = !identity && surface?.own === true;
|
|
107
|
+
if (ownLocked) {
|
|
108
|
+
include = false;
|
|
109
|
+
includeBy = "page";
|
|
110
|
+
} else if (user && typeof user.include === "boolean") {
|
|
107
111
|
include = user.include;
|
|
108
112
|
includeBy = "you";
|
|
109
113
|
}
|
|
@@ -218,6 +222,7 @@ function includeChanges(rows, include, cap) {
|
|
|
218
222
|
const changes = [];
|
|
219
223
|
for (const row of rows) {
|
|
220
224
|
if (row.include === include) continue;
|
|
225
|
+
if (row.layers?.surface?.own === true) continue;
|
|
221
226
|
const next = { ...row.userRule ?? {} };
|
|
222
227
|
if (inheritedInclude(row, cap) === include) delete next.include;
|
|
223
228
|
else next.include = include;
|
|
@@ -763,6 +768,7 @@ function ContextRuleRow({
|
|
|
763
768
|
size: "sm",
|
|
764
769
|
"aria-label": `Include ${row.label}`,
|
|
765
770
|
checked: row.include,
|
|
771
|
+
disabled: row.layers?.surface?.own === true,
|
|
766
772
|
onCheckedChange: (next) => onChange(row.key, row.surfaceKey, withInclude(row, next))
|
|
767
773
|
}
|
|
768
774
|
) }),
|
|
@@ -31,6 +31,12 @@ interface ContextSurfaceLayer {
|
|
|
31
31
|
auto_context?: boolean | null;
|
|
32
32
|
/** `inlineUpTo` / envelope `max_inline_chars` / DB column. */
|
|
33
33
|
max_inline_chars?: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* The value is withheld because this conversation IS the page (`page_context` mode `own`):
|
|
36
|
+
* nothing re-opens it — not the agent's Context Policy, not the person's rule. A page's own
|
|
37
|
+
* chat never receives itself (Arman, 2026-10-01 / 2026-10-21).
|
|
38
|
+
*/
|
|
39
|
+
own?: boolean;
|
|
34
40
|
}
|
|
35
41
|
/** The non-person layers for one value — what the table's layer breakdown shows. */
|
|
36
42
|
interface ContextRuleLayers {
|
|
@@ -31,6 +31,12 @@ interface ContextSurfaceLayer {
|
|
|
31
31
|
auto_context?: boolean | null;
|
|
32
32
|
/** `inlineUpTo` / envelope `max_inline_chars` / DB column. */
|
|
33
33
|
max_inline_chars?: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* The value is withheld because this conversation IS the page (`page_context` mode `own`):
|
|
36
|
+
* nothing re-opens it — not the agent's Context Policy, not the person's rule. A page's own
|
|
37
|
+
* chat never receives itself (Arman, 2026-10-01 / 2026-10-21).
|
|
38
|
+
*/
|
|
39
|
+
own?: boolean;
|
|
34
40
|
}
|
|
35
41
|
/** The non-person layers for one value — what the table's layer breakdown shows. */
|
|
36
42
|
interface ContextRuleLayers {
|
|
@@ -62,7 +62,11 @@ function resolveContextRule(input) {
|
|
|
62
62
|
include = false;
|
|
63
63
|
includeBy = "agent";
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
const ownLocked = !identity && surface?.own === true;
|
|
66
|
+
if (ownLocked) {
|
|
67
|
+
include = false;
|
|
68
|
+
includeBy = "page";
|
|
69
|
+
} else if (user && typeof user.include === "boolean") {
|
|
66
70
|
include = user.include;
|
|
67
71
|
includeBy = "you";
|
|
68
72
|
}
|
|
@@ -182,6 +186,7 @@ function includeChanges(rows, include, cap) {
|
|
|
182
186
|
const changes = [];
|
|
183
187
|
for (const row of rows) {
|
|
184
188
|
if (row.include === include) continue;
|
|
189
|
+
if (row.layers?.surface?.own === true) continue;
|
|
185
190
|
const next = { ...row.userRule ?? {} };
|
|
186
191
|
if (inheritedInclude(row, cap) === include) delete next.include;
|
|
187
192
|
else next.include = include;
|
|
@@ -733,6 +738,7 @@ function ContextRuleRow({
|
|
|
733
738
|
size: "sm",
|
|
734
739
|
"aria-label": `Include ${row.label}`,
|
|
735
740
|
checked: row.include,
|
|
741
|
+
disabled: row.layers?.surface?.own === true,
|
|
736
742
|
onCheckedChange: (next) => onChange(row.key, row.surfaceKey, withInclude(row, next))
|
|
737
743
|
}
|
|
738
744
|
) }),
|
package/dist/mandates/index.cjs
CHANGED
|
@@ -47,9 +47,9 @@ module.exports = __toCommonJS(mandates_exports);
|
|
|
47
47
|
|
|
48
48
|
// mandates/keys.generated.ts
|
|
49
49
|
var MANDATE_KEYS_META = {
|
|
50
|
-
aidreamRevision: "
|
|
50
|
+
aidreamRevision: "d8d3d77b4f217439fb7877b6ef869698d20ce928",
|
|
51
51
|
generatorVersion: "1.0.0",
|
|
52
|
-
packageVersion: "0.59.
|
|
52
|
+
packageVersion: "0.59.218",
|
|
53
53
|
retireWindow: 3
|
|
54
54
|
};
|
|
55
55
|
var MANDATE_KEYS = {
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* from the IN-PROCESS mandate declarations — the same `declared_mandates()` the
|
|
7
7
|
* boot sync writes to the database from. There is no hand list anywhere.
|
|
8
8
|
*
|
|
9
|
-
* aidream revision:
|
|
9
|
+
* aidream revision: d8d3d77b4f217439fb7877b6ef869698d20ce928
|
|
10
10
|
* generator version: 1.0.0
|
|
11
|
-
* package version: 0.59.
|
|
11
|
+
* package version: 0.59.218
|
|
12
12
|
* active keys: 612
|
|
13
13
|
* retiring keys: 5
|
|
14
14
|
*
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
*/
|
|
20
20
|
/** Where this module came from — surfaced so a report can name the exact build. */
|
|
21
21
|
declare const MANDATE_KEYS_META: {
|
|
22
|
-
readonly aidreamRevision: "
|
|
22
|
+
readonly aidreamRevision: "d8d3d77b4f217439fb7877b6ef869698d20ce928";
|
|
23
23
|
readonly generatorVersion: "1.0.0";
|
|
24
|
-
readonly packageVersion: "0.59.
|
|
24
|
+
readonly packageVersion: "0.59.218";
|
|
25
25
|
readonly retireWindow: 3;
|
|
26
26
|
};
|
|
27
27
|
/** Every declared mandate key, by THE IDENTIFIER RULE. */
|
package/dist/mandates/index.d.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* from the IN-PROCESS mandate declarations — the same `declared_mandates()` the
|
|
7
7
|
* boot sync writes to the database from. There is no hand list anywhere.
|
|
8
8
|
*
|
|
9
|
-
* aidream revision:
|
|
9
|
+
* aidream revision: d8d3d77b4f217439fb7877b6ef869698d20ce928
|
|
10
10
|
* generator version: 1.0.0
|
|
11
|
-
* package version: 0.59.
|
|
11
|
+
* package version: 0.59.218
|
|
12
12
|
* active keys: 612
|
|
13
13
|
* retiring keys: 5
|
|
14
14
|
*
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
*/
|
|
20
20
|
/** Where this module came from — surfaced so a report can name the exact build. */
|
|
21
21
|
declare const MANDATE_KEYS_META: {
|
|
22
|
-
readonly aidreamRevision: "
|
|
22
|
+
readonly aidreamRevision: "d8d3d77b4f217439fb7877b6ef869698d20ce928";
|
|
23
23
|
readonly generatorVersion: "1.0.0";
|
|
24
|
-
readonly packageVersion: "0.59.
|
|
24
|
+
readonly packageVersion: "0.59.218";
|
|
25
25
|
readonly retireWindow: 3;
|
|
26
26
|
};
|
|
27
27
|
/** Every declared mandate key, by THE IDENTIFIER RULE. */
|
package/dist/mandates/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// mandates/keys.generated.ts
|
|
2
2
|
var MANDATE_KEYS_META = {
|
|
3
|
-
aidreamRevision: "
|
|
3
|
+
aidreamRevision: "d8d3d77b4f217439fb7877b6ef869698d20ce928",
|
|
4
4
|
generatorVersion: "1.0.0",
|
|
5
|
-
packageVersion: "0.59.
|
|
5
|
+
packageVersion: "0.59.218",
|
|
6
6
|
retireWindow: 3
|
|
7
7
|
};
|
|
8
8
|
var MANDATE_KEYS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/agents",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.218",
|
|
4
4
|
"description": "Portable AI Matrx agent stream protocol, event projection, and safe result-presentation primitives.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -509,11 +509,11 @@
|
|
|
509
509
|
"sideEffects": false,
|
|
510
510
|
"dependencies": {
|
|
511
511
|
"@ai-matrx/alchemy": "latest",
|
|
512
|
+
"@ai-matrx/associations": "latest",
|
|
512
513
|
"@ai-matrx/api": "latest",
|
|
513
514
|
"@ai-matrx/content-ir": "latest",
|
|
514
515
|
"@ai-matrx/data": "latest",
|
|
515
516
|
"@ai-matrx/design-system": "latest",
|
|
516
|
-
"@ai-matrx/associations": "latest",
|
|
517
517
|
"@ai-matrx/diff": "latest",
|
|
518
518
|
"@ai-matrx/icons": "latest",
|
|
519
519
|
"@ai-matrx/kit": "latest"
|
|
@@ -561,5 +561,5 @@
|
|
|
561
561
|
"verify:tarball": "node ./scripts/verify-tarball.mjs",
|
|
562
562
|
"typegen:self-test": "node scripts/typegen/drop-guard.self-test.mjs && node scripts/typegen/check-api-types-fresh.mjs --self-test"
|
|
563
563
|
},
|
|
564
|
-
"gitHead": "
|
|
564
|
+
"gitHead": "d8d3d77b4f217439fb7877b6ef869698d20ce928"
|
|
565
565
|
}
|