@ai-matrx/agents 0.59.240 → 0.59.241
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,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.59.
|
|
3
|
+
## 0.59.241
|
|
4
4
|
|
|
5
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
6
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/matrx-agents/src`.
|
|
@@ -310,6 +310,10 @@ function onRequestReason(row) {
|
|
|
310
310
|
if (row.max_inline_chars === 0) return "Never inline \u2014 the agent reads it on request";
|
|
311
311
|
return "Over the limit \u2014 the agent reads it on request";
|
|
312
312
|
}
|
|
313
|
+
function offByDefaultReason(row) {
|
|
314
|
+
if (row.include || row.decided_by.include !== "page") return null;
|
|
315
|
+
return row.layers?.surface?.auto_context === false ? "Off by default on this page" : null;
|
|
316
|
+
}
|
|
313
317
|
|
|
314
318
|
// context/react/InlineMaxInput.tsx
|
|
315
319
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
@@ -666,7 +670,8 @@ function ContextRuleRow({
|
|
|
666
670
|
trail
|
|
667
671
|
}) {
|
|
668
672
|
const selfChecked = row.blockedBy === "self_check";
|
|
669
|
-
const decided = selfChecked ? SELF_CHECK_TOOLTIP : row.serverResolved ? SERVER_RESOLVED_TOOLTIP : `Include: ${LAYER_LABEL[row.decided_by.include]} \xB7 Limit: ${LAYER_LABEL[row.decided_by.max_inline_chars]}`;
|
|
673
|
+
const decided = selfChecked ? SELF_CHECK_TOOLTIP : row.serverResolved ? SERVER_RESOLVED_TOOLTIP : offByDefaultReason(row) ?? `Include: ${LAYER_LABEL[row.decided_by.include]} \xB7 Limit: ${LAYER_LABEL[row.decided_by.max_inline_chars]}`;
|
|
674
|
+
const shownTrail = trail ?? offByDefaultReason(row);
|
|
670
675
|
const labelNode = onOpenRow ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
671
676
|
"button",
|
|
672
677
|
{
|
|
@@ -710,7 +715,7 @@ function ContextRuleRow({
|
|
|
710
715
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "font-normal text-muted-foreground", children: decided })
|
|
711
716
|
] })
|
|
712
717
|
] }),
|
|
713
|
-
|
|
718
|
+
shownTrail ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "min-w-0 max-w-[45%] shrink truncate text-muted-foreground", children: shownTrail }) : null
|
|
714
719
|
]
|
|
715
720
|
}
|
|
716
721
|
),
|
|
@@ -280,6 +280,10 @@ function onRequestReason(row) {
|
|
|
280
280
|
if (row.max_inline_chars === 0) return "Never inline \u2014 the agent reads it on request";
|
|
281
281
|
return "Over the limit \u2014 the agent reads it on request";
|
|
282
282
|
}
|
|
283
|
+
function offByDefaultReason(row) {
|
|
284
|
+
if (row.include || row.decided_by.include !== "page") return null;
|
|
285
|
+
return row.layers?.surface?.auto_context === false ? "Off by default on this page" : null;
|
|
286
|
+
}
|
|
283
287
|
|
|
284
288
|
// context/react/InlineMaxInput.tsx
|
|
285
289
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -636,7 +640,8 @@ function ContextRuleRow({
|
|
|
636
640
|
trail
|
|
637
641
|
}) {
|
|
638
642
|
const selfChecked = row.blockedBy === "self_check";
|
|
639
|
-
const decided = selfChecked ? SELF_CHECK_TOOLTIP : row.serverResolved ? SERVER_RESOLVED_TOOLTIP : `Include: ${LAYER_LABEL[row.decided_by.include]} \xB7 Limit: ${LAYER_LABEL[row.decided_by.max_inline_chars]}`;
|
|
643
|
+
const decided = selfChecked ? SELF_CHECK_TOOLTIP : row.serverResolved ? SERVER_RESOLVED_TOOLTIP : offByDefaultReason(row) ?? `Include: ${LAYER_LABEL[row.decided_by.include]} \xB7 Limit: ${LAYER_LABEL[row.decided_by.max_inline_chars]}`;
|
|
644
|
+
const shownTrail = trail ?? offByDefaultReason(row);
|
|
640
645
|
const labelNode = onOpenRow ? /* @__PURE__ */ jsx3(
|
|
641
646
|
"button",
|
|
642
647
|
{
|
|
@@ -680,7 +685,7 @@ function ContextRuleRow({
|
|
|
680
685
|
/* @__PURE__ */ jsx3("div", { className: "font-normal text-muted-foreground", children: decided })
|
|
681
686
|
] })
|
|
682
687
|
] }),
|
|
683
|
-
|
|
688
|
+
shownTrail ? /* @__PURE__ */ jsx3("span", { className: "min-w-0 max-w-[45%] shrink truncate text-muted-foreground", children: shownTrail }) : null
|
|
684
689
|
]
|
|
685
690
|
}
|
|
686
691
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/agents",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.241",
|
|
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",
|
|
@@ -511,11 +511,11 @@
|
|
|
511
511
|
"@ai-matrx/alchemy": "latest",
|
|
512
512
|
"@ai-matrx/api": "latest",
|
|
513
513
|
"@ai-matrx/associations": "latest",
|
|
514
|
-
"@ai-matrx/content-ir": "latest",
|
|
515
|
-
"@ai-matrx/data": "latest",
|
|
516
514
|
"@ai-matrx/design-system": "latest",
|
|
517
|
-
"@ai-matrx/
|
|
515
|
+
"@ai-matrx/data": "latest",
|
|
516
|
+
"@ai-matrx/content-ir": "latest",
|
|
518
517
|
"@ai-matrx/icons": "latest",
|
|
518
|
+
"@ai-matrx/diff": "latest",
|
|
519
519
|
"@ai-matrx/kit": "latest"
|
|
520
520
|
},
|
|
521
521
|
"peerDependencies": {
|
|
@@ -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": "a53838052abf9a4a70364e27933ecdf4b05a0b40"
|
|
565
565
|
}
|