@ai-matrx/agents 0.21.45 → 0.23.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 +20 -0
- package/dist/catalog/index.cjs +7 -0
- 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 +7 -0
- package/dist/catalog/index.js.map +1 -1
- package/dist/catalog/native/index.cjs +1 -1
- package/dist/catalog/native/index.cjs.map +1 -1
- package/dist/catalog/native/index.d.cts +2 -2
- package/dist/catalog/native/index.d.ts +2 -2
- package/dist/catalog/native/index.js +1 -1
- package/dist/catalog/native/index.js.map +1 -1
- package/dist/catalog/react/index.cjs +1 -1
- package/dist/catalog/react/index.cjs.map +1 -1
- package/dist/catalog/react/index.d.cts +2 -0
- package/dist/catalog/react/index.d.ts +2 -0
- package/dist/catalog/react/index.js +1 -1
- package/dist/catalog/react/index.js.map +1 -1
- package/dist/content-transfer/index.cjs +33 -33
- package/dist/content-transfer/index.cjs.map +1 -1
- package/dist/content-transfer/index.d.cts +1 -1
- package/dist/content-transfer/index.d.ts +1 -1
- package/dist/content-transfer/index.js +33 -33
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs +33 -33
- package/dist/content-transfer/react/index.cjs.map +1 -1
- package/dist/content-transfer/react/index.js +33 -33
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/index.cjs +326 -131
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +326 -131
- package/dist/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/dist/matrx/index.cjs +326 -131
- package/dist/matrx/index.cjs.map +1 -1
- package/dist/matrx/index.d.cts +185 -4
- package/dist/matrx/index.d.ts +185 -4
- package/dist/matrx/index.js +326 -131
- package/dist/matrx/index.js.map +1 -1
- package/dist/{orchestra-PbGGooqJ.d.cts → orchestra-zpGHwOag.d.cts} +9 -0
- package/dist/{orchestra-PbGGooqJ.d.ts → orchestra-zpGHwOag.d.ts} +9 -0
- package/dist/react/index.cjs +41 -41
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +41 -41
- package/dist/react/index.js.map +1 -1
- package/mandates/snapshots/keys.0.21.46.json +652 -0
- package/mandates/snapshots/keys.0.22.0.json +652 -0
- package/mandates/snapshots/keys.0.23.0.json +652 -0
- package/package.json +3 -3
package/dist/catalog/index.d.cts
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
package/dist/catalog/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
package/dist/catalog/index.js
CHANGED
|
@@ -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(
|