@agentproto/runtime 2.10.0 → 2.11.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/README.md CHANGED
@@ -65,7 +65,7 @@ The `/mcp` endpoint exposes the core toolset plus several opt-in / feature-gated
65
65
  | `terminal_start` / `terminal_input` / `terminal_output` / `terminal_kill` | Raw PTY sessions |
66
66
  | `session_list` / `session_tree` / `session_usage` / `session_restart` / `session_rename` | Session management |
67
67
  | `app_install` / `app_run` / `app_list` / `app_status` / `app_stop` / `app_apply` / `app_unapply` / `app_list_applied` | App-kit apps |
68
- | `app_data_read` / `app_data_write` / `app_data_list` / `app_data_migrate` | App-scoped durable data plane (new) |
68
+ | `app_data_read` / `app_data_write` / `app_data_list` / `app_data_migrate` | App-scoped durable data plane, anchored at the app's `dataDir` (default `<dir>/data`; `app_install {dataDir}`) |
69
69
  | `harness_preset_list` / `harness_preset_create` / `harness_preset_delete` / `harness_preset_set_default` | Persisted harness→auth-profile presets (new) |
70
70
  | `workspace_brain_query` / `workspace_brain_status` / `workspace_brain_ingest` | Per-workspace transcript recall (new) |
71
71
  | `conversation_export` | Export a daemon transcript to a target adapter's native store, e.g. `claude-code` (new) |
@@ -38,6 +38,12 @@ import './context-continuity-ib9_bVYM.js';
38
38
  * per-adapter gateway-vendor tables.
39
39
  */
40
40
 
41
+ /** Routers the catalog probes to widen beyond any adapter's declared model
42
+ * list (SPEC §5.1) — same three route-identity widens, `route-identity/
43
+ * index.ts:54-59`. Exported so `model-wire.ts` can reuse the SAME set when
44
+ * deciding whether a wire model needs a literal router-prefix (never a
45
+ * second hand-maintained list). */
46
+ declare const WIDENING_ROUTES: readonly ["openrouter", "requesty", "huggingface"];
41
47
  /** One model entry as declared in an adapter's `models.allowed`
42
48
  * (`AdapterModelInfo`, `packages/cli/src/registry/resolve.ts:134-142`) —
43
49
  * the subset this module needs. */
@@ -312,4 +318,4 @@ declare function modelWalletIneligibleMessage(opts: {
312
318
  suggestedRoutes: string[];
313
319
  }): string;
314
320
 
315
- export { type BuildCatalogModelsInput, type CatalogAdapterInput, type CatalogAdapterModelInput, type CatalogModelsQuery, type CatalogModelsResponse, type CatalogPricing, type CatalogProduct, type CatalogRoute, type CatalogRouteSummary, type CatalogVendor, type ModelAdapterEligibility, type ModelWalletEligibility, RouteSpec, buildCatalogModels, checkModelAdapterEligibility, checkModelWalletEligibility, modelAdapterIncompatibleMessage, modelWalletIneligibleMessage, modelWithRoute, reconcileModelRoute, resolveEffectiveRoute, serviceableModelRoutes, suggestModelSlugs };
321
+ export { type BuildCatalogModelsInput, type CatalogAdapterInput, type CatalogAdapterModelInput, type CatalogModelsQuery, type CatalogModelsResponse, type CatalogPricing, type CatalogProduct, type CatalogRoute, type CatalogRouteSummary, type CatalogVendor, type ModelAdapterEligibility, type ModelWalletEligibility, RouteSpec, WIDENING_ROUTES, buildCatalogModels, checkModelAdapterEligibility, checkModelWalletEligibility, modelAdapterIncompatibleMessage, modelWalletIneligibleMessage, modelWithRoute, reconcileModelRoute, resolveEffectiveRoute, serviceableModelRoutes, suggestModelSlugs };
@@ -430,6 +430,6 @@ function modelWalletIneligibleMessage(opts) {
430
430
  return `${opts.prefix}: model "${opts.model}" is not serviceable on the resolved ${wallet} (adapter "${opts.adapter}") and would 404 upstream. This model bills route "${primary}"${also} \u2014 re-spawn on it: set route.gateway="${primary}" with an eligible "${primary}" api-key profile (access.profileRef). This guard only rejects; it never switches wallets for you.`;
431
431
  }
432
432
 
433
- export { buildCatalogModels, checkModelAdapterEligibility, checkModelWalletEligibility, modelAdapterIncompatibleMessage, modelWalletIneligibleMessage, modelWithRoute, reconcileModelRoute, resolveEffectiveRoute, serviceableModelRoutes, suggestModelSlugs };
433
+ export { WIDENING_ROUTES, buildCatalogModels, checkModelAdapterEligibility, checkModelWalletEligibility, modelAdapterIncompatibleMessage, modelWalletIneligibleMessage, modelWithRoute, reconcileModelRoute, resolveEffectiveRoute, serviceableModelRoutes, suggestModelSlugs };
434
434
  //# sourceMappingURL=catalog-models.mjs.map
435
435
  //# sourceMappingURL=catalog-models.mjs.map