@agentproto/corpus-cli 0.4.0 → 0.6.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/dist/cli.mjs +668 -46
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.ts +67 -2
- package/dist/index.mjs +88 -2
- package/dist/index.mjs.map +1 -1
- package/dist/ports/index.d.ts +41 -2
- package/dist/ports/index.mjs +188 -8
- package/dist/ports/index.mjs.map +1 -1
- package/dist/specs/resources/aip-45/draft/AGENT-CLI.schema.json +21 -2
- package/package.json +3 -3
|
@@ -233,8 +233,23 @@
|
|
|
233
233
|
"default": { "type": "string", "description": "Default model id passed to the agent." },
|
|
234
234
|
"allowed": {
|
|
235
235
|
"type": "array",
|
|
236
|
-
"items": {
|
|
237
|
-
|
|
236
|
+
"items": {
|
|
237
|
+
"oneOf": [
|
|
238
|
+
{ "type": "string" },
|
|
239
|
+
{
|
|
240
|
+
"type": "object",
|
|
241
|
+
"additionalProperties": false,
|
|
242
|
+
"required": ["id"],
|
|
243
|
+
"description": "A model id annotated with who serves/bills it and how this adapter reaches it. A bare string (still legal) leaves provider unstated — the projector MUST NOT guess one.",
|
|
244
|
+
"properties": {
|
|
245
|
+
"id": { "type": "string", "description": "Model id, unchanged on the wire — this is annotation, not renaming." },
|
|
246
|
+
"provider": { "type": "string", "description": "ProviderPreset id (or direct provider, e.g. \"anthropic\") — who serves and bills this model. Omit when unstated." },
|
|
247
|
+
"mode": { "type": "string", "description": "This adapter's mode id that routes to `provider` (e.g. \"moonshot\"). Omit when the adapter routes on its own (e.g. a model-id prefix) or needs no mode switch." }
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"description": "Model ids the host MAY route to. Each entry is either a bare id (provider unstated, adapter default) or a { id, provider?, mode? } binding declaring who serves it and which adapter mode reaches it."
|
|
238
253
|
},
|
|
239
254
|
"env": {
|
|
240
255
|
"type": "object",
|
|
@@ -269,6 +284,10 @@
|
|
|
269
284
|
"description": "Stable id. The operator config references this id."
|
|
270
285
|
},
|
|
271
286
|
"description": { "type": "string" },
|
|
287
|
+
"kind": {
|
|
288
|
+
"enum": ["context"],
|
|
289
|
+
"description": "Which orthogonal session-config axis this mode expresses. Narrowed to the single value 'context' (what enters context) — the only concern with no ACP-protocol home. Route is derived from the model catalog (@route route-identity), not a manifest mode; posture comes from the harness's own ACP mode registry (SessionModeState.availableModes). Omitted ⇒ inferred from the id. The legacy 'posture'/'route' back-compat classification lives in the daemon's decomposeMode shim, not this manifest surface."
|
|
290
|
+
},
|
|
272
291
|
"bin_args_prepend": {
|
|
273
292
|
"type": "array",
|
|
274
293
|
"items": { "type": "string" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentproto/corpus-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "@agentproto/corpus-cli — the `corpus` binary. Validate, lint, and operate an AIP-10 corpus workspace from the command line. Local-topology host for @agentproto/corpus — pair with a local backing engine (qdrant docker / gbrain) for a fully offline corpus runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentproto",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"gray-matter": "^4.0.3",
|
|
53
53
|
"zod": "^4.4.3",
|
|
54
54
|
"@agentproto/cli-exec": "0.1.0",
|
|
55
|
-
"@agentproto/corpus": "0.
|
|
56
|
-
"@agentproto/corpus-presets": "0.2.
|
|
55
|
+
"@agentproto/corpus": "0.4.0",
|
|
56
|
+
"@agentproto/corpus-presets": "0.2.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^25.6.2",
|