@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.
@@ -1543,6 +1543,7 @@ function AgentDetailCard({ agent, onSelect }) {
1543
1543
  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";
1544
1544
 
1545
1545
  // catalog/react/AgentListContent.tsx
1546
+ import { ErrorBox } from "@ai-matrx/design-system";
1546
1547
  import { useEffect as useEffect3, useRef as useRef3 } from "react";
1547
1548
 
1548
1549
  // catalog/react/types.ts
@@ -1861,10 +1862,13 @@ function AgentListContent({
1861
1862
  }
1862
1863
  ),
1863
1864
  defaultRow?.error && /* @__PURE__ */ jsxs8(
1864
- "div",
1865
+ ErrorBox,
1865
1866
  {
1866
- role: "alert",
1867
+ as: "div",
1867
1868
  className: "matrx-agent-drift-banner mx-2 mb-1.5 flex items-start gap-2 rounded-md px-2 py-1.5 shrink-0",
1869
+ message: defaultRow.error,
1870
+ operation: `Load the default agent for ${defaultRow.mandateKey}`,
1871
+ origin: "agents/AgentListContent",
1868
1872
  children: [
1869
1873
  /* @__PURE__ */ jsx11(AlertTriangleIcon, { className: "w-3.5 h-3.5 shrink-0 mt-px" }),
1870
1874
  /* @__PURE__ */ jsx11("span", { className: "text-[11px] leading-snug flex-1", children: defaultRow.error }),