@agentproto/cli 0.8.0 → 0.10.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 +2 -2
- package/dist/cli.mjs +10458 -1467
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.ts +13 -0
- package/dist/index.mjs +9776 -1030
- package/dist/index.mjs.map +1 -1
- package/dist/registry/builtins.mjs +1 -1
- package/dist/registry/manifest.mjs +1 -1
- package/dist/registry/plugins.mjs +1 -1
- package/dist/registry/runtime.mjs +1 -1
- package/dist/util/credentials.mjs +1 -1
- package/package.json +19 -18
package/dist/index.d.ts
CHANGED
|
@@ -212,6 +212,19 @@ interface AdapterInfo {
|
|
|
212
212
|
* `provider`/`mode` are undefined for a bare-string entry — an
|
|
213
213
|
* unstated provider is never guessed here (see AdapterModelInfo). */
|
|
214
214
|
modelDetails: AdapterModelInfo[];
|
|
215
|
+
/**
|
|
216
|
+
* How this adapter selects a model (AIP-45 `models.apply`, defaulted the
|
|
217
|
+
* same way the driver does — omitted manifest field ⇒ `"config"`). Tells
|
|
218
|
+
* a client whether a mid-session model switch (`POST /sessions/:id/
|
|
219
|
+
* model`) can even work for this adapter: `"arg"` bakes the model into
|
|
220
|
+
* spawn-time argv, so EVERY switch attempt reports `requires-restart`
|
|
221
|
+
* regardless of target model — a picker should mark every row that way
|
|
222
|
+
* rather than let the user discover it per-pick. Absent for the ACP
|
|
223
|
+
* generic-config adapter family (`listAcpGenericAdapters`), which has no
|
|
224
|
+
* `models.apply` concept of its own; treat an absent value as `"config"`,
|
|
225
|
+
* the same default the manifest schema applies.
|
|
226
|
+
*/
|
|
227
|
+
modelApply?: "config" | "command" | "arg";
|
|
215
228
|
}
|
|
216
229
|
/** One entry of an adapter's declared model menu, projected from a
|
|
217
230
|
* `models.allowed` item — bare string or {@link AgentCliModelEntry}.
|