@sema-agent/server 7.134.0 → 7.136.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 (550) hide show
  1. package/MIGRATION.md +197 -1
  2. package/USAGE.md +147 -42
  3. package/deploy/sema-up/README.md +1 -1
  4. package/deploy/sema-up/chart/templates/NOTES.txt +1 -1
  5. package/deploy/sema-up/chart/values.yaml +1 -1
  6. package/dist/adoption/plan.d.ts +1 -1
  7. package/dist/approval-ask-audit-store.d.ts +24 -24
  8. package/dist/approval-ask-machine.d.ts +2 -2
  9. package/dist/approval-card.d.ts +122 -154
  10. package/dist/approval-card.js +50 -51
  11. package/dist/approval-content-kind.d.ts +23 -5
  12. package/dist/approval-content-kind.js +8 -1
  13. package/dist/approval-deny-reasons.d.ts +1 -1
  14. package/dist/approval-gate-currency.d.ts +22 -3
  15. package/dist/approval-gate-currency.js +44 -18
  16. package/dist/approval-hmac.d.ts +7 -7
  17. package/dist/approval-policy-settlement.d.ts +2 -2
  18. package/dist/approval-reconciler.d.ts +3 -3
  19. package/dist/approval.d.ts +8 -8
  20. package/dist/approval.js +4 -2
  21. package/dist/auth-bridge.d.ts +35 -6
  22. package/dist/auth-bridge.js +20 -3
  23. package/dist/auto-mode-face.d.ts +4 -4
  24. package/dist/background-session-reap.d.ts +2 -2
  25. package/dist/bake-runner/main.d.ts +2 -2
  26. package/dist/bake-runner/runner.d.ts +4 -4
  27. package/dist/bench/s1/live-deps.d.ts +1 -1
  28. package/dist/bench/s1/run-firm.d.ts +1 -1
  29. package/dist/boot/budget-tracing.d.ts +1 -2
  30. package/dist/boot/budget-tracing.js +2 -2
  31. package/dist/boot/coordinators.d.ts +2 -2
  32. package/dist/boot/coordinators.js +2 -2
  33. package/dist/boot/deferred-sandbox-path-env.d.ts +0 -6
  34. package/dist/boot/deferred-sandbox-path-env.js +0 -5
  35. package/dist/boot/engine-lease.d.ts +5 -5
  36. package/dist/boot/execution-env.d.ts +16 -15
  37. package/dist/boot/execution-env.js +19 -21
  38. package/dist/boot/fatal-exit.d.ts +2 -2
  39. package/dist/boot/late-binds.d.ts +1 -1
  40. package/dist/boot/leader.d.ts +1 -1
  41. package/dist/boot/memory-boundary.d.ts +2 -2
  42. package/dist/boot/memory-consolidation.d.ts +15 -15
  43. package/dist/boot/org-memory.js +1 -1
  44. package/dist/boot/parked-revive-gate.d.ts +3 -3
  45. package/dist/boot/parked-revive-gate.js +3 -2
  46. package/dist/boot/reapers.d.ts +4 -4
  47. package/dist/boot/resolve-spec.d.ts +1 -1
  48. package/dist/boot/resolve-spec.js +36 -29
  49. package/dist/boot/runner-deps.d.ts +11 -11
  50. package/dist/boot/runner-deps.js +7 -4
  51. package/dist/boot/session-faces.d.ts +3 -3
  52. package/dist/boot/session-faces.js +11 -30
  53. package/dist/boot/shutdown.d.ts +5 -5
  54. package/dist/boot/side-query-lane.d.ts +2 -2
  55. package/dist/boot/stage-04-stores.d.ts +1 -1
  56. package/dist/boot/stage-05-execution-env.d.ts +1 -1
  57. package/dist/boot/stage-05-execution-env.js +4 -4
  58. package/dist/boot/stage-06-runners.d.ts +1 -1
  59. package/dist/boot/stage-06-runners.js +0 -2
  60. package/dist/boot/stage-07-capability-layer.d.ts +1 -1
  61. package/dist/boot/stage-08-reapers.d.ts +1 -1
  62. package/dist/boot/stage-09-leader.d.ts +1 -1
  63. package/dist/boot/stage-10-http-server.d.ts +1 -1
  64. package/dist/boot/stores.js +4 -4
  65. package/dist/boot/web-admin.d.ts +17 -17
  66. package/dist/boot/web-admin.js +15 -27
  67. package/dist/boot/workflow-orchestration.js +2 -9
  68. package/dist/brain.d.ts +11 -11
  69. package/dist/brain.js +12 -3
  70. package/dist/budget.d.ts +7 -7
  71. package/dist/budget.js +4 -0
  72. package/dist/capabilities/approvals-push.d.ts +4 -4
  73. package/dist/capabilities/builtin-tools.d.ts +5 -5
  74. package/dist/capabilities/center-plugins.d.ts +5 -5
  75. package/dist/capabilities/center-plugins.js +1 -1
  76. package/dist/capabilities/center-prompts.d.ts +1 -1
  77. package/dist/capabilities/center-wiring.d.ts +1 -1
  78. package/dist/capabilities/composite-members.d.ts +1 -1
  79. package/dist/capabilities/execution-lane.d.ts +5 -5
  80. package/dist/capabilities/execution-lane.js +2 -2
  81. package/dist/capabilities/hands-lane.d.ts +5 -5
  82. package/dist/capabilities/mcp-probe.d.ts +11 -7
  83. package/dist/capabilities/sandbox-file-send.d.ts +1 -18
  84. package/dist/capabilities/sandbox-file-send.js +0 -7
  85. package/dist/capabilities/scenarios.d.ts +28 -10
  86. package/dist/capabilities/scenarios.js +15 -5
  87. package/dist/capabilities/send-user-file-tool.d.ts +1 -1
  88. package/dist/capabilities/skills.d.ts +31 -12
  89. package/dist/capabilities/skills.js +23 -17
  90. package/dist/capabilities/tool-defer.d.ts +1 -1
  91. package/dist/capability-facts.d.ts +29 -32
  92. package/dist/capability-facts.js +17 -21
  93. package/dist/center-config-tier.d.ts +1 -1
  94. package/dist/center-credential.d.ts +22 -8
  95. package/dist/center-credential.js +18 -3
  96. package/dist/checkpoint-identity.d.ts +5 -0
  97. package/dist/checkpoint-identity.js +14 -0
  98. package/dist/config-catalog.d.ts +12 -12
  99. package/dist/config-catalog.js +12 -10
  100. package/dist/config-d-migration.js +1 -1
  101. package/dist/config-invariants.d.ts +5 -5
  102. package/dist/config-invariants.js +11 -2
  103. package/dist/config-lkg.d.ts +1 -39
  104. package/dist/config-lkg.js +1 -83
  105. package/dist/config-provider.d.ts +13 -13
  106. package/dist/config-provider.js +2 -1
  107. package/dist/config-types.d.ts +95 -87
  108. package/dist/config.d.ts +26 -24
  109. package/dist/config.js +38 -18
  110. package/dist/cross-session-settings.d.ts +1 -1
  111. package/dist/delegated-session-owner.d.ts +16 -13
  112. package/dist/delegated-session-owner.js +9 -10
  113. package/dist/deployment-governance.d.ts +16 -16
  114. package/dist/deployment-shape.d.ts +127 -0
  115. package/dist/deployment-shape.js +72 -0
  116. package/dist/device-store.d.ts +1 -1
  117. package/dist/device-ws-hub.d.ts +1 -1
  118. package/dist/egress-redirect.d.ts +1 -1
  119. package/dist/elicitation.d.ts +8 -7
  120. package/dist/elicitation.js +9 -8
  121. package/dist/entry-mode-clamp-notice.d.ts +2 -2
  122. package/dist/env-facts.d.ts +10 -9
  123. package/dist/env-facts.js +1 -1
  124. package/dist/env-name-allowlist-knobs.d.ts +5 -5
  125. package/dist/exec-bounds.d.ts +2 -2
  126. package/dist/execution-lane-caps.d.ts +31 -43
  127. package/dist/execution-lane-caps.js +0 -13
  128. package/dist/file-history-capture.d.ts +9 -9
  129. package/dist/file-history-disclosure.d.ts +25 -11
  130. package/dist/file-history-disclosure.js +25 -14
  131. package/dist/fleet/drain-entry.d.ts +2 -2
  132. package/dist/fleet/fleet-bus.d.ts +22 -14
  133. package/dist/fleet/fleet-bus.js +5 -5
  134. package/dist/fleet/fleet-reconciler.d.ts +9 -9
  135. package/dist/fleet/subagent-tail-bus.d.ts +4 -4
  136. package/dist/fleet-client.d.ts +45 -14
  137. package/dist/fleet-client.js +24 -4
  138. package/dist/fleet-lease.d.ts +23 -19
  139. package/dist/fleet-lease.js +31 -23
  140. package/dist/governance-http-status.d.ts +2 -2
  141. package/dist/hooks/hook-llm.d.ts +7 -7
  142. package/dist/hooks/hook-llm.js +14 -8
  143. package/dist/hooks/hook-runner.d.ts +58 -31
  144. package/dist/hooks/hook-runner.js +37 -19
  145. package/dist/host-decision.d.ts +5 -5
  146. package/dist/host-lsp-manager.d.ts +5 -5
  147. package/dist/hosted-posture.d.ts +23 -13
  148. package/dist/hosted-posture.js +4 -9
  149. package/dist/http/admission.d.ts +2 -2
  150. package/dist/http/admission.js +20 -5
  151. package/dist/http/approval-sweeps.d.ts +1 -1
  152. package/dist/http/approval-sweeps.js +2 -1
  153. package/dist/http/checkpoint-ctx.d.ts +62 -17
  154. package/dist/http/checkpoint-ctx.js +78 -35
  155. package/dist/http/dispatch.d.ts +3 -3
  156. package/dist/http/dispatch.js +9 -9
  157. package/dist/http/durable-run-leg.js +4 -3
  158. package/dist/http/idempotency.d.ts +2 -2
  159. package/dist/http/mcp-dial-deadline.d.ts +7 -5
  160. package/dist/http/memory-compliance-failure-reply.d.ts +4 -4
  161. package/dist/http/owner-access.d.ts +4 -6
  162. package/dist/http/owner-access.js +1 -1
  163. package/dist/http/principal-gate.d.ts +7 -7
  164. package/dist/http/principal-gate.js +3 -2
  165. package/dist/http/readiness.d.ts +1 -1
  166. package/dist/http/request-guards.d.ts +4 -4
  167. package/dist/http/request-guards.js +2 -1
  168. package/dist/http/resume-ctx-read.d.ts +9 -23
  169. package/dist/http/resume-ctx-read.js +2 -3
  170. package/dist/http/resume-legs.d.ts +3 -3
  171. package/dist/http/resume-legs.js +11 -8
  172. package/dist/http/route-ctx.d.ts +29 -29
  173. package/dist/http/route-table.d.ts +9 -9
  174. package/dist/http/routes/agents-roster.d.ts +1 -1
  175. package/dist/http/routes/approvals-assistant.d.ts +5 -7
  176. package/dist/http/routes/approvals-assistant.js +101 -26
  177. package/dist/http/routes/background.d.ts +3 -3
  178. package/dist/http/routes/background.js +2 -2
  179. package/dist/http/routes/capabilities.d.ts +1 -1
  180. package/dist/http/routes/capabilities.js +16 -8
  181. package/dist/http/routes/config-catalog.d.ts +1 -1
  182. package/dist/http/routes/devices.d.ts +1 -1
  183. package/dist/http/routes/diagnostics.d.ts +3 -3
  184. package/dist/http/routes/fleet.d.ts +1 -1
  185. package/dist/http/routes/fleet.js +2 -1
  186. package/dist/http/routes/mcp-reconnect.d.ts +4 -4
  187. package/dist/http/routes/mcp-reconnect.js +3 -3
  188. package/dist/http/routes/memory-consolidation.d.ts +1 -1
  189. package/dist/http/routes/notify-wake.d.ts +1 -1
  190. package/dist/http/routes/notify-wake.js +2 -2
  191. package/dist/http/routes/rules.d.ts +1 -1
  192. package/dist/http/routes/runs.js +23 -11
  193. package/dist/http/routes/session-sync.d.ts +1 -1
  194. package/dist/http/routes/session-sync.js +97 -46
  195. package/dist/http/routes/sessions-list.js +1 -1
  196. package/dist/http/routes/sessions.js +43 -53
  197. package/dist/http/routes/tasks.d.ts +1 -1
  198. package/dist/http/routes/trace-usage.d.ts +1 -1
  199. package/dist/http/routes/workflows.d.ts +3 -0
  200. package/dist/http/routes/workflows.js +31 -28
  201. package/dist/http/send.d.ts +5 -5
  202. package/dist/http/server.d.ts +34 -34
  203. package/dist/http/session-inherit-env.d.ts +3 -3
  204. package/dist/http/sse-lifecycle.d.ts +1 -1
  205. package/dist/http/sse-log.d.ts +2 -2
  206. package/dist/http/submit-ctx.js +1 -1
  207. package/dist/http/sync-submit-body.d.ts +1 -1
  208. package/dist/http/verify-rounds.d.ts +1 -1
  209. package/dist/http/wire-types.d.ts +33 -24
  210. package/dist/index.d.ts +1 -0
  211. package/dist/index.js +1 -0
  212. package/dist/instruction-source-notice.d.ts +2 -2
  213. package/dist/key-resolver.d.ts +3 -3
  214. package/dist/lane-home-probe.d.ts +1 -1
  215. package/dist/leader/diffout.d.ts +1 -1
  216. package/dist/leader/diffup.d.ts +2 -2
  217. package/dist/leader/endpoint.d.ts +1 -1
  218. package/dist/leader/fanout.d.ts +1 -1
  219. package/dist/leader/leader.d.ts +4 -4
  220. package/dist/leader/merge.d.ts +3 -3
  221. package/dist/leader/repair-wire.d.ts +1 -1
  222. package/dist/leader/wire.d.ts +6 -6
  223. package/dist/list-entry-display.d.ts +1 -1
  224. package/dist/lsp-evict.d.ts +1 -1
  225. package/dist/mcp-assertion-header.d.ts +1 -1
  226. package/dist/memory-layer-legacy-lock.d.ts +1 -1
  227. package/dist/memory-operator-faces.d.ts +1 -1
  228. package/dist/memory-posture.js +4 -2
  229. package/dist/memory-project-layer.d.ts +1 -1
  230. package/dist/memory-scope.d.ts +19 -19
  231. package/dist/memory-store-refusal.d.ts +4 -4
  232. package/dist/model-entry-headers.d.ts +2 -2
  233. package/dist/model-entry-refusal.d.ts +17 -17
  234. package/dist/model-provider.d.ts +10 -10
  235. package/dist/model-reach-scope.d.ts +1 -1
  236. package/dist/model-route-endpoint.d.ts +6 -6
  237. package/dist/model-route-gap.d.ts +49 -4
  238. package/dist/model-route-gap.js +34 -1
  239. package/dist/model-route-url.d.ts +5 -5
  240. package/dist/model-select.d.ts +15 -6
  241. package/dist/model-select.js +5 -0
  242. package/dist/model-unreachable-notice.d.ts +3 -3
  243. package/dist/namespaced-rule-name.d.ts +15 -5
  244. package/dist/namespaced-rule-name.js +3 -2
  245. package/dist/object-store-buckets.d.ts +13 -0
  246. package/dist/object-store-buckets.js +3 -0
  247. package/dist/observability/corrupt-read-seat.d.ts +9 -9
  248. package/dist/observability/cost-taxonomy.d.ts +1 -1
  249. package/dist/observability/err-text.d.ts +1 -1
  250. package/dist/observability/fail-open.d.ts +17 -13
  251. package/dist/observability/fail-open.js +17 -13
  252. package/dist/observability/metrics.d.ts +3 -3
  253. package/dist/observability/metrics.js +1 -1
  254. package/dist/observability/principal-context.d.ts +4 -1
  255. package/dist/observability/principal-context.js +6 -1
  256. package/dist/observability/run-terminal.d.ts +36 -36
  257. package/dist/observability/secret-env-scrub.d.ts +3 -3
  258. package/dist/observability/tool-trace.d.ts +1 -1
  259. package/dist/operator-ask.d.ts +4 -4
  260. package/dist/orchestration/workflow-agent-session-index.d.ts +3 -3
  261. package/dist/orchestration/workflow-completion-inbox.d.ts +20 -5
  262. package/dist/orchestration/workflow-completion-inbox.js +29 -7
  263. package/dist/orchestration/workflow-notify-journal.d.ts +43 -19
  264. package/dist/orchestration/workflow-notify-journal.js +17 -0
  265. package/dist/outbound-dispatcher.d.ts +4 -4
  266. package/dist/parent-watch.d.ts +4 -4
  267. package/dist/parked-decide.d.ts +20 -18
  268. package/dist/parked-decide.js +31 -11
  269. package/dist/parked-revive-surface.d.ts +7 -7
  270. package/dist/parked-revive-surface.js +2 -3
  271. package/dist/peer-directory.d.ts +5 -4
  272. package/dist/peer-directory.js +6 -6
  273. package/dist/permission-rule-list.d.ts +10 -1
  274. package/dist/permission-rule-list.js +7 -5
  275. package/dist/permission-rule-vocab.d.ts +2 -2
  276. package/dist/plugins/adoption-log-sql.d.ts +1 -1
  277. package/dist/plugins/approval-ask-store-file.d.ts +8 -1
  278. package/dist/plugins/approval-ask-store-file.js +6 -3
  279. package/dist/plugins/approval-ask-store-memory.d.ts +11 -7
  280. package/dist/plugins/approval-ask-store-memory.js +11 -7
  281. package/dist/plugins/approval-ask-store-sql.d.ts +42 -15
  282. package/dist/plugins/approval-ask-store-sql.js +21 -5
  283. package/dist/plugins/approval-exemption-store.d.ts +3 -3
  284. package/dist/plugins/approval-nonce-store.d.ts +3 -3
  285. package/dist/plugins/background-agent-store-sql.d.ts +1 -1
  286. package/dist/plugins/background-shell-support.d.ts +2 -2
  287. package/dist/plugins/blob-backend.d.ts +1 -1
  288. package/dist/plugins/blob-backend.js +2 -1
  289. package/dist/plugins/caching-session-store.d.ts +23 -32
  290. package/dist/plugins/caching-session-store.js +5 -17
  291. package/dist/plugins/checkpoint-index-columns.d.ts +130 -0
  292. package/dist/plugins/checkpoint-index-columns.js +90 -0
  293. package/dist/plugins/checkpoint-store-sql.d.ts +71 -69
  294. package/dist/plugins/checkpoint-store-sql.js +109 -127
  295. package/dist/plugins/device-store-sql.d.ts +7 -6
  296. package/dist/plugins/e2b-orphan-reclaim.d.ts +1 -1
  297. package/dist/plugins/ensure-schema-lock-policy.d.ts +1 -1
  298. package/dist/plugins/file-history-store-sql.d.ts +15 -7
  299. package/dist/plugins/file-history-store-sql.js +55 -36
  300. package/dist/plugins/file-run-store.d.ts +8 -8
  301. package/dist/plugins/fork-routing-session-store.d.ts +2 -2
  302. package/dist/plugins/fork-routing-session-store.js +1 -1
  303. package/dist/plugins/host-platform.d.ts +10 -10
  304. package/dist/plugins/image-bake-store-sql.d.ts +1 -1
  305. package/dist/plugins/image-index-sql.d.ts +1 -1
  306. package/dist/plugins/leader-run-store-sql.d.ts +1 -1
  307. package/dist/plugins/local-checkpoint-store.d.ts +10 -10
  308. package/dist/plugins/local-checkpoint-store.js +7 -7
  309. package/dist/plugins/local-session-store.d.ts +34 -38
  310. package/dist/plugins/local-session-store.js +20 -39
  311. package/dist/plugins/local-session-window.d.ts +1 -1
  312. package/dist/plugins/mailbox-store-sql.d.ts +2 -2
  313. package/dist/plugins/memory-engine-pg.d.ts +1 -1
  314. package/dist/plugins/memory-run-store.d.ts +4 -4
  315. package/dist/plugins/memory-sync-store-pg.d.ts +3 -3
  316. package/dist/plugins/one-time-migrations.d.ts +73 -54
  317. package/dist/plugins/one-time-migrations.js +131 -134
  318. package/dist/plugins/outcome-ledger-sql.d.ts +1 -1
  319. package/dist/plugins/park-commit-watch.d.ts +3 -3
  320. package/dist/plugins/permission-rule-store-file.d.ts +5 -5
  321. package/dist/plugins/permission-rule-store-file.js +12 -19
  322. package/dist/plugins/permission-rule-store-sql.d.ts +38 -4
  323. package/dist/plugins/permission-rule-store-sql.js +67 -24
  324. package/dist/plugins/pg-cost-quota.d.ts +1 -1
  325. package/dist/plugins/pg-pool.d.ts +2 -2
  326. package/dist/plugins/pg-pool.js +5 -2
  327. package/dist/plugins/pg-rate-limiter.d.ts +1 -1
  328. package/dist/plugins/pg-session-storage.d.ts +8 -20
  329. package/dist/plugins/pg-session-storage.js +14 -27
  330. package/dist/plugins/remote-env-adb.d.ts +10 -10
  331. package/dist/plugins/remote-env-device.d.ts +10 -9
  332. package/dist/plugins/remote-env-device.js +6 -2
  333. package/dist/plugins/remote-env-e2b.d.ts +3 -3
  334. package/dist/plugins/remote-env-host.d.ts +16 -16
  335. package/dist/plugins/remote-env-k8s.d.ts +26 -13
  336. package/dist/plugins/remote-env-k8s.js +24 -7
  337. package/dist/plugins/remote-env-local-docker.d.ts +2 -2
  338. package/dist/plugins/remote-env-ssh.d.ts +4 -4
  339. package/dist/plugins/remote-scratchpad.d.ts +2 -3
  340. package/dist/plugins/remote-scratchpad.js +0 -4
  341. package/dist/plugins/remote-shell.d.ts +6 -6
  342. package/dist/plugins/retention-lane-store-sql.d.ts +4 -4
  343. package/dist/plugins/retention-store-sql.d.ts +4 -4
  344. package/dist/plugins/roster-store-sql.d.ts +1 -1
  345. package/dist/plugins/run-store-sql.d.ts +8 -8
  346. package/dist/plugins/s3-answer.d.ts +15 -0
  347. package/dist/plugins/s3-answer.js +5 -0
  348. package/dist/plugins/schema-consistency.d.ts +2 -2
  349. package/dist/plugins/schema-ensure-legs.d.ts +3 -3
  350. package/dist/plugins/schema-indexes.d.ts +1 -1
  351. package/dist/plugins/schema-live-columns.d.ts +1 -1
  352. package/dist/plugins/session-event-payload.d.ts +4 -4
  353. package/dist/plugins/session-fork.d.ts +34 -0
  354. package/dist/plugins/session-fork.js +29 -0
  355. package/dist/plugins/session-ownership.js +1 -1
  356. package/dist/plugins/session-placement.d.ts +1 -1
  357. package/dist/plugins/session-policy-store-sql.d.ts +12 -12
  358. package/dist/plugins/session-store.d.ts +2 -2
  359. package/dist/plugins/session-store.js +2 -2
  360. package/dist/plugins/shared-memory-store-sql.d.ts +2 -2
  361. package/dist/plugins/snapshot-bucket-presence.d.ts +39 -4
  362. package/dist/plugins/snapshot-bucket-presence.js +35 -7
  363. package/dist/plugins/sql-driver.d.ts +8 -8
  364. package/dist/plugins/sql-errors.d.ts +40 -1
  365. package/dist/plugins/sql-errors.js +49 -1
  366. package/dist/plugins/sql-json-column.d.ts +21 -21
  367. package/dist/plugins/sql-row-helpers.d.ts +2 -2
  368. package/dist/plugins/store-backend.d.ts +17 -16
  369. package/dist/plugins/store-backend.js +3 -3
  370. package/dist/plugins/store-contracts.d.ts +21 -21
  371. package/dist/plugins/store-fault.d.ts +4 -0
  372. package/dist/plugins/store-fault.js +8 -0
  373. package/dist/plugins/task-attachment-store.d.ts +2 -2
  374. package/dist/plugins/task-list-store-sql.d.ts +1 -1
  375. package/dist/plugins/tidb-pool.d.ts +2 -2
  376. package/dist/plugins/tidb-pool.js +10 -3
  377. package/dist/plugins/tidb-session-store.d.ts +16 -26
  378. package/dist/plugins/tidb-session-store.js +15 -27
  379. package/dist/plugins/tool-result-store-sql.d.ts +1 -1
  380. package/dist/plugins/usage-window-store-sql.d.ts +3 -3
  381. package/dist/plugins/user-input-ledger-file.d.ts +1 -1
  382. package/dist/plugins/user-input-ledger-sql.d.ts +3 -3
  383. package/dist/plugins/web-search.d.ts +19 -5
  384. package/dist/plugins/web-search.js +20 -5
  385. package/dist/{orchestration/workflow-journal-entry.d.ts → plugins/workflow-journal-payload.d.ts} +23 -32
  386. package/dist/plugins/workflow-journal-payload.js +32 -0
  387. package/dist/plugins/workflow-journal-store-sql.d.ts +28 -14
  388. package/dist/plugins/workflow-journal-store-sql.js +34 -15
  389. package/dist/plugins/workflow-run-store-sql.d.ts +4 -4
  390. package/dist/posture-source.d.ts +11 -11
  391. package/dist/principal-jwt.d.ts +6 -6
  392. package/dist/project-identity.d.ts +3 -3
  393. package/dist/project-memory.d.ts +4 -4
  394. package/dist/read-face-posture.d.ts +7 -7
  395. package/dist/request-declaration-refusal.d.ts +94 -0
  396. package/dist/request-declaration-refusal.js +78 -0
  397. package/dist/request-image-urls.d.ts +6 -0
  398. package/dist/request-image-urls.js +27 -0
  399. package/dist/request-key-closure.d.ts +6 -1
  400. package/dist/request-key-closure.js +5 -2
  401. package/dist/request-value-closure.d.ts +15 -8
  402. package/dist/request-value-closure.js +2 -0
  403. package/dist/router/route-orchestration.d.ts +11 -16
  404. package/dist/router/route-orchestration.js +2 -12
  405. package/dist/rule-entry-list.d.ts +8 -7
  406. package/dist/rule-entry-list.js +2 -9
  407. package/dist/rules-consent.d.ts +6 -6
  408. package/dist/rules-consent.js +2 -0
  409. package/dist/run-cancel-context.d.ts +5 -5
  410. package/dist/run-local.d.ts +10 -10
  411. package/dist/runs.d.ts +13 -11
  412. package/dist/runs.js +15 -1
  413. package/dist/runtime-caps-resolver.d.ts +6 -6
  414. package/dist/runtime-caps-resolver.js +1 -1
  415. package/dist/runtime-governance.d.ts +9 -9
  416. package/dist/sandbox-pkg-source.d.ts +17 -12
  417. package/dist/sandbox-pkg-source.js +14 -9
  418. package/dist/sealed-key.d.ts +22 -3
  419. package/dist/sealed-key.js +47 -4
  420. package/dist/security.d.ts +23 -26
  421. package/dist/security.js +12 -9
  422. package/dist/server-secret-env.d.ts +10 -10
  423. package/dist/session-children-retire.d.ts +1 -1
  424. package/dist/session-error-wire.d.ts +7 -7
  425. package/dist/session-incarnation.d.ts +65 -37
  426. package/dist/session-incarnation.js +30 -12
  427. package/dist/session-policy-wire.d.ts +27 -5
  428. package/dist/session-policy-wire.js +15 -1
  429. package/dist/session-records-skipped-notice.d.ts +1 -1
  430. package/dist/session-row.d.ts +3 -17
  431. package/dist/session-row.js +4 -0
  432. package/dist/session-sync-kernel.d.ts +4 -4
  433. package/dist/session-sync.d.ts +61 -6
  434. package/dist/session-sync.js +55 -10
  435. package/dist/session-titler.d.ts +7 -6
  436. package/dist/session-titler.js +8 -13
  437. package/dist/session-watch.d.ts +3 -3
  438. package/dist/session-watch.js +4 -4
  439. package/dist/sighup-idle.d.ts +2 -2
  440. package/dist/spec-fields.d.ts +4 -4
  441. package/dist/sql-engine-posture.d.ts +3 -3
  442. package/dist/store-posture.d.ts +2 -2
  443. package/dist/stored-request-tool-axes-m19.d.ts +1 -1
  444. package/dist/task-a2a.d.ts +52 -79
  445. package/dist/task-a2a.js +224 -62
  446. package/dist/task-cwd.d.ts +7 -88
  447. package/dist/task-cwd.js +2 -15
  448. package/dist/task-mcp.d.ts +13 -17
  449. package/dist/task-mcp.js +29 -49
  450. package/dist/task-settings.d.ts +30 -18
  451. package/dist/task-settings.js +33 -3
  452. package/dist/task-workflow.d.ts +0 -24
  453. package/dist/task-workflow.js +2 -1
  454. package/dist/terminal.d.ts +5 -5
  455. package/dist/tighten-only-seats.d.ts +7 -6
  456. package/dist/tighten-only-seats.js +1 -1
  457. package/dist/tool-approval.d.ts +166 -207
  458. package/dist/tool-approval.js +61 -61
  459. package/dist/tool-rule-names.d.ts +2 -2
  460. package/dist/trace/core-keyset-guard.d.ts +13 -8
  461. package/dist/trace/engine-notice-wire.d.ts +5 -5
  462. package/dist/trace/engine-notice-wire.js +1 -0
  463. package/dist/trace/exit-seat.d.ts +31 -4
  464. package/dist/trace/exit-seat.js +69 -67
  465. package/dist/trace/ledger-events.d.ts +3 -3
  466. package/dist/trace/ledger-sink.d.ts +1 -1
  467. package/dist/trace/model-segment.d.ts +3 -3
  468. package/dist/trace/project.d.ts +47 -45
  469. package/dist/trace/project.js +33 -1
  470. package/dist/trace/redact.d.ts +61 -31
  471. package/dist/trace/redact.js +394 -153
  472. package/dist/trace/self-minted-wire.d.ts +302 -14
  473. package/dist/trace/self-minted-wire.js +87 -0
  474. package/dist/trace/sema-provenance.d.ts +1 -1
  475. package/dist/trace/task-notification-facets.d.ts +4 -4
  476. package/dist/trace/wire-projection-faces.d.ts +3 -3
  477. package/dist/trace/wire-projection-faces.js +1 -1
  478. package/dist/unattended-permission-mode.d.ts +5 -5
  479. package/dist/url-credential-refusal.d.ts +52 -0
  480. package/dist/url-credential-refusal.js +14 -0
  481. package/dist/url-refusal.d.ts +16 -3
  482. package/dist/url-refusal.js +15 -2
  483. package/dist/usage-analytics.d.ts +2 -2
  484. package/dist/user-input-ledger.d.ts +23 -23
  485. package/dist/web-admin-client/apply-effective.d.ts +5 -5
  486. package/dist/web-admin-client/apply-effective.js +2 -1
  487. package/dist/web-admin-client/apply-ledger.d.ts +2 -2
  488. package/dist/web-admin-client/center-request.d.ts +2 -2
  489. package/dist/web-admin-client/facade.d.ts +5 -5
  490. package/dist/web-admin-client/facade.js +1 -1
  491. package/dist/web-admin-client/hot-keys-registry.d.ts +2 -2
  492. package/dist/web-admin-client/http-client.d.ts +4 -4
  493. package/dist/web-admin-client/mcp-revocation.d.ts +1 -1
  494. package/dist/web-admin-client/pull-state.d.ts +1 -1
  495. package/dist/web-admin-client/read-face.d.ts +2 -2
  496. package/dist/web-admin-client/read-warnings.d.ts +5 -5
  497. package/dist/web-admin-client/restart-signal.d.ts +6 -6
  498. package/dist/web-admin-client/skills-mcp.d.ts +28 -3
  499. package/dist/web-admin-client/skills-mcp.js +29 -1
  500. package/dist/web-admin-client/types.d.ts +16 -9
  501. package/dist/workspace-space.d.ts +32 -3
  502. package/dist/workspace-space.js +26 -0
  503. package/dist/write-protection.d.ts +2 -2
  504. package/package.json +5 -3
  505. package/scripts/drain-check-local.mjs +4 -2
  506. package/scripts/drain-check.mysql.sql +6 -2
  507. package/scripts/drain-check.pg.sql +6 -2
  508. package/skills/loop.md +1 -1
  509. package/skills/schedule.md +1 -1
  510. package/wire-changes/server@7.104.0.json +134 -0
  511. package/wire-changes/server@7.105.0.json +53 -0
  512. package/wire-changes/server@7.106.0.json +475 -0
  513. package/wire-changes/server@7.107.0.json +64 -0
  514. package/wire-changes/server@7.108.0.json +153 -0
  515. package/wire-changes/server@7.109.0.json +46 -0
  516. package/wire-changes/server@7.110.0.json +90 -0
  517. package/wire-changes/server@7.111.0.json +86 -0
  518. package/wire-changes/server@7.112.0.json +60 -0
  519. package/wire-changes/server@7.113.0.json +26 -0
  520. package/wire-changes/server@7.114.0.json +26 -0
  521. package/wire-changes/server@7.115.0.json +97 -0
  522. package/wire-changes/server@7.116.0.json +218 -0
  523. package/wire-changes/server@7.116.1.json +26 -0
  524. package/wire-changes/server@7.117.0.json +65 -0
  525. package/wire-changes/server@7.118.0.json +129 -0
  526. package/wire-changes/server@7.119.0.json +65 -0
  527. package/wire-changes/server@7.120.0.json +89 -0
  528. package/wire-changes/server@7.121.0.json +219 -0
  529. package/wire-changes/server@7.122.0.json +54 -0
  530. package/wire-changes/server@7.123.0.json +26 -0
  531. package/wire-changes/server@7.124.0.json +336 -0
  532. package/wire-changes/server@7.124.1.json +26 -0
  533. package/wire-changes/server@7.125.0.json +111 -0
  534. package/wire-changes/server@7.126.0.json +285 -0
  535. package/wire-changes/server@7.127.0.json +77 -0
  536. package/wire-changes/server@7.127.1.json +26 -0
  537. package/wire-changes/server@7.127.2.json +53 -0
  538. package/wire-changes/server@7.128.0.json +26 -0
  539. package/wire-changes/server@7.129.0.json +106 -0
  540. package/wire-changes/server@7.129.1.json +26 -0
  541. package/wire-changes/server@7.130.0.json +26 -0
  542. package/wire-changes/server@7.131.0.json +118 -0
  543. package/wire-changes/server@7.132.0.json +226 -0
  544. package/wire-changes/server@7.133.0.json +1155 -0
  545. package/wire-changes/server@7.134.0.json +107 -0
  546. package/wire-changes/server@7.135.0.json +174 -0
  547. package/wire-changes/server@7.136.0.json +448 -0
  548. package/dist/http/run-declared-families.d.ts +0 -16
  549. package/dist/http/run-declared-families.js +0 -12
  550. package/dist/orchestration/workflow-journal-entry.js +0 -27
@@ -0,0 +1,106 @@
1
+ {
2
+ "repo": "server",
3
+ "version": "7.129.0",
4
+ "from": "v7.128.0",
5
+ "fromCommit": "b3eb99f5d97e68132ceb08be3bcdb68edbc03f0e",
6
+ "to": "v7.129.0",
7
+ "generator": "scripts/wire-changes-server.mjs",
8
+ "sources": [
9
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
10
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b",
11
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1",
12
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
13
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b",
14
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2",
15
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3",
16
+ "src/trace/wire-projection-faces.ts",
17
+ "src/trace/self-minted-wire.ts"
18
+ ],
19
+ "added": [
20
+ {
21
+ "id": "A1",
22
+ "source": "capability",
23
+ "member": "inherit_env.own_credentials_withheld",
24
+ "text": "附录 B.1 能力位新增 `inherit_env.own_credentials_withheld`(谓词类 config 依赖)"
25
+ },
26
+ {
27
+ "id": "A2",
28
+ "source": "engineNotice",
29
+ "member": "permission.entry_mode_clamped",
30
+ "text": "附录 D.3 engine_notice 码新增 `permission.entry_mode_clamped`(detail `{ requested, effective, ceiling, sessionId }` —— `requested` = 被折的那个词、`effective` = run 起步的词、`ceiling` = 折它的地板,三个都是 core 的六词模式闭集(`PERMISSION_MODES`),逐字透传。⚠️ **无 `runId`**(core 7.51.1 起码册同此):折叠发生在受理门,引擎的 run 身份要到 prepare 才铸,本服务不编造;归属看它落在哪条 run 的流 / 账本上)"
31
+ },
32
+ {
33
+ "id": "A3",
34
+ "source": "errorCode",
35
+ "member": "rules.inert_entry",
36
+ "text": "附录 A.1 / A.1b 错误码新增 `rules.inert_entry`(状态码 400)"
37
+ },
38
+ {
39
+ "id": "A4",
40
+ "source": "errorCode",
41
+ "member": "rules.invalid_shape",
42
+ "text": "附录 A.1 / A.1b 错误码新增 `rules.invalid_shape`(状态码 400)"
43
+ }
44
+ ],
45
+ "registered": [],
46
+ "removed": [
47
+ {
48
+ "id": "R1",
49
+ "source": "errorCode",
50
+ "member": "rules.legacy_tool_name",
51
+ "text": "附录 A.1 / A.1b 错误码删除 `rules.legacy_tool_name`(原状态码 400)"
52
+ }
53
+ ],
54
+ "changed": [
55
+ {
56
+ "id": "C1",
57
+ "source": "engineNotice",
58
+ "member": "config.permission_mode_unavailable",
59
+ "text": "附录 D.3 engine_notice 码 `config.permission_mode_unavailable` 的detail:`{ requested, effective, by, sessionId, runId, childSessionId? }` —— `requested` / `effective` 是 core 的六词模式闭集(`PERMISSION_MODES`),`by` 闭三词(`PERMISSION_MODE_FOLD_REASONS`),属主 core,逐字透传 → `{ requested, effective, by, sessionId, runId, childSessionId? }` —— `requested` = 被折的那个词(子腿什么都没请求时是它继承的词,句里写「(inherited)」;core 7.51.0 起),`requested` / `effective` 都是 core 的六词模式闭集(`PERMISSION_MODES`),`by` 闭三词(`PERMISSION_MODE_FOLD_REASONS`),属主 core,逐字透传"
60
+ }
61
+ ],
62
+ "narrowed": [],
63
+ "closedSetMembers": [
64
+ {
65
+ "set": "errorCode",
66
+ "at": [
67
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
68
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b"
69
+ ],
70
+ "added": [
71
+ "rules.inert_entry",
72
+ "rules.invalid_shape"
73
+ ],
74
+ "registered": [],
75
+ "removed": [
76
+ "rules.legacy_tool_name"
77
+ ],
78
+ "breaking": true
79
+ },
80
+ {
81
+ "set": "capability",
82
+ "at": [
83
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1"
84
+ ],
85
+ "added": [
86
+ "inherit_env.own_credentials_withheld"
87
+ ],
88
+ "registered": [],
89
+ "removed": [],
90
+ "breaking": false
91
+ },
92
+ {
93
+ "set": "engineNotice",
94
+ "at": [
95
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3"
96
+ ],
97
+ "added": [
98
+ "permission.entry_mode_clamped"
99
+ ],
100
+ "registered": [],
101
+ "removed": [],
102
+ "breaking": false
103
+ }
104
+ ],
105
+ "breaking": 1
106
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "repo": "server",
3
+ "version": "7.129.1",
4
+ "from": "v7.129.0",
5
+ "fromCommit": "2e6c07acfdee420beb9e62401df90d92db79aeb5",
6
+ "to": "v7.129.1",
7
+ "generator": "scripts/wire-changes-server.mjs",
8
+ "sources": [
9
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
10
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b",
11
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1",
12
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
13
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b",
14
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2",
15
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3",
16
+ "src/trace/wire-projection-faces.ts",
17
+ "src/trace/self-minted-wire.ts"
18
+ ],
19
+ "added": [],
20
+ "registered": [],
21
+ "removed": [],
22
+ "changed": [],
23
+ "narrowed": [],
24
+ "closedSetMembers": [],
25
+ "breaking": 0
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "repo": "server",
3
+ "version": "7.130.0",
4
+ "from": "v7.129.1",
5
+ "fromCommit": "f2d0f02c268909d9cdbc470901a641b191f99bc0",
6
+ "to": "v7.130.0",
7
+ "generator": "scripts/wire-changes-server.mjs",
8
+ "sources": [
9
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
10
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b",
11
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1",
12
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
13
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b",
14
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2",
15
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3",
16
+ "src/trace/wire-projection-faces.ts",
17
+ "src/trace/self-minted-wire.ts"
18
+ ],
19
+ "added": [],
20
+ "registered": [],
21
+ "removed": [],
22
+ "changed": [],
23
+ "narrowed": [],
24
+ "closedSetMembers": [],
25
+ "breaking": 0
26
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "repo": "server",
3
+ "version": "7.131.0",
4
+ "from": "v7.130.0",
5
+ "fromCommit": "eb1aaae12f5fc9034c217d0ed6aff006ba892ebc",
6
+ "to": "v7.131.0",
7
+ "generator": "scripts/wire-changes-server.mjs",
8
+ "sources": [
9
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
10
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b",
11
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1",
12
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
13
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b",
14
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2",
15
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3",
16
+ "src/trace/wire-projection-faces.ts",
17
+ "src/trace/self-minted-wire.ts"
18
+ ],
19
+ "added": [
20
+ {
21
+ "id": "A1",
22
+ "source": "capability",
23
+ "member": "userAttachments",
24
+ "text": "附录 B.1 能力位新增 `userAttachments`(谓词类 恒真)"
25
+ },
26
+ {
27
+ "id": "A2",
28
+ "source": "capabilityMember",
29
+ "member": "userAttachments.entries",
30
+ "text": "附录 B.1a / B.2b 复合能力位成员新增 `userAttachments.entries`(在场律 / 谓词类 恒在场)"
31
+ },
32
+ {
33
+ "id": "A3",
34
+ "source": "capabilityMember",
35
+ "member": "userAttachments.kinds",
36
+ "text": "附录 B.1a / B.2b 复合能力位成员新增 `userAttachments.kinds`(在场律 / 谓词类 恒在场)"
37
+ },
38
+ {
39
+ "id": "A4",
40
+ "source": "capabilityMember",
41
+ "member": "userAttachments.limits",
42
+ "text": "附录 B.1a / B.2b 复合能力位成员新增 `userAttachments.limits`(在场律 / 谓词类 恒在场)"
43
+ },
44
+ {
45
+ "id": "A5",
46
+ "source": "capabilityMember",
47
+ "member": "userAttachments.supplies",
48
+ "text": "附录 B.1a / B.2b 复合能力位成员新增 `userAttachments.supplies`(在场律 / 谓词类 恒在场)"
49
+ },
50
+ {
51
+ "id": "A6",
52
+ "source": "errorCode",
53
+ "member": "config.agent.unknown_tool",
54
+ "text": "附录 A.1 / A.1b 错误码新增 `config.agent.unknown_tool`(状态码 400)"
55
+ },
56
+ {
57
+ "id": "A7",
58
+ "source": "errorCode",
59
+ "member": "config.user_attachment_invalid",
60
+ "text": "附录 A.1 / A.1b 错误码新增 `config.user_attachment_invalid`(状态码 400)"
61
+ },
62
+ {
63
+ "id": "A8",
64
+ "source": "wireFace.excluded",
65
+ "member": "human_input.attachments",
66
+ "text": "投影面 human_input 起投 core 键 attachments(从 excluded 撤出)"
67
+ }
68
+ ],
69
+ "registered": [],
70
+ "removed": [],
71
+ "changed": [],
72
+ "narrowed": [],
73
+ "closedSetMembers": [
74
+ {
75
+ "set": "errorCode",
76
+ "at": [
77
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
78
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b"
79
+ ],
80
+ "added": [
81
+ "config.agent.unknown_tool",
82
+ "config.user_attachment_invalid"
83
+ ],
84
+ "registered": [],
85
+ "removed": [],
86
+ "breaking": false
87
+ },
88
+ {
89
+ "set": "capability",
90
+ "at": [
91
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1"
92
+ ],
93
+ "added": [
94
+ "userAttachments"
95
+ ],
96
+ "registered": [],
97
+ "removed": [],
98
+ "breaking": false
99
+ },
100
+ {
101
+ "set": "capabilityMember",
102
+ "at": [
103
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
104
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b"
105
+ ],
106
+ "added": [
107
+ "userAttachments.entries",
108
+ "userAttachments.kinds",
109
+ "userAttachments.limits",
110
+ "userAttachments.supplies"
111
+ ],
112
+ "registered": [],
113
+ "removed": [],
114
+ "breaking": false
115
+ }
116
+ ],
117
+ "breaking": 0
118
+ }
@@ -0,0 +1,226 @@
1
+ {
2
+ "repo": "server",
3
+ "version": "7.132.0",
4
+ "from": "v7.131.0",
5
+ "fromCommit": "3f74460dec6404b1e811c38a2b66c51df13ce18c",
6
+ "to": "v7.132.0",
7
+ "generator": "scripts/wire-changes-server.mjs",
8
+ "sources": [
9
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
10
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b",
11
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1",
12
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
13
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b",
14
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2",
15
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3",
16
+ "src/trace/wire-projection-faces.ts",
17
+ "src/trace/self-minted-wire.ts"
18
+ ],
19
+ "added": [
20
+ {
21
+ "id": "A1",
22
+ "source": "capability",
23
+ "member": "inherit_env.own_credential_values_withheld",
24
+ "text": "附录 B.1 能力位新增 `inherit_env.own_credential_values_withheld`(谓词类 config 依赖)"
25
+ },
26
+ {
27
+ "id": "A2",
28
+ "source": "engineNotice",
29
+ "member": "config.session_rules_earlier_grammar",
30
+ "text": "附录 D.3 engine_notice 码新增 `config.session_rules_earlier_grammar`(detail `{ bucket, storedGrammar, entries: [{ entry, reader }], rewrite: { by, stampsGrammar }, rulesSessionId, sessionId }` —— 引擎交来的 `entries` 每一条都在(句子只点前五条),会话流行与其余码同经通告 `detail` 的通用界(列表至多前 32 条、无截断标记 —— 完整清单在运维日志行上,那一行的 `detail` 不截);`entry` 是规则文本的脱敏原值(与 `permission.allowed_tool_not_granted` 的 `entries[].entry` 同一只写法);`reader` ∈ `no_rule` / `named_no_tool`、`rewrite.by` = `operator_write_without_rev`(闭集词属主 core,server echo-only);`rulesSessionId` = 规则是谁的(委派子代上是祖先的),`sessionId` = 读它的那一跑)"
31
+ },
32
+ {
33
+ "id": "A3",
34
+ "source": "engineNotice",
35
+ "member": "mods.registration_refused",
36
+ "text": "附录 D.3 engine_notice 码新增 `mods.registration_refused`(detail `{ name, seat, tier, refusedBy, reason, sessionId }` —— `seat` / `tier` 闭集词属主 core(server echo-only);`reason` 是判拒的那张注册写的自由文本(UNTRUSTED-for-display))"
37
+ },
38
+ {
39
+ "id": "A4",
40
+ "source": "engineNotice",
41
+ "member": "route.credential_origin_mismatch",
42
+ "text": "附录 D.3 engine_notice 码新增 `route.credential_origin_mismatch`(detail `{ modelId, boundOrigin, requestOrigin, sessionId, runId }` —— 两个 origin 是显示拼写(scheme + host + port,无 userinfo / 路径),从不带凭据或它的摘要)"
43
+ },
44
+ {
45
+ "id": "A5",
46
+ "source": "errorCode",
47
+ "member": "blob_too_large_for_sql",
48
+ "text": "附录 A.1 / A.1b 错误码新增 `blob_too_large_for_sql`(状态码 413)"
49
+ },
50
+ {
51
+ "id": "A6",
52
+ "source": "errorCode",
53
+ "member": "capability.k8s_lane_required",
54
+ "text": "附录 A.1 / A.1b 错误码新增 `capability.k8s_lane_required`(状态码 501)"
55
+ },
56
+ {
57
+ "id": "A7",
58
+ "source": "errorCode",
59
+ "member": "config.legacy_tool_name",
60
+ "text": "附录 A.1 / A.1b 错误码新增 `config.legacy_tool_name`(状态码 400)"
61
+ },
62
+ {
63
+ "id": "A8",
64
+ "source": "errorCode",
65
+ "member": "prompt.assembled_role_refused",
66
+ "text": "附录 A.1 / A.1b 错误码新增 `prompt.assembled_role_refused`(状态码 400)"
67
+ },
68
+ {
69
+ "id": "A9",
70
+ "source": "wireFace",
71
+ "member": "compaction_started",
72
+ "text": "新投影面 compaction_started(projector compactionStartedEventData,coreType Extract<TaskEvent, { type: \"compaction_started\" }>)"
73
+ },
74
+ {
75
+ "id": "A10",
76
+ "source": "wireFace",
77
+ "member": "prompt_manifest",
78
+ "text": "新投影面 prompt_manifest(projector promptManifestRecordOf,coreType Extract<TraceEvent, { kind: \"prompt.assembled\" }>)"
79
+ },
80
+ {
81
+ "id": "A11",
82
+ "source": "wireFace",
83
+ "member": "prompt_manifest_block",
84
+ "text": "新投影面 prompt_manifest_block(projector promptManifestRecordOf,coreType Extract<TraceEvent, { kind: \"prompt.assembled\" }>[\"blocks\"][number])"
85
+ },
86
+ {
87
+ "id": "A12",
88
+ "source": "wireFace",
89
+ "member": "prompt_manifest_chain_link",
90
+ "text": "新投影面 prompt_manifest_chain_link(projector promptManifestRecordOf,coreType PromptChainLink)"
91
+ },
92
+ {
93
+ "id": "A13",
94
+ "source": "wireFace",
95
+ "member": "prompt_manifest_identity",
96
+ "text": "新投影面 prompt_manifest_identity(projector promptManifestRecordOf,coreType PromptManifestIdentity)"
97
+ },
98
+ {
99
+ "id": "A14",
100
+ "source": "wireFace",
101
+ "member": "prompt_manifest_identity_layers",
102
+ "text": "新投影面 prompt_manifest_identity_layers(projector promptManifestRecordOf,coreType PromptIdentityLayers)"
103
+ },
104
+ {
105
+ "id": "A15",
106
+ "source": "wireFace",
107
+ "member": "prompt_manifest_section",
108
+ "text": "新投影面 prompt_manifest_section(projector promptManifestRecordOf,coreType PromptManifestSection)"
109
+ },
110
+ {
111
+ "id": "A16",
112
+ "source": "wireFace",
113
+ "member": "prompt_manifest_section_renderer",
114
+ "text": "新投影面 prompt_manifest_section_renderer(projector promptManifestRecordOf,coreType NonNullable<PromptManifestSection[\"renderer\"]>)"
115
+ },
116
+ {
117
+ "id": "A17",
118
+ "source": "wireFace",
119
+ "member": "prompt_manifest_selectors",
120
+ "text": "新投影面 prompt_manifest_selectors(projector promptManifestRecordOf,coreType PromptManifestSelectors)"
121
+ },
122
+ {
123
+ "id": "A18",
124
+ "source": "wireFace",
125
+ "member": "prompt_manifest_selectors_host",
126
+ "text": "新投影面 prompt_manifest_selectors_host(projector promptManifestRecordOf,coreType PromptManifestSelectors[\"host\"])"
127
+ },
128
+ {
129
+ "id": "A19",
130
+ "source": "wireFace",
131
+ "member": "prompt_manifest_superseded",
132
+ "text": "新投影面 prompt_manifest_superseded(projector promptManifestRecordOf,coreType SupersededOverlay)"
133
+ },
134
+ {
135
+ "id": "A20",
136
+ "source": "wireFace",
137
+ "member": "prompt_manifest_tool",
138
+ "text": "新投影面 prompt_manifest_tool(projector promptManifestRecordOf,coreType NonNullable<Extract<TraceEvent, { kind: \"prompt.assembled\" }>[\"tools\"]>[number])"
139
+ },
140
+ {
141
+ "id": "A21",
142
+ "source": "wireFace",
143
+ "member": "prompt_manifest_tool_disclosure",
144
+ "text": "新投影面 prompt_manifest_tool_disclosure(projector promptManifestRecordOf,coreType ToolDisclosureManifest)"
145
+ }
146
+ ],
147
+ "registered": [],
148
+ "removed": [],
149
+ "changed": [
150
+ {
151
+ "id": "C1",
152
+ "source": "engineNotice",
153
+ "member": "permission.rule_row_dropped",
154
+ "text": "附录 D.3 engine_notice 码 `permission.rule_row_dropped` 的detail:`{ rows: [{ rule, scopeRoot }], count, sessionId, runId }` —— `rows` 前八行(引擎逐条限长、中和),`count` 全部;`rows[].rule` = 规则文本的脱敏原值(server 7.120.0:与 `allowed_tool_not_granted` 的 `entries[].entry` 同一只写法) → `{ rows: [{ rule, scopeRoot }], count, sessionId, runId }` —— `rows` 前八行,`count` 全部;`rows[].rule` = 规则文本的脱敏原值(server 7.120.0:与 `allowed_tool_not_granted` 的 `entries[].entry` 同一只写法;core 7.53.0 起引擎对两只码交的就是同一只读法的原串 —— 至多 1 024 码点,更长的截到 1 024 + 一枚截断记号,控制字符作数据随行、渲染端自己中和;此前这一位是引擎中和过的单行形、至多 201 码点,首尾空白的条目两只码不同);`scopeRoot` 仍是中和、限 200"
155
+ }
156
+ ],
157
+ "narrowed": [],
158
+ "closedSetMembers": [
159
+ {
160
+ "set": "errorCode",
161
+ "at": [
162
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
163
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b"
164
+ ],
165
+ "added": [
166
+ "blob_too_large_for_sql",
167
+ "capability.k8s_lane_required",
168
+ "config.legacy_tool_name",
169
+ "prompt.assembled_role_refused"
170
+ ],
171
+ "registered": [],
172
+ "removed": [],
173
+ "breaking": false
174
+ },
175
+ {
176
+ "set": "capability",
177
+ "at": [
178
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1"
179
+ ],
180
+ "added": [
181
+ "inherit_env.own_credential_values_withheld"
182
+ ],
183
+ "registered": [],
184
+ "removed": [],
185
+ "breaking": false
186
+ },
187
+ {
188
+ "set": "engineNotice",
189
+ "at": [
190
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3"
191
+ ],
192
+ "added": [
193
+ "config.session_rules_earlier_grammar",
194
+ "mods.registration_refused",
195
+ "route.credential_origin_mismatch"
196
+ ],
197
+ "registered": [],
198
+ "removed": [],
199
+ "breaking": false
200
+ },
201
+ {
202
+ "set": "wireFace",
203
+ "at": [
204
+ "src/trace/wire-projection-faces.ts"
205
+ ],
206
+ "added": [
207
+ "compaction_started",
208
+ "prompt_manifest",
209
+ "prompt_manifest_block",
210
+ "prompt_manifest_chain_link",
211
+ "prompt_manifest_identity",
212
+ "prompt_manifest_identity_layers",
213
+ "prompt_manifest_section",
214
+ "prompt_manifest_section_renderer",
215
+ "prompt_manifest_selectors",
216
+ "prompt_manifest_selectors_host",
217
+ "prompt_manifest_superseded",
218
+ "prompt_manifest_tool",
219
+ "prompt_manifest_tool_disclosure"
220
+ ],
221
+ "removed": [],
222
+ "breaking": false
223
+ }
224
+ ],
225
+ "breaking": 0
226
+ }