@ai-matrx/agents 0.38.3 → 0.40.0
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 +27 -0
- package/dist/catalog/index.cjs +3 -1
- package/dist/catalog/index.cjs.map +1 -1
- package/dist/catalog/index.d.cts +2 -2
- package/dist/catalog/index.d.ts +2 -2
- package/dist/catalog/index.js +3 -1
- package/dist/catalog/index.js.map +1 -1
- package/dist/catalog/native/index.cjs +4 -1
- package/dist/catalog/native/index.cjs.map +1 -1
- package/dist/catalog/native/index.d.cts +8 -3
- package/dist/catalog/native/index.d.ts +8 -3
- package/dist/catalog/native/index.js +4 -1
- package/dist/catalog/native/index.js.map +1 -1
- package/dist/catalog/react/index.cjs +1 -0
- package/dist/catalog/react/index.cjs.map +1 -1
- package/dist/catalog/react/index.d.cts +13 -1
- package/dist/catalog/react/index.d.ts +13 -1
- package/dist/catalog/react/index.js +1 -0
- 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/context/index.cjs +3 -23
- package/dist/context/index.cjs.map +1 -1
- package/dist/context/index.d.cts +10 -13
- package/dist/context/index.d.ts +10 -13
- package/dist/context/index.js +5 -23
- package/dist/context/index.js.map +1 -1
- package/dist/context/react/index.cjs +263 -97
- package/dist/context/react/index.cjs.map +1 -1
- package/dist/context/react/index.d.cts +140 -15
- package/dist/context/react/index.d.ts +140 -15
- package/dist/context/react/index.js +266 -100
- package/dist/context/react/index.js.map +1 -1
- package/dist/generated/api-types.cjs.map +1 -1
- package/dist/generated/api-types.d.cts +1 -1
- package/dist/generated/api-types.d.ts +1 -1
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/{keys.generated-BdQt09qH.d.cts → keys.generated-myjGAtI0.d.cts} +4 -4
- package/dist/{keys.generated-BdQt09qH.d.ts → keys.generated-myjGAtI0.d.ts} +4 -4
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +2 -2
- package/dist/mandates/index.d.ts +2 -2
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/dist/matrx/index.d.cts +1 -1
- package/dist/matrx/index.d.ts +1 -1
- package/dist/{orchestra-zpGHwOag.d.cts → orchestra-CiaTu58J.d.cts} +7 -0
- package/dist/{orchestra-zpGHwOag.d.ts → orchestra-CiaTu58J.d.ts} +7 -0
- package/generated/api-types.ts +1 -1
- package/mandates/snapshots/keys.0.38.4.json +653 -0
- package/mandates/snapshots/keys.0.39.0.json +653 -0
- package/mandates/snapshots/keys.0.40.0.json +653 -0
- package/package.json +4 -4
|
@@ -87,6 +87,13 @@ interface AgentSummary {
|
|
|
87
87
|
tags: string[];
|
|
88
88
|
agentType: AgentCatalogAgentType;
|
|
89
89
|
modelId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* The agent's CLASS pin (`settings.offering_id` — which serving class of
|
|
92
|
+
* the model runs, e.g. "Matrx Lightning"). `null` = no pin (the model's
|
|
93
|
+
* preferred class runs). ABSENT = the read did not carry the column, so the
|
|
94
|
+
* class is unknown and a display must name the model alone.
|
|
95
|
+
*/
|
|
96
|
+
offeringId?: string | null;
|
|
90
97
|
isActive: boolean;
|
|
91
98
|
isArchived: boolean;
|
|
92
99
|
isFavorite: boolean;
|
|
@@ -474,9 +481,14 @@ type AgentCatalogLinkComponent = ComponentType<{
|
|
|
474
481
|
onClick?: (e: AgentCatalogLinkClickEvent) => void;
|
|
475
482
|
children: ReactNode;
|
|
476
483
|
}>;
|
|
477
|
-
/**
|
|
484
|
+
/**
|
|
485
|
+
* Render a model id as whatever door the host has. DEFAULT: plain text.
|
|
486
|
+
* `offeringId` is the agent's class pin when the row carries it (`null` = no
|
|
487
|
+
* pin, the preferred class runs); ABSENT = unknown — name the model alone.
|
|
488
|
+
*/
|
|
478
489
|
type AgentCatalogRenderModelRef = (args: {
|
|
479
490
|
modelId: string;
|
|
491
|
+
offeringId?: string | null;
|
|
480
492
|
className?: string;
|
|
481
493
|
}) => ReactNode;
|
|
482
494
|
interface AgentCatalogUiPorts {
|
|
@@ -87,6 +87,13 @@ interface AgentSummary {
|
|
|
87
87
|
tags: string[];
|
|
88
88
|
agentType: AgentCatalogAgentType;
|
|
89
89
|
modelId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* The agent's CLASS pin (`settings.offering_id` — which serving class of
|
|
92
|
+
* the model runs, e.g. "Matrx Lightning"). `null` = no pin (the model's
|
|
93
|
+
* preferred class runs). ABSENT = the read did not carry the column, so the
|
|
94
|
+
* class is unknown and a display must name the model alone.
|
|
95
|
+
*/
|
|
96
|
+
offeringId?: string | null;
|
|
90
97
|
isActive: boolean;
|
|
91
98
|
isArchived: boolean;
|
|
92
99
|
isFavorite: boolean;
|
|
@@ -474,9 +481,14 @@ type AgentCatalogLinkComponent = ComponentType<{
|
|
|
474
481
|
onClick?: (e: AgentCatalogLinkClickEvent) => void;
|
|
475
482
|
children: ReactNode;
|
|
476
483
|
}>;
|
|
477
|
-
/**
|
|
484
|
+
/**
|
|
485
|
+
* Render a model id as whatever door the host has. DEFAULT: plain text.
|
|
486
|
+
* `offeringId` is the agent's class pin when the row carries it (`null` = no
|
|
487
|
+
* pin, the preferred class runs); ABSENT = unknown — name the model alone.
|
|
488
|
+
*/
|
|
478
489
|
type AgentCatalogRenderModelRef = (args: {
|
|
479
490
|
modelId: string;
|
|
491
|
+
offeringId?: string | null;
|
|
480
492
|
className?: string;
|
|
481
493
|
}) => ReactNode;
|
|
482
494
|
interface AgentCatalogUiPorts {
|
|
@@ -1467,6 +1467,7 @@ function AgentDetailCard({ agent, onSelect }) {
|
|
|
1467
1467
|
] }),
|
|
1468
1468
|
agent.modelId && /* @__PURE__ */ jsx7("div", { className: "flex items-center gap-2", children: renderModelRef({
|
|
1469
1469
|
modelId: agent.modelId,
|
|
1470
|
+
...agent.offeringId !== void 0 ? { offeringId: agent.offeringId } : {},
|
|
1470
1471
|
className: "max-w-full text-xs text-foreground/80"
|
|
1471
1472
|
}) }),
|
|
1472
1473
|
(updatedDate || createdDate) && /* @__PURE__ */ jsxs4("div", { className: "pt-1 space-y-1", children: [
|