@sema-agent/server 7.132.0 → 7.133.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 (402) hide show
  1. package/MIGRATION.md +266 -0
  2. package/README.md +8 -9
  3. package/README.zh-CN.md +7 -6
  4. package/USAGE.md +174 -55
  5. package/deploy/sema-up/README.md +19 -1
  6. package/deploy/sema-up/chart/templates/server-v4pro.yaml +5 -2
  7. package/deploy/sema-up/chart/templates/server.yaml +5 -2
  8. package/deploy/sema-up/stack/compose.yaml +3 -0
  9. package/deploy/sema-up/stack/sema-stack-cluster.yaml +4 -2
  10. package/dist/adoption/plan.d.ts +3 -2
  11. package/dist/adoption/plan.js +7 -5
  12. package/dist/adoption/runner.js +3 -10
  13. package/dist/adoption/sql.d.ts +3 -2
  14. package/dist/adoption/sql.js +3 -5
  15. package/dist/adoption/wire.d.ts +4 -1
  16. package/dist/adoption/wire.js +1 -0
  17. package/dist/approval-ask-audit-store.d.ts +31 -13
  18. package/dist/approval-ask-audit-store.js +272 -74
  19. package/dist/approval-ask-machine.d.ts +15 -0
  20. package/dist/approval-ask-machine.js +6 -0
  21. package/dist/approval-ask-retention.d.ts +136 -0
  22. package/dist/approval-ask-retention.js +102 -0
  23. package/dist/approval-card.d.ts +79 -19
  24. package/dist/approval-card.js +44 -13
  25. package/dist/approval-deny-reasons.d.ts +1 -1
  26. package/dist/approval.d.ts +9 -0
  27. package/dist/approval.js +24 -3
  28. package/dist/audit.d.ts +27 -10
  29. package/dist/audit.js +12 -16
  30. package/dist/bake-runner/main.js +3 -2
  31. package/dist/boot/deferred-sandbox-path-env.js +1 -1
  32. package/dist/boot/execution-env.js +9 -7
  33. package/dist/boot/execution-lane.js +11 -0
  34. package/dist/boot/leader.js +2 -0
  35. package/dist/boot/memory-boundary.js +2 -2
  36. package/dist/boot/memory-consolidation.d.ts +5 -4
  37. package/dist/boot/memory-consolidation.js +7 -6
  38. package/dist/boot/org-delivery.d.ts +28 -0
  39. package/dist/boot/org-delivery.js +20 -0
  40. package/dist/boot/reapers.d.ts +3 -0
  41. package/dist/boot/reapers.js +21 -1
  42. package/dist/boot/resolve-spec.d.ts +3 -0
  43. package/dist/boot/resolve-spec.js +60 -81
  44. package/dist/boot/runner-deps.js +1 -0
  45. package/dist/boot/session-faces.d.ts +1 -0
  46. package/dist/boot/session-faces.js +4 -2
  47. package/dist/boot/stage-02-web-admin-pull.js +4 -1
  48. package/dist/boot/stage-06-runners.d.ts +2 -0
  49. package/dist/boot/stage-06-runners.js +6 -3
  50. package/dist/boot/stage-07-capability-layer.d.ts +2 -0
  51. package/dist/boot/stage-07-capability-layer.js +24 -3
  52. package/dist/boot/stage-08-reapers.d.ts +2 -0
  53. package/dist/boot/stage-08-reapers.js +2 -2
  54. package/dist/boot/stage-09-leader.d.ts +3 -0
  55. package/dist/boot/stage-10-http-server.d.ts +3 -0
  56. package/dist/boot/stage-10-http-server.js +5 -6
  57. package/dist/boot/stores.js +2 -2
  58. package/dist/boot/web-admin.d.ts +4 -0
  59. package/dist/boot/web-admin.js +151 -63
  60. package/dist/boot/workflow-orchestration.d.ts +2 -0
  61. package/dist/boot/workflow-orchestration.js +2 -1
  62. package/dist/brain.js +8 -3
  63. package/dist/breaker-key.d.ts +6 -0
  64. package/dist/breaker-key.js +29 -0
  65. package/dist/caller-text-echo.d.ts +9 -6
  66. package/dist/caller-text-echo.js +8 -11
  67. package/dist/capabilities/center-plugins.d.ts +7 -0
  68. package/dist/capabilities/center-plugins.js +1 -1
  69. package/dist/capabilities/composite-members.d.ts +1 -1
  70. package/dist/capabilities/composite-members.js +1 -1
  71. package/dist/capabilities/execution-lane.js +2 -2
  72. package/dist/capabilities/hands-lane.d.ts +21 -0
  73. package/dist/capabilities/hands-lane.js +10 -0
  74. package/dist/capabilities/mcp-probe.d.ts +36 -4
  75. package/dist/capabilities/mcp-probe.js +27 -4
  76. package/dist/capabilities/scenarios.d.ts +63 -7
  77. package/dist/capabilities/scenarios.js +39 -7
  78. package/dist/capability-facts.d.ts +34 -4
  79. package/dist/capability-facts.js +28 -2
  80. package/dist/center-config-tier.d.ts +69 -0
  81. package/dist/center-config-tier.js +42 -0
  82. package/dist/checkpoint-identity.d.ts +16 -0
  83. package/dist/checkpoint-identity.js +19 -0
  84. package/dist/config-catalog.d.ts +17 -10
  85. package/dist/config-catalog.js +43 -28
  86. package/dist/config-d-migration.d.ts +3 -1
  87. package/dist/config-d-migration.js +2 -2
  88. package/dist/config-dir-trust.d.ts +114 -0
  89. package/dist/config-dir-trust.js +388 -0
  90. package/dist/config-invariants.d.ts +18 -5
  91. package/dist/config-invariants.js +35 -3
  92. package/dist/config-provider.d.ts +6 -1
  93. package/dist/config-provider.js +6 -2
  94. package/dist/config-types.d.ts +71 -14
  95. package/dist/config-types.js +8 -0
  96. package/dist/config.d.ts +13 -0
  97. package/dist/config.js +121 -59
  98. package/dist/delegated-session-owner.d.ts +185 -0
  99. package/dist/delegated-session-owner.js +119 -0
  100. package/dist/device-protocol.d.ts +5 -3
  101. package/dist/device-protocol.js +1 -1
  102. package/dist/device-ws-hub.js +21 -2
  103. package/dist/device-ws-protocol.d.ts +70 -6
  104. package/dist/device-ws-protocol.js +50 -23
  105. package/dist/elicitation.js +3 -2
  106. package/dist/entry-problems.d.ts +34 -0
  107. package/dist/entry-problems.js +14 -0
  108. package/dist/execution-lane-caps.d.ts +49 -10
  109. package/dist/execution-lane-caps.js +43 -4
  110. package/dist/field-conflict.d.ts +43 -0
  111. package/dist/field-conflict.js +20 -0
  112. package/dist/fleet/fleet-bus.d.ts +80 -6
  113. package/dist/fleet/fleet-bus.js +41 -9
  114. package/dist/hooks/classic-stations.d.ts +10 -5
  115. package/dist/hooks/classic-stations.js +4 -4
  116. package/dist/hooks/command-spawn.d.ts +57 -0
  117. package/dist/hooks/command-spawn.js +139 -0
  118. package/dist/hooks/hook-llm.js +2 -2
  119. package/dist/hooks/hook-runner.d.ts +127 -25
  120. package/dist/hooks/hook-runner.js +668 -287
  121. package/dist/hooks/hook-source.d.ts +44 -0
  122. package/dist/hooks/hook-source.js +40 -0
  123. package/dist/http/active-run-conflict.d.ts +5 -13
  124. package/dist/http/active-run-conflict.js +17 -27
  125. package/dist/http/admission.js +103 -60
  126. package/dist/http/approval-sweeps.js +55 -18
  127. package/dist/http/caller-trust.d.ts +77 -0
  128. package/dist/http/caller-trust.js +143 -0
  129. package/dist/http/checkpoint-ctx.d.ts +16 -16
  130. package/dist/http/checkpoint-ctx.js +13 -10
  131. package/dist/http/claimed-run.d.ts +4 -3
  132. package/dist/http/device-placement.d.ts +2 -4
  133. package/dist/http/device-placement.js +2 -1
  134. package/dist/http/dispatch.js +10 -4
  135. package/dist/http/durable-run-leg.d.ts +4 -32
  136. package/dist/http/durable-run-leg.js +34 -10
  137. package/dist/http/owner-access.d.ts +56 -0
  138. package/dist/http/owner-access.js +42 -0
  139. package/dist/http/principal-gate.d.ts +48 -23
  140. package/dist/http/principal-gate.js +39 -12
  141. package/dist/http/readiness.d.ts +11 -5
  142. package/dist/http/readiness.js +10 -3
  143. package/dist/http/request-guards.d.ts +16 -23
  144. package/dist/http/request-guards.js +30 -15
  145. package/dist/http/resume-ctx-read.d.ts +2 -5
  146. package/dist/http/resume-ctx-read.js +7 -4
  147. package/dist/http/resume-legs.d.ts +3 -4
  148. package/dist/http/resume-legs.js +126 -69
  149. package/dist/http/retired-service-deps.d.ts +43 -0
  150. package/dist/http/retired-service-deps.js +18 -0
  151. package/dist/http/route-ctx.d.ts +44 -28
  152. package/dist/http/route-ctx.js +4 -0
  153. package/dist/http/route-table.js +2 -0
  154. package/dist/http/routes/a2a-serve.js +3 -4
  155. package/dist/http/routes/admin-config-refresh.js +1 -1
  156. package/dist/http/routes/admin-drain.js +1 -1
  157. package/dist/http/routes/admin-memory-optout.js +5 -1
  158. package/dist/http/routes/adoption.js +2 -9
  159. package/dist/http/routes/approvals-assistant.js +49 -48
  160. package/dist/http/routes/background.js +3 -2
  161. package/dist/http/routes/capabilities.js +20 -4
  162. package/dist/http/routes/config-catalog.d.ts +3 -3
  163. package/dist/http/routes/config-catalog.js +1 -1
  164. package/dist/http/routes/devices.js +3 -17
  165. package/dist/http/routes/diagnostics.js +5 -1
  166. package/dist/http/routes/images.js +6 -7
  167. package/dist/http/routes/leader.js +1 -8
  168. package/dist/http/routes/mcp-reconnect.d.ts +1 -1
  169. package/dist/http/routes/mcp-reconnect.js +3 -2
  170. package/dist/http/routes/memory-bundle.js +1 -1
  171. package/dist/http/routes/memory-compliance.js +1 -1
  172. package/dist/http/routes/memory-consolidation.js +1 -1
  173. package/dist/http/routes/memory-origin.js +1 -1
  174. package/dist/http/routes/memory-policy.d.ts +1 -1
  175. package/dist/http/routes/memory-policy.js +3 -2
  176. package/dist/http/routes/notify-wake.js +8 -21
  177. package/dist/http/routes/observability.js +2 -2
  178. package/dist/http/routes/principal-inbox.d.ts +39 -0
  179. package/dist/http/routes/principal-inbox.js +76 -0
  180. package/dist/http/routes/retention-ops.js +2 -9
  181. package/dist/http/routes/rules.js +5 -18
  182. package/dist/http/routes/runs.d.ts +5 -0
  183. package/dist/http/routes/runs.js +33 -106
  184. package/dist/http/routes/session-sync.js +15 -28
  185. package/dist/http/routes/sessions.js +30 -40
  186. package/dist/http/routes/side-query.js +6 -4
  187. package/dist/http/routes/tasks.js +50 -14
  188. package/dist/http/routes/workflows.d.ts +351 -0
  189. package/dist/http/routes/workflows.js +153 -119
  190. package/dist/http/send.d.ts +24 -3
  191. package/dist/http/send.js +14 -2
  192. package/dist/http/server.d.ts +17 -18
  193. package/dist/http/server.js +15 -13
  194. package/dist/http/stored-body-replay.js +17 -4
  195. package/dist/http/submit-ctx.js +4 -3
  196. package/dist/http/submit-replay.d.ts +4 -3
  197. package/dist/http/submit-replay.js +5 -4
  198. package/dist/http/wire-types.d.ts +10 -7
  199. package/dist/index.d.ts +1 -1
  200. package/dist/index.js +0 -1
  201. package/dist/lane-home-probe.d.ts +78 -9
  202. package/dist/lane-home-probe.js +78 -12
  203. package/dist/leader/endpoint.d.ts +4 -1
  204. package/dist/leader/endpoint.js +11 -10
  205. package/dist/limit-refusal.d.ts +17 -5
  206. package/dist/limit-refusal.js +4 -1
  207. package/dist/mcp-assertion-header.d.ts +31 -10
  208. package/dist/mcp-assertion-header.js +10 -3
  209. package/dist/mcp-tool-faces.js +1 -3
  210. package/dist/memory-project-layer.d.ts +37 -0
  211. package/dist/memory-project-layer.js +46 -0
  212. package/dist/memory-scope.d.ts +23 -16
  213. package/dist/memory-scope.js +24 -8
  214. package/dist/memory-sync-client.d.ts +27 -13
  215. package/dist/memory-sync-client.js +107 -18
  216. package/dist/model-entry-refusal.d.ts +9 -1
  217. package/dist/model-entry-refusal.js +6 -1
  218. package/dist/model-plane-face.d.ts +51 -0
  219. package/dist/model-plane-face.js +24 -0
  220. package/dist/model-provider.d.ts +5 -0
  221. package/dist/model-provider.js +4 -2
  222. package/dist/model-route-endpoint.d.ts +8 -11
  223. package/dist/model-route-endpoint.js +4 -7
  224. package/dist/model-route-env.d.ts +22 -0
  225. package/dist/model-route-env.js +2 -0
  226. package/dist/model-route-gap.d.ts +60 -30
  227. package/dist/model-route-gap.js +21 -15
  228. package/dist/observability/corrupt-read-seat.d.ts +7 -0
  229. package/dist/observability/corrupt-read-seat.js +9 -0
  230. package/dist/observability/err-text.d.ts +6 -0
  231. package/dist/observability/err-text.js +18 -4
  232. package/dist/observability/fail-open.d.ts +35 -9
  233. package/dist/observability/fail-open.js +35 -9
  234. package/dist/observability/metrics.js +1 -0
  235. package/dist/observability/prompt-manifest.d.ts +3 -17
  236. package/dist/observability/prompt-manifest.js +45 -42
  237. package/dist/observability/tool-trace.js +9 -9
  238. package/dist/operator-ask.d.ts +10 -0
  239. package/dist/operator-ask.js +3 -0
  240. package/dist/orchestration/workflow-agent-session-index.d.ts +12 -12
  241. package/dist/orchestration/workflow-agent-session-index.js +9 -13
  242. package/dist/orchestration/workflow-completion-inbox.d.ts +42 -15
  243. package/dist/orchestration/workflow-completion-inbox.js +13 -0
  244. package/dist/orchestration/workflow-notify-journal.d.ts +13 -32
  245. package/dist/orchestration/workflow-notify-journal.js +27 -34
  246. package/dist/orchestration/workflow-park-decision.d.ts +89 -0
  247. package/dist/orchestration/workflow-park-decision.js +118 -0
  248. package/dist/org-delivery-gate.d.ts +81 -0
  249. package/dist/org-delivery-gate.js +59 -0
  250. package/dist/panel-tool-names.d.ts +23 -0
  251. package/dist/panel-tool-names.js +8 -0
  252. package/dist/parked-decide.d.ts +39 -6
  253. package/dist/parked-decide.js +98 -51
  254. package/dist/parked-revive-surface.d.ts +9 -2
  255. package/dist/parked-revive-surface.js +11 -8
  256. package/dist/permission-rule-list.d.ts +1 -1
  257. package/dist/permission-rule-list.js +2 -2
  258. package/dist/plugins/approval-ask-store-file.d.ts +16 -1
  259. package/dist/plugins/approval-ask-store-file.js +21 -0
  260. package/dist/plugins/approval-ask-store-memory.d.ts +18 -1
  261. package/dist/plugins/approval-ask-store-memory.js +34 -2
  262. package/dist/plugins/approval-ask-store-sql.d.ts +25 -0
  263. package/dist/plugins/approval-ask-store-sql.js +37 -1
  264. package/dist/plugins/blob-backend.d.ts +38 -25
  265. package/dist/plugins/blob-backend.js +29 -19
  266. package/dist/plugins/breaker-state-sql.d.ts +2 -2
  267. package/dist/plugins/breaker-state-sql.js +4 -4
  268. package/dist/plugins/caching-session-store.d.ts +3 -0
  269. package/dist/plugins/caching-session-store.js +3 -0
  270. package/dist/plugins/checkpoint-store-sql.d.ts +14 -0
  271. package/dist/plugins/checkpoint-store-sql.js +20 -2
  272. package/dist/plugins/file-history-store-sql.d.ts +5 -2
  273. package/dist/plugins/file-history-store-sql.js +3 -1
  274. package/dist/plugins/file-run-store.d.ts +5 -13
  275. package/dist/plugins/file-run-store.js +9 -0
  276. package/dist/plugins/fork-routing-session-store.d.ts +9 -1
  277. package/dist/plugins/fork-routing-session-store.js +12 -1
  278. package/dist/plugins/host-platform.d.ts +2 -0
  279. package/dist/plugins/host-platform.js +2 -1
  280. package/dist/plugins/local-checkpoint-store.d.ts +2 -0
  281. package/dist/plugins/local-checkpoint-store.js +6 -1
  282. package/dist/plugins/local-session-store.d.ts +1 -1
  283. package/dist/plugins/local-session-window.d.ts +39 -0
  284. package/dist/plugins/local-session-window.js +54 -0
  285. package/dist/plugins/mailbox-recipient-lifecycle.d.ts +3 -2
  286. package/dist/plugins/mailbox-store-sql.d.ts +30 -48
  287. package/dist/plugins/mailbox-store-sql.js +77 -52
  288. package/dist/plugins/memory-embedder-fingerprint.js +2 -1
  289. package/dist/plugins/memory-run-store.d.ts +5 -13
  290. package/dist/plugins/memory-run-store.js +8 -0
  291. package/dist/plugins/one-time-migrations.d.ts +110 -5
  292. package/dist/plugins/one-time-migrations.js +320 -8
  293. package/dist/plugins/org-delivery-quota-store.d.ts +123 -0
  294. package/dist/plugins/org-delivery-quota-store.js +228 -0
  295. package/dist/plugins/pg-pool.js +39 -7
  296. package/dist/plugins/pg-session-storage.d.ts +17 -4
  297. package/dist/plugins/pg-session-storage.js +29 -6
  298. package/dist/plugins/remote-env-adb.d.ts +6 -12
  299. package/dist/plugins/remote-env-adb.js +12 -2
  300. package/dist/plugins/remote-env-k8s.d.ts +8 -12
  301. package/dist/plugins/remote-env-k8s.js +23 -5
  302. package/dist/plugins/remote-env-local-docker.d.ts +10 -15
  303. package/dist/plugins/remote-env-local-docker.js +12 -9
  304. package/dist/plugins/remote-env-ssh.d.ts +10 -16
  305. package/dist/plugins/remote-env-ssh.js +17 -11
  306. package/dist/plugins/run-store-sql.d.ts +16 -14
  307. package/dist/plugins/run-store-sql.js +22 -2
  308. package/dist/plugins/schema-indexes.js +2 -0
  309. package/dist/plugins/send-user-file.js +2 -2
  310. package/dist/plugins/session-epoch-anchor.d.ts +32 -6
  311. package/dist/plugins/session-epoch-anchor.js +2 -3
  312. package/dist/plugins/session-store.d.ts +18 -8
  313. package/dist/plugins/session-store.js +15 -4
  314. package/dist/plugins/sql-driver.d.ts +74 -11
  315. package/dist/plugins/sql-driver.js +210 -12
  316. package/dist/plugins/sql-errors.d.ts +23 -0
  317. package/dist/plugins/sql-errors.js +21 -0
  318. package/dist/plugins/store-backend.d.ts +36 -1
  319. package/dist/plugins/store-backend.js +40 -14
  320. package/dist/plugins/store-contracts.d.ts +42 -0
  321. package/dist/plugins/store-contracts.js +1 -0
  322. package/dist/plugins/tidb-pool.d.ts +6 -1
  323. package/dist/plugins/tidb-pool.js +44 -10
  324. package/dist/plugins/tidb-session-storage.d.ts +3 -2
  325. package/dist/plugins/tidb-session-storage.js +2 -2
  326. package/dist/plugins/tidb-session-store.d.ts +24 -4
  327. package/dist/plugins/tidb-session-store.js +28 -4
  328. package/dist/plugins/workflow-journal-store-sql.d.ts +73 -19
  329. package/dist/plugins/workflow-journal-store-sql.js +19 -6
  330. package/dist/plugins/workflow-run-store-sql.d.ts +30 -8
  331. package/dist/plugins/workflow-run-store-sql.js +50 -9
  332. package/dist/posture-source.d.ts +18 -10
  333. package/dist/posture-source.js +4 -1
  334. package/dist/project-identity.d.ts +45 -6
  335. package/dist/project-identity.js +162 -8
  336. package/dist/project-layer-key.d.ts +28 -0
  337. package/dist/project-layer-key.js +29 -0
  338. package/dist/question.js +3 -2
  339. package/dist/read-deny-entry.d.ts +25 -0
  340. package/dist/read-deny-entry.js +12 -0
  341. package/dist/read-face-posture.d.ts +37 -11
  342. package/dist/read-face-posture.js +32 -3
  343. package/dist/request-key-closure.d.ts +7 -0
  344. package/dist/request-key-closure.js +9 -1
  345. package/dist/request-value-closure.d.ts +5 -0
  346. package/dist/request-value-closure.js +11 -3
  347. package/dist/rule-entry-list.d.ts +26 -2
  348. package/dist/rule-entry-list.js +72 -12
  349. package/dist/rules-consent.js +3 -4
  350. package/dist/run-acceptance.d.ts +19 -3
  351. package/dist/run-acceptance.js +13 -1
  352. package/dist/run-local.js +36 -6
  353. package/dist/runs.d.ts +10 -9
  354. package/dist/runs.js +21 -3
  355. package/dist/runtime-caps-resolver.d.ts +16 -6
  356. package/dist/runtime-caps-resolver.js +18 -5
  357. package/dist/sandbox-pkg-source.d.ts +19 -1
  358. package/dist/sandbox-pkg-source.js +29 -7
  359. package/dist/security.d.ts +87 -9
  360. package/dist/security.js +52 -9
  361. package/dist/session-error-wire.d.ts +19 -2
  362. package/dist/session-error-wire.js +5 -1
  363. package/dist/session-titled-frame.d.ts +33 -0
  364. package/dist/session-titled-frame.js +4 -0
  365. package/dist/session-titler.d.ts +9 -1
  366. package/dist/session-titler.js +15 -4
  367. package/dist/spec-fields.js +21 -2
  368. package/dist/sql-engine-posture.d.ts +3 -1
  369. package/dist/task-cwd.d.ts +1 -1
  370. package/dist/task-mcp.d.ts +3 -3
  371. package/dist/task-mcp.js +7 -66
  372. package/dist/task-settings.d.ts +89 -88
  373. package/dist/task-settings.js +71 -63
  374. package/dist/text-bidi.d.ts +0 -4
  375. package/dist/text-bidi.js +1 -3
  376. package/dist/tighten-only-seats.d.ts +150 -0
  377. package/dist/tighten-only-seats.js +196 -0
  378. package/dist/tool-approval.d.ts +303 -87
  379. package/dist/tool-approval.js +623 -239
  380. package/dist/trace/core-keyset-guard.d.ts +104 -22
  381. package/dist/trace/exit-seat.d.ts +28 -0
  382. package/dist/trace/exit-seat.js +76 -0
  383. package/dist/trace/ledger-events.d.ts +3 -2
  384. package/dist/trace/project.d.ts +80 -12
  385. package/dist/trace/project.js +41 -28
  386. package/dist/trace/projection-table.d.ts +100 -0
  387. package/dist/trace/projection-table.js +130 -0
  388. package/dist/trace/redact.d.ts +54 -0
  389. package/dist/trace/redact.js +778 -152
  390. package/dist/trace/self-minted-wire.d.ts +345 -1
  391. package/dist/trace/self-minted-wire.js +117 -1
  392. package/dist/trace/wire-projection-faces.d.ts +298 -2
  393. package/dist/trace/wire-projection-faces.js +154 -13
  394. package/dist/url-refusal.js +2 -0
  395. package/dist/web-admin-client/apply-effective.d.ts +12 -0
  396. package/dist/web-admin-client/apply-effective.js +56 -5
  397. package/dist/web-admin-client/facade.d.ts +1 -1
  398. package/dist/web-admin-client/facade.js +1 -1
  399. package/dist/web-admin-client/read-face.js +5 -9
  400. package/dist/web-admin-client/skills-mcp.js +4 -5
  401. package/docs/DEVICE-EXECUTOR-PROTOCOL.md +57 -9
  402. package/package.json +7 -3
@@ -187,7 +187,7 @@ export declare const SELF_MINTED_WIRE: {
187
187
  * 另有一个 404 专属词 `unknown_or_other_replica`(7.40.0 起,换副本 / 换端点重试才有意义)。7.124.0 起旧词 `voided` / `denied` 退役(被具体成因词取代,零别名)。
188
188
  */
189
189
  readonly notPendingCause: {
190
- readonly at: "POST /v1/tool-approvals/:id/respond 404 tool_approval.not_pending cause";
190
+ readonly at: "POST /v1/tool-approvals/:id/respond · GET /v1/tool-approvals/:id 404 tool_approval.not_pending cause";
191
191
  readonly members: {
192
192
  routing_failure_fail_closed: {
193
193
  attr: string;
@@ -235,6 +235,78 @@ export declare const SELF_MINTED_WIRE: {
235
235
  };
236
236
  };
237
237
  };
238
+ /**
239
+ * 按问读口 `GET /v1/tool-approvals/:id`(7.133.0 新口)200 体的 `state`:一只 ask 此刻在哪一态(读法与应答口逐条同源)。
240
+ */
241
+ readonly toolApprovalReadState: {
242
+ readonly at: "GET /v1/tool-approvals/:id 200 state";
243
+ readonly members: {
244
+ pending: {
245
+ attr: string;
246
+ since: string;
247
+ };
248
+ decided: {
249
+ attr: string;
250
+ since: string;
251
+ };
252
+ parked: {
253
+ attr: string;
254
+ since: string;
255
+ };
256
+ void: {
257
+ attr: string;
258
+ since: string;
259
+ };
260
+ };
261
+ };
262
+ /**
263
+ * 按问读口 `state:"void"` 的 `cause`:行上记的那个成因词(与晚答 404 `cause`、决断口 410 `cause` 同一列同一张表;行上没写 ⇒ 缺席)。
264
+ */
265
+ readonly toolApprovalReadVoidCause: {
266
+ readonly at: "GET /v1/tool-approvals/:id 200 state:void cause";
267
+ readonly members: {
268
+ routing_failure_fail_closed: {
269
+ attr: string;
270
+ since: string;
271
+ };
272
+ run_cancelled: {
273
+ attr: string;
274
+ since: string;
275
+ };
276
+ run_exited: {
277
+ attr: string;
278
+ since: string;
279
+ };
280
+ batch_aborted: {
281
+ attr: string;
282
+ since: string;
283
+ };
284
+ batch_sibling_withdrawn: {
285
+ attr: string;
286
+ since: string;
287
+ };
288
+ batch_bound_elsewhere: {
289
+ attr: string;
290
+ since: string;
291
+ };
292
+ adhoc_leg_no_durable_domain: {
293
+ attr: string;
294
+ since: string;
295
+ };
296
+ orphan_ttl_exceeded: {
297
+ attr: string;
298
+ since: string;
299
+ };
300
+ crashed_before_park: {
301
+ attr: string;
302
+ since: string;
303
+ };
304
+ shutdown_before_park: {
305
+ attr: string;
306
+ since: string;
307
+ };
308
+ };
309
+ };
238
310
  /**
239
311
  * 活卡结局帧 `tool_approval_complete` 的 additive `cause`(7.124.0):**非人结局在场、人答缺席**。值 = 审计 settle 行 `cause` 的同一个词(一个事实一个读法);
240
312
  * 值域 = 非人结局的全部成因词(`SettleCause` = 闭集去掉决断口 409 的四个词)。键是本版新铸的 ⇒ 每个成员的属性格记 `key:cause`。
@@ -300,6 +372,93 @@ export declare const SELF_MINTED_WIRE: {
300
372
  };
301
373
  };
302
374
  };
375
+ /**
376
+ * 呈卡族单卡消卡帧 `approval_complete` 的 `cause`(7.133.0 新帧;一条腿一个帧族之后,呈卡腿上的消卡帧):值 = 同一次 settle 判决的同一个词
377
+ * (与 `tool_approval_complete.cause` / 审计 settle 行 `cause` 同值),非人结局在场、人答缺席。帧与键都是本版新上 wire。
378
+ */
379
+ readonly approvalCompleteCause: {
380
+ readonly at: "approval_complete frame cause";
381
+ readonly members: {
382
+ ttl_expired: {
383
+ attr: string;
384
+ since: string;
385
+ };
386
+ broadcast_lost: {
387
+ attr: string;
388
+ since: string;
389
+ };
390
+ stream_disconnected: {
391
+ attr: string;
392
+ since: string;
393
+ };
394
+ undeliverable: {
395
+ attr: string;
396
+ since: string;
397
+ };
398
+ run_cancelled: {
399
+ attr: string;
400
+ since: string;
401
+ };
402
+ run_exited: {
403
+ attr: string;
404
+ since: string;
405
+ };
406
+ batch_aborted: {
407
+ attr: string;
408
+ since: string;
409
+ };
410
+ batch_sibling_withdrawn: {
411
+ attr: string;
412
+ since: string;
413
+ };
414
+ batch_bound_elsewhere: {
415
+ attr: string;
416
+ since: string;
417
+ };
418
+ routing_failure_fail_closed: {
419
+ attr: string;
420
+ since: string;
421
+ };
422
+ crashed_before_park: {
423
+ attr: string;
424
+ since: string;
425
+ };
426
+ shutdown_before_park: {
427
+ attr: string;
428
+ since: string;
429
+ };
430
+ orphan_ttl_exceeded: {
431
+ attr: string;
432
+ since: string;
433
+ };
434
+ adhoc_leg_no_durable_domain: {
435
+ attr: string;
436
+ since: string;
437
+ };
438
+ };
439
+ };
440
+ /**
441
+ * 会话标题帧 `session_titled`(7.133.0 新帧;契约 §4a-ttl):标题器把标题写进会话行**之后**,在**这条 run 的活流**(今天 = `POST /v1/tasks/stream`)上自铸的一帧。
442
+ * **只活不存** —— 会话行是标题的唯一真源,账本回放(`GET /v1/runs/:id/events`)读不出它;同步 JSON 腿 / durable 后台腿没有活流,不发。键集 = 帧接口的键
443
+ * (`type` 恒 `"session_titled"`;`sessionId`;`title` = 落进行里的同一个标题,已脱敏 / 已清洗)。无 `eventId` ⇒ 不发 SSE `id:` 行。
444
+ */
445
+ readonly sessionTitledFrameKey: {
446
+ readonly at: "session_titled frame 键(SSE POST /v1/tasks/stream;live-only,不落账本)";
447
+ readonly members: {
448
+ type: {
449
+ attr: string;
450
+ since: string;
451
+ };
452
+ sessionId: {
453
+ attr: string;
454
+ since: string;
455
+ };
456
+ title: {
457
+ attr: string;
458
+ since: string;
459
+ };
460
+ };
461
+ };
303
462
  /** 7.121.0:`GET /health` 自报位 `auth.kinds[]` 的成员(验过的身份来源闭集;这台部署的装配能回的那几个)。 */
304
463
  readonly healthAuthKind: {
305
464
  readonly at: "GET /health auth.kinds[]";
@@ -332,6 +491,42 @@ export declare const SELF_MINTED_WIRE: {
332
491
  };
333
492
  };
334
493
  };
494
+ /**
495
+ * S-667(7.133.0):`GET /health` 的 `centerIdentityNotice.code` —— 中心凭证换人后的两态通告(最近一条)。词表属主 = `center-config-tier.ts` 的
496
+ * `CENTER_IDENTITY_NOTICE_CODES`(`satisfies Record<…>`:加词而本行没跟 / 多一个词 ⇒ tsc 红);冻结句 `CENTER_IDENTITY_NOTICE_MESSAGE` 进
497
+ * `test/api-notice-text-freeze.test.ts` §8。这两只码不在 core 的 `EngineNotice` 码册里(那是 core 的闭集)—— 它们是本服务自铸的 `/health` 值,契约 §0.4 成文。
498
+ */
499
+ readonly centerIdentityNotice: {
500
+ readonly at: "GET /health centerIdentityNotice.code";
501
+ readonly members: {
502
+ center_identity_demoted: {
503
+ attr: string;
504
+ since: string;
505
+ };
506
+ center_identity_landed: {
507
+ attr: string;
508
+ since: string;
509
+ };
510
+ };
511
+ };
512
+ /** S-667(7.133.0):`demoted` 通告上的 `retained[]` —— 降档没能降到底的组(世代账组闭集;`satisfies Record<ConfigApplyGroup, …>`)。 */
513
+ readonly centerIdentityNoticeRetained: {
514
+ readonly at: "GET /health centerIdentityNotice.retained[]";
515
+ readonly members: {
516
+ limitsHttp: {
517
+ attr: string;
518
+ since: string;
519
+ };
520
+ approvalGate: {
521
+ attr: string;
522
+ since: string;
523
+ };
524
+ modelPlane: {
525
+ attr: string;
526
+ since: string;
527
+ };
528
+ };
529
+ };
335
530
  /** 7.121.0:`GET /health` 自报位 `operator`。 */
336
531
  readonly healthOperator: {
337
532
  readonly at: "GET /health operator";
@@ -364,6 +559,127 @@ export declare const SELF_MINTED_WIRE: {
364
559
  };
365
560
  };
366
561
  };
562
+ /**
563
+ * `request.field_conflict` 拒体的 `detail.kind`(字段之间互斥 / 互为前置的哪一类;`detail.fields` = 请求体坐标,不在本表 —— 它不是闭集)。
564
+ * 词表属主 = `field-conflict.ts` 的 `FIELD_CONFLICT_KINDS`:`satisfies Record<FieldConflictKind, …>`,加词而本行没跟 / 多一个词 ⇒ tsc 红。
565
+ * 契约附录 A 的 `request.field_conflict` 行逐个列这些词(`test/field-conflict-detail.test.ts` 钉)。
566
+ */
567
+ readonly fieldConflictKind: {
568
+ readonly at: "400 request.field_conflict detail.kind";
569
+ readonly members: {
570
+ cascade_verify: {
571
+ attr: string;
572
+ since: string;
573
+ };
574
+ image_profile: {
575
+ attr: string;
576
+ since: string;
577
+ };
578
+ resume_anchor: {
579
+ attr: string;
580
+ since: string;
581
+ };
582
+ system_prompt_fold: {
583
+ attr: string;
584
+ since: string;
585
+ };
586
+ file_history_restore: {
587
+ attr: string;
588
+ since: string;
589
+ };
590
+ skills_disabled: {
591
+ attr: string;
592
+ since: string;
593
+ };
594
+ existing_session: {
595
+ attr: string;
596
+ since: string;
597
+ };
598
+ scratchpad_root: {
599
+ attr: string;
600
+ since: string;
601
+ };
602
+ ask_answer: {
603
+ attr: string;
604
+ since: string;
605
+ };
606
+ policy_person_ask: {
607
+ attr: string;
608
+ since: string;
609
+ };
610
+ plan_edit: {
611
+ attr: string;
612
+ since: string;
613
+ };
614
+ plan_mode_after: {
615
+ attr: string;
616
+ since: string;
617
+ };
618
+ bound_call_door: {
619
+ attr: string;
620
+ since: string;
621
+ };
622
+ remember_decision: {
623
+ attr: string;
624
+ since: string;
625
+ };
626
+ };
627
+ };
628
+ /**
629
+ * 撞帽拒体的 `reason`(量纲:条数 / 字符数 / 字节数)。词表属主 = `limit-refusal.ts` 的 `LIMIT_REASONS`(量纲 → 词);`satisfies Record<LimitReason, …>`。
630
+ * `over_cap` 自 7.106.0 起在 `settings.permissions.*` 三桶上;`too_long` 自 7.132.0;`too_large`(字节数,只在 413 上)自 7.133.0。坏条目的 `bad_entry` 是另一形(不是帽),不在本集。
631
+ */
632
+ readonly limitRefusalReason: {
633
+ readonly at: "400 request.field_invalid / 413 request.payload_too_large reason(撞帽的量纲)";
634
+ readonly members: {
635
+ over_cap: {
636
+ attr: string;
637
+ since: string;
638
+ };
639
+ too_long: {
640
+ attr: string;
641
+ since: string;
642
+ };
643
+ too_large: {
644
+ attr: string;
645
+ since: string;
646
+ };
647
+ };
648
+ };
649
+ /**
650
+ * 条目问题机读位(拒体 `detail.problems[]` · 受理应答 `warnings[]`)的 `reason` 里**本仓自铸**的词;词表属主 = `entry-problems.ts` 的 `SERVER_ENTRY_PROBLEM_REASONS`,`satisfies Record<ServerEntryProblemReason, …>`。
651
+ * 其余 `reason` 是引擎的词原样(条目读法的原因词、名字判官的判词、规则文法的码),词表属主在 core,不进本表。
652
+ */
653
+ readonly entryProblemServerReason: {
654
+ readonly at: "400/409/422 detail.problems[].reason · 受理应答 warnings[].reason(本仓自铸的词)";
655
+ readonly members: {
656
+ not_in_roster: {
657
+ attr: string;
658
+ since: string;
659
+ };
660
+ home_unresolvable: {
661
+ attr: string;
662
+ since: string;
663
+ };
664
+ };
665
+ };
666
+ /**
667
+ * `request.invalid_json`(400)拒体的 `reason`:请求体不是这一口要的 JSON。词表属主 = `http/send.ts` 的 `INVALID_JSON_REASONS`(唯一铸点 `invalidJsonError`);`satisfies Record<InvalidJsonReason, …>`。
668
+ * `not_json` = 体不是合法 JSON(读取器铸;此前这一形无码,表面是 `request.rejected`);`not_object` = 合法 JSON、但这一口要对象(`POST /v1/runs/:id/compact`)。
669
+ */
670
+ readonly invalidJsonReason: {
671
+ readonly at: "400 request.invalid_json reason(请求体不是这一口要的 JSON)";
672
+ readonly members: {
673
+ not_json: {
674
+ attr: string;
675
+ since: string;
676
+ };
677
+ not_object: {
678
+ attr: string;
679
+ since: string;
680
+ };
681
+ };
682
+ };
367
683
  /**
368
684
  * 提交幂等(契约 §0.7:幂等 = 资源行上的唯一键)上 wire 的面:同步腿读行重放体的 `replay` 键、两只按键读的读口、
369
685
  * `Idempotency-Key` 命中一条读不到 / 不是这次 taskId 所指的行时的 409(7.125.0);同键异体(绑定那一行的请求体与这次不同)的 409(7.126.0)。
@@ -417,6 +733,10 @@ export declare const SELF_MINTED_WIRE: {
417
733
  attr: string;
418
734
  since: string;
419
735
  };
736
+ cowork: {
737
+ attr: string;
738
+ since: string;
739
+ };
420
740
  };
421
741
  };
422
742
  /**
@@ -432,10 +752,30 @@ export declare const SELF_MINTED_WIRE: {
432
752
  };
433
753
  };
434
754
  };
755
+ /**
756
+ * S-527(7.133.0):`GET /v1/config/catalog` 行上**对 `effectiveValue` 的判词位**(闭集 `CatalogValueVerdict`,属主 `config-catalog.ts`;行接口经映射型声明,
757
+ * 每一位只取 `true`)。属性 = 在场律 `present-iff`:只在为真时出键,恒不铸 `false`,缺席 = 没有这件事(老 server 上也缺席 —— 对消费方两者的下一步相同:按值原样渲染)。
758
+ * `satisfies Record<CatalogValueVerdict, …>`:判词位加一员而本表没跟 ⇒ 编译红。`effectiveValueInvalid` 自 7.70.0(S-100)在 wire 上、本版补登记;
759
+ * `effectiveValueWithheld`(url 型行:展示铸点扣下了一段)本版新上。
760
+ */
761
+ readonly configCatalogValueVerdict: {
762
+ readonly at: "GET /v1/config/catalog rows[] 的判词位(<键> → 在场律)";
763
+ readonly members: {
764
+ effectiveValueInvalid: {
765
+ attr: string;
766
+ since: string;
767
+ };
768
+ effectiveValueWithheld: {
769
+ attr: string;
770
+ since: string;
771
+ };
772
+ };
773
+ };
435
774
  /**
436
775
  * `GET /v1/models` 应答体的顶层键(闭集;`src/http/routes/capabilities.ts` 的 `sendJson(res, 200, {…})` 字面量)。属性 = 在场律:`always` 恒在场(零条也出键),`present-iff` 条件成立才出键
437
776
  * (缺席不下「无」的结论——也可能是更早的 server)。`since` = 该键上 wire 的起始版本(`models` / `default` / `defaultModel` 在本仓首个 tag 就有)。
438
777
  * 7.126.0:`candidateRejected`(S-1457,present-iff:当前生效的配置是因判官整拒了最近一份候选而回落的那一份;契约 §A.1d)。
778
+ * 7.133.0:`modelPlane`(S-1716,always:服务哪张表 / 最近一份目录候选的结局 / 起服路由判官的判决;契约 §A.1d)。
439
779
  */
440
780
  readonly modelsResponseKey: {
441
781
  readonly at: "GET /v1/models 应答体顶层键(<键> → 在场律)";
@@ -460,6 +800,10 @@ export declare const SELF_MINTED_WIRE: {
460
800
  readonly attr: "present-iff";
461
801
  readonly since: "7.126.0";
462
802
  };
803
+ readonly modelPlane: {
804
+ readonly attr: "always";
805
+ readonly since: "7.133.0";
806
+ };
463
807
  };
464
808
  };
465
809
  /** 本仓在出口对 core 值做的变换(值变、键不变)。 */
@@ -63,7 +63,7 @@ export const SELF_MINTED_WIRE = {
63
63
  },
64
64
  },
65
65
  notPendingCause: {
66
- at: "POST /v1/tool-approvals/:id/respond 404 tool_approval.not_pending cause",
66
+ at: "POST /v1/tool-approvals/:id/respond · GET /v1/tool-approvals/:id 404 tool_approval.not_pending cause",
67
67
  members: {
68
68
  routing_failure_fail_closed: { attr: "-", since: "7.124.0" },
69
69
  run_cancelled: { attr: "-", since: "7.124.0" },
@@ -78,6 +78,30 @@ export const SELF_MINTED_WIRE = {
78
78
  unknown_or_other_replica: { attr: "-", since: "7.40.0" },
79
79
  },
80
80
  },
81
+ toolApprovalReadState: {
82
+ at: "GET /v1/tool-approvals/:id 200 state",
83
+ members: {
84
+ pending: { attr: "-", since: "7.133.0" },
85
+ decided: { attr: "-", since: "7.133.0" },
86
+ parked: { attr: "-", since: "7.133.0" },
87
+ void: { attr: "-", since: "7.133.0" },
88
+ },
89
+ },
90
+ toolApprovalReadVoidCause: {
91
+ at: "GET /v1/tool-approvals/:id 200 state:void cause",
92
+ members: {
93
+ routing_failure_fail_closed: { attr: "-", since: "7.133.0" },
94
+ run_cancelled: { attr: "-", since: "7.133.0" },
95
+ run_exited: { attr: "-", since: "7.133.0" },
96
+ batch_aborted: { attr: "-", since: "7.133.0" },
97
+ batch_sibling_withdrawn: { attr: "-", since: "7.133.0" },
98
+ batch_bound_elsewhere: { attr: "-", since: "7.133.0" },
99
+ adhoc_leg_no_durable_domain: { attr: "-", since: "7.133.0" },
100
+ orphan_ttl_exceeded: { attr: "-", since: "7.133.0" },
101
+ crashed_before_park: { attr: "-", since: "7.133.0" },
102
+ shutdown_before_park: { attr: "-", since: "7.133.0" },
103
+ },
104
+ },
81
105
  toolApprovalCompleteCause: {
82
106
  at: "tool_approval_complete frame cause",
83
107
  members: {
@@ -97,6 +121,33 @@ export const SELF_MINTED_WIRE = {
97
121
  adhoc_leg_no_durable_domain: { attr: "key:cause", since: "7.124.0" },
98
122
  },
99
123
  },
124
+ approvalCompleteCause: {
125
+ at: "approval_complete frame cause",
126
+ members: {
127
+ ttl_expired: { attr: "key:cause", since: "7.133.0" },
128
+ broadcast_lost: { attr: "key:cause", since: "7.133.0" },
129
+ stream_disconnected: { attr: "key:cause", since: "7.133.0" },
130
+ undeliverable: { attr: "key:cause", since: "7.133.0" },
131
+ run_cancelled: { attr: "key:cause", since: "7.133.0" },
132
+ run_exited: { attr: "key:cause", since: "7.133.0" },
133
+ batch_aborted: { attr: "key:cause", since: "7.133.0" },
134
+ batch_sibling_withdrawn: { attr: "key:cause", since: "7.133.0" },
135
+ batch_bound_elsewhere: { attr: "key:cause", since: "7.133.0" },
136
+ routing_failure_fail_closed: { attr: "key:cause", since: "7.133.0" },
137
+ crashed_before_park: { attr: "key:cause", since: "7.133.0" },
138
+ shutdown_before_park: { attr: "key:cause", since: "7.133.0" },
139
+ orphan_ttl_exceeded: { attr: "key:cause", since: "7.133.0" },
140
+ adhoc_leg_no_durable_domain: { attr: "key:cause", since: "7.133.0" },
141
+ },
142
+ },
143
+ sessionTitledFrameKey: {
144
+ at: "session_titled frame 键(SSE POST /v1/tasks/stream;live-only,不落账本)",
145
+ members: {
146
+ type: { attr: "-", since: "7.133.0" },
147
+ sessionId: { attr: "-", since: "7.133.0" },
148
+ title: { attr: "-", since: "7.133.0" },
149
+ },
150
+ },
100
151
  healthAuthKind: {
101
152
  at: "GET /health auth.kinds[]",
102
153
  members: {
@@ -112,6 +163,21 @@ export const SELF_MINTED_WIRE = {
112
163
  unavailable: { attr: "-", since: "7.121.0" },
113
164
  },
114
165
  },
166
+ centerIdentityNotice: {
167
+ at: "GET /health centerIdentityNotice.code",
168
+ members: {
169
+ center_identity_demoted: { attr: "-", since: "7.133.0" },
170
+ center_identity_landed: { attr: "-", since: "7.133.0" },
171
+ },
172
+ },
173
+ centerIdentityNoticeRetained: {
174
+ at: "GET /health centerIdentityNotice.retained[]",
175
+ members: {
176
+ limitsHttp: { attr: "-", since: "7.133.0" },
177
+ approvalGate: { attr: "-", since: "7.133.0" },
178
+ modelPlane: { attr: "-", since: "7.133.0" },
179
+ },
180
+ },
115
181
  healthOperator: {
116
182
  at: "GET /health operator",
117
183
  members: {
@@ -127,6 +193,47 @@ export const SELF_MINTED_WIRE = {
127
193
  unknown: { attr: "-", since: "7.121.0" },
128
194
  },
129
195
  },
196
+ fieldConflictKind: {
197
+ at: "400 request.field_conflict detail.kind",
198
+ members: {
199
+ cascade_verify: { attr: "-", since: "7.133.0" },
200
+ image_profile: { attr: "-", since: "7.133.0" },
201
+ resume_anchor: { attr: "-", since: "7.133.0" },
202
+ system_prompt_fold: { attr: "-", since: "7.133.0" },
203
+ file_history_restore: { attr: "-", since: "7.133.0" },
204
+ skills_disabled: { attr: "-", since: "7.133.0" },
205
+ existing_session: { attr: "-", since: "7.133.0" },
206
+ scratchpad_root: { attr: "-", since: "7.133.0" },
207
+ ask_answer: { attr: "-", since: "7.133.0" },
208
+ policy_person_ask: { attr: "-", since: "7.133.0" },
209
+ plan_edit: { attr: "-", since: "7.133.0" },
210
+ plan_mode_after: { attr: "-", since: "7.133.0" },
211
+ bound_call_door: { attr: "-", since: "7.133.0" },
212
+ remember_decision: { attr: "-", since: "7.133.0" },
213
+ },
214
+ },
215
+ limitRefusalReason: {
216
+ at: "400 request.field_invalid / 413 request.payload_too_large reason(撞帽的量纲)",
217
+ members: {
218
+ over_cap: { attr: "-", since: "7.106.0" },
219
+ too_long: { attr: "-", since: "7.132.0" },
220
+ too_large: { attr: "-", since: "7.133.0" },
221
+ },
222
+ },
223
+ entryProblemServerReason: {
224
+ at: "400/409/422 detail.problems[].reason · 受理应答 warnings[].reason(本仓自铸的词)",
225
+ members: {
226
+ not_in_roster: { attr: "-", since: "7.133.0" },
227
+ home_unresolvable: { attr: "-", since: "7.133.0" },
228
+ },
229
+ },
230
+ invalidJsonReason: {
231
+ at: "400 request.invalid_json reason(请求体不是这一口要的 JSON)",
232
+ members: {
233
+ not_json: { attr: "-", since: "7.133.0" },
234
+ not_object: { attr: "-", since: "7.133.0" },
235
+ },
236
+ },
130
237
  submitIdempotency: {
131
238
  at: "提交幂等(<端点>#<面> → 应答状态)",
132
239
  members: {
@@ -144,6 +251,7 @@ export const SELF_MINTED_WIRE = {
144
251
  default: { attr: "-", since: "1.214.2" },
145
252
  "code-review": { attr: "-", since: "1.214.2" },
146
253
  scan: { attr: "-", since: "1.214.2" },
254
+ cowork: { attr: "-", since: "7.133.0" },
147
255
  },
148
256
  },
149
257
  scenarioBodyKey: {
@@ -152,6 +260,13 @@ export const SELF_MINTED_WIRE = {
152
260
  repo: { attr: "-", since: "1.214.2" },
153
261
  },
154
262
  },
263
+ configCatalogValueVerdict: {
264
+ at: "GET /v1/config/catalog rows[] 的判词位(<键> → 在场律)",
265
+ members: {
266
+ effectiveValueInvalid: { attr: "present-iff", since: "7.70.0" },
267
+ effectiveValueWithheld: { attr: "present-iff", since: "7.133.0" },
268
+ },
269
+ },
155
270
  modelsResponseKey: {
156
271
  at: "GET /v1/models 应答体顶层键(<键> → 在场律)",
157
272
  members: {
@@ -160,6 +275,7 @@ export const SELF_MINTED_WIRE = {
160
275
  defaultModel: { attr: "always", since: "1.214.2" },
161
276
  droppedEntries: { attr: "always", since: "7.123.0" },
162
277
  candidateRejected: { attr: "present-iff", since: "7.126.0" },
278
+ modelPlane: { attr: "always", since: "7.133.0" },
163
279
  },
164
280
  },
165
281
  wireValueRule: {