@ai-matrx/agents 0.15.0 → 0.15.1

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.1
4
+
5
+ ### Added
6
+
7
+ - `AgentListPanel` `fill` — fill the parent instead of the fixed 680 × 528
8
+ footprint, for a resizable host (a window).
9
+
10
+ ### Changed
11
+
12
+ - The picker's list column flexes (`min-w-[340px] flex-1`); the peek column
13
+ stays 340px. In the dropdown's fixed 680px popover this is the same layout.
14
+
15
+ ### Consumer action
16
+
17
+ - None.
18
+
3
19
  ## 0.15.0
4
20
 
5
21
  ### Added
@@ -2365,7 +2365,7 @@ function AgentListPanelBody({
2365
2365
  ) : listPanel });
2366
2366
  }
2367
2367
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: (0, import_design_system7.cn)("flex h-full", className), children: [
2368
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "flex flex-col min-w-0 w-[340px] shrink-0 border-r border-border", children: listPanel }),
2368
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "flex flex-col min-w-[340px] flex-1 border-r border-border", children: listPanel }),
2369
2369
  /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
2370
2370
  "div",
2371
2371
  {
@@ -2434,6 +2434,7 @@ function AgentListPanel({
2434
2434
  defaultMandateKey,
2435
2435
  resolveAgentHref: resolveAgentHrefProp,
2436
2436
  className,
2437
+ fill = false,
2437
2438
  ...display
2438
2439
  }) {
2439
2440
  const isMobile = (0, import_design_system7.useIsMobile)();
@@ -2456,8 +2457,8 @@ function AgentListPanel({
2456
2457
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2457
2458
  "div",
2458
2459
  {
2459
- className: (0, import_design_system7.cn)("flex min-h-0 flex-col overflow-hidden", isMobile && "h-full w-full", className),
2460
- style: isMobile ? void 0 : { width: PANEL_WIDTH, height: PANEL_HEIGHT },
2460
+ className: (0, import_design_system7.cn)("flex min-h-0 flex-col overflow-hidden", (isMobile || fill) && "h-full w-full", className),
2461
+ style: isMobile || fill ? void 0 : { width: PANEL_WIDTH, height: PANEL_HEIGHT },
2461
2462
  children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2462
2463
  AgentListPanelBody,
2463
2464
  {