@ai-matrx/agents 0.43.10 → 0.43.12
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 +14 -1
- 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/react/index.cjs +41 -23
- package/dist/context/react/index.cjs.map +1 -1
- package/dist/context/react/index.d.cts +4 -3
- package/dist/context/react/index.d.ts +4 -3
- package/dist/context/react/index.js +42 -24
- package/dist/context/react/index.js.map +1 -1
- package/dist/generated/api-types.cjs.map +1 -1
- package/dist/generated/api-types.d.cts +1309 -58
- package/dist/generated/api-types.d.ts +1309 -58
- package/dist/generated/source-attribution.cjs +8 -1
- package/dist/generated/source-attribution.cjs.map +1 -1
- package/dist/generated/source-attribution.d.cts +2 -2
- package/dist/generated/source-attribution.d.ts +2 -2
- package/dist/generated/source-attribution.js +8 -1
- package/dist/generated/source-attribution.js.map +1 -1
- package/dist/generated/stream-events.cjs +86 -0
- package/dist/generated/stream-events.cjs.map +1 -1
- package/dist/generated/stream-events.d.cts +27 -1
- package/dist/generated/stream-events.d.ts +27 -1
- package/dist/generated/stream-events.js +86 -0
- package/dist/generated/stream-events.js.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{keys.generated-DCE85eAP.d.cts → keys.generated-BmcbKMJE.d.cts} +4 -4
- package/dist/{keys.generated-DCE85eAP.d.ts → keys.generated-BmcbKMJE.d.ts} +4 -4
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +2 -2
- package/dist/mandates/index.d.ts +2 -2
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/dist/matrx/index.d.cts +1 -1
- package/dist/matrx/index.d.ts +1 -1
- package/generated/api-types.ts +1309 -58
- package/generated/source-attribution.ts +7 -0
- package/generated/stream-events.ts +115 -0
- package/mandates/snapshots/keys.0.43.11.json +653 -0
- package/mandates/snapshots/keys.0.43.12.json +653 -0
- package/package.json +1 -1
|
@@ -385,9 +385,10 @@ interface ContextRulesPanelBodyProps {
|
|
|
385
385
|
className?: string;
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
|
-
* Master/detail body for a docked context panel: search + compact table
|
|
389
|
-
* the
|
|
390
|
-
*
|
|
388
|
+
* Master/detail body for a docked context panel: search + compact table, and
|
|
389
|
+
* the open row's controls, layer breakdown and host detail. Nothing open: the
|
|
390
|
+
* list is the whole panel. Open and wide (≥ 40rem): list beside detail. Open
|
|
391
|
+
* and narrow (or `isMobile`): the detail alone, with Back to the list.
|
|
391
392
|
*/
|
|
392
393
|
declare function ContextRulesPanelBody({ rows, cap, mismatches, blocks, loadView, readOnly, onChange, hierarchy, onSetInclude, renderDetail, isMobile, selectedKey: selectedProp, onSelectedKeyChange, className, }: ContextRulesPanelBodyProps): react.JSX.Element;
|
|
393
394
|
|
|
@@ -385,9 +385,10 @@ interface ContextRulesPanelBodyProps {
|
|
|
385
385
|
className?: string;
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
|
-
* Master/detail body for a docked context panel: search + compact table
|
|
389
|
-
* the
|
|
390
|
-
*
|
|
388
|
+
* Master/detail body for a docked context panel: search + compact table, and
|
|
389
|
+
* the open row's controls, layer breakdown and host detail. Nothing open: the
|
|
390
|
+
* list is the whole panel. Open and wide (≥ 40rem): list beside detail. Open
|
|
391
|
+
* and narrow (or `isMobile`): the detail alone, with Back to the list.
|
|
391
392
|
*/
|
|
392
393
|
declare function ContextRulesPanelBody({ rows, cap, mismatches, blocks, loadView, readOnly, onChange, hierarchy, onSetInclude, renderDetail, isMobile, selectedKey: selectedProp, onSelectedKeyChange, className, }: ContextRulesPanelBodyProps): react.JSX.Element;
|
|
393
394
|
|
|
@@ -1291,7 +1291,7 @@ function ContextReceiptBlockDetail({
|
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
// context/react/ContextRulesPanelBody.tsx
|
|
1294
|
-
import {
|
|
1294
|
+
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1295
1295
|
function layerCells(row) {
|
|
1296
1296
|
const { surface, agent, default_max } = row.layers ?? {};
|
|
1297
1297
|
const declared = agent?.declared === true;
|
|
@@ -1496,32 +1496,50 @@ function ContextRulesPanelBody({
|
|
|
1496
1496
|
loadView
|
|
1497
1497
|
}
|
|
1498
1498
|
) : null;
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1499
|
+
const sideBySide = !isMobile;
|
|
1500
|
+
return /* @__PURE__ */ jsx8(TooltipProvider4, { delayDuration: 300, titleTooltips: false, children: /* @__PURE__ */ jsxs8("div", { "data-slot": "context-rules-panel", className: cn7("@container flex h-full min-h-0 min-w-0", className), children: [
|
|
1501
|
+
/* @__PURE__ */ jsxs8(
|
|
1502
|
+
"aside",
|
|
1503
|
+
{
|
|
1504
|
+
"data-slot": "context-rules-list",
|
|
1505
|
+
className: cn7(
|
|
1506
|
+
"flex min-h-0 min-w-0 flex-col",
|
|
1507
|
+
!detail ? "flex-1" : sideBySide ? "hidden border-border @min-[40rem]:flex @min-[40rem]:w-[clamp(18rem,38%,28rem)] @min-[40rem]:shrink-0 @min-[40rem]:border-r" : "hidden"
|
|
1508
|
+
),
|
|
1509
|
+
children: [
|
|
1510
|
+
search,
|
|
1511
|
+
table
|
|
1512
|
+
]
|
|
1513
|
+
}
|
|
1514
|
+
),
|
|
1515
|
+
detail ? /* @__PURE__ */ jsxs8("section", { "data-slot": "context-rules-detail", className: "flex min-h-0 min-w-0 flex-1 flex-col", children: [
|
|
1516
|
+
/* @__PURE__ */ jsx8(
|
|
1517
|
+
"div",
|
|
1503
1518
|
{
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1519
|
+
className: cn7(
|
|
1520
|
+
"flex shrink-0 items-center border-b border-border px-1",
|
|
1521
|
+
comfortable ? "h-12" : "h-8",
|
|
1522
|
+
sideBySide && "@min-[40rem]:hidden"
|
|
1523
|
+
),
|
|
1524
|
+
children: /* @__PURE__ */ jsxs8(
|
|
1525
|
+
"button",
|
|
1526
|
+
{
|
|
1527
|
+
type: "button",
|
|
1528
|
+
onClick: () => select(null),
|
|
1529
|
+
className: cn7(
|
|
1530
|
+
"inline-flex items-center gap-1 rounded-md px-2 text-muted-foreground hover:text-foreground",
|
|
1531
|
+
comfortable ? "h-11 text-sm" : "h-7 text-xs"
|
|
1532
|
+
),
|
|
1533
|
+
children: [
|
|
1534
|
+
/* @__PURE__ */ jsx8(ChevronLeftIcon, { className: comfortable ? "h-4 w-4" : "h-3.5 w-3.5" }),
|
|
1535
|
+
"Back"
|
|
1536
|
+
]
|
|
1537
|
+
}
|
|
1538
|
+
)
|
|
1511
1539
|
}
|
|
1512
|
-
)
|
|
1540
|
+
),
|
|
1513
1541
|
/* @__PURE__ */ jsx8("div", { className: "min-h-0 flex-1 overflow-y-auto", children: detail })
|
|
1514
|
-
] }) :
|
|
1515
|
-
search,
|
|
1516
|
-
table
|
|
1517
|
-
] }) }) });
|
|
1518
|
-
}
|
|
1519
|
-
return /* @__PURE__ */ jsx8(TooltipProvider4, { delayDuration: 300, titleTooltips: false, children: /* @__PURE__ */ jsxs8("div", { className: cn7("flex h-full min-h-0", className), children: [
|
|
1520
|
-
/* @__PURE__ */ jsxs8("aside", { className: "flex w-[22rem] shrink-0 flex-col border-r border-border", children: [
|
|
1521
|
-
search,
|
|
1522
|
-
table
|
|
1523
|
-
] }),
|
|
1524
|
-
/* @__PURE__ */ jsx8("section", { className: "min-h-0 min-w-0 flex-1 overflow-y-auto", children: detail ?? /* @__PURE__ */ jsx8("div", { className: "flex h-full items-center justify-center text-xs text-muted-foreground", children: "Select an item" }) })
|
|
1542
|
+
] }) : null
|
|
1525
1543
|
] }) });
|
|
1526
1544
|
}
|
|
1527
1545
|
export {
|