@sema-agent/sdk 42.0.0 → 43.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.
Files changed (45) hide show
  1. package/README.md +75 -2
  2. package/dist/bitless-surfaces.d.ts +6 -1
  3. package/dist/bitless-surfaces.d.ts.map +1 -1
  4. package/dist/bitless-surfaces.js +13 -4
  5. package/dist/bitless-surfaces.js.map +1 -1
  6. package/dist/errors.d.ts +12 -3
  7. package/dist/errors.d.ts.map +1 -1
  8. package/dist/errors.js +12 -2
  9. package/dist/errors.js.map +1 -1
  10. package/dist/events.d.ts +50 -17
  11. package/dist/events.d.ts.map +1 -1
  12. package/dist/events.js +2 -2
  13. package/dist/events.js.map +1 -1
  14. package/dist/index.d.ts +3 -3
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/index.js.map +1 -1
  18. package/dist/model-route-env/index.d.ts +2 -2
  19. package/dist/model-route-env/index.js +1 -1
  20. package/dist/model-route-env/index.js.map +1 -1
  21. package/dist/resources/approvals.d.ts +8 -0
  22. package/dist/resources/approvals.d.ts.map +1 -1
  23. package/dist/resources/approvals.js.map +1 -1
  24. package/dist/resources/runs.d.ts +4 -3
  25. package/dist/resources/runs.d.ts.map +1 -1
  26. package/dist/resources/runs.js +4 -3
  27. package/dist/resources/runs.js.map +1 -1
  28. package/dist/resources/sessions.d.ts +3 -3
  29. package/dist/resources/sessions.js +2 -2
  30. package/dist/resources/tasks.d.ts +5 -2
  31. package/dist/resources/tasks.d.ts.map +1 -1
  32. package/dist/resources/tasks.js +5 -2
  33. package/dist/resources/tasks.js.map +1 -1
  34. package/dist/settings.d.ts +8 -0
  35. package/dist/settings.d.ts.map +1 -1
  36. package/dist/transport.d.ts +3 -0
  37. package/dist/transport.d.ts.map +1 -1
  38. package/dist/transport.js +4 -0
  39. package/dist/transport.js.map +1 -1
  40. package/dist/types.d.ts +174 -13
  41. package/dist/types.d.ts.map +1 -1
  42. package/dist/types.js +26 -3
  43. package/dist/types.js.map +1 -1
  44. package/openapi.yaml +216 -18
  45. package/package.json +1 -1
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAyEA;;;;;;;;;;;;;;;;;;;qEAmBqE;AACrE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAU,CAAC;AAE7F,6JAA6J;AAC7J,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,CAAU,CAAC,CAAC;AAsInE;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAU,CAAC,CAAC;AAkoC/D;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,qBAAqB,EAAE,0BAA0B,EAAE,aAAa,EAAE,eAAe,CAAU,CAAC,CAAC;AA2mBxI,sEAAsE;AACtE,MAAM,UAAU,2BAA2B,CAAC,GAAoB;IAC9D,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;AAC1C,CAAC;AA4lBD;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,aAAa,EAAE,cAAc,EAAE,kBAAkB,CAAU,CAAC,CAAC;AA8kBnH,uDAAuD;AACvD,MAAM,WAAW,GAAG,CAAqC,IAAO,EAAE,SAAY,EAAuC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;AAE3J;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,CAAC;IACrD,QA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  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]"`; every string leaf passes the error-sentence redaction (credential shapes masked, paths kept).'
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 today). False is NOT "dryRun refused": dryRun is accepted and answers `preview: null`. ABSENT = an older server.
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)`; 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
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 closed word (`link_safety` / `base_unavailable` / `key_unresolvable`); read as an open set.' }
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:
@@ -15431,6 +15552,8 @@ components:
15431
15552
  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
15553
  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
15554
  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.' }
15555
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
15556
+ 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
15557
  rowVerdict:
15435
15558
  allOf: [{ $ref: '#/components/schemas/CheckpointRowVerdict' }]
15436
15559
  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 +15793,7 @@ components:
15670
15793
  properties:
15671
15794
  sessionId: { type: string, description: 'The suspended task/session id.' }
15672
15795
  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.' }
15796
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
15673
15797
  cardMessage:
15674
15798
  type: string
15675
15799
  minLength: 1
@@ -15947,6 +16071,7 @@ components:
15947
16071
  nothing ran; do not backfill it from the path id. It tightens back to required once the server settles this form.
15948
16072
  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
16073
  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.' }
16074
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
15950
16075
  status:
15951
16076
  type: string
15952
16077
  description: >
@@ -17585,6 +17710,7 @@ components:
17585
17710
  - $ref: '#/components/schemas/Event_task_progress'
17586
17711
  - $ref: '#/components/schemas/Event_workspace_changed'
17587
17712
  - $ref: '#/components/schemas/Event_engine_notice'
17713
+ - $ref: '#/components/schemas/Event_hook_notice'
17588
17714
  - $ref: '#/components/schemas/Event_suspended'
17589
17715
  # 🔴 以下 6 臂是 2026-07-25 补的:`events.ts` 的 `AgentEvent` 联合有 21 个 `type` 字面量,本文件此前只声明
17590
17716
  # 15 个 —— 照本文件生成客户端的消费方会把 6 种合法帧当成非法值(事件面是最吃重的 wire 面,这个缺口比
@@ -17669,6 +17795,7 @@ components:
17669
17795
  task_progress: '#/components/schemas/Event_task_progress'
17670
17796
  workspace_changed: '#/components/schemas/Event_workspace_changed'
17671
17797
  engine_notice: '#/components/schemas/Event_engine_notice'
17798
+ hook_notice: '#/components/schemas/Event_hook_notice'
17672
17799
  suspended: '#/components/schemas/Event_suspended'
17673
17800
  file_link: '#/components/schemas/Event_file_link'
17674
17801
  prompt_assembled: '#/components/schemas/Event_prompt_assembled'
@@ -17868,6 +17995,7 @@ components:
17868
17995
  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
17996
  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
17997
  `tool_end.resumesCheckpoint`. Shape-checked only on the frame: that the value is a row this server itself knows cannot be judged there.
17998
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
17871
17999
  toolCallId: { type: string }
17872
18000
  toolName: { type: string }
17873
18001
  requestedBy:
@@ -18512,6 +18640,7 @@ components:
18512
18640
  minLength: 1
18513
18641
  maxLength: 128
18514
18642
  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.'
18643
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
18515
18644
  refusedInput:
18516
18645
  description: >-
18517
18646
  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 +18649,9 @@ components:
18520
18649
  redactedKeys:
18521
18650
  type: array
18522
18651
  minItems: 1
18523
- items: { type: string, enum: [output, structured, rewrite, refusedInput] }
18652
+ items: { type: string, enum: [output, structured, structuredSkeleton, rewrite, refusedInput] }
18524
18653
  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 four-word set in record order; zero hits => ABSENT (never `[]`).
18654
+ 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
18655
  Replay reads the ledger's copy. Read this instead of comparing redaction marker literals.
18527
18656
  toolCallId: { type: string }
18528
18657
  toolName: { type: string }
@@ -18560,6 +18689,13 @@ components:
18560
18689
  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
18690
  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
18691
  structured: {} # core 1.203 CC 卡片明细;与 output 同一 UNTRUSTED RAW 待遇(已 redactDeep),形状开放
18692
+ structuredSkeleton:
18693
+ type: object
18694
+ required: [type]
18695
+ additionalProperties: true
18696
+ 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.'
18697
+ properties:
18698
+ type: { type: string }
18563
18699
  isError: { type: boolean }
18564
18700
  output: { $ref: '#/components/schemas/ToolOutput' } # 22.0.0: two shapes, one block schema shared with the trace faces
18565
18701
  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).' }
@@ -19063,7 +19199,7 @@ components:
19063
19199
  allOf: [{ $ref: '#/components/schemas/WiringManifestSuspendLane' }]
19064
19200
  description: >-
19065
19201
  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);
19202
+ `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
19203
  `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
19204
  commandSandbox:
19069
19205
  allOf: [{ $ref: '#/components/schemas/WiringManifestCommandSandbox' }]
@@ -19637,6 +19773,20 @@ components:
19637
19773
  pathTarget: { $ref: '#/components/schemas/McpToolPathTarget' }
19638
19774
  renderHints: { $ref: '#/components/schemas/McpToolRenderHints' }
19639
19775
  ruleFace: { $ref: '#/components/schemas/McpToolRuleFace' }
19776
+ Event_hook_notice:
19777
+ type: object
19778
+ description: >-
19779
+ 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"`
19780
+ (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
19781
+ 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).
19782
+ required: [type, kind]
19783
+ additionalProperties: true
19784
+ properties:
19785
+ type: { const: hook_notice }
19786
+ kind: { type: string, description: 'hook_decision_unavailable / hook_non_blocking_failure / hook_managed_unrun / hook_verdict_untrusted (open set).' }
19787
+ ts: { type: number }
19788
+ eventId: { type: string }
19789
+
19640
19790
  Event_engine_notice:
19641
19791
  type: object
19642
19792
  description: >
@@ -19954,6 +20104,7 @@ components:
19954
20104
  checkpointId:
19955
20105
  type: string
19956
20106
  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.'
20107
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
19957
20108
  ModelUsageDelta:
19958
20109
  # 新增(2026-07-25 回填批)。SDK 的 facade 审计把这个形状命名了一次(此前是在两个使用点各写一遍的匿名内联形:
19959
20110
  # `AgentEvent` 的 `model_usage` 臂 与 `done.result.stats.modelUsage` 的值类型,同源同形)。
@@ -20198,9 +20349,8 @@ components:
20198
20349
  A BACKGROUND task (bg agent / bash / monitor / workflow / external) settled or emitted a batch. This frame
20199
20350
  is the LEDGER/display projection of the OBSERVED terminal state. ⚠️ It does NOT attest that the
20200
20351
  `<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 >=1.286 sends `injected: false` to say so explicitly; an
20202
- earlier revision of this description claimed "already injected in-process" — the wrong assumption that
20203
- broke frame-as-echo dedup, [1818]). Key any dedup on the field's value, never on frame arrival.
20352
+ 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
20353
+ 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
20354
  `partial:true` = a KILLED child's salvaged remnant (render as
20205
20355
  incomplete). `seq` = stop-cycle/batch counter (dedup key together with task_id + status).
20206
20356
  🔴 summary/result/lines/diagnostics are UNTRUSTED redacted free text — render, never re-feed to a model.
@@ -20213,11 +20363,12 @@ components:
20213
20363
  task_id: { type: string }
20214
20364
  task_type: { type: string }
20215
20365
  status: { type: string }
20216
- injected:
20217
- type: boolean
20366
+ refusedAsks:
20367
+ type: array
20218
20368
  description: >-
20219
- false = ledger observation only, model-context injection NOT attested (always false today; true is
20220
- reserved for a future engine injection-echo seam). Absent on servers <1.286 — same semantics as false.
20369
+ 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`);
20370
+ `toolName` / `remedy` pass the egress seat. present-iff at least one was refused.
20371
+ items: { $ref: '#/components/schemas/RefusedAsk' }
20221
20372
  summary: { type: string, description: 'UNTRUSTED display text.' }
20222
20373
  sessionId: { type: string }
20223
20374
  toolUseId: { type: string }
@@ -21945,6 +22096,7 @@ components:
21945
22096
  bindingEnforced: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/bindingEnforced' }
21946
22097
  decisionCommitted: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/decisionCommitted' }
21947
22098
  checkpointId: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/checkpointId' }
22099
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
21948
22100
  errorCode: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/errorCode' }
21949
22101
  errorMessage: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/errorMessage' }
21950
22102
  retriable: { $ref: '#/components/schemas/ApprovalDecisionResult/properties/retriable' }
@@ -22343,12 +22495,51 @@ components:
22343
22495
  checkpointId:
22344
22496
  type: string
22345
22497
  description: 'Same as `suspended.checkpointId` (server >= 7.137.0, PRESENT-IFF): the plan gate''s identity — send it as `plan_review` `checkpointId`.'
22498
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
22499
+ RefusedAsk:
22500
+ type: object
22501
+ required: [toolName, toolCallId, cause]
22502
+ additionalProperties: true
22503
+ 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).'
22504
+ properties:
22505
+ toolName: { type: string }
22506
+ toolCallId: { type: string, description: 'The refused call id (the same key as the `tool_start` / `tool_end` frames).' }
22507
+ cause: { type: string, description: 'approver_unavailable / no_approver_wired / mandate_unreconstructible (open set).' }
22508
+ remedy: { type: string, description: 'The way out the refusal named; ABSENT when it named none.' }
22509
+
22510
+ ResolvedReasoning:
22511
+ type: object
22512
+ required: [requested, effective, graded, clamped, format, endpoint]
22513
+ additionalProperties: true
22514
+ description: >-
22515
+ 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.
22516
+ properties:
22517
+ requested: { type: string, enum: ['off', minimal, low, medium, high, xhigh, max], description: 'The level the caller asked for (seven tiers).' }
22518
+ effective:
22519
+ type: string
22520
+ enum: ['off', minimal, low, medium, high, xhigh, max, 'on', provider_default]
22521
+ description: >-
22522
+ 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) |
22523
+ `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`.
22524
+ graded: { type: boolean, description: 'True exactly when `effective` is one of the six enabled tiers; false for `off` / `on` / `provider_default`.' }
22525
+ clamped: { type: boolean, description: 'True exactly when `effective` differs from `requested`.' }
22526
+ 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`).' }
22527
+ endpoint: { type: string, description: 'A coarse endpoint label (`model.api`, e.g. `openai-completions`, `anthropic-messages`).' }
22528
+ dropped: { const: true, description: 'Present (true) exactly when `effective` is `provider_default`.' }
22529
+
22530
+ CheckpointIdMissingWord:
22531
+ type: string
22532
+ enum: [absent, untrusted]
22533
+ description: >-
22534
+ 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).
22535
+ 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`.
22536
+
22346
22537
  Event_message_committed:
22347
22538
  type: object
22348
22539
  description: >
22349
- LIVE only (server routes/tasks.ts, whitelisted in the same catch-all as text_delta/turn_end/
22350
- context_usage) — a session-history entry was committed. `entryId` is the durable entry handle the
22351
- R8 rewind anchor is keyed on ("rewind to the prompt" targets a `role:"user"` entry).
22540
+ 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).
22541
+ 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
22542
+ (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
22543
  additionalProperties: false
22353
22544
  required: [type, entryId, role]
22354
22545
  properties:
@@ -22356,6 +22547,9 @@ components:
22356
22547
  entryId: { type: string }
22357
22548
  role: { type: string, description: 'user | assistant | … (open on read).' }
22358
22549
  toolCallId: { type: string }
22550
+ 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.' }
22551
+ 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).' }
22552
+ 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
22553
  eventId: { type: string }
22360
22554
  parentToolCallId: { type: string }
22361
22555
  sourceTaskId: { type: string }
@@ -22654,6 +22848,8 @@ components:
22654
22848
  allOf: [{ $ref: '#/components/schemas/SessionAgent' }]
22655
22849
  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
22850
  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").' }
22851
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
22852
+ 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
22853
  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
22854
  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
22855
  message: { type: string, description: '`error` frames: the human sentence (redacted); never match on it.' }
@@ -22726,6 +22922,7 @@ components:
22726
22922
  decision: { type: string, enum: [approve, deny] }
22727
22923
  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
22924
  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.' }
22925
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
22729
22926
  - type: object
22730
22927
  required: [taskId, status, decision]
22731
22928
  additionalProperties: true
@@ -22735,6 +22932,7 @@ components:
22735
22932
  decision: { type: string, enum: [deny] }
22736
22933
  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
22934
  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.' }
22935
+ checkpointIdMissing: { $ref: '#/components/schemas/CheckpointIdMissingWord' }
22738
22936
 
22739
22937
  FleetMeta:
22740
22938
  type: object
@@ -23539,7 +23737,7 @@ components:
23539
23737
  ready: { type: boolean, description: 'A scheduler yield parks the leg at its next clean boundary.' }
23540
23738
  reasons:
23541
23739
  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.'
23740
+ 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
23741
  items: { type: string }
23544
23742
  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
23743
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sema-agent/sdk",
3
- "version": "42.0.0",
3
+ "version": "43.0.0",
4
4
  "description": "Typed, zero-runtime-dependency SDK for the Sema agent fleet usage plane. The shared substrate for all doors (CC/Codex MCP façade + web). Server-side only — tokens never enter the browser.",
5
5
  "type": "module",
6
6
  "license": "BUSL-1.1",