@ai-matrx/agents 0.12.8 → 0.13.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 +14 -0
- package/dist/catalog/index.cjs +10 -3
- 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 +10 -3
- package/dist/catalog/index.js.map +1 -1
- package/dist/catalog/native/index.d.cts +2 -2
- package/dist/catalog/native/index.d.ts +2 -2
- package/dist/catalog/react/index.cjs +10 -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 +10 -1
- 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/dist/{orchestra-DljbEiks.d.cts → orchestra-CVil7T5Y.d.cts} +2 -0
- package/dist/{orchestra-DljbEiks.d.ts → orchestra-CVil7T5Y.d.ts} +2 -0
- package/mandates/snapshots/keys.0.13.0.json +509 -0
- package/mandates/snapshots/keys.0.13.1.json +509 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.1
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/matrx-agents/v0.13.0..npm/matrx-agents/v0.13.1 -- apps/shared/matrx-agents`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.13.0
|
|
10
|
+
|
|
11
|
+
`catalog`: an errored mandate default row is no longer cached like a resolved one. `ensureDefaultRow` re-asks the mandate door when the existing row is a refusal, and the new `retryDefaultRow(mandateKey)` drops the refusal and asks again; the picker's error banner now carries a "Try again" button wired to it. Closes the matrx-extend defect of 2026-09-19 where one 401 during session hydration pinned "the server refused to resolve it" on the default agent for the whole session.
|
|
12
|
+
|
|
13
|
+
### Consumer action
|
|
14
|
+
|
|
15
|
+
None required. A host that renders its own picker may call `catalog.retryDefaultRow(key)` from its error surface.
|
|
16
|
+
|
|
3
17
|
## 0.12.8
|
|
4
18
|
|
|
5
19
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/catalog/index.cjs
CHANGED
|
@@ -966,9 +966,9 @@ function createAgentCatalog(config) {
|
|
|
966
966
|
const defaultRowsInFlight = /* @__PURE__ */ new Set();
|
|
967
967
|
function ensureDefaultRow(mandateKey) {
|
|
968
968
|
if (!mandateKey) return;
|
|
969
|
-
if (
|
|
970
|
-
|
|
971
|
-
|
|
969
|
+
if (defaultRowsInFlight.has(mandateKey)) return;
|
|
970
|
+
const current = state.defaultRows[mandateKey];
|
|
971
|
+
if (current && !current.error) return;
|
|
972
972
|
if (!transport) {
|
|
973
973
|
throw new AgentCatalogConfigError({
|
|
974
974
|
code: "missing_transport",
|
|
@@ -1047,6 +1047,12 @@ function createAgentCatalog(config) {
|
|
|
1047
1047
|
if (!current || !current.drift) return;
|
|
1048
1048
|
writeDefaultRow(mandateKey, { ...current, drift: null });
|
|
1049
1049
|
}
|
|
1050
|
+
function retryDefaultRow(mandateKey) {
|
|
1051
|
+
if (!mandateKey || defaultRowsInFlight.has(mandateKey)) return;
|
|
1052
|
+
const { [mandateKey]: _dropped, ...rest } = state.defaultRows;
|
|
1053
|
+
publish({ ...state, defaultRows: rest });
|
|
1054
|
+
ensureDefaultRow(mandateKey);
|
|
1055
|
+
}
|
|
1050
1056
|
const catalog = {
|
|
1051
1057
|
catalogId,
|
|
1052
1058
|
labels,
|
|
@@ -1078,6 +1084,7 @@ function createAgentCatalog(config) {
|
|
|
1078
1084
|
ensureDefaultRow,
|
|
1079
1085
|
getDefaultRow,
|
|
1080
1086
|
dismissDefaultRowDrift,
|
|
1087
|
+
retryDefaultRow,
|
|
1081
1088
|
assertSchema: (options) => assertAgentCatalogSchema(client, options)
|
|
1082
1089
|
};
|
|
1083
1090
|
globalState.catalogs.set(catalogId, catalog);
|