@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 +16 -0
- package/dist/catalog/react/index.cjs +4 -3
- package/dist/catalog/react/index.cjs.map +1 -1
- package/dist/catalog/react/index.d.cts +9 -2
- package/dist/catalog/react/index.d.ts +9 -2
- package/dist/catalog/react/index.js +4 -3
- 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.15.1.json +625 -0
- package/package.json +3 -3
|
@@ -792,6 +792,12 @@ interface AgentListPanelBodyProps extends AgentListPanelDisplayProps {
|
|
|
792
792
|
/** The picker body over a core the host already holds. Fills its parent. */
|
|
793
793
|
declare function AgentListPanelBody({ core, visibleTabs, systemTabLabel, includeSystemInAll, resolveAgentHref, showPinnedAgent, autoFocusSearch, onAfterSelect, className, }: AgentListPanelBodyProps): react.JSX.Element;
|
|
794
794
|
interface AgentListPanelProps extends AgentListPanelDisplayProps {
|
|
795
|
+
/**
|
|
796
|
+
* Fill the parent instead of the fixed `PANEL_WIDTH` × `PANEL_HEIGHT`
|
|
797
|
+
* footprint — for a resizable host (a window). The list column takes the
|
|
798
|
+
* extra width; the peek column stays 340px.
|
|
799
|
+
*/
|
|
800
|
+
fill?: boolean;
|
|
795
801
|
/** Unique consumer id for this picker's filter/tab state. */
|
|
796
802
|
consumerId: string;
|
|
797
803
|
/** The chosen agent's id (`mandate:<key>` for a mandate default row). */
|
|
@@ -809,9 +815,10 @@ interface AgentListPanelProps extends AgentListPanelDisplayProps {
|
|
|
809
815
|
}
|
|
810
816
|
/**
|
|
811
817
|
* The self-contained picker: owns its list core. Desktop renders at the fixed
|
|
812
|
-
* `PANEL_WIDTH` × `PANEL_HEIGHT` footprint
|
|
818
|
+
* `PANEL_WIDTH` × `PANEL_HEIGHT` footprint (or fills its parent with `fill`);
|
|
819
|
+
* mobile fills its parent.
|
|
813
820
|
*/
|
|
814
|
-
declare function AgentListPanel({ consumerId, onSelect, navigateTo, activeAgentId, initialTab, includeSystemInAll, visibleTabs, excludeAgentIds, defaultMandateKey, resolveAgentHref: resolveAgentHrefProp, className, ...display }: AgentListPanelProps): react.JSX.Element;
|
|
821
|
+
declare function AgentListPanel({ consumerId, onSelect, navigateTo, activeAgentId, initialTab, includeSystemInAll, visibleTabs, excludeAgentIds, defaultMandateKey, resolveAgentHref: resolveAgentHrefProp, className, fill, ...display }: AgentListPanelProps): react.JSX.Element;
|
|
815
822
|
|
|
816
823
|
interface AgentListInlinePickerProps {
|
|
817
824
|
/** Unique consumer id for filter/tab state (see `useAgentConsumer`). */
|
|
@@ -792,6 +792,12 @@ interface AgentListPanelBodyProps extends AgentListPanelDisplayProps {
|
|
|
792
792
|
/** The picker body over a core the host already holds. Fills its parent. */
|
|
793
793
|
declare function AgentListPanelBody({ core, visibleTabs, systemTabLabel, includeSystemInAll, resolveAgentHref, showPinnedAgent, autoFocusSearch, onAfterSelect, className, }: AgentListPanelBodyProps): react.JSX.Element;
|
|
794
794
|
interface AgentListPanelProps extends AgentListPanelDisplayProps {
|
|
795
|
+
/**
|
|
796
|
+
* Fill the parent instead of the fixed `PANEL_WIDTH` × `PANEL_HEIGHT`
|
|
797
|
+
* footprint — for a resizable host (a window). The list column takes the
|
|
798
|
+
* extra width; the peek column stays 340px.
|
|
799
|
+
*/
|
|
800
|
+
fill?: boolean;
|
|
795
801
|
/** Unique consumer id for this picker's filter/tab state. */
|
|
796
802
|
consumerId: string;
|
|
797
803
|
/** The chosen agent's id (`mandate:<key>` for a mandate default row). */
|
|
@@ -809,9 +815,10 @@ interface AgentListPanelProps extends AgentListPanelDisplayProps {
|
|
|
809
815
|
}
|
|
810
816
|
/**
|
|
811
817
|
* The self-contained picker: owns its list core. Desktop renders at the fixed
|
|
812
|
-
* `PANEL_WIDTH` × `PANEL_HEIGHT` footprint
|
|
818
|
+
* `PANEL_WIDTH` × `PANEL_HEIGHT` footprint (or fills its parent with `fill`);
|
|
819
|
+
* mobile fills its parent.
|
|
813
820
|
*/
|
|
814
|
-
declare function AgentListPanel({ consumerId, onSelect, navigateTo, activeAgentId, initialTab, includeSystemInAll, visibleTabs, excludeAgentIds, defaultMandateKey, resolveAgentHref: resolveAgentHrefProp, className, ...display }: AgentListPanelProps): react.JSX.Element;
|
|
821
|
+
declare function AgentListPanel({ consumerId, onSelect, navigateTo, activeAgentId, initialTab, includeSystemInAll, visibleTabs, excludeAgentIds, defaultMandateKey, resolveAgentHref: resolveAgentHrefProp, className, fill, ...display }: AgentListPanelProps): react.JSX.Element;
|
|
815
822
|
|
|
816
823
|
interface AgentListInlinePickerProps {
|
|
817
824
|
/** Unique consumer id for filter/tab state (see `useAgentConsumer`). */
|
|
@@ -2328,7 +2328,7 @@ function AgentListPanelBody({
|
|
|
2328
2328
|
) : listPanel });
|
|
2329
2329
|
}
|
|
2330
2330
|
return /* @__PURE__ */ jsxs12("div", { className: cn6("flex h-full", className), children: [
|
|
2331
|
-
/* @__PURE__ */ jsx15("div", { className: "flex flex-col min-w-
|
|
2331
|
+
/* @__PURE__ */ jsx15("div", { className: "flex flex-col min-w-[340px] flex-1 border-r border-border", children: listPanel }),
|
|
2332
2332
|
/* @__PURE__ */ jsxs12(
|
|
2333
2333
|
"div",
|
|
2334
2334
|
{
|
|
@@ -2397,6 +2397,7 @@ function AgentListPanel({
|
|
|
2397
2397
|
defaultMandateKey,
|
|
2398
2398
|
resolveAgentHref: resolveAgentHrefProp,
|
|
2399
2399
|
className,
|
|
2400
|
+
fill = false,
|
|
2400
2401
|
...display
|
|
2401
2402
|
}) {
|
|
2402
2403
|
const isMobile = useIsMobile();
|
|
@@ -2419,8 +2420,8 @@ function AgentListPanel({
|
|
|
2419
2420
|
return /* @__PURE__ */ jsx15(
|
|
2420
2421
|
"div",
|
|
2421
2422
|
{
|
|
2422
|
-
className: cn6("flex min-h-0 flex-col overflow-hidden", isMobile && "h-full w-full", className),
|
|
2423
|
-
style: isMobile ? void 0 : { width: PANEL_WIDTH, height: PANEL_HEIGHT },
|
|
2423
|
+
className: cn6("flex min-h-0 flex-col overflow-hidden", (isMobile || fill) && "h-full w-full", className),
|
|
2424
|
+
style: isMobile || fill ? void 0 : { width: PANEL_WIDTH, height: PANEL_HEIGHT },
|
|
2424
2425
|
children: /* @__PURE__ */ jsx15(
|
|
2425
2426
|
AgentListPanelBody,
|
|
2426
2427
|
{
|