@ai-matrx/agents 0.13.12 → 0.13.14
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 +13 -0
- package/dist/catalog/react/index.cjs +23 -19
- package/dist/catalog/react/index.cjs.map +1 -1
- package/dist/catalog/react/index.js +6 -2
- package/dist/catalog/react/index.js.map +1 -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/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +4 -4
- package/dist/mandates/index.d.ts +4 -4
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/mandates/snapshots/keys.0.13.12.json +1 -1
- package/mandates/snapshots/keys.0.13.13.json +618 -0
- package/mandates/snapshots/keys.0.13.14.json +618 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.14
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/matrx-agents/v0.13.13..npm/matrx-agents/v0.13.14 -- apps/shared/matrx-agents`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.13.13
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/matrx-agents/v0.13.12..npm/matrx-agents/v0.13.13 -- apps/shared/matrx-agents`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
3
15
|
## 0.13.12
|
|
4
16
|
|
|
5
17
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
@@ -1139,3 +1151,4 @@ byte-identical to v0.6.0). No source changes and no consumer action required.
|
|
|
1139
1151
|
reasoning and signature material from Creator-facing output.
|
|
1140
1152
|
- Added strict tests, ESM declarations, packed-artifact validation, and an
|
|
1141
1153
|
isolated consumer import canary.
|
|
1154
|
+
|
|
@@ -950,7 +950,7 @@ function useAgentListCore({
|
|
|
950
950
|
var selectStatus = (state) => state.status;
|
|
951
951
|
|
|
952
952
|
// catalog/react/AgentListDropdown.tsx
|
|
953
|
-
var
|
|
953
|
+
var import_design_system7 = require("@ai-matrx/design-system");
|
|
954
954
|
var import_react7 = require("react");
|
|
955
955
|
|
|
956
956
|
// catalog/react/primitives.tsx
|
|
@@ -1576,6 +1576,7 @@ function AgentDetailCard({ agent, onSelect }) {
|
|
|
1576
1576
|
var iconButtonClass = "flex items-center justify-center h-7 w-7 rounded-md border border-border bg-background text-muted-foreground hover:text-primary hover:bg-muted/50 transition-colors shrink-0";
|
|
1577
1577
|
|
|
1578
1578
|
// catalog/react/AgentListContent.tsx
|
|
1579
|
+
var import_design_system6 = require("@ai-matrx/design-system");
|
|
1579
1580
|
var import_react6 = require("react");
|
|
1580
1581
|
|
|
1581
1582
|
// catalog/react/types.ts
|
|
@@ -1894,10 +1895,13 @@ function AgentListContent({
|
|
|
1894
1895
|
}
|
|
1895
1896
|
),
|
|
1896
1897
|
defaultRow?.error && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
1897
|
-
|
|
1898
|
+
import_design_system6.ErrorBox,
|
|
1898
1899
|
{
|
|
1899
|
-
|
|
1900
|
+
as: "div",
|
|
1900
1901
|
className: "matrx-agent-drift-banner mx-2 mb-1.5 flex items-start gap-2 rounded-md px-2 py-1.5 shrink-0",
|
|
1902
|
+
message: defaultRow.error,
|
|
1903
|
+
operation: `Load the default agent for ${defaultRow.mandateKey}`,
|
|
1904
|
+
origin: "agents/AgentListContent",
|
|
1901
1905
|
children: [
|
|
1902
1906
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(AlertTriangleIcon, { className: "w-3.5 h-3.5 shrink-0 mt-px" }),
|
|
1903
1907
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-[11px] leading-snug flex-1", children: defaultRow.error }),
|
|
@@ -2197,7 +2201,7 @@ function AgentListDropdown({
|
|
|
2197
2201
|
excludeAgentIds,
|
|
2198
2202
|
defaultMandateKey
|
|
2199
2203
|
}) {
|
|
2200
|
-
const isMobile = (0,
|
|
2204
|
+
const isMobile = (0, import_design_system7.useIsMobile)();
|
|
2201
2205
|
const { labels } = useAgentCatalog();
|
|
2202
2206
|
const { popoverContainer } = useAgentCatalogUiPorts();
|
|
2203
2207
|
const [open, setOpen] = (0, import_react7.useState)(false);
|
|
@@ -2301,7 +2305,7 @@ function AgentListDropdown({
|
|
|
2301
2305
|
"button",
|
|
2302
2306
|
{
|
|
2303
2307
|
type: "button",
|
|
2304
|
-
className: (0,
|
|
2308
|
+
className: (0, import_design_system7.cn)(
|
|
2305
2309
|
"inline-flex items-center rounded-md text-xs font-medium transition-colors",
|
|
2306
2310
|
"bg-background hover:bg-muted/50 text-foreground/80 hover:text-foreground",
|
|
2307
2311
|
compact ? "h-5 gap-1 px-1.5" : "h-7 gap-1.5 px-2.5",
|
|
@@ -2319,9 +2323,9 @@ function AgentListDropdown({
|
|
|
2319
2323
|
if (!showAssignedTooltip) {
|
|
2320
2324
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Trigger, { asChild: true, children: triggerButton });
|
|
2321
2325
|
}
|
|
2322
|
-
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
2323
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2324
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2326
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_design_system7.Tooltip, { ...open ? { open: false } : {}, children: [
|
|
2327
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_design_system7.TooltipTrigger, { asChild: true, children: triggerButton }) }),
|
|
2328
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_design_system7.TooltipContent, { side: "bottom", className: "max-w-xs", children: displayLabel })
|
|
2325
2329
|
] });
|
|
2326
2330
|
};
|
|
2327
2331
|
const listPanel = /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
@@ -2357,10 +2361,10 @@ function AgentListDropdown({
|
|
|
2357
2361
|
}
|
|
2358
2362
|
);
|
|
2359
2363
|
if (isMobile) {
|
|
2360
|
-
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
2361
|
-
wrapTrigger(
|
|
2362
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
2363
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2364
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_design_system7.Drawer, { open, onOpenChange: handleOpen, children: [
|
|
2365
|
+
wrapTrigger(import_design_system7.DrawerTrigger),
|
|
2366
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_design_system7.DrawerContent, { className: "h-[85dvh]", children: [
|
|
2367
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_design_system7.DrawerTitle, { className: "sr-only", children: "Select Agent" }),
|
|
2364
2368
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "flex flex-col overflow-hidden flex-1 min-h-0", children: mobileDetailAgent ? /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex flex-col overflow-hidden", children: [
|
|
2365
2369
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
2366
2370
|
"button",
|
|
@@ -2402,10 +2406,10 @@ function AgentListDropdown({
|
|
|
2402
2406
|
] })
|
|
2403
2407
|
] });
|
|
2404
2408
|
}
|
|
2405
|
-
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
2406
|
-
wrapTrigger(
|
|
2409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_design_system7.Popover, { open, onOpenChange: handleOpen, modal: false, children: [
|
|
2410
|
+
wrapTrigger(import_design_system7.PopoverTrigger),
|
|
2407
2411
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2408
|
-
|
|
2412
|
+
import_design_system7.PopoverContent,
|
|
2409
2413
|
{
|
|
2410
2414
|
...contentSide ? { side: contentSide } : {},
|
|
2411
2415
|
align: "start",
|
|
@@ -2478,7 +2482,7 @@ function AgentListDropdown({
|
|
|
2478
2482
|
}
|
|
2479
2483
|
|
|
2480
2484
|
// catalog/react/AgentListInlinePicker.tsx
|
|
2481
|
-
var
|
|
2485
|
+
var import_design_system8 = require("@ai-matrx/design-system");
|
|
2482
2486
|
var import_react8 = require("react");
|
|
2483
2487
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
2484
2488
|
function AgentListInlinePicker({
|
|
@@ -2545,7 +2549,7 @@ function AgentListInlinePicker({
|
|
|
2545
2549
|
};
|
|
2546
2550
|
const isMobile = true;
|
|
2547
2551
|
if (mobileDetailAgent) {
|
|
2548
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: (0,
|
|
2552
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: (0, import_design_system8.cn)("flex h-full min-h-0 flex-col", className), children: [
|
|
2549
2553
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2550
2554
|
"button",
|
|
2551
2555
|
{
|
|
@@ -2568,7 +2572,7 @@ function AgentListInlinePicker({
|
|
|
2568
2572
|
] });
|
|
2569
2573
|
}
|
|
2570
2574
|
if (mobileSubView) {
|
|
2571
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: (0,
|
|
2575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: (0, import_design_system8.cn)("flex h-full min-h-0 flex-col", className), children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2572
2576
|
AgentMobileSubView,
|
|
2573
2577
|
{
|
|
2574
2578
|
view: mobileSubView,
|
|
@@ -2587,7 +2591,7 @@ function AgentListInlinePicker({
|
|
|
2587
2591
|
}
|
|
2588
2592
|
) });
|
|
2589
2593
|
}
|
|
2590
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: (0,
|
|
2594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: (0, import_design_system8.cn)("flex h-full min-h-0 flex-col", className), children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2591
2595
|
AgentListContent,
|
|
2592
2596
|
{
|
|
2593
2597
|
agents,
|