@ai-matrx/agents 0.43.9 → 0.43.11

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 (37) hide show
  1. package/CHANGELOG.md +12 -0
  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 +117 -7
  14. package/dist/generated/api-types.d.ts +117 -7
  15. package/dist/generated/stream-events.cjs +296 -0
  16. package/dist/generated/stream-events.cjs.map +1 -1
  17. package/dist/generated/stream-events.d.cts +34 -2
  18. package/dist/generated/stream-events.d.ts +34 -2
  19. package/dist/generated/stream-events.js +296 -0
  20. package/dist/generated/stream-events.js.map +1 -1
  21. package/dist/index.d.cts +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/{keys.generated-Dfy6RITs.d.cts → keys.generated-5CeTgBps.d.cts} +4 -4
  24. package/dist/{keys.generated-Dfy6RITs.d.ts → keys.generated-5CeTgBps.d.ts} +4 -4
  25. package/dist/mandates/index.cjs +2 -2
  26. package/dist/mandates/index.cjs.map +1 -1
  27. package/dist/mandates/index.d.cts +2 -2
  28. package/dist/mandates/index.d.ts +2 -2
  29. package/dist/mandates/index.js +2 -2
  30. package/dist/mandates/index.js.map +1 -1
  31. package/dist/matrx/index.d.cts +1 -1
  32. package/dist/matrx/index.d.ts +1 -1
  33. package/generated/api-types.ts +117 -7
  34. package/generated/stream-events.ts +333 -0
  35. package/mandates/snapshots/keys.0.43.10.json +653 -0
  36. package/mandates/snapshots/keys.0.43.11.json +653 -0
  37. package/package.json +1 -1
@@ -1515,32 +1515,50 @@ function ContextRulesPanelBody({
1515
1515
  loadView
1516
1516
  }
1517
1517
  ) : null;
1518
- if (isMobile) {
1519
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_design_system7.TooltipProvider, { delayDuration: 300, titleTooltips: false, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: (0, import_design_system7.cn)("flex h-full min-h-0 flex-col", className), children: detail ? /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
1520
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex h-12 shrink-0 items-center border-b border-border px-1", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1521
- "button",
1518
+ const sideBySide = !isMobile;
1519
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_design_system7.TooltipProvider, { delayDuration: 300, titleTooltips: false, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { "data-slot": "context-rules-panel", className: (0, import_design_system7.cn)("@container flex h-full min-h-0 min-w-0", className), children: [
1520
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1521
+ "aside",
1522
+ {
1523
+ "data-slot": "context-rules-list",
1524
+ className: (0, import_design_system7.cn)(
1525
+ "flex min-h-0 min-w-0 flex-col",
1526
+ !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"
1527
+ ),
1528
+ children: [
1529
+ search,
1530
+ table
1531
+ ]
1532
+ }
1533
+ ),
1534
+ detail ? /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { "data-slot": "context-rules-detail", className: "flex min-h-0 min-w-0 flex-1 flex-col", children: [
1535
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1536
+ "div",
1522
1537
  {
1523
- type: "button",
1524
- onClick: () => select(null),
1525
- className: "inline-flex h-11 items-center gap-1 rounded-md px-2 text-sm text-muted-foreground hover:text-foreground",
1526
- children: [
1527
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChevronLeftIcon, { className: "h-4 w-4" }),
1528
- "Back"
1529
- ]
1538
+ className: (0, import_design_system7.cn)(
1539
+ "flex shrink-0 items-center border-b border-border px-1",
1540
+ comfortable ? "h-12" : "h-8",
1541
+ sideBySide && "@min-[40rem]:hidden"
1542
+ ),
1543
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1544
+ "button",
1545
+ {
1546
+ type: "button",
1547
+ onClick: () => select(null),
1548
+ className: (0, import_design_system7.cn)(
1549
+ "inline-flex items-center gap-1 rounded-md px-2 text-muted-foreground hover:text-foreground",
1550
+ comfortable ? "h-11 text-sm" : "h-7 text-xs"
1551
+ ),
1552
+ children: [
1553
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChevronLeftIcon, { className: comfortable ? "h-4 w-4" : "h-3.5 w-3.5" }),
1554
+ "Back"
1555
+ ]
1556
+ }
1557
+ )
1530
1558
  }
1531
- ) }),
1559
+ ),
1532
1560
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "min-h-0 flex-1 overflow-y-auto", children: detail })
1533
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
1534
- search,
1535
- table
1536
- ] }) }) });
1537
- }
1538
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_design_system7.TooltipProvider, { delayDuration: 300, titleTooltips: false, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: (0, import_design_system7.cn)("flex h-full min-h-0", className), children: [
1539
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("aside", { className: "flex w-[22rem] shrink-0 flex-col border-r border-border", children: [
1540
- search,
1541
- table
1542
- ] }),
1543
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("section", { className: "min-h-0 min-w-0 flex-1 overflow-y-auto", children: detail ?? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex h-full items-center justify-center text-xs text-muted-foreground", children: "Select an item" }) })
1561
+ ] }) : null
1544
1562
  ] }) });
1545
1563
  }
1546
1564
  //# sourceMappingURL=index.cjs.map