@ai-matrx/agents 0.59.214 → 0.59.216
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 +6 -2
- package/dist/catalog/react/index.cjs +29 -31
- package/dist/catalog/react/index.js +1 -3
- package/dist/context/react/index.cjs +171 -205
- package/dist/context/react/index.js +172 -201
- package/dist/mandates/index.cjs +2 -2
- 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/models/index.cjs +113 -14
- package/dist/models/index.d.cts +8 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +113 -14
- package/dist/models/react/index.cjs +339 -436
- package/dist/models/react/index.d.cts +8 -0
- package/dist/models/react/index.d.ts +8 -0
- package/dist/models/react/index.js +346 -432
- package/dist/settings/react/index.cjs +116 -173
- package/dist/settings/react/index.js +126 -172
- package/dist/versions/react/index.cjs +15 -68
- package/dist/versions/react/index.js +83 -121
- package/package.json +5 -5
|
@@ -331,6 +331,14 @@ interface ModelRecords {
|
|
|
331
331
|
loadModelClasses(modelId: string): Promise<void>;
|
|
332
332
|
/** The durable label of a model outside the options list. Never throws. */
|
|
333
333
|
loadIdentity(modelId: string): Promise<void>;
|
|
334
|
+
/**
|
|
335
|
+
* The catalog changed upstream (a `catalog_changed` notice: an admin renamed, offered or retired a model):
|
|
336
|
+
* re-read everything this instance already read — the options list, every full record, every identity,
|
|
337
|
+
* the class index and slices, every pinned class's controls — and swap each in when it answers. The old
|
|
338
|
+
* rows stay on screen until then (no blank pill, no flicker); a failed re-read keeps them and reports
|
|
339
|
+
* through the error sink. Reads nothing that was never read. Never throws.
|
|
340
|
+
*/
|
|
341
|
+
refresh(): Promise<void>;
|
|
334
342
|
/**
|
|
335
343
|
* Answer `loadModel` + `loadModelClasses` for one model from rows a batched
|
|
336
344
|
* route read already returned (`chat.route_seed`): its `ai.model_config` row
|
|
@@ -331,6 +331,14 @@ interface ModelRecords {
|
|
|
331
331
|
loadModelClasses(modelId: string): Promise<void>;
|
|
332
332
|
/** The durable label of a model outside the options list. Never throws. */
|
|
333
333
|
loadIdentity(modelId: string): Promise<void>;
|
|
334
|
+
/**
|
|
335
|
+
* The catalog changed upstream (a `catalog_changed` notice: an admin renamed, offered or retired a model):
|
|
336
|
+
* re-read everything this instance already read — the options list, every full record, every identity,
|
|
337
|
+
* the class index and slices, every pinned class's controls — and swap each in when it answers. The old
|
|
338
|
+
* rows stay on screen until then (no blank pill, no flicker); a failed re-read keeps them and reports
|
|
339
|
+
* through the error sink. Reads nothing that was never read. Never throws.
|
|
340
|
+
*/
|
|
341
|
+
refresh(): Promise<void>;
|
|
334
342
|
/**
|
|
335
343
|
* Answer `loadModel` + `loadModelClasses` for one model from rows a batched
|
|
336
344
|
* route read already returned (`chat.route_seed`): its `ai.model_config` row
|