@sema-agent/server 7.149.0 → 7.151.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 (441) hide show
  1. package/MIGRATION.md +307 -9
  2. package/README.md +1 -1
  3. package/README.zh-CN.md +1 -1
  4. package/USAGE.md +92 -40
  5. package/deploy/sema-up/README.md +7 -1
  6. package/deploy/sema-up/chart/Chart.yaml +1 -1
  7. package/deploy/sema-up/chart/templates/NOTES.txt +5 -0
  8. package/deploy/sema-up/chart/templates/_helpers.tpl +15 -16
  9. package/deploy/sema-up/chart/templates/server-v4pro.yaml +5 -3
  10. package/deploy/sema-up/chart/templates/server.yaml +5 -3
  11. package/deploy/sema-up/chart/values-full-single.yaml +3 -1
  12. package/deploy/sema-up/chart/values.yaml +8 -1
  13. package/deploy/sema-up/cluster-up.sh +1 -0
  14. package/deploy/sema-up/kube-up.sh +1 -1
  15. package/deploy/sema-up/lib/flagshape.sh +1 -1
  16. package/deploy/sema-up/lib/helm-values-cluster.py +2 -0
  17. package/deploy/sema-up/lib/helm-values-kube.py +2 -0
  18. package/dist/adoption/import.js +3 -3
  19. package/dist/approval-ask-machine.d.ts +1 -1
  20. package/dist/approval-card.d.ts +3 -3
  21. package/dist/approval-gate-currency.d.ts +2 -2
  22. package/dist/audit.d.ts +1 -1
  23. package/dist/audit.js +2 -2
  24. package/dist/auth-bridge.d.ts +20 -0
  25. package/dist/auth-bridge.js +9 -0
  26. package/dist/background-session-reap.d.ts +2 -2
  27. package/dist/bake-runner/main.d.ts +4 -2
  28. package/dist/bind-host.d.ts +2 -3
  29. package/dist/bind-host.js +2 -4
  30. package/dist/boot/budget-tracing.js +1 -1
  31. package/dist/boot/deferred-sandbox-path-env.d.ts +5 -3
  32. package/dist/boot/deferred-sandbox-path-env.js +1 -2
  33. package/dist/boot/engine-lease.d.ts +5 -0
  34. package/dist/boot/engine-lease.js +1 -0
  35. package/dist/boot/execution-env.d.ts +8 -14
  36. package/dist/boot/execution-env.js +54 -17
  37. package/dist/boot/execution-lane.js +32 -5
  38. package/dist/boot/late-binds.d.ts +8 -4
  39. package/dist/boot/late-binds.js +7 -1
  40. package/dist/boot/memory-consolidation.d.ts +3 -2
  41. package/dist/boot/memory-consolidation.js +6 -6
  42. package/dist/boot/parked-revive-gate.d.ts +5 -5
  43. package/dist/boot/parked-revive-gate.js +2 -3
  44. package/dist/boot/reapers.d.ts +5 -0
  45. package/dist/boot/reapers.js +12 -1
  46. package/dist/boot/resolve-spec.d.ts +7 -8
  47. package/dist/boot/resolve-spec.js +80 -35
  48. package/dist/boot/retention-lane.d.ts +1 -1
  49. package/dist/boot/runner-deps.d.ts +9 -2
  50. package/dist/boot/runner-deps.js +3 -3
  51. package/dist/boot/session-age-out.d.ts +36 -0
  52. package/dist/boot/session-age-out.js +101 -0
  53. package/dist/boot/session-faces.d.ts +5 -14
  54. package/dist/boot/session-faces.js +28 -24
  55. package/dist/boot/stage-01-config.js +2 -0
  56. package/dist/boot/stage-03-store-backend.js +2 -2
  57. package/dist/boot/stage-05-execution-env.d.ts +5 -3
  58. package/dist/boot/stage-05-execution-env.js +2 -2
  59. package/dist/boot/stage-06-runners.d.ts +7 -4
  60. package/dist/boot/stage-06-runners.js +16 -8
  61. package/dist/boot/stage-07-capability-layer.d.ts +7 -4
  62. package/dist/boot/stage-07-capability-layer.js +3 -2
  63. package/dist/boot/stage-08-reapers.d.ts +7 -4
  64. package/dist/boot/stage-08-reapers.js +4 -2
  65. package/dist/boot/stage-09-leader.d.ts +11 -5
  66. package/dist/boot/stage-09-leader.js +12 -3
  67. package/dist/boot/stage-10-http-server.d.ts +44 -6
  68. package/dist/boot/stage-10-http-server.js +12 -10
  69. package/dist/boot/web-admin.d.ts +1 -1
  70. package/dist/boot/web-admin.js +3 -1
  71. package/dist/boot/workflow-orchestration.d.ts +7 -2
  72. package/dist/boot/workflow-orchestration.js +24 -7
  73. package/dist/bounded-rotation.d.ts +29 -0
  74. package/dist/bounded-rotation.js +24 -0
  75. package/dist/capability-facts.d.ts +84 -66
  76. package/dist/capability-facts.js +58 -41
  77. package/dist/center-credential.d.ts +25 -6
  78. package/dist/center-credential.js +25 -5
  79. package/dist/config-catalog.d.ts +26 -7
  80. package/dist/config-catalog.js +15 -12
  81. package/dist/config-invariants.d.ts +2 -1
  82. package/dist/config-invariants.js +4 -4
  83. package/dist/config-types.d.ts +22 -15
  84. package/dist/config.d.ts +51 -2
  85. package/dist/config.js +35 -24
  86. package/dist/deployment-governance.d.ts +7 -28
  87. package/dist/deployment-governance.js +1 -14
  88. package/dist/deployment-shape.d.ts +9 -1
  89. package/dist/deployment-shape.js +2 -1
  90. package/dist/device-protocol.d.ts +5 -4
  91. package/dist/device-protocol.js +1 -1
  92. package/dist/device-ws-hub.d.ts +1 -0
  93. package/dist/device-ws-hub.js +66 -29
  94. package/dist/device-ws-protocol.d.ts +79 -12
  95. package/dist/device-ws-protocol.js +64 -26
  96. package/dist/engine-identity.d.ts +23 -5
  97. package/dist/engine-identity.js +13 -0
  98. package/dist/entry-mode-clamp-notice.d.ts +2 -1
  99. package/dist/execution-env-refusal.d.ts +23 -0
  100. package/dist/execution-env-refusal.js +5 -0
  101. package/dist/execution-lane-caps.d.ts +3 -1
  102. package/dist/field-conflict.d.ts +3 -3
  103. package/dist/file-history-capture.d.ts +11 -4
  104. package/dist/file-history-capture.js +9 -6
  105. package/dist/file-history-disclosure.d.ts +7 -5
  106. package/dist/file-history-disclosure.js +7 -5
  107. package/dist/fleet/drain-entry.d.ts +4 -0
  108. package/dist/fleet/engine-signal.d.ts +14 -1
  109. package/dist/fleet/engine-signal.js +5 -1
  110. package/dist/fleet/fleet-reconciler.d.ts +1 -1
  111. package/dist/fleet/serving-lease.d.ts +18 -3
  112. package/dist/fleet/serving-lease.js +81 -35
  113. package/dist/fleet-client.d.ts +13 -11
  114. package/dist/fleet-client.js +53 -33
  115. package/dist/history-anchor.js +1 -1
  116. package/dist/hitl-delivery.d.ts +1 -3
  117. package/dist/hitl-delivery.js +1 -1
  118. package/dist/hooks/hook-runner.js +2 -2
  119. package/dist/host-lsp-manager.d.ts +2 -2
  120. package/dist/http/active-run-conflict.d.ts +3 -7
  121. package/dist/http/active-run-conflict.js +2 -2
  122. package/dist/http/admission.js +19 -4
  123. package/dist/http/approval-sweeps.js +7 -6
  124. package/dist/http/caller-trust.d.ts +2 -2
  125. package/dist/http/caller-trust.js +3 -3
  126. package/dist/http/checkpoint-ctx.d.ts +20 -63
  127. package/dist/http/checkpoint-ctx.js +2 -24
  128. package/dist/http/claim-heartbeat.d.ts +4 -4
  129. package/dist/http/claim-heartbeat.js +3 -3
  130. package/dist/http/dispatch.d.ts +2 -1
  131. package/dist/http/dispatch.js +36 -29
  132. package/dist/http/durable-run-leg.js +17 -17
  133. package/dist/http/health-self-report.d.ts +9 -1
  134. package/dist/http/health-self-report.js +2 -0
  135. package/dist/http/owner-access.d.ts +264 -20
  136. package/dist/http/owner-access.js +215 -5
  137. package/dist/http/readiness.d.ts +4 -2
  138. package/dist/http/resume-ctx-read.js +38 -1
  139. package/dist/http/resume-legs.d.ts +2 -1
  140. package/dist/http/resume-legs.js +273 -89
  141. package/dist/http/route-ctx.d.ts +41 -19
  142. package/dist/http/route-table.d.ts +1 -1
  143. package/dist/http/routes/a2a-serve.js +15 -14
  144. package/dist/http/routes/admin-memory-optout.d.ts +1 -1
  145. package/dist/http/routes/agents-roster.js +2 -3
  146. package/dist/http/routes/approvals-assistant.d.ts +3 -2
  147. package/dist/http/routes/approvals-assistant.js +12 -12
  148. package/dist/http/routes/background.d.ts +3 -3
  149. package/dist/http/routes/capabilities.js +10 -6
  150. package/dist/http/routes/config-catalog.d.ts +1 -1
  151. package/dist/http/routes/fleet.js +10 -8
  152. package/dist/http/routes/mcp-reconnect.js +2 -2
  153. package/dist/http/routes/memory-origin.d.ts +1 -1
  154. package/dist/http/routes/notify-wake.js +2 -3
  155. package/dist/http/routes/projects.d.ts +4 -2
  156. package/dist/http/routes/projects.js +7 -6
  157. package/dist/http/routes/retention-ops.d.ts +1 -1
  158. package/dist/http/routes/run-permission-mode.d.ts +1 -1
  159. package/dist/http/routes/run-permission-mode.js +2 -2
  160. package/dist/http/routes/runs.d.ts +1 -1
  161. package/dist/http/routes/runs.js +125 -66
  162. package/dist/http/routes/session-memory-sync.js +4 -5
  163. package/dist/http/routes/session-sync.d.ts +4 -3
  164. package/dist/http/routes/session-sync.js +174 -83
  165. package/dist/http/routes/sessions-list.js +13 -7
  166. package/dist/http/routes/sessions.d.ts +1 -1
  167. package/dist/http/routes/sessions.js +26 -48
  168. package/dist/http/routes/tasks.js +38 -23
  169. package/dist/http/routes/trace-usage.js +14 -14
  170. package/dist/http/routes/workflows.d.ts +1 -0
  171. package/dist/http/routes/workflows.js +20 -38
  172. package/dist/http/server.d.ts +28 -30
  173. package/dist/http/server.js +7 -3
  174. package/dist/http/stored-body-replay.d.ts +3 -24
  175. package/dist/http/stored-body-replay.js +2 -12
  176. package/dist/http/submit-ctx.d.ts +1 -2
  177. package/dist/http/submit-ctx.js +8 -6
  178. package/dist/http/submit-replay.d.ts +15 -2
  179. package/dist/http/submit-replay.js +10 -4
  180. package/dist/http/wire-types.d.ts +19 -6
  181. package/dist/identity-source.d.ts +20 -3
  182. package/dist/identity-source.js +14 -0
  183. package/dist/index.d.ts +4 -0
  184. package/dist/lane-home-probe.d.ts +3 -7
  185. package/dist/lane-home-probe.js +0 -1
  186. package/dist/leader/endpoint.js +9 -8
  187. package/dist/leader/leader.d.ts +2 -1
  188. package/dist/leg-facts.d.ts +19 -5
  189. package/dist/leg-facts.js +3 -1
  190. package/dist/mcp-authorization-face.d.ts +18 -14
  191. package/dist/mcp-authorization-face.js +3 -2
  192. package/dist/memory-scope.d.ts +5 -4
  193. package/dist/memory-scope.js +4 -4
  194. package/dist/memory-store-refusal.d.ts +1 -1
  195. package/dist/memory-sync-client.d.ts +30 -2
  196. package/dist/memory-sync-client.js +16 -9
  197. package/dist/observability/corrupt-read-seat.d.ts +1 -1
  198. package/dist/observability/err-text.d.ts +7 -0
  199. package/dist/observability/err-text.js +5 -0
  200. package/dist/observability/fail-open.d.ts +12 -8
  201. package/dist/observability/fail-open.js +12 -8
  202. package/dist/observability/logger.d.ts +7 -0
  203. package/dist/observability/logger.js +3 -1
  204. package/dist/observability/metrics.js +1 -0
  205. package/dist/observability/run-terminal.d.ts +1 -1
  206. package/dist/orchestration/workflow-notify-journal.d.ts +18 -1
  207. package/dist/orchestration/workflow-notify-journal.js +12 -1
  208. package/dist/orchestration/workflow-park-decision.d.ts +70 -18
  209. package/dist/orchestration/workflow-park-decision.js +49 -10
  210. package/dist/orchestration/workflow-park-holder.d.ts +65 -0
  211. package/dist/orchestration/workflow-park-holder.js +98 -0
  212. package/dist/orchestration/workflow-record-fence.d.ts +36 -0
  213. package/dist/orchestration/workflow-record-fence.js +42 -0
  214. package/dist/owner-faces.d.ts +28 -4
  215. package/dist/owner-faces.js +2 -0
  216. package/dist/parked-decide.d.ts +104 -53
  217. package/dist/parked-decide.js +153 -117
  218. package/dist/peer-directory.d.ts +2 -2
  219. package/dist/peer-inbound-face.d.ts +2 -6
  220. package/dist/peer-inbound-face.js +0 -3
  221. package/dist/peer-seat.d.ts +1 -1
  222. package/dist/peer-seat.js +52 -59
  223. package/dist/permission-mode-admission.d.ts +41 -5
  224. package/dist/permission-mode-admission.js +29 -3
  225. package/dist/plugins/adoption-log-sql.d.ts +3 -1
  226. package/dist/plugins/adoption-log-sql.js +7 -1
  227. package/dist/plugins/approval-ask-store-file.d.ts +10 -2
  228. package/dist/plugins/approval-ask-store-file.js +8 -0
  229. package/dist/plugins/approval-ask-store-memory.d.ts +6 -1
  230. package/dist/plugins/approval-ask-store-memory.js +28 -9
  231. package/dist/plugins/approval-ask-store-sql.d.ts +43 -2
  232. package/dist/plugins/approval-ask-store-sql.js +34 -5
  233. package/dist/plugins/approval-exemption-store.js +3 -0
  234. package/dist/plugins/approval-nonce-store.js +2 -0
  235. package/dist/plugins/breaker-state-sql.js +2 -0
  236. package/dist/plugins/caching-session-store.d.ts +9 -15
  237. package/dist/plugins/caching-session-store.js +6 -0
  238. package/dist/plugins/device-store-sql.js +6 -0
  239. package/dist/plugins/error-origin.d.ts +18 -0
  240. package/dist/plugins/error-origin.js +10 -0
  241. package/dist/plugins/exec-path-law.d.ts +34 -0
  242. package/dist/plugins/exec-path-law.js +13 -0
  243. package/dist/plugins/execution-placement-sql.js +6 -6
  244. package/dist/plugins/file-run-store.js +1 -1
  245. package/dist/plugins/image-bake-store-sql.js +6 -0
  246. package/dist/plugins/image-index-sql.js +4 -0
  247. package/dist/plugins/landed-attendants.d.ts +212 -0
  248. package/dist/plugins/landed-attendants.js +161 -0
  249. package/dist/plugins/leader-run-store-sql.js +4 -0
  250. package/dist/plugins/local-checkpoint-store.d.ts +4 -1
  251. package/dist/plugins/local-checkpoint-store.js +3 -0
  252. package/dist/plugins/local-session-live-reference.d.ts +40 -0
  253. package/dist/plugins/local-session-live-reference.js +39 -0
  254. package/dist/plugins/local-session-store.d.ts +71 -33
  255. package/dist/plugins/local-session-store.js +129 -27
  256. package/dist/plugins/memory-engine-pg.js +4 -0
  257. package/dist/plugins/memory-engine-sql-apply.js +5 -2
  258. package/dist/plugins/memory-engine-tidb.js +4 -0
  259. package/dist/plugins/memory-optout-grant-store-sql.js +4 -0
  260. package/dist/plugins/memory-run-store.js +1 -1
  261. package/dist/plugins/memory-sync-store-pg.js +5 -0
  262. package/dist/plugins/memory-sync-store-tidb.js +5 -0
  263. package/dist/plugins/one-time-migrations.d.ts +80 -61
  264. package/dist/plugins/one-time-migrations.js +241 -104
  265. package/dist/plugins/org-delivery-quota-store.js +4 -1
  266. package/dist/plugins/outcome-ledger-sql.js +2 -0
  267. package/dist/plugins/permission-rule-store-sql.js +11 -4
  268. package/dist/plugins/pg-cost-quota.js +4 -0
  269. package/dist/plugins/pg-pool.js +28 -1
  270. package/dist/plugins/pg-rate-limiter.js +2 -0
  271. package/dist/plugins/posix-shell-fs.d.ts +6 -1
  272. package/dist/plugins/posix-shell-fs.js +8 -3
  273. package/dist/plugins/remote-env-adb.d.ts +19 -15
  274. package/dist/plugins/remote-env-adb.js +44 -17
  275. package/dist/plugins/remote-env-connect-seat.d.ts +105 -0
  276. package/dist/plugins/remote-env-connect-seat.js +72 -0
  277. package/dist/plugins/remote-env-device.d.ts +22 -5
  278. package/dist/plugins/remote-env-device.js +114 -14
  279. package/dist/plugins/remote-env-e2b.d.ts +18 -7
  280. package/dist/plugins/remote-env-e2b.js +53 -40
  281. package/dist/plugins/remote-env-file-error.js +6 -2
  282. package/dist/plugins/remote-env-host.d.ts +18 -1
  283. package/dist/plugins/remote-env-host.js +48 -47
  284. package/dist/plugins/remote-env-k8s.d.ts +41 -39
  285. package/dist/plugins/remote-env-k8s.js +56 -32
  286. package/dist/plugins/remote-env-local-docker.d.ts +13 -8
  287. package/dist/plugins/remote-env-local-docker.js +37 -43
  288. package/dist/plugins/remote-env-ssh.d.ts +18 -12
  289. package/dist/plugins/remote-env-ssh.js +64 -62
  290. package/dist/plugins/remote-shell.d.ts +101 -2
  291. package/dist/plugins/remote-shell.js +221 -3
  292. package/dist/plugins/replica-registration.d.ts +35 -0
  293. package/dist/plugins/replica-registration.js +48 -0
  294. package/dist/plugins/resume-anchor-store-sql.d.ts +11 -2
  295. package/dist/plugins/resume-anchor-store-sql.js +12 -5
  296. package/dist/plugins/retention-lane-store-sql.d.ts +1 -1
  297. package/dist/plugins/retention-lane-store-sql.js +4 -0
  298. package/dist/plugins/retention-sql.d.ts +20 -2
  299. package/dist/plugins/retention-sql.js +11 -0
  300. package/dist/plugins/run-store-sql.d.ts +22 -3
  301. package/dist/plugins/run-store-sql.js +33 -9
  302. package/dist/plugins/scenario-prefix-switch-m42.d.ts +6 -12
  303. package/dist/plugins/scenario-prefix-switch-m42.js +7 -5
  304. package/dist/plugins/schema-consistency.d.ts +9 -5
  305. package/dist/plugins/schema-consistency.js +48 -18
  306. package/dist/plugins/schema-drift-sentence.js +1 -1
  307. package/dist/plugins/send-file-ledger.js +3 -0
  308. package/dist/plugins/serving-requirement.d.ts +68 -0
  309. package/dist/plugins/serving-requirement.js +60 -0
  310. package/dist/plugins/session-birth.d.ts +6 -2
  311. package/dist/plugins/session-capture-record-store-sql.js +2 -0
  312. package/dist/plugins/session-ext-table.d.ts +14 -1
  313. package/dist/plugins/session-ext-table.js +5 -1
  314. package/dist/plugins/session-row-sql.d.ts +49 -2
  315. package/dist/plugins/session-row-sql.js +56 -13
  316. package/dist/plugins/session-store-sql.d.ts +34 -18
  317. package/dist/plugins/session-store-sql.js +98 -17
  318. package/dist/plugins/shared-memory-store-sql.d.ts +1 -0
  319. package/dist/plugins/shared-memory-store-sql.js +6 -2
  320. package/dist/plugins/sql-driver.d.ts +2 -1
  321. package/dist/plugins/sql-driver.js +18 -3
  322. package/dist/plugins/sql-errors.d.ts +11 -6
  323. package/dist/plugins/sql-errors.js +5 -6
  324. package/dist/plugins/stop-then-start-sentence.d.ts +48 -3
  325. package/dist/plugins/stop-then-start-sentence.js +48 -0
  326. package/dist/plugins/stop-then-start.d.ts +109 -0
  327. package/dist/plugins/stop-then-start.js +104 -0
  328. package/dist/plugins/store-backend.d.ts +40 -13
  329. package/dist/plugins/store-backend.js +169 -27
  330. package/dist/plugins/store-boundary.d.ts +57 -0
  331. package/dist/plugins/store-boundary.js +139 -0
  332. package/dist/plugins/store-contracts.d.ts +29 -2
  333. package/dist/plugins/store-contracts.js +3 -0
  334. package/dist/plugins/store-fault-sentence-m53.d.ts +7 -0
  335. package/dist/plugins/store-fault-sentence-m53.js +25 -0
  336. package/dist/plugins/store-fault.d.ts +26 -7
  337. package/dist/plugins/store-fault.js +18 -2
  338. package/dist/plugins/task-attachment-store.js +9 -0
  339. package/dist/plugins/task-list-store-sql.d.ts +2 -2
  340. package/dist/plugins/task-list-store-sql.js +10 -8
  341. package/dist/plugins/tidb-cost-quota.js +4 -0
  342. package/dist/plugins/tidb-pool.js +6 -1
  343. package/dist/plugins/tidb-rate-limiter.js +4 -0
  344. package/dist/plugins/user-input-ledger-sql.js +4 -0
  345. package/dist/plugins/workflow-run-store-sql.d.ts +28 -10
  346. package/dist/plugins/workflow-run-store-sql.js +64 -4
  347. package/dist/plugins/workspace-fill.d.ts +4 -7
  348. package/dist/plugins/workspace-fill.js +2 -1
  349. package/dist/plugins/write-behind-counter.js +5 -0
  350. package/dist/process-instance.d.ts +3 -0
  351. package/dist/process-instance.js +7 -0
  352. package/dist/project-context.d.ts +64 -0
  353. package/dist/project-context.js +66 -0
  354. package/dist/project-registry.d.ts +46 -0
  355. package/dist/project-registry.js +44 -0
  356. package/dist/question.d.ts +9 -21
  357. package/dist/question.js +28 -19
  358. package/dist/request-key-closure.js +1 -1
  359. package/dist/request-value-closure.d.ts +4 -0
  360. package/dist/request-value-closure.js +10 -0
  361. package/dist/run-acceptance.d.ts +3 -2
  362. package/dist/run-acceptance.js +4 -6
  363. package/dist/run-cancel-card.d.ts +1 -1
  364. package/dist/run-cancel-card.js +2 -1
  365. package/dist/run-local.js +1 -0
  366. package/dist/runs.d.ts +37 -8
  367. package/dist/runs.js +53 -12
  368. package/dist/runtime-governance.d.ts +5 -4
  369. package/dist/security.d.ts +31 -33
  370. package/dist/security.js +41 -7
  371. package/dist/server-secret-env.d.ts +12 -10
  372. package/dist/server-secret-env.js +24 -15
  373. package/dist/session-agent.d.ts +1 -10
  374. package/dist/session-agent.js +0 -6
  375. package/dist/session-bindings.d.ts +82 -0
  376. package/dist/session-bindings.js +18 -0
  377. package/dist/session-children-retire.d.ts +2 -2
  378. package/dist/session-children-retire.js +2 -6
  379. package/dist/session-deletion.d.ts +16 -1
  380. package/dist/session-error-wire.d.ts +3 -3
  381. package/dist/session-error-wire.js +3 -3
  382. package/dist/session-incarnation.d.ts +28 -4
  383. package/dist/session-incarnation.js +14 -2
  384. package/dist/session-kind.d.ts +57 -0
  385. package/dist/session-kind.js +22 -0
  386. package/dist/session-notify-door.d.ts +4 -4
  387. package/dist/session-notify-door.js +5 -6
  388. package/dist/session-row.d.ts +21 -1
  389. package/dist/session-row.js +7 -1
  390. package/dist/session-rules-seat.d.ts +4 -3
  391. package/dist/session-rules-seat.js +3 -11
  392. package/dist/session-sync-kernel.d.ts +24 -14
  393. package/dist/session-sync-kernel.js +3 -6
  394. package/dist/session-sync.d.ts +4 -98
  395. package/dist/session-sync.js +4 -74
  396. package/dist/session-titler.d.ts +10 -3
  397. package/dist/session-titler.js +19 -6
  398. package/dist/ssh-host-key.d.ts +5 -0
  399. package/dist/ssh-host-key.js +3 -0
  400. package/dist/stores-sql/checkpoint-store-sql.d.ts +21 -2
  401. package/dist/stores-sql/checkpoint-store-sql.js +106 -18
  402. package/dist/stores-sql/file-history-store-sql.d.ts +52 -2
  403. package/dist/stores-sql/file-history-store-sql.js +108 -70
  404. package/dist/stores-sql/pg-session-storage.d.ts +34 -7
  405. package/dist/stores-sql/pg-session-storage.js +37 -13
  406. package/dist/stores-sql/retention-store-sql.d.ts +2 -10
  407. package/dist/stores-sql/retention-store-sql.js +2 -10
  408. package/dist/stores-sql/session-policy-store-sql.d.ts +30 -7
  409. package/dist/stores-sql/session-policy-store-sql.js +61 -44
  410. package/dist/stores-sql/session-write-hooks.d.ts +11 -0
  411. package/dist/stores-sql/tidb-session-store.d.ts +58 -7
  412. package/dist/stores-sql/tidb-session-store.js +37 -13
  413. package/dist/submission-exit.d.ts +3 -2
  414. package/dist/submission-exit.js +9 -1
  415. package/dist/task-cwd.d.ts +6 -5
  416. package/dist/task-settings.d.ts +19 -5
  417. package/dist/task-settings.js +13 -7
  418. package/dist/terminal.d.ts +33 -2
  419. package/dist/terminal.js +139 -9
  420. package/dist/tool-approval.d.ts +147 -12
  421. package/dist/tool-approval.js +206 -109
  422. package/dist/trace/engine-notice-wire.d.ts +14 -0
  423. package/dist/trace/engine-notice-wire.js +18 -1
  424. package/dist/trace/project.d.ts +4 -3
  425. package/dist/trace/project.js +3 -2
  426. package/dist/trace/projection-table.d.ts +33 -2
  427. package/dist/trace/self-minted-wire.d.ts +422 -26
  428. package/dist/trace/self-minted-wire.js +149 -23
  429. package/dist/trace/tool-card.d.ts +3 -0
  430. package/dist/trace/tool-card.js +24 -0
  431. package/dist/trace/tool-output-media.d.ts +2 -1
  432. package/dist/unattended-permission-mode.d.ts +1 -1
  433. package/dist/web-admin-client/apply-effective.d.ts +1 -1
  434. package/dist/web-admin-client/effective-keys.d.ts +1 -1
  435. package/dist/web-admin-client/skills-mcp.d.ts +1 -1
  436. package/docs/DEVICE-EXECUTOR-PROTOCOL.md +120 -41
  437. package/package.json +3 -3
  438. package/wire-changes/server@7.150.0.json +335 -0
  439. package/wire-changes/server@7.151.0.json +762 -0
  440. package/dist/http/session-inherit-env.d.ts +0 -36
  441. package/dist/http/session-inherit-env.js +0 -6
@@ -716,6 +716,45 @@ export declare const SELF_MINTED_WIRE: {
716
716
  };
717
717
  };
718
718
  };
719
+ /**
720
+ * `GET /health` 的 `center` 段的键集(`center` 本身恒在)。7.121.0 的三键是补登记;`assertionToken`([ref])= web-admin 断言令牌的声明读数,在场 ⇔ 接了中心。
721
+ * 键集属主 = `HealthSelfReport["center"]`(加一键而本表没跟 / 多一个 ⇒ tsc 红)。
722
+ */
723
+ readonly healthCenterKey: {
724
+ readonly at: "GET /health center";
725
+ readonly members: {
726
+ issuer: {
727
+ attr: string;
728
+ since: string;
729
+ };
730
+ webBaseUrl: {
731
+ attr: string;
732
+ since: string;
733
+ };
734
+ sessionsVisible: {
735
+ attr: string;
736
+ since: string;
737
+ };
738
+ assertionToken: {
739
+ attr: string;
740
+ since: string;
741
+ };
742
+ };
743
+ };
744
+ /** [ref](7.151.0):`GET /health` 自报位 `center.assertionToken` 的两词(声明读数;词表属主 = `http/health-self-report.ts` 的 `ASSERTION_TOKEN_DECLARATION_WORDS`)。 */
745
+ readonly healthAssertionToken: {
746
+ readonly at: "GET /health center.assertionToken";
747
+ readonly members: {
748
+ declared: {
749
+ attr: string;
750
+ since: string;
751
+ };
752
+ absent: {
753
+ attr: string;
754
+ since: string;
755
+ };
756
+ };
757
+ };
719
758
  /** 7.121.0:`GET /health` 自报位 `center.sessionsVisible`(两个布尔 + 一个词;成员按 JSON 字面登记)。 */
720
759
  readonly healthSessionsVisible: {
721
760
  readonly at: "GET /health center.sessionsVisible";
@@ -804,6 +843,96 @@ export declare const SELF_MINTED_WIRE: {
804
843
  };
805
844
  };
806
845
  };
846
+ /**
847
+ * stdout 启动协议行 `listening`(`msg:"listening"` 的那一行 JSON;不随 `LOG_LEVEL`,见 `observability/logger.ts` 的 `STARTUP_PROTOCOL_EVENTS`)的顶层键 → 在场律。
848
+ * 起本进程的壳 / 嵌入宿主 / 夹具从这一行取口(`port`)与实绑地址(`boundAddress`),再用 `/health` 的 `pid` / `dataRoot` 验身份。本集 7.150.0 才登记;
849
+ * `1.214.2` = 本仓 org 树首个 tag(那一批键在它之前就在这一行上),`bindHost` / `bindHostNote` 按各自首次出现的 tag。值的读法(词表、显示形)不在本集。
850
+ */
851
+ readonly listeningLineKey: {
852
+ readonly at: "stdout 启动协议行 listening(<键> → 在场律)";
853
+ readonly members: {
854
+ port: {
855
+ attr: string;
856
+ since: string;
857
+ };
858
+ bindHost: {
859
+ attr: string;
860
+ since: string;
861
+ };
862
+ bindHostNote: {
863
+ attr: string;
864
+ since: string;
865
+ };
866
+ boundAddress: {
867
+ attr: string;
868
+ since: string;
869
+ };
870
+ model: {
871
+ attr: string;
872
+ since: string;
873
+ };
874
+ brain: {
875
+ attr: string;
876
+ since: string;
877
+ };
878
+ breakerState: {
879
+ attr: string;
880
+ since: string;
881
+ };
882
+ session: {
883
+ attr: string;
884
+ since: string;
885
+ };
886
+ memory: {
887
+ attr: string;
888
+ since: string;
889
+ };
890
+ instanceId: {
891
+ attr: string;
892
+ since: string;
893
+ };
894
+ rateLimitPerMin: {
895
+ attr: string;
896
+ since: string;
897
+ };
898
+ rateLimit: {
899
+ attr: string;
900
+ since: string;
901
+ };
902
+ maxPrincipalCostUsd: {
903
+ attr: string;
904
+ since: string;
905
+ };
906
+ costQuota: {
907
+ attr: string;
908
+ since: string;
909
+ };
910
+ toolResultStore: {
911
+ attr: string;
912
+ since: string;
913
+ };
914
+ otel: {
915
+ attr: string;
916
+ since: string;
917
+ };
918
+ perModelKeys: {
919
+ attr: string;
920
+ since: string;
921
+ };
922
+ sealedModelKeys: {
923
+ attr: string;
924
+ since: string;
925
+ };
926
+ sealedPoisonedModels: {
927
+ attr: string;
928
+ since: string;
929
+ };
930
+ workflowRunStore: {
931
+ attr: string;
932
+ since: string;
933
+ };
934
+ };
935
+ };
807
936
  readonly healthStoreKey: {
808
937
  readonly at: "GET /health store";
809
938
  readonly members: {
@@ -872,6 +1001,10 @@ export declare const SELF_MINTED_WIRE: {
872
1001
  attr: string;
873
1002
  since: string;
874
1003
  };
1004
+ attached: {
1005
+ attr: string;
1006
+ since: string;
1007
+ };
875
1008
  handover: {
876
1009
  attr: string;
877
1010
  since: string;
@@ -1073,6 +1206,23 @@ export declare const SELF_MINTED_WIRE: {
1073
1206
  attr: string;
1074
1207
  since: string;
1075
1208
  };
1209
+ sessionKind: {
1210
+ attr: string;
1211
+ since: string;
1212
+ };
1213
+ };
1214
+ };
1215
+ /**
1216
+ * 会话种类的**值闭集**(律 `session-kind.ts`;一个闭集五个 wire 坐标同读):提交体 `sessionKind` · 列表查询 `?sessionKind=` · 列表行 / PATCH 回执的 `sessionKind` · 会话视图的 `sessionKind`
1217
+ * · 能力位 `sessionKinds[]` 的元素。`satisfies` 绑闭集(词表加一个词而本表没跟 ⇒ tsc 红)。
1218
+ */
1219
+ readonly sessionKind: {
1220
+ readonly at: "POST /v1/tasks · /v1/tasks/stream · /v1/runs 体 sessionKind = GET /v1/sessions?sessionKind= = sessions[].sessionKind = GET /v1/sessions/:id sessionKind = GET /v1/capabilities sessionKinds[](<词> → -)";
1221
+ readonly members: {
1222
+ sidechain: {
1223
+ attr: string;
1224
+ since: string;
1225
+ };
1076
1226
  };
1077
1227
  };
1078
1228
  /**
@@ -1130,6 +1280,10 @@ export declare const SELF_MINTED_WIRE: {
1130
1280
  attr: string;
1131
1281
  since: string;
1132
1282
  };
1283
+ contentAttestedAt: {
1284
+ attr: string;
1285
+ since: string;
1286
+ };
1133
1287
  };
1134
1288
  };
1135
1289
  /** `GET /v1/projects` 200 体的顶层键(闭集;体是路由里的内联字面量 —— 行的键集在 `projectRowKey`)。 */
@@ -1153,6 +1307,10 @@ export declare const SELF_MINTED_WIRE: {
1153
1307
  readonly attr: "present-iff the session row's last own workspace_changed frame carried a project";
1154
1308
  readonly since: "7.147.0";
1155
1309
  };
1310
+ readonly sessionKind: {
1311
+ readonly attr: "present-iff the session was created by a submission that declared sessionKind";
1312
+ readonly since: "7.151.0";
1313
+ };
1156
1314
  };
1157
1315
  };
1158
1316
  /** 会话列表行 `unreadable` 标记的整个键闭集:`errorCode` —— 读口打开这只会话时答的码(open 面那一张码表,与全局兜底同读)。 */
@@ -1243,7 +1401,13 @@ export declare const SELF_MINTED_WIRE: {
1243
1401
  };
1244
1402
  };
1245
1403
  };
1246
- /** MCP 授权记录 `authorization`(只投闭集词 `reason`,与 `errorCode:"unauthorized"` 同行)出现的三张面;投影只有 `mcp-authorization-face.ts` 的 `projectMcpAuthorization` 一只,三面同读。 */
1404
+ /**
1405
+ * MCP 授权记录 `authorization` 在 wire 上的**全部投影载体**(与 `errorCode:"unauthorized"` 同在)。出门只经一张处置表(`mcp-authorization-face.ts` 的
1406
+ * `MCP_AUTHORIZATION_DISPOSITIONS`,投影 `projectMcpAuthorization` 一只;今天只放行闭集词 `reason`)。账本帧、面板的 `lastLegMcp.mcp[]`、能力面两口载的是状态行投影
1407
+ * (`wiring_manifest.mcp[]` 行)写入 / 应答那一刻的产物;会话历史与 `tool_end.structured`(活面 SSE、持久面账本行与 `GET /v1/runs/:id/events` 等回放)是工具卡的投影
1408
+ * (一只读者 `projectToolCard`,登记 `TOOL_CARD_RECORDS`,`trace/tool-card.ts`;活面只载带已准入 `type` 的卡,即自注册工具在 `code: "unauthorized"` 卡上放的 `authorization`)。通告 `mcp.authorization_required` 的 `detail`
1409
+ * 里平铺的记录成员经同一只投影(登记 `NOTICE_DETAIL_RECORDS`),它的键由附录 D.3 登记,不在本集。会话同步拉取口(`/sync/entries`)是存档的逐字复制、不是投影,不在本集。
1410
+ */
1247
1411
  readonly mcpAuthorizationKey: {
1248
1412
  readonly at: "MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律)";
1249
1413
  readonly members: {
@@ -1251,6 +1415,18 @@ export declare const SELF_MINTED_WIRE: {
1251
1415
  readonly attr: "present-iff errorCode unauthorized";
1252
1416
  readonly since: "7.138.0";
1253
1417
  };
1418
+ readonly "GET /v1/sessions/:id/mcp#lastLegMcp.mcp[].authorization": {
1419
+ readonly attr: "present-iff errorCode unauthorized";
1420
+ readonly since: "7.138.0";
1421
+ };
1422
+ readonly "GET /v1/capabilities/mcp#servers[].authorization": {
1423
+ readonly attr: "present-iff errorCode unauthorized";
1424
+ readonly since: "7.138.0";
1425
+ };
1426
+ readonly "POST /v1/capabilities/mcp/probe#servers[].authorization": {
1427
+ readonly attr: "present-iff errorCode unauthorized";
1428
+ readonly since: "7.138.0";
1429
+ };
1254
1430
  readonly "POST /v1/sessions/:id/mcp/reconnect#status.authorization": {
1255
1431
  readonly attr: "present-iff errorCode unauthorized";
1256
1432
  readonly since: "7.138.0";
@@ -1259,6 +1435,18 @@ export declare const SELF_MINTED_WIRE: {
1259
1435
  readonly attr: "present-iff server unauthorized (this face carries no errorCode)";
1260
1436
  readonly since: "7.138.0";
1261
1437
  };
1438
+ readonly "GET /v1/sessions/:id#messages[].details.authorization": {
1439
+ readonly attr: "present-iff details.code unauthorized";
1440
+ readonly since: "7.138.0";
1441
+ };
1442
+ readonly "SSE tool_end#structured.authorization": {
1443
+ readonly attr: "present-iff structured.code unauthorized and reason in the closed set; members = reason";
1444
+ readonly since: "7.138.0";
1445
+ };
1446
+ readonly "GET /v1/runs/:id/events#tool_end.structured.authorization": {
1447
+ readonly attr: "present-iff structured.code unauthorized and reason in the closed set; members = reason";
1448
+ readonly since: "7.138.0";
1449
+ };
1262
1450
  };
1263
1451
  };
1264
1452
  /** `wiring_manifest.mods[].provenance`(每条腿的清单帧,每行 mod 注册一个出处标签):本服务自铸的注册带 `server`、运维声明的包带 `operator`;与同一行上 `seat` 的座词(`deployment` / `task`)互不相交。 */
@@ -1290,7 +1478,7 @@ export declare const SELF_MINTED_WIRE: {
1290
1478
  };
1291
1479
  };
1292
1480
  /**
1293
- * `request.field_conflict` 拒体根上的 `reason`(字段之间互斥 / 互为前置的哪一类;`fields` = 请求体坐标,不在本表 —— 它不是闭集)。
1481
+ * `request.field_conflict` 拒体根上的 `reason`(字段之间互斥 / 互为前置的哪一类;`fields` = 请求体坐标,不在本表 —— 它不是闭集;某一类的坐标并集变了,记在那一词的 `attr` 上)。
1294
1482
  * 词表属主 = `field-conflict.ts` 的 `FIELD_CONFLICT_REASONS`:`satisfies Record<FieldConflictReason, …>`,加词而本行没跟 / 多一个词 ⇒ tsc 红。
1295
1483
  * 契约附录 A 的 `request.field_conflict` 行逐个列这些词(`test/field-conflict-detail.test.ts` 钉)。同一组词 7.133.0–7.147.0 在 `detail.kind`(集名 `fieldConflictKind`,
1296
1484
  * 随拒体版式律退役);`since` 记的是它们出现在根上 `reason` 的那一版。
@@ -1503,12 +1691,14 @@ export declare const SELF_MINTED_WIRE: {
1503
1691
  };
1504
1692
  };
1505
1693
  /**
1506
- * `/decide` 与应答口在 workflow 子代停驻卡上的应答,**持有这张卡的 run 还在本进程里跑**时:引擎 `redeemWorkflowParks` 对这条决定的答词 → wire 结局。
1507
- * 词表属主 = core `WorkflowParkDeliveryResult`;唯一铸点 = `parked-decide.ts` 的 `answerOfParkDelivery`(`switch` 穷尽);`satisfies Record<WorkflowParkDeliveryResult, …>`(引擎加词而本表没跟 ⇒ tsc 红)。
1508
- * run 已不能收(引擎答 `not_active` / 挂起收场)⇒ 不在本集:那是既有续跑车道的应答。码全是既有码,本集登记的是「这个词落哪个码」。行为钉:`test/workflow-park-live-redeem.test.ts`。
1694
+ * `/decide` 与应答口在 workflow 子代停驻卡上的应答,**持有这张卡的 run 读作 `running`、决定行在记录栅栏里立住之后**的本进程快路:引擎 `redeemWorkflowParks` 对这条决定的答词 → wire 结局。
1695
+ * 词表属主 = core `WorkflowParkDeliveryResult`;唯一铸点 = `parked-decide.ts` 的 `answerOfHolderRedeem`(`switch` 穷尽);`satisfies Record<WorkflowParkDeliveryResult, …>`(引擎加词而本表没跟 ⇒ tsc 红)。
1696
+ * 决定在唯一仲裁点(记录栅栏)上立住之后,除「卡已离开 pending」外一律答同一张 200 回执 —— 交付在后(持有进程的拉取 / run 的收场送达)。记录栅栏的三只零写拒
1697
+ * (`decide.gate_moved` / `decide.parked_restatement_unsupported` / `decide.claim_lost`,铸点 `answerOfHolderFence`)先于引擎判,不在本集。码全是既有码。
1698
+ * 行为钉:`test/workflow-park-live-redeem.test.ts`、`test/workflow-park-cross-replica.test.ts`。
1509
1699
  */
1510
1700
  readonly workflowParkDeliveryResult: {
1511
- readonly at: "POST /v1/approvals/:id/decide · 应答口(workflow 子代停驻卡,持有它的 run 在本进程里跑):引擎答词 → 应答";
1701
+ readonly at: "POST /v1/approvals/:id/decide · 应答口(workflow 子代停驻卡,持有它的 run 读作 running、决定行已在记录栅栏里立住):引擎答词 → 应答";
1512
1702
  readonly members: {
1513
1703
  driving: {
1514
1704
  attr: string;
@@ -1536,6 +1726,32 @@ export declare const SELF_MINTED_WIRE: {
1536
1726
  };
1537
1727
  };
1538
1728
  };
1729
+ /**
1730
+ * 同一只本进程快路上引擎那一答的**四形**(`WorkflowParkDelivery["kind"]`,型属主 = core;铸点同上)。`live` 按上一集逐词读;`suspending` / `not_active` 是本版换答的两形 ——
1731
+ * 上一版它们把决断交给续跑车道(200 体指向宿主新一跑),本版决定已在记录栅栏里立住,答同一张活臂回执(`taskId` = workflow run id),交付由持有进程的拉取或 run 的收场送达完成;
1732
+ * 「收场窗」的判放在管道事实上,不读 `not_active` 的字面。行为钉同上。
1733
+ */
1734
+ readonly workflowParkDeliveryKind: {
1735
+ readonly at: "POST /v1/approvals/:id/decide · 应答口(workflow 子代停驻卡,持有它的 run 读作 running、决定行已在记录栅栏里立住):引擎答形 → 应答";
1736
+ readonly members: {
1737
+ live: {
1738
+ attr: string;
1739
+ since: string;
1740
+ };
1741
+ suspending: {
1742
+ attr: string;
1743
+ since: string;
1744
+ };
1745
+ not_active: {
1746
+ attr: string;
1747
+ since: string;
1748
+ };
1749
+ not_armed: {
1750
+ attr: string;
1751
+ since: string;
1752
+ };
1753
+ };
1754
+ };
1539
1755
  /**
1540
1756
  * 400 `request.env_credential_refused`(7.146.0 起;请求 `settings.env` 里有凭据)拒体 `entries[]` 每一条的 `match`:这一条为什么被判成凭据(体另带 `field: "settings.env"`、`entries[].key`;值从不进体)。
1541
1757
  * 词表属主 = `task-settings.ts` 的 `SETTINGS_ENV_CREDENTIAL_MATCHES`(唯一铸点 `settingsEnvCredentialIssue`;受理门 / `resolveSpec` 两腿 / 存体续跑预判同调);`satisfies Record<SettingsEnvCredentialMatch, …>`。
@@ -2036,7 +2252,7 @@ export declare const SELF_MINTED_WIRE: {
2036
2252
  };
2037
2253
  /**
2038
2254
  * 运维队列停驻行(`kind: "checkpoint"`)与订阅流 `pending` 帧上的 `agent` —— 行的会话(`sessionId`)在委派树里的位置 `{ id?, parentSessionId?, rootSessionId? }`,
2039
- * 与 `GET /v1/sessions/:sessionId` 体顶层的同名键同一只读口(`session-agent.ts` 的 `readSessionAgent`)、同一只投影,逐值同答。
2255
+ * 与 `GET /v1/sessions/:sessionId` 体顶层的同名键同一只读口(`http/owner-access.ts` 的 `readSessionAgent`)、同一只投影,逐值同答。
2040
2256
  * 在场律 `present-iff`:这一次列表读到行的会话是一只 placed 委派子代(会话行上存着引擎写下的委派元组);宿主会话、同步委派的子代、`fork` 型后台子代、
2041
2257
  * 不存元组的店、那一读没读成(F 类 `server.approvals.queue-row-agent-unreadable`)⇒ 缺席 —— 缺席读作「这台 server 没有说」。`satisfies` 绑行形:删键 / 改名而本表没跟 ⇒ tsc 红。
2042
2258
  */
@@ -2422,6 +2638,15 @@ export declare const SELF_MINTED_WIRE: {
2422
2638
  readonly attr: 401;
2423
2639
  readonly since: "7.136.0";
2424
2640
  };
2641
+ readonly "ALL routes after the auth-bridge pre-authentication (not GET /health)#sso_token_foreign_scope(fleet \u6210\u5458 FLEET_GENERATION \u5728\u573A;\u9A8C\u8FC7\u7B7E\u7684\u767B\u8BB0\u4E2D\u5FC3\u767B\u5F55\u4EE4\u724C scope \u2260 FLEET_SCOPE\u3014\u7F3A\u5E2D = \u7F3A\u7701 scope\u3015;\u540C\u4E00\u679A Bearer \u662F\u672C\u90E8\u7F72 service \u51ED\u636E\u7684\u4E0D\u5728\u6B64\u5217;\u4F53 auth.scope_mismatch)": {
2642
+ readonly attr: 403;
2643
+ readonly since: "7.151.0";
2644
+ };
2645
+ readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs|\u5176\u4F59 fail-closed \u5199\u53E3(\u8BA1\u8D39\u63D0\u4EA4 \u00B7 bake \u00B7 \u6539\u5199\u95E8 \u00B7 \u7834\u574F\u6027\u4F1A\u8BDD\u5199)\u4E0E POST /v1/tool-approvals/:id/respond \u7684\u505C\u9A7B\u8D4E\u56DE\u81C2#verified_sign_in_token_without_service_credential(\u90E8\u7F72\u53EA\u63A5\u4E86\u9274\u6743\u6865 \u2014\u2014 AUTH_BRIDGE_ISSUER \u6216\u63A5\u4E86\u4E2D\u5FC3\u7684\u56DE\u9000 issuer \u2014\u2014 \u6CA1\u914D SERVICE_AUTH_TOKEN(S)\u3001\u6CA1\u5F00 ALLOW_UNAUTHED_WRITES;\u8BF7\u6C42\u51FA\u793A\u9274\u6743\u6865\u9A8C\u8FC7\u7684\u767B\u8BB0\u4E2D\u5FC3\u767B\u5F55\u4EE4\u724C;\u6CA1\u5E26\u8FC7\u95E8\u51ED\u636E\u7684\u8BF7\u6C42\u4ECD 503)": {
2646
+ readonly attr: "该口自己的受理(POST /v1/runs 202 · POST /v1/tasks 同步 200 …)";
2647
+ readonly revises: readonly ["errorCode:auth.service_token_required"];
2648
+ readonly since: "7.151.0";
2649
+ };
2425
2650
  readonly "ALL principal-reading routes#principal_not_a_name(\u4E3B\u4F53\u5934 / SSO \u4EE4\u724C\u7684 sub / \u76F4\u8FDE\u95E8 JWT \u7684 sub \u4E0D\u662F\u4E00\u4F4D\u4E3B\u4F53\u7684\u540D\u5B57:\u7A7A / \u7A7A\u767D / \u5E26\u63A7\u5236\u3001\u884C\u6BB5\u5206\u9694\u6216\u4E0D\u53EF\u89C1\u683C\u5F0F\u5B57\u7B26;\u4F53 principal_not_a_name)": {
2426
2651
  readonly attr: 400;
2427
2652
  readonly since: "7.137.0";
@@ -2672,17 +2897,14 @@ export declare const SELF_MINTED_WIRE: {
2672
2897
  };
2673
2898
  readonly "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#resume_claim_store_fault(\u8BA4\u9886\u4E4B\u524D\u90A3\u4E00\u6B21\u6267\u884C\u5E2D\u8BFB\u3001\u8BA4\u9886\u90A3\u4E00\u7B14 \u2014\u2014 markResuming / wake \u73B0\u5EFA\u884C\u7684 createRun \u2014\u2014 \u6216\u8BA4\u9886\u4E4B\u540E\u63D0\u4EA4\u6267\u884C\u653E\u7F6E\u90A3\u4E00\u6B21\u5E97\u5F80\u8FD4\u5931\u8D25:\u5E93\u65AD\u8FDE / \u62D2\u8FDE / \u8D85\u65F6\u3001\u7F3A\u8868 / \u6743\u9650\u62D2\u3001\u8BA4\u4E0D\u51FA\u7684\u5E93\u9519;\u8BA4\u9886\u4E4B\u540E\u90A3\u4E00\u5F62\u7EED\u8DD1\u8BA4\u9886\u7684\u505C\u9A7B\u884C\u56DE\u5230\u8BA4\u9886\u4E4B\u524D\u7684\u505C\u9A7B\u8BCD\u3001\u8BA4\u9886\u7559\u7740,wake \u73B0\u5EFA\u7684\u884C\u5220\u6389;\u5361\u4ECD\u5F85\u51B3;\u4F53 state.resume_context_unreadable)": {
2674
2899
  readonly attr: 503;
2675
- readonly revises: readonly ["errorCode:internal.error"];
2676
2900
  readonly since: "7.149.0";
2677
2901
  };
2678
2902
  readonly "POST /v1/runs/:id/cancel#parked_card_body_scope_differs(\u505C\u9A7B run \u4E0A\u7684\u53D6\u6D88:\u8FD9\u5F20\u5361\u884C\u4F53\u91CC\u81EA\u5E26\u7684\u5C5E\u4E3B\u683C\u4E0E\u5E97\u7684\u5C5E\u4E3B\u683C\u4E0D\u4E00\u81F4 \u2014\u2014 \u53D6\u6D88\u53EA\u8BFB\u5E97\u7684\u5C5E\u4E3B\u683C,\u7ED3\u7B97\u8FD9\u5F20\u5361\u3001\u9A71 run \u7EC8\u5C40;\u4F53 { taskId, status: failed, errorCode: cancelled, cancelRequested: false, note })": {
2679
2903
  readonly attr: 202;
2680
- readonly revises: readonly ["errorCode:conflict.approval_settled"];
2681
2904
  readonly since: "7.149.0";
2682
2905
  };
2683
2906
  readonly "POST /v1/runs/:id/cancel#parked_card_body_unreadable(\u505C\u9A7B run \u4E0A\u7684\u53D6\u6D88:\u8FD9\u5F20\u5361\u7684\u884C\u4F53\u8BFB\u4E0D\u6210\u68C0\u67E5\u70B9 \u2014\u2014 \u53D6\u6D88\u53EA\u8BFB\u5E97\u7684\u5217,\u7ED3\u7B97\u8FD9\u5F20\u5361\u3001\u9A71 run \u7EC8\u5C40;\u4F53\u540C\u4E0A)": {
2684
2907
  readonly attr: 202;
2685
- readonly revises: readonly ["errorCode:internal.error"];
2686
2908
  readonly since: "7.149.0";
2687
2909
  };
2688
2910
  readonly "POST /v1/approvals/:sessionId/decide#parked_agent_definition_unavailable(\u505C\u9A7B\u8D4E\u56DE;\u884C\u4E0A\u7684\u4EE3\u7406\u7C7B\u578B\u4E0D\u5728\u8D4E\u56DE\u9762\u59D4\u6D3E\u5DE5\u5177\u7684\u540D\u518C\u91CC:\u9010\u8BF7\u6C42 `agents` \u5B9A\u4E49 / \u505C\u9A7B\u540E\u88AB\u64A4\u7684\u90E8\u7F72\u5B9A\u4E49 / \u540D\u53EB fork \u7684\u5B9A\u4E49;approve \u4E0E deny \u540C\u7B54;\u8BA4\u9886\u56DE\u6EDA\u3001\u59D4\u6D3E\u5DE5\u5177\u96F6\u8C03\u7528\u3001\u5361\u4ECD\u5F85\u51B3;\u4F53 decide.agent_definition_unavailable + taskId + rollback)": {
@@ -2691,32 +2913,26 @@ export declare const SELF_MINTED_WIRE: {
2691
2913
  };
2692
2914
  readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#run_claim_store_fault(\u65B0\u63D0\u4EA4:\u8BA4\u9886\u4E4B\u524D\u90A3\u4E00\u6B21\u6267\u884C\u5E2D\u8BFB,\u6216\u8BA4\u9886\u8FD9\u4E00\u6BB5 \u2014\u2014 \u5EFA\u884C\u8BA4\u9886 createRun\u3001\u6267\u884C\u653E\u7F6E\u3001\u7EED\u8DD1\u8F93\u5165\u7684\u5199\u3001\u8D77\u8DD1\u4E4B\u524D\u7684\u8BA4\u9886\u590D\u6838 \u2014\u2014 \u6709\u4E00\u6B21\u5E97\u5F80\u8FD4\u6CA1\u7B54\u51FA\u6765:\u5E93\u65AD\u8FDE / \u62D2\u8FDE / \u8D85\u65F6\u3001\u7F3A\u8868 / \u6743\u9650\u62D2\u3001\u8BA4\u4E0D\u51FA\u7684\u5E93\u9519;\u672C\u8BF7\u6C42\u94F8\u7684\u884C\u5DF2\u5220\u6389 \u2014\u2014 \u8BA4\u9886\u4E0E\u5E42\u7B49\u952E\u968F\u884C\u53BB,\u540C\u4E00\u4E2A\u81EA\u5E26 taskId \u91CD\u53D1\u5373\u65B0\u63D0\u4EA4 \u2014\u2014 \u4EC0\u4E48\u90FD\u6CA1\u8D77\u8DD1;\u8BA4\u9886\u4E4B\u540E\u7684\u6D41\u5F0F\u817F = \u6D41\u7684\u7EC8\u5E27;\u5DF2\u7ED1\u8BBE\u5907\u7684\u4F1A\u8BDD\u4E0A\u8BA4\u9886\u4E4B\u540E\u90A3\u4E00\u6B21\u6267\u884C\u5E2D\u8BFB\u540C\u7B54;\u4F53 state.run_store_unavailable)": {
2693
2915
  readonly attr: 503;
2694
- readonly revises: readonly ["errorCode:internal.error", "errorCode:device.not_bound"];
2695
2916
  readonly since: "7.149.0";
2696
2917
  };
2697
2918
  readonly "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#resume_pre_engine_store_fault(\u7EED\u8DD1\u817F\u63D0\u4EA4\u653E\u884C\u4E4B\u540E\u3001\u4EA4\u7ED9\u5F15\u64CE\u4E4B\u524D\u90A3\u4E00\u6BB5 \u2014\u2014 \u6392\u7A7A workflow \u5B8C\u6210\u7684\u5E8F\u53F7\u57FA\u5740\u73B0\u8BFB\u4E0E\u843D\u8D26\u3001\u901A\u544A\u53E3\u843D\u8D26 \u2014\u2014 \u5E97\u5F80\u8FD4\u6CA1\u7B54\u51FA\u6765;\u7EED\u8DD1\u8BA4\u9886\u7684\u505C\u9A7B\u884C\u56DE\u5230\u505C\u9A7B\u3001\u8BA4\u9886\u7559\u7740,wake \u73B0\u5EFA\u7684\u884C\u5220\u6389;\u5361\u4ECD\u5F85\u51B3;\u4F53 state.resume_context_unreadable)": {
2698
2919
  readonly attr: 503;
2699
- readonly revises: readonly ["errorCode:internal.error"];
2700
2920
  readonly since: "7.149.0";
2701
2921
  };
2702
2922
  readonly "POST /v1/approvals/:sessionId/decide#workflow_host_turn_claim_store_fault(workflow \u51B3\u5B9A\u5728\u5BBF\u4E3B\u4F1A\u8BDD\u4E0A\u8D77\u7684\u65B0\u4E00\u8DD1:\u5EFA\u884C\u8BA4\u9886 / \u6267\u884C\u653E\u7F6E / \u7EED\u8DD1\u8F93\u5165 / \u51B3\u5B9A\u843D\u884C / \u8D77\u8DD1\u4E4B\u524D\u7684\u8BA4\u9886\u590D\u6838\u6709\u4E00\u6B21\u5E97\u5F80\u8FD4\u6CA1\u7B54\u51FA\u6765;\u51B3\u5B9A\u843D\u884C\u90A3\u4E00\u7B14\u5728 wake \u817F\u4E0A\u540C\u7B54;\u73B0\u5EFA\u7684\u884C\u5DF2\u5220\u6389,\u5B50\u4EE3\u7684\u5361\u4ECD\u5F85\u51B3;\u4F53 state.resume_context_unreadable)": {
2703
2923
  readonly attr: 503;
2704
- readonly revises: readonly ["errorCode:internal.error"];
2705
2924
  readonly since: "7.149.0";
2706
2925
  };
2707
2926
  readonly "POST /v1/approvals/:sessionId/decide#workflow_decision_not_recorded(workflow \u51B3\u5B9A\u7684\u6295\u9012\u90A3\u4E00\u8DD1\u5728\u51B3\u5B9A\u843D\u884C\u90A3\u4E00\u62CD\u5DF2\u4E0D\u6301\u5BBF\u4E3B\u4F1A\u8BDD\u7684\u8BA4\u9886 \u2014\u2014 \u5FC3\u8DF3\u505C\u6EE1\u4E00\u7A97\u88AB\u6536\u5272;\u51B3\u5B9A\u6CA1\u843D\u3001\u90A3\u4E00\u8DD1\u6CA1\u8D77;\u4E0E\u8D77\u8DD1\u4E4B\u524D\u8BA4\u9886\u590D\u6838\u7B54\u300C\u6CA1\u6301\u6709\u300D\u540C\u4E00\u53EA\u7B54\u590D:\u8BA4\u9886\u5728\u522B\u7684 run \u4E0A \u21D2 409 conflict.session_active_run,\u5BBF\u4E3B\u4F1A\u8BDD\u5DF2\u5220 \u21D2 404 resume.session_not_found,\u5426\u5219 409 conflict.claim_lost)": {
2708
2927
  readonly attr: 409;
2709
- readonly revises: readonly ["errorCode:internal.error"];
2710
2928
  readonly since: "7.149.0";
2711
2929
  };
2712
2930
  readonly "POST /v1/approvals/:sessionId/decide#parked_redeem_placement_store_fault(\u505C\u9A7B\u5B50\u4EE3\u8D4E\u56DE:\u8BA4\u9886\u4E4B\u524D\u90A3\u4E00\u6B21\u6267\u884C\u5E2D\u8BFB,\u6216\u8BA4\u9886\u4E4B\u540E\u90A3\u4E00\u6B21\u6267\u884C\u653E\u7F6E\u7684\u5E97\u5F80\u8FD4\u6CA1\u7B54\u51FA\u6765;\u8BA4\u9886\u6CA1\u6709\u6216\u5DF2\u56DE\u6EDA,\u5B50\u4EE3\u4ECD\u505C\u7740\u3001\u5361\u4ECD\u5F85\u51B3;\u4F53 decide.store_unreachable + taskId)": {
2713
2931
  readonly attr: 503;
2714
- readonly revises: readonly ["errorCode:internal.error"];
2715
2932
  readonly since: "7.149.0";
2716
2933
  };
2717
2934
  readonly "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#placement_refused_after_claim(\u7EED\u8DD1\u5BB6\u65CF\u3001workflow \u51B3\u5B9A\u5728\u5BBF\u4E3B\u4F1A\u8BDD\u4E0A\u8D77\u7684\u65B0\u4E00\u8DD1\u3001\u505C\u9A7B\u5B50\u4EE3\u8D4E\u56DE\u8BA4\u9886\u4E4B\u540E\u63D0\u4EA4\u6267\u884C\u653E\u7F6E\u8BFB\u51FA\u8FD9\u6761\u4F1A\u8BDD\u6B64\u523B\u4E0D\u80FD\u5728\u672C\u5904\u6267\u884C:\u5DF2\u653E\u5728\u522B\u7684\u8F66\u9053 / \u5199\u8005\u5728\u522B\u5904 / \u8BBE\u5907\u62D2;\u7EED\u8DD1\u8BA4\u9886\u7684\u505C\u9A7B\u884C\u56DE\u5230\u505C\u9A7B\u3001\u505C\u9A7B\u8D4E\u56DE\u56DE\u6EDA,\u5361\u4ECD\u5F85\u51B3,wake \u4E0E\u5BBF\u4E3B\u65B0\u4E00\u8DD1\u73B0\u5EFA\u7684\u884C\u5220\u6389;\u4E0E\u8BA4\u9886\u4E4B\u524D\u540C\u4E00\u53EA\u6298\u6CD5\u3001\u540C\u4E00\u53EA\u4F53;\u4F53 resume_blocked_by_policy + blockedBy \u539F\u7801 + \u539F\u4E8B\u5B9E forkPath / boundLane + retriable)": {
2718
2935
  readonly attr: 409;
2719
- readonly revises: readonly ["errorCode:execution_lane.tree_bound", "errorCode:conflict.session_mirror"];
2720
2936
  readonly since: "7.149.0";
2721
2937
  };
2722
2938
  readonly "POST /v1/tasks#park_commit_ended(\u540C\u6B65\u817F\u505C\u5728\u8981\u6279\u7684\u95E8\u4E0A,\u800C\u505C\u9A7B\u63D0\u4EA4\u7B54\u51FA\u8FD9\u6761 run \u6CA1\u6709\u505C\u4F4F\u3001\u5DF2\u6536\u573A \u2014\u2014 \u505C\u9A7B\u5199\u4E4B\u524D\u5DF2\u6309\u4E0B\u53D6\u6D88 / \u88AB\u5931\u8054\u6536\u5272 / \u522B\u5904\u7EC8\u7ED3;\u5361\u5DF2\u4F5C\u5E9F;\u4F53 = \u6536\u573A\u90A3\u4E00\u884C\u7684\u4FE1\u5C01,\u4E0E\u540C\u952E\u91CD\u653E\u540C\u4E00\u53EA:\u7EC8\u5C40\u884C\u7684\u7ED3\u679C,\u53D6\u6D88\u90A3\u4E00\u5F62 terminal.code cancelled;\u884C\u4E0A\u65E0\u7ED3\u679C \u21D2 \u56DE\u6267\u4E09\u952E)": {
@@ -2733,23 +2949,88 @@ export declare const SELF_MINTED_WIRE: {
2733
2949
  };
2734
2950
  readonly "GET /v1/tool-approvals/:id#row_unreadable(\u6709\u884C\u7684\u95EE,\u6309 id \u8BFB\u884C\u90A3\u4E00\u62CD\u5E97\u629B / \u8D85\u65F6;\u672C\u526F\u672C\u81EA\u5DF1\u94F8\u7684\u6D3B\u5361\u4E0E\u8D77\u670D\u63A5\u7BA1\u7684\u767B\u8BB0\u540C\u7B54;\u4F53 not_found.ask,\u4E0E\u67E5\u65E0 / \u4E0D\u662F\u4F60\u7684\u9010\u5B57\u8282\u540C)": {
2735
2951
  readonly attr: 404;
2736
- readonly revises: readonly ["selfMinted.toolApprovalReadState:pending"];
2737
2952
  readonly since: "7.149.0";
2738
2953
  };
2739
2954
  readonly "POST /v1/sessions/:id/sync/plan|POST /v1/sessions/:id/sync/import|PUT /v1/sessions/:id/sync/blobs/:hash#foreign_session_deleting(\u63A8\u9001\u4E09\u53E3\u7684\u95E8:id \u4E0A\u662F\u522B\u7684\u4E3B\u4F53\u6B63\u5728\u5220\u9664\u7684\u4F1A\u8BDD \u2014\u2014 \u5220\u9664\u56F4\u680F\u5DF2\u7ACB\u3001\u5C1A\u672A\u5220\u51C0;\u300C\u88AB\u5360\u7740\u300D\u8BFB\u6D3B\u884C \u222A \u5728\u5220\u884C,\u4E0E\u5BF9\u522B\u4EBA\u7684\u6D3B\u884C\u540C\u7B54;\u672C\u4EBA / fleet \u5BF9\u81EA\u5DF1\u5728\u5220\u7684\u4F1A\u8BDD\u4E0D\u53D8,\u62C9\u53D6\u53E3\u4ECD\u53EA\u8BA4\u6D3B\u884C;\u4F53 not_found.session,\u4E0E\u5BF9\u4E0D\u5B58\u5728 id \u7684\u62C9\u53D6\u7B54\u590D\u9010\u5B57\u8282\u540C)": {
2740
2955
  readonly attr: 404;
2741
- readonly revises: readonly ["errorCode:conflict"];
2742
2956
  readonly since: "7.149.0";
2743
2957
  };
2744
2958
  readonly "POST /v1/sessions/:id/sync/import#idle_id_other_principal_in_flight(\u7B2C\u4E00\u9636\u6BB5:id \u4E0A\u8FD8\u6CA1\u6709\u4F1A\u8BDD\u884C,\u800C\u53E6\u4E00\u4E2A\u4E3B\u4F53\u5728\u8FD9\u53EA id \u4E0A\u7684\u7B2C\u4E00\u9636\u6BB5\u6B63\u5728\u98DE;\u5BFC\u5165\u79DF\u7EA6\u952E = \u843D\u70B9\u5C5E\u4E3B\u683C + \u4F1A\u8BDD id,\u7A7A\u95F2 id \u4E0A\u5404\u5360\u5404\u7684;\u4F53 = \u7B2C\u4E00\u9636\u6BB5\u7684\u6682\u5B58\u56DE\u6267 stagingId;\u5148\u63D0\u4EA4\u8005\u5F97,\u8F93\u7684\u90A3\u4E00\u4EFD\u5728\u63D0\u4EA4\u524D\u590D\u5224\u7B54 404 not_found.session,\u4E0E\u8D62\u5BB6\u7684\u63D0\u4EA4\u649E\u5728\u540C\u4E00\u523B\u65F6\u7531\u5E97\u7684\u5C5E\u4E3B CAS \u62D2 409 conflict)": {
2745
2959
  readonly attr: 200;
2746
- readonly revises: readonly ["errorCodeFamily:import_in_flight"];
2747
2960
  readonly since: "7.149.0";
2748
2961
  };
2749
2962
  readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#a2aPeers_headers_reserved_member(\u65B0\u63D0\u4EA4;a2aPeers[i].headers \u7684\u6210\u5458\u540D\u662F constructor / prototype \u2014\u2014 \u4E0E mcpServers[i].transport.headers / .env \u540C\u4E00\u5F20\u4FDD\u7559\u6210\u5458\u540D\u8868\u3001\u540C\u4E00\u53EA\u8BFB\u6CD5,\u5927\u5C0F\u5199\u654F\u611F;\u4F53 request.field_invalid + field \u6210\u5458\u7EA7\u8DEF\u5F84 a2aPeers[i].headers.<\u540D>;\u5B58\u76D8\u7EED\u8DD1\u4F53\u91CC\u540C\u5F62 \u21D2 \u7EED\u8DD1\u5BB6\u65CF\u65E2\u6709\u4E00\u9762 #stored_unread_members 409)": {
2750
2963
  readonly attr: 400;
2751
2964
  readonly since: "7.149.0";
2752
2965
  };
2966
+ readonly "POST /v1/tasks|/v1/runs#rewindFilesTo_with_cascade(\u65B0\u63D0\u4EA4;\u63D0\u4EA4\u4F53\u540C\u5E26\u975E\u7A7A\u4E32 `rewindFilesTo` \u4E0E `cascade: true` \u2014\u2014 \u68AF\u7EA7\u6BCF\u4E00\u7EA7\u5728\u5F15\u64CE\u73B0\u94F8\u7684\u4F1A\u8BDD\u91CC\u8DD1\u3001\u4E0D\u53D6\u6839,\u6587\u4EF6\u56DE\u9000\u65E0\u5904\u843D\u5730;\u62D2\u5728\u4EFB\u4F55\u526F\u4F5C\u7528\u4E4B\u524D\u3001\u68AF\u5B50\u4E00\u7EA7\u90FD\u4E0D\u8D77;\u4F53 request.field_conflict + reason cascade_verify + fields [rewindFilesTo, cascade];`/v1/tasks/stream` \u4E0A\u5E26 `cascade` \u7684\u63D0\u4EA4\u672C\u6765\u5C31 400(\u540C\u7801),\u4E0D\u5165\u6B64\u9762)": {
2967
+ readonly attr: 400;
2968
+ readonly since: "7.151.0";
2969
+ };
2970
+ readonly "POST /v1/tasks/:taskId/asks/:askId/decision#parked_redeemed(\u95EE\u5DF2\u8F6C\u505C\u9A7B\u3001\u95E8\u4ECD\u5F00\u7740,\u90E8\u7F72\u63A5\u4E86\u505C\u9A7B\u8D4E\u56DE \u2014\u2014 \u975E\u76F4\u8FDE\u95E8;\u4EA4\u4E0E live \u5E94\u7B54\u53E3\u505C\u9A7B\u81C2\u540C\u4E00\u53EA\u8D4E\u56DE;\u4F53 = \u672C\u53E3\u57FA\u672C\u952E + accepted parked_redeemed + \u8D4E\u56DE\u53D7\u7406\u4F53;\u53D7\u7406\u4E4B\u540E\u51B3\u5B9A\u8BB0\u5728\u95EE\u884C\u4E0A)": {
2971
+ readonly attr: 200;
2972
+ readonly revises: readonly ["errorCode:gone.ask_parked"];
2973
+ readonly since: "7.151.0";
2974
+ };
2975
+ readonly "POST /v1/tasks/:taskId/asks/:askId/decision#parked_standing_same_key(\u95EE\u5DF2\u8F6C\u505C\u9A7B\u3001\u95E8\u4E0A\u5DF2\u7AD9\u7740\u4E00\u6B21\u51B3\u5B9A,\u672C\u6B21\u8BF7\u6C42\u7684 idempotencyKey \u5C31\u662F\u95EE\u884C\u4E0A\u8BB0\u5F55\u7684\u90A3\u4E00\u628A;\u4F53 = \u9996\u51B3\u56DE\u653E,\u4E0E DECIDED \u884C\u7684\u56DE\u653E\u540C\u4E00\u53EA\u6E32\u67D3)": {
2976
+ readonly attr: 200;
2977
+ readonly revises: readonly ["errorCode:gone.ask_parked"];
2978
+ readonly since: "7.151.0";
2979
+ };
2980
+ readonly "POST /v1/tasks/:taskId/asks/:askId/decision#parked_standing_conflict(\u95EE\u5DF2\u8F6C\u505C\u9A7B\u3001\u95E8\u4E0A\u5DF2\u7AD9\u7740\u4E00\u6B21\u51B3\u5B9A,\u672C\u6B21\u8BF7\u6C42\u4E0D\u662F\u8BB0\u5F55\u4E0A\u90A3\u4E00\u628A\u952E / \u6CA1\u5E26\u952E;\u4F53 conflict.ask_decided \u56DE\u663E\u9996\u51B3;\u9996\u51B3\u53D6\u95EE\u884C\u4E0A\u7B54\u7684\u5C31\u662F\u95E8\u4E0A\u8FD9\u4E00\u6B21\u7684\u90A3\u4EFD\u8BB0\u5F55,\u5426\u5219\u53D6\u505C\u9A7B\u95E8)": {
2981
+ readonly attr: 409;
2982
+ readonly revises: readonly ["errorCode:gone.ask_parked"];
2983
+ readonly since: "7.151.0";
2984
+ };
2985
+ readonly "POST /v1/tasks/:taskId/asks/:askId/decision#parked_redemption_refused(\u95EE\u5DF2\u8F6C\u505C\u9A7B\u3001\u95E8\u4ECD\u5F00\u7740,\u505C\u9A7B\u8D4E\u56DE\u6CA1\u751F\u6548\u4E14\u95E8\u6B64\u523B\u4ECD\u6CA1\u51B3;\u4F53 = \u8D4E\u56DE\u7684\u62D2\u539F\u6837:429 \u6210\u672C\u914D\u989D + Retry-After / 503 \u670D\u52A1\u51ED\u636E\u6216\u5C31\u7EEA / 409 approval_stale \u6216 conflict.not_resumable / 400 decide_requires_binding / 500;\u8D4E\u56DE\u7684 404 \u6539\u7B54\u672C\u53E3\u7684 not_found.ask)": {
2986
+ readonly attr: "as the shared parked redemption answers (429 / 503 / 409 / 400 / 500; its 404 ⇒ 404 not_found.ask)";
2987
+ readonly revises: readonly ["errorCode:gone.ask_parked"];
2988
+ readonly since: "7.151.0";
2989
+ };
2990
+ readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#userAttachments \u7684 path \u6761\u76EE\u5728 e2b / k8s / local-docker / adb \u8F66\u9053\u4E0A(\u76EE\u6807\u7ED9\u5F97\u51FA\u90A3\u4E00\u6B21\u89C2\u6D4B:Linux\u3001\u6302\u7740 /proc\u3001\u6709 timeout / readlink / stat / head / base64)\u4E0E device \u8F66\u9053\u4E0A(\u6267\u884C\u5668\u58F0\u660E\u4FEE\u8BA2\u53F7 \u2265 6 \u4E14\u5728 hello.supports \u58F0\u660E\u4E86 openBound)\u2014\u2014 human_input.attachments[].outcome": {
2991
+ readonly attr: "attached";
2992
+ readonly since: "7.151.0";
2993
+ };
2994
+ readonly "GET /v1/device/ws#instruction kind openBound(server \u2192 executor;\u534F\u8BAE\u4FEE\u8BA2\u53F7 6 \u7684 kind,\u53EA\u6D3E\u53D1\u7ED9\u58F0\u660E\u4FEE\u8BA2\u53F7 \u2265 6 \u4E14 hello.supports \u58F0\u660E\u4E86\u5B83\u7684\u6267\u884C\u5668;args { path, op: open|size|readBytes|list, identity?, kind?, max? })": {
2995
+ readonly attr: "dispatched-iff-declared";
2996
+ readonly since: "7.151.0";
2997
+ };
2998
+ readonly "GET /v1/device/ws#result outcome stat.identity(openBound \u5F00\u7B54\u7684 <device>:<inode>;\u53EF\u9009\u4E32,\u4E0D\u662F\u4E32 \u21D2 bad_shape)": {
2999
+ readonly attr: "accepted";
3000
+ readonly since: "7.151.0";
3001
+ };
3002
+ readonly "POST /v1/sessions/:id/sync/import/:stagingId/entries|POST /v1/sessions/:id/sync/import#landed_occupant_gone(\u6761\u76EE\u5DF2\u63D0\u4EA4 / identical \u77ED\u8DEF\u4E4B\u540E,\u5199\u6587\u4EF6\u5386\u53F2 \u00B7 \u4F1A\u8BDD\u89C4\u5219 \u00B7 \u56DE\u9000\u951A \u00B7 \u884C\u4E24\u4F4D\u7684\u843D\u5B9A\u6BB5\u6BB5\u9996\u9501\u4F1A\u8BDD\u6839\u884C,\u8BFB\u51FA\u843D\u5B9A\u7684\u90A3\u4E00\u4F4D\u4F4F\u5BA2\u5DF2\u4E0D\u5728:\u4F1A\u8BDD\u88AB\u5220\u3001\u6216\u540C id \u88AB\u91CD\u5EFA \u2014\u2014 \u542B\u540C\u4E00\u5C5E\u4E3B;\u6BB5\u4F53\u96F6\u5B57\u8282\u5199;\u4F53 conflict + sync conflict,\u4E0D\u5E26 relation;\u8FD0\u7EF4 warn session_sync_landed_occupant_gone)": {
3003
+ readonly attr: 409;
3004
+ readonly since: "7.151.0";
3005
+ };
3006
+ readonly "POST /v1/sessions/:id/sync/import/:stagingId/entries#staged_commit_occupant_changed(\u6682\u5B58\u63D0\u4EA4\u65F6\u8FD9\u53EA id \u4E0A\u7684\u4F1A\u8BDD\u5DF2\u4E0D\u662F\u7B2C\u4E00\u9636\u6BB5\u95E8\u5224\u8FC7\u7684\u90A3\u4E00\u4F4D\u4F4F\u5BA2:\u5C5E\u4E3B\u6216\u5316\u8EAB\u4E0D\u540C \u2014\u2014 \u542B\u540C\u4E00\u5C5E\u4E3B\u5220\u5EFA;\u63D0\u4EA4\u4E8B\u52A1\u56DE\u6EDA;\u4F53 conflict + \u6682\u5B58\u5BFC\u5165\u4F4F\u5BA2\u5DF2\u53D8\u7684\u56FA\u5B9A\u53E5)": {
3007
+ readonly attr: 409;
3008
+ readonly since: "7.151.0";
3009
+ };
3010
+ readonly "GET /v1/sessions/:id/sync/manifest|/v1/sessions/:id/sync/entries|/v1/sessions/:id/sync/history/blobs/:hash#occupant_changed_after_gate(\u95E8\u8BFB\u5230\u4F4F\u5BA2\u4E4B\u540E\u3001\u7B54\u590D\u53D1\u51FA\u4E4B\u524D\u590D\u5224:\u8FD9\u53EA id \u4E0A\u5DF2\u4E0D\u662F\u95E8\u627F\u8BA4\u7684\u90A3\u4E00\u4F4D \u2014\u2014 \u5220\u4E86 / \u540C id \u91CD\u5EFA;\u542B\u5426\u5B9A\u7B54\u590D 404 not_found.blob;entries \u5728\u5E94\u7B54\u5934\u53D1\u51FA\u4E4B\u524D;\u4F53 not_found.session,\u4E0E\u95E8\u540E\u88AB\u5220\u540C\u4F53)": {
3011
+ readonly attr: 404;
3012
+ readonly since: "7.151.0";
3013
+ };
3014
+ readonly "GET /v1/sessions/:id/sync/entries#occupant_changed_mid_stream(\u5E94\u7B54\u5934\u5DF2\u53D1;\u6BCF\u9875\u4EA4\u51FA\u4E4B\u524D\u590D\u5224\u4E0D\u4E2D \u21D2 \u6D41\u7ED3\u675F\u3001\u4E0D\u5199\u5C3E\u884C = \u622A\u65AD;\u8FD0\u7EF4 info session_sync_pull_occupant_changed)": {
3015
+ readonly attr: 200;
3016
+ readonly since: "7.151.0";
3017
+ };
3018
+ readonly "POST /v1/sessions/:id/sync/plan|POST /v1/sessions/:id/sync/import#occupant_changed_after_gate(\u95E8\u8BFB\u5230\u4F4F\u5BA2\u4E4B\u540E\u3001\u975E\u6545\u969C\u51FA\u53E3\u53D1\u51FA\u4E4B\u524D\u590D\u5224\u5360\u4F4D\u5934:\u5DF2\u4E0D\u662F\u90A3\u4E00\u4F4D;\u542B\u5173\u7CFB\u4F53\u3001422 \u7F3A\u5757\u3001409 \u5199\u8005 / \u6D3B\u8DC3\u62D2;\u4F53 conflict + sync conflict,\u4E0D\u5E26 relation)": {
3019
+ readonly attr: 409;
3020
+ readonly since: "7.151.0";
3021
+ };
3022
+ readonly "POST /v1/sessions/:id/sync/import/:stagingId/entries#pre_commit_activity_occupant_changed(\u63D0\u4EA4\u524D\u7684\u6D3B\u6027\u590D\u67E5:\u95E8\u8BFB\u5230\u4F4F\u5BA2\u3001\u8BFB\u5230\u4E00\u4EFD\u6D3B run / \u6D3B\u5B50\u4EE3\u4E4B\u540E,\u590D\u5224\u8FD9\u53EA id \u4E0A\u5DF2\u4E0D\u662F\u90A3\u4E00\u4F4D \u2014\u2014 \u90A3\u4EFD\u6D3B\u6027\u662F\u522B\u4E00\u4EE3\u7684;\u6682\u5B58\u653E\u6389;\u4F53 conflict + sync conflict,\u4E0D\u5E26 activeTaskId / children)": {
3023
+ readonly attr: 409;
3024
+ readonly since: "7.151.0";
3025
+ };
3026
+ readonly "PATCH /v1/sessions/:id#session_deleting(\u95E8\u90A3\u4E00\u8BFB\u4E4B\u540E\u4F1A\u8BDD\u8FDB\u4E86\u5728\u5220:\u5220\u9664\u56F4\u680F\u5DF2\u7ACB\u3001\u5C1A\u672A\u5220\u51C0;\u884C\u683C\u5224\u5B98\u628A\u5728\u5220\u8BFB\u4F5C\u884C\u4E0D\u5728;\u96F6\u5199;\u4F53 not_found.session)": {
3027
+ readonly attr: 404;
3028
+ readonly since: "7.151.0";
3029
+ };
3030
+ readonly "PUT /v1/sessions/:id/policy#occupant_changed_after_gate(\u95E8\u8BFB\u5230\u7684\u90A3\u4E00\u4F4D\u4F4F\u5BA2\u5728\u5199\u89C4\u5219\u7684\u843D\u5B9A\u6BB5\u6BB5\u9996\u5DF2\u4E0D\u5728:\u5220\u4E86 / \u540C id \u91CD\u5EFA;\u96F6\u5199;\u4F53 not_found.session,\u4E0E\u95E8\u540C\u4F53)": {
3031
+ readonly attr: 404;
3032
+ readonly since: "7.151.0";
3033
+ };
2753
3034
  };
2754
3035
  readonly retired: {};
2755
3036
  };
@@ -2821,15 +3102,15 @@ export declare const SELF_MINTED_WIRE: {
2821
3102
  };
2822
3103
  /**
2823
3104
  * `GET /v1/sessions/:id/memory-status` 200 体上本版新出现的顶层键:`memorySync` —— 本部署记忆同步腿的停驻事实(部署事实,不随会话、不随层座 `?scope=`;
2824
- * 唯一读口 = 同步执行器的 `parked()`)。形 `{ parked: Array<{ scope, wayOut }> }`,`parked: []` = 在同步、没有层停驻;游标盘路径不上 wire。
3105
+ * 唯一读口 = 同步执行器的 `parked()`)。形 `{ parked: Array<条目> }`(条目键集 = `memorySyncParkedKey`:`scope` / `wayOut` / 成因 `cause` / 引擎拒时的 `axis` · `found`),`parked: []` = 在同步、没有层停驻;游标盘路径不上 wire。
2825
3106
  * `writeHome` / `planes`(7.146.0)—— 会话的记忆写家:引擎给的 canonical 绝对目录(worker 文件系统路径),字节原样;`writeHome` 是店绑定的键(带层座 = 那只店的引擎答案,顶层原样;不带层座 = 引擎在店之间择好的会话级一值,顶层原样;逐店明细 `planes[]` 原样透出每行的 `writeHome`);在场律 = 引擎答了 ∧ 部署形表行 `callerOwnsWorkerDisk`(与能力位 `projectContext` 同一行)。
2826
3107
  */
2827
3108
  readonly sessionMemoryStatusKey: {
2828
3109
  readonly at: "GET /v1/sessions/:id/memory-status 200 体顶层键(<键> → 在场律)";
2829
3110
  readonly members: {
2830
3111
  readonly memorySync: {
2831
- readonly attr: "present-iff this deployment runs a memory sync leg;{parked:[{scope,wayOut}]} in sync order;parked:[] ⇔ no layer parked;deployment fact (same for every session, ?scope= not applied)";
2832
- readonly since: "7.141.0";
3112
+ readonly attr: "present-iff this deployment runs a memory sync leg;{parked:[entry]} in sync order (entry keys: memorySyncParkedKey);parked:[] ⇔ no layer parked;deployment fact (same for every session, ?scope= not applied)";
3113
+ readonly since: "7.151.0";
2833
3114
  };
2834
3115
  readonly writeHome: {
2835
3116
  readonly attr: "present-iff the engine answered it ∧ the single-user host lane (the capability bit projectContext's range predicate: hosted / sandbox / device / no-hands lanes ⇒ absent);the engine's absolute directory, byte for byte;with ?scope= that store's engine answer;without ?scope= the session-level home the engine chose across the stores (the newest store's own home;absent while any store's reading is unreadable, on a same-instant tie, or when no store names one)";
@@ -2841,6 +3122,85 @@ export declare const SELF_MINTED_WIRE: {
2841
3122
  };
2842
3123
  };
2843
3124
  };
3125
+ /**
3126
+ * `memory-status.memorySync.parked[]` 条目的**整个**键集(7.151.0 起登记全集;`scope` / `wayOut` 自 7.141.0 即在 wire 上)。一条条目 = 执行器的一条停驻记录整条原样(型属主 `MemorySyncParkedLayer`,
3127
+ * 唯一铸点 `parkedLayerOf`;运维行 `memory_sync_layer_parked` 从同一条记录投影,另带触发原因 `reason` / 游标盘路径 `cursorPath` / 句子 `note`,这三格不在条目里)。游标的盘路径不上 wire。
3128
+ */
3129
+ readonly memorySyncParkedKey: {
3130
+ readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[] 条目键(<键> → 在场律)";
3131
+ readonly members: {
3132
+ scope: {
3133
+ attr: string;
3134
+ since: string;
3135
+ };
3136
+ wayOut: {
3137
+ attr: string;
3138
+ since: string;
3139
+ };
3140
+ cause: {
3141
+ attr: string;
3142
+ since: string;
3143
+ };
3144
+ axis: {
3145
+ attr: string;
3146
+ since: string;
3147
+ };
3148
+ found: {
3149
+ attr: string;
3150
+ since: string;
3151
+ };
3152
+ };
3153
+ };
3154
+ /** 停驻成因 `memorySync.parked[].cause` 的闭集(同一只词也在运维行 `memory_sync_layer_parked` 的 `cause` 上)。`cursor_refused` = 同步引擎在游标上拒了这一层(轴与读数见 `axis` / `found`);`cursor_unusable` = 游标文件读不成游标。 */
3155
+ readonly memorySyncParkCause: {
3156
+ readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[].cause";
3157
+ readonly members: {
3158
+ cursor_refused: {
3159
+ attr: string;
3160
+ since: string;
3161
+ };
3162
+ cursor_unusable: {
3163
+ attr: string;
3164
+ since: string;
3165
+ };
3166
+ };
3167
+ };
3168
+ /** 引擎拒游标的轴 `memorySync.parked[].axis` 的闭集(词表属主 = 引擎同步报告的拒读数型;`incarnation` = 中心的哪一份状态:中心换了或游标是升级前写下的)。 */
3169
+ readonly memorySyncCursorAxis: {
3170
+ readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[].axis";
3171
+ readonly members: {
3172
+ scope: {
3173
+ attr: string;
3174
+ since: string;
3175
+ };
3176
+ peer: {
3177
+ attr: string;
3178
+ since: string;
3179
+ };
3180
+ store: {
3181
+ attr: string;
3182
+ since: string;
3183
+ };
3184
+ incarnation: {
3185
+ attr: string;
3186
+ since: string;
3187
+ };
3188
+ };
3189
+ };
3190
+ /** 游标在被拒那一轴上的读数 `memorySync.parked[].found` 的闭集(词表属主 = 引擎同步报告的拒读数型):`absent` = 游标在那一轴上没有绑定,`other` = 绑着别的值。 */
3191
+ readonly memorySyncCursorFound: {
3192
+ readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[].found";
3193
+ readonly members: {
3194
+ absent: {
3195
+ attr: string;
3196
+ since: string;
3197
+ };
3198
+ other: {
3199
+ attr: string;
3200
+ since: string;
3201
+ };
3202
+ };
3203
+ };
2844
3204
  /** 停驻层出路 `memorySync.parked[].wayOut` 的闭集(同一只词也在运维行 `memory_sync_layer_parked` 的 `wayOut` 上)。`delete_cursor` = 删掉这一层的同步游标文件,下一轮从空基线重收敛(不推删除)。 */
2845
3205
  readonly memorySyncWayOut: {
2846
3206
  readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[].wayOut";
@@ -2956,7 +3316,6 @@ export declare const SELF_MINTED_WIRE: {
2956
3316
  };
2957
3317
  readonly "session faces \u00B7 list faces \u00B7 /metrics family#dev-open-principal-header-not-owner": {
2958
3318
  readonly attr: "each face's missing-row answer, same body as a missing row (404 not_found.session on GET /v1/sessions/:id · /head · /events · /memory-status · /execution-placement · PATCH /v1/sessions/:id · fork · sync reads (manifest · entries · history blob) · memory/erase · background · background/stop · mcp/reconnect · policy · notify; approval exemptions 404 not_found.session (not found); DELETE /v1/sessions/:id 200 {deleted:false}; sync push family (plan · import · blob put) 404 on another owner's session, its existing create answer on a missing id); GET /v1/sessions · /v1/fleet/stream · /v1/agents/roster · /v1/tasks (trace list) · /v1/usage/* · /v1/sendfile-links pinned to the named caller; /metrics* and GET /v1/tasks/source-summary 401 auth.unauthorized (operator sentence; METRICS_TOKEN, when configured, still opens /metrics* and is judged first); a Bearer this deployment cannot verify does not count as naming no principal (no fleet); a caller naming no principal and presenting no unverifiable credential unchanged (fleet); was 200 / fleet-wide (the principal header read as a label)";
2959
- readonly revises: readonly ["selfMinted.ownerFaceAnswer:GET /v1/runs/:id · /v1/runs/:id/events#dev-open-principal-header-not-owner"];
2960
3319
  readonly since: "7.149.0";
2961
3320
  };
2962
3321
  readonly "owner-only session ports#unreadable-archive-ownerless-session-fleet-or-operator": {
@@ -3200,6 +3559,10 @@ export declare const SELF_MINTED_WIRE: {
3200
3559
  readonly refusalSentenceForm: {
3201
3560
  readonly at: "拒体 message 的句型(<码>#<座> → 句型骨架;码 / 状态 / 机读位不变)";
3202
3561
  readonly members: {
3562
+ readonly "409 conflict#staged_import_commit(\u4F1A\u8BDD\u540C\u6B65\u63A8\u9001\u7B2C\u4E8C\u9636\u6BB5\u7684\u63D0\u4EA4:\u6682\u5B58\u63D0\u4EA4\u7684\u4F4F\u5BA2 CAS \u6CA1\u8FC7)": {
3563
+ readonly attr: "session changed hands while the import streamed (deleted, re-created or re-owned); nothing was imported — start the sync again";
3564
+ readonly since: "7.151.0";
3565
+ };
3203
3566
  readonly "401 auth.unauthorized#operator(/metrics* \u00B7 GET /v1/tasks/source-summary)": {
3204
3567
  readonly attr: "… send the deployment's service token … without a principal header where this deployment lets its service token act for the deployment itself (GET /health reports it as auth.serviceTokenActsForDeployment; …), or a read-only token this endpoint accepts (…)";
3205
3568
  readonly since: "7.146.0";
@@ -3240,9 +3603,9 @@ export declare const SELF_MINTED_WIRE: {
3240
3603
  readonly attr: "this session's stored state cannot be read: the store does not match what this deployment requires (a table is missing or the database account lacks a privilege), so nothing was exported — retrying will not help until an operator repairs the store";
3241
3604
  readonly since: "7.137.0";
3242
3605
  };
3243
- readonly "connect_failed(run \u5931\u8D25\u7EC8\u5C40)#snapshot_bucket_missing(k8s \u8F66\u9053\u8BFB latest \u5F97 404 NoSuchBucket;\u8FDE\u6C99\u7BB1\u5931\u8D25,\u4E00\u53EA pod \u90FD\u4E0D\u5EFA)": {
3606
+ readonly "env.snapshot_bucket_missing#snapshot_bucket_missing(k8s \u8F66\u9053\u8BFB latest / \u53D6\u5FEB\u7167\u5F52\u6863\u5F97 404 NoSuchBucket;\u5EFA\u8FDE\u7684\u7ACB\u5B9A\u62D2 \u2014\u2014 \u4E0D\u7559 pod\u3014\u8BFB latest \u4E0D\u5EFA,\u53D6\u5F52\u6863\u5EFA\u7684\u90A3\u53EA\u91CA\u653E\u3015,\u6267\u884C\u73AF\u5883\u8BB0\u4F4F\u5B83\u76F4\u5230\u9500\u6BC1)": {
3244
3607
  readonly attr: "workspace space pointer read failed (snapshot_bucket_missing): the workspace snapshot bucket <name> (WORKSPACE_SNAPSHOT_BUCKET; default workspaces) does not exist in the object store — refusing to start this run … Ways out: create the bucket, or set WORKSPACE_SNAPSHOT_BUCKET to one that exists, or set WORKSPACE_PERSIST=off …";
3245
- readonly since: "7.136.0";
3608
+ readonly since: "7.151.0";
3246
3609
  };
3247
3610
  readonly "400 request.field_invalid#images[i].url.credential": {
3248
3611
  readonly attr: "<field> <规则句> — the URL is kept as written (a parked task's resume context, logs), while images[i] can carry the image bytes inline: send { data, mimeType } instead of a URL that holds the credential";
@@ -3384,6 +3747,26 @@ export declare const SELF_MINTED_WIRE: {
3384
3747
  readonly attr: "resume blocked by an admission policy change: <同上一句>";
3385
3748
  readonly since: "7.147.0";
3386
3749
  };
3750
+ readonly "503 auth.service_token_required#task_submissions(\u8BA1\u8D39\u63D0\u4EA4 \u00B7 bake \u00B7 \u6539\u5199\u95E8;\u505C\u9A7B\u8D4E\u56DE\u5E2D\u540C\u53E5)": {
3751
+ readonly attr: "this worker requires a service auth token (set SERVICE_AUTH_TOKEN) or a verified registry sign-in token before accepting task submissions";
3752
+ readonly since: "7.151.0";
3753
+ };
3754
+ readonly "503 auth.service_token_required#destructive_session_writes": {
3755
+ readonly attr: "this worker requires a service auth token (set SERVICE_AUTH_TOKEN) or a verified registry sign-in token before accepting destructive session writes (policy / sync-import / fork / delete)";
3756
+ readonly since: "7.151.0";
3757
+ };
3758
+ readonly "413 request.payload_too_large#store_row_too_large(POST /v1/tasks|/v1/tasks/stream|/v1/runs;\u7EED\u8DD1\u8F93\u5165\u4E00\u884C\u88C5\u4E0D\u4E0B,row / statement / value \u4E09\u5899)": {
3759
+ readonly attr: "the database refused to store this task: it is larger than the database keeps in one row|accepts in one statement|PostgreSQL holds in one value — nothing was run; <出路>";
3760
+ readonly since: "7.151.0";
3761
+ };
3762
+ readonly "adopt_failed|track_failed|snapshot_failed|restore_failed#store_fault(\u6587\u4EF6\u5386\u53F2\u5E97\u7684\u5931\u8D25\u53E5:\u4F1A\u8BDD\u540C\u6B65\u63A8\u9001\u4E0E blob \u4EA4\u6362\u7684\u62D2\u4F53 \u00B7 rewind / restore \u7684\u9010\u6587\u4EF6\u5931\u8D25\u53E5)": {
3763
+ readonly attr: "<动作> failed: <类别句> [original code: <原码>]";
3764
+ readonly since: "7.151.0";
3765
+ };
3766
+ readonly "\u5B50\u4EE3\u5931\u8D25\u53E5#store_fault(tool_end \u5B50\u4EE3\u5361 structured.errorMessage \u00B7 \u540E\u53F0\u5B50\u4EE3\u901A\u544A\u7684 summary \u00B7 GET /v1/runs/:id/subagents/:handle/output \u7684 content / output \u00B7 \u7236\u6A21\u578B\u8BFB\u5230\u7684\u5B50\u4EE3\u62A5\u544A\u884C)": {
3767
+ readonly attr: "<类别句> [original code: <原码>](与 run 终局 terminal.failed.message 同一句)";
3768
+ readonly since: "7.151.0";
3769
+ };
3387
3770
  };
3388
3771
  };
3389
3772
  /**
@@ -3581,9 +3964,10 @@ export declare const SELF_MINTED_WIRE: {
3581
3964
  /**
3582
3965
  * 设备 WS 协议的修订号(成员 = 修订号;能力位 `deviceExecutor.protocolVersion` 报最高那一只,challenge 帧同值)。`attr` = 那一修订号加进 executor → server 结局码闭集的词
3583
3966
  * (修订号 1 = 首版的基集 `base`,词集见随包 `docs/DEVICE-EXECUTOR-PROTOCOL.md` §2.1);executor 声明哪个修订号就只发到那一行为止的词。
3967
+ * 零加词的语义修订(server 发来的帧意思变了)attr = 变更名;协议文档同一行第三栏写变更全文。
3584
3968
  */
3585
3969
  readonly deviceProtocolRevision: {
3586
- readonly at: "GET /v1/capabilities deviceExecutor.protocolVersion 与 device WS challenge 帧的修订号(<修订号> → 它加进结局码闭集的词)";
3970
+ readonly at: "GET /v1/capabilities deviceExecutor.protocolVersion 与 device WS challenge 帧的修订号(<修订号> → 它加的词:结局码 `+词`、下发指令 kind `+kind:词`;两张表都零加词的语义修订 → 变更名)";
3587
3971
  readonly members: {
3588
3972
  1: {
3589
3973
  attr: string;
@@ -3601,6 +3985,14 @@ export declare const SELF_MINTED_WIRE: {
3601
3985
  attr: string;
3602
3986
  since: string;
3603
3987
  };
3988
+ 5: {
3989
+ attr: string;
3990
+ since: string;
3991
+ };
3992
+ 6: {
3993
+ attr: string;
3994
+ since: string;
3995
+ };
3604
3996
  };
3605
3997
  };
3606
3998
  /**
@@ -3877,6 +4269,10 @@ export declare const SELF_MINTED_WIRE: {
3877
4269
  readonly attr: "absent=>WORKSPACE_SNAPSHOT_BUCKET_DEFAULT(not-the-explicit-value)";
3878
4270
  readonly since: "7.148.0";
3879
4271
  };
4272
+ readonly "GET /v1/config/catalog#rows[ALLOW_UNAUTHED_WRITES].semantics": {
4273
+ readonly attr: "write-gate-admits-requests-without-a-gate-credential(service-token|verified-sign-in-token);submissions+rewrites+destructive-session-writes";
4274
+ readonly since: "7.151.0";
4275
+ };
3880
4276
  /**
3881
4277
  * MCP 远端失败句在面板与重拨回执上的出口读法:出口座的 `mcp-remote-text` 行(`trace/exit-seat.ts`)—— 与 trace / 通告同一个脱敏器(引擎记号 `[redacted]` = 已抹的值,原样;
3882
4278
  * 引擎记号占了方案词位时头值余下的部分照抹;引擎放过的形照抹),界 200(切点不落进记号)。7.137.0 是按记号切开、逐段过 `redactSecrets` 的另一只读法