@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.
Files changed (44) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/dist/content-transfer/index.cjs.map +1 -1
  3. package/dist/content-transfer/index.js.map +1 -1
  4. package/dist/content-transfer/react/index.cjs.map +1 -1
  5. package/dist/content-transfer/react/index.js.map +1 -1
  6. package/dist/context/react/index.cjs +41 -23
  7. package/dist/context/react/index.cjs.map +1 -1
  8. package/dist/context/react/index.d.cts +4 -3
  9. package/dist/context/react/index.d.ts +4 -3
  10. package/dist/context/react/index.js +42 -24
  11. package/dist/context/react/index.js.map +1 -1
  12. package/dist/generated/api-types.cjs.map +1 -1
  13. package/dist/generated/api-types.d.cts +1309 -58
  14. package/dist/generated/api-types.d.ts +1309 -58
  15. package/dist/generated/source-attribution.cjs +8 -1
  16. package/dist/generated/source-attribution.cjs.map +1 -1
  17. package/dist/generated/source-attribution.d.cts +2 -2
  18. package/dist/generated/source-attribution.d.ts +2 -2
  19. package/dist/generated/source-attribution.js +8 -1
  20. package/dist/generated/source-attribution.js.map +1 -1
  21. package/dist/generated/stream-events.cjs +86 -0
  22. package/dist/generated/stream-events.cjs.map +1 -1
  23. package/dist/generated/stream-events.d.cts +27 -1
  24. package/dist/generated/stream-events.d.ts +27 -1
  25. package/dist/generated/stream-events.js +86 -0
  26. package/dist/generated/stream-events.js.map +1 -1
  27. package/dist/index.d.cts +1 -1
  28. package/dist/index.d.ts +1 -1
  29. package/dist/{keys.generated-DCE85eAP.d.cts → keys.generated-BmcbKMJE.d.cts} +4 -4
  30. package/dist/{keys.generated-DCE85eAP.d.ts → keys.generated-BmcbKMJE.d.ts} +4 -4
  31. package/dist/mandates/index.cjs +2 -2
  32. package/dist/mandates/index.cjs.map +1 -1
  33. package/dist/mandates/index.d.cts +2 -2
  34. package/dist/mandates/index.d.ts +2 -2
  35. package/dist/mandates/index.js +2 -2
  36. package/dist/mandates/index.js.map +1 -1
  37. package/dist/matrx/index.d.cts +1 -1
  38. package/dist/matrx/index.d.ts +1 -1
  39. package/generated/api-types.ts +1309 -58
  40. package/generated/source-attribution.ts +7 -0
  41. package/generated/stream-events.ts +115 -0
  42. package/mandates/snapshots/keys.0.43.11.json +653 -0
  43. package/mandates/snapshots/keys.0.43.12.json +653 -0
  44. 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 on
389
- * the left, the open row's controls, layer breakdown and host detail on the
390
- * right. On mobile: list, then detail with Back.
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 on
389
- * the left, the open row's controls, layer breakdown and host detail on the
390
- * right. On mobile: list, then detail with Back.
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 { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
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
- if (isMobile) {
1500
- return /* @__PURE__ */ jsx8(TooltipProvider4, { delayDuration: 300, titleTooltips: false, children: /* @__PURE__ */ jsx8("div", { className: cn7("flex h-full min-h-0 flex-col", className), children: detail ? /* @__PURE__ */ jsxs8(Fragment2, { children: [
1501
- /* @__PURE__ */ jsx8("div", { className: "flex h-12 shrink-0 items-center border-b border-border px-1", children: /* @__PURE__ */ jsxs8(
1502
- "button",
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
- type: "button",
1505
- onClick: () => select(null),
1506
- className: "inline-flex h-11 items-center gap-1 rounded-md px-2 text-sm text-muted-foreground hover:text-foreground",
1507
- children: [
1508
- /* @__PURE__ */ jsx8(ChevronLeftIcon, { className: "h-4 w-4" }),
1509
- "Back"
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
- ] }) : /* @__PURE__ */ jsxs8(Fragment2, { children: [
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 {