@intentic/sandbox-contract 1.430.0 → 1.432.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 (711) hide show
  1. package/README.md +22 -5
  2. package/dist/app-routes/app-pages.d.ts +1 -0
  3. package/dist/app-routes/app-pages.d.ts.map +1 -1
  4. package/dist/app-routes/app-pages.js +1 -0
  5. package/dist/app-routes/app-pages.js.map +1 -1
  6. package/dist/app-routes/index.d.ts +1 -0
  7. package/dist/app-routes/index.d.ts.map +1 -1
  8. package/dist/app-routes/index.js +1 -0
  9. package/dist/app-routes/index.js.map +1 -1
  10. package/dist/app-routes/return-path.d.ts +2 -0
  11. package/dist/app-routes/return-path.d.ts.map +1 -0
  12. package/dist/app-routes/return-path.js +8 -0
  13. package/dist/app-routes/return-path.js.map +1 -0
  14. package/dist/briefs/agent-ask.d.ts +10 -0
  15. package/dist/briefs/agent-ask.d.ts.map +1 -0
  16. package/dist/briefs/agent-ask.js +2 -0
  17. package/dist/briefs/agent-ask.js.map +1 -0
  18. package/dist/{chores/extension-update.d.ts → briefs/extension-update-brief.d.ts} +1 -1
  19. package/dist/briefs/extension-update-brief.d.ts.map +1 -0
  20. package/dist/{chores/extension-update.js → briefs/extension-update-brief.js} +2 -2
  21. package/dist/briefs/extension-update-brief.js.map +1 -0
  22. package/dist/chores/digest.d.ts.map +1 -1
  23. package/dist/chores/digest.js.map +1 -1
  24. package/dist/chores/index.d.ts +2 -2
  25. package/dist/chores/index.d.ts.map +1 -1
  26. package/dist/chores/index.js +1 -1
  27. package/dist/chores/index.js.map +1 -1
  28. package/dist/chores/prompt.d.ts +1 -9
  29. package/dist/chores/prompt.d.ts.map +1 -1
  30. package/dist/chores/prompt.js +1 -1
  31. package/dist/chores/prompt.js.map +1 -1
  32. package/dist/chores/stack.d.ts.map +1 -1
  33. package/dist/chores/stack.js.map +1 -1
  34. package/dist/chores/verdict.d.ts.map +1 -1
  35. package/dist/chores/verdict.js.map +1 -1
  36. package/dist/chores/workspace-scope.d.ts +1 -3
  37. package/dist/chores/workspace-scope.d.ts.map +1 -1
  38. package/dist/chores/workspace-scope.js +1 -3
  39. package/dist/chores/workspace-scope.js.map +1 -1
  40. package/dist/contracts/accounts.contract.d.ts.map +1 -1
  41. package/dist/contracts/accounts.contract.js +2 -0
  42. package/dist/contracts/accounts.contract.js.map +1 -1
  43. package/dist/contracts/agent.contract.d.ts +1226 -12
  44. package/dist/contracts/agent.contract.d.ts.map +1 -1
  45. package/dist/contracts/agents.contract.d.ts +2665 -733
  46. package/dist/contracts/agents.contract.d.ts.map +1 -1
  47. package/dist/contracts/agents.contract.js +35 -5
  48. package/dist/contracts/agents.contract.js.map +1 -1
  49. package/dist/contracts/automations.contract.d.ts +90 -8
  50. package/dist/contracts/automations.contract.d.ts.map +1 -1
  51. package/dist/contracts/automations.contract.js +1 -0
  52. package/dist/contracts/automations.contract.js.map +1 -1
  53. package/dist/contracts/capabilities.contract.d.ts +49 -0
  54. package/dist/contracts/capabilities.contract.d.ts.map +1 -1
  55. package/dist/contracts/capabilities.contract.js +24 -1
  56. package/dist/contracts/capabilities.contract.js.map +1 -1
  57. package/dist/contracts/ci.contract.d.ts +222 -95
  58. package/dist/contracts/ci.contract.d.ts.map +1 -1
  59. package/dist/contracts/ci.contract.js +87 -26
  60. package/dist/contracts/ci.contract.js.map +1 -1
  61. package/dist/contracts/device-ci-runners.contract.d.ts +108 -0
  62. package/dist/contracts/device-ci-runners.contract.d.ts.map +1 -0
  63. package/dist/contracts/device-ci-runners.contract.js +56 -0
  64. package/dist/contracts/device-ci-runners.contract.js.map +1 -0
  65. package/dist/contracts/device-stacks.contract.d.ts +129 -0
  66. package/dist/contracts/device-stacks.contract.d.ts.map +1 -0
  67. package/dist/contracts/device-stacks.contract.js +66 -0
  68. package/dist/contracts/device-stacks.contract.js.map +1 -0
  69. package/dist/contracts/device.contract.d.ts +74 -0
  70. package/dist/contracts/device.contract.d.ts.map +1 -1
  71. package/dist/contracts/extensions.contract.d.ts +604 -0
  72. package/dist/contracts/extensions.contract.d.ts.map +1 -1
  73. package/dist/contracts/extensions.contract.js +11 -2
  74. package/dist/contracts/extensions.contract.js.map +1 -1
  75. package/dist/contracts/git.contract.d.ts +7 -0
  76. package/dist/contracts/git.contract.d.ts.map +1 -1
  77. package/dist/contracts/needs.contract.d.ts +1097 -18
  78. package/dist/contracts/needs.contract.d.ts.map +1 -1
  79. package/dist/contracts/offload.contract.d.ts +25 -0
  80. package/dist/contracts/offload.contract.d.ts.map +1 -1
  81. package/dist/contracts/ports.contract.d.ts +8 -0
  82. package/dist/contracts/ports.contract.d.ts.map +1 -1
  83. package/dist/contracts/ports.contract.js +6 -5
  84. package/dist/contracts/ports.contract.js.map +1 -1
  85. package/dist/contracts/remote.contract.d.ts +1 -0
  86. package/dist/contracts/remote.contract.d.ts.map +1 -1
  87. package/dist/contracts/runner.contract.d.ts +1203 -9
  88. package/dist/contracts/runner.contract.d.ts.map +1 -1
  89. package/dist/contracts/runner.contract.js +49 -2
  90. package/dist/contracts/runner.contract.js.map +1 -1
  91. package/dist/contracts/runners.contract.d.ts +16 -0
  92. package/dist/contracts/runners.contract.d.ts.map +1 -0
  93. package/dist/contracts/runners.contract.js +15 -0
  94. package/dist/contracts/runners.contract.js.map +1 -0
  95. package/dist/contracts/safety.contract.d.ts.map +1 -1
  96. package/dist/contracts/safety.contract.js +1 -0
  97. package/dist/contracts/safety.contract.js.map +1 -1
  98. package/dist/contracts/seal.contract.d.ts +100 -0
  99. package/dist/contracts/seal.contract.d.ts.map +1 -1
  100. package/dist/contracts/secrets.contract.d.ts +15 -0
  101. package/dist/contracts/secrets.contract.d.ts.map +1 -1
  102. package/dist/contracts/secrets.contract.js +27 -1
  103. package/dist/contracts/secrets.contract.js.map +1 -1
  104. package/dist/contracts/sessions.contract.d.ts +159 -2
  105. package/dist/contracts/sessions.contract.d.ts.map +1 -1
  106. package/dist/contracts/settings.contract.d.ts +59 -42
  107. package/dist/contracts/settings.contract.d.ts.map +1 -1
  108. package/dist/contracts/settings.contract.js +19 -0
  109. package/dist/contracts/settings.contract.js.map +1 -1
  110. package/dist/contracts/skills.contract.d.ts +6 -0
  111. package/dist/contracts/skills.contract.d.ts.map +1 -1
  112. package/dist/contracts/stack-grants.contract.d.ts +418 -0
  113. package/dist/contracts/stack-grants.contract.d.ts.map +1 -0
  114. package/dist/contracts/stack-grants.contract.js +46 -0
  115. package/dist/contracts/stack-grants.contract.js.map +1 -0
  116. package/dist/contracts/system.contract.d.ts +516 -69
  117. package/dist/contracts/system.contract.d.ts.map +1 -1
  118. package/dist/contracts/system.contract.js +26 -45
  119. package/dist/contracts/system.contract.js.map +1 -1
  120. package/dist/contracts/usage.contract.d.ts +3 -0
  121. package/dist/contracts/usage.contract.d.ts.map +1 -1
  122. package/dist/contracts/workspace.contract.d.ts +0 -55
  123. package/dist/contracts/workspace.contract.d.ts.map +1 -1
  124. package/dist/contracts/workspace.contract.js +0 -19
  125. package/dist/contracts/workspace.contract.js.map +1 -1
  126. package/dist/events/agent-events.d.ts +615 -8
  127. package/dist/events/agent-events.d.ts.map +1 -1
  128. package/dist/events/agent-events.js +2 -2
  129. package/dist/events/agent-events.js.map +1 -1
  130. package/dist/events/agent-transcript.d.ts +159 -2
  131. package/dist/events/agent-transcript.d.ts.map +1 -1
  132. package/dist/events/agent-words.d.ts +5 -0
  133. package/dist/events/agent-words.d.ts.map +1 -1
  134. package/dist/events/agent-words.js +22 -2
  135. package/dist/events/agent-words.js.map +1 -1
  136. package/dist/events/child-news.d.ts +32 -0
  137. package/dist/events/child-news.d.ts.map +1 -0
  138. package/dist/events/child-news.js +171 -0
  139. package/dist/events/child-news.js.map +1 -0
  140. package/dist/events/prompt-origins.d.ts +42 -0
  141. package/dist/events/prompt-origins.d.ts.map +1 -1
  142. package/dist/events/prompt-origins.js +28 -0
  143. package/dist/events/prompt-origins.js.map +1 -1
  144. package/dist/events/refusal-incidents.d.ts +1 -0
  145. package/dist/events/refusal-incidents.d.ts.map +1 -1
  146. package/dist/events/refusal-incidents.js +42 -19
  147. package/dist/events/refusal-incidents.js.map +1 -1
  148. package/dist/events/requests.d.ts +14 -0
  149. package/dist/events/requests.d.ts.map +1 -1
  150. package/dist/events/requests.js +12 -0
  151. package/dist/events/requests.js.map +1 -1
  152. package/dist/events/system-events.d.ts +98 -0
  153. package/dist/events/system-events.d.ts.map +1 -1
  154. package/dist/events/transcript.d.ts +799 -10
  155. package/dist/events/transcript.d.ts.map +1 -1
  156. package/dist/events/transcript.js +2 -1
  157. package/dist/events/transcript.js.map +1 -1
  158. package/dist/ids/conversation-ids.d.ts +1 -0
  159. package/dist/ids/conversation-ids.d.ts.map +1 -1
  160. package/dist/ids/conversation-ids.js +2 -1
  161. package/dist/ids/conversation-ids.js.map +1 -1
  162. package/dist/ids/project-id.d.ts.map +1 -1
  163. package/dist/ids/project-id.js +4 -4
  164. package/dist/ids/project-id.js.map +1 -1
  165. package/dist/ids/run-row-ids.d.ts +8 -0
  166. package/dist/ids/run-row-ids.d.ts.map +1 -0
  167. package/dist/ids/run-row-ids.js +32 -0
  168. package/dist/ids/run-row-ids.js.map +1 -0
  169. package/dist/index.d.ts +4 -4
  170. package/dist/index.d.ts.map +1 -1
  171. package/dist/index.js +4 -4
  172. package/dist/index.js.map +1 -1
  173. package/dist/models/agent-catalog.d.ts.map +1 -1
  174. package/dist/models/agent-catalog.js +3 -2
  175. package/dist/models/agent-catalog.js.map +1 -1
  176. package/dist/models/agent-lanes.d.ts.map +1 -1
  177. package/dist/models/agent-lanes.js +4 -1
  178. package/dist/models/agent-lanes.js.map +1 -1
  179. package/dist/models/agent-runtimes.d.ts.map +1 -1
  180. package/dist/models/agent-runtimes.js +2 -2
  181. package/dist/models/agent-runtimes.js.map +1 -1
  182. package/dist/models/agent-standing.d.ts +6 -1
  183. package/dist/models/agent-standing.d.ts.map +1 -1
  184. package/dist/models/agent-standing.js +1 -0
  185. package/dist/models/agent-standing.js.map +1 -1
  186. package/dist/models/model-roles.d.ts +91 -37
  187. package/dist/models/model-roles.d.ts.map +1 -1
  188. package/dist/models/model-roles.js +106 -35
  189. package/dist/models/model-roles.js.map +1 -1
  190. package/dist/models/model-setups.d.ts +10 -8
  191. package/dist/models/model-setups.d.ts.map +1 -1
  192. package/dist/models/model-setups.js +15 -15
  193. package/dist/models/model-setups.js.map +1 -1
  194. package/dist/models/providers/provider-traits.d.ts +215 -0
  195. package/dist/models/providers/provider-traits.d.ts.map +1 -0
  196. package/dist/models/providers/provider-traits.js +60 -0
  197. package/dist/models/providers/provider-traits.js.map +1 -0
  198. package/dist/netd/browser-wire.d.ts +8 -0
  199. package/dist/netd/browser-wire.d.ts.map +1 -1
  200. package/dist/netd/browser-wire.js +5 -0
  201. package/dist/netd/browser-wire.js.map +1 -1
  202. package/dist/netd/generated/wire.d.ts +42 -1
  203. package/dist/netd/generated/wire.d.ts.map +1 -1
  204. package/dist/policy/admin/admin-grant.d.ts +21 -0
  205. package/dist/policy/admin/admin-grant.d.ts.map +1 -0
  206. package/dist/policy/admin/admin-grant.js +41 -0
  207. package/dist/policy/admin/admin-grant.js.map +1 -0
  208. package/dist/policy/approvals-execution.d.ts +5 -2
  209. package/dist/policy/approvals-execution.d.ts.map +1 -1
  210. package/dist/policy/approvals-execution.js +3 -4
  211. package/dist/policy/approvals-execution.js.map +1 -1
  212. package/dist/policy/batch-runs.d.ts +1 -1
  213. package/dist/policy/batch-runs.d.ts.map +1 -1
  214. package/dist/policy/batch-runs.js +2 -1
  215. package/dist/policy/batch-runs.js.map +1 -1
  216. package/dist/policy/capabilities/capability-kinds.d.ts +268 -0
  217. package/dist/policy/capabilities/capability-kinds.d.ts.map +1 -0
  218. package/dist/policy/capabilities/capability-kinds.js +47 -0
  219. package/dist/policy/capabilities/capability-kinds.js.map +1 -0
  220. package/dist/policy/command-classes.d.ts.map +1 -1
  221. package/dist/policy/command-classes.js +3 -1
  222. package/dist/policy/command-classes.js.map +1 -1
  223. package/dist/policy/device-programs.d.ts +79 -2
  224. package/dist/policy/device-programs.d.ts.map +1 -1
  225. package/dist/policy/device-programs.js +15 -16
  226. package/dist/policy/device-programs.js.map +1 -1
  227. package/dist/policy/message-limits.d.ts.map +1 -1
  228. package/dist/policy/message-limits.js.map +1 -1
  229. package/dist/policy/org-locks.d.ts +1 -1
  230. package/dist/policy/org-locks.d.ts.map +1 -1
  231. package/dist/policy/org-locks.js +1 -0
  232. package/dist/policy/org-locks.js.map +1 -1
  233. package/dist/policy/reserved-servers.d.ts.map +1 -1
  234. package/dist/policy/reserved-servers.js +5 -1
  235. package/dist/policy/reserved-servers.js.map +1 -1
  236. package/dist/policy/role-capability.d.ts.map +1 -1
  237. package/dist/policy/role-capability.js +2 -1
  238. package/dist/policy/role-capability.js.map +1 -1
  239. package/dist/policy/shell/command-normalise.d.ts +10 -0
  240. package/dist/policy/shell/command-normalise.d.ts.map +1 -0
  241. package/dist/policy/shell/command-normalise.js +153 -0
  242. package/dist/policy/shell/command-normalise.js.map +1 -0
  243. package/dist/policy/shell/workspace-root-exclude.d.ts +4 -0
  244. package/dist/policy/shell/workspace-root-exclude.d.ts.map +1 -0
  245. package/dist/policy/shell/workspace-root-exclude.js +4 -0
  246. package/dist/policy/shell/workspace-root-exclude.js.map +1 -0
  247. package/dist/protocol/doors/listener-protocol.d.ts +11 -0
  248. package/dist/protocol/doors/listener-protocol.d.ts.map +1 -1
  249. package/dist/protocol/doors/listener-protocol.js +5 -0
  250. package/dist/protocol/doors/listener-protocol.js.map +1 -1
  251. package/dist/protocol/doors/loopback-proof.d.ts +8 -0
  252. package/dist/protocol/doors/loopback-proof.d.ts.map +1 -0
  253. package/dist/protocol/doors/loopback-proof.js +11 -0
  254. package/dist/protocol/doors/loopback-proof.js.map +1 -0
  255. package/dist/protocol/doors/pass-scopes.d.ts +4 -0
  256. package/dist/protocol/doors/pass-scopes.d.ts.map +1 -0
  257. package/dist/protocol/doors/pass-scopes.js +3 -0
  258. package/dist/protocol/doors/pass-scopes.js.map +1 -0
  259. package/dist/protocol/doors/runner-protocol.d.ts +187 -0
  260. package/dist/protocol/doors/runner-protocol.d.ts.map +1 -1
  261. package/dist/protocol/doors/runner-protocol.js +48 -1
  262. package/dist/protocol/doors/runner-protocol.js.map +1 -1
  263. package/dist/protocol/doors/sandbox-pass.d.ts +19 -2
  264. package/dist/protocol/doors/sandbox-pass.d.ts.map +1 -1
  265. package/dist/protocol/doors/sandbox-pass.js +42 -10
  266. package/dist/protocol/doors/sandbox-pass.js.map +1 -1
  267. package/dist/protocol/doors/webext-links.d.ts.map +1 -1
  268. package/dist/protocol/doors/webext-links.js.map +1 -1
  269. package/dist/protocol/member-reach.d.ts +6 -0
  270. package/dist/protocol/member-reach.d.ts.map +1 -1
  271. package/dist/protocol/member-reach.js +24 -0
  272. package/dist/protocol/member-reach.js.map +1 -1
  273. package/dist/protocol/peer-mcp-server.d.ts +2 -0
  274. package/dist/protocol/peer-mcp-server.d.ts.map +1 -1
  275. package/dist/protocol/peer-mcp-server.js +1 -0
  276. package/dist/protocol/peer-mcp-server.js.map +1 -1
  277. package/dist/protocol/raw/extension-protocol.d.ts +518 -0
  278. package/dist/protocol/raw/extension-protocol.d.ts.map +1 -1
  279. package/dist/protocol/raw/extension-protocol.js +276 -0
  280. package/dist/protocol/raw/extension-protocol.js.map +1 -1
  281. package/dist/protocol/raw/raw-json-routes.d.ts +572 -0
  282. package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -1
  283. package/dist/protocol/raw/raw-json-routes.js +25 -2
  284. package/dist/protocol/raw/raw-json-routes.js.map +1 -1
  285. package/dist/protocol/raw/raw-routes.d.ts +245 -3
  286. package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
  287. package/dist/protocol/raw/raw-routes.js +79 -36
  288. package/dist/protocol/raw/raw-routes.js.map +1 -1
  289. package/dist/protocol/route-meta.d.ts.map +1 -1
  290. package/dist/protocol/route-meta.js.map +1 -1
  291. package/dist/schemas/account-routes.d.ts +176 -0
  292. package/dist/schemas/account-routes.d.ts.map +1 -0
  293. package/dist/schemas/account-routes.js +73 -0
  294. package/dist/schemas/account-routes.js.map +1 -0
  295. package/dist/schemas/activity.d.ts.map +1 -1
  296. package/dist/schemas/activity.js.map +1 -1
  297. package/dist/schemas/agent-background.d.ts +48 -0
  298. package/dist/schemas/agent-background.d.ts.map +1 -0
  299. package/dist/schemas/agent-background.js +63 -0
  300. package/dist/schemas/agent-background.js.map +1 -0
  301. package/dist/schemas/agent-land.d.ts +7 -0
  302. package/dist/schemas/agent-land.d.ts.map +1 -1
  303. package/dist/schemas/agent-land.js +11 -0
  304. package/dist/schemas/agent-land.js.map +1 -1
  305. package/dist/schemas/agent.d.ts +4 -0
  306. package/dist/schemas/agent.d.ts.map +1 -1
  307. package/dist/schemas/agent.js +4 -2
  308. package/dist/schemas/agent.js.map +1 -1
  309. package/dist/schemas/agents-list.d.ts +40 -0
  310. package/dist/schemas/agents-list.d.ts.map +1 -1
  311. package/dist/schemas/agents.d.ts +668 -17
  312. package/dist/schemas/agents.d.ts.map +1 -1
  313. package/dist/schemas/agents.js +16 -41
  314. package/dist/schemas/agents.js.map +1 -1
  315. package/dist/schemas/auto-approve.d.ts +12 -0
  316. package/dist/schemas/auto-approve.d.ts.map +1 -0
  317. package/dist/schemas/auto-approve.js +12 -0
  318. package/dist/schemas/auto-approve.js.map +1 -0
  319. package/dist/schemas/automations.d.ts +170 -27
  320. package/dist/schemas/automations.d.ts.map +1 -1
  321. package/dist/schemas/automations.js +26 -34
  322. package/dist/schemas/automations.js.map +1 -1
  323. package/dist/schemas/bridge-heads.d.ts +57 -0
  324. package/dist/schemas/bridge-heads.d.ts.map +1 -0
  325. package/dist/schemas/bridge-heads.js +22 -0
  326. package/dist/schemas/bridge-heads.js.map +1 -0
  327. package/dist/schemas/capabilities.d.ts +21 -0
  328. package/dist/schemas/capabilities.d.ts.map +1 -1
  329. package/dist/schemas/capabilities.js +6 -0
  330. package/dist/schemas/capabilities.js.map +1 -1
  331. package/dist/schemas/checkout-hooks.d.ts +24 -0
  332. package/dist/schemas/checkout-hooks.d.ts.map +1 -0
  333. package/dist/schemas/checkout-hooks.js +23 -0
  334. package/dist/schemas/checkout-hooks.js.map +1 -0
  335. package/dist/schemas/ci-deployments.d.ts +30 -0
  336. package/dist/schemas/ci-deployments.d.ts.map +1 -0
  337. package/dist/schemas/ci-deployments.js +18 -0
  338. package/dist/schemas/ci-deployments.js.map +1 -0
  339. package/dist/schemas/ci-fleet.d.ts +216 -0
  340. package/dist/schemas/ci-fleet.d.ts.map +1 -0
  341. package/dist/schemas/ci-fleet.js +87 -0
  342. package/dist/schemas/ci-fleet.js.map +1 -0
  343. package/dist/schemas/ci.d.ts +348 -21
  344. package/dist/schemas/ci.d.ts.map +1 -1
  345. package/dist/schemas/ci.js +110 -19
  346. package/dist/schemas/ci.js.map +1 -1
  347. package/dist/schemas/command-run.d.ts +29 -0
  348. package/dist/schemas/command-run.d.ts.map +1 -0
  349. package/dist/schemas/command-run.js +20 -0
  350. package/dist/schemas/command-run.js.map +1 -0
  351. package/dist/schemas/connection-hub.d.ts +3 -1
  352. package/dist/schemas/connection-hub.d.ts.map +1 -1
  353. package/dist/schemas/connection-hub.js +2 -1
  354. package/dist/schemas/connection-hub.js.map +1 -1
  355. package/dist/schemas/context-continues.d.ts.map +1 -1
  356. package/dist/schemas/context-continues.js +2 -2
  357. package/dist/schemas/context-continues.js.map +1 -1
  358. package/dist/schemas/data-protection.d.ts +15 -2
  359. package/dist/schemas/data-protection.d.ts.map +1 -1
  360. package/dist/schemas/data-protection.js +15 -23
  361. package/dist/schemas/data-protection.js.map +1 -1
  362. package/dist/schemas/device-stacks.d.ts +131 -0
  363. package/dist/schemas/device-stacks.d.ts.map +1 -1
  364. package/dist/schemas/device-stacks.js +81 -0
  365. package/dist/schemas/device-stacks.js.map +1 -1
  366. package/dist/schemas/devices.d.ts +137 -0
  367. package/dist/schemas/devices.d.ts.map +1 -1
  368. package/dist/schemas/devices.js +11 -2
  369. package/dist/schemas/devices.js.map +1 -1
  370. package/dist/schemas/environment.d.ts +1 -0
  371. package/dist/schemas/environment.d.ts.map +1 -1
  372. package/dist/schemas/environment.js +1 -0
  373. package/dist/schemas/environment.js.map +1 -1
  374. package/dist/schemas/extension-updates.d.ts +1186 -0
  375. package/dist/schemas/extension-updates.d.ts.map +1 -1
  376. package/dist/schemas/extension-updates.js +22 -4
  377. package/dist/schemas/extension-updates.js.map +1 -1
  378. package/dist/schemas/git/git.d.ts +13 -0
  379. package/dist/schemas/git/git.d.ts.map +1 -1
  380. package/dist/schemas/git/git.js +7 -7
  381. package/dist/schemas/git/git.js.map +1 -1
  382. package/dist/schemas/git/index-run.d.ts +1 -0
  383. package/dist/schemas/git/index-run.d.ts.map +1 -1
  384. package/dist/schemas/host-power.d.ts +76 -0
  385. package/dist/schemas/host-power.d.ts.map +1 -0
  386. package/dist/schemas/host-power.js +101 -0
  387. package/dist/schemas/host-power.js.map +1 -0
  388. package/dist/schemas/hosts.d.ts +365 -0
  389. package/dist/schemas/hosts.d.ts.map +1 -1
  390. package/dist/schemas/hosts.js +33 -1
  391. package/dist/schemas/hosts.js.map +1 -1
  392. package/dist/schemas/issues.d.ts +55 -225
  393. package/dist/schemas/issues.d.ts.map +1 -1
  394. package/dist/schemas/issues.js +21 -43
  395. package/dist/schemas/issues.js.map +1 -1
  396. package/dist/schemas/keyring-native.d.ts.map +1 -1
  397. package/dist/schemas/keyring-native.js +3 -1
  398. package/dist/schemas/keyring-native.js.map +1 -1
  399. package/dist/schemas/keyring.d.ts +1 -0
  400. package/dist/schemas/keyring.d.ts.map +1 -1
  401. package/dist/schemas/keyring.js +3 -1
  402. package/dist/schemas/keyring.js.map +1 -1
  403. package/dist/schemas/maintenance.d.ts.map +1 -1
  404. package/dist/schemas/maintenance.js.map +1 -1
  405. package/dist/schemas/members.d.ts.map +1 -1
  406. package/dist/schemas/members.js +2 -14
  407. package/dist/schemas/members.js.map +1 -1
  408. package/dist/schemas/metrics.d.ts +33 -0
  409. package/dist/schemas/metrics.d.ts.map +1 -1
  410. package/dist/schemas/metrics.js +26 -0
  411. package/dist/schemas/metrics.js.map +1 -1
  412. package/dist/schemas/need-kinds.d.ts +19 -0
  413. package/dist/schemas/need-kinds.d.ts.map +1 -0
  414. package/dist/schemas/need-kinds.js +7 -0
  415. package/dist/schemas/need-kinds.js.map +1 -0
  416. package/dist/schemas/needs.d.ts +868 -27
  417. package/dist/schemas/needs.d.ts.map +1 -1
  418. package/dist/schemas/needs.js +79 -9
  419. package/dist/schemas/needs.js.map +1 -1
  420. package/dist/schemas/offload.d.ts +61 -0
  421. package/dist/schemas/offload.d.ts.map +1 -1
  422. package/dist/schemas/offload.js +14 -1
  423. package/dist/schemas/offload.js.map +1 -1
  424. package/dist/schemas/outward-action.d.ts +39 -0
  425. package/dist/schemas/outward-action.d.ts.map +1 -0
  426. package/dist/schemas/outward-action.js +40 -0
  427. package/dist/schemas/outward-action.js.map +1 -0
  428. package/dist/schemas/ports.d.ts +4 -0
  429. package/dist/schemas/ports.d.ts.map +1 -1
  430. package/dist/schemas/ports.js +3 -0
  431. package/dist/schemas/ports.js.map +1 -1
  432. package/dist/schemas/providers/capacity.d.ts +6 -0
  433. package/dist/schemas/providers/capacity.d.ts.map +1 -1
  434. package/dist/schemas/providers/plan-limits.d.ts +1 -0
  435. package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
  436. package/dist/schemas/providers/plan-limits.js +1 -0
  437. package/dist/schemas/providers/plan-limits.js.map +1 -1
  438. package/dist/schemas/providers/refusals.d.ts +12 -0
  439. package/dist/schemas/providers/refusals.d.ts.map +1 -1
  440. package/dist/schemas/providers/refusals.js +4 -0
  441. package/dist/schemas/providers/refusals.js.map +1 -1
  442. package/dist/schemas/remote-access.d.ts +1 -0
  443. package/dist/schemas/remote-access.d.ts.map +1 -1
  444. package/dist/schemas/remote-access.js +1 -0
  445. package/dist/schemas/remote-access.js.map +1 -1
  446. package/dist/schemas/run-targets.d.ts.map +1 -1
  447. package/dist/schemas/run-targets.js +2 -1
  448. package/dist/schemas/run-targets.js.map +1 -1
  449. package/dist/schemas/runner-views.d.ts +24 -0
  450. package/dist/schemas/runner-views.d.ts.map +1 -0
  451. package/dist/schemas/runner-views.js +16 -0
  452. package/dist/schemas/runner-views.js.map +1 -0
  453. package/dist/schemas/sandbox-reach.d.ts +157 -0
  454. package/dist/schemas/sandbox-reach.d.ts.map +1 -0
  455. package/dist/schemas/sandbox-reach.js +112 -0
  456. package/dist/schemas/sandbox-reach.js.map +1 -0
  457. package/dist/schemas/secrets.d.ts +17 -0
  458. package/dist/schemas/secrets.d.ts.map +1 -1
  459. package/dist/schemas/secrets.js +12 -5
  460. package/dist/schemas/secrets.js.map +1 -1
  461. package/dist/schemas/settings-history.d.ts +1 -1
  462. package/dist/schemas/settings-history.d.ts.map +1 -1
  463. package/dist/schemas/settings-history.js +5 -4
  464. package/dist/schemas/settings-history.js.map +1 -1
  465. package/dist/schemas/settings-savings.d.ts +58 -0
  466. package/dist/schemas/settings-savings.d.ts.map +1 -1
  467. package/dist/schemas/settings-savings.js +22 -0
  468. package/dist/schemas/settings-savings.js.map +1 -1
  469. package/dist/schemas/settings.d.ts +20 -42
  470. package/dist/schemas/settings.d.ts.map +1 -1
  471. package/dist/schemas/settings.js +24 -7
  472. package/dist/schemas/settings.js.map +1 -1
  473. package/dist/schemas/stack-grants.d.ts +60 -0
  474. package/dist/schemas/stack-grants.d.ts.map +1 -0
  475. package/dist/schemas/stack-grants.js +33 -0
  476. package/dist/schemas/stack-grants.js.map +1 -0
  477. package/dist/schemas/system.d.ts +19 -0
  478. package/dist/schemas/system.d.ts.map +1 -1
  479. package/dist/schemas/system.js +9 -0
  480. package/dist/schemas/system.js.map +1 -1
  481. package/dist/schemas/terminal.d.ts +46 -0
  482. package/dist/schemas/terminal.d.ts.map +1 -1
  483. package/dist/schemas/terminal.js +19 -0
  484. package/dist/schemas/terminal.js.map +1 -1
  485. package/dist/schemas/watch-sources.d.ts +72 -0
  486. package/dist/schemas/watch-sources.d.ts.map +1 -0
  487. package/dist/schemas/watch-sources.js +88 -0
  488. package/dist/schemas/watch-sources.js.map +1 -0
  489. package/dist/schemas/workspace/workspace-search.d.ts.map +1 -1
  490. package/dist/schemas/workspace/workspace-search.js +1 -1
  491. package/dist/schemas/workspace/workspace-search.js.map +1 -1
  492. package/dist/schemas/wsl-memory.d.ts +76 -0
  493. package/dist/schemas/wsl-memory.d.ts.map +1 -0
  494. package/dist/schemas/wsl-memory.js +36 -0
  495. package/dist/schemas/wsl-memory.js.map +1 -0
  496. package/dist/state/auth-state.d.ts.map +1 -1
  497. package/dist/state/auth-state.js +3 -0
  498. package/dist/state/auth-state.js.map +1 -1
  499. package/dist/state/definition.d.ts +16 -8
  500. package/dist/state/definition.d.ts.map +1 -1
  501. package/dist/state/runtime-state.d.ts +1 -1
  502. package/dist/state/runtime-state.d.ts.map +1 -1
  503. package/dist/state/runtime-state.js +1 -1
  504. package/dist/state/runtime-state.js.map +1 -1
  505. package/dist/state/workspace-state.d.ts +9 -4
  506. package/dist/state/workspace-state.d.ts.map +1 -1
  507. package/dist/state/workspace-state.js +9 -4
  508. package/dist/state/workspace-state.js.map +1 -1
  509. package/dist/sync/workspace-sync-ignores.d.ts +4 -0
  510. package/dist/sync/workspace-sync-ignores.d.ts.map +1 -0
  511. package/dist/sync/workspace-sync-ignores.js +75 -0
  512. package/dist/sync/workspace-sync-ignores.js.map +1 -0
  513. package/dist/text/pages.d.ts.map +1 -1
  514. package/dist/text/pages.js +17 -4
  515. package/dist/text/pages.js.map +1 -1
  516. package/dist/text/transcript-fold.js +2 -2
  517. package/dist/text/transcript-fold.js.map +1 -1
  518. package/package.json +5 -5
  519. package/src/app-routes/app-pages.ts +3 -0
  520. package/src/app-routes/index.ts +1 -0
  521. package/src/app-routes/return-path.ts +16 -0
  522. package/src/briefs/agent-ask.ts +23 -0
  523. package/src/{chores/extension-update.ts → briefs/extension-update-brief.ts} +3 -2
  524. package/src/chores/digest.ts +1 -0
  525. package/src/chores/index.ts +13 -2
  526. package/src/chores/prompt.ts +3 -18
  527. package/src/chores/stack.ts +1 -0
  528. package/src/chores/verdict.ts +1 -0
  529. package/src/chores/workspace-scope.ts +3 -8
  530. package/src/contracts/accounts.contract.ts +3 -0
  531. package/src/contracts/agents.contract.ts +41 -5
  532. package/src/contracts/automations.contract.ts +2 -0
  533. package/src/contracts/capabilities.contract.ts +31 -2
  534. package/src/contracts/ci.contract.ts +119 -37
  535. package/src/contracts/device-ci-runners.contract.ts +81 -0
  536. package/src/contracts/device-stacks.contract.ts +97 -0
  537. package/src/contracts/extensions.contract.ts +12 -1
  538. package/src/contracts/ports.contract.ts +6 -6
  539. package/src/contracts/runner.contract.ts +117 -3
  540. package/src/contracts/runners.contract.ts +19 -0
  541. package/src/contracts/safety.contract.ts +2 -0
  542. package/src/contracts/secrets.contract.ts +39 -0
  543. package/src/contracts/settings.contract.ts +26 -0
  544. package/src/contracts/stack-grants.contract.ts +51 -0
  545. package/src/contracts/system.contract.ts +36 -62
  546. package/src/contracts/workspace.contract.ts +0 -22
  547. package/src/events/agent-events.ts +3 -2
  548. package/src/events/agent-words.test.ts +19 -1
  549. package/src/events/agent-words.ts +36 -2
  550. package/src/events/child-news.test.ts +91 -0
  551. package/src/events/child-news.ts +269 -0
  552. package/src/events/prompt-origins.ts +35 -0
  553. package/src/events/refusal-incidents.ts +60 -19
  554. package/src/events/requests.ts +18 -0
  555. package/src/events/transcript.ts +10 -1
  556. package/src/ids/conversation-ids.test.ts +3 -1
  557. package/src/ids/conversation-ids.ts +6 -4
  558. package/src/ids/project-dir.test.ts +1 -1
  559. package/src/ids/project-dir.ts +1 -1
  560. package/src/ids/project-id.test.ts +14 -0
  561. package/src/ids/project-id.ts +6 -4
  562. package/src/ids/run-row-ids.test.ts +38 -0
  563. package/src/ids/run-row-ids.ts +49 -0
  564. package/src/index.ts +6 -6
  565. package/src/models/agent-catalog.test.ts +7 -4
  566. package/src/models/agent-catalog.ts +3 -2
  567. package/src/models/agent-lanes.ts +8 -1
  568. package/src/models/agent-runtimes.ts +7 -6
  569. package/src/models/agent-standing.ts +13 -0
  570. package/src/models/model-roles.test.ts +61 -4
  571. package/src/models/model-roles.ts +153 -49
  572. package/src/models/model-setups.ts +49 -26
  573. package/src/models/provider-specs.test.ts +2 -2
  574. package/src/models/providers/provider-traits.test.ts +71 -0
  575. package/src/models/providers/provider-traits.ts +144 -0
  576. package/src/netd/browser-wire.ts +13 -0
  577. package/src/netd/generated/browser-wire.json +10 -0
  578. package/src/netd/generated/netd-wire.json +224 -1
  579. package/src/netd/generated/wire.ts +18 -6
  580. package/src/netd/wire-manifests.test.ts +16 -0
  581. package/src/policy/admin/admin-grant.ts +69 -0
  582. package/src/policy/approvals-execution.ts +11 -6
  583. package/src/policy/batch-runs.ts +2 -2
  584. package/src/policy/capabilities/capability-kinds.test.ts +112 -0
  585. package/src/policy/capabilities/capability-kinds.ts +110 -0
  586. package/src/policy/command-classes.ts +5 -3
  587. package/src/policy/credential-material.ts +1 -1
  588. package/src/policy/device-programs.ts +29 -20
  589. package/src/policy/message-limits.ts +8 -4
  590. package/src/policy/org-locks.ts +1 -0
  591. package/src/policy/overlay-lint.ts +1 -1
  592. package/src/policy/reserved-servers.ts +5 -1
  593. package/src/policy/role-capability.ts +3 -1
  594. package/src/policy/shell/command-normalise.test.ts +72 -0
  595. package/src/policy/shell/command-normalise.ts +212 -0
  596. package/src/policy/shell/workspace-root-exclude.ts +11 -0
  597. package/src/policy/tests/admin-grant.test.ts +35 -0
  598. package/src/policy/tests/command-classes.test.ts +41 -0
  599. package/src/protocol/doors/listener-protocol.ts +32 -1
  600. package/src/protocol/doors/loopback-proof.ts +34 -0
  601. package/src/protocol/doors/pass-scopes.ts +12 -0
  602. package/src/protocol/doors/runner-protocol.ts +133 -4
  603. package/src/protocol/doors/sandbox-pass.test.ts +33 -1
  604. package/src/protocol/doors/sandbox-pass.ts +92 -16
  605. package/src/protocol/doors/webext-links.ts +3 -1
  606. package/src/protocol/ingress-contract.fixture.json +5 -1
  607. package/src/protocol/member-reach.test.ts +40 -1
  608. package/src/protocol/member-reach.ts +40 -0
  609. package/src/protocol/peer-mcp-server.ts +6 -0
  610. package/src/protocol/raw/extension-protocol.ts +469 -2
  611. package/src/protocol/raw/raw-json-routes.ts +45 -1
  612. package/src/protocol/raw/raw-routes.ts +133 -40
  613. package/src/protocol/route-meta.ts +4 -1
  614. package/src/schemas/account-routes.ts +126 -0
  615. package/src/schemas/activity.ts +6 -4
  616. package/src/schemas/agent-background.ts +104 -0
  617. package/src/schemas/agent-land.ts +21 -2
  618. package/src/schemas/agent.test.ts +3 -0
  619. package/src/schemas/agent.ts +10 -4
  620. package/src/schemas/agents.ts +26 -65
  621. package/src/schemas/auto-approve.ts +31 -0
  622. package/src/schemas/automations.ts +51 -42
  623. package/src/schemas/bridge-heads.ts +33 -0
  624. package/src/schemas/capabilities.ts +23 -0
  625. package/src/schemas/checkout-hooks.ts +44 -0
  626. package/src/schemas/ci-deployments.ts +26 -0
  627. package/src/schemas/ci-fleet.ts +180 -0
  628. package/src/schemas/ci.ts +185 -45
  629. package/src/schemas/command-run.ts +44 -0
  630. package/src/schemas/compose-overlay.test.ts +1 -1
  631. package/src/schemas/compose-overlay.ts +1 -1
  632. package/src/schemas/connection-hub.ts +4 -2
  633. package/src/schemas/context-continues.ts +6 -3
  634. package/src/schemas/data-protection.ts +28 -34
  635. package/src/schemas/device-stacks.ts +162 -3
  636. package/src/schemas/device-swaps.test.ts +1 -1
  637. package/src/schemas/devices.ts +31 -2
  638. package/src/schemas/egress-private.test.ts +1 -1
  639. package/src/schemas/environment.ts +4 -0
  640. package/src/schemas/extension-updates.ts +35 -7
  641. package/src/schemas/git/git.ts +14 -14
  642. package/src/schemas/host-power.test.ts +53 -0
  643. package/src/schemas/host-power.ts +173 -0
  644. package/src/schemas/hosts.test.ts +32 -0
  645. package/src/schemas/hosts.ts +86 -2
  646. package/src/schemas/intentic-os.ts +2 -2
  647. package/src/schemas/issues.ts +43 -86
  648. package/src/schemas/keyring-native.test.ts +11 -3
  649. package/src/schemas/keyring-native.ts +3 -1
  650. package/src/schemas/keyring.ts +6 -1
  651. package/src/schemas/maintenance.ts +4 -3
  652. package/src/schemas/members.ts +4 -16
  653. package/src/schemas/metrics.test.ts +9 -1
  654. package/src/schemas/metrics.ts +43 -0
  655. package/src/schemas/need-kinds.ts +13 -0
  656. package/src/schemas/needs.ts +118 -14
  657. package/src/schemas/offload.ts +37 -3
  658. package/src/schemas/outward-action.ts +47 -0
  659. package/src/schemas/ports.ts +5 -0
  660. package/src/schemas/providers/plan-limits.ts +1 -0
  661. package/src/schemas/providers/refusals.ts +9 -0
  662. package/src/schemas/remote-access.ts +3 -0
  663. package/src/schemas/run-targets.ts +2 -1
  664. package/src/schemas/runner-views.ts +27 -0
  665. package/src/schemas/sandbox-reach.ts +161 -0
  666. package/src/schemas/secrets.ts +23 -5
  667. package/src/schemas/settings-history.ts +10 -5
  668. package/src/schemas/settings-savings.ts +29 -0
  669. package/src/schemas/settings.test.ts +24 -23
  670. package/src/schemas/settings.ts +55 -22
  671. package/src/schemas/stack-grants.ts +59 -0
  672. package/src/schemas/state-plan.test.ts +1 -1
  673. package/src/schemas/state-plan.ts +2 -2
  674. package/src/schemas/system.ts +16 -1
  675. package/src/schemas/terminal.ts +28 -0
  676. package/src/schemas/updates.test.ts +1 -1
  677. package/src/schemas/updates.ts +1 -1
  678. package/src/schemas/version-seam.test.ts +4 -1
  679. package/src/schemas/watch-sources.ts +127 -0
  680. package/src/schemas/workspace/workspace-search.ts +5 -2
  681. package/src/schemas/wsl-memory.ts +59 -0
  682. package/src/state/auth-state.ts +10 -0
  683. package/src/state/runtime-state.test.ts +3 -2
  684. package/src/state/runtime-state.ts +3 -1
  685. package/src/state/update-probation.ts +1 -1
  686. package/src/state/ways-back.test.ts +1 -1
  687. package/src/state/workspace-state.test.ts +2 -0
  688. package/src/state/workspace-state.ts +21 -21
  689. package/src/sync/workspace-sync-ignores.test.ts +48 -0
  690. package/src/sync/workspace-sync-ignores.ts +143 -0
  691. package/src/text/embed.ts +2 -2
  692. package/src/text/pages.ts +34 -7
  693. package/src/text/transcript-fold.test.ts +40 -2
  694. package/src/text/transcript-fold.ts +2 -2
  695. package/dist/chores/extension-update.d.ts.map +0 -1
  696. package/dist/chores/extension-update.js.map +0 -1
  697. package/dist/contracts/chores.contract.d.ts +0 -213
  698. package/dist/contracts/chores.contract.d.ts.map +0 -1
  699. package/dist/contracts/chores.contract.js +0 -32
  700. package/dist/contracts/chores.contract.js.map +0 -1
  701. package/dist/contracts/issues.contract.d.ts +0 -95
  702. package/dist/contracts/issues.contract.d.ts.map +0 -1
  703. package/dist/contracts/issues.contract.js +0 -50
  704. package/dist/contracts/issues.contract.js.map +0 -1
  705. package/src/chores/chores.test.ts +0 -24
  706. package/src/chores/digest.test.ts +0 -27
  707. package/src/chores/probes.integration.test.ts +0 -494
  708. package/src/chores/stack.test.ts +0 -140
  709. package/src/chores/verdict.test.ts +0 -761
  710. package/src/contracts/chores.contract.ts +0 -39
  711. package/src/contracts/issues.contract.ts +0 -53
@@ -65,6 +65,7 @@ export declare const agentContract: {
65
65
  "subagent-sizing": "subagent-sizing";
66
66
  "workflow-fix": "workflow-fix";
67
67
  }>>;
68
+ job: import("zod").ZodOptional<import("zod").ZodString>;
68
69
  origin: import("zod").ZodOptional<import("zod").ZodObject<{
69
70
  automationId: import("zod").ZodString;
70
71
  provider: import("zod").ZodString;
@@ -249,8 +250,10 @@ export declare const agentContract: {
249
250
  displayName?: string | undefined;
250
251
  description?: string | undefined;
251
252
  reason?: string | undefined;
253
+ outside?: string | undefined;
252
254
  path?: string | undefined;
253
255
  alwaysLabel?: string | undefined;
256
+ keepLabel?: string | undefined;
254
257
  alwaysAsks?: true | undefined;
255
258
  program?: {
256
259
  text: string;
@@ -273,6 +276,7 @@ export declare const agentContract: {
273
276
  child?: string | undefined;
274
277
  task?: string | undefined;
275
278
  message?: string | undefined;
279
+ headings?: string[] | undefined;
276
280
  on?: string | undefined;
277
281
  proposed?: {
278
282
  provider: string;
@@ -364,6 +368,7 @@ export declare const agentContract: {
364
368
  hint?: string | undefined;
365
369
  replace?: boolean | undefined;
366
370
  multiline?: boolean | undefined;
371
+ hosts?: string[] | undefined;
367
372
  } | {
368
373
  kind: "grant";
369
374
  subject: "capability" | "folder" | "shelf" | "site";
@@ -399,6 +404,10 @@ export declare const agentContract: {
399
404
  } | {
400
405
  kind: "event";
401
406
  dailyMax?: number | undefined;
407
+ signature?: {
408
+ scheme: "github" | "linear" | "sentry" | "standard-webhooks" | "stripe";
409
+ secret: string;
410
+ } | undefined;
402
411
  } | {
403
412
  kind: "listener";
404
413
  provider: string;
@@ -407,6 +416,7 @@ export declare const agentContract: {
407
416
  mentioned?: boolean | undefined;
408
417
  branch?: string | undefined;
409
418
  allowedOrigins?: string[] | undefined;
419
+ keyFromBrowsers?: boolean | undefined;
410
420
  } | {
411
421
  kind: "workspace";
412
422
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -426,6 +436,9 @@ export declare const agentContract: {
426
436
  kind: "url";
427
437
  url: string;
428
438
  select?: string | undefined;
439
+ } | {
440
+ [x: string]: string | boolean;
441
+ kind: string;
429
442
  } | undefined;
430
443
  fireOn?: "change" | "pass" | undefined;
431
444
  until?: "first-fire" | undefined;
@@ -437,6 +450,10 @@ export declare const agentContract: {
437
450
  conversationId: string;
438
451
  } | {
439
452
  kind: "notify";
453
+ } | {
454
+ kind: "extension";
455
+ extension: string;
456
+ handler: string;
440
457
  } | undefined;
441
458
  note?: string | undefined;
442
459
  prompt: string;
@@ -505,12 +522,109 @@ export declare const agentContract: {
505
522
  saw: string;
506
523
  at: number;
507
524
  } | undefined;
525
+ watchKind?: {
526
+ id: string;
527
+ label: string;
528
+ icon?: string | undefined;
529
+ logo?: string | undefined;
530
+ description: string;
531
+ sentence: string;
532
+ fields: {
533
+ key: string;
534
+ label: string;
535
+ type?: "switch" | "text" | undefined;
536
+ required?: boolean | undefined;
537
+ placeholder?: string | undefined;
538
+ hint?: string | undefined;
539
+ pattern?: string | undefined;
540
+ patternHint?: string | undefined;
541
+ maxLength?: number | undefined;
542
+ }[];
543
+ extension: string;
544
+ enabled: boolean;
545
+ } | undefined;
508
546
  } | {
509
547
  kind: "instruction";
510
548
  file: string;
511
549
  text: string;
512
550
  diff: string;
513
551
  creates?: boolean | undefined;
552
+ } | {
553
+ kind: "host-power";
554
+ device: string;
555
+ findings: {
556
+ id: string;
557
+ power?: "ac" | "dc" | undefined;
558
+ afterSeconds?: number | undefined;
559
+ action?: string | undefined;
560
+ window?: {
561
+ fromHour: number;
562
+ toHour: number;
563
+ } | undefined;
564
+ plans?: string[] | undefined;
565
+ fixable: boolean;
566
+ command?: string | undefined;
567
+ offers?: string[] | undefined;
568
+ pausedUntil?: number | undefined;
569
+ restartPending?: boolean | undefined;
570
+ comesBack?: "boot" | "sign-in" | undefined;
571
+ text: string;
572
+ }[];
573
+ dueAt?: number | undefined;
574
+ utcOffsetMinutes?: number | undefined;
575
+ } | {
576
+ kind: "wsl-memory";
577
+ device: string;
578
+ configPath: string;
579
+ fit: {
580
+ at: number;
581
+ windowMs: number;
582
+ readings: number;
583
+ totalBytes: number;
584
+ lowLineBytes: number;
585
+ underLowShare: number;
586
+ availableMedianBytes: number;
587
+ vmMedianBytes: number;
588
+ outsideBytes: number;
589
+ configuredGb?: number | undefined;
590
+ proposedGb: number;
591
+ atFloor: boolean;
592
+ capsOver?: {
593
+ name: string;
594
+ memoryBytes: number;
595
+ }[] | undefined;
596
+ text: string;
597
+ };
598
+ } | {
599
+ kind: "claim";
600
+ project: string;
601
+ heldBy?: string | undefined;
602
+ } | {
603
+ kind: "route";
604
+ target: string;
605
+ targetName: string;
606
+ person: string;
607
+ scopes: ("drop" | "read" | "report" | "task")[];
608
+ address?: string | undefined;
609
+ from?: string | undefined;
610
+ } | {
611
+ kind: "redirect";
612
+ target: string;
613
+ targetName: string;
614
+ address?: string | undefined;
615
+ person: string;
616
+ words: string;
617
+ clipped?: boolean | undefined;
618
+ attachments?: number | undefined;
619
+ project?: string | undefined;
620
+ } | {
621
+ kind: "deploy";
622
+ repo: string;
623
+ stack: string;
624
+ device: string;
625
+ deviceName?: string | undefined;
626
+ secrets: string[];
627
+ ungranted: string[];
514
628
  };
515
629
  title: string;
516
630
  why?: string | undefined;
@@ -538,6 +652,15 @@ export declare const agentContract: {
538
652
  review?: "review" | "test" | undefined;
539
653
  sent: string;
540
654
  } | undefined;
655
+ childNews?: {
656
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
657
+ from: string;
658
+ title?: string | undefined;
659
+ runner?: string | undefined;
660
+ model?: string | undefined;
661
+ cause?: string | undefined;
662
+ sent: string;
663
+ } | undefined;
541
664
  backgroundJob?: {
542
665
  id: string;
543
666
  label: string;
@@ -601,7 +724,7 @@ export declare const agentContract: {
601
724
  offer: {
602
725
  subject: string;
603
726
  kind: "capability" | "secret";
604
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
727
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
605
728
  detail?: string | undefined;
606
729
  why?: string | undefined;
607
730
  approvers: string[];
@@ -731,8 +854,10 @@ export declare const agentContract: {
731
854
  displayName?: string | undefined;
732
855
  description?: string | undefined;
733
856
  reason?: string | undefined;
857
+ outside?: string | undefined;
734
858
  path?: string | undefined;
735
859
  alwaysLabel?: string | undefined;
860
+ keepLabel?: string | undefined;
736
861
  alwaysAsks?: true | undefined;
737
862
  program?: {
738
863
  text: string;
@@ -755,6 +880,7 @@ export declare const agentContract: {
755
880
  child?: string | undefined;
756
881
  task?: string | undefined;
757
882
  message?: string | undefined;
883
+ headings?: string[] | undefined;
758
884
  on?: string | undefined;
759
885
  proposed?: {
760
886
  provider: string;
@@ -846,6 +972,7 @@ export declare const agentContract: {
846
972
  hint?: string | undefined;
847
973
  replace?: boolean | undefined;
848
974
  multiline?: boolean | undefined;
975
+ hosts?: string[] | undefined;
849
976
  } | {
850
977
  kind: "grant";
851
978
  subject: "capability" | "folder" | "shelf" | "site";
@@ -881,6 +1008,10 @@ export declare const agentContract: {
881
1008
  } | {
882
1009
  kind: "event";
883
1010
  dailyMax?: number | undefined;
1011
+ signature?: {
1012
+ scheme: "github" | "linear" | "sentry" | "standard-webhooks" | "stripe";
1013
+ secret: string;
1014
+ } | undefined;
884
1015
  } | {
885
1016
  kind: "listener";
886
1017
  provider: string;
@@ -889,6 +1020,7 @@ export declare const agentContract: {
889
1020
  mentioned?: boolean | undefined;
890
1021
  branch?: string | undefined;
891
1022
  allowedOrigins?: string[] | undefined;
1023
+ keyFromBrowsers?: boolean | undefined;
892
1024
  } | {
893
1025
  kind: "workspace";
894
1026
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -908,6 +1040,9 @@ export declare const agentContract: {
908
1040
  kind: "url";
909
1041
  url: string;
910
1042
  select?: string | undefined;
1043
+ } | {
1044
+ [x: string]: string | boolean;
1045
+ kind: string;
911
1046
  } | undefined;
912
1047
  fireOn?: "change" | "pass" | undefined;
913
1048
  until?: "first-fire" | undefined;
@@ -919,6 +1054,10 @@ export declare const agentContract: {
919
1054
  conversationId: string;
920
1055
  } | {
921
1056
  kind: "notify";
1057
+ } | {
1058
+ kind: "extension";
1059
+ extension: string;
1060
+ handler: string;
922
1061
  } | undefined;
923
1062
  note?: string | undefined;
924
1063
  prompt: string;
@@ -987,12 +1126,109 @@ export declare const agentContract: {
987
1126
  saw: string;
988
1127
  at: number;
989
1128
  } | undefined;
1129
+ watchKind?: {
1130
+ id: string;
1131
+ label: string;
1132
+ icon?: string | undefined;
1133
+ logo?: string | undefined;
1134
+ description: string;
1135
+ sentence: string;
1136
+ fields: {
1137
+ key: string;
1138
+ label: string;
1139
+ type?: "switch" | "text" | undefined;
1140
+ required?: boolean | undefined;
1141
+ placeholder?: string | undefined;
1142
+ hint?: string | undefined;
1143
+ pattern?: string | undefined;
1144
+ patternHint?: string | undefined;
1145
+ maxLength?: number | undefined;
1146
+ }[];
1147
+ extension: string;
1148
+ enabled: boolean;
1149
+ } | undefined;
990
1150
  } | {
991
1151
  kind: "instruction";
992
1152
  file: string;
993
1153
  text: string;
994
1154
  diff: string;
995
1155
  creates?: boolean | undefined;
1156
+ } | {
1157
+ kind: "host-power";
1158
+ device: string;
1159
+ findings: {
1160
+ id: string;
1161
+ power?: "ac" | "dc" | undefined;
1162
+ afterSeconds?: number | undefined;
1163
+ action?: string | undefined;
1164
+ window?: {
1165
+ fromHour: number;
1166
+ toHour: number;
1167
+ } | undefined;
1168
+ plans?: string[] | undefined;
1169
+ fixable: boolean;
1170
+ command?: string | undefined;
1171
+ offers?: string[] | undefined;
1172
+ pausedUntil?: number | undefined;
1173
+ restartPending?: boolean | undefined;
1174
+ comesBack?: "boot" | "sign-in" | undefined;
1175
+ text: string;
1176
+ }[];
1177
+ dueAt?: number | undefined;
1178
+ utcOffsetMinutes?: number | undefined;
1179
+ } | {
1180
+ kind: "wsl-memory";
1181
+ device: string;
1182
+ configPath: string;
1183
+ fit: {
1184
+ at: number;
1185
+ windowMs: number;
1186
+ readings: number;
1187
+ totalBytes: number;
1188
+ lowLineBytes: number;
1189
+ underLowShare: number;
1190
+ availableMedianBytes: number;
1191
+ vmMedianBytes: number;
1192
+ outsideBytes: number;
1193
+ configuredGb?: number | undefined;
1194
+ proposedGb: number;
1195
+ atFloor: boolean;
1196
+ capsOver?: {
1197
+ name: string;
1198
+ memoryBytes: number;
1199
+ }[] | undefined;
1200
+ text: string;
1201
+ };
1202
+ } | {
1203
+ kind: "claim";
1204
+ project: string;
1205
+ heldBy?: string | undefined;
1206
+ } | {
1207
+ kind: "route";
1208
+ target: string;
1209
+ targetName: string;
1210
+ person: string;
1211
+ scopes: ("drop" | "read" | "report" | "task")[];
1212
+ address?: string | undefined;
1213
+ from?: string | undefined;
1214
+ } | {
1215
+ kind: "redirect";
1216
+ target: string;
1217
+ targetName: string;
1218
+ address?: string | undefined;
1219
+ person: string;
1220
+ words: string;
1221
+ clipped?: boolean | undefined;
1222
+ attachments?: number | undefined;
1223
+ project?: string | undefined;
1224
+ } | {
1225
+ kind: "deploy";
1226
+ repo: string;
1227
+ stack: string;
1228
+ device: string;
1229
+ deviceName?: string | undefined;
1230
+ secrets: string[];
1231
+ ungranted: string[];
996
1232
  };
997
1233
  title: string;
998
1234
  why?: string | undefined;
@@ -1020,6 +1256,15 @@ export declare const agentContract: {
1020
1256
  review?: "review" | "test" | undefined;
1021
1257
  sent: string;
1022
1258
  } | undefined;
1259
+ childNews?: {
1260
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
1261
+ from: string;
1262
+ title?: string | undefined;
1263
+ runner?: string | undefined;
1264
+ model?: string | undefined;
1265
+ cause?: string | undefined;
1266
+ sent: string;
1267
+ } | undefined;
1023
1268
  backgroundJob?: {
1024
1269
  id: string;
1025
1270
  label: string;
@@ -1083,7 +1328,7 @@ export declare const agentContract: {
1083
1328
  offer: {
1084
1329
  subject: string;
1085
1330
  kind: "capability" | "secret";
1086
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
1331
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
1087
1332
  detail?: string | undefined;
1088
1333
  why?: string | undefined;
1089
1334
  approvers: string[];
@@ -1212,8 +1457,10 @@ export declare const agentContract: {
1212
1457
  displayName?: string | undefined;
1213
1458
  description?: string | undefined;
1214
1459
  reason?: string | undefined;
1460
+ outside?: string | undefined;
1215
1461
  path?: string | undefined;
1216
1462
  alwaysLabel?: string | undefined;
1463
+ keepLabel?: string | undefined;
1217
1464
  alwaysAsks?: true | undefined;
1218
1465
  program?: {
1219
1466
  text: string;
@@ -1236,6 +1483,7 @@ export declare const agentContract: {
1236
1483
  child?: string | undefined;
1237
1484
  task?: string | undefined;
1238
1485
  message?: string | undefined;
1486
+ headings?: string[] | undefined;
1239
1487
  on?: string | undefined;
1240
1488
  proposed?: {
1241
1489
  provider: string;
@@ -1327,6 +1575,7 @@ export declare const agentContract: {
1327
1575
  hint?: string | undefined;
1328
1576
  replace?: boolean | undefined;
1329
1577
  multiline?: boolean | undefined;
1578
+ hosts?: string[] | undefined;
1330
1579
  } | {
1331
1580
  kind: "grant";
1332
1581
  subject: "capability" | "folder" | "shelf" | "site";
@@ -1362,6 +1611,10 @@ export declare const agentContract: {
1362
1611
  } | {
1363
1612
  kind: "event";
1364
1613
  dailyMax?: number | undefined;
1614
+ signature?: {
1615
+ scheme: "github" | "linear" | "sentry" | "standard-webhooks" | "stripe";
1616
+ secret: string;
1617
+ } | undefined;
1365
1618
  } | {
1366
1619
  kind: "listener";
1367
1620
  provider: string;
@@ -1370,6 +1623,7 @@ export declare const agentContract: {
1370
1623
  mentioned?: boolean | undefined;
1371
1624
  branch?: string | undefined;
1372
1625
  allowedOrigins?: string[] | undefined;
1626
+ keyFromBrowsers?: boolean | undefined;
1373
1627
  } | {
1374
1628
  kind: "workspace";
1375
1629
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -1389,6 +1643,9 @@ export declare const agentContract: {
1389
1643
  kind: "url";
1390
1644
  url: string;
1391
1645
  select?: string | undefined;
1646
+ } | {
1647
+ [x: string]: string | boolean;
1648
+ kind: string;
1392
1649
  } | undefined;
1393
1650
  fireOn?: "change" | "pass" | undefined;
1394
1651
  until?: "first-fire" | undefined;
@@ -1400,6 +1657,10 @@ export declare const agentContract: {
1400
1657
  conversationId: string;
1401
1658
  } | {
1402
1659
  kind: "notify";
1660
+ } | {
1661
+ kind: "extension";
1662
+ extension: string;
1663
+ handler: string;
1403
1664
  } | undefined;
1404
1665
  note?: string | undefined;
1405
1666
  prompt: string;
@@ -1468,12 +1729,109 @@ export declare const agentContract: {
1468
1729
  saw: string;
1469
1730
  at: number;
1470
1731
  } | undefined;
1732
+ watchKind?: {
1733
+ id: string;
1734
+ label: string;
1735
+ icon?: string | undefined;
1736
+ logo?: string | undefined;
1737
+ description: string;
1738
+ sentence: string;
1739
+ fields: {
1740
+ key: string;
1741
+ label: string;
1742
+ type?: "switch" | "text" | undefined;
1743
+ required?: boolean | undefined;
1744
+ placeholder?: string | undefined;
1745
+ hint?: string | undefined;
1746
+ pattern?: string | undefined;
1747
+ patternHint?: string | undefined;
1748
+ maxLength?: number | undefined;
1749
+ }[];
1750
+ extension: string;
1751
+ enabled: boolean;
1752
+ } | undefined;
1471
1753
  } | {
1472
1754
  kind: "instruction";
1473
1755
  file: string;
1474
1756
  text: string;
1475
1757
  diff: string;
1476
1758
  creates?: boolean | undefined;
1759
+ } | {
1760
+ kind: "host-power";
1761
+ device: string;
1762
+ findings: {
1763
+ id: string;
1764
+ power?: "ac" | "dc" | undefined;
1765
+ afterSeconds?: number | undefined;
1766
+ action?: string | undefined;
1767
+ window?: {
1768
+ fromHour: number;
1769
+ toHour: number;
1770
+ } | undefined;
1771
+ plans?: string[] | undefined;
1772
+ fixable: boolean;
1773
+ command?: string | undefined;
1774
+ offers?: string[] | undefined;
1775
+ pausedUntil?: number | undefined;
1776
+ restartPending?: boolean | undefined;
1777
+ comesBack?: "boot" | "sign-in" | undefined;
1778
+ text: string;
1779
+ }[];
1780
+ dueAt?: number | undefined;
1781
+ utcOffsetMinutes?: number | undefined;
1782
+ } | {
1783
+ kind: "wsl-memory";
1784
+ device: string;
1785
+ configPath: string;
1786
+ fit: {
1787
+ at: number;
1788
+ windowMs: number;
1789
+ readings: number;
1790
+ totalBytes: number;
1791
+ lowLineBytes: number;
1792
+ underLowShare: number;
1793
+ availableMedianBytes: number;
1794
+ vmMedianBytes: number;
1795
+ outsideBytes: number;
1796
+ configuredGb?: number | undefined;
1797
+ proposedGb: number;
1798
+ atFloor: boolean;
1799
+ capsOver?: {
1800
+ name: string;
1801
+ memoryBytes: number;
1802
+ }[] | undefined;
1803
+ text: string;
1804
+ };
1805
+ } | {
1806
+ kind: "claim";
1807
+ project: string;
1808
+ heldBy?: string | undefined;
1809
+ } | {
1810
+ kind: "route";
1811
+ target: string;
1812
+ targetName: string;
1813
+ person: string;
1814
+ scopes: ("drop" | "read" | "report" | "task")[];
1815
+ address?: string | undefined;
1816
+ from?: string | undefined;
1817
+ } | {
1818
+ kind: "redirect";
1819
+ target: string;
1820
+ targetName: string;
1821
+ address?: string | undefined;
1822
+ person: string;
1823
+ words: string;
1824
+ clipped?: boolean | undefined;
1825
+ attachments?: number | undefined;
1826
+ project?: string | undefined;
1827
+ } | {
1828
+ kind: "deploy";
1829
+ repo: string;
1830
+ stack: string;
1831
+ device: string;
1832
+ deviceName?: string | undefined;
1833
+ secrets: string[];
1834
+ ungranted: string[];
1477
1835
  };
1478
1836
  title: string;
1479
1837
  why?: string | undefined;
@@ -1501,6 +1859,15 @@ export declare const agentContract: {
1501
1859
  review?: "review" | "test" | undefined;
1502
1860
  sent: string;
1503
1861
  } | undefined;
1862
+ childNews?: {
1863
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
1864
+ from: string;
1865
+ title?: string | undefined;
1866
+ runner?: string | undefined;
1867
+ model?: string | undefined;
1868
+ cause?: string | undefined;
1869
+ sent: string;
1870
+ } | undefined;
1504
1871
  backgroundJob?: {
1505
1872
  id: string;
1506
1873
  label: string;
@@ -1564,7 +1931,7 @@ export declare const agentContract: {
1564
1931
  offer: {
1565
1932
  subject: string;
1566
1933
  kind: "capability" | "secret";
1567
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
1934
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
1568
1935
  detail?: string | undefined;
1569
1936
  why?: string | undefined;
1570
1937
  approvers: string[];
@@ -1727,8 +2094,10 @@ export declare const agentContract: {
1727
2094
  displayName?: string | undefined;
1728
2095
  description?: string | undefined;
1729
2096
  reason?: string | undefined;
2097
+ outside?: string | undefined;
1730
2098
  path?: string | undefined;
1731
2099
  alwaysLabel?: string | undefined;
2100
+ keepLabel?: string | undefined;
1732
2101
  alwaysAsks?: true | undefined;
1733
2102
  program?: {
1734
2103
  text: string;
@@ -1751,6 +2120,7 @@ export declare const agentContract: {
1751
2120
  child?: string | undefined;
1752
2121
  task?: string | undefined;
1753
2122
  message?: string | undefined;
2123
+ headings?: string[] | undefined;
1754
2124
  on?: string | undefined;
1755
2125
  proposed?: {
1756
2126
  provider: string;
@@ -1842,6 +2212,7 @@ export declare const agentContract: {
1842
2212
  hint?: string | undefined;
1843
2213
  replace?: boolean | undefined;
1844
2214
  multiline?: boolean | undefined;
2215
+ hosts?: string[] | undefined;
1845
2216
  } | {
1846
2217
  kind: "grant";
1847
2218
  subject: "capability" | "folder" | "shelf" | "site";
@@ -1879,6 +2250,10 @@ export declare const agentContract: {
1879
2250
  } | {
1880
2251
  kind: "event";
1881
2252
  dailyMax?: number | undefined;
2253
+ signature?: {
2254
+ scheme: "github" | "linear" | "sentry" | "standard-webhooks" | "stripe";
2255
+ secret: string;
2256
+ } | undefined;
1882
2257
  } | {
1883
2258
  kind: "listener";
1884
2259
  provider: string;
@@ -1887,6 +2262,7 @@ export declare const agentContract: {
1887
2262
  mentioned?: boolean | undefined;
1888
2263
  branch?: string | undefined;
1889
2264
  allowedOrigins?: string[] | undefined;
2265
+ keyFromBrowsers?: boolean | undefined;
1890
2266
  } | {
1891
2267
  kind: "workspace";
1892
2268
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -1906,6 +2282,9 @@ export declare const agentContract: {
1906
2282
  kind: "url";
1907
2283
  url: string;
1908
2284
  select?: string | undefined;
2285
+ } | {
2286
+ [x: string]: string | boolean;
2287
+ kind: string;
1909
2288
  } | undefined;
1910
2289
  fireOn?: "change" | "pass" | undefined;
1911
2290
  until?: "first-fire" | undefined;
@@ -1917,6 +2296,10 @@ export declare const agentContract: {
1917
2296
  conversationId: string;
1918
2297
  } | {
1919
2298
  kind: "notify";
2299
+ } | {
2300
+ kind: "extension";
2301
+ extension: string;
2302
+ handler: string;
1920
2303
  } | undefined;
1921
2304
  note?: string | undefined;
1922
2305
  prompt: string;
@@ -1985,12 +2368,109 @@ export declare const agentContract: {
1985
2368
  saw: string;
1986
2369
  at: number;
1987
2370
  } | undefined;
2371
+ watchKind?: {
2372
+ id: string;
2373
+ label: string;
2374
+ icon?: string | undefined;
2375
+ logo?: string | undefined;
2376
+ description: string;
2377
+ sentence: string;
2378
+ fields: {
2379
+ key: string;
2380
+ label: string;
2381
+ type?: "switch" | "text" | undefined;
2382
+ required?: boolean | undefined;
2383
+ placeholder?: string | undefined;
2384
+ hint?: string | undefined;
2385
+ pattern?: string | undefined;
2386
+ patternHint?: string | undefined;
2387
+ maxLength?: number | undefined;
2388
+ }[];
2389
+ extension: string;
2390
+ enabled: boolean;
2391
+ } | undefined;
1988
2392
  } | {
1989
2393
  kind: "instruction";
1990
2394
  file: string;
1991
2395
  text: string;
1992
2396
  diff: string;
1993
2397
  creates?: boolean | undefined;
2398
+ } | {
2399
+ kind: "host-power";
2400
+ device: string;
2401
+ findings: {
2402
+ id: string;
2403
+ power?: "ac" | "dc" | undefined;
2404
+ afterSeconds?: number | undefined;
2405
+ action?: string | undefined;
2406
+ window?: {
2407
+ fromHour: number;
2408
+ toHour: number;
2409
+ } | undefined;
2410
+ plans?: string[] | undefined;
2411
+ fixable: boolean;
2412
+ command?: string | undefined;
2413
+ offers?: string[] | undefined;
2414
+ pausedUntil?: number | undefined;
2415
+ restartPending?: boolean | undefined;
2416
+ comesBack?: "boot" | "sign-in" | undefined;
2417
+ text: string;
2418
+ }[];
2419
+ dueAt?: number | undefined;
2420
+ utcOffsetMinutes?: number | undefined;
2421
+ } | {
2422
+ kind: "wsl-memory";
2423
+ device: string;
2424
+ configPath: string;
2425
+ fit: {
2426
+ at: number;
2427
+ windowMs: number;
2428
+ readings: number;
2429
+ totalBytes: number;
2430
+ lowLineBytes: number;
2431
+ underLowShare: number;
2432
+ availableMedianBytes: number;
2433
+ vmMedianBytes: number;
2434
+ outsideBytes: number;
2435
+ configuredGb?: number | undefined;
2436
+ proposedGb: number;
2437
+ atFloor: boolean;
2438
+ capsOver?: {
2439
+ name: string;
2440
+ memoryBytes: number;
2441
+ }[] | undefined;
2442
+ text: string;
2443
+ };
2444
+ } | {
2445
+ kind: "claim";
2446
+ project: string;
2447
+ heldBy?: string | undefined;
2448
+ } | {
2449
+ kind: "route";
2450
+ target: string;
2451
+ targetName: string;
2452
+ person: string;
2453
+ scopes: ("drop" | "read" | "report" | "task")[];
2454
+ address?: string | undefined;
2455
+ from?: string | undefined;
2456
+ } | {
2457
+ kind: "redirect";
2458
+ target: string;
2459
+ targetName: string;
2460
+ address?: string | undefined;
2461
+ person: string;
2462
+ words: string;
2463
+ clipped?: boolean | undefined;
2464
+ attachments?: number | undefined;
2465
+ project?: string | undefined;
2466
+ } | {
2467
+ kind: "deploy";
2468
+ repo: string;
2469
+ stack: string;
2470
+ device: string;
2471
+ deviceName?: string | undefined;
2472
+ secrets: string[];
2473
+ ungranted: string[];
1994
2474
  };
1995
2475
  title: string;
1996
2476
  why?: string | undefined;
@@ -2018,6 +2498,15 @@ export declare const agentContract: {
2018
2498
  review?: "review" | "test" | undefined;
2019
2499
  sent: string;
2020
2500
  } | undefined;
2501
+ childNews?: {
2502
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
2503
+ from: string;
2504
+ title?: string | undefined;
2505
+ runner?: string | undefined;
2506
+ model?: string | undefined;
2507
+ cause?: string | undefined;
2508
+ sent: string;
2509
+ } | undefined;
2021
2510
  backgroundJob?: {
2022
2511
  id: string;
2023
2512
  label: string;
@@ -2081,7 +2570,7 @@ export declare const agentContract: {
2081
2570
  offer: {
2082
2571
  subject: string;
2083
2572
  kind: "capability" | "secret";
2084
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
2573
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
2085
2574
  detail?: string | undefined;
2086
2575
  why?: string | undefined;
2087
2576
  approvers: string[];
@@ -2211,8 +2700,10 @@ export declare const agentContract: {
2211
2700
  displayName?: string | undefined;
2212
2701
  description?: string | undefined;
2213
2702
  reason?: string | undefined;
2703
+ outside?: string | undefined;
2214
2704
  path?: string | undefined;
2215
2705
  alwaysLabel?: string | undefined;
2706
+ keepLabel?: string | undefined;
2216
2707
  alwaysAsks?: true | undefined;
2217
2708
  program?: {
2218
2709
  text: string;
@@ -2235,6 +2726,7 @@ export declare const agentContract: {
2235
2726
  child?: string | undefined;
2236
2727
  task?: string | undefined;
2237
2728
  message?: string | undefined;
2729
+ headings?: string[] | undefined;
2238
2730
  on?: string | undefined;
2239
2731
  proposed?: {
2240
2732
  provider: string;
@@ -2326,6 +2818,7 @@ export declare const agentContract: {
2326
2818
  hint?: string | undefined;
2327
2819
  replace?: boolean | undefined;
2328
2820
  multiline?: boolean | undefined;
2821
+ hosts?: string[] | undefined;
2329
2822
  } | {
2330
2823
  kind: "grant";
2331
2824
  subject: "capability" | "folder" | "shelf" | "site";
@@ -2363,6 +2856,10 @@ export declare const agentContract: {
2363
2856
  } | {
2364
2857
  kind: "event";
2365
2858
  dailyMax?: number | undefined;
2859
+ signature?: {
2860
+ scheme: "github" | "linear" | "sentry" | "standard-webhooks" | "stripe";
2861
+ secret: string;
2862
+ } | undefined;
2366
2863
  } | {
2367
2864
  kind: "listener";
2368
2865
  provider: string;
@@ -2371,6 +2868,7 @@ export declare const agentContract: {
2371
2868
  mentioned?: boolean | undefined;
2372
2869
  branch?: string | undefined;
2373
2870
  allowedOrigins?: string[] | undefined;
2871
+ keyFromBrowsers?: boolean | undefined;
2374
2872
  } | {
2375
2873
  kind: "workspace";
2376
2874
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -2390,6 +2888,9 @@ export declare const agentContract: {
2390
2888
  kind: "url";
2391
2889
  url: string;
2392
2890
  select?: string | undefined;
2891
+ } | {
2892
+ [x: string]: string | boolean;
2893
+ kind: string;
2393
2894
  } | undefined;
2394
2895
  fireOn?: "change" | "pass" | undefined;
2395
2896
  until?: "first-fire" | undefined;
@@ -2401,6 +2902,10 @@ export declare const agentContract: {
2401
2902
  conversationId: string;
2402
2903
  } | {
2403
2904
  kind: "notify";
2905
+ } | {
2906
+ kind: "extension";
2907
+ extension: string;
2908
+ handler: string;
2404
2909
  } | undefined;
2405
2910
  note?: string | undefined;
2406
2911
  prompt: string;
@@ -2469,12 +2974,109 @@ export declare const agentContract: {
2469
2974
  saw: string;
2470
2975
  at: number;
2471
2976
  } | undefined;
2977
+ watchKind?: {
2978
+ id: string;
2979
+ label: string;
2980
+ icon?: string | undefined;
2981
+ logo?: string | undefined;
2982
+ description: string;
2983
+ sentence: string;
2984
+ fields: {
2985
+ key: string;
2986
+ label: string;
2987
+ type?: "switch" | "text" | undefined;
2988
+ required?: boolean | undefined;
2989
+ placeholder?: string | undefined;
2990
+ hint?: string | undefined;
2991
+ pattern?: string | undefined;
2992
+ patternHint?: string | undefined;
2993
+ maxLength?: number | undefined;
2994
+ }[];
2995
+ extension: string;
2996
+ enabled: boolean;
2997
+ } | undefined;
2472
2998
  } | {
2473
2999
  kind: "instruction";
2474
3000
  file: string;
2475
3001
  text: string;
2476
3002
  diff: string;
2477
3003
  creates?: boolean | undefined;
3004
+ } | {
3005
+ kind: "host-power";
3006
+ device: string;
3007
+ findings: {
3008
+ id: string;
3009
+ power?: "ac" | "dc" | undefined;
3010
+ afterSeconds?: number | undefined;
3011
+ action?: string | undefined;
3012
+ window?: {
3013
+ fromHour: number;
3014
+ toHour: number;
3015
+ } | undefined;
3016
+ plans?: string[] | undefined;
3017
+ fixable: boolean;
3018
+ command?: string | undefined;
3019
+ offers?: string[] | undefined;
3020
+ pausedUntil?: number | undefined;
3021
+ restartPending?: boolean | undefined;
3022
+ comesBack?: "boot" | "sign-in" | undefined;
3023
+ text: string;
3024
+ }[];
3025
+ dueAt?: number | undefined;
3026
+ utcOffsetMinutes?: number | undefined;
3027
+ } | {
3028
+ kind: "wsl-memory";
3029
+ device: string;
3030
+ configPath: string;
3031
+ fit: {
3032
+ at: number;
3033
+ windowMs: number;
3034
+ readings: number;
3035
+ totalBytes: number;
3036
+ lowLineBytes: number;
3037
+ underLowShare: number;
3038
+ availableMedianBytes: number;
3039
+ vmMedianBytes: number;
3040
+ outsideBytes: number;
3041
+ configuredGb?: number | undefined;
3042
+ proposedGb: number;
3043
+ atFloor: boolean;
3044
+ capsOver?: {
3045
+ name: string;
3046
+ memoryBytes: number;
3047
+ }[] | undefined;
3048
+ text: string;
3049
+ };
3050
+ } | {
3051
+ kind: "claim";
3052
+ project: string;
3053
+ heldBy?: string | undefined;
3054
+ } | {
3055
+ kind: "route";
3056
+ target: string;
3057
+ targetName: string;
3058
+ person: string;
3059
+ scopes: ("drop" | "read" | "report" | "task")[];
3060
+ address?: string | undefined;
3061
+ from?: string | undefined;
3062
+ } | {
3063
+ kind: "redirect";
3064
+ target: string;
3065
+ targetName: string;
3066
+ address?: string | undefined;
3067
+ person: string;
3068
+ words: string;
3069
+ clipped?: boolean | undefined;
3070
+ attachments?: number | undefined;
3071
+ project?: string | undefined;
3072
+ } | {
3073
+ kind: "deploy";
3074
+ repo: string;
3075
+ stack: string;
3076
+ device: string;
3077
+ deviceName?: string | undefined;
3078
+ secrets: string[];
3079
+ ungranted: string[];
2478
3080
  };
2479
3081
  title: string;
2480
3082
  why?: string | undefined;
@@ -2502,6 +3104,15 @@ export declare const agentContract: {
2502
3104
  review?: "review" | "test" | undefined;
2503
3105
  sent: string;
2504
3106
  } | undefined;
3107
+ childNews?: {
3108
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
3109
+ from: string;
3110
+ title?: string | undefined;
3111
+ runner?: string | undefined;
3112
+ model?: string | undefined;
3113
+ cause?: string | undefined;
3114
+ sent: string;
3115
+ } | undefined;
2505
3116
  backgroundJob?: {
2506
3117
  id: string;
2507
3118
  label: string;
@@ -2565,7 +3176,7 @@ export declare const agentContract: {
2565
3176
  offer: {
2566
3177
  subject: string;
2567
3178
  kind: "capability" | "secret";
2568
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
3179
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
2569
3180
  detail?: string | undefined;
2570
3181
  why?: string | undefined;
2571
3182
  approvers: string[];
@@ -2694,8 +3305,10 @@ export declare const agentContract: {
2694
3305
  displayName?: string | undefined;
2695
3306
  description?: string | undefined;
2696
3307
  reason?: string | undefined;
3308
+ outside?: string | undefined;
2697
3309
  path?: string | undefined;
2698
3310
  alwaysLabel?: string | undefined;
3311
+ keepLabel?: string | undefined;
2699
3312
  alwaysAsks?: true | undefined;
2700
3313
  program?: {
2701
3314
  text: string;
@@ -2718,6 +3331,7 @@ export declare const agentContract: {
2718
3331
  child?: string | undefined;
2719
3332
  task?: string | undefined;
2720
3333
  message?: string | undefined;
3334
+ headings?: string[] | undefined;
2721
3335
  on?: string | undefined;
2722
3336
  proposed?: {
2723
3337
  provider: string;
@@ -2809,6 +3423,7 @@ export declare const agentContract: {
2809
3423
  hint?: string | undefined;
2810
3424
  replace?: boolean | undefined;
2811
3425
  multiline?: boolean | undefined;
3426
+ hosts?: string[] | undefined;
2812
3427
  } | {
2813
3428
  kind: "grant";
2814
3429
  subject: "capability" | "folder" | "shelf" | "site";
@@ -2846,6 +3461,10 @@ export declare const agentContract: {
2846
3461
  } | {
2847
3462
  kind: "event";
2848
3463
  dailyMax?: number | undefined;
3464
+ signature?: {
3465
+ scheme: "github" | "linear" | "sentry" | "standard-webhooks" | "stripe";
3466
+ secret: string;
3467
+ } | undefined;
2849
3468
  } | {
2850
3469
  kind: "listener";
2851
3470
  provider: string;
@@ -2854,6 +3473,7 @@ export declare const agentContract: {
2854
3473
  mentioned?: boolean | undefined;
2855
3474
  branch?: string | undefined;
2856
3475
  allowedOrigins?: string[] | undefined;
3476
+ keyFromBrowsers?: boolean | undefined;
2857
3477
  } | {
2858
3478
  kind: "workspace";
2859
3479
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -2873,6 +3493,9 @@ export declare const agentContract: {
2873
3493
  kind: "url";
2874
3494
  url: string;
2875
3495
  select?: string | undefined;
3496
+ } | {
3497
+ [x: string]: string | boolean;
3498
+ kind: string;
2876
3499
  } | undefined;
2877
3500
  fireOn?: "change" | "pass" | undefined;
2878
3501
  until?: "first-fire" | undefined;
@@ -2884,6 +3507,10 @@ export declare const agentContract: {
2884
3507
  conversationId: string;
2885
3508
  } | {
2886
3509
  kind: "notify";
3510
+ } | {
3511
+ kind: "extension";
3512
+ extension: string;
3513
+ handler: string;
2887
3514
  } | undefined;
2888
3515
  note?: string | undefined;
2889
3516
  prompt: string;
@@ -2952,12 +3579,109 @@ export declare const agentContract: {
2952
3579
  saw: string;
2953
3580
  at: number;
2954
3581
  } | undefined;
3582
+ watchKind?: {
3583
+ id: string;
3584
+ label: string;
3585
+ icon?: string | undefined;
3586
+ logo?: string | undefined;
3587
+ description: string;
3588
+ sentence: string;
3589
+ fields: {
3590
+ key: string;
3591
+ label: string;
3592
+ type?: "switch" | "text" | undefined;
3593
+ required?: boolean | undefined;
3594
+ placeholder?: string | undefined;
3595
+ hint?: string | undefined;
3596
+ pattern?: string | undefined;
3597
+ patternHint?: string | undefined;
3598
+ maxLength?: number | undefined;
3599
+ }[];
3600
+ extension: string;
3601
+ enabled: boolean;
3602
+ } | undefined;
2955
3603
  } | {
2956
3604
  kind: "instruction";
2957
3605
  file: string;
2958
3606
  text: string;
2959
3607
  diff: string;
2960
3608
  creates?: boolean | undefined;
3609
+ } | {
3610
+ kind: "host-power";
3611
+ device: string;
3612
+ findings: {
3613
+ id: string;
3614
+ power?: "ac" | "dc" | undefined;
3615
+ afterSeconds?: number | undefined;
3616
+ action?: string | undefined;
3617
+ window?: {
3618
+ fromHour: number;
3619
+ toHour: number;
3620
+ } | undefined;
3621
+ plans?: string[] | undefined;
3622
+ fixable: boolean;
3623
+ command?: string | undefined;
3624
+ offers?: string[] | undefined;
3625
+ pausedUntil?: number | undefined;
3626
+ restartPending?: boolean | undefined;
3627
+ comesBack?: "boot" | "sign-in" | undefined;
3628
+ text: string;
3629
+ }[];
3630
+ dueAt?: number | undefined;
3631
+ utcOffsetMinutes?: number | undefined;
3632
+ } | {
3633
+ kind: "wsl-memory";
3634
+ device: string;
3635
+ configPath: string;
3636
+ fit: {
3637
+ at: number;
3638
+ windowMs: number;
3639
+ readings: number;
3640
+ totalBytes: number;
3641
+ lowLineBytes: number;
3642
+ underLowShare: number;
3643
+ availableMedianBytes: number;
3644
+ vmMedianBytes: number;
3645
+ outsideBytes: number;
3646
+ configuredGb?: number | undefined;
3647
+ proposedGb: number;
3648
+ atFloor: boolean;
3649
+ capsOver?: {
3650
+ name: string;
3651
+ memoryBytes: number;
3652
+ }[] | undefined;
3653
+ text: string;
3654
+ };
3655
+ } | {
3656
+ kind: "claim";
3657
+ project: string;
3658
+ heldBy?: string | undefined;
3659
+ } | {
3660
+ kind: "route";
3661
+ target: string;
3662
+ targetName: string;
3663
+ person: string;
3664
+ scopes: ("drop" | "read" | "report" | "task")[];
3665
+ address?: string | undefined;
3666
+ from?: string | undefined;
3667
+ } | {
3668
+ kind: "redirect";
3669
+ target: string;
3670
+ targetName: string;
3671
+ address?: string | undefined;
3672
+ person: string;
3673
+ words: string;
3674
+ clipped?: boolean | undefined;
3675
+ attachments?: number | undefined;
3676
+ project?: string | undefined;
3677
+ } | {
3678
+ kind: "deploy";
3679
+ repo: string;
3680
+ stack: string;
3681
+ device: string;
3682
+ deviceName?: string | undefined;
3683
+ secrets: string[];
3684
+ ungranted: string[];
2961
3685
  };
2962
3686
  title: string;
2963
3687
  why?: string | undefined;
@@ -2985,6 +3709,15 @@ export declare const agentContract: {
2985
3709
  review?: "review" | "test" | undefined;
2986
3710
  sent: string;
2987
3711
  } | undefined;
3712
+ childNews?: {
3713
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
3714
+ from: string;
3715
+ title?: string | undefined;
3716
+ runner?: string | undefined;
3717
+ model?: string | undefined;
3718
+ cause?: string | undefined;
3719
+ sent: string;
3720
+ } | undefined;
2988
3721
  backgroundJob?: {
2989
3722
  id: string;
2990
3723
  label: string;
@@ -3048,7 +3781,7 @@ export declare const agentContract: {
3048
3781
  offer: {
3049
3782
  subject: string;
3050
3783
  kind: "capability" | "secret";
3051
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
3784
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
3052
3785
  detail?: string | undefined;
3053
3786
  why?: string | undefined;
3054
3787
  approvers: string[];
@@ -3264,8 +3997,10 @@ export declare const agentContract: {
3264
3997
  displayName: import("zod").ZodOptional<import("zod").ZodString>;
3265
3998
  description: import("zod").ZodOptional<import("zod").ZodString>;
3266
3999
  reason: import("zod").ZodOptional<import("zod").ZodString>;
4000
+ outside: import("zod").ZodOptional<import("zod").ZodString>;
3267
4001
  path: import("zod").ZodOptional<import("zod").ZodString>;
3268
4002
  alwaysLabel: import("zod").ZodOptional<import("zod").ZodString>;
4003
+ keepLabel: import("zod").ZodOptional<import("zod").ZodString>;
3269
4004
  alwaysAsks: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
3270
4005
  program: import("zod").ZodOptional<import("zod").ZodObject<{
3271
4006
  text: import("zod").ZodString;
@@ -3303,6 +4038,7 @@ export declare const agentContract: {
3303
4038
  child: import("zod").ZodOptional<import("zod").ZodString>;
3304
4039
  task: import("zod").ZodOptional<import("zod").ZodString>;
3305
4040
  message: import("zod").ZodOptional<import("zod").ZodString>;
4041
+ headings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3306
4042
  on: import("zod").ZodOptional<import("zod").ZodString>;
3307
4043
  proposed: import("zod").ZodOptional<import("zod").ZodObject<{
3308
4044
  provider: import("zod").ZodString;
@@ -3445,6 +4181,7 @@ export declare const agentContract: {
3445
4181
  hint: import("zod").ZodOptional<import("zod").ZodString>;
3446
4182
  replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
3447
4183
  multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
4184
+ hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3448
4185
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3449
4186
  kind: import("zod").ZodLiteral<"grant">;
3450
4187
  subject: import("zod").ZodEnum<{
@@ -3488,6 +4225,16 @@ export declare const agentContract: {
3488
4225
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3489
4226
  kind: import("zod").ZodLiteral<"event">;
3490
4227
  dailyMax: import("zod").ZodOptional<import("zod").ZodNumber>;
4228
+ signature: import("zod").ZodOptional<import("zod").ZodObject<{
4229
+ scheme: import("zod").ZodEnum<{
4230
+ github: "github";
4231
+ linear: "linear";
4232
+ sentry: "sentry";
4233
+ "standard-webhooks": "standard-webhooks";
4234
+ stripe: "stripe";
4235
+ }>;
4236
+ secret: import("zod").ZodString;
4237
+ }, import("zod/v4/core").$strip>>;
3491
4238
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3492
4239
  kind: import("zod").ZodLiteral<"listener">;
3493
4240
  provider: import("zod").ZodString;
@@ -3496,6 +4243,7 @@ export declare const agentContract: {
3496
4243
  mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
3497
4244
  branch: import("zod").ZodOptional<import("zod").ZodString>;
3498
4245
  allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4246
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
3499
4247
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3500
4248
  kind: import("zod").ZodLiteral<"workspace">;
3501
4249
  event: import("zod").ZodEnum<{
@@ -3507,7 +4255,7 @@ export declare const agentContract: {
3507
4255
  repo: import("zod").ZodOptional<import("zod").ZodString>;
3508
4256
  }, import("zod/v4/core").$strip>], "kind">;
3509
4257
  guard: import("zod").ZodOptional<import("zod").ZodString>;
3510
- source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
4258
+ source: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodObject<{
3511
4259
  kind: import("zod").ZodLiteral<"npm">;
3512
4260
  package: import("zod").ZodString;
3513
4261
  range: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3520,7 +4268,9 @@ export declare const agentContract: {
3520
4268
  kind: import("zod").ZodLiteral<"url">;
3521
4269
  url: import("zod").ZodString;
3522
4270
  select: import("zod").ZodOptional<import("zod").ZodString>;
3523
- }, import("zod/v4/core").$strip>], "kind">>;
4271
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4272
+ kind: import("zod").ZodString;
4273
+ }, import("zod/v4/core").$catchall<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean]>>>]>>;
3524
4274
  fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
3525
4275
  change: "change";
3526
4276
  pass: "pass";
@@ -3536,6 +4286,10 @@ export declare const agentContract: {
3536
4286
  conversationId: import("zod").ZodString;
3537
4287
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3538
4288
  kind: import("zod").ZodLiteral<"notify">;
4289
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4290
+ kind: import("zod").ZodLiteral<"extension">;
4291
+ extension: import("zod").ZodString;
4292
+ handler: import("zod").ZodString;
3539
4293
  }, import("zod/v4/core").$strip>], "kind">>;
3540
4294
  note: import("zod").ZodOptional<import("zod").ZodString>;
3541
4295
  prompt: import("zod").ZodString;
@@ -3629,12 +4383,123 @@ export declare const agentContract: {
3629
4383
  saw: import("zod").ZodString;
3630
4384
  at: import("zod").ZodNumber;
3631
4385
  }, import("zod/v4/core").$strip>>;
4386
+ watchKind: import("zod").ZodOptional<import("zod").ZodObject<{
4387
+ id: import("zod").ZodString;
4388
+ label: import("zod").ZodString;
4389
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
4390
+ logo: import("zod").ZodOptional<import("zod").ZodString>;
4391
+ description: import("zod").ZodString;
4392
+ sentence: import("zod").ZodString;
4393
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
4394
+ key: import("zod").ZodString;
4395
+ label: import("zod").ZodString;
4396
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
4397
+ switch: "switch";
4398
+ text: "text";
4399
+ }>>;
4400
+ required: import("zod").ZodOptional<import("zod").ZodBoolean>;
4401
+ placeholder: import("zod").ZodOptional<import("zod").ZodString>;
4402
+ hint: import("zod").ZodOptional<import("zod").ZodString>;
4403
+ pattern: import("zod").ZodOptional<import("zod").ZodString>;
4404
+ patternHint: import("zod").ZodOptional<import("zod").ZodString>;
4405
+ maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
4406
+ }, import("zod/v4/core").$strip>>;
4407
+ extension: import("zod").ZodString;
4408
+ enabled: import("zod").ZodBoolean;
4409
+ }, import("zod/v4/core").$strip>>;
3632
4410
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3633
4411
  kind: import("zod").ZodLiteral<"instruction">;
3634
4412
  file: import("zod").ZodString;
3635
4413
  text: import("zod").ZodString;
3636
4414
  diff: import("zod").ZodString;
3637
4415
  creates: import("zod").ZodOptional<import("zod").ZodBoolean>;
4416
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4417
+ kind: import("zod").ZodLiteral<"host-power">;
4418
+ device: import("zod").ZodString;
4419
+ findings: import("zod").ZodArray<import("zod").ZodObject<{
4420
+ id: import("zod").ZodString;
4421
+ power: import("zod").ZodOptional<import("zod").ZodEnum<{
4422
+ ac: "ac";
4423
+ dc: "dc";
4424
+ }>>;
4425
+ afterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
4426
+ action: import("zod").ZodOptional<import("zod").ZodString>;
4427
+ window: import("zod").ZodOptional<import("zod").ZodObject<{
4428
+ fromHour: import("zod").ZodNumber;
4429
+ toHour: import("zod").ZodNumber;
4430
+ }, import("zod/v4/core").$strip>>;
4431
+ plans: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4432
+ fixable: import("zod").ZodBoolean;
4433
+ command: import("zod").ZodOptional<import("zod").ZodString>;
4434
+ offers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4435
+ pausedUntil: import("zod").ZodOptional<import("zod").ZodNumber>;
4436
+ restartPending: import("zod").ZodOptional<import("zod").ZodBoolean>;
4437
+ comesBack: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodEnum<{
4438
+ boot: "boot";
4439
+ "sign-in": "sign-in";
4440
+ }>>>;
4441
+ text: import("zod").ZodString;
4442
+ }, import("zod/v4/core").$strip>>;
4443
+ dueAt: import("zod").ZodOptional<import("zod").ZodNumber>;
4444
+ utcOffsetMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
4445
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4446
+ kind: import("zod").ZodLiteral<"wsl-memory">;
4447
+ device: import("zod").ZodString;
4448
+ configPath: import("zod").ZodString;
4449
+ fit: import("zod").ZodObject<{
4450
+ at: import("zod").ZodNumber;
4451
+ windowMs: import("zod").ZodNumber;
4452
+ readings: import("zod").ZodNumber;
4453
+ totalBytes: import("zod").ZodNumber;
4454
+ lowLineBytes: import("zod").ZodNumber;
4455
+ underLowShare: import("zod").ZodNumber;
4456
+ availableMedianBytes: import("zod").ZodNumber;
4457
+ vmMedianBytes: import("zod").ZodNumber;
4458
+ outsideBytes: import("zod").ZodNumber;
4459
+ configuredGb: import("zod").ZodOptional<import("zod").ZodNumber>;
4460
+ proposedGb: import("zod").ZodNumber;
4461
+ atFloor: import("zod").ZodBoolean;
4462
+ capsOver: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
4463
+ name: import("zod").ZodString;
4464
+ memoryBytes: import("zod").ZodNumber;
4465
+ }, import("zod/v4/core").$strip>>>;
4466
+ text: import("zod").ZodString;
4467
+ }, import("zod/v4/core").$strip>;
4468
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4469
+ kind: import("zod").ZodLiteral<"claim">;
4470
+ project: import("zod").ZodString;
4471
+ heldBy: import("zod").ZodOptional<import("zod").ZodString>;
4472
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4473
+ kind: import("zod").ZodLiteral<"route">;
4474
+ target: import("zod").ZodString;
4475
+ targetName: import("zod").ZodString;
4476
+ person: import("zod").ZodString;
4477
+ scopes: import("zod").ZodArray<import("zod").ZodEnum<{
4478
+ drop: "drop";
4479
+ read: "read";
4480
+ report: "report";
4481
+ task: "task";
4482
+ }>>;
4483
+ address: import("zod").ZodOptional<import("zod").ZodString>;
4484
+ from: import("zod").ZodOptional<import("zod").ZodString>;
4485
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4486
+ kind: import("zod").ZodLiteral<"redirect">;
4487
+ target: import("zod").ZodString;
4488
+ targetName: import("zod").ZodString;
4489
+ address: import("zod").ZodOptional<import("zod").ZodString>;
4490
+ person: import("zod").ZodString;
4491
+ words: import("zod").ZodString;
4492
+ clipped: import("zod").ZodOptional<import("zod").ZodBoolean>;
4493
+ attachments: import("zod").ZodOptional<import("zod").ZodNumber>;
4494
+ project: import("zod").ZodOptional<import("zod").ZodString>;
4495
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4496
+ kind: import("zod").ZodLiteral<"deploy">;
4497
+ repo: import("zod").ZodString;
4498
+ stack: import("zod").ZodString;
4499
+ device: import("zod").ZodString;
4500
+ deviceName: import("zod").ZodOptional<import("zod").ZodString>;
4501
+ secrets: import("zod").ZodArray<import("zod").ZodString>;
4502
+ ungranted: import("zod").ZodArray<import("zod").ZodString>;
3638
4503
  }, import("zod/v4/core").$strip>], "kind">;
3639
4504
  title: import("zod").ZodString;
3640
4505
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3681,6 +4546,30 @@ export declare const agentContract: {
3681
4546
  }>>;
3682
4547
  sent: import("zod").ZodString;
3683
4548
  }, import("zod/v4/core").$strip>>;
4549
+ childNews: import("zod").ZodOptional<import("zod").ZodObject<{
4550
+ kind: import("zod").ZodEnum<{
4551
+ allowed: "allowed";
4552
+ answerLost: "answerLost";
4553
+ drift: "drift";
4554
+ fellBack: "fellBack";
4555
+ landConflict: "landConflict";
4556
+ landed: "landed";
4557
+ messageLost: "messageLost";
4558
+ movedHere: "movedHere";
4559
+ notStarted: "notStarted";
4560
+ otherModel: "otherModel";
4561
+ question: "question";
4562
+ restarted: "restarted";
4563
+ stopped: "stopped";
4564
+ working: "working";
4565
+ }>;
4566
+ from: import("zod").ZodString;
4567
+ title: import("zod").ZodOptional<import("zod").ZodString>;
4568
+ runner: import("zod").ZodOptional<import("zod").ZodString>;
4569
+ model: import("zod").ZodOptional<import("zod").ZodString>;
4570
+ cause: import("zod").ZodOptional<import("zod").ZodString>;
4571
+ sent: import("zod").ZodString;
4572
+ }, import("zod/v4/core").$strip>>;
3684
4573
  backgroundJob: import("zod").ZodOptional<import("zod").ZodObject<{
3685
4574
  id: import("zod").ZodString;
3686
4575
  label: import("zod").ZodString;
@@ -3773,6 +4662,7 @@ export declare const agentContract: {
3773
4662
  desktop: "desktop";
3774
4663
  device: "device";
3775
4664
  gateway: "gateway";
4665
+ mcp: "mcp";
3776
4666
  otp: "otp";
3777
4667
  session: "session";
3778
4668
  shell: "shell";
@@ -3970,8 +4860,10 @@ export declare const agentContract: {
3970
4860
  displayName: import("zod").ZodOptional<import("zod").ZodString>;
3971
4861
  description: import("zod").ZodOptional<import("zod").ZodString>;
3972
4862
  reason: import("zod").ZodOptional<import("zod").ZodString>;
4863
+ outside: import("zod").ZodOptional<import("zod").ZodString>;
3973
4864
  path: import("zod").ZodOptional<import("zod").ZodString>;
3974
4865
  alwaysLabel: import("zod").ZodOptional<import("zod").ZodString>;
4866
+ keepLabel: import("zod").ZodOptional<import("zod").ZodString>;
3975
4867
  alwaysAsks: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
3976
4868
  program: import("zod").ZodOptional<import("zod").ZodObject<{
3977
4869
  text: import("zod").ZodString;
@@ -4009,6 +4901,7 @@ export declare const agentContract: {
4009
4901
  child: import("zod").ZodOptional<import("zod").ZodString>;
4010
4902
  task: import("zod").ZodOptional<import("zod").ZodString>;
4011
4903
  message: import("zod").ZodOptional<import("zod").ZodString>;
4904
+ headings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4012
4905
  on: import("zod").ZodOptional<import("zod").ZodString>;
4013
4906
  proposed: import("zod").ZodOptional<import("zod").ZodObject<{
4014
4907
  provider: import("zod").ZodString;
@@ -4151,6 +5044,7 @@ export declare const agentContract: {
4151
5044
  hint: import("zod").ZodOptional<import("zod").ZodString>;
4152
5045
  replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
4153
5046
  multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
5047
+ hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4154
5048
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4155
5049
  kind: import("zod").ZodLiteral<"grant">;
4156
5050
  subject: import("zod").ZodEnum<{
@@ -4194,6 +5088,16 @@ export declare const agentContract: {
4194
5088
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4195
5089
  kind: import("zod").ZodLiteral<"event">;
4196
5090
  dailyMax: import("zod").ZodOptional<import("zod").ZodNumber>;
5091
+ signature: import("zod").ZodOptional<import("zod").ZodObject<{
5092
+ scheme: import("zod").ZodEnum<{
5093
+ github: "github";
5094
+ linear: "linear";
5095
+ sentry: "sentry";
5096
+ "standard-webhooks": "standard-webhooks";
5097
+ stripe: "stripe";
5098
+ }>;
5099
+ secret: import("zod").ZodString;
5100
+ }, import("zod/v4/core").$strip>>;
4197
5101
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4198
5102
  kind: import("zod").ZodLiteral<"listener">;
4199
5103
  provider: import("zod").ZodString;
@@ -4202,6 +5106,7 @@ export declare const agentContract: {
4202
5106
  mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
4203
5107
  branch: import("zod").ZodOptional<import("zod").ZodString>;
4204
5108
  allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5109
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
4205
5110
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4206
5111
  kind: import("zod").ZodLiteral<"workspace">;
4207
5112
  event: import("zod").ZodEnum<{
@@ -4213,7 +5118,7 @@ export declare const agentContract: {
4213
5118
  repo: import("zod").ZodOptional<import("zod").ZodString>;
4214
5119
  }, import("zod/v4/core").$strip>], "kind">;
4215
5120
  guard: import("zod").ZodOptional<import("zod").ZodString>;
4216
- source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
5121
+ source: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodObject<{
4217
5122
  kind: import("zod").ZodLiteral<"npm">;
4218
5123
  package: import("zod").ZodString;
4219
5124
  range: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4226,7 +5131,9 @@ export declare const agentContract: {
4226
5131
  kind: import("zod").ZodLiteral<"url">;
4227
5132
  url: import("zod").ZodString;
4228
5133
  select: import("zod").ZodOptional<import("zod").ZodString>;
4229
- }, import("zod/v4/core").$strip>], "kind">>;
5134
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5135
+ kind: import("zod").ZodString;
5136
+ }, import("zod/v4/core").$catchall<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean]>>>]>>;
4230
5137
  fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
4231
5138
  change: "change";
4232
5139
  pass: "pass";
@@ -4242,6 +5149,10 @@ export declare const agentContract: {
4242
5149
  conversationId: import("zod").ZodString;
4243
5150
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4244
5151
  kind: import("zod").ZodLiteral<"notify">;
5152
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5153
+ kind: import("zod").ZodLiteral<"extension">;
5154
+ extension: import("zod").ZodString;
5155
+ handler: import("zod").ZodString;
4245
5156
  }, import("zod/v4/core").$strip>], "kind">>;
4246
5157
  note: import("zod").ZodOptional<import("zod").ZodString>;
4247
5158
  prompt: import("zod").ZodString;
@@ -4335,12 +5246,123 @@ export declare const agentContract: {
4335
5246
  saw: import("zod").ZodString;
4336
5247
  at: import("zod").ZodNumber;
4337
5248
  }, import("zod/v4/core").$strip>>;
5249
+ watchKind: import("zod").ZodOptional<import("zod").ZodObject<{
5250
+ id: import("zod").ZodString;
5251
+ label: import("zod").ZodString;
5252
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
5253
+ logo: import("zod").ZodOptional<import("zod").ZodString>;
5254
+ description: import("zod").ZodString;
5255
+ sentence: import("zod").ZodString;
5256
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
5257
+ key: import("zod").ZodString;
5258
+ label: import("zod").ZodString;
5259
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
5260
+ switch: "switch";
5261
+ text: "text";
5262
+ }>>;
5263
+ required: import("zod").ZodOptional<import("zod").ZodBoolean>;
5264
+ placeholder: import("zod").ZodOptional<import("zod").ZodString>;
5265
+ hint: import("zod").ZodOptional<import("zod").ZodString>;
5266
+ pattern: import("zod").ZodOptional<import("zod").ZodString>;
5267
+ patternHint: import("zod").ZodOptional<import("zod").ZodString>;
5268
+ maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
5269
+ }, import("zod/v4/core").$strip>>;
5270
+ extension: import("zod").ZodString;
5271
+ enabled: import("zod").ZodBoolean;
5272
+ }, import("zod/v4/core").$strip>>;
4338
5273
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4339
5274
  kind: import("zod").ZodLiteral<"instruction">;
4340
5275
  file: import("zod").ZodString;
4341
5276
  text: import("zod").ZodString;
4342
5277
  diff: import("zod").ZodString;
4343
5278
  creates: import("zod").ZodOptional<import("zod").ZodBoolean>;
5279
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5280
+ kind: import("zod").ZodLiteral<"host-power">;
5281
+ device: import("zod").ZodString;
5282
+ findings: import("zod").ZodArray<import("zod").ZodObject<{
5283
+ id: import("zod").ZodString;
5284
+ power: import("zod").ZodOptional<import("zod").ZodEnum<{
5285
+ ac: "ac";
5286
+ dc: "dc";
5287
+ }>>;
5288
+ afterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
5289
+ action: import("zod").ZodOptional<import("zod").ZodString>;
5290
+ window: import("zod").ZodOptional<import("zod").ZodObject<{
5291
+ fromHour: import("zod").ZodNumber;
5292
+ toHour: import("zod").ZodNumber;
5293
+ }, import("zod/v4/core").$strip>>;
5294
+ plans: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5295
+ fixable: import("zod").ZodBoolean;
5296
+ command: import("zod").ZodOptional<import("zod").ZodString>;
5297
+ offers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5298
+ pausedUntil: import("zod").ZodOptional<import("zod").ZodNumber>;
5299
+ restartPending: import("zod").ZodOptional<import("zod").ZodBoolean>;
5300
+ comesBack: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodEnum<{
5301
+ boot: "boot";
5302
+ "sign-in": "sign-in";
5303
+ }>>>;
5304
+ text: import("zod").ZodString;
5305
+ }, import("zod/v4/core").$strip>>;
5306
+ dueAt: import("zod").ZodOptional<import("zod").ZodNumber>;
5307
+ utcOffsetMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
5308
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5309
+ kind: import("zod").ZodLiteral<"wsl-memory">;
5310
+ device: import("zod").ZodString;
5311
+ configPath: import("zod").ZodString;
5312
+ fit: import("zod").ZodObject<{
5313
+ at: import("zod").ZodNumber;
5314
+ windowMs: import("zod").ZodNumber;
5315
+ readings: import("zod").ZodNumber;
5316
+ totalBytes: import("zod").ZodNumber;
5317
+ lowLineBytes: import("zod").ZodNumber;
5318
+ underLowShare: import("zod").ZodNumber;
5319
+ availableMedianBytes: import("zod").ZodNumber;
5320
+ vmMedianBytes: import("zod").ZodNumber;
5321
+ outsideBytes: import("zod").ZodNumber;
5322
+ configuredGb: import("zod").ZodOptional<import("zod").ZodNumber>;
5323
+ proposedGb: import("zod").ZodNumber;
5324
+ atFloor: import("zod").ZodBoolean;
5325
+ capsOver: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
5326
+ name: import("zod").ZodString;
5327
+ memoryBytes: import("zod").ZodNumber;
5328
+ }, import("zod/v4/core").$strip>>>;
5329
+ text: import("zod").ZodString;
5330
+ }, import("zod/v4/core").$strip>;
5331
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5332
+ kind: import("zod").ZodLiteral<"claim">;
5333
+ project: import("zod").ZodString;
5334
+ heldBy: import("zod").ZodOptional<import("zod").ZodString>;
5335
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5336
+ kind: import("zod").ZodLiteral<"route">;
5337
+ target: import("zod").ZodString;
5338
+ targetName: import("zod").ZodString;
5339
+ person: import("zod").ZodString;
5340
+ scopes: import("zod").ZodArray<import("zod").ZodEnum<{
5341
+ drop: "drop";
5342
+ read: "read";
5343
+ report: "report";
5344
+ task: "task";
5345
+ }>>;
5346
+ address: import("zod").ZodOptional<import("zod").ZodString>;
5347
+ from: import("zod").ZodOptional<import("zod").ZodString>;
5348
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5349
+ kind: import("zod").ZodLiteral<"redirect">;
5350
+ target: import("zod").ZodString;
5351
+ targetName: import("zod").ZodString;
5352
+ address: import("zod").ZodOptional<import("zod").ZodString>;
5353
+ person: import("zod").ZodString;
5354
+ words: import("zod").ZodString;
5355
+ clipped: import("zod").ZodOptional<import("zod").ZodBoolean>;
5356
+ attachments: import("zod").ZodOptional<import("zod").ZodNumber>;
5357
+ project: import("zod").ZodOptional<import("zod").ZodString>;
5358
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5359
+ kind: import("zod").ZodLiteral<"deploy">;
5360
+ repo: import("zod").ZodString;
5361
+ stack: import("zod").ZodString;
5362
+ device: import("zod").ZodString;
5363
+ deviceName: import("zod").ZodOptional<import("zod").ZodString>;
5364
+ secrets: import("zod").ZodArray<import("zod").ZodString>;
5365
+ ungranted: import("zod").ZodArray<import("zod").ZodString>;
4344
5366
  }, import("zod/v4/core").$strip>], "kind">;
4345
5367
  title: import("zod").ZodString;
4346
5368
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4387,6 +5409,30 @@ export declare const agentContract: {
4387
5409
  }>>;
4388
5410
  sent: import("zod").ZodString;
4389
5411
  }, import("zod/v4/core").$strip>>;
5412
+ childNews: import("zod").ZodOptional<import("zod").ZodObject<{
5413
+ kind: import("zod").ZodEnum<{
5414
+ allowed: "allowed";
5415
+ answerLost: "answerLost";
5416
+ drift: "drift";
5417
+ fellBack: "fellBack";
5418
+ landConflict: "landConflict";
5419
+ landed: "landed";
5420
+ messageLost: "messageLost";
5421
+ movedHere: "movedHere";
5422
+ notStarted: "notStarted";
5423
+ otherModel: "otherModel";
5424
+ question: "question";
5425
+ restarted: "restarted";
5426
+ stopped: "stopped";
5427
+ working: "working";
5428
+ }>;
5429
+ from: import("zod").ZodString;
5430
+ title: import("zod").ZodOptional<import("zod").ZodString>;
5431
+ runner: import("zod").ZodOptional<import("zod").ZodString>;
5432
+ model: import("zod").ZodOptional<import("zod").ZodString>;
5433
+ cause: import("zod").ZodOptional<import("zod").ZodString>;
5434
+ sent: import("zod").ZodString;
5435
+ }, import("zod/v4/core").$strip>>;
4390
5436
  backgroundJob: import("zod").ZodOptional<import("zod").ZodObject<{
4391
5437
  id: import("zod").ZodString;
4392
5438
  label: import("zod").ZodString;
@@ -4479,6 +5525,7 @@ export declare const agentContract: {
4479
5525
  desktop: "desktop";
4480
5526
  device: "device";
4481
5527
  gateway: "gateway";
5528
+ mcp: "mcp";
4482
5529
  otp: "otp";
4483
5530
  session: "session";
4484
5531
  shell: "shell";
@@ -4675,8 +5722,10 @@ export declare const agentContract: {
4675
5722
  displayName: import("zod").ZodOptional<import("zod").ZodString>;
4676
5723
  description: import("zod").ZodOptional<import("zod").ZodString>;
4677
5724
  reason: import("zod").ZodOptional<import("zod").ZodString>;
5725
+ outside: import("zod").ZodOptional<import("zod").ZodString>;
4678
5726
  path: import("zod").ZodOptional<import("zod").ZodString>;
4679
5727
  alwaysLabel: import("zod").ZodOptional<import("zod").ZodString>;
5728
+ keepLabel: import("zod").ZodOptional<import("zod").ZodString>;
4680
5729
  alwaysAsks: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
4681
5730
  program: import("zod").ZodOptional<import("zod").ZodObject<{
4682
5731
  text: import("zod").ZodString;
@@ -4714,6 +5763,7 @@ export declare const agentContract: {
4714
5763
  child: import("zod").ZodOptional<import("zod").ZodString>;
4715
5764
  task: import("zod").ZodOptional<import("zod").ZodString>;
4716
5765
  message: import("zod").ZodOptional<import("zod").ZodString>;
5766
+ headings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4717
5767
  on: import("zod").ZodOptional<import("zod").ZodString>;
4718
5768
  proposed: import("zod").ZodOptional<import("zod").ZodObject<{
4719
5769
  provider: import("zod").ZodString;
@@ -4856,6 +5906,7 @@ export declare const agentContract: {
4856
5906
  hint: import("zod").ZodOptional<import("zod").ZodString>;
4857
5907
  replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
4858
5908
  multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
5909
+ hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4859
5910
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4860
5911
  kind: import("zod").ZodLiteral<"grant">;
4861
5912
  subject: import("zod").ZodEnum<{
@@ -4899,6 +5950,16 @@ export declare const agentContract: {
4899
5950
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4900
5951
  kind: import("zod").ZodLiteral<"event">;
4901
5952
  dailyMax: import("zod").ZodOptional<import("zod").ZodNumber>;
5953
+ signature: import("zod").ZodOptional<import("zod").ZodObject<{
5954
+ scheme: import("zod").ZodEnum<{
5955
+ github: "github";
5956
+ linear: "linear";
5957
+ sentry: "sentry";
5958
+ "standard-webhooks": "standard-webhooks";
5959
+ stripe: "stripe";
5960
+ }>;
5961
+ secret: import("zod").ZodString;
5962
+ }, import("zod/v4/core").$strip>>;
4902
5963
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4903
5964
  kind: import("zod").ZodLiteral<"listener">;
4904
5965
  provider: import("zod").ZodString;
@@ -4907,6 +5968,7 @@ export declare const agentContract: {
4907
5968
  mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
4908
5969
  branch: import("zod").ZodOptional<import("zod").ZodString>;
4909
5970
  allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5971
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
4910
5972
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4911
5973
  kind: import("zod").ZodLiteral<"workspace">;
4912
5974
  event: import("zod").ZodEnum<{
@@ -4918,7 +5980,7 @@ export declare const agentContract: {
4918
5980
  repo: import("zod").ZodOptional<import("zod").ZodString>;
4919
5981
  }, import("zod/v4/core").$strip>], "kind">;
4920
5982
  guard: import("zod").ZodOptional<import("zod").ZodString>;
4921
- source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
5983
+ source: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodObject<{
4922
5984
  kind: import("zod").ZodLiteral<"npm">;
4923
5985
  package: import("zod").ZodString;
4924
5986
  range: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4931,7 +5993,9 @@ export declare const agentContract: {
4931
5993
  kind: import("zod").ZodLiteral<"url">;
4932
5994
  url: import("zod").ZodString;
4933
5995
  select: import("zod").ZodOptional<import("zod").ZodString>;
4934
- }, import("zod/v4/core").$strip>], "kind">>;
5996
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5997
+ kind: import("zod").ZodString;
5998
+ }, import("zod/v4/core").$catchall<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean]>>>]>>;
4935
5999
  fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
4936
6000
  change: "change";
4937
6001
  pass: "pass";
@@ -4947,6 +6011,10 @@ export declare const agentContract: {
4947
6011
  conversationId: import("zod").ZodString;
4948
6012
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4949
6013
  kind: import("zod").ZodLiteral<"notify">;
6014
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6015
+ kind: import("zod").ZodLiteral<"extension">;
6016
+ extension: import("zod").ZodString;
6017
+ handler: import("zod").ZodString;
4950
6018
  }, import("zod/v4/core").$strip>], "kind">>;
4951
6019
  note: import("zod").ZodOptional<import("zod").ZodString>;
4952
6020
  prompt: import("zod").ZodString;
@@ -5040,12 +6108,123 @@ export declare const agentContract: {
5040
6108
  saw: import("zod").ZodString;
5041
6109
  at: import("zod").ZodNumber;
5042
6110
  }, import("zod/v4/core").$strip>>;
6111
+ watchKind: import("zod").ZodOptional<import("zod").ZodObject<{
6112
+ id: import("zod").ZodString;
6113
+ label: import("zod").ZodString;
6114
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
6115
+ logo: import("zod").ZodOptional<import("zod").ZodString>;
6116
+ description: import("zod").ZodString;
6117
+ sentence: import("zod").ZodString;
6118
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
6119
+ key: import("zod").ZodString;
6120
+ label: import("zod").ZodString;
6121
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
6122
+ switch: "switch";
6123
+ text: "text";
6124
+ }>>;
6125
+ required: import("zod").ZodOptional<import("zod").ZodBoolean>;
6126
+ placeholder: import("zod").ZodOptional<import("zod").ZodString>;
6127
+ hint: import("zod").ZodOptional<import("zod").ZodString>;
6128
+ pattern: import("zod").ZodOptional<import("zod").ZodString>;
6129
+ patternHint: import("zod").ZodOptional<import("zod").ZodString>;
6130
+ maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
6131
+ }, import("zod/v4/core").$strip>>;
6132
+ extension: import("zod").ZodString;
6133
+ enabled: import("zod").ZodBoolean;
6134
+ }, import("zod/v4/core").$strip>>;
5043
6135
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5044
6136
  kind: import("zod").ZodLiteral<"instruction">;
5045
6137
  file: import("zod").ZodString;
5046
6138
  text: import("zod").ZodString;
5047
6139
  diff: import("zod").ZodString;
5048
6140
  creates: import("zod").ZodOptional<import("zod").ZodBoolean>;
6141
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6142
+ kind: import("zod").ZodLiteral<"host-power">;
6143
+ device: import("zod").ZodString;
6144
+ findings: import("zod").ZodArray<import("zod").ZodObject<{
6145
+ id: import("zod").ZodString;
6146
+ power: import("zod").ZodOptional<import("zod").ZodEnum<{
6147
+ ac: "ac";
6148
+ dc: "dc";
6149
+ }>>;
6150
+ afterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
6151
+ action: import("zod").ZodOptional<import("zod").ZodString>;
6152
+ window: import("zod").ZodOptional<import("zod").ZodObject<{
6153
+ fromHour: import("zod").ZodNumber;
6154
+ toHour: import("zod").ZodNumber;
6155
+ }, import("zod/v4/core").$strip>>;
6156
+ plans: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
6157
+ fixable: import("zod").ZodBoolean;
6158
+ command: import("zod").ZodOptional<import("zod").ZodString>;
6159
+ offers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
6160
+ pausedUntil: import("zod").ZodOptional<import("zod").ZodNumber>;
6161
+ restartPending: import("zod").ZodOptional<import("zod").ZodBoolean>;
6162
+ comesBack: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodEnum<{
6163
+ boot: "boot";
6164
+ "sign-in": "sign-in";
6165
+ }>>>;
6166
+ text: import("zod").ZodString;
6167
+ }, import("zod/v4/core").$strip>>;
6168
+ dueAt: import("zod").ZodOptional<import("zod").ZodNumber>;
6169
+ utcOffsetMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
6170
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6171
+ kind: import("zod").ZodLiteral<"wsl-memory">;
6172
+ device: import("zod").ZodString;
6173
+ configPath: import("zod").ZodString;
6174
+ fit: import("zod").ZodObject<{
6175
+ at: import("zod").ZodNumber;
6176
+ windowMs: import("zod").ZodNumber;
6177
+ readings: import("zod").ZodNumber;
6178
+ totalBytes: import("zod").ZodNumber;
6179
+ lowLineBytes: import("zod").ZodNumber;
6180
+ underLowShare: import("zod").ZodNumber;
6181
+ availableMedianBytes: import("zod").ZodNumber;
6182
+ vmMedianBytes: import("zod").ZodNumber;
6183
+ outsideBytes: import("zod").ZodNumber;
6184
+ configuredGb: import("zod").ZodOptional<import("zod").ZodNumber>;
6185
+ proposedGb: import("zod").ZodNumber;
6186
+ atFloor: import("zod").ZodBoolean;
6187
+ capsOver: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
6188
+ name: import("zod").ZodString;
6189
+ memoryBytes: import("zod").ZodNumber;
6190
+ }, import("zod/v4/core").$strip>>>;
6191
+ text: import("zod").ZodString;
6192
+ }, import("zod/v4/core").$strip>;
6193
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6194
+ kind: import("zod").ZodLiteral<"claim">;
6195
+ project: import("zod").ZodString;
6196
+ heldBy: import("zod").ZodOptional<import("zod").ZodString>;
6197
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6198
+ kind: import("zod").ZodLiteral<"route">;
6199
+ target: import("zod").ZodString;
6200
+ targetName: import("zod").ZodString;
6201
+ person: import("zod").ZodString;
6202
+ scopes: import("zod").ZodArray<import("zod").ZodEnum<{
6203
+ drop: "drop";
6204
+ read: "read";
6205
+ report: "report";
6206
+ task: "task";
6207
+ }>>;
6208
+ address: import("zod").ZodOptional<import("zod").ZodString>;
6209
+ from: import("zod").ZodOptional<import("zod").ZodString>;
6210
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6211
+ kind: import("zod").ZodLiteral<"redirect">;
6212
+ target: import("zod").ZodString;
6213
+ targetName: import("zod").ZodString;
6214
+ address: import("zod").ZodOptional<import("zod").ZodString>;
6215
+ person: import("zod").ZodString;
6216
+ words: import("zod").ZodString;
6217
+ clipped: import("zod").ZodOptional<import("zod").ZodBoolean>;
6218
+ attachments: import("zod").ZodOptional<import("zod").ZodNumber>;
6219
+ project: import("zod").ZodOptional<import("zod").ZodString>;
6220
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6221
+ kind: import("zod").ZodLiteral<"deploy">;
6222
+ repo: import("zod").ZodString;
6223
+ stack: import("zod").ZodString;
6224
+ device: import("zod").ZodString;
6225
+ deviceName: import("zod").ZodOptional<import("zod").ZodString>;
6226
+ secrets: import("zod").ZodArray<import("zod").ZodString>;
6227
+ ungranted: import("zod").ZodArray<import("zod").ZodString>;
5049
6228
  }, import("zod/v4/core").$strip>], "kind">;
5050
6229
  title: import("zod").ZodString;
5051
6230
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5092,6 +6271,30 @@ export declare const agentContract: {
5092
6271
  }>>;
5093
6272
  sent: import("zod").ZodString;
5094
6273
  }, import("zod/v4/core").$strip>>;
6274
+ childNews: import("zod").ZodOptional<import("zod").ZodObject<{
6275
+ kind: import("zod").ZodEnum<{
6276
+ allowed: "allowed";
6277
+ answerLost: "answerLost";
6278
+ drift: "drift";
6279
+ fellBack: "fellBack";
6280
+ landConflict: "landConflict";
6281
+ landed: "landed";
6282
+ messageLost: "messageLost";
6283
+ movedHere: "movedHere";
6284
+ notStarted: "notStarted";
6285
+ otherModel: "otherModel";
6286
+ question: "question";
6287
+ restarted: "restarted";
6288
+ stopped: "stopped";
6289
+ working: "working";
6290
+ }>;
6291
+ from: import("zod").ZodString;
6292
+ title: import("zod").ZodOptional<import("zod").ZodString>;
6293
+ runner: import("zod").ZodOptional<import("zod").ZodString>;
6294
+ model: import("zod").ZodOptional<import("zod").ZodString>;
6295
+ cause: import("zod").ZodOptional<import("zod").ZodString>;
6296
+ sent: import("zod").ZodString;
6297
+ }, import("zod/v4/core").$strip>>;
5095
6298
  backgroundJob: import("zod").ZodOptional<import("zod").ZodObject<{
5096
6299
  id: import("zod").ZodString;
5097
6300
  label: import("zod").ZodString;
@@ -5184,6 +6387,7 @@ export declare const agentContract: {
5184
6387
  desktop: "desktop";
5185
6388
  device: "device";
5186
6389
  gateway: "gateway";
6390
+ mcp: "mcp";
5187
6391
  otp: "otp";
5188
6392
  session: "session";
5189
6393
  shell: "shell";
@@ -5284,6 +6488,7 @@ export declare const agentContract: {
5284
6488
  once: "once";
5285
6489
  }>;
5286
6490
  feedback: import("zod").ZodOptional<import("zod").ZodString>;
6491
+ keep: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
5287
6492
  child: import("zod").ZodOptional<import("zod").ZodObject<{
5288
6493
  provider: import("zod").ZodString;
5289
6494
  model: import("zod").ZodString;
@@ -5872,6 +7077,9 @@ export declare const agentContract: {
5872
7077
  poolUnpublished: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
5873
7078
  unmetered: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
5874
7079
  byHand: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
7080
+ source: import("zod").ZodOptional<import("zod").ZodEnum<{
7081
+ "another-sandbox": "another-sandbox";
7082
+ }>>;
5875
7083
  }, import("zod/v4/core").$strip>>, import("zod").ZodObject<{
5876
7084
  at: import("zod").ZodNumber;
5877
7085
  kind: import("zod").ZodEnum<{
@@ -5888,6 +7096,9 @@ export declare const agentContract: {
5888
7096
  poolUnpublished: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
5889
7097
  unmetered: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
5890
7098
  byHand: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
7099
+ source: import("zod").ZodOptional<import("zod").ZodEnum<{
7100
+ "another-sandbox": "another-sandbox";
7101
+ }>>;
5891
7102
  }, import("zod/v4/core").$strip>]>, import("zod").ZodArray<import("zod").ZodObject<{
5892
7103
  at: import("zod").ZodNumber;
5893
7104
  kind: import("zod").ZodEnum<{
@@ -5904,6 +7115,9 @@ export declare const agentContract: {
5904
7115
  poolUnpublished: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
5905
7116
  unmetered: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
5906
7117
  byHand: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
7118
+ source: import("zod").ZodOptional<import("zod").ZodEnum<{
7119
+ "another-sandbox": "another-sandbox";
7120
+ }>>;
5907
7121
  }, import("zod/v4/core").$strip>>>>;
5908
7122
  switchOffs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodReadonly<import("zod").ZodArray<import("zod").ZodNumber>>>>>;
5909
7123
  }, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;