@sema-agent/server 7.149.0 → 7.150.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 (194) hide show
  1. package/MIGRATION.md +122 -9
  2. package/README.md +1 -1
  3. package/README.zh-CN.md +1 -1
  4. package/USAGE.md +39 -15
  5. package/dist/approval-card.d.ts +1 -1
  6. package/dist/approval-gate-currency.d.ts +1 -1
  7. package/dist/audit.d.ts +1 -1
  8. package/dist/audit.js +2 -2
  9. package/dist/background-session-reap.d.ts +1 -1
  10. package/dist/boot/deferred-sandbox-path-env.d.ts +5 -3
  11. package/dist/boot/deferred-sandbox-path-env.js +1 -2
  12. package/dist/boot/parked-revive-gate.d.ts +5 -5
  13. package/dist/boot/parked-revive-gate.js +2 -3
  14. package/dist/boot/resolve-spec.d.ts +4 -5
  15. package/dist/boot/resolve-spec.js +61 -25
  16. package/dist/boot/retention-lane.d.ts +1 -1
  17. package/dist/boot/session-faces.js +21 -21
  18. package/dist/boot/stage-03-store-backend.js +2 -2
  19. package/dist/boot/stage-06-runners.js +1 -2
  20. package/dist/boot/stage-07-capability-layer.js +1 -1
  21. package/dist/boot/stage-10-http-server.d.ts +33 -1
  22. package/dist/boot/stage-10-http-server.js +9 -4
  23. package/dist/boot/web-admin.d.ts +1 -1
  24. package/dist/capability-facts.d.ts +65 -56
  25. package/dist/capability-facts.js +42 -35
  26. package/dist/config-catalog.js +1 -1
  27. package/dist/config-types.d.ts +12 -11
  28. package/dist/deployment-governance.d.ts +7 -28
  29. package/dist/deployment-governance.js +1 -14
  30. package/dist/device-ws-hub.d.ts +1 -0
  31. package/dist/device-ws-hub.js +64 -28
  32. package/dist/device-ws-protocol.d.ts +20 -6
  33. package/dist/device-ws-protocol.js +9 -2
  34. package/dist/engine-identity.d.ts +7 -1
  35. package/dist/engine-identity.js +5 -0
  36. package/dist/field-conflict.d.ts +2 -2
  37. package/dist/fleet/engine-signal.d.ts +14 -1
  38. package/dist/fleet/engine-signal.js +5 -1
  39. package/dist/fleet/fleet-reconciler.d.ts +1 -1
  40. package/dist/fleet/serving-lease.d.ts +18 -3
  41. package/dist/fleet/serving-lease.js +81 -35
  42. package/dist/fleet-client.d.ts +13 -11
  43. package/dist/fleet-client.js +53 -33
  44. package/dist/history-anchor.js +1 -1
  45. package/dist/hitl-delivery.d.ts +1 -3
  46. package/dist/hitl-delivery.js +1 -1
  47. package/dist/http/active-run-conflict.d.ts +3 -7
  48. package/dist/http/active-run-conflict.js +2 -2
  49. package/dist/http/admission.js +2 -2
  50. package/dist/http/approval-sweeps.js +2 -1
  51. package/dist/http/caller-trust.d.ts +2 -2
  52. package/dist/http/caller-trust.js +3 -3
  53. package/dist/http/checkpoint-ctx.d.ts +18 -63
  54. package/dist/http/checkpoint-ctx.js +1 -24
  55. package/dist/http/claim-heartbeat.d.ts +4 -4
  56. package/dist/http/claim-heartbeat.js +3 -3
  57. package/dist/http/dispatch.js +2 -2
  58. package/dist/http/durable-run-leg.js +4 -4
  59. package/dist/http/owner-access.d.ts +243 -19
  60. package/dist/http/owner-access.js +184 -5
  61. package/dist/http/readiness.d.ts +4 -2
  62. package/dist/http/resume-ctx-read.js +16 -1
  63. package/dist/http/resume-legs.js +18 -14
  64. package/dist/http/route-ctx.d.ts +23 -11
  65. package/dist/http/routes/a2a-serve.js +15 -14
  66. package/dist/http/routes/approvals-assistant.d.ts +3 -2
  67. package/dist/http/routes/approvals-assistant.js +8 -9
  68. package/dist/http/routes/capabilities.js +4 -3
  69. package/dist/http/routes/config-catalog.d.ts +1 -1
  70. package/dist/http/routes/mcp-reconnect.js +2 -2
  71. package/dist/http/routes/memory-origin.d.ts +1 -1
  72. package/dist/http/routes/notify-wake.js +2 -3
  73. package/dist/http/routes/projects.d.ts +1 -0
  74. package/dist/http/routes/projects.js +5 -3
  75. package/dist/http/routes/retention-ops.d.ts +1 -1
  76. package/dist/http/routes/run-permission-mode.d.ts +1 -1
  77. package/dist/http/routes/run-permission-mode.js +2 -2
  78. package/dist/http/routes/runs.d.ts +1 -1
  79. package/dist/http/routes/runs.js +23 -30
  80. package/dist/http/routes/session-memory-sync.js +4 -5
  81. package/dist/http/routes/session-sync.js +3 -7
  82. package/dist/http/routes/sessions.d.ts +1 -1
  83. package/dist/http/routes/sessions.js +18 -44
  84. package/dist/http/routes/tasks.js +9 -8
  85. package/dist/http/routes/trace-usage.js +14 -14
  86. package/dist/http/routes/workflows.d.ts +1 -0
  87. package/dist/http/routes/workflows.js +20 -38
  88. package/dist/http/server.d.ts +8 -4
  89. package/dist/http/server.js +5 -1
  90. package/dist/http/stored-body-replay.d.ts +3 -24
  91. package/dist/http/stored-body-replay.js +2 -12
  92. package/dist/http/submit-ctx.d.ts +1 -2
  93. package/dist/http/submit-ctx.js +3 -2
  94. package/dist/http/submit-replay.d.ts +15 -2
  95. package/dist/http/submit-replay.js +10 -4
  96. package/dist/http/wire-types.d.ts +6 -3
  97. package/dist/leader/endpoint.js +9 -8
  98. package/dist/leg-facts.d.ts +8 -2
  99. package/dist/leg-facts.js +1 -0
  100. package/dist/mcp-authorization-face.d.ts +18 -14
  101. package/dist/mcp-authorization-face.js +3 -2
  102. package/dist/memory-store-refusal.d.ts +1 -1
  103. package/dist/observability/corrupt-read-seat.d.ts +1 -1
  104. package/dist/observability/fail-open.d.ts +5 -5
  105. package/dist/observability/fail-open.js +5 -5
  106. package/dist/observability/logger.d.ts +7 -0
  107. package/dist/observability/logger.js +3 -1
  108. package/dist/observability/run-terminal.d.ts +1 -1
  109. package/dist/owner-faces.d.ts +27 -3
  110. package/dist/owner-faces.js +2 -0
  111. package/dist/peer-seat.d.ts +1 -1
  112. package/dist/peer-seat.js +52 -59
  113. package/dist/plugins/exec-path-law.d.ts +34 -0
  114. package/dist/plugins/exec-path-law.js +13 -0
  115. package/dist/plugins/file-run-store.js +1 -1
  116. package/dist/plugins/local-checkpoint-store.d.ts +4 -1
  117. package/dist/plugins/local-checkpoint-store.js +3 -0
  118. package/dist/plugins/memory-run-store.js +1 -1
  119. package/dist/plugins/one-time-migrations.d.ts +74 -49
  120. package/dist/plugins/one-time-migrations.js +134 -69
  121. package/dist/plugins/pg-pool.js +4 -0
  122. package/dist/plugins/posix-shell-fs.js +4 -2
  123. package/dist/plugins/remote-env-adb.js +3 -2
  124. package/dist/plugins/remote-env-device.js +8 -6
  125. package/dist/plugins/remote-env-e2b.d.ts +3 -1
  126. package/dist/plugins/remote-env-e2b.js +11 -8
  127. package/dist/plugins/remote-env-host.d.ts +1 -1
  128. package/dist/plugins/remote-env-host.js +20 -11
  129. package/dist/plugins/remote-env-k8s.js +3 -2
  130. package/dist/plugins/remote-env-local-docker.js +3 -2
  131. package/dist/plugins/remote-env-ssh.js +4 -3
  132. package/dist/plugins/remote-shell.d.ts +3 -1
  133. package/dist/plugins/remote-shell.js +3 -3
  134. package/dist/plugins/replica-registration.d.ts +35 -0
  135. package/dist/plugins/replica-registration.js +48 -0
  136. package/dist/plugins/retention-lane-store-sql.d.ts +1 -1
  137. package/dist/plugins/run-store-sql.d.ts +1 -1
  138. package/dist/plugins/run-store-sql.js +2 -2
  139. package/dist/plugins/scenario-prefix-switch-m42.d.ts +6 -12
  140. package/dist/plugins/scenario-prefix-switch-m42.js +7 -5
  141. package/dist/plugins/schema-consistency.d.ts +7 -5
  142. package/dist/plugins/schema-consistency.js +29 -16
  143. package/dist/plugins/schema-drift-sentence.js +1 -1
  144. package/dist/plugins/serving-requirement.d.ts +49 -0
  145. package/dist/plugins/serving-requirement.js +53 -0
  146. package/dist/plugins/stop-then-start-sentence.d.ts +42 -3
  147. package/dist/plugins/stop-then-start-sentence.js +44 -0
  148. package/dist/plugins/store-backend.d.ts +1 -1
  149. package/dist/plugins/store-contracts.d.ts +12 -2
  150. package/dist/plugins/store-contracts.js +3 -0
  151. package/dist/plugins/tidb-pool.js +4 -0
  152. package/dist/process-instance.d.ts +3 -0
  153. package/dist/process-instance.js +7 -0
  154. package/dist/project-context.d.ts +66 -0
  155. package/dist/project-context.js +70 -0
  156. package/dist/question.d.ts +9 -21
  157. package/dist/question.js +28 -19
  158. package/dist/run-cancel-card.d.ts +1 -1
  159. package/dist/run-cancel-card.js +2 -1
  160. package/dist/security.d.ts +1 -1
  161. package/dist/session-agent.d.ts +1 -10
  162. package/dist/session-agent.js +0 -6
  163. package/dist/session-incarnation.d.ts +18 -4
  164. package/dist/session-incarnation.js +4 -1
  165. package/dist/session-notify-door.d.ts +4 -4
  166. package/dist/session-notify-door.js +5 -6
  167. package/dist/session-rules-seat.d.ts +4 -3
  168. package/dist/session-rules-seat.js +3 -11
  169. package/dist/session-sync.js +3 -3
  170. package/dist/stores-sql/checkpoint-store-sql.d.ts +21 -2
  171. package/dist/stores-sql/checkpoint-store-sql.js +106 -18
  172. package/dist/stores-sql/retention-store-sql.d.ts +1 -1
  173. package/dist/task-cwd.d.ts +4 -3
  174. package/dist/task-settings.d.ts +13 -0
  175. package/dist/task-settings.js +13 -7
  176. package/dist/tool-approval.d.ts +7 -6
  177. package/dist/tool-approval.js +41 -37
  178. package/dist/trace/engine-notice-wire.d.ts +14 -0
  179. package/dist/trace/engine-notice-wire.js +18 -1
  180. package/dist/trace/project.d.ts +4 -3
  181. package/dist/trace/project.js +3 -2
  182. package/dist/trace/projection-table.d.ts +33 -2
  183. package/dist/trace/self-minted-wire.d.ts +150 -17
  184. package/dist/trace/self-minted-wire.js +54 -16
  185. package/dist/trace/tool-card.d.ts +3 -0
  186. package/dist/trace/tool-card.js +24 -0
  187. package/dist/trace/tool-output-media.d.ts +2 -1
  188. package/dist/unattended-permission-mode.d.ts +1 -1
  189. package/dist/web-admin-client/apply-effective.d.ts +1 -1
  190. package/dist/web-admin-client/effective-keys.d.ts +1 -1
  191. package/dist/web-admin-client/skills-mcp.d.ts +1 -1
  192. package/docs/DEVICE-EXECUTOR-PROTOCOL.md +57 -29
  193. package/package.json +2 -2
  194. package/wire-changes/server@7.150.0.json +335 -0
@@ -0,0 +1,335 @@
1
+ {
2
+ "repo": "server",
3
+ "version": "7.150.0",
4
+ "from": "v7.149.0",
5
+ "fromCommit": "4ddd53ff8ba95bf63354b58203d01db51e025795",
6
+ "to": "v7.150.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#A.1h",
12
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1g",
13
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1",
14
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
15
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b",
16
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2",
17
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3",
18
+ "src/trace/wire-projection-faces.ts",
19
+ "src/trace/self-minted-wire.ts",
20
+ "node_modules/@sema-agent/core/wire-changes",
21
+ "src/trace/core-vocab-wire.ts"
22
+ ],
23
+ "added": [
24
+ {
25
+ "id": "A1",
26
+ "source": "capability",
27
+ "member": "projectInheritance",
28
+ "text": "附录 B.1 能力位新增 `projectInheritance`(谓词类 config 依赖)"
29
+ },
30
+ {
31
+ "id": "A2",
32
+ "source": "selfMinted.deviceProtocolRevision",
33
+ "member": "5",
34
+ "text": "自铸 GET /v1/capabilities deviceExecutor.protocolVersion 与 device WS challenge 帧的修订号(<修订号> → 它加进结局码闭集的词;零加词的语义修订 → 变更名) 新增 `5`(属性 paths-unfolded;since 7.150.0 = 本版新上 wire)"
35
+ },
36
+ {
37
+ "id": "A3",
38
+ "source": "selfMinted.listeningLineKey",
39
+ "member": "boundAddress",
40
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 新增 `boundAddress`(属性 always;since 7.150.0 = 本版新上 wire)"
41
+ },
42
+ {
43
+ "id": "A4",
44
+ "source": "selfMinted.projectRowKey",
45
+ "member": "contentAttestedAt",
46
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `contentAttestedAt`(属性 present-iff the registration carries the configuration center's content attestation (settings-schema 25.1.0; the time the center's write path last admitted the project's goal / notes / contextItems under the publisher role);since 7.150.0 = 本版新上 wire)"
47
+ }
48
+ ],
49
+ "registered": [
50
+ {
51
+ "id": "L1",
52
+ "source": "selfMinted.listeningLineKey",
53
+ "member": "bindHost",
54
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `bindHost`(属性 always;since 1.306.0 —— 早于本版,只是登记)"
55
+ },
56
+ {
57
+ "id": "L2",
58
+ "source": "selfMinted.listeningLineKey",
59
+ "member": "bindHostNote",
60
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `bindHostNote`(属性 present-iff BIND_HOST unset and the bind was narrowed to loopback (unauthenticated write face);since 3.15.0 —— 早于本版,只是登记)"
61
+ },
62
+ {
63
+ "id": "L3",
64
+ "source": "selfMinted.listeningLineKey",
65
+ "member": "brain",
66
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `brain`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
67
+ },
68
+ {
69
+ "id": "L4",
70
+ "source": "selfMinted.listeningLineKey",
71
+ "member": "breakerState",
72
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `breakerState`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
73
+ },
74
+ {
75
+ "id": "L5",
76
+ "source": "selfMinted.listeningLineKey",
77
+ "member": "costQuota",
78
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `costQuota`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
79
+ },
80
+ {
81
+ "id": "L6",
82
+ "source": "selfMinted.listeningLineKey",
83
+ "member": "instanceId",
84
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `instanceId`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
85
+ },
86
+ {
87
+ "id": "L7",
88
+ "source": "selfMinted.listeningLineKey",
89
+ "member": "maxPrincipalCostUsd",
90
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `maxPrincipalCostUsd`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
91
+ },
92
+ {
93
+ "id": "L8",
94
+ "source": "selfMinted.listeningLineKey",
95
+ "member": "memory",
96
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `memory`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
97
+ },
98
+ {
99
+ "id": "L9",
100
+ "source": "selfMinted.listeningLineKey",
101
+ "member": "model",
102
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `model`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
103
+ },
104
+ {
105
+ "id": "L10",
106
+ "source": "selfMinted.listeningLineKey",
107
+ "member": "otel",
108
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `otel`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
109
+ },
110
+ {
111
+ "id": "L11",
112
+ "source": "selfMinted.listeningLineKey",
113
+ "member": "perModelKeys",
114
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `perModelKeys`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
115
+ },
116
+ {
117
+ "id": "L12",
118
+ "source": "selfMinted.listeningLineKey",
119
+ "member": "port",
120
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `port`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
121
+ },
122
+ {
123
+ "id": "L13",
124
+ "source": "selfMinted.listeningLineKey",
125
+ "member": "rateLimit",
126
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `rateLimit`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
127
+ },
128
+ {
129
+ "id": "L14",
130
+ "source": "selfMinted.listeningLineKey",
131
+ "member": "rateLimitPerMin",
132
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `rateLimitPerMin`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
133
+ },
134
+ {
135
+ "id": "L15",
136
+ "source": "selfMinted.listeningLineKey",
137
+ "member": "sealedModelKeys",
138
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `sealedModelKeys`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
139
+ },
140
+ {
141
+ "id": "L16",
142
+ "source": "selfMinted.listeningLineKey",
143
+ "member": "sealedPoisonedModels",
144
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `sealedPoisonedModels`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
145
+ },
146
+ {
147
+ "id": "L17",
148
+ "source": "selfMinted.listeningLineKey",
149
+ "member": "session",
150
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `session`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
151
+ },
152
+ {
153
+ "id": "L18",
154
+ "source": "selfMinted.listeningLineKey",
155
+ "member": "toolResultStore",
156
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `toolResultStore`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
157
+ },
158
+ {
159
+ "id": "L19",
160
+ "source": "selfMinted.listeningLineKey",
161
+ "member": "workflowRunStore",
162
+ "text": "自铸 stdout 启动协议行 listening(<键> → 在场律) 登记 `workflowRunStore`(属性 always;since 1.214.2 —— 早于本版,只是登记)"
163
+ },
164
+ {
165
+ "id": "L20",
166
+ "source": "selfMinted.mcpAuthorizationKey",
167
+ "member": "GET /v1/capabilities/mcp#servers[].authorization",
168
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 登记 `GET /v1/capabilities/mcp#servers[].authorization`(属性 present-iff errorCode unauthorized;since 7.138.0 —— 早于本版,只是登记)"
169
+ },
170
+ {
171
+ "id": "L21",
172
+ "source": "selfMinted.mcpAuthorizationKey",
173
+ "member": "GET /v1/runs/:id/events#tool_end.structured.authorization",
174
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 登记 `GET /v1/runs/:id/events#tool_end.structured.authorization`(属性 present-iff structured.code unauthorized and reason in the closed set; members = reason;since 7.138.0 —— 早于本版,只是登记)"
175
+ },
176
+ {
177
+ "id": "L22",
178
+ "source": "selfMinted.mcpAuthorizationKey",
179
+ "member": "GET /v1/sessions/:id#messages[].details.authorization",
180
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 登记 `GET /v1/sessions/:id#messages[].details.authorization`(属性 present-iff details.code unauthorized;since 7.138.0 —— 早于本版,只是登记)"
181
+ },
182
+ {
183
+ "id": "L23",
184
+ "source": "selfMinted.mcpAuthorizationKey",
185
+ "member": "GET /v1/sessions/:id/mcp#lastLegMcp.mcp[].authorization",
186
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 登记 `GET /v1/sessions/:id/mcp#lastLegMcp.mcp[].authorization`(属性 present-iff errorCode unauthorized;since 7.138.0 —— 早于本版,只是登记)"
187
+ },
188
+ {
189
+ "id": "L24",
190
+ "source": "selfMinted.mcpAuthorizationKey",
191
+ "member": "POST /v1/capabilities/mcp/probe#servers[].authorization",
192
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 登记 `POST /v1/capabilities/mcp/probe#servers[].authorization`(属性 present-iff errorCode unauthorized;since 7.138.0 —— 早于本版,只是登记)"
193
+ },
194
+ {
195
+ "id": "L25",
196
+ "source": "selfMinted.mcpAuthorizationKey",
197
+ "member": "SSE tool_end#structured.authorization",
198
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 登记 `SSE tool_end#structured.authorization`(属性 present-iff structured.code unauthorized and reason in the closed set; members = reason;since 7.138.0 —— 早于本版,只是登记)"
199
+ }
200
+ ],
201
+ "excluded": [],
202
+ "removed": [
203
+ {
204
+ "id": "R1",
205
+ "source": "selfMinted.mcpAuthorizationKey",
206
+ "member": "GET /v1/runs/:id/events#tool_end.structured.authorization(reason 以外的成员)",
207
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 于本版退役 `GET /v1/runs/:id/events#tool_end.structured.authorization(reason 以外的成员)`(原属性 card members passed through the text redactor (resourceMetadataUrl, a custom card's own members);自 7.138.0 起在 wire 上,until 7.150.0 = 本版)"
208
+ },
209
+ {
210
+ "id": "R2",
211
+ "source": "selfMinted.mcpAuthorizationKey",
212
+ "member": "GET /v1/sessions/:id#messages[].details.authorization.resourceMetadataUrl",
213
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 于本版退役 `GET /v1/sessions/:id#messages[].details.authorization.resourceMetadataUrl`(原属性 remote-claimed URL from the endpoint's challenge (deep-scrubbed text);自 7.138.0 起在 wire 上,until 7.150.0 = 本版)"
214
+ },
215
+ {
216
+ "id": "R3",
217
+ "source": "selfMinted.mcpAuthorizationKey",
218
+ "member": "SSE tool_end#structured.authorization(reason 以外的成员)",
219
+ "text": "自铸 MCP 授权记录 authorization 的出现面(<面>#<键> → 在场律) 于本版退役 `SSE tool_end#structured.authorization(reason 以外的成员)`(原属性 card members passed through the text redactor (resourceMetadataUrl, a custom card's own members);自 7.138.0 起在 wire 上,until 7.150.0 = 本版)"
220
+ }
221
+ ],
222
+ "changed": [
223
+ {
224
+ "id": "C1",
225
+ "source": "engineNotice",
226
+ "member": "mcp.authorization_required",
227
+ "text": "附录 D.3 engine_notice 码 `mcp.authorization_required` 的detail:`{ server, reason, authorizeUrl?, principal?, sessionId, runId }` —— `reason` ∈ `rejected`(401)/ `scope`(403 `insufficient_scope`)/ `none`(授权座没有这位用户的授权),闭集属主 core,server echo-only;`authorizeUrl` 只来自部署的授权座(本部署今天没有授权座 ⇒ 恒缺席,句子指向连接器设置) → `{ server, reason, authorizeUrl?, principal?, sessionId, runId }` —— `reason` ∈ `rejected`(401)/ `scope`(403 `insufficient_scope`)/ `none`(对端座答这位用户未授权),闭集属主 core;`reason` / `authorizeUrl` 是 MCP 授权记录的成员,经与状态行同一张处置表出门(结构位:不过 detail 的自由文本消毒与截断;词出闭集 ⇒ 记录成员整组缺席);`authorizeUrl` 只来自部署的对端座,处置表今天不放行 ⇒ 恒缺席,句子指向连接器设置"
228
+ },
229
+ {
230
+ "id": "C2",
231
+ "source": "selfMinted.fieldConflictReason",
232
+ "member": "scratchpad_root",
233
+ "text": "自铸 400 / 409 / 422 request.field_conflict reason `scratchpad_root` 的属性:- → fields = cwd (sent) or projectId (inherited from the project), then scratchpadDir when the request's own covers it(since 7.150.0)"
234
+ },
235
+ {
236
+ "id": "C3",
237
+ "source": "selfMinted.fieldConflictReason",
238
+ "member": "system_prompt_fold",
239
+ "text": "自铸 400 / 409 / 422 request.field_conflict reason `system_prompt_fold` 的属性:- → fields in fold order from appendSystemPrompt / projectId (the inherited project brief) / settings.outputStyle; count / cap(since 7.150.0)"
240
+ }
241
+ ],
242
+ "narrowed": [],
243
+ "closedSetMembers": [
244
+ {
245
+ "set": "capability",
246
+ "at": [
247
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1"
248
+ ],
249
+ "added": [
250
+ "projectInheritance"
251
+ ],
252
+ "registered": [],
253
+ "removed": [],
254
+ "breaking": false
255
+ },
256
+ {
257
+ "set": "selfMinted.deviceProtocolRevision",
258
+ "at": [
259
+ "src/trace/self-minted-wire.ts#deviceProtocolRevision"
260
+ ],
261
+ "added": [
262
+ "5"
263
+ ],
264
+ "registered": [],
265
+ "removed": [],
266
+ "breaking": false
267
+ },
268
+ {
269
+ "set": "selfMinted.listeningLineKey",
270
+ "at": [
271
+ "src/trace/self-minted-wire.ts#listeningLineKey"
272
+ ],
273
+ "added": [
274
+ "boundAddress"
275
+ ],
276
+ "registered": [
277
+ "bindHost",
278
+ "bindHostNote",
279
+ "brain",
280
+ "breakerState",
281
+ "costQuota",
282
+ "instanceId",
283
+ "maxPrincipalCostUsd",
284
+ "memory",
285
+ "model",
286
+ "otel",
287
+ "perModelKeys",
288
+ "port",
289
+ "rateLimit",
290
+ "rateLimitPerMin",
291
+ "sealedModelKeys",
292
+ "sealedPoisonedModels",
293
+ "session",
294
+ "toolResultStore",
295
+ "workflowRunStore"
296
+ ],
297
+ "removed": [],
298
+ "breaking": false
299
+ },
300
+ {
301
+ "set": "selfMinted.mcpAuthorizationKey",
302
+ "at": [
303
+ "src/trace/self-minted-wire.ts#mcpAuthorizationKey"
304
+ ],
305
+ "added": [],
306
+ "registered": [
307
+ "GET /v1/capabilities/mcp#servers[].authorization",
308
+ "GET /v1/runs/:id/events#tool_end.structured.authorization",
309
+ "GET /v1/sessions/:id#messages[].details.authorization",
310
+ "GET /v1/sessions/:id/mcp#lastLegMcp.mcp[].authorization",
311
+ "POST /v1/capabilities/mcp/probe#servers[].authorization",
312
+ "SSE tool_end#structured.authorization"
313
+ ],
314
+ "removed": [
315
+ "GET /v1/runs/:id/events#tool_end.structured.authorization(reason 以外的成员)",
316
+ "GET /v1/sessions/:id#messages[].details.authorization.resourceMetadataUrl",
317
+ "SSE tool_end#structured.authorization(reason 以外的成员)"
318
+ ],
319
+ "breaking": true
320
+ },
321
+ {
322
+ "set": "selfMinted.projectRowKey",
323
+ "at": [
324
+ "src/trace/self-minted-wire.ts#projectRowKey"
325
+ ],
326
+ "added": [
327
+ "contentAttestedAt"
328
+ ],
329
+ "registered": [],
330
+ "removed": [],
331
+ "breaking": false
332
+ }
333
+ ],
334
+ "breaking": 3
335
+ }