@sema-agent/sdk 42.0.0 → 44.0.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 +118 -2
- package/dist/bitless-surfaces.d.ts +6 -1
- package/dist/bitless-surfaces.d.ts.map +1 -1
- package/dist/bitless-surfaces.js +13 -4
- package/dist/bitless-surfaces.js.map +1 -1
- package/dist/errors.d.ts +12 -3
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +12 -2
- package/dist/errors.js.map +1 -1
- package/dist/events.d.ts +63 -25
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +2 -2
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/model-route-env/index.d.ts +2 -2
- package/dist/model-route-env/index.js +1 -1
- package/dist/model-route-env/index.js.map +1 -1
- package/dist/resources/approvals.d.ts +8 -0
- package/dist/resources/approvals.d.ts.map +1 -1
- package/dist/resources/approvals.js.map +1 -1
- package/dist/resources/runs.d.ts +4 -3
- package/dist/resources/runs.d.ts.map +1 -1
- package/dist/resources/runs.js +4 -3
- package/dist/resources/runs.js.map +1 -1
- package/dist/resources/sessions.d.ts +3 -3
- package/dist/resources/sessions.js +2 -2
- package/dist/resources/tasks.d.ts +5 -2
- package/dist/resources/tasks.d.ts.map +1 -1
- package/dist/resources/tasks.js +5 -2
- package/dist/resources/tasks.js.map +1 -1
- package/dist/resources/tool-approvals.d.ts +11 -6
- package/dist/resources/tool-approvals.d.ts.map +1 -1
- package/dist/resources/tool-approvals.js +3 -2
- package/dist/resources/tool-approvals.js.map +1 -1
- package/dist/settings.d.ts +8 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/transport.d.ts +3 -0
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +4 -0
- package/dist/transport.js.map +1 -1
- package/dist/types.d.ts +189 -20
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +26 -3
- package/dist/types.js.map +1 -1
- package/openapi.yaml +246 -33
- package/package.json +1 -1
package/openapi.yaml
CHANGED
|
@@ -9112,7 +9112,7 @@ components:
|
|
|
9112
9112
|
kind: { const: coded }
|
|
9113
9113
|
detail:
|
|
9114
9114
|
type: object
|
|
9115
|
-
description: 'The thrown error''s `detail`: a JSON-plain snapshot (strings, finite numbers, booleans, null, arrays / plain objects of those; bounded). A member under a credential name stands as `"[redacted]"
|
|
9115
|
+
description: 'The thrown error''s `detail`: a JSON-plain snapshot (strings, finite numbers, booleans, null, arrays / plain objects of those; bounded). A member under a credential name stands as `"[redacted]"` (from server 7.154.0: `"«redacted»"`, the one mark table of the engine); every string leaf passes the error-sentence redaction (credential shapes masked, paths kept).'
|
|
9116
9116
|
additionalProperties: true
|
|
9117
9117
|
|
|
9118
9118
|
TerminalModelOutputInvalidDetail:
|
|
@@ -9194,6 +9194,8 @@ components:
|
|
|
9194
9194
|
description: >
|
|
9195
9195
|
The pause's NON-SECRET stable identity — the display/correlation key to log or render where the
|
|
9196
9196
|
token must not travel. Absent on pre-identity checkpoints.
|
|
9197
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
9198
|
+
planContentHash: { type: string, description: 'server >= 7.154.0 (engine 7.68.x; plan-review gate): the digest of the plan text SHOWN to the person at this pause (`textContentHashOf` of the `plan` string on the exit-plan-mode card the requesting call tool_end carried) — says what was shown, is NOT the gate identity, never read by a resume. ABSENT = nothing to compare (no plan card on that frame, a deployment-minted row, an earlier engine) — never "an empty plan".' }
|
|
9197
9199
|
restoreMode:
|
|
9198
9200
|
type: string
|
|
9199
9201
|
enum: [snapshot, park_only]
|
|
@@ -9218,6 +9220,56 @@ components:
|
|
|
9218
9220
|
cause (`terminal`), not the eight parallel plane keys — see `TerminalCause`.
|
|
9219
9221
|
required: [taskId, sessionId, terminal, stats]
|
|
9220
9222
|
properties:
|
|
9223
|
+
intake:
|
|
9224
|
+
oneOf:
|
|
9225
|
+
- type: object
|
|
9226
|
+
required: [committed, sessionId, entryId]
|
|
9227
|
+
additionalProperties: true
|
|
9228
|
+
properties: { committed: { const: true }, sessionId: { type: string }, entryId: { type: string } }
|
|
9229
|
+
- type: object
|
|
9230
|
+
required: [committed]
|
|
9231
|
+
additionalProperties: true
|
|
9232
|
+
properties: { committed: { const: false } }
|
|
9233
|
+
description: >-
|
|
9234
|
+
server >= 7.153.0 (engine 7.67.0): whether this run took its input (the prompt message) in. `{ committed: true, sessionId, entryId }` = the prompt message was committed (`entryId` is its session-entry id, the same batch as `message_committed.entryId`);
|
|
9235
|
+
`{ committed: false }` = it ended before the prompt message was committed (refused at the entrance / screened out / cancelled / a prepare failure; the terminal says why); ABSENT = not known (an older engine, a result rebuilt from a row alone, a
|
|
9236
|
+
host-assembled result) — NOT `committed: false`. NOT `stats.turns`: a first model call that fails still counts a turn.
|
|
9237
|
+
resultDisplayedBy:
|
|
9238
|
+
type: array
|
|
9239
|
+
items: { type: string }
|
|
9240
|
+
description: >-
|
|
9241
|
+
server >= 7.153.0 (engine 7.67.0): the registered names of the extensions whose `classic.MessageDisplay` answers changed what the stream showed of the answer (first-change order) — present means `result` is what the stream SHOWED, not the stored text.
|
|
9242
|
+
Names are the registrant strings (UNTRUSTED for display). ABSENT = no handler changed the display / a display did not reach its end / a leg that raises no display.
|
|
9243
|
+
turnAbortedBy:
|
|
9244
|
+
type: string
|
|
9245
|
+
description: >-
|
|
9246
|
+
server >= 7.153.0 (engine 7.67.0): the registered name of the extension whose `$.turn.abort` ended the run LAST model turn (present iff that cut was consumed as the final turn settlement; a queued follow-up or a `classic.Stop` block clears it).
|
|
9247
|
+
The run then reads `completed`, `result` = what the cut turn produced (possibly empty). UNTRUSTED for display.
|
|
9248
|
+
placementRoot:
|
|
9249
|
+
type: string
|
|
9250
|
+
description: 'server >= 7.153.0 (engine 7.67.x): the leg placement fixed point — the one placement root its prepare resolved (on a resume: the parked row recorded root). Present iff the prepare resolved it; absent on host stubs / synthetic composition terminals.'
|
|
9251
|
+
limitCrossed:
|
|
9252
|
+
type: object
|
|
9253
|
+
required: [axis, limit, observed]
|
|
9254
|
+
additionalProperties: true
|
|
9255
|
+
description: >-
|
|
9256
|
+
server >= 7.154.0 (engine 7.68.0): present exactly when the run COMPLETED strictly past a ceiling the caller declared (`limits`): nothing was cut, the verdict is `completed`, and this says the ceiling was crossed on the way.
|
|
9257
|
+
`limit` / `observed` share the axis unit (tokens / micro-USD / milliseconds). Branch on this member, never on the `task.completed_past_limit` notice sentence.
|
|
9258
|
+
properties:
|
|
9259
|
+
axis: { type: string, enum: [budget_tokens, budget_cost, walltime] }
|
|
9260
|
+
limit: { type: number }
|
|
9261
|
+
observed: { type: number }
|
|
9262
|
+
refusedAsks:
|
|
9263
|
+
type: array
|
|
9264
|
+
description: >-
|
|
9265
|
+
server >= 7.154.0 (engine 7.68.0): the asks of this run that nobody could answer and that were refused, one per refused call, in refusal order (the same facts as the `delegation.ask_unresolvable` notice); the terminal is unchanged.
|
|
9266
|
+
`toolName` / `remedy` pass the egress seat. present-iff at least one was refused — never empty.
|
|
9267
|
+
items: { $ref: '#/components/schemas/RefusedAsk' }
|
|
9268
|
+
effectiveReasoning:
|
|
9269
|
+
allOf: [{ $ref: '#/components/schemas/ResolvedReasoning' }]
|
|
9270
|
+
description: >-
|
|
9271
|
+
The run's reasoning-tier record (engine `ResolvedReasoning`, passed through verbatim on the sync `POST /v1/tasks` terminal body and the run row's `result`; `endpoint` passes the result text leaf table verbatim): what the request's thinking keys SAID on the wire.
|
|
9272
|
+
ABSENT = the engine did not say (distinct from "said, nothing degraded"). server >= 7.154.0: `effective` can also be `on` / `provider_default`, and `off` only says the wire carried a disable key.
|
|
9221
9273
|
resultEntryIds:
|
|
9222
9274
|
type: array
|
|
9223
9275
|
items: { type: string }
|
|
@@ -9305,6 +9357,16 @@ components:
|
|
|
9305
9357
|
type: array
|
|
9306
9358
|
items: { type: string }
|
|
9307
9359
|
description: The full fallback chain walked, when more than one hop occurred.
|
|
9360
|
+
skipped:
|
|
9361
|
+
type: array
|
|
9362
|
+
description: 'server >= 7.153.0 (engine 7.67.0): the chain hops the deployment Brain route judgment refused BEFORE sending, in chain order (`model`, and the refusal `code` when the judgment stated one); absent when none / on the budget path.'
|
|
9363
|
+
items:
|
|
9364
|
+
type: object
|
|
9365
|
+
required: [model]
|
|
9366
|
+
additionalProperties: true
|
|
9367
|
+
properties: { model: { type: string }, code: { type: string } }
|
|
9368
|
+
outcome: { type: string, enum: [served, exhausted], description: 'server >= 7.153.0: how the walk ended — a fallback hop answered (`to`) or the chain was exhausted (`to` is the last hop tried, not the model that answered). Absent on the budget path.' }
|
|
9369
|
+
answeredBy: { type: string, description: 'server >= 7.153.0: whose message the walked turn answer is — `to` when a hop served, `from` when the chain was exhausted. Absent on the budget path.' }
|
|
9308
9370
|
atTurn: { type: integer }
|
|
9309
9371
|
structuredOutput:
|
|
9310
9372
|
description: >
|
|
@@ -10718,6 +10780,7 @@ components:
|
|
|
10718
10780
|
description: >-
|
|
10719
10781
|
server >= 7.153.0 (always true — a version fact): this build accepts the top-level submit key `wake` (the WAKE leg: opens on the task notifications parked for the session's idle occupant,
|
|
10720
10782
|
carries no input of its own). Read it BEFORE sending the key: ABSENT = an older server (answers `400 request.body_shape`).
|
|
10783
|
+
From server 7.154.0 this bit reads the SAME fact as the engine capability word `task.wake` (both projected, same value) and is retired from the next server version on: read `task.wake`, fall back to this bit only when `task.wake` is absent (<= 7.153.x).
|
|
10721
10784
|
language:
|
|
10722
10785
|
type: boolean
|
|
10723
10786
|
description: >-
|
|
@@ -10766,6 +10829,22 @@ components:
|
|
|
10766
10829
|
description: >-
|
|
10767
10830
|
ENGINE CAPABILITY WORD (core `ENGINE_CAPABILITIES`' fourth word, core 7.67.0; server >= 7.153.0 projects it, always `true`; the key IS the word, dotted): this engine reads the read-state of request-layer
|
|
10768
10831
|
attachments (`TaskRequest.userAttachments`). ABSENT = an older server / engine: read it as "not promised", not as "absent capability".
|
|
10832
|
+
checkpointIdMissing:
|
|
10833
|
+
type: boolean
|
|
10834
|
+
description: >-
|
|
10835
|
+
server >= 7.154.0 (always true — a version fact): the gate-identity faces answer `checkpointId` XOR `checkpointIdMissing` (`absent` / `untrusted`) — when a gate identity cannot be read the id key is absent and the same position carries the word.
|
|
10836
|
+
ABSENT = an older server (the key never appears; a missing `checkpointId` there only means an old row).
|
|
10837
|
+
task.wake:
|
|
10838
|
+
type: boolean
|
|
10839
|
+
description: >-
|
|
10840
|
+
ENGINE CAPABILITY WORD (core `ENGINE_CAPABILITIES`' fifth word; server >= 7.154.0 projects it; the key IS the word, dotted — read the whole string `caps["task.wake"]`): this build accepts the top-level submit key `wake`
|
|
10841
|
+
(a version fact, today always `true`). It reads the SAME fact as the older top-level bit `wake` (both projected in 7.154.0; the older one retires from the next server version on). ABSENT = server <= 7.153.x (only the older bit exists).
|
|
10842
|
+
file_history.recorded_place:
|
|
10843
|
+
type: boolean
|
|
10844
|
+
description: >-
|
|
10845
|
+
ENGINE CAPABILITY WORD (core `ENGINE_CAPABILITIES`' sixth word; server >= 7.154.0 projects it; the key IS the word, dotted): does this service accept the rewind input that says where versions with no recorded place were recorded
|
|
10846
|
+
(the engine's `unplacedHistoryRecordedUnder`)? ALWAYS `false` on 7.154.0 (the request face does not accept that input yet); a false bit only tells a shell not to send it — the per-file refusals (`recorded_elsewhere` / `place_unrecorded`)
|
|
10847
|
+
do not read this bit and happen regardless, and it is not the "is rewind usable" bit (that is `sessionRewindFiles`). ABSENT = an older server.
|
|
10769
10848
|
credentialPlane:
|
|
10770
10849
|
allOf: [{ $ref: '#/components/schemas/CredentialPlaneCapability' }]
|
|
10771
10850
|
description: >-
|
|
@@ -10798,7 +10877,7 @@ components:
|
|
|
10798
10877
|
sessionRewindFilesPreview:
|
|
10799
10878
|
type: boolean
|
|
10800
10879
|
description: >-
|
|
10801
|
-
server >= 7.147.0: the previous bit ∧ the store implements `diffStats` (local files: true; the SQL twins: false
|
|
10880
|
+
server >= 7.147.0: whether the preview carries stats. From server 7.154.0 this reads the SAME fact as `sessionRewindFiles` and `sessionRewindFilesCwd` (the preview is the engine's plan of the real restore on a view that performs no write); up to 7.153.x it was the previous bit ∧ the store implements `diffStats` (local files: true; the SQL twins: false). False is NOT "dryRun refused": dryRun is accepted and answers `preview: null`. ABSENT = an older server.
|
|
10802
10881
|
adoptionImport:
|
|
10803
10882
|
allOf: [{ $ref: '#/components/schemas/AdoptionImportCapability' }]
|
|
10804
10883
|
description: >-
|
|
@@ -11383,6 +11462,7 @@ components:
|
|
|
11383
11462
|
managedHookGroups: { type: boolean, description: 'server >= 7.133.0 — the request `settings.hooks[]` GROUP `source` key (managed lanes `managedPolicy` / `managedPlugin:<name>`) is accepted; same predicate as `hooks`. ABSENT or false = stripped silently (the managed-lane semantics do not apply, it is not a refusal).' }
|
|
11384
11463
|
httpHookAllowlists: { type: boolean, description: 'server >= 7.142.0 — the request keys `settings.allowedHttpHookUrls` / `settings.httpHookAllowedEnvVars` (the settings-schema package''s two http-hook allowlists) are read and enforced at the dial-out point. The SAME predicate as `hooks` (true on the single-user lane; false where `settings.hooks` is ignored). ABSENT = server <= 7.141.x, which answers 400 `request.body_shape` for those keys — send only on sight of the bit.' }
|
|
11385
11464
|
tightenOnlySeats: { type: boolean, description: 'server >= 7.133.0, constant true — the four tighten-only request seats `settings.readDenyPatterns` / `settings.writeProtectedExtra` / `settings.complianceAdditionalDenies` / `settings.permissions.neverAuto` are accepted (each seat = deployment table UNION request list, only ever growing; an empty array is the same as not sent). ABSENT = server <= 7.132.x, which answers 400 `request.body_shape` for those keys — send only on sight of the bit.' }
|
|
11465
|
+
runStreamHookFrames: { type: boolean, description: 'server >= 7.154.0 (config-dependent: the same predicate as `hooks`): the request key `settings.runStreamHookFrames` (`"failures"`, one word today) is honoured — a run that declares it sees the four `hook_notice` kinds on ITS OWN event stream (live stream + the run ledger replay); without the key a run stream carries none (the fleet stream is unchanged). ABSENT = an older server (answers 400 `request.body_shape`).' }
|
|
11386
11466
|
approvalFrameFamilies: { type: boolean, description: 'server >= 7.134.0, constant true — the request key `settings.approvalFrameFamilies` (which approval opening-frame families this run''s client renders) is accepted. THIS is the trigger bit for that key, NOT the top-level `approvalFrameFamilies`: servers <= 7.133.x already carry the top-level bit yet answer 400 `request.body_shape` (`unknownKeys: ["settings.approvalFrameFamilies"]`) for the key. ABSENT = do not send it.' }
|
|
11387
11467
|
settings:
|
|
11388
11468
|
type: object
|
|
@@ -12210,7 +12290,7 @@ components:
|
|
|
12210
12290
|
sends it (stdio and Streamable HTTP alike) — so a connector can keep state per (principal, session). Absent = nothing is sent. A delegated child is another session (its calls carry its own id; the engine does not guess a root);
|
|
12211
12291
|
a dial with no leg (the library entrance, the no-run probe) sends nothing. The deployment legs (central config / local `config.d`) carry the key from server >= 7.139.0 on (before that the config reader stripped it with an unknown-key warning); a bad one keeps that whole server from mounting. The one judge is the engine's `judgeSessionMetaKey`: a non-empty string of at most 128 characters in the MCP `_meta` key-name format that names no `_meta` member
|
|
12212
12292
|
of anyone else's — not the SDK's own `progressToken`, not a key under the engine's `sema/` namespace, not under a prefix MCP reserves. A bad key is `400 request.field_invalid` naming `mcpServers[i].sessionMetaKey` (new submit and
|
|
12213
|
-
the probe door); server >= 7.139.0 the sentence does NOT echo the key you wrote (where it must refer to it, it reads `[redacted] (N characters)
|
|
12293
|
+
the probe door); server >= 7.139.0 the sentence does NOT echo the key you wrote (where it must refer to it, it reads a redaction mark plus the code-point count — `[redacted] (N characters)` up to 7.153.x, `«redacted» (N characters)` from 7.154.0 (the engine's one mark table); an over-long / empty / non-string key is refused by length or type without mentioning the key) — branch on the code and the named path. A server < 7.138.0 does not list the key among the accepted ones: by the entry-key law it answers
|
|
12214
12294
|
`400 request.body_shape` naming it in `unknownKeys` (derived from that law, not measured on the old bytes).
|
|
12215
12295
|
|
|
12216
12296
|
A2aServerSpec:
|
|
@@ -13487,6 +13567,38 @@ components:
|
|
|
13487
13567
|
filesChanged: { type: array, items: { type: string } }
|
|
13488
13568
|
insertions: { type: integer, minimum: 0 }
|
|
13489
13569
|
deletions: { type: integer, minimum: 0 }
|
|
13570
|
+
files:
|
|
13571
|
+
type: array
|
|
13572
|
+
items: { $ref: '#/components/schemas/SessionRewindFileRow' }
|
|
13573
|
+
description: >-
|
|
13574
|
+
server >= 7.154.0: one row per file the rewind would change or refuse. A preview carries only these four keys (no `refused` / `failed` column): a refused file appears only as a refused row of `files`; an all-refused preview has an empty `filesChanged`,
|
|
13575
|
+
zero counts and `files` full of refused rows. The preview is the projection of the real restore's plan. ABSENT = an older server (or an engine that does not answer per-file facts) — not "nothing was refused".
|
|
13576
|
+
|
|
13577
|
+
SessionRewindFileRow:
|
|
13578
|
+
type: object
|
|
13579
|
+
description: >-
|
|
13580
|
+
server >= 7.154.0 — one file of a rewind (engine `FileHistoryRewindFile`; path and reason leaves pass the egress seat). `path` is the key the history records the file under; `targetPath` is the absolute path THIS rewind writes or deletes for it
|
|
13581
|
+
(on a refused row, where it would have landed). Files judged identical (`identicalSkipped`) are not rows; a failure before any write lands only in the ledger's `failed[]`; a write / delete that landed and then failed is a row carrying `failed`.
|
|
13582
|
+
additionalProperties: true
|
|
13583
|
+
required: [path, targetPath]
|
|
13584
|
+
properties:
|
|
13585
|
+
path: { type: string }
|
|
13586
|
+
targetPath: { type: string }
|
|
13587
|
+
action: { type: string, enum: [write, delete], description: 'What the rewind does at `targetPath`; on a refused row, what it would have done. ABSENT = the store did not say.' }
|
|
13588
|
+
refused:
|
|
13589
|
+
type: object
|
|
13590
|
+
additionalProperties: true
|
|
13591
|
+
required: [class, reason]
|
|
13592
|
+
properties:
|
|
13593
|
+
class: { type: string, description: 'The same word as the ledger''s `refused[].class` (open set).' }
|
|
13594
|
+
reason: { type: string }
|
|
13595
|
+
recordedUnder: { type: string, description: 'On a `recorded_elsewhere` row: the directory the version was recorded under (go there to rewind it).' }
|
|
13596
|
+
failed:
|
|
13597
|
+
type: object
|
|
13598
|
+
additionalProperties: true
|
|
13599
|
+
required: [reason]
|
|
13600
|
+
properties:
|
|
13601
|
+
reason: { type: string }
|
|
13490
13602
|
|
|
13491
13603
|
SessionRewindLedger:
|
|
13492
13604
|
type: object
|
|
@@ -13508,7 +13620,9 @@ components:
|
|
|
13508
13620
|
properties:
|
|
13509
13621
|
path: { type: string }
|
|
13510
13622
|
reason: { type: string }
|
|
13511
|
-
class: { type: string, description: 'The engine''s
|
|
13623
|
+
class: { type: string, description: 'The engine''s word (`link_safety` / `base_unavailable` / `key_unresolvable` / server >= 7.154.0 `recorded_elsewhere` / `place_unrecorded`); read as an open set.' }
|
|
13624
|
+
recordedUnder: { type: string, description: 'server >= 7.154.0, on a `recorded_elsewhere` row: the directory the version was recorded under (its absolute real path).' }
|
|
13625
|
+
action: { type: string, enum: [write, delete], description: 'server >= 7.154.0: what the rewind would have done at that file.' }
|
|
13512
13626
|
failed:
|
|
13513
13627
|
type: array
|
|
13514
13628
|
items:
|
|
@@ -13519,6 +13633,10 @@ components:
|
|
|
13519
13633
|
path: { type: string }
|
|
13520
13634
|
reason: { type: string }
|
|
13521
13635
|
modeNotPreserved: { type: integer, minimum: 0, description: 'Files whose recorded POSIX mode could not be re-applied (an environment without the optional mode face).' }
|
|
13636
|
+
files:
|
|
13637
|
+
type: array
|
|
13638
|
+
items: { $ref: '#/components/schemas/SessionRewindFileRow' }
|
|
13639
|
+
description: 'server >= 7.154.0: one row per changed or refused file (and per failed file whose write / delete landed); the per-file failure reason still reads from `failed[]`. ABSENT = an older server.'
|
|
13522
13640
|
error: { $ref: '#/components/schemas/SessionRewindLedgerError' }
|
|
13523
13641
|
|
|
13524
13642
|
SessionRewindLedgerError:
|
|
@@ -15276,6 +15394,7 @@ components:
|
|
|
15276
15394
|
sessionId: { type: string, description: 'Resumed leg only — absent from the parked-agent receipt.' }
|
|
15277
15395
|
decisionCommitted: { type: boolean, enum: [true], description: 'server >= 7.138.0 - SETTLEMENT EVIDENCE: `true` = the gate this request named was durably settled with THIS request''s decision (historical evidence, not the card''s current state). Always the literal `true`, never `false`. Absent = unprovable or deliberately omitted => read as "not committed" (fail-closed); do not infer it from the absence of `errorCode`. It coexists with `errorCode: cancelled` / `retriable: true`; `retriable: true` only says the run re-parked.' }
|
|
15278
15396
|
checkpointId: { type: string, description: 'server >= 7.138.0 - only alongside `decisionCommitted`: the gate identity of the row selected before execution (same name and value as the operator queue / inbox row / park ledger row). Absent when the identity is unreadable or not applicable (an idempotent replay carries none); absence infers nothing.' }
|
|
15397
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
15279
15398
|
status:
|
|
15280
15399
|
type: string
|
|
15281
15400
|
description: >
|
|
@@ -15357,6 +15476,8 @@ components:
|
|
|
15357
15476
|
entry for that gate kind — sessionId-addressed; checkpoint tokens never appear on the wire).
|
|
15358
15477
|
`governanceForced` = the ORIGIN.
|
|
15359
15478
|
properties:
|
|
15479
|
+
checkpointId: { type: string, description: 'server >= 7.137.0 (same judge as the other gate-identity faces): the NON-SECRET stable identity of the gate that blocks the submit; ABSENT when no trusted value can be read — then `checkpointIdMissing` carries the word at the same position.' }
|
|
15480
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
15360
15481
|
kind: { type: string }
|
|
15361
15482
|
decidePath: { type: string }
|
|
15362
15483
|
governanceForced:
|
|
@@ -15381,8 +15502,11 @@ components:
|
|
|
15381
15502
|
(`judgeCheckpointRow`) on the row's stored bytes. The same type on the operator queue row (`PendingCheckpoint.rowVerdict`), the `/v1/approvals/stream` `pending` frame and the
|
|
15382
15503
|
assistant inbox row (`InboxRow.rowVerdict`). ONE JUDGE, TWO FACES: the first-stage resume / decide refusal (409, body carries `reason`) comes from the same judge, so a row
|
|
15383
15504
|
listed with a non-`ok` verdict is refused for the same reason when decided — present it as NOT APPROVABLE; the way out is cancelling the run or leaving the row to a
|
|
15384
|
-
replica / version that can resume it. `ok` carries only `kind`; `lacking` / `damaged` carry `code` (the engine's checkpoint error code), `reason` (which arm of a multi-arm code), `
|
|
15385
|
-
|
|
15505
|
+
replica / version that can resume it. `ok` carries only `kind`; `lacking` / `damaged` carry `code` (the engine's checkpoint error code), `reason` (which arm of a multi-arm code), `field` and `blockedBy` (server >= 7.153.0, core 7.67.0: only on a row whose recorded
|
|
15506
|
+
permission mode, run origin or frozen tool names this engine does not read, which answers `code: checkpoint.config_refused`; of those three arms only the frozen-tool-names one (`blockedBy: config.tool_face_control`) carries a `reason` (engine 7.68.2 mints `not_a_list`, `not_a_string` or `unsupported_pattern` there),
|
|
15507
|
+
the permission-mode (`config.permission_mode_invalid`) and run-origin (`config.run_origin_invalid`) arms carry none — `field` is the refusal's own `detail.field`, `blockedBy` the admission code a fresh run of the same bad value reports,
|
|
15508
|
+
the same two words, under the same names, when a resume refusal body carries them (on server 7.154.0 the refusal body a decision door builds for the parked row's own refusal is rebuilt from this verdict and does not carry them yet: only the queue row and the inbox row do); every other arm omits both), `requires` (capabilities the row needs and this engine lacks) and `sentence` (the engine's human line —
|
|
15509
|
+
display only, never a match key); `code` / `reason` / `field` / `blockedBy` are open strings (owned by core). server >= 7.147.0: the two faces match on `code` EQUALITY — every decision-class resume door (`/decide`, `/plan_review`, `/resume`, `/wake`)
|
|
15386
15510
|
answers the row's OWN refusal with the engine's original code (`checkpoint.invalid_outcome`, e.g. `requirements_damaged`; `checkpoint.unsupported_version` likewise), the same judge's same code as this verdict's `code`, and the refusal's
|
|
15387
15511
|
`error` starts with this verdict's `sentence`; a cause code (`approval_binding_mismatch` for a binding seat, `resume_outcome_invalid` for a body cell / content reject) is given only to a refusal that really has a cause, and that is not the row's own refusal.
|
|
15388
15512
|
Servers <= 7.146.x translate by gate instead (`checkpoint.invalid_outcome` becomes `approval_binding_mismatch` on a `policy_ask` gate and `resume_outcome_invalid` on other gates, with no `blockedBy`): against those, match the two faces on `reason`, not on `code`.
|
|
@@ -15404,6 +15528,8 @@ components:
|
|
|
15404
15528
|
kind: { type: string, enum: [lacking, damaged] }
|
|
15405
15529
|
code: { type: string }
|
|
15406
15530
|
reason: { type: string }
|
|
15531
|
+
field: { type: string }
|
|
15532
|
+
blockedBy: { type: string }
|
|
15407
15533
|
requires: { type: array, items: { type: string } }
|
|
15408
15534
|
sentence: { type: string }
|
|
15409
15535
|
|
|
@@ -15431,6 +15557,8 @@ components:
|
|
|
15431
15557
|
kind: { const: checkpoint, description: 'server >= 7.143.0: the row family (always `checkpoint` on this schema); absent on servers <= 7.142.x, which list this family only.' }
|
|
15432
15558
|
askId: { type: string, description: 'server >= 7.152.0: the ASK identity of this row when it is a parked card with an ask-ledger row — decide it via `POST /v1/tasks/{taskId}/asks/{askId}/decision`, read it via `GET /v1/tasks/{taskId}/asks/{askId}`. ABSENT = the row has no ask-ledger row (a durable `/decide`-only card / an older server): decide it via `POST /v1/approvals/{sessionId}/decide`.' }
|
|
15433
15559
|
checkpointId: { type: string, minLength: 1, maxLength: 128, description: 'server >= 7.133.0: the NON-SECRET stable identity of the pause this row parks on — the join key where the token cannot go; the SAME value as `PausedCause.checkpointId`. Carried on three durable read surfaces (GET /v1/approvals `pending[]` rows, the /v1/approvals/stream `pending` frame, GET /v1/assistant/inbox rows). A row whose value is unreadable or untrusted (non-string / empty / over 128 / contains the token / an old row / an older server) is STILL LISTED with the key ABSENT — read absence as "this row has no joinable identity", never as a required key.' }
|
|
15560
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
15561
|
+
hostSessionId: { type: string, description: 'server >= 7.154.0: the HOST session of a card parked in another session — a ladder (`cascade:true`) rung card points back at the submitting session, a workflow leg card at the session that started that workflow; = whose run is continued when this card is decided. Present only when it is not `sessionId`, readable as exactly one value, and the reader can see that session; ABSENT otherwise. Background delegated sub-agent cards never carry it (a `resolved` frame carries the last `pending` frame value).' }
|
|
15434
15562
|
rowVerdict:
|
|
15435
15563
|
allOf: [{ $ref: '#/components/schemas/CheckpointRowVerdict' }]
|
|
15436
15564
|
description: 'server >= 7.144.0: the engine row judge''s verdict on this row (ABSENT IS NOT `ok`). A non-`ok` row is refused for the same reason when decided (409). SQL backends read each pending row''s stored body once on the first listing after boot (then memoized by body digest); server >= 7.145.0 a row whose body cannot be read as a checkpoint carries it too (always `damaged`; 7.144.x listed that row without it).'
|
|
@@ -15670,6 +15798,7 @@ components:
|
|
|
15670
15798
|
properties:
|
|
15671
15799
|
sessionId: { type: string, description: 'The suspended task/session id.' }
|
|
15672
15800
|
checkpointId: { type: string, minLength: 1, maxLength: 128, description: 'server >= 7.133.0: the NON-SECRET stable identity of the pause this row parks on — the join key where the token cannot go; the SAME value as `PausedCause.checkpointId`. Carried on three durable read surfaces (GET /v1/approvals `pending[]` rows, the /v1/approvals/stream `pending` frame, GET /v1/assistant/inbox rows). A row whose value is unreadable or untrusted (non-string / empty / over 128 / contains the token / an old row / an older server) is STILL LISTED with the key ABSENT — read absence as "this row has no joinable identity", never as a required key.' }
|
|
15801
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
15673
15802
|
cardMessage:
|
|
15674
15803
|
type: string
|
|
15675
15804
|
minLength: 1
|
|
@@ -15947,6 +16076,7 @@ components:
|
|
|
15947
16076
|
nothing ran; do not backfill it from the path id. It tightens back to required once the server settles this form.
|
|
15948
16077
|
decisionCommitted: { type: boolean, enum: [true], description: 'server >= 7.138.0 - SETTLEMENT EVIDENCE: `true` = the gate this request named was durably settled with THIS request''s decision (historical evidence, not the card''s current state). Always the literal `true`, never `false`. Absent = unprovable or deliberately omitted => read as "not committed" (fail-closed); do not infer it from the absence of `errorCode`. It coexists with `errorCode: cancelled` / `retriable: true`; `retriable: true` only says the run re-parked.' }
|
|
15949
16078
|
checkpointId: { type: string, description: 'server >= 7.138.0 - only alongside `decisionCommitted`: the gate identity of the row selected before execution (same name and value as the operator queue / inbox row / park ledger row). Absent when the identity is unreadable or not applicable (an idempotent replay carries none); absence infers nothing.' }
|
|
16079
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
15950
16080
|
status:
|
|
15951
16081
|
type: string
|
|
15952
16082
|
description: >
|
|
@@ -17585,6 +17715,7 @@ components:
|
|
|
17585
17715
|
- $ref: '#/components/schemas/Event_task_progress'
|
|
17586
17716
|
- $ref: '#/components/schemas/Event_workspace_changed'
|
|
17587
17717
|
- $ref: '#/components/schemas/Event_engine_notice'
|
|
17718
|
+
- $ref: '#/components/schemas/Event_hook_notice'
|
|
17588
17719
|
- $ref: '#/components/schemas/Event_suspended'
|
|
17589
17720
|
# 🔴 以下 6 臂是 2026-07-25 补的:`events.ts` 的 `AgentEvent` 联合有 21 个 `type` 字面量,本文件此前只声明
|
|
17590
17721
|
# 15 个 —— 照本文件生成客户端的消费方会把 6 种合法帧当成非法值(事件面是最吃重的 wire 面,这个缺口比
|
|
@@ -17669,6 +17800,7 @@ components:
|
|
|
17669
17800
|
task_progress: '#/components/schemas/Event_task_progress'
|
|
17670
17801
|
workspace_changed: '#/components/schemas/Event_workspace_changed'
|
|
17671
17802
|
engine_notice: '#/components/schemas/Event_engine_notice'
|
|
17803
|
+
hook_notice: '#/components/schemas/Event_hook_notice'
|
|
17672
17804
|
suspended: '#/components/schemas/Event_suspended'
|
|
17673
17805
|
file_link: '#/components/schemas/Event_file_link'
|
|
17674
17806
|
prompt_assembled: '#/components/schemas/Event_prompt_assembled'
|
|
@@ -17868,6 +18000,7 @@ components:
|
|
|
17868
18000
|
server >= 7.153.0 (engine 7.67.0): this call is the REPLAY of a call held on a resumed leg — which parked row it picks up: the identity of that row's gate (the same value, through the same trust boundary,
|
|
17869
18001
|
as `terminal.checkpointId` and the operator queue row's `checkpointId`; a value failing the shape check — non-empty, at most 128 characters — is dropped). ABSENT = not a resumed-leg replay. Same value as the paired
|
|
17870
18002
|
`tool_end.resumesCheckpoint`. Shape-checked only on the frame: that the value is a row this server itself knows cannot be judged there.
|
|
18003
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
17871
18004
|
toolCallId: { type: string }
|
|
17872
18005
|
toolName: { type: string }
|
|
17873
18006
|
requestedBy:
|
|
@@ -17949,9 +18082,9 @@ components:
|
|
|
17949
18082
|
`released.mandate` on a GATE RECORD (archive read, server >= 7.129.0): today's seven `PersistedRuleMandate` words (`cross_boundary_taint` from server >= 7.134.0) PLUS the retired `write_protection_unresolved` (core 7.49.0 rename). Same reading as `GateRecordAskClass`.
|
|
17950
18083
|
GateRecordAskOrigin:
|
|
17951
18084
|
type: string
|
|
17952
|
-
enum: [content_question, plan_review, ancestor_marked, org_unavailable, org_rule, rule_store_unavailable, hook, ask_rule, denial_limit_fallback, shell_gate_tighten, safety_tighten, policy, unresolvable]
|
|
18085
|
+
enum: [content_question, plan_review, ancestor_marked, org_unavailable, org_rule, rule_store_unavailable, hook, ask_rule, denial_limit_fallback, integrity_guard, shell_gate_tighten, safety_tighten, policy, unresolvable]
|
|
17953
18086
|
description: >-
|
|
17954
|
-
`origin` on a GATE RECORD (`GateOutcome.origin`, `ModeRelease.origin`; archive read, server >= 7.129.0): core's
|
|
18087
|
+
`origin` on a GATE RECORD (`GateOutcome.origin`, `ModeRelease.origin`; archive read, server >= 7.129.0): core's `ASK_ORIGINS` (today's list, `integrity_guard` from server >= 7.153.0) PLUS the retired `unresolvable` (core 7.14.0 renamed it `ancestor_marked`).
|
|
17955
18088
|
🔴 CLOSED on this face — the engine judges membership here — unlike the OPEN `AskOrigin` of the approval-card faces (the server only checks a non-empty string there). Same reading as `GateRecordAskClass`.
|
|
17956
18089
|
|
|
17957
18090
|
Settlement:
|
|
@@ -18364,7 +18497,7 @@ components:
|
|
|
18364
18497
|
description: 'Present only when THIS pass settled an ask. Same-present/same-absent as `origin` (I1).'
|
|
18365
18498
|
origin:
|
|
18366
18499
|
allOf: [{ $ref: '#/components/schemas/GateRecordAskOrigin' }]
|
|
18367
|
-
# 🔴 闭集**执法**只在门记录这一面:引擎的 `screenGateOutcome` 对 `origin` 判成员(server >= 7.129.0
|
|
18500
|
+
# 🔴 闭集**执法**只在门记录这一面:引擎的 `screenGateOutcome` 对 `origin` 判成员(server >= 7.129.0 按**档案**读:今天的 `ASK_ORIGINS` ∪ 退役词 `unresolvable`),
|
|
18368
18501
|
# 任何一代引擎都没铸过的词即记录缺陷,服务对缺陷记录是整条不上帧。审批帧那一面不判成员,所以 `AskOrigin` 本体保持真开(见该 schema 的长注)。
|
|
18369
18502
|
# 闭集执法点 = `GateRecordAskOrigin` 这一张 enum(门记录的两个引用点 `GateOutcome.origin` / `ModeRelease.origin` 共用);core 加词时改这一处。
|
|
18370
18503
|
description: >
|
|
@@ -18512,6 +18645,7 @@ components:
|
|
|
18512
18645
|
minLength: 1
|
|
18513
18646
|
maxLength: 128
|
|
18514
18647
|
description: 'server >= 7.153.0 (engine 7.67.0): same as `Event_tool_start.resumesCheckpoint` — the gate identity of the parked row this resumed-leg replay picks up. ABSENT = not a replay.'
|
|
18648
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
18515
18649
|
refusedInput:
|
|
18516
18650
|
description: >-
|
|
18517
18651
|
server >= 7.153.0 (engine 7.67.0): the FINAL input of a refused call — the input the gate judged the refusal on (a rewritten input => the rewritten one; `tool_start.args` stays the model's own). Redacted with the same
|
|
@@ -18520,9 +18654,9 @@ components:
|
|
|
18520
18654
|
redactedKeys:
|
|
18521
18655
|
type: array
|
|
18522
18656
|
minItems: 1
|
|
18523
|
-
items: { type: string, enum: [output, structured, rewrite, refusedInput] }
|
|
18657
|
+
items: { type: string, enum: [output, structured, structuredSkeleton, rewrite, refusedInput] }
|
|
18524
18658
|
description: >-
|
|
18525
|
-
server >= 7.153.0 (MINTED BY THIS SERVER, not an engine key): the top-level members of this record whose bytes the redaction rewrote — a CLOSED
|
|
18659
|
+
server >= 7.153.0 (MINTED BY THIS SERVER, not an engine key): the top-level members of this record whose bytes the redaction rewrote — a CLOSED five-word set in record order (`structuredSkeleton` since 7.154.0); zero hits => ABSENT (never `[]`).
|
|
18526
18660
|
Replay reads the ledger's copy. Read this instead of comparing redaction marker literals.
|
|
18527
18661
|
toolCallId: { type: string }
|
|
18528
18662
|
toolName: { type: string }
|
|
@@ -18560,6 +18694,13 @@ components:
|
|
|
18560
18694
|
server >= 7.126.0 (core 7.49.0, contract table B `wireName` row, passed through verbatim) — the tool name this call resolved to on the LIVE roster (the name the gate judged). `toolName` stays the model's spelling (an alias /
|
|
18561
18695
|
a retired name the roster still answers to). Present ONLY on a refused call (`gate.disposition.kind === "denied"`), and absent when the station that refused it did not know the roster name; per-tool refusal accounting reads this, not `toolName`.
|
|
18562
18696
|
structured: {} # core 1.203 CC 卡片明细;与 output 同一 UNTRUSTED RAW 待遇(已 redactDeep),形状开放
|
|
18697
|
+
structuredSkeleton:
|
|
18698
|
+
type: object
|
|
18699
|
+
required: [type]
|
|
18700
|
+
additionalProperties: true
|
|
18701
|
+
description: 'server >= 7.154.0 (engine 7.68.0; UNTRUSTED RAW like `structured`): the SKELETON of a card left off `structured` by the size measure — never beside it (which one is present says whether the card is whole): `type` plus the members the kind declares fixed-length (a file card keeps its path and `contentSha256`, a caller-declared card `type` alone). Facts, not a card to render. Absent when not even that fits.'
|
|
18702
|
+
properties:
|
|
18703
|
+
type: { type: string }
|
|
18563
18704
|
isError: { type: boolean }
|
|
18564
18705
|
output: { $ref: '#/components/schemas/ToolOutput' } # 22.0.0: two shapes, one block schema shared with the trace faces
|
|
18565
18706
|
truncated: { type: boolean, description: 'true exactly when `output` is not the content the tool returned (text cut, a media block replaced by its descriptor or folded into the `omitted` summary — by core, or by the server on the ledger / replay faces and on a backlogged live connection).' }
|
|
@@ -18638,8 +18779,8 @@ components:
|
|
|
18638
18779
|
stays `readonly_out_of_root`).
|
|
18639
18780
|
🔴 core >= 7.6.0 — the MCP family within this open set is now the CLOSED `McpFailureKind` word list
|
|
18640
18781
|
(`connect_refused` / `connection_failed` / `connection_closed` / `unauthorized` / `http_status` / `not_mcp_response` /
|
|
18641
|
-
`spawn_failed` / `timeout` / `protocol` / `invalid_config` / `credential_unavailable` / `host_refused` / `unknown` — `credential_unavailable` from core 7.58.0 and
|
|
18642
|
-
`unauthorized` from core 7.59.0, server >= 7.138.0; `host_refused` from core 7.60.0, server >= 7.139.0); the retired
|
|
18782
|
+
`spawn_failed` / `timeout` / `protocol` / `invalid_config` / `credential_unavailable` / `host_refused` / `revoked` / `unknown` — `credential_unavailable` from core 7.58.0 and
|
|
18783
|
+
`unauthorized` from core 7.59.0, server >= 7.138.0; `host_refused` from core 7.60.0, server >= 7.139.0; `revoked` from core 7.67.0, i.e. servers embedding that engine, >= 7.153.0 - read on `wiring_manifest.mcp[].errorCode`, not on a call: see below); the retired
|
|
18643
18784
|
`MCP_FAILURE_CODES` spellings — including `network` and the `http_<status>` encoding — are gone,
|
|
18644
18785
|
and an HTTP status now rides the structured `httpStatus` seat on `wiring_manifest.mcp[]` instead of
|
|
18645
18786
|
being baked into the code. The set as a WHOLE stays open (a tool owns its own codes).
|
|
@@ -18647,6 +18788,9 @@ components:
|
|
|
18647
18788
|
server that LOST its session, `mcp.tool_declaration_changed` (the server now declares the tool differently — safety axis / read-only reading / the "a person must answer" mark / task support — or no longer lists it) and
|
|
18648
18789
|
`mcp.tool_listing_unreached` (the post-redial listing walk stopped before reaching the tool, so its new declaration cannot be proved). Every later call to that tool is refused the same way until a listing of the connection
|
|
18649
18790
|
reaches it — the way out is `POST /v1/sessions/{id}/mcp/reconnect` (or the engine's refresh); do not resend as-is. The lost-session failure itself stays `http_status` + `httpStatus: 404` + `delivered: "unknown"`.
|
|
18791
|
+
🔴 A CALL that the revocation ledger refuses before its request leaves reads `mcp.server_revoked`, not the word `revoked` (an engine code since core 5.50.0, passed through verbatim - the server has no mint point): the deployment's
|
|
18792
|
+
revocation ledger answered that the server is withdrawn. (When the revocation lands before a 401 or lost-session RE-SEND, the call answers its first attempt's failure code instead.) `revoked` is the failure class of a revoked DIAL and rides `wiring_manifest.mcp[].errorCode`. Read `delivered` together with the code: `no` = no hop was sent;
|
|
18793
|
+
`unknown` = a first hop was sent and a later redirect hop was revoked (in engine 7.68.2 only the A2A peer's redirect loop mints that form, with `a2a.peer_revoked`).
|
|
18650
18794
|
Consumers MUST branch with a `default` arm and MUST NOT exhaustively switch on known values.
|
|
18651
18795
|
The service enforces only a length bound (>128 chars = malformed, the whole key is DROPPED rather
|
|
18652
18796
|
than truncated — truncating would mint a code core never sent). NOTE: this is a DIFFERENT
|
|
@@ -19063,7 +19207,7 @@ components:
|
|
|
19063
19207
|
allOf: [{ $ref: '#/components/schemas/WiringManifestSuspendLane' }]
|
|
19064
19208
|
description: >-
|
|
19065
19209
|
server >= 7.153.0 (engine 7.67.0; OPERATOR face only, stripped on a tenant stream): can this leg suspend durably, and which pieces are missing. `ready` = a scheduler's yield parks the leg at its next clean boundary;
|
|
19066
|
-
`reasons` = the missing pieces (empty <=> ready; `no_checkpoint_store` / `volatile_tool_results` / `env_not_remote` / `env_suspend_undeclared` / `env_restore_incomplete`, closed words read open);
|
|
19210
|
+
`reasons` = the missing pieces (empty <=> ready; `no_checkpoint_store` / `leg_not_resumable` (server >= 7.154.0) / `volatile_tool_results` / `env_not_remote` / `env_suspend_undeclared` / `env_restore_incomplete`, closed words read open);
|
|
19067
19211
|
`recoverableAcrossProcesses` = ready AND both the checkpoint store and the session store DECLARE durability (a park minted here can be continued by another process). Readiness, never one request's outcome.
|
|
19068
19212
|
commandSandbox:
|
|
19069
19213
|
allOf: [{ $ref: '#/components/schemas/WiringManifestCommandSandbox' }]
|
|
@@ -19637,6 +19781,20 @@ components:
|
|
|
19637
19781
|
pathTarget: { $ref: '#/components/schemas/McpToolPathTarget' }
|
|
19638
19782
|
renderHints: { $ref: '#/components/schemas/McpToolRenderHints' }
|
|
19639
19783
|
ruleFace: { $ref: '#/components/schemas/McpToolRuleFace' }
|
|
19784
|
+
Event_hook_notice:
|
|
19785
|
+
type: object
|
|
19786
|
+
description: >-
|
|
19787
|
+
server >= 7.154.0 — the hook observation frame on a RUN's own event stream (live stream + ledger replay), present only on a run whose submit body declared `settings.runStreamHookFrames: "failures"`
|
|
19788
|
+
(probe `capabilities.taskSettings.runStreamHookFrames`). Payload keys and `ts` are the same values as the fleet-stream frame `FleetFrame_hook_notice` (four `kind` families, OPEN ON READ: dispatch on `kind`, degrade an unknown kind
|
|
19789
|
+
to a generic observability row; never infer a call outcome from a hook frame), plus the delivery identity `eventId`. A run without the declaration carries none (byte-identical to <= 7.153.x).
|
|
19790
|
+
required: [type, kind]
|
|
19791
|
+
additionalProperties: true
|
|
19792
|
+
properties:
|
|
19793
|
+
type: { const: hook_notice }
|
|
19794
|
+
kind: { type: string, description: 'hook_decision_unavailable / hook_non_blocking_failure / hook_managed_unrun / hook_verdict_untrusted (open set).' }
|
|
19795
|
+
ts: { type: number }
|
|
19796
|
+
eventId: { type: string }
|
|
19797
|
+
|
|
19640
19798
|
Event_engine_notice:
|
|
19641
19799
|
type: object
|
|
19642
19800
|
description: >
|
|
@@ -19730,8 +19888,9 @@ components:
|
|
|
19730
19888
|
`insufficient_scope`) / `none` (the authorization seat holds no authorization for this user), the engine's closed set, echoed by the server (read OPEN); `authorizeUrl` only ever comes from the deployment's authorization seat (this deployment
|
|
19731
19889
|
has none, so it is always absent and the sentence points at connector settings); `principal` is the run's principal when it has one. Once per leg per server (a resume is a new leg and may announce again). The same fact on the status faces is
|
|
19732
19890
|
`errorCode: "unauthorized"` + `authorization`. server >= 7.150.0: `reason` / `authorizeUrl` are members of the MCP authorization record and leave through the same disposition table as the status faces (structural slots: they do not pass the
|
|
19733
|
-
detail's free-text redaction and truncation); a `reason` word outside the closed set drops the pair as a whole, so `reason` is PRESENT IFF its word is in the closed set (read `reason` as optional; servers before 7.150.0 always carry it), and `authorizeUrl` is not let through today (always absent). `server` / `principal` / `sessionId` / `runId` stay as they were. NOT on the user whitelist, though core
|
|
19734
|
-
|
|
19891
|
+
detail's free-text redaction and truncation); a `reason` word outside the closed set drops the pair as a whole, so `reason` is PRESENT IFF its word is in the closed set (read `reason` as optional; servers before 7.150.0 always carry it), and `authorizeUrl` is not let through today (always absent). `server` / `principal` / `sessionId` / `runId` stay as they were. NOT on the user whitelist, though core's register holds it: `route.credential_rebound` (the HOST moved a per-model credential's binding, outside any run) is audience `operator` (core 7.59.0 through 7.68.2) — it never reaches this stream.
|
|
19892
|
+
`model.role_defaulted` (a role seat names a model word the catalog does not hold, so the role reads as unset and the run goes on) was audience `operator` in core 7.59.0 - 7.66.x and is `user` since core 7.67.0:
|
|
19893
|
+
server >= 7.153.0 puts it on the stream, `{ seat, role, model, reason, fallback, sessionId, runId? }` (`reason` is `unknown_model_ref` today; read it OPEN).
|
|
19735
19894
|
Value change: `permission.rule_row_dropped`'s `detail.rows[].rule` is, since core 7.53.0, the rule's original text (the same reading as
|
|
19736
19895
|
`allowed_tool_not_granted`'s `entries[].entry`: at most 1 024 code points, longer cut to 1 024 + a truncation mark, CONTROL CHARACTERS RIDE AS DATA —
|
|
19737
19896
|
neutralize at render); before it was the engine-neutralized single-line form (at most 201 code points). Same keys.
|
|
@@ -19811,8 +19970,8 @@ components:
|
|
|
19811
19970
|
with a finish reason the engine does not understand, so the text above may be cut short (`finishReason` = the provider's own word, an OPEN string, passed through verbatim; once per run per word); and
|
|
19812
19971
|
`route.stream_end_ignored` `{statement, word, frames, sessionId, runId}` — the provider had already ended the turn and its stream sent more (`statement` in {`ending`, `error`, `content`}, `word` = the late first
|
|
19813
19972
|
frame's ending reason / error word / content kind, `frames` = how many frames came after the end; the first ending counts, anything later never entered the turn; once per run per (statement, word)).
|
|
19814
|
-
server 7.149.0 (the user-visible whitelist grows 51 -> 52 codes; contract appendix D.3): `config.read_deny_floor_unkept` (the engine's code, passed through;
|
|
19815
|
-
|
|
19973
|
+
server 7.149.0 (the user-visible whitelist grows 51 -> 52 codes; contract appendix D.3): `config.read_deny_floor_unkept` (the engine's code, passed through; core's code book listed audience `operator`
|
|
19974
|
+
through core 7.66.x - this server put it on the run event stream anyway - and lists `user` since core 7.67.0, which server >= 7.153.0 carries) - this run WENT AHEAD while its read-deny rules are not byte-enforced (the read-deny table has rows, the execution environment does not
|
|
19816
19975
|
keep the byte floor, `READ_DENY_FLOOR_REQUIRED` is not set; when it is set the run does not go: the synchronous `POST /v1/tasks` answers 409 with the same code). `detail` =
|
|
19817
19976
|
`{ rowCount, sessionId, runId }` - the table's row count and the run it speaks of (a ladder level / verifier / subagent leg is its own run id); `message` is rewritten by the server per lane.
|
|
19818
19977
|
The same `{ code, message }` pair lands once more on the terminal result as `readDenyFloor` (`TaskResult.readDenyFloor`).
|
|
@@ -19954,6 +20113,7 @@ components:
|
|
|
19954
20113
|
checkpointId:
|
|
19955
20114
|
type: string
|
|
19956
20115
|
description: 'server >= 7.137.0, PRESENT-IFF: the stable non-secret identity of this park — the same value as the run row''s `result.terminal.checkpointId` and the queue / inbox row''s `checkpointId` (absent when it did not cross the identity trust boundary). Feed it to `plan_review` `checkpointId` for a plan gate.'
|
|
20116
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
19957
20117
|
ModelUsageDelta:
|
|
19958
20118
|
# 新增(2026-07-25 回填批)。SDK 的 facade 审计把这个形状命名了一次(此前是在两个使用点各写一遍的匿名内联形:
|
|
19959
20119
|
# `AgentEvent` 的 `model_usage` 臂 与 `done.result.stats.modelUsage` 的值类型,同源同形)。
|
|
@@ -20198,9 +20358,8 @@ components:
|
|
|
20198
20358
|
A BACKGROUND task (bg agent / bash / monitor / workflow / external) settled or emitted a batch. This frame
|
|
20199
20359
|
is the LEDGER/display projection of the OBSERVED terminal state. ⚠️ It does NOT attest that the
|
|
20200
20360
|
`<task-notification>` has entered the model context: the engine's injection targets the NEXT TURN BOUNDARY
|
|
20201
|
-
and can trail this frame by minutes (server >=
|
|
20202
|
-
|
|
20203
|
-
broke frame-as-echo dedup, [1818]). Key any dedup on the field's value, never on frame arrival.
|
|
20361
|
+
and can trail this frame by minutes (server >= 7.154.0 no longer mints the `injected` key at all — it was always present and always false and carried no information; ledger rows written BEFORE 7.154.0
|
|
20362
|
+
still replay with the retired `injected: false`; no replacement key: "did the model receive it" is told by the committed row, `message_committed` `origin: queued_note` + `noteKey`). Key any dedup on the field's value, never on frame arrival.
|
|
20204
20363
|
`partial:true` = a KILLED child's salvaged remnant (render as
|
|
20205
20364
|
incomplete). `seq` = stop-cycle/batch counter (dedup key together with task_id + status).
|
|
20206
20365
|
🔴 summary/result/lines/diagnostics are UNTRUSTED redacted free text — render, never re-feed to a model.
|
|
@@ -20213,11 +20372,12 @@ components:
|
|
|
20213
20372
|
task_id: { type: string }
|
|
20214
20373
|
task_type: { type: string }
|
|
20215
20374
|
status: { type: string }
|
|
20216
|
-
|
|
20217
|
-
type:
|
|
20375
|
+
refusedAsks:
|
|
20376
|
+
type: array
|
|
20218
20377
|
description: >-
|
|
20219
|
-
|
|
20220
|
-
|
|
20378
|
+
server >= 7.154.0 (engine 7.68.0): the asks of this background task that nobody could answer and that were refused, one entry per refused call (the same facts as the result`s `refusedAsks`);
|
|
20379
|
+
`toolName` / `remedy` pass the egress seat. present-iff at least one was refused.
|
|
20380
|
+
items: { $ref: '#/components/schemas/RefusedAsk' }
|
|
20221
20381
|
summary: { type: string, description: 'UNTRUSTED display text.' }
|
|
20222
20382
|
sessionId: { type: string }
|
|
20223
20383
|
toolUseId: { type: string }
|
|
@@ -20832,7 +20992,7 @@ components:
|
|
|
20832
20992
|
# 当天,一个**合法**的审批卡就会被严格消费端拒收。`x-open-enum` 只是意图标记,不解除 enum 的执法 ——
|
|
20833
20993
|
# 这正是本车刚从 `CheckpointGate` 拆掉的那个假开集,不在这里换个地方重犯。
|
|
20834
20994
|
# 闭集**执法**只属于**筛过的**那一面(`GateOutcome.origin`:引擎的 `screenGateOutcome` 判成员,
|
|
20835
|
-
# 出集即整条不上帧),所以那张 enum
|
|
20995
|
+
# 出集即整条不上帧),所以那张 enum 落在**那个引用点**,恰一处。已知词见下面的描述。
|
|
20836
20996
|
description: >
|
|
20837
20997
|
WHO raised an ask (`ApprovalRequestLiveFacts.origin`; server >= 7.57.0 / core 7.5.0) — core's
|
|
20838
20998
|
`ASK_ORIGINS`, ENGINE-STAMPED at the gate (core's words: "engine-stamped at the gate, never a policy's
|
|
@@ -20865,13 +21025,19 @@ components:
|
|
|
20865
21025
|
and it never reaches an approver as an `AskRequest`); only the plan pause's decide lane stamps it, so the decided row's record
|
|
20866
21026
|
names the ask it settled.
|
|
20867
21027
|
|
|
21028
|
+
🔴 core 7.67.0 ADDS A THIRTEENTH WORD (server >= 7.153.0), between `denial_limit_fallback` and `shell_gate_tighten`: `integrity_guard` = an
|
|
21029
|
+
always-on engine integrity guard put the question in its own words — a removal of a protected location, an unverifiable recursive delete,
|
|
21030
|
+
shell text the engine cannot read, a write to the session transcript. The same ask carries one `askReasons` entry `{ by: "integrity_guard", words }`
|
|
21031
|
+
with the card's sentence. The engine pins the real-approval bit on these asks at the guard's two mint sites; this word is a transcription,
|
|
21032
|
+
not a permission rule.
|
|
21033
|
+
|
|
20868
21034
|
The SAME type is the `origin` member of `GateOutcome` on `tool_end` — one vocabulary, two faces.
|
|
20869
21035
|
|
|
20870
21036
|
server >= 7.102.0 (S-755 / cli L-695 / C-R111): the word now also rides the `livePending` row top level
|
|
20871
21037
|
(read once with the frame's) and the operator queue row (`GET /v1/approvals` `pending[]` + the `/stream`
|
|
20872
21038
|
`pending` frame — the park-row twin seat, screened by core's `isAskOrigin`), besides the frame and the inbox
|
|
20873
21039
|
row — five faces, one word. `card_json` / the `approval_request` frame still do not carry it (the card is
|
|
20874
|
-
`.strict()`). The known words (
|
|
21040
|
+
`.strict()`). The known words (thirteen from core 7.67.0) are exported at runtime as the SDK's `ASK_ORIGINS` (core
|
|
20875
21041
|
`ASK_ORIGINS`, verbatim and in order) — known words, NOT an enforcement table.
|
|
20876
21042
|
|
|
20877
21043
|
AllowRuleMember:
|
|
@@ -21775,7 +21941,7 @@ components:
|
|
|
21775
21941
|
additionalProperties: false
|
|
21776
21942
|
required: [by, words]
|
|
21777
21943
|
properties:
|
|
21778
|
-
by: { type: string, enum: [content_question, plan_review, ancestor_marked, org_unavailable, org_rule, rule_store_unavailable, ask_rule, denial_limit_fallback, shell_gate_tighten, safety_tighten, policy], description: 'AskOrigin words minus `hook` (the server card schema''s table; an entry outside it withholds the whole seat).' }
|
|
21944
|
+
by: { type: string, enum: [content_question, plan_review, ancestor_marked, org_unavailable, org_rule, rule_store_unavailable, ask_rule, denial_limit_fallback, integrity_guard, shell_gate_tighten, safety_tighten, policy], description: 'AskOrigin words minus `hook` (the server card schema''s table; an entry outside it withholds the whole seat).' }
|
|
21779
21945
|
words: { type: string }
|
|
21780
21946
|
|
|
21781
21947
|
HookQuestionCause:
|
|
@@ -21945,6 +22111,7 @@ components:
|
|
|
21945
22111
|
bindingEnforced: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/bindingEnforced' }
|
|
21946
22112
|
decisionCommitted: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/decisionCommitted' }
|
|
21947
22113
|
checkpointId: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/checkpointId' }
|
|
22114
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
21948
22115
|
errorCode: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/errorCode' }
|
|
21949
22116
|
errorMessage: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/errorMessage' }
|
|
21950
22117
|
retriable: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/retriable' }
|
|
@@ -22343,12 +22510,51 @@ components:
|
|
|
22343
22510
|
checkpointId:
|
|
22344
22511
|
type: string
|
|
22345
22512
|
description: 'Same as `suspended.checkpointId` (server >= 7.137.0, PRESENT-IFF): the plan gate''s identity — send it as `plan_review` `checkpointId`.'
|
|
22513
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
22514
|
+
RefusedAsk:
|
|
22515
|
+
type: object
|
|
22516
|
+
required: [toolName, toolCallId, cause]
|
|
22517
|
+
additionalProperties: true
|
|
22518
|
+
description: 'server >= 7.154.0 (engine 7.68.0): one ask that nobody could answer and that was refused (`toolName` / `remedy` pass the egress seat).'
|
|
22519
|
+
properties:
|
|
22520
|
+
toolName: { type: string }
|
|
22521
|
+
toolCallId: { type: string, description: 'The refused call id (the same key as the `tool_start` / `tool_end` frames).' }
|
|
22522
|
+
cause: { type: string, description: 'approver_unavailable / no_approver_wired / mandate_unreconstructible (open set).' }
|
|
22523
|
+
remedy: { type: string, description: 'The way out the refusal named; ABSENT when it named none.' }
|
|
22524
|
+
|
|
22525
|
+
ResolvedReasoning:
|
|
22526
|
+
type: object
|
|
22527
|
+
required: [requested, effective, graded, clamped, format, endpoint]
|
|
22528
|
+
additionalProperties: true
|
|
22529
|
+
description: >-
|
|
22530
|
+
How a requested reasoning tier resolved on one request (engine `ResolvedReasoning`; `TaskResult.effectiveReasoning`). `effective` is what the request's thinking keys SAY, read where they are written, not an echo of the request.
|
|
22531
|
+
properties:
|
|
22532
|
+
requested: { type: string, enum: ['off', minimal, low, medium, high, xhigh, max], description: 'The level the caller asked for (seven tiers).' }
|
|
22533
|
+
effective:
|
|
22534
|
+
type: string
|
|
22535
|
+
enum: ['off', minimal, low, medium, high, xhigh, max, 'on', provider_default]
|
|
22536
|
+
description: >-
|
|
22537
|
+
A tier (the keys name it: `off` = a disable key or a deployment-declared off value; an enabled tier is the lane's tier key after the clamp) | `on` (the keys turn thinking on and name no tier: a binary enable key, adaptive thinking, a knob-fixed budget, a `null` levelmap entry behind an enable key; server >= 7.154.0, before it the request's tier was copied) |
|
|
22538
|
+
`provider_default` (the request put NO thinking key on the wire — together with `dropped: true`; the provider's own default applies; server >= 7.154.0, before it `off` or the request's tier was copied). Do not read `effective: off` as "thinking is certainly off": that needs `requested: off` AND `effective: off`.
|
|
22539
|
+
graded: { type: boolean, description: 'True exactly when `effective` is one of the six enabled tiers; false for `off` / `on` / `provider_default`.' }
|
|
22540
|
+
clamped: { type: boolean, description: 'True exactly when `effective` differs from `requested`.' }
|
|
22541
|
+
format: { type: string, enum: [openai, openrouter, deepseek, together, zai, qwen, qwen-chat-template, budget, effort, responses], description: 'The dialect or lane the keys are spelled in (engine `ReasoningFormat`).' }
|
|
22542
|
+
endpoint: { type: string, description: 'A coarse endpoint label (`model.api`, e.g. `openai-completions`, `anthropic-messages`).' }
|
|
22543
|
+
dropped: { const: true, description: 'Present (true) exactly when `effective` is `provider_default`.' }
|
|
22544
|
+
|
|
22545
|
+
CheckpointIdMissingWord:
|
|
22546
|
+
type: string
|
|
22547
|
+
enum: [absent, untrusted]
|
|
22548
|
+
description: >-
|
|
22549
|
+
server >= 7.154.0 - why a gate identity (`checkpointId`) is not on this row: `absent` = the row has no readable identity, `untrusted` = it has one that did not pass the identity judge (wrong shape / carries a capability key).
|
|
22550
|
+
The two keys are mutually exclusive on every face (`checkpointId` present XOR `checkpointIdMissing` present); a good row is byte-identical to <= 7.153.x. On the TOOL frames (`tool_start` / `tool_end`, and the turns / trace tool-call blocks) the partner key is `resumesCheckpoint`: the engine relayed one that the server cannot vouch for => `resumesCheckpoint` absent and `checkpointIdMissing: untrusted`; nothing relayed => both keys absent. Branch on this key, never on the bare absence of `checkpointId`.
|
|
22551
|
+
|
|
22346
22552
|
Event_message_committed:
|
|
22347
22553
|
type: object
|
|
22348
22554
|
description: >
|
|
22349
|
-
|
|
22350
|
-
|
|
22351
|
-
|
|
22555
|
+
A session-history entry was committed. `entryId` is the durable entry handle the R8 rewind anchor is keyed on ("rewind to the prompt" targets a `role:"user"` entry).
|
|
22556
|
+
server >= 7.154.0: this frame is also WRITTEN TO THE DURABLE LEDGER — `GET /v1/runs/{id}/events` replays the same projection, same values, same order (<= 7.153.x: live stream only). A ledger written before 7.154.0 has no such frame
|
|
22557
|
+
(replayed as written, never back-filled); per message, a reply message whose text rows reached the turn's `turn_end` without its commit row has no commit frame. On the live stream `reasoning_end` now precedes the commit frame.
|
|
22352
22558
|
additionalProperties: false
|
|
22353
22559
|
required: [type, entryId, role]
|
|
22354
22560
|
properties:
|
|
@@ -22356,6 +22562,9 @@ components:
|
|
|
22356
22562
|
entryId: { type: string }
|
|
22357
22563
|
role: { type: string, description: 'user | assistant | … (open on read).' }
|
|
22358
22564
|
toolCallId: { type: string }
|
|
22565
|
+
origin: { type: string, description: 'server >= 7.154.0 (engine 7.67.0): what a `role: "user"` row is — `human_input` / `attachment` / `interruption_marker` / `queued_note`; present on every user row, absent on other roles. Open on read.' }
|
|
22566
|
+
inputId: { type: string, description: 'server >= 7.154.0: only with `origin` `human_input` / `attachment` — the `human_input.inputId` of the input this row IS (or an attachment frame belongs to).' }
|
|
22567
|
+
noteKey: { type: string, description: 'server >= 7.154.0: only with `origin: queued_note` on a task notification row — the notification frame''s durable key (the one `taskNotificationDedupKey` reads off the `task_notification` payload).' }
|
|
22359
22568
|
eventId: { type: string }
|
|
22360
22569
|
parentToolCallId: { type: string }
|
|
22361
22570
|
sourceTaskId: { type: string }
|
|
@@ -22654,6 +22863,8 @@ components:
|
|
|
22654
22863
|
allOf: [{ $ref: '#/components/schemas/SessionAgent' }]
|
|
22655
22864
|
description: '`pending` frames of the checkpoint family only (server >= 7.145.0): the spread PendingCheckpoint row''s `agent` (same read port; `resolved` frames do not carry it; absent = this server did not say, not "not a child").'
|
|
22656
22865
|
checkpointId: { type: string, description: '`pending` frames only (server >= 7.133.0): the spread PendingCheckpoint row''s `checkpointId` (key absent when the row has no trusted value — read as "no joinable identity").' }
|
|
22866
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
22867
|
+
hostSessionId: { type: string, description: 'server >= 7.154.0: the HOST session of a card parked in another session — a ladder (`cascade:true`) rung card points back at the submitting session, a workflow leg card at the session that started that workflow; = whose run is continued when this card is decided. Present only when it is not `sessionId`, readable as exactly one value, and the reader can see that session; ABSENT otherwise. Background delegated sub-agent cards never carry it (a `resolved` frame carries the last `pending` frame value).' }
|
|
22657
22868
|
consumerState: { type: string, enum: [absent], description: '`live_pending` frames only (server >= 7.133.0): the spread LivePendingRow''s true-only `consumerState` (no engine leg on this replica is waiting for the ask).' }
|
|
22658
22869
|
errorCode: { type: string, description: '`error` frames: the machine code (`STREAM_MAX_DURATION` / `draining` / server >= 7.133.0 `approvals.read_unavailable` — the stream STAYS open, do NOT reconnect on it — / `approvals.read_corrupt` — a corrupt row was read, the server closes the stream after the frame).' }
|
|
22659
22870
|
message: { type: string, description: '`error` frames: the human sentence (redacted); never match on it.' }
|
|
@@ -22726,6 +22937,7 @@ components:
|
|
|
22726
22937
|
decision: { type: string, enum: [approve, deny] }
|
|
22727
22938
|
decisionCommitted: { type: boolean, enum: [true], description: 'server >= 7.138.0 - SETTLEMENT EVIDENCE: `true` = the gate this request named was durably settled with THIS request''s decision (historical evidence, not the card''s current state). Always the literal `true`, never `false`. Absent = unprovable or deliberately omitted => read as "not committed" (fail-closed); do not infer it from the absence of `errorCode`. It coexists with `errorCode: cancelled` / `retriable: true`; `retriable: true` only says the run re-parked.' }
|
|
22728
22939
|
checkpointId: { type: string, description: 'server >= 7.138.0 - only alongside `decisionCommitted`: the gate identity of the row selected before execution (same name and value as the operator queue / inbox row / park ledger row). Absent when the identity is unreadable or not applicable (an idempotent replay carries none); absence infers nothing.' }
|
|
22940
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
22729
22941
|
- type: object
|
|
22730
22942
|
required: [taskId, status, decision]
|
|
22731
22943
|
additionalProperties: true
|
|
@@ -22735,6 +22947,7 @@ components:
|
|
|
22735
22947
|
decision: { type: string, enum: [deny] }
|
|
22736
22948
|
decisionCommitted: { type: boolean, enum: [true], description: 'server >= 7.138.0 - SETTLEMENT EVIDENCE: `true` = the gate this request named was durably settled with THIS request''s decision (historical evidence, not the card''s current state). Always the literal `true`, never `false`. Absent = unprovable or deliberately omitted => read as "not committed" (fail-closed); do not infer it from the absence of `errorCode`. It coexists with `errorCode: cancelled` / `retriable: true`; `retriable: true` only says the run re-parked.' }
|
|
22737
22949
|
checkpointId: { type: string, description: 'server >= 7.138.0 - only alongside `decisionCommitted`: the gate identity of the row selected before execution (same name and value as the operator queue / inbox row / park ledger row). Absent when the identity is unreadable or not applicable (an idempotent replay carries none); absence infers nothing.' }
|
|
22950
|
+
checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
|
|
22738
22951
|
|
|
22739
22952
|
FleetMeta:
|
|
22740
22953
|
type: object
|
|
@@ -23539,7 +23752,7 @@ components:
|
|
|
23539
23752
|
ready: { type: boolean, description: 'A scheduler yield parks the leg at its next clean boundary.' }
|
|
23540
23753
|
reasons:
|
|
23541
23754
|
type: array
|
|
23542
|
-
description: 'The missing pieces (empty <=> ready): `no_checkpoint_store` / `volatile_tool_results` / `env_not_remote` / `env_suspend_undeclared` / `env_restore_incomplete` — closed words, read open.'
|
|
23755
|
+
description: 'The missing pieces (empty <=> ready): `no_checkpoint_store` / `leg_not_resumable` (server >= 7.154.0) / `volatile_tool_results` / `env_not_remote` / `env_suspend_undeclared` / `env_restore_incomplete` — closed words, read open.'
|
|
23543
23756
|
items: { type: string }
|
|
23544
23757
|
recoverableAcrossProcesses: { type: boolean, description: 'Ready AND both the checkpoint store and the session store DECLARE durability: a park minted here can be continued by another process (a drain hand-off).' }
|
|
23545
23758
|
|
|
@@ -23764,7 +23977,7 @@ components:
|
|
|
23764
23977
|
description: >
|
|
23765
23978
|
core >= 7.6.0 — the `McpFailureKind` word (`connect_refused` / `connection_failed` /
|
|
23766
23979
|
`connection_closed` / `unauthorized` / `http_status` / `not_mcp_response` / `spawn_failed` / `timeout` /
|
|
23767
|
-
`protocol` / `invalid_config` / `credential_unavailable` / `host_refused` / `unknown`; server >= 7.139.0 (core 7.60.0): `host_refused` = the host seat of a host-supplied transport did not hand the request to the remote (nothing was
|
|
23980
|
+
`protocol` / `invalid_config` / `credential_unavailable` / `host_refused` / `revoked` / `unknown`; `revoked` (core 7.67.0, servers embedding it, >= 7.153.0) = the deployment's revocation ledger answered that the server or peer is withdrawn when the engine went to dial it, so the dial was refused and nothing was sent (`delivered: "no"`; a CALL the ledger refuses before its request leaves is `mcp.server_revoked` on `tool_end.errorCode`, not this word); server >= 7.139.0 (core 7.60.0): `host_refused` = the host seat of a host-supplied transport did not hand the request to the remote (nothing was
|
|
23768
23981
|
sent; no deployment of this server mounts one today, the word is the engine's); server >= 7.138.0: `unauthorized` = the principal must authorize this server
|
|
23769
23982
|
first — the endpoint answered 401 (after the deployment's peer seat was asked once more) or a 403 with an `insufficient_scope` challenge, or the peer
|
|
23770
23983
|
seat answered that the principal is not authorized here; earlier servers sent the first two as `http_status`; `credential_unavailable` = the
|