@ai-matrx/agents 0.21.45 → 0.22.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 (34) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/catalog/index.cjs +7 -0
  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 +7 -0
  7. package/dist/catalog/index.js.map +1 -1
  8. package/dist/catalog/native/index.cjs +1 -1
  9. package/dist/catalog/native/index.cjs.map +1 -1
  10. package/dist/catalog/native/index.d.cts +2 -2
  11. package/dist/catalog/native/index.d.ts +2 -2
  12. package/dist/catalog/native/index.js +1 -1
  13. package/dist/catalog/native/index.js.map +1 -1
  14. package/dist/catalog/react/index.cjs +1 -1
  15. package/dist/catalog/react/index.cjs.map +1 -1
  16. package/dist/catalog/react/index.d.cts +2 -0
  17. package/dist/catalog/react/index.d.ts +2 -0
  18. package/dist/catalog/react/index.js +1 -1
  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/mandates/index.cjs +2 -2
  25. package/dist/mandates/index.cjs.map +1 -1
  26. package/dist/mandates/index.d.cts +4 -4
  27. package/dist/mandates/index.d.ts +4 -4
  28. package/dist/mandates/index.js +2 -2
  29. package/dist/mandates/index.js.map +1 -1
  30. package/dist/{orchestra-PbGGooqJ.d.cts → orchestra-zpGHwOag.d.cts} +9 -0
  31. package/dist/{orchestra-PbGGooqJ.d.ts → orchestra-zpGHwOag.d.ts} +9 -0
  32. package/mandates/snapshots/keys.0.21.46.json +652 -0
  33. package/mandates/snapshots/keys.0.22.0.json +652 -0
  34. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { A as AgentSummary, a as AgentCatalogClient, b as AgentCatalogFavorites, c as AgentCatalogTransport, d as AgentCatalogStorageLike, e as AgentCatalogErrorSink, R as ResolvedDefaultRow, f as AgentCatalogStorage, M as MandateResolutionVerdict, g as AgentArchFilter, h as AgentTab, i as AgentCatalogLabels, j as AgentConsumerState, k as AgentSortOption } from '../orchestra-PbGGooqJ.cjs';
2
- export { l as AGENT_NONE_SENTINEL, m as ARCHIVE_FILTER_OPTIONS, n as ARCHIVE_FILTER_ORDER, o as AgentAccessFilter, p as AgentAccessLevel, q as AgentArchFilterOption, r as AgentCatalog, s as AgentCatalogAgentType, t as AgentCatalogAsyncStorage, u as AgentCatalogConfig, v as AgentCatalogConfigError, w as AgentCatalogDefaults, x as AgentCatalogIdentity, y as AgentCatalogNavigate, z as AgentCatalogNotifier, B as AgentCatalogOpenPeek, C as AgentCatalogResolveHref, D as AgentCatalogRpcCall, E as AgentCatalogSchemaReport, F as AgentCatalogState, G as AgentCatalogStatus, H as AgentConsumerPatch, I as AgentFavFilter, J as AgentId, K as AssertAgentCatalogSchemaOptions, L as DEFAULT_AGENT_CATALOG_LABELS, N as DEFAULT_AGENT_CONSUMER_STATE, O as DefaultRowState, P as OrchestraBadge, Q as PgErrorLike, S as PgResultLike, T as SORT_OPTIONS, U as asAgentId, V as assertAgentCatalogSchema, W as createAgentCatalog, X as getRegisteredAgentCatalog, Y as isAgentArchFilter, Z as isMandateAgentId, _ as mandateAgentId, $ as nextArchFilter, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../orchestra-PbGGooqJ.cjs';
1
+ import { A as AgentSummary, a as AgentCatalogClient, b as AgentCatalogFavorites, c as AgentCatalogTransport, d as AgentCatalogStorageLike, e as AgentCatalogErrorSink, R as ResolvedDefaultRow, f as AgentCatalogStorage, M as MandateResolutionVerdict, g as AgentArchFilter, h as AgentTab, i as AgentCatalogLabels, j as AgentConsumerState, k as AgentSortOption } from '../orchestra-zpGHwOag.cjs';
2
+ export { l as AGENT_NONE_SENTINEL, m as ARCHIVE_FILTER_OPTIONS, n as ARCHIVE_FILTER_ORDER, o as AgentAccessFilter, p as AgentAccessLevel, q as AgentArchFilterOption, r as AgentCatalog, s as AgentCatalogAgentType, t as AgentCatalogAsyncStorage, u as AgentCatalogConfig, v as AgentCatalogConfigError, w as AgentCatalogDefaults, x as AgentCatalogIdentity, y as AgentCatalogNavigate, z as AgentCatalogNotifier, B as AgentCatalogOpenPeek, C as AgentCatalogResolveHref, D as AgentCatalogRpcCall, E as AgentCatalogSchemaReport, F as AgentCatalogState, G as AgentCatalogStatus, H as AgentConsumerPatch, I as AgentFavFilter, J as AgentId, K as AssertAgentCatalogSchemaOptions, L as DEFAULT_AGENT_CATALOG_LABELS, N as DEFAULT_AGENT_CONSUMER_STATE, O as DefaultRowState, P as OrchestraBadge, Q as PgErrorLike, S as PgResultLike, T as SORT_OPTIONS, U as asAgentId, V as assertAgentCatalogSchema, W as createAgentCatalog, X as getRegisteredAgentCatalog, Y as isAgentArchFilter, Z as isMandateAgentId, _ as mandateAgentId, $ as nextArchFilter, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../orchestra-zpGHwOag.cjs';
3
3
 
4
4
  /**
5
5
  * catalog/data.ts — @ai-matrx/agents/catalog
@@ -1,5 +1,5 @@
1
- import { A as AgentSummary, a as AgentCatalogClient, b as AgentCatalogFavorites, c as AgentCatalogTransport, d as AgentCatalogStorageLike, e as AgentCatalogErrorSink, R as ResolvedDefaultRow, f as AgentCatalogStorage, M as MandateResolutionVerdict, g as AgentArchFilter, h as AgentTab, i as AgentCatalogLabels, j as AgentConsumerState, k as AgentSortOption } from '../orchestra-PbGGooqJ.js';
2
- export { l as AGENT_NONE_SENTINEL, m as ARCHIVE_FILTER_OPTIONS, n as ARCHIVE_FILTER_ORDER, o as AgentAccessFilter, p as AgentAccessLevel, q as AgentArchFilterOption, r as AgentCatalog, s as AgentCatalogAgentType, t as AgentCatalogAsyncStorage, u as AgentCatalogConfig, v as AgentCatalogConfigError, w as AgentCatalogDefaults, x as AgentCatalogIdentity, y as AgentCatalogNavigate, z as AgentCatalogNotifier, B as AgentCatalogOpenPeek, C as AgentCatalogResolveHref, D as AgentCatalogRpcCall, E as AgentCatalogSchemaReport, F as AgentCatalogState, G as AgentCatalogStatus, H as AgentConsumerPatch, I as AgentFavFilter, J as AgentId, K as AssertAgentCatalogSchemaOptions, L as DEFAULT_AGENT_CATALOG_LABELS, N as DEFAULT_AGENT_CONSUMER_STATE, O as DefaultRowState, P as OrchestraBadge, Q as PgErrorLike, S as PgResultLike, T as SORT_OPTIONS, U as asAgentId, V as assertAgentCatalogSchema, W as createAgentCatalog, X as getRegisteredAgentCatalog, Y as isAgentArchFilter, Z as isMandateAgentId, _ as mandateAgentId, $ as nextArchFilter, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../orchestra-PbGGooqJ.js';
1
+ import { A as AgentSummary, a as AgentCatalogClient, b as AgentCatalogFavorites, c as AgentCatalogTransport, d as AgentCatalogStorageLike, e as AgentCatalogErrorSink, R as ResolvedDefaultRow, f as AgentCatalogStorage, M as MandateResolutionVerdict, g as AgentArchFilter, h as AgentTab, i as AgentCatalogLabels, j as AgentConsumerState, k as AgentSortOption } from '../orchestra-zpGHwOag.js';
2
+ export { l as AGENT_NONE_SENTINEL, m as ARCHIVE_FILTER_OPTIONS, n as ARCHIVE_FILTER_ORDER, o as AgentAccessFilter, p as AgentAccessLevel, q as AgentArchFilterOption, r as AgentCatalog, s as AgentCatalogAgentType, t as AgentCatalogAsyncStorage, u as AgentCatalogConfig, v as AgentCatalogConfigError, w as AgentCatalogDefaults, x as AgentCatalogIdentity, y as AgentCatalogNavigate, z as AgentCatalogNotifier, B as AgentCatalogOpenPeek, C as AgentCatalogResolveHref, D as AgentCatalogRpcCall, E as AgentCatalogSchemaReport, F as AgentCatalogState, G as AgentCatalogStatus, H as AgentConsumerPatch, I as AgentFavFilter, J as AgentId, K as AssertAgentCatalogSchemaOptions, L as DEFAULT_AGENT_CATALOG_LABELS, N as DEFAULT_AGENT_CONSUMER_STATE, O as DefaultRowState, P as OrchestraBadge, Q as PgErrorLike, S as PgResultLike, T as SORT_OPTIONS, U as asAgentId, V as assertAgentCatalogSchema, W as createAgentCatalog, X as getRegisteredAgentCatalog, Y as isAgentArchFilter, Z as isMandateAgentId, _ as mandateAgentId, $ as nextArchFilter, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../orchestra-zpGHwOag.js';
3
3
 
4
4
  /**
5
5
  * catalog/data.ts — @ai-matrx/agents/catalog
@@ -73,6 +73,7 @@ var DEFAULT_AGENT_CATALOG_LABELS = {
73
73
  emptyDefault: "No agents found",
74
74
  emptyShared: "No shared agents found",
75
75
  emptySystem: "No system agents found",
76
+ emptySignedOut: "Sign in to see your agents",
76
77
  loading: "Loading...",
77
78
  triggerFallback: "Agents",
78
79
  triggerResolving: "Naming the agent\u2026",
@@ -727,6 +728,7 @@ function createAgentCatalog(config) {
727
728
  }
728
729
  let anonymousReported = false;
729
730
  function getUserIdOrNull() {
731
+ if (typeof identity.getUserId === "function") return identity.getUserId();
730
732
  try {
731
733
  return identity.requireUserId();
732
734
  } catch (e) {
@@ -752,6 +754,11 @@ function createAgentCatalog(config) {
752
754
  return Date.now() - at > LIST_STALE_MS;
753
755
  }
754
756
  async function load() {
757
+ if (getUserIdOrNull() === null) {
758
+ if (state.rows.length > 0) replaceRows([]);
759
+ publish({ ...state, status: "succeeded", error: null });
760
+ return;
761
+ }
755
762
  publish({ ...state, status: "loading", error: null });
756
763
  try {
757
764
  const rows = await overlayAgentFavorites(