@ai-matrx/agents 0.38.4 → 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.
Files changed (56) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/catalog/index.cjs +3 -1
  3. package/dist/catalog/index.cjs.map +1 -1
  4. package/dist/catalog/index.d.cts +2 -2
  5. package/dist/catalog/index.d.ts +2 -2
  6. package/dist/catalog/index.js +3 -1
  7. package/dist/catalog/index.js.map +1 -1
  8. package/dist/catalog/native/index.cjs +4 -1
  9. package/dist/catalog/native/index.cjs.map +1 -1
  10. package/dist/catalog/native/index.d.cts +8 -3
  11. package/dist/catalog/native/index.d.ts +8 -3
  12. package/dist/catalog/native/index.js +4 -1
  13. package/dist/catalog/native/index.js.map +1 -1
  14. package/dist/catalog/react/index.cjs +1 -0
  15. package/dist/catalog/react/index.cjs.map +1 -1
  16. package/dist/catalog/react/index.d.cts +13 -1
  17. package/dist/catalog/react/index.d.ts +13 -1
  18. package/dist/catalog/react/index.js +1 -0
  19. package/dist/catalog/react/index.js.map +1 -1
  20. package/dist/content-transfer/index.cjs.map +1 -1
  21. package/dist/content-transfer/index.js.map +1 -1
  22. package/dist/content-transfer/react/index.cjs.map +1 -1
  23. package/dist/content-transfer/react/index.js.map +1 -1
  24. package/dist/context/index.cjs +3 -23
  25. package/dist/context/index.cjs.map +1 -1
  26. package/dist/context/index.d.cts +10 -13
  27. package/dist/context/index.d.ts +10 -13
  28. package/dist/context/index.js +5 -23
  29. package/dist/context/index.js.map +1 -1
  30. package/dist/context/react/index.cjs +263 -97
  31. package/dist/context/react/index.cjs.map +1 -1
  32. package/dist/context/react/index.d.cts +140 -15
  33. package/dist/context/react/index.d.ts +140 -15
  34. package/dist/context/react/index.js +266 -100
  35. package/dist/context/react/index.js.map +1 -1
  36. package/dist/index.cjs +6 -3
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.cts +9 -6
  39. package/dist/index.d.ts +9 -6
  40. package/dist/index.js +6 -3
  41. package/dist/index.js.map +1 -1
  42. package/dist/{keys.generated-DxG5tgWt.d.cts → keys.generated-myjGAtI0.d.cts} +4 -4
  43. package/dist/{keys.generated-DxG5tgWt.d.ts → keys.generated-myjGAtI0.d.ts} +4 -4
  44. package/dist/mandates/index.cjs +2 -2
  45. package/dist/mandates/index.cjs.map +1 -1
  46. package/dist/mandates/index.d.cts +2 -2
  47. package/dist/mandates/index.d.ts +2 -2
  48. package/dist/mandates/index.js +2 -2
  49. package/dist/mandates/index.js.map +1 -1
  50. package/dist/matrx/index.d.cts +1 -1
  51. package/dist/matrx/index.d.ts +1 -1
  52. package/dist/{orchestra-zpGHwOag.d.cts → orchestra-CiaTu58J.d.cts} +7 -0
  53. package/dist/{orchestra-zpGHwOag.d.ts → orchestra-CiaTu58J.d.ts} +7 -0
  54. package/mandates/snapshots/keys.0.39.0.json +653 -0
  55. package/mandates/snapshots/keys.0.40.0.json +653 -0
  56. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, ReactNode } from 'react';
3
- import { y as AgentCatalogNavigate, B as AgentCatalogOpenPeek, r as AgentCatalog, A as AgentSummary, F as AgentCatalogState, h as AgentTab, k as AgentSortOption, I as AgentFavFilter, g as AgentArchFilter, o as AgentAccessFilter, j as AgentConsumerState, O as DefaultRowState } from '../../orchestra-zpGHwOag.cjs';
4
- export { P as OrchestraBadge, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../../orchestra-zpGHwOag.cjs';
3
+ import { y as AgentCatalogNavigate, B as AgentCatalogOpenPeek, r as AgentCatalog, A as AgentSummary, F as AgentCatalogState, h as AgentTab, k as AgentSortOption, I as AgentFavFilter, g as AgentArchFilter, o as AgentAccessFilter, j as AgentConsumerState, O as DefaultRowState } from '../../orchestra-CiaTu58J.cjs';
4
+ export { P as OrchestraBadge, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../../orchestra-CiaTu58J.cjs';
5
5
 
6
6
  /**
7
7
  * The anchor a row renders for cmd/ctrl-click. DEFAULT (web): a plain `<a>` —
@@ -31,9 +31,14 @@ type AgentCatalogLinkComponent = ComponentType<{
31
31
  onClick?: (e: AgentCatalogLinkClickEvent) => void;
32
32
  children: ReactNode;
33
33
  }>;
34
- /** Render a model id as whatever door the host has. DEFAULT: plain text. */
34
+ /**
35
+ * Render a model id as whatever door the host has. DEFAULT: plain text.
36
+ * `offeringId` is the agent's class pin when the row carries it (`null` = no
37
+ * pin, the preferred class runs); ABSENT = unknown — name the model alone.
38
+ */
35
39
  type AgentCatalogRenderModelRef = (args: {
36
40
  modelId: string;
41
+ offeringId?: string | null;
37
42
  className?: string;
38
43
  }) => ReactNode;
39
44
  interface AgentCatalogUiPorts {
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, ReactNode } from 'react';
3
- import { y as AgentCatalogNavigate, B as AgentCatalogOpenPeek, r as AgentCatalog, A as AgentSummary, F as AgentCatalogState, h as AgentTab, k as AgentSortOption, I as AgentFavFilter, g as AgentArchFilter, o as AgentAccessFilter, j as AgentConsumerState, O as DefaultRowState } from '../../orchestra-zpGHwOag.js';
4
- export { P as OrchestraBadge, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../../orchestra-zpGHwOag.js';
3
+ import { y as AgentCatalogNavigate, B as AgentCatalogOpenPeek, r as AgentCatalog, A as AgentSummary, F as AgentCatalogState, h as AgentTab, k as AgentSortOption, I as AgentFavFilter, g as AgentArchFilter, o as AgentAccessFilter, j as AgentConsumerState, O as DefaultRowState } from '../../orchestra-CiaTu58J.js';
4
+ export { P as OrchestraBadge, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../../orchestra-CiaTu58J.js';
5
5
 
6
6
  /**
7
7
  * The anchor a row renders for cmd/ctrl-click. DEFAULT (web): a plain `<a>` —
@@ -31,9 +31,14 @@ type AgentCatalogLinkComponent = ComponentType<{
31
31
  onClick?: (e: AgentCatalogLinkClickEvent) => void;
32
32
  children: ReactNode;
33
33
  }>;
34
- /** Render a model id as whatever door the host has. DEFAULT: plain text. */
34
+ /**
35
+ * Render a model id as whatever door the host has. DEFAULT: plain text.
36
+ * `offeringId` is the agent's class pin when the row carries it (`null` = no
37
+ * pin, the preferred class runs); ABSENT = unknown — name the model alone.
38
+ */
35
39
  type AgentCatalogRenderModelRef = (args: {
36
40
  modelId: string;
41
+ offeringId?: string | null;
37
42
  className?: string;
38
43
  }) => ReactNode;
39
44
  interface AgentCatalogUiPorts {
@@ -1513,7 +1513,10 @@ function AgentDetailCard({ agent, onSelect }) {
1513
1513
  )
1514
1514
  ] })
1515
1515
  ] }),
1516
- agent.modelId && /* @__PURE__ */ jsx5(View, { children: renderModelRef({ modelId: agent.modelId }) }),
1516
+ agent.modelId && /* @__PURE__ */ jsx5(View, { children: renderModelRef({
1517
+ modelId: agent.modelId,
1518
+ ...agent.offeringId !== void 0 ? { offeringId: agent.offeringId } : {}
1519
+ }) }),
1517
1520
  (updated || created) && /* @__PURE__ */ jsxs2(View, { style: { gap: 4 }, children: [
1518
1521
  updated && /* @__PURE__ */ jsxs2(View, { style: styles.inline, children: [
1519
1522
  /* @__PURE__ */ jsx5(