@intentic/sandbox-contract 1.431.0 → 1.433.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 (510) hide show
  1. package/README.md +25 -3
  2. package/dist/briefs/agent-ask.d.ts +10 -0
  3. package/dist/briefs/agent-ask.d.ts.map +1 -0
  4. package/dist/briefs/agent-ask.js +2 -0
  5. package/dist/briefs/agent-ask.js.map +1 -0
  6. package/dist/{chores/extension-update.d.ts → briefs/extension-update-brief.d.ts} +1 -1
  7. package/dist/briefs/extension-update-brief.d.ts.map +1 -0
  8. package/dist/{chores/extension-update.js → briefs/extension-update-brief.js} +2 -2
  9. package/dist/briefs/extension-update-brief.js.map +1 -0
  10. package/dist/chores/digest.d.ts.map +1 -1
  11. package/dist/chores/digest.js.map +1 -1
  12. package/dist/chores/index.d.ts +2 -2
  13. package/dist/chores/index.d.ts.map +1 -1
  14. package/dist/chores/index.js +1 -1
  15. package/dist/chores/index.js.map +1 -1
  16. package/dist/chores/prompt.d.ts +1 -9
  17. package/dist/chores/prompt.d.ts.map +1 -1
  18. package/dist/chores/prompt.js +1 -1
  19. package/dist/chores/prompt.js.map +1 -1
  20. package/dist/chores/stack.d.ts.map +1 -1
  21. package/dist/chores/stack.js.map +1 -1
  22. package/dist/chores/verdict.d.ts.map +1 -1
  23. package/dist/chores/verdict.js.map +1 -1
  24. package/dist/chores/workspace-scope.d.ts +1 -3
  25. package/dist/chores/workspace-scope.d.ts.map +1 -1
  26. package/dist/chores/workspace-scope.js +1 -3
  27. package/dist/chores/workspace-scope.js.map +1 -1
  28. package/dist/contracts/agent.contract.d.ts +1049 -12
  29. package/dist/contracts/agent.contract.d.ts.map +1 -1
  30. package/dist/contracts/agents.contract.d.ts +358 -4
  31. package/dist/contracts/agents.contract.d.ts.map +1 -1
  32. package/dist/contracts/approvals.contract.d.ts +35 -0
  33. package/dist/contracts/approvals.contract.d.ts.map +1 -1
  34. package/dist/contracts/approvals.contract.js +13 -3
  35. package/dist/contracts/approvals.contract.js.map +1 -1
  36. package/dist/contracts/automations.contract.d.ts +60 -8
  37. package/dist/contracts/automations.contract.d.ts.map +1 -1
  38. package/dist/contracts/capabilities.contract.d.ts +40 -0
  39. package/dist/contracts/capabilities.contract.d.ts.map +1 -1
  40. package/dist/contracts/capabilities.contract.js +21 -0
  41. package/dist/contracts/capabilities.contract.js.map +1 -1
  42. package/dist/contracts/ci.contract.d.ts +222 -95
  43. package/dist/contracts/ci.contract.d.ts.map +1 -1
  44. package/dist/contracts/ci.contract.js +87 -26
  45. package/dist/contracts/ci.contract.js.map +1 -1
  46. package/dist/contracts/device-stacks.contract.d.ts +129 -0
  47. package/dist/contracts/device-stacks.contract.d.ts.map +1 -0
  48. package/dist/contracts/device-stacks.contract.js +66 -0
  49. package/dist/contracts/device-stacks.contract.js.map +1 -0
  50. package/dist/contracts/device.contract.d.ts +47 -0
  51. package/dist/contracts/device.contract.d.ts.map +1 -1
  52. package/dist/contracts/extensions.contract.d.ts +607 -0
  53. package/dist/contracts/extensions.contract.d.ts.map +1 -1
  54. package/dist/contracts/extensions.contract.js +10 -1
  55. package/dist/contracts/extensions.contract.js.map +1 -1
  56. package/dist/contracts/needs.contract.d.ts +887 -18
  57. package/dist/contracts/needs.contract.d.ts.map +1 -1
  58. package/dist/contracts/offload.contract.d.ts +21 -0
  59. package/dist/contracts/offload.contract.d.ts.map +1 -1
  60. package/dist/contracts/runner.contract.d.ts +653 -40
  61. package/dist/contracts/runner.contract.d.ts.map +1 -1
  62. package/dist/contracts/seal.contract.d.ts +20 -0
  63. package/dist/contracts/seal.contract.d.ts.map +1 -1
  64. package/dist/contracts/secrets.contract.d.ts +15 -0
  65. package/dist/contracts/secrets.contract.d.ts.map +1 -1
  66. package/dist/contracts/secrets.contract.js +21 -1
  67. package/dist/contracts/secrets.contract.js.map +1 -1
  68. package/dist/contracts/sessions.contract.d.ts +133 -2
  69. package/dist/contracts/sessions.contract.d.ts.map +1 -1
  70. package/dist/contracts/settings.contract.d.ts +73 -42
  71. package/dist/contracts/settings.contract.d.ts.map +1 -1
  72. package/dist/contracts/settings.contract.js +18 -0
  73. package/dist/contracts/settings.contract.js.map +1 -1
  74. package/dist/contracts/stack-grants.contract.d.ts +440 -0
  75. package/dist/contracts/stack-grants.contract.d.ts.map +1 -0
  76. package/dist/contracts/stack-grants.contract.js +46 -0
  77. package/dist/contracts/stack-grants.contract.js.map +1 -0
  78. package/dist/contracts/system.contract.d.ts +191 -69
  79. package/dist/contracts/system.contract.d.ts.map +1 -1
  80. package/dist/contracts/system.contract.js +12 -42
  81. package/dist/contracts/system.contract.js.map +1 -1
  82. package/dist/contracts/workspace.contract.d.ts +0 -55
  83. package/dist/contracts/workspace.contract.d.ts.map +1 -1
  84. package/dist/contracts/workspace.contract.js +0 -19
  85. package/dist/contracts/workspace.contract.js.map +1 -1
  86. package/dist/events/agent-events.d.ts +509 -8
  87. package/dist/events/agent-events.d.ts.map +1 -1
  88. package/dist/events/agent-transcript.d.ts +133 -2
  89. package/dist/events/agent-transcript.d.ts.map +1 -1
  90. package/dist/events/agent-words.d.ts.map +1 -1
  91. package/dist/events/agent-words.js +2 -1
  92. package/dist/events/agent-words.js.map +1 -1
  93. package/dist/events/child-news.d.ts +32 -0
  94. package/dist/events/child-news.d.ts.map +1 -0
  95. package/dist/events/child-news.js +171 -0
  96. package/dist/events/child-news.js.map +1 -0
  97. package/dist/events/prompt-origins.d.ts +42 -0
  98. package/dist/events/prompt-origins.d.ts.map +1 -1
  99. package/dist/events/prompt-origins.js +28 -0
  100. package/dist/events/prompt-origins.js.map +1 -1
  101. package/dist/events/requests.d.ts +14 -0
  102. package/dist/events/requests.d.ts.map +1 -1
  103. package/dist/events/requests.js +12 -0
  104. package/dist/events/requests.js.map +1 -1
  105. package/dist/events/system-events.d.ts +16 -0
  106. package/dist/events/system-events.d.ts.map +1 -1
  107. package/dist/events/transcript.d.ts +669 -10
  108. package/dist/events/transcript.d.ts.map +1 -1
  109. package/dist/events/transcript.js +2 -1
  110. package/dist/events/transcript.js.map +1 -1
  111. package/dist/ids/conversation-ids.d.ts.map +1 -1
  112. package/dist/ids/conversation-ids.js.map +1 -1
  113. package/dist/index.d.ts +2 -4
  114. package/dist/index.d.ts.map +1 -1
  115. package/dist/index.js +2 -4
  116. package/dist/index.js.map +1 -1
  117. package/dist/models/model-roles.d.ts +91 -37
  118. package/dist/models/model-roles.d.ts.map +1 -1
  119. package/dist/models/model-roles.js +106 -35
  120. package/dist/models/model-roles.js.map +1 -1
  121. package/dist/models/model-setups.d.ts +10 -8
  122. package/dist/models/model-setups.d.ts.map +1 -1
  123. package/dist/models/model-setups.js +15 -15
  124. package/dist/models/model-setups.js.map +1 -1
  125. package/dist/policy/approvals-execution.d.ts +5 -2
  126. package/dist/policy/approvals-execution.d.ts.map +1 -1
  127. package/dist/policy/approvals-execution.js +3 -4
  128. package/dist/policy/approvals-execution.js.map +1 -1
  129. package/dist/policy/batch-runs.d.ts +1 -1
  130. package/dist/policy/batch-runs.d.ts.map +1 -1
  131. package/dist/policy/batch-runs.js +2 -1
  132. package/dist/policy/batch-runs.js.map +1 -1
  133. package/dist/policy/message-limits.d.ts.map +1 -1
  134. package/dist/policy/message-limits.js.map +1 -1
  135. package/dist/policy/org-locks.d.ts +1 -1
  136. package/dist/policy/org-locks.d.ts.map +1 -1
  137. package/dist/policy/org-locks.js +1 -0
  138. package/dist/policy/org-locks.js.map +1 -1
  139. package/dist/policy/shell/workspace-root-exclude.d.ts +4 -0
  140. package/dist/policy/shell/workspace-root-exclude.d.ts.map +1 -0
  141. package/dist/policy/shell/workspace-root-exclude.js +4 -0
  142. package/dist/policy/shell/workspace-root-exclude.js.map +1 -0
  143. package/dist/protocol/doors/listener-protocol.d.ts +7 -0
  144. package/dist/protocol/doors/listener-protocol.d.ts.map +1 -1
  145. package/dist/protocol/doors/listener-protocol.js +1 -0
  146. package/dist/protocol/doors/listener-protocol.js.map +1 -1
  147. package/dist/protocol/doors/webext-links.d.ts.map +1 -1
  148. package/dist/protocol/doors/webext-links.js.map +1 -1
  149. package/dist/protocol/raw/extension-protocol.d.ts +634 -0
  150. package/dist/protocol/raw/extension-protocol.d.ts.map +1 -1
  151. package/dist/protocol/raw/extension-protocol.js +292 -0
  152. package/dist/protocol/raw/extension-protocol.js.map +1 -1
  153. package/dist/protocol/raw/raw-json-routes.d.ts +3034 -0
  154. package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -1
  155. package/dist/protocol/raw/raw-json-routes.js +39 -0
  156. package/dist/protocol/raw/raw-json-routes.js.map +1 -1
  157. package/dist/protocol/raw/raw-routes.d.ts +260 -1
  158. package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
  159. package/dist/protocol/raw/raw-routes.js +57 -1
  160. package/dist/protocol/raw/raw-routes.js.map +1 -1
  161. package/dist/protocol/s2s/address.d.ts +53 -0
  162. package/dist/protocol/s2s/address.d.ts.map +1 -0
  163. package/dist/protocol/s2s/address.js +111 -0
  164. package/dist/protocol/s2s/address.js.map +1 -0
  165. package/dist/protocol/s2s/attestation.d.ts +41 -0
  166. package/dist/protocol/s2s/attestation.d.ts.map +1 -0
  167. package/dist/protocol/s2s/attestation.js +96 -0
  168. package/dist/protocol/s2s/attestation.js.map +1 -0
  169. package/dist/protocol/s2s/canonical.d.ts +10 -0
  170. package/dist/protocol/s2s/canonical.d.ts.map +1 -0
  171. package/dist/protocol/s2s/canonical.js +94 -0
  172. package/dist/protocol/s2s/canonical.js.map +1 -0
  173. package/dist/protocol/s2s/envelope.d.ts +40 -0
  174. package/dist/protocol/s2s/envelope.d.ts.map +1 -0
  175. package/dist/protocol/s2s/envelope.js +116 -0
  176. package/dist/protocol/s2s/envelope.js.map +1 -0
  177. package/dist/protocol/s2s/extension-sign.d.ts +21 -0
  178. package/dist/protocol/s2s/extension-sign.d.ts.map +1 -0
  179. package/dist/protocol/s2s/extension-sign.js +41 -0
  180. package/dist/protocol/s2s/extension-sign.js.map +1 -0
  181. package/dist/protocol/s2s/identity-doc.d.ts +50 -0
  182. package/dist/protocol/s2s/identity-doc.d.ts.map +1 -0
  183. package/dist/protocol/s2s/identity-doc.js +89 -0
  184. package/dist/protocol/s2s/identity-doc.js.map +1 -0
  185. package/dist/protocol/s2s/index.d.ts +12 -0
  186. package/dist/protocol/s2s/index.d.ts.map +1 -0
  187. package/dist/protocol/s2s/index.js +12 -0
  188. package/dist/protocol/s2s/index.js.map +1 -0
  189. package/dist/protocol/s2s/kem.d.ts +15 -0
  190. package/dist/protocol/s2s/kem.d.ts.map +1 -0
  191. package/dist/protocol/s2s/kem.js +34 -0
  192. package/dist/protocol/s2s/kem.js.map +1 -0
  193. package/dist/protocol/s2s/keys.d.ts +34 -0
  194. package/dist/protocol/s2s/keys.d.ts.map +1 -0
  195. package/dist/protocol/s2s/keys.js +81 -0
  196. package/dist/protocol/s2s/keys.js.map +1 -0
  197. package/dist/protocol/s2s/passkey-cosign.d.ts +44 -0
  198. package/dist/protocol/s2s/passkey-cosign.d.ts.map +1 -0
  199. package/dist/protocol/s2s/passkey-cosign.js +139 -0
  200. package/dist/protocol/s2s/passkey-cosign.js.map +1 -0
  201. package/dist/protocol/s2s/session.d.ts +61 -0
  202. package/dist/protocol/s2s/session.d.ts.map +1 -0
  203. package/dist/protocol/s2s/session.js +98 -0
  204. package/dist/protocol/s2s/session.js.map +1 -0
  205. package/dist/protocol/s2s/sign.d.ts +12 -0
  206. package/dist/protocol/s2s/sign.d.ts.map +1 -0
  207. package/dist/protocol/s2s/sign.js +33 -0
  208. package/dist/protocol/s2s/sign.js.map +1 -0
  209. package/dist/schemas/activity.d.ts.map +1 -1
  210. package/dist/schemas/activity.js.map +1 -1
  211. package/dist/schemas/agent.d.ts +4 -0
  212. package/dist/schemas/agent.d.ts.map +1 -1
  213. package/dist/schemas/agent.js +4 -2
  214. package/dist/schemas/agent.js.map +1 -1
  215. package/dist/schemas/agents-list.d.ts +8 -0
  216. package/dist/schemas/agents-list.d.ts.map +1 -1
  217. package/dist/schemas/agents.d.ts +16 -0
  218. package/dist/schemas/agents.d.ts.map +1 -1
  219. package/dist/schemas/approvals.d.ts +100 -0
  220. package/dist/schemas/approvals.d.ts.map +1 -1
  221. package/dist/schemas/approvals.js +21 -0
  222. package/dist/schemas/approvals.js.map +1 -1
  223. package/dist/schemas/automations.d.ts +89 -27
  224. package/dist/schemas/automations.d.ts.map +1 -1
  225. package/dist/schemas/automations.js +15 -33
  226. package/dist/schemas/automations.js.map +1 -1
  227. package/dist/schemas/capabilities.d.ts +1 -0
  228. package/dist/schemas/capabilities.d.ts.map +1 -1
  229. package/dist/schemas/ci-deployments.d.ts +30 -0
  230. package/dist/schemas/ci-deployments.d.ts.map +1 -0
  231. package/dist/schemas/ci-deployments.js +18 -0
  232. package/dist/schemas/ci-deployments.js.map +1 -0
  233. package/dist/schemas/ci.d.ts +348 -21
  234. package/dist/schemas/ci.d.ts.map +1 -1
  235. package/dist/schemas/ci.js +110 -19
  236. package/dist/schemas/ci.js.map +1 -1
  237. package/dist/schemas/command-admission.d.ts +6 -0
  238. package/dist/schemas/command-admission.d.ts.map +1 -1
  239. package/dist/schemas/command-admission.js +2 -1
  240. package/dist/schemas/command-admission.js.map +1 -1
  241. package/dist/schemas/command-run.d.ts +29 -0
  242. package/dist/schemas/command-run.d.ts.map +1 -0
  243. package/dist/schemas/command-run.js +20 -0
  244. package/dist/schemas/command-run.js.map +1 -0
  245. package/dist/schemas/contact-need.d.ts +50 -0
  246. package/dist/schemas/contact-need.d.ts.map +1 -0
  247. package/dist/schemas/contact-need.js +19 -0
  248. package/dist/schemas/contact-need.js.map +1 -0
  249. package/dist/schemas/contacts-settings.d.ts +5 -0
  250. package/dist/schemas/contacts-settings.d.ts.map +1 -0
  251. package/dist/schemas/contacts-settings.js +11 -0
  252. package/dist/schemas/contacts-settings.js.map +1 -0
  253. package/dist/schemas/data-protection.d.ts +15 -2
  254. package/dist/schemas/data-protection.d.ts.map +1 -1
  255. package/dist/schemas/data-protection.js +15 -23
  256. package/dist/schemas/data-protection.js.map +1 -1
  257. package/dist/schemas/device-stacks.d.ts +131 -0
  258. package/dist/schemas/device-stacks.d.ts.map +1 -1
  259. package/dist/schemas/device-stacks.js +81 -0
  260. package/dist/schemas/device-stacks.js.map +1 -1
  261. package/dist/schemas/devices.d.ts +73 -0
  262. package/dist/schemas/devices.d.ts.map +1 -1
  263. package/dist/schemas/devices.js +6 -2
  264. package/dist/schemas/devices.js.map +1 -1
  265. package/dist/schemas/extension-updates.d.ts +1192 -0
  266. package/dist/schemas/extension-updates.d.ts.map +1 -1
  267. package/dist/schemas/extension-updates.js +18 -4
  268. package/dist/schemas/extension-updates.js.map +1 -1
  269. package/dist/schemas/host-power.d.ts +22 -0
  270. package/dist/schemas/host-power.d.ts.map +1 -1
  271. package/dist/schemas/host-power.js +55 -0
  272. package/dist/schemas/host-power.js.map +1 -1
  273. package/dist/schemas/hosts.d.ts +226 -0
  274. package/dist/schemas/hosts.d.ts.map +1 -1
  275. package/dist/schemas/hosts.js +24 -0
  276. package/dist/schemas/hosts.js.map +1 -1
  277. package/dist/schemas/issues.d.ts +37 -249
  278. package/dist/schemas/issues.d.ts.map +1 -1
  279. package/dist/schemas/issues.js +10 -43
  280. package/dist/schemas/issues.js.map +1 -1
  281. package/dist/schemas/links.d.ts +8 -0
  282. package/dist/schemas/links.d.ts.map +1 -1
  283. package/dist/schemas/links.js +4 -0
  284. package/dist/schemas/links.js.map +1 -1
  285. package/dist/schemas/maintenance.d.ts.map +1 -1
  286. package/dist/schemas/maintenance.js.map +1 -1
  287. package/dist/schemas/metrics.d.ts +25 -0
  288. package/dist/schemas/metrics.d.ts.map +1 -1
  289. package/dist/schemas/metrics.js +18 -0
  290. package/dist/schemas/metrics.js.map +1 -1
  291. package/dist/schemas/need-kinds.d.ts +20 -0
  292. package/dist/schemas/need-kinds.d.ts.map +1 -0
  293. package/dist/schemas/need-kinds.js +7 -0
  294. package/dist/schemas/need-kinds.js.map +1 -0
  295. package/dist/schemas/needs.d.ts +666 -30
  296. package/dist/schemas/needs.d.ts.map +1 -1
  297. package/dist/schemas/needs.js +29 -6
  298. package/dist/schemas/needs.js.map +1 -1
  299. package/dist/schemas/offload.d.ts +52 -0
  300. package/dist/schemas/offload.d.ts.map +1 -1
  301. package/dist/schemas/offload.js +12 -0
  302. package/dist/schemas/offload.js.map +1 -1
  303. package/dist/schemas/outward-action.d.ts +39 -0
  304. package/dist/schemas/outward-action.d.ts.map +1 -0
  305. package/dist/schemas/outward-action.js +40 -0
  306. package/dist/schemas/outward-action.js.map +1 -0
  307. package/dist/schemas/providers/plan-limits.d.ts +1 -0
  308. package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
  309. package/dist/schemas/providers/plan-limits.js +1 -0
  310. package/dist/schemas/providers/plan-limits.js.map +1 -1
  311. package/dist/schemas/redirect-need.d.ts +15 -0
  312. package/dist/schemas/redirect-need.d.ts.map +1 -0
  313. package/dist/schemas/redirect-need.js +14 -0
  314. package/dist/schemas/redirect-need.js.map +1 -0
  315. package/dist/schemas/s2s-identity.d.ts +521 -0
  316. package/dist/schemas/s2s-identity.d.ts.map +1 -0
  317. package/dist/schemas/s2s-identity.js +208 -0
  318. package/dist/schemas/s2s-identity.js.map +1 -0
  319. package/dist/schemas/s2s-views.d.ts +2127 -0
  320. package/dist/schemas/s2s-views.d.ts.map +1 -0
  321. package/dist/schemas/s2s-views.js +217 -0
  322. package/dist/schemas/s2s-views.js.map +1 -0
  323. package/dist/schemas/s2s-wire.d.ts +1616 -0
  324. package/dist/schemas/s2s-wire.d.ts.map +1 -0
  325. package/dist/schemas/s2s-wire.js +276 -0
  326. package/dist/schemas/s2s-wire.js.map +1 -0
  327. package/dist/schemas/s2s.d.ts +5 -0
  328. package/dist/schemas/s2s.d.ts.map +1 -0
  329. package/dist/schemas/s2s.js +5 -0
  330. package/dist/schemas/s2s.js.map +1 -0
  331. package/dist/schemas/secrets.d.ts +17 -0
  332. package/dist/schemas/secrets.d.ts.map +1 -1
  333. package/dist/schemas/secrets.js +12 -5
  334. package/dist/schemas/secrets.js.map +1 -1
  335. package/dist/schemas/settings-history.d.ts +1 -1
  336. package/dist/schemas/settings-history.d.ts.map +1 -1
  337. package/dist/schemas/settings-history.js +5 -4
  338. package/dist/schemas/settings-history.js.map +1 -1
  339. package/dist/schemas/settings-savings.d.ts +58 -0
  340. package/dist/schemas/settings-savings.d.ts.map +1 -1
  341. package/dist/schemas/settings-savings.js +22 -0
  342. package/dist/schemas/settings-savings.js.map +1 -1
  343. package/dist/schemas/settings.d.ts +18 -42
  344. package/dist/schemas/settings.d.ts.map +1 -1
  345. package/dist/schemas/settings.js +7 -6
  346. package/dist/schemas/settings.js.map +1 -1
  347. package/dist/schemas/stack-grants.d.ts +60 -0
  348. package/dist/schemas/stack-grants.d.ts.map +1 -0
  349. package/dist/schemas/stack-grants.js +33 -0
  350. package/dist/schemas/stack-grants.js.map +1 -0
  351. package/dist/schemas/terminal.d.ts +2 -0
  352. package/dist/schemas/terminal.d.ts.map +1 -1
  353. package/dist/schemas/terminal.js +4 -0
  354. package/dist/schemas/terminal.js.map +1 -1
  355. package/dist/schemas/vpn.d.ts +4 -0
  356. package/dist/schemas/vpn.d.ts.map +1 -1
  357. package/dist/schemas/vpn.js +9 -0
  358. package/dist/schemas/vpn.js.map +1 -1
  359. package/dist/schemas/watch-sources.d.ts +72 -0
  360. package/dist/schemas/watch-sources.d.ts.map +1 -0
  361. package/dist/schemas/watch-sources.js +88 -0
  362. package/dist/schemas/watch-sources.js.map +1 -0
  363. package/dist/schemas/workspace/workspace-search.d.ts.map +1 -1
  364. package/dist/schemas/workspace/workspace-search.js +1 -1
  365. package/dist/schemas/workspace/workspace-search.js.map +1 -1
  366. package/dist/schemas/wsl-memory.d.ts +76 -0
  367. package/dist/schemas/wsl-memory.d.ts.map +1 -0
  368. package/dist/schemas/wsl-memory.js +36 -0
  369. package/dist/schemas/wsl-memory.js.map +1 -0
  370. package/dist/state/auth-state.d.ts.map +1 -1
  371. package/dist/state/auth-state.js +8 -0
  372. package/dist/state/auth-state.js.map +1 -1
  373. package/dist/state/definition.d.ts +22 -8
  374. package/dist/state/definition.d.ts.map +1 -1
  375. package/dist/state/workspace-state.d.ts +8 -3
  376. package/dist/state/workspace-state.d.ts.map +1 -1
  377. package/dist/state/workspace-state.js +8 -3
  378. package/dist/state/workspace-state.js.map +1 -1
  379. package/package.json +20 -5
  380. package/src/briefs/agent-ask.ts +23 -0
  381. package/src/{chores/extension-update.ts → briefs/extension-update-brief.ts} +3 -2
  382. package/src/chores/digest.ts +1 -0
  383. package/src/chores/index.ts +13 -2
  384. package/src/chores/prompt.ts +3 -18
  385. package/src/chores/stack.ts +1 -0
  386. package/src/chores/verdict.ts +1 -0
  387. package/src/chores/workspace-scope.ts +3 -8
  388. package/src/contracts/approvals.contract.ts +24 -3
  389. package/src/contracts/capabilities.contract.ts +24 -0
  390. package/src/contracts/ci.contract.ts +119 -37
  391. package/src/contracts/device-stacks.contract.ts +97 -0
  392. package/src/contracts/extensions.contract.ts +11 -0
  393. package/src/contracts/secrets.contract.ts +27 -0
  394. package/src/contracts/settings.contract.ts +24 -0
  395. package/src/contracts/stack-grants.contract.ts +51 -0
  396. package/src/contracts/system.contract.ts +16 -59
  397. package/src/contracts/workspace.contract.ts +0 -22
  398. package/src/events/agent-words.ts +3 -1
  399. package/src/events/child-news.test.ts +91 -0
  400. package/src/events/child-news.ts +269 -0
  401. package/src/events/prompt-origins.ts +35 -0
  402. package/src/events/requests.ts +18 -0
  403. package/src/events/transcript.ts +10 -1
  404. package/src/ids/conversation-ids.test.ts +22 -3
  405. package/src/ids/conversation-ids.ts +5 -7
  406. package/src/index.ts +3 -6
  407. package/src/models/model-roles.test.ts +61 -4
  408. package/src/models/model-roles.ts +153 -49
  409. package/src/models/model-setups.ts +49 -26
  410. package/src/policy/approvals-execution.ts +11 -6
  411. package/src/policy/batch-runs.ts +2 -2
  412. package/src/policy/message-limits.ts +8 -4
  413. package/src/policy/org-locks.ts +1 -0
  414. package/src/policy/shell/workspace-root-exclude.ts +11 -0
  415. package/src/protocol/doors/listener-protocol.ts +14 -0
  416. package/src/protocol/doors/webext-links.ts +3 -1
  417. package/src/protocol/ingress-contract.fixture.json +6 -1
  418. package/src/protocol/raw/extension-protocol.ts +513 -2
  419. package/src/protocol/raw/raw-json-routes.ts +85 -0
  420. package/src/protocol/raw/raw-routes.ts +111 -7
  421. package/src/protocol/s2s/address.test.ts +157 -0
  422. package/src/protocol/s2s/address.ts +193 -0
  423. package/src/protocol/s2s/attestation.test.ts +262 -0
  424. package/src/protocol/s2s/attestation.ts +173 -0
  425. package/src/protocol/s2s/canonical.test.ts +70 -0
  426. package/src/protocol/s2s/canonical.ts +119 -0
  427. package/src/protocol/s2s/envelope.test.ts +162 -0
  428. package/src/protocol/s2s/envelope.ts +194 -0
  429. package/src/protocol/s2s/extension-sign.test.ts +117 -0
  430. package/src/protocol/s2s/extension-sign.ts +76 -0
  431. package/src/protocol/s2s/identity-doc.test.ts +187 -0
  432. package/src/protocol/s2s/identity-doc.ts +169 -0
  433. package/src/protocol/s2s/index.ts +15 -0
  434. package/src/protocol/s2s/kem.ts +62 -0
  435. package/src/protocol/s2s/keys.test.ts +76 -0
  436. package/src/protocol/s2s/keys.ts +155 -0
  437. package/src/protocol/s2s/passkey-cosign.test.ts +98 -0
  438. package/src/protocol/s2s/passkey-cosign.testing.ts +86 -0
  439. package/src/protocol/s2s/passkey-cosign.ts +192 -0
  440. package/src/protocol/s2s/s2s.testing.ts +22 -0
  441. package/src/protocol/s2s/session.test.ts +133 -0
  442. package/src/protocol/s2s/session.ts +179 -0
  443. package/src/protocol/s2s/sign.test.ts +66 -0
  444. package/src/protocol/s2s/sign.ts +53 -0
  445. package/src/schemas/activity.ts +2 -1
  446. package/src/schemas/agent.test.ts +3 -0
  447. package/src/schemas/agent.ts +10 -4
  448. package/src/schemas/approvals.ts +41 -0
  449. package/src/schemas/automations.ts +26 -41
  450. package/src/schemas/ci-deployments.ts +26 -0
  451. package/src/schemas/ci.ts +185 -45
  452. package/src/schemas/command-admission.ts +4 -1
  453. package/src/schemas/command-run.ts +44 -0
  454. package/src/schemas/contact-need.ts +26 -0
  455. package/src/schemas/contacts-settings.ts +16 -0
  456. package/src/schemas/data-protection.ts +28 -34
  457. package/src/schemas/device-stacks.ts +162 -3
  458. package/src/schemas/devices.ts +13 -2
  459. package/src/schemas/extension-updates.ts +27 -7
  460. package/src/schemas/host-power.test.ts +53 -0
  461. package/src/schemas/host-power.ts +96 -2
  462. package/src/schemas/hosts.test.ts +32 -0
  463. package/src/schemas/hosts.ts +62 -0
  464. package/src/schemas/issues.ts +30 -86
  465. package/src/schemas/links.ts +4 -0
  466. package/src/schemas/maintenance.ts +4 -3
  467. package/src/schemas/metrics.ts +35 -0
  468. package/src/schemas/need-kinds.ts +13 -0
  469. package/src/schemas/needs.ts +44 -16
  470. package/src/schemas/offload.ts +31 -0
  471. package/src/schemas/outward-action.ts +47 -0
  472. package/src/schemas/providers/plan-limits.ts +1 -0
  473. package/src/schemas/redirect-need.ts +19 -0
  474. package/src/schemas/s2s-identity.ts +329 -0
  475. package/src/schemas/s2s-views.ts +326 -0
  476. package/src/schemas/s2s-wire.ts +401 -0
  477. package/src/schemas/s2s.test.ts +175 -0
  478. package/src/schemas/s2s.ts +9 -0
  479. package/src/schemas/secrets.ts +23 -5
  480. package/src/schemas/settings-history.ts +10 -5
  481. package/src/schemas/settings-savings.ts +29 -0
  482. package/src/schemas/settings.test.ts +23 -23
  483. package/src/schemas/settings.ts +12 -12
  484. package/src/schemas/stack-grants.ts +59 -0
  485. package/src/schemas/terminal.ts +6 -0
  486. package/src/schemas/version-seam.test.ts +13 -1
  487. package/src/schemas/vpn.ts +13 -0
  488. package/src/schemas/watch-sources.ts +127 -0
  489. package/src/schemas/workspace/workspace-search.ts +5 -2
  490. package/src/schemas/wsl-memory.ts +59 -0
  491. package/src/state/auth-state.ts +17 -0
  492. package/src/state/workspace-state.ts +18 -18
  493. package/src/text/embed.ts +2 -2
  494. package/dist/chores/extension-update.d.ts.map +0 -1
  495. package/dist/chores/extension-update.js.map +0 -1
  496. package/dist/contracts/chores.contract.d.ts +0 -213
  497. package/dist/contracts/chores.contract.d.ts.map +0 -1
  498. package/dist/contracts/chores.contract.js +0 -32
  499. package/dist/contracts/chores.contract.js.map +0 -1
  500. package/dist/contracts/issues.contract.d.ts +0 -106
  501. package/dist/contracts/issues.contract.d.ts.map +0 -1
  502. package/dist/contracts/issues.contract.js +0 -50
  503. package/dist/contracts/issues.contract.js.map +0 -1
  504. package/src/chores/chores.test.ts +0 -24
  505. package/src/chores/digest.test.ts +0 -27
  506. package/src/chores/probes.integration.test.ts +0 -494
  507. package/src/chores/stack.test.ts +0 -140
  508. package/src/chores/verdict.test.ts +0 -761
  509. package/src/contracts/chores.contract.ts +0 -39
  510. 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";
@@ -411,6 +416,7 @@ export declare const agentContract: {
411
416
  mentioned?: boolean | undefined;
412
417
  branch?: string | undefined;
413
418
  allowedOrigins?: string[] | undefined;
419
+ keyFromBrowsers?: boolean | undefined;
414
420
  } | {
415
421
  kind: "workspace";
416
422
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -430,6 +436,9 @@ export declare const agentContract: {
430
436
  kind: "url";
431
437
  url: string;
432
438
  select?: string | undefined;
439
+ } | {
440
+ [x: string]: string | boolean;
441
+ kind: string;
433
442
  } | undefined;
434
443
  fireOn?: "change" | "pass" | undefined;
435
444
  until?: "first-fire" | undefined;
@@ -441,6 +450,10 @@ export declare const agentContract: {
441
450
  conversationId: string;
442
451
  } | {
443
452
  kind: "notify";
453
+ } | {
454
+ kind: "extension";
455
+ extension: string;
456
+ handler: string;
444
457
  } | undefined;
445
458
  note?: string | undefined;
446
459
  prompt: string;
@@ -509,6 +522,27 @@ export declare const agentContract: {
509
522
  saw: string;
510
523
  at: number;
511
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;
512
546
  } | {
513
547
  kind: "instruction";
514
548
  file: string;
@@ -530,9 +564,14 @@ export declare const agentContract: {
530
564
  plans?: string[] | undefined;
531
565
  fixable: boolean;
532
566
  command?: string | undefined;
567
+ offers?: string[] | undefined;
568
+ pausedUntil?: number | undefined;
569
+ restartPending?: boolean | undefined;
570
+ comesBack?: "boot" | "sign-in" | undefined;
533
571
  text: string;
534
572
  }[];
535
573
  dueAt?: number | undefined;
574
+ utcOffsetMinutes?: number | undefined;
536
575
  } | {
537
576
  kind: "claim";
538
577
  project: string;
@@ -545,6 +584,66 @@ export declare const agentContract: {
545
584
  scopes: ("drop" | "read" | "report" | "task")[];
546
585
  address?: string | undefined;
547
586
  from?: string | undefined;
587
+ } | {
588
+ kind: "wsl-memory";
589
+ device: string;
590
+ configPath: string;
591
+ fit: {
592
+ at: number;
593
+ windowMs: number;
594
+ readings: number;
595
+ totalBytes: number;
596
+ lowLineBytes: number;
597
+ underLowShare: number;
598
+ availableMedianBytes: number;
599
+ vmMedianBytes: number;
600
+ outsideBytes: number;
601
+ configuredGb?: number | undefined;
602
+ proposedGb: number;
603
+ atFloor: boolean;
604
+ capsOver?: {
605
+ name: string;
606
+ memoryBytes: number;
607
+ }[] | undefined;
608
+ text: string;
609
+ };
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[];
628
+ } | {
629
+ kind: "contact";
630
+ address: string;
631
+ action: "accept" | "add";
632
+ contactId?: string | undefined;
633
+ grants: {
634
+ message?: boolean | undefined;
635
+ report?: boolean | undefined;
636
+ task?: {
637
+ actsAs?: string | undefined;
638
+ runAs?: string | undefined;
639
+ approve?: boolean | undefined;
640
+ turnsPerHour?: number | undefined;
641
+ } | undefined;
642
+ records?: boolean | undefined;
643
+ operate?: boolean | undefined;
644
+ wake?: boolean | undefined;
645
+ };
646
+ note?: string | undefined;
548
647
  };
549
648
  title: string;
550
649
  why?: string | undefined;
@@ -572,6 +671,15 @@ export declare const agentContract: {
572
671
  review?: "review" | "test" | undefined;
573
672
  sent: string;
574
673
  } | undefined;
674
+ childNews?: {
675
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
676
+ from: string;
677
+ title?: string | undefined;
678
+ runner?: string | undefined;
679
+ model?: string | undefined;
680
+ cause?: string | undefined;
681
+ sent: string;
682
+ } | undefined;
575
683
  backgroundJob?: {
576
684
  id: string;
577
685
  label: string;
@@ -635,7 +743,7 @@ export declare const agentContract: {
635
743
  offer: {
636
744
  subject: string;
637
745
  kind: "capability" | "secret";
638
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
746
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
639
747
  detail?: string | undefined;
640
748
  why?: string | undefined;
641
749
  approvers: string[];
@@ -765,8 +873,10 @@ export declare const agentContract: {
765
873
  displayName?: string | undefined;
766
874
  description?: string | undefined;
767
875
  reason?: string | undefined;
876
+ outside?: string | undefined;
768
877
  path?: string | undefined;
769
878
  alwaysLabel?: string | undefined;
879
+ keepLabel?: string | undefined;
770
880
  alwaysAsks?: true | undefined;
771
881
  program?: {
772
882
  text: string;
@@ -789,6 +899,7 @@ export declare const agentContract: {
789
899
  child?: string | undefined;
790
900
  task?: string | undefined;
791
901
  message?: string | undefined;
902
+ headings?: string[] | undefined;
792
903
  on?: string | undefined;
793
904
  proposed?: {
794
905
  provider: string;
@@ -880,6 +991,7 @@ export declare const agentContract: {
880
991
  hint?: string | undefined;
881
992
  replace?: boolean | undefined;
882
993
  multiline?: boolean | undefined;
994
+ hosts?: string[] | undefined;
883
995
  } | {
884
996
  kind: "grant";
885
997
  subject: "capability" | "folder" | "shelf" | "site";
@@ -927,6 +1039,7 @@ export declare const agentContract: {
927
1039
  mentioned?: boolean | undefined;
928
1040
  branch?: string | undefined;
929
1041
  allowedOrigins?: string[] | undefined;
1042
+ keyFromBrowsers?: boolean | undefined;
930
1043
  } | {
931
1044
  kind: "workspace";
932
1045
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -946,6 +1059,9 @@ export declare const agentContract: {
946
1059
  kind: "url";
947
1060
  url: string;
948
1061
  select?: string | undefined;
1062
+ } | {
1063
+ [x: string]: string | boolean;
1064
+ kind: string;
949
1065
  } | undefined;
950
1066
  fireOn?: "change" | "pass" | undefined;
951
1067
  until?: "first-fire" | undefined;
@@ -957,6 +1073,10 @@ export declare const agentContract: {
957
1073
  conversationId: string;
958
1074
  } | {
959
1075
  kind: "notify";
1076
+ } | {
1077
+ kind: "extension";
1078
+ extension: string;
1079
+ handler: string;
960
1080
  } | undefined;
961
1081
  note?: string | undefined;
962
1082
  prompt: string;
@@ -1025,6 +1145,27 @@ export declare const agentContract: {
1025
1145
  saw: string;
1026
1146
  at: number;
1027
1147
  } | undefined;
1148
+ watchKind?: {
1149
+ id: string;
1150
+ label: string;
1151
+ icon?: string | undefined;
1152
+ logo?: string | undefined;
1153
+ description: string;
1154
+ sentence: string;
1155
+ fields: {
1156
+ key: string;
1157
+ label: string;
1158
+ type?: "switch" | "text" | undefined;
1159
+ required?: boolean | undefined;
1160
+ placeholder?: string | undefined;
1161
+ hint?: string | undefined;
1162
+ pattern?: string | undefined;
1163
+ patternHint?: string | undefined;
1164
+ maxLength?: number | undefined;
1165
+ }[];
1166
+ extension: string;
1167
+ enabled: boolean;
1168
+ } | undefined;
1028
1169
  } | {
1029
1170
  kind: "instruction";
1030
1171
  file: string;
@@ -1046,9 +1187,14 @@ export declare const agentContract: {
1046
1187
  plans?: string[] | undefined;
1047
1188
  fixable: boolean;
1048
1189
  command?: string | undefined;
1190
+ offers?: string[] | undefined;
1191
+ pausedUntil?: number | undefined;
1192
+ restartPending?: boolean | undefined;
1193
+ comesBack?: "boot" | "sign-in" | undefined;
1049
1194
  text: string;
1050
1195
  }[];
1051
1196
  dueAt?: number | undefined;
1197
+ utcOffsetMinutes?: number | undefined;
1052
1198
  } | {
1053
1199
  kind: "claim";
1054
1200
  project: string;
@@ -1061,6 +1207,66 @@ export declare const agentContract: {
1061
1207
  scopes: ("drop" | "read" | "report" | "task")[];
1062
1208
  address?: string | undefined;
1063
1209
  from?: string | undefined;
1210
+ } | {
1211
+ kind: "wsl-memory";
1212
+ device: string;
1213
+ configPath: string;
1214
+ fit: {
1215
+ at: number;
1216
+ windowMs: number;
1217
+ readings: number;
1218
+ totalBytes: number;
1219
+ lowLineBytes: number;
1220
+ underLowShare: number;
1221
+ availableMedianBytes: number;
1222
+ vmMedianBytes: number;
1223
+ outsideBytes: number;
1224
+ configuredGb?: number | undefined;
1225
+ proposedGb: number;
1226
+ atFloor: boolean;
1227
+ capsOver?: {
1228
+ name: string;
1229
+ memoryBytes: number;
1230
+ }[] | undefined;
1231
+ text: string;
1232
+ };
1233
+ } | {
1234
+ kind: "redirect";
1235
+ target: string;
1236
+ targetName: string;
1237
+ address?: string | undefined;
1238
+ person: string;
1239
+ words: string;
1240
+ clipped?: boolean | undefined;
1241
+ attachments?: number | undefined;
1242
+ project?: string | undefined;
1243
+ } | {
1244
+ kind: "deploy";
1245
+ repo: string;
1246
+ stack: string;
1247
+ device: string;
1248
+ deviceName?: string | undefined;
1249
+ secrets: string[];
1250
+ ungranted: string[];
1251
+ } | {
1252
+ kind: "contact";
1253
+ address: string;
1254
+ action: "accept" | "add";
1255
+ contactId?: string | undefined;
1256
+ grants: {
1257
+ message?: boolean | undefined;
1258
+ report?: boolean | undefined;
1259
+ task?: {
1260
+ actsAs?: string | undefined;
1261
+ runAs?: string | undefined;
1262
+ approve?: boolean | undefined;
1263
+ turnsPerHour?: number | undefined;
1264
+ } | undefined;
1265
+ records?: boolean | undefined;
1266
+ operate?: boolean | undefined;
1267
+ wake?: boolean | undefined;
1268
+ };
1269
+ note?: string | undefined;
1064
1270
  };
1065
1271
  title: string;
1066
1272
  why?: string | undefined;
@@ -1088,6 +1294,15 @@ export declare const agentContract: {
1088
1294
  review?: "review" | "test" | undefined;
1089
1295
  sent: string;
1090
1296
  } | undefined;
1297
+ childNews?: {
1298
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
1299
+ from: string;
1300
+ title?: string | undefined;
1301
+ runner?: string | undefined;
1302
+ model?: string | undefined;
1303
+ cause?: string | undefined;
1304
+ sent: string;
1305
+ } | undefined;
1091
1306
  backgroundJob?: {
1092
1307
  id: string;
1093
1308
  label: string;
@@ -1151,7 +1366,7 @@ export declare const agentContract: {
1151
1366
  offer: {
1152
1367
  subject: string;
1153
1368
  kind: "capability" | "secret";
1154
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
1369
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
1155
1370
  detail?: string | undefined;
1156
1371
  why?: string | undefined;
1157
1372
  approvers: string[];
@@ -1280,8 +1495,10 @@ export declare const agentContract: {
1280
1495
  displayName?: string | undefined;
1281
1496
  description?: string | undefined;
1282
1497
  reason?: string | undefined;
1498
+ outside?: string | undefined;
1283
1499
  path?: string | undefined;
1284
1500
  alwaysLabel?: string | undefined;
1501
+ keepLabel?: string | undefined;
1285
1502
  alwaysAsks?: true | undefined;
1286
1503
  program?: {
1287
1504
  text: string;
@@ -1304,6 +1521,7 @@ export declare const agentContract: {
1304
1521
  child?: string | undefined;
1305
1522
  task?: string | undefined;
1306
1523
  message?: string | undefined;
1524
+ headings?: string[] | undefined;
1307
1525
  on?: string | undefined;
1308
1526
  proposed?: {
1309
1527
  provider: string;
@@ -1395,6 +1613,7 @@ export declare const agentContract: {
1395
1613
  hint?: string | undefined;
1396
1614
  replace?: boolean | undefined;
1397
1615
  multiline?: boolean | undefined;
1616
+ hosts?: string[] | undefined;
1398
1617
  } | {
1399
1618
  kind: "grant";
1400
1619
  subject: "capability" | "folder" | "shelf" | "site";
@@ -1442,6 +1661,7 @@ export declare const agentContract: {
1442
1661
  mentioned?: boolean | undefined;
1443
1662
  branch?: string | undefined;
1444
1663
  allowedOrigins?: string[] | undefined;
1664
+ keyFromBrowsers?: boolean | undefined;
1445
1665
  } | {
1446
1666
  kind: "workspace";
1447
1667
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -1461,6 +1681,9 @@ export declare const agentContract: {
1461
1681
  kind: "url";
1462
1682
  url: string;
1463
1683
  select?: string | undefined;
1684
+ } | {
1685
+ [x: string]: string | boolean;
1686
+ kind: string;
1464
1687
  } | undefined;
1465
1688
  fireOn?: "change" | "pass" | undefined;
1466
1689
  until?: "first-fire" | undefined;
@@ -1472,6 +1695,10 @@ export declare const agentContract: {
1472
1695
  conversationId: string;
1473
1696
  } | {
1474
1697
  kind: "notify";
1698
+ } | {
1699
+ kind: "extension";
1700
+ extension: string;
1701
+ handler: string;
1475
1702
  } | undefined;
1476
1703
  note?: string | undefined;
1477
1704
  prompt: string;
@@ -1540,6 +1767,27 @@ export declare const agentContract: {
1540
1767
  saw: string;
1541
1768
  at: number;
1542
1769
  } | undefined;
1770
+ watchKind?: {
1771
+ id: string;
1772
+ label: string;
1773
+ icon?: string | undefined;
1774
+ logo?: string | undefined;
1775
+ description: string;
1776
+ sentence: string;
1777
+ fields: {
1778
+ key: string;
1779
+ label: string;
1780
+ type?: "switch" | "text" | undefined;
1781
+ required?: boolean | undefined;
1782
+ placeholder?: string | undefined;
1783
+ hint?: string | undefined;
1784
+ pattern?: string | undefined;
1785
+ patternHint?: string | undefined;
1786
+ maxLength?: number | undefined;
1787
+ }[];
1788
+ extension: string;
1789
+ enabled: boolean;
1790
+ } | undefined;
1543
1791
  } | {
1544
1792
  kind: "instruction";
1545
1793
  file: string;
@@ -1561,9 +1809,14 @@ export declare const agentContract: {
1561
1809
  plans?: string[] | undefined;
1562
1810
  fixable: boolean;
1563
1811
  command?: string | undefined;
1812
+ offers?: string[] | undefined;
1813
+ pausedUntil?: number | undefined;
1814
+ restartPending?: boolean | undefined;
1815
+ comesBack?: "boot" | "sign-in" | undefined;
1564
1816
  text: string;
1565
1817
  }[];
1566
1818
  dueAt?: number | undefined;
1819
+ utcOffsetMinutes?: number | undefined;
1567
1820
  } | {
1568
1821
  kind: "claim";
1569
1822
  project: string;
@@ -1576,6 +1829,66 @@ export declare const agentContract: {
1576
1829
  scopes: ("drop" | "read" | "report" | "task")[];
1577
1830
  address?: string | undefined;
1578
1831
  from?: string | undefined;
1832
+ } | {
1833
+ kind: "wsl-memory";
1834
+ device: string;
1835
+ configPath: string;
1836
+ fit: {
1837
+ at: number;
1838
+ windowMs: number;
1839
+ readings: number;
1840
+ totalBytes: number;
1841
+ lowLineBytes: number;
1842
+ underLowShare: number;
1843
+ availableMedianBytes: number;
1844
+ vmMedianBytes: number;
1845
+ outsideBytes: number;
1846
+ configuredGb?: number | undefined;
1847
+ proposedGb: number;
1848
+ atFloor: boolean;
1849
+ capsOver?: {
1850
+ name: string;
1851
+ memoryBytes: number;
1852
+ }[] | undefined;
1853
+ text: string;
1854
+ };
1855
+ } | {
1856
+ kind: "redirect";
1857
+ target: string;
1858
+ targetName: string;
1859
+ address?: string | undefined;
1860
+ person: string;
1861
+ words: string;
1862
+ clipped?: boolean | undefined;
1863
+ attachments?: number | undefined;
1864
+ project?: string | undefined;
1865
+ } | {
1866
+ kind: "deploy";
1867
+ repo: string;
1868
+ stack: string;
1869
+ device: string;
1870
+ deviceName?: string | undefined;
1871
+ secrets: string[];
1872
+ ungranted: string[];
1873
+ } | {
1874
+ kind: "contact";
1875
+ address: string;
1876
+ action: "accept" | "add";
1877
+ contactId?: string | undefined;
1878
+ grants: {
1879
+ message?: boolean | undefined;
1880
+ report?: boolean | undefined;
1881
+ task?: {
1882
+ actsAs?: string | undefined;
1883
+ runAs?: string | undefined;
1884
+ approve?: boolean | undefined;
1885
+ turnsPerHour?: number | undefined;
1886
+ } | undefined;
1887
+ records?: boolean | undefined;
1888
+ operate?: boolean | undefined;
1889
+ wake?: boolean | undefined;
1890
+ };
1891
+ note?: string | undefined;
1579
1892
  };
1580
1893
  title: string;
1581
1894
  why?: string | undefined;
@@ -1603,6 +1916,15 @@ export declare const agentContract: {
1603
1916
  review?: "review" | "test" | undefined;
1604
1917
  sent: string;
1605
1918
  } | undefined;
1919
+ childNews?: {
1920
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
1921
+ from: string;
1922
+ title?: string | undefined;
1923
+ runner?: string | undefined;
1924
+ model?: string | undefined;
1925
+ cause?: string | undefined;
1926
+ sent: string;
1927
+ } | undefined;
1606
1928
  backgroundJob?: {
1607
1929
  id: string;
1608
1930
  label: string;
@@ -1666,7 +1988,7 @@ export declare const agentContract: {
1666
1988
  offer: {
1667
1989
  subject: string;
1668
1990
  kind: "capability" | "secret";
1669
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
1991
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
1670
1992
  detail?: string | undefined;
1671
1993
  why?: string | undefined;
1672
1994
  approvers: string[];
@@ -1829,8 +2151,10 @@ export declare const agentContract: {
1829
2151
  displayName?: string | undefined;
1830
2152
  description?: string | undefined;
1831
2153
  reason?: string | undefined;
2154
+ outside?: string | undefined;
1832
2155
  path?: string | undefined;
1833
2156
  alwaysLabel?: string | undefined;
2157
+ keepLabel?: string | undefined;
1834
2158
  alwaysAsks?: true | undefined;
1835
2159
  program?: {
1836
2160
  text: string;
@@ -1853,6 +2177,7 @@ export declare const agentContract: {
1853
2177
  child?: string | undefined;
1854
2178
  task?: string | undefined;
1855
2179
  message?: string | undefined;
2180
+ headings?: string[] | undefined;
1856
2181
  on?: string | undefined;
1857
2182
  proposed?: {
1858
2183
  provider: string;
@@ -1944,6 +2269,7 @@ export declare const agentContract: {
1944
2269
  hint?: string | undefined;
1945
2270
  replace?: boolean | undefined;
1946
2271
  multiline?: boolean | undefined;
2272
+ hosts?: string[] | undefined;
1947
2273
  } | {
1948
2274
  kind: "grant";
1949
2275
  subject: "capability" | "folder" | "shelf" | "site";
@@ -1993,6 +2319,7 @@ export declare const agentContract: {
1993
2319
  mentioned?: boolean | undefined;
1994
2320
  branch?: string | undefined;
1995
2321
  allowedOrigins?: string[] | undefined;
2322
+ keyFromBrowsers?: boolean | undefined;
1996
2323
  } | {
1997
2324
  kind: "workspace";
1998
2325
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -2012,6 +2339,9 @@ export declare const agentContract: {
2012
2339
  kind: "url";
2013
2340
  url: string;
2014
2341
  select?: string | undefined;
2342
+ } | {
2343
+ [x: string]: string | boolean;
2344
+ kind: string;
2015
2345
  } | undefined;
2016
2346
  fireOn?: "change" | "pass" | undefined;
2017
2347
  until?: "first-fire" | undefined;
@@ -2023,6 +2353,10 @@ export declare const agentContract: {
2023
2353
  conversationId: string;
2024
2354
  } | {
2025
2355
  kind: "notify";
2356
+ } | {
2357
+ kind: "extension";
2358
+ extension: string;
2359
+ handler: string;
2026
2360
  } | undefined;
2027
2361
  note?: string | undefined;
2028
2362
  prompt: string;
@@ -2091,6 +2425,27 @@ export declare const agentContract: {
2091
2425
  saw: string;
2092
2426
  at: number;
2093
2427
  } | undefined;
2428
+ watchKind?: {
2429
+ id: string;
2430
+ label: string;
2431
+ icon?: string | undefined;
2432
+ logo?: string | undefined;
2433
+ description: string;
2434
+ sentence: string;
2435
+ fields: {
2436
+ key: string;
2437
+ label: string;
2438
+ type?: "switch" | "text" | undefined;
2439
+ required?: boolean | undefined;
2440
+ placeholder?: string | undefined;
2441
+ hint?: string | undefined;
2442
+ pattern?: string | undefined;
2443
+ patternHint?: string | undefined;
2444
+ maxLength?: number | undefined;
2445
+ }[];
2446
+ extension: string;
2447
+ enabled: boolean;
2448
+ } | undefined;
2094
2449
  } | {
2095
2450
  kind: "instruction";
2096
2451
  file: string;
@@ -2112,9 +2467,14 @@ export declare const agentContract: {
2112
2467
  plans?: string[] | undefined;
2113
2468
  fixable: boolean;
2114
2469
  command?: string | undefined;
2470
+ offers?: string[] | undefined;
2471
+ pausedUntil?: number | undefined;
2472
+ restartPending?: boolean | undefined;
2473
+ comesBack?: "boot" | "sign-in" | undefined;
2115
2474
  text: string;
2116
2475
  }[];
2117
2476
  dueAt?: number | undefined;
2477
+ utcOffsetMinutes?: number | undefined;
2118
2478
  } | {
2119
2479
  kind: "claim";
2120
2480
  project: string;
@@ -2127,6 +2487,66 @@ export declare const agentContract: {
2127
2487
  scopes: ("drop" | "read" | "report" | "task")[];
2128
2488
  address?: string | undefined;
2129
2489
  from?: string | undefined;
2490
+ } | {
2491
+ kind: "wsl-memory";
2492
+ device: string;
2493
+ configPath: string;
2494
+ fit: {
2495
+ at: number;
2496
+ windowMs: number;
2497
+ readings: number;
2498
+ totalBytes: number;
2499
+ lowLineBytes: number;
2500
+ underLowShare: number;
2501
+ availableMedianBytes: number;
2502
+ vmMedianBytes: number;
2503
+ outsideBytes: number;
2504
+ configuredGb?: number | undefined;
2505
+ proposedGb: number;
2506
+ atFloor: boolean;
2507
+ capsOver?: {
2508
+ name: string;
2509
+ memoryBytes: number;
2510
+ }[] | undefined;
2511
+ text: string;
2512
+ };
2513
+ } | {
2514
+ kind: "redirect";
2515
+ target: string;
2516
+ targetName: string;
2517
+ address?: string | undefined;
2518
+ person: string;
2519
+ words: string;
2520
+ clipped?: boolean | undefined;
2521
+ attachments?: number | undefined;
2522
+ project?: string | undefined;
2523
+ } | {
2524
+ kind: "deploy";
2525
+ repo: string;
2526
+ stack: string;
2527
+ device: string;
2528
+ deviceName?: string | undefined;
2529
+ secrets: string[];
2530
+ ungranted: string[];
2531
+ } | {
2532
+ kind: "contact";
2533
+ address: string;
2534
+ action: "accept" | "add";
2535
+ contactId?: string | undefined;
2536
+ grants: {
2537
+ message: boolean;
2538
+ report: boolean;
2539
+ task?: {
2540
+ actsAs?: string | undefined;
2541
+ runAs?: string | undefined;
2542
+ approve: boolean;
2543
+ turnsPerHour: number;
2544
+ } | undefined;
2545
+ records: boolean;
2546
+ operate: boolean;
2547
+ wake: boolean;
2548
+ };
2549
+ note?: string | undefined;
2130
2550
  };
2131
2551
  title: string;
2132
2552
  why?: string | undefined;
@@ -2154,6 +2574,15 @@ export declare const agentContract: {
2154
2574
  review?: "review" | "test" | undefined;
2155
2575
  sent: string;
2156
2576
  } | undefined;
2577
+ childNews?: {
2578
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
2579
+ from: string;
2580
+ title?: string | undefined;
2581
+ runner?: string | undefined;
2582
+ model?: string | undefined;
2583
+ cause?: string | undefined;
2584
+ sent: string;
2585
+ } | undefined;
2157
2586
  backgroundJob?: {
2158
2587
  id: string;
2159
2588
  label: string;
@@ -2217,7 +2646,7 @@ export declare const agentContract: {
2217
2646
  offer: {
2218
2647
  subject: string;
2219
2648
  kind: "capability" | "secret";
2220
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
2649
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
2221
2650
  detail?: string | undefined;
2222
2651
  why?: string | undefined;
2223
2652
  approvers: string[];
@@ -2347,8 +2776,10 @@ export declare const agentContract: {
2347
2776
  displayName?: string | undefined;
2348
2777
  description?: string | undefined;
2349
2778
  reason?: string | undefined;
2779
+ outside?: string | undefined;
2350
2780
  path?: string | undefined;
2351
2781
  alwaysLabel?: string | undefined;
2782
+ keepLabel?: string | undefined;
2352
2783
  alwaysAsks?: true | undefined;
2353
2784
  program?: {
2354
2785
  text: string;
@@ -2371,6 +2802,7 @@ export declare const agentContract: {
2371
2802
  child?: string | undefined;
2372
2803
  task?: string | undefined;
2373
2804
  message?: string | undefined;
2805
+ headings?: string[] | undefined;
2374
2806
  on?: string | undefined;
2375
2807
  proposed?: {
2376
2808
  provider: string;
@@ -2462,6 +2894,7 @@ export declare const agentContract: {
2462
2894
  hint?: string | undefined;
2463
2895
  replace?: boolean | undefined;
2464
2896
  multiline?: boolean | undefined;
2897
+ hosts?: string[] | undefined;
2465
2898
  } | {
2466
2899
  kind: "grant";
2467
2900
  subject: "capability" | "folder" | "shelf" | "site";
@@ -2511,6 +2944,7 @@ export declare const agentContract: {
2511
2944
  mentioned?: boolean | undefined;
2512
2945
  branch?: string | undefined;
2513
2946
  allowedOrigins?: string[] | undefined;
2947
+ keyFromBrowsers?: boolean | undefined;
2514
2948
  } | {
2515
2949
  kind: "workspace";
2516
2950
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -2530,6 +2964,9 @@ export declare const agentContract: {
2530
2964
  kind: "url";
2531
2965
  url: string;
2532
2966
  select?: string | undefined;
2967
+ } | {
2968
+ [x: string]: string | boolean;
2969
+ kind: string;
2533
2970
  } | undefined;
2534
2971
  fireOn?: "change" | "pass" | undefined;
2535
2972
  until?: "first-fire" | undefined;
@@ -2541,6 +2978,10 @@ export declare const agentContract: {
2541
2978
  conversationId: string;
2542
2979
  } | {
2543
2980
  kind: "notify";
2981
+ } | {
2982
+ kind: "extension";
2983
+ extension: string;
2984
+ handler: string;
2544
2985
  } | undefined;
2545
2986
  note?: string | undefined;
2546
2987
  prompt: string;
@@ -2609,6 +3050,27 @@ export declare const agentContract: {
2609
3050
  saw: string;
2610
3051
  at: number;
2611
3052
  } | undefined;
3053
+ watchKind?: {
3054
+ id: string;
3055
+ label: string;
3056
+ icon?: string | undefined;
3057
+ logo?: string | undefined;
3058
+ description: string;
3059
+ sentence: string;
3060
+ fields: {
3061
+ key: string;
3062
+ label: string;
3063
+ type?: "switch" | "text" | undefined;
3064
+ required?: boolean | undefined;
3065
+ placeholder?: string | undefined;
3066
+ hint?: string | undefined;
3067
+ pattern?: string | undefined;
3068
+ patternHint?: string | undefined;
3069
+ maxLength?: number | undefined;
3070
+ }[];
3071
+ extension: string;
3072
+ enabled: boolean;
3073
+ } | undefined;
2612
3074
  } | {
2613
3075
  kind: "instruction";
2614
3076
  file: string;
@@ -2630,9 +3092,14 @@ export declare const agentContract: {
2630
3092
  plans?: string[] | undefined;
2631
3093
  fixable: boolean;
2632
3094
  command?: string | undefined;
3095
+ offers?: string[] | undefined;
3096
+ pausedUntil?: number | undefined;
3097
+ restartPending?: boolean | undefined;
3098
+ comesBack?: "boot" | "sign-in" | undefined;
2633
3099
  text: string;
2634
3100
  }[];
2635
3101
  dueAt?: number | undefined;
3102
+ utcOffsetMinutes?: number | undefined;
2636
3103
  } | {
2637
3104
  kind: "claim";
2638
3105
  project: string;
@@ -2645,6 +3112,66 @@ export declare const agentContract: {
2645
3112
  scopes: ("drop" | "read" | "report" | "task")[];
2646
3113
  address?: string | undefined;
2647
3114
  from?: string | undefined;
3115
+ } | {
3116
+ kind: "wsl-memory";
3117
+ device: string;
3118
+ configPath: string;
3119
+ fit: {
3120
+ at: number;
3121
+ windowMs: number;
3122
+ readings: number;
3123
+ totalBytes: number;
3124
+ lowLineBytes: number;
3125
+ underLowShare: number;
3126
+ availableMedianBytes: number;
3127
+ vmMedianBytes: number;
3128
+ outsideBytes: number;
3129
+ configuredGb?: number | undefined;
3130
+ proposedGb: number;
3131
+ atFloor: boolean;
3132
+ capsOver?: {
3133
+ name: string;
3134
+ memoryBytes: number;
3135
+ }[] | undefined;
3136
+ text: string;
3137
+ };
3138
+ } | {
3139
+ kind: "redirect";
3140
+ target: string;
3141
+ targetName: string;
3142
+ address?: string | undefined;
3143
+ person: string;
3144
+ words: string;
3145
+ clipped?: boolean | undefined;
3146
+ attachments?: number | undefined;
3147
+ project?: string | undefined;
3148
+ } | {
3149
+ kind: "deploy";
3150
+ repo: string;
3151
+ stack: string;
3152
+ device: string;
3153
+ deviceName?: string | undefined;
3154
+ secrets: string[];
3155
+ ungranted: string[];
3156
+ } | {
3157
+ kind: "contact";
3158
+ address: string;
3159
+ action: "accept" | "add";
3160
+ contactId?: string | undefined;
3161
+ grants: {
3162
+ message: boolean;
3163
+ report: boolean;
3164
+ task?: {
3165
+ actsAs?: string | undefined;
3166
+ runAs?: string | undefined;
3167
+ approve: boolean;
3168
+ turnsPerHour: number;
3169
+ } | undefined;
3170
+ records: boolean;
3171
+ operate: boolean;
3172
+ wake: boolean;
3173
+ };
3174
+ note?: string | undefined;
2648
3175
  };
2649
3176
  title: string;
2650
3177
  why?: string | undefined;
@@ -2672,6 +3199,15 @@ export declare const agentContract: {
2672
3199
  review?: "review" | "test" | undefined;
2673
3200
  sent: string;
2674
3201
  } | undefined;
3202
+ childNews?: {
3203
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
3204
+ from: string;
3205
+ title?: string | undefined;
3206
+ runner?: string | undefined;
3207
+ model?: string | undefined;
3208
+ cause?: string | undefined;
3209
+ sent: string;
3210
+ } | undefined;
2675
3211
  backgroundJob?: {
2676
3212
  id: string;
2677
3213
  label: string;
@@ -2735,7 +3271,7 @@ export declare const agentContract: {
2735
3271
  offer: {
2736
3272
  subject: string;
2737
3273
  kind: "capability" | "secret";
2738
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
3274
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
2739
3275
  detail?: string | undefined;
2740
3276
  why?: string | undefined;
2741
3277
  approvers: string[];
@@ -2864,8 +3400,10 @@ export declare const agentContract: {
2864
3400
  displayName?: string | undefined;
2865
3401
  description?: string | undefined;
2866
3402
  reason?: string | undefined;
3403
+ outside?: string | undefined;
2867
3404
  path?: string | undefined;
2868
3405
  alwaysLabel?: string | undefined;
3406
+ keepLabel?: string | undefined;
2869
3407
  alwaysAsks?: true | undefined;
2870
3408
  program?: {
2871
3409
  text: string;
@@ -2888,6 +3426,7 @@ export declare const agentContract: {
2888
3426
  child?: string | undefined;
2889
3427
  task?: string | undefined;
2890
3428
  message?: string | undefined;
3429
+ headings?: string[] | undefined;
2891
3430
  on?: string | undefined;
2892
3431
  proposed?: {
2893
3432
  provider: string;
@@ -2979,6 +3518,7 @@ export declare const agentContract: {
2979
3518
  hint?: string | undefined;
2980
3519
  replace?: boolean | undefined;
2981
3520
  multiline?: boolean | undefined;
3521
+ hosts?: string[] | undefined;
2982
3522
  } | {
2983
3523
  kind: "grant";
2984
3524
  subject: "capability" | "folder" | "shelf" | "site";
@@ -3028,6 +3568,7 @@ export declare const agentContract: {
3028
3568
  mentioned?: boolean | undefined;
3029
3569
  branch?: string | undefined;
3030
3570
  allowedOrigins?: string[] | undefined;
3571
+ keyFromBrowsers?: boolean | undefined;
3031
3572
  } | {
3032
3573
  kind: "workspace";
3033
3574
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -3047,6 +3588,9 @@ export declare const agentContract: {
3047
3588
  kind: "url";
3048
3589
  url: string;
3049
3590
  select?: string | undefined;
3591
+ } | {
3592
+ [x: string]: string | boolean;
3593
+ kind: string;
3050
3594
  } | undefined;
3051
3595
  fireOn?: "change" | "pass" | undefined;
3052
3596
  until?: "first-fire" | undefined;
@@ -3058,6 +3602,10 @@ export declare const agentContract: {
3058
3602
  conversationId: string;
3059
3603
  } | {
3060
3604
  kind: "notify";
3605
+ } | {
3606
+ kind: "extension";
3607
+ extension: string;
3608
+ handler: string;
3061
3609
  } | undefined;
3062
3610
  note?: string | undefined;
3063
3611
  prompt: string;
@@ -3126,6 +3674,27 @@ export declare const agentContract: {
3126
3674
  saw: string;
3127
3675
  at: number;
3128
3676
  } | undefined;
3677
+ watchKind?: {
3678
+ id: string;
3679
+ label: string;
3680
+ icon?: string | undefined;
3681
+ logo?: string | undefined;
3682
+ description: string;
3683
+ sentence: string;
3684
+ fields: {
3685
+ key: string;
3686
+ label: string;
3687
+ type?: "switch" | "text" | undefined;
3688
+ required?: boolean | undefined;
3689
+ placeholder?: string | undefined;
3690
+ hint?: string | undefined;
3691
+ pattern?: string | undefined;
3692
+ patternHint?: string | undefined;
3693
+ maxLength?: number | undefined;
3694
+ }[];
3695
+ extension: string;
3696
+ enabled: boolean;
3697
+ } | undefined;
3129
3698
  } | {
3130
3699
  kind: "instruction";
3131
3700
  file: string;
@@ -3147,9 +3716,14 @@ export declare const agentContract: {
3147
3716
  plans?: string[] | undefined;
3148
3717
  fixable: boolean;
3149
3718
  command?: string | undefined;
3719
+ offers?: string[] | undefined;
3720
+ pausedUntil?: number | undefined;
3721
+ restartPending?: boolean | undefined;
3722
+ comesBack?: "boot" | "sign-in" | undefined;
3150
3723
  text: string;
3151
3724
  }[];
3152
3725
  dueAt?: number | undefined;
3726
+ utcOffsetMinutes?: number | undefined;
3153
3727
  } | {
3154
3728
  kind: "claim";
3155
3729
  project: string;
@@ -3162,6 +3736,66 @@ export declare const agentContract: {
3162
3736
  scopes: ("drop" | "read" | "report" | "task")[];
3163
3737
  address?: string | undefined;
3164
3738
  from?: string | undefined;
3739
+ } | {
3740
+ kind: "wsl-memory";
3741
+ device: string;
3742
+ configPath: string;
3743
+ fit: {
3744
+ at: number;
3745
+ windowMs: number;
3746
+ readings: number;
3747
+ totalBytes: number;
3748
+ lowLineBytes: number;
3749
+ underLowShare: number;
3750
+ availableMedianBytes: number;
3751
+ vmMedianBytes: number;
3752
+ outsideBytes: number;
3753
+ configuredGb?: number | undefined;
3754
+ proposedGb: number;
3755
+ atFloor: boolean;
3756
+ capsOver?: {
3757
+ name: string;
3758
+ memoryBytes: number;
3759
+ }[] | undefined;
3760
+ text: string;
3761
+ };
3762
+ } | {
3763
+ kind: "redirect";
3764
+ target: string;
3765
+ targetName: string;
3766
+ address?: string | undefined;
3767
+ person: string;
3768
+ words: string;
3769
+ clipped?: boolean | undefined;
3770
+ attachments?: number | undefined;
3771
+ project?: string | undefined;
3772
+ } | {
3773
+ kind: "deploy";
3774
+ repo: string;
3775
+ stack: string;
3776
+ device: string;
3777
+ deviceName?: string | undefined;
3778
+ secrets: string[];
3779
+ ungranted: string[];
3780
+ } | {
3781
+ kind: "contact";
3782
+ address: string;
3783
+ action: "accept" | "add";
3784
+ contactId?: string | undefined;
3785
+ grants: {
3786
+ message: boolean;
3787
+ report: boolean;
3788
+ task?: {
3789
+ actsAs?: string | undefined;
3790
+ runAs?: string | undefined;
3791
+ approve: boolean;
3792
+ turnsPerHour: number;
3793
+ } | undefined;
3794
+ records: boolean;
3795
+ operate: boolean;
3796
+ wake: boolean;
3797
+ };
3798
+ note?: string | undefined;
3165
3799
  };
3166
3800
  title: string;
3167
3801
  why?: string | undefined;
@@ -3189,6 +3823,15 @@ export declare const agentContract: {
3189
3823
  review?: "review" | "test" | undefined;
3190
3824
  sent: string;
3191
3825
  } | undefined;
3826
+ childNews?: {
3827
+ kind: "allowed" | "answerLost" | "drift" | "fellBack" | "landConflict" | "landed" | "messageLost" | "movedHere" | "notStarted" | "otherModel" | "question" | "restarted" | "stopped" | "working";
3828
+ from: string;
3829
+ title?: string | undefined;
3830
+ runner?: string | undefined;
3831
+ model?: string | undefined;
3832
+ cause?: string | undefined;
3833
+ sent: string;
3834
+ } | undefined;
3192
3835
  backgroundJob?: {
3193
3836
  id: string;
3194
3837
  label: string;
@@ -3252,7 +3895,7 @@ export declare const agentContract: {
3252
3895
  offer: {
3253
3896
  subject: string;
3254
3897
  kind: "capability" | "secret";
3255
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
3898
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
3256
3899
  detail?: string | undefined;
3257
3900
  why?: string | undefined;
3258
3901
  approvers: string[];
@@ -3468,8 +4111,10 @@ export declare const agentContract: {
3468
4111
  displayName: import("zod").ZodOptional<import("zod").ZodString>;
3469
4112
  description: import("zod").ZodOptional<import("zod").ZodString>;
3470
4113
  reason: import("zod").ZodOptional<import("zod").ZodString>;
4114
+ outside: import("zod").ZodOptional<import("zod").ZodString>;
3471
4115
  path: import("zod").ZodOptional<import("zod").ZodString>;
3472
4116
  alwaysLabel: import("zod").ZodOptional<import("zod").ZodString>;
4117
+ keepLabel: import("zod").ZodOptional<import("zod").ZodString>;
3473
4118
  alwaysAsks: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
3474
4119
  program: import("zod").ZodOptional<import("zod").ZodObject<{
3475
4120
  text: import("zod").ZodString;
@@ -3507,6 +4152,7 @@ export declare const agentContract: {
3507
4152
  child: import("zod").ZodOptional<import("zod").ZodString>;
3508
4153
  task: import("zod").ZodOptional<import("zod").ZodString>;
3509
4154
  message: import("zod").ZodOptional<import("zod").ZodString>;
4155
+ headings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3510
4156
  on: import("zod").ZodOptional<import("zod").ZodString>;
3511
4157
  proposed: import("zod").ZodOptional<import("zod").ZodObject<{
3512
4158
  provider: import("zod").ZodString;
@@ -3649,6 +4295,7 @@ export declare const agentContract: {
3649
4295
  hint: import("zod").ZodOptional<import("zod").ZodString>;
3650
4296
  replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
3651
4297
  multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
4298
+ hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3652
4299
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3653
4300
  kind: import("zod").ZodLiteral<"grant">;
3654
4301
  subject: import("zod").ZodEnum<{
@@ -3710,6 +4357,7 @@ export declare const agentContract: {
3710
4357
  mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
3711
4358
  branch: import("zod").ZodOptional<import("zod").ZodString>;
3712
4359
  allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4360
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
3713
4361
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3714
4362
  kind: import("zod").ZodLiteral<"workspace">;
3715
4363
  event: import("zod").ZodEnum<{
@@ -3721,7 +4369,7 @@ export declare const agentContract: {
3721
4369
  repo: import("zod").ZodOptional<import("zod").ZodString>;
3722
4370
  }, import("zod/v4/core").$strip>], "kind">;
3723
4371
  guard: import("zod").ZodOptional<import("zod").ZodString>;
3724
- source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
4372
+ source: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodObject<{
3725
4373
  kind: import("zod").ZodLiteral<"npm">;
3726
4374
  package: import("zod").ZodString;
3727
4375
  range: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3734,7 +4382,9 @@ export declare const agentContract: {
3734
4382
  kind: import("zod").ZodLiteral<"url">;
3735
4383
  url: import("zod").ZodString;
3736
4384
  select: import("zod").ZodOptional<import("zod").ZodString>;
3737
- }, import("zod/v4/core").$strip>], "kind">>;
4385
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4386
+ kind: import("zod").ZodString;
4387
+ }, import("zod/v4/core").$catchall<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean]>>>]>>;
3738
4388
  fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
3739
4389
  change: "change";
3740
4390
  pass: "pass";
@@ -3750,6 +4400,10 @@ export declare const agentContract: {
3750
4400
  conversationId: import("zod").ZodString;
3751
4401
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3752
4402
  kind: import("zod").ZodLiteral<"notify">;
4403
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4404
+ kind: import("zod").ZodLiteral<"extension">;
4405
+ extension: import("zod").ZodString;
4406
+ handler: import("zod").ZodString;
3753
4407
  }, import("zod/v4/core").$strip>], "kind">>;
3754
4408
  note: import("zod").ZodOptional<import("zod").ZodString>;
3755
4409
  prompt: import("zod").ZodString;
@@ -3843,6 +4497,30 @@ export declare const agentContract: {
3843
4497
  saw: import("zod").ZodString;
3844
4498
  at: import("zod").ZodNumber;
3845
4499
  }, import("zod/v4/core").$strip>>;
4500
+ watchKind: import("zod").ZodOptional<import("zod").ZodObject<{
4501
+ id: import("zod").ZodString;
4502
+ label: import("zod").ZodString;
4503
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
4504
+ logo: import("zod").ZodOptional<import("zod").ZodString>;
4505
+ description: import("zod").ZodString;
4506
+ sentence: import("zod").ZodString;
4507
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
4508
+ key: import("zod").ZodString;
4509
+ label: import("zod").ZodString;
4510
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
4511
+ switch: "switch";
4512
+ text: "text";
4513
+ }>>;
4514
+ required: import("zod").ZodOptional<import("zod").ZodBoolean>;
4515
+ placeholder: import("zod").ZodOptional<import("zod").ZodString>;
4516
+ hint: import("zod").ZodOptional<import("zod").ZodString>;
4517
+ pattern: import("zod").ZodOptional<import("zod").ZodString>;
4518
+ patternHint: import("zod").ZodOptional<import("zod").ZodString>;
4519
+ maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
4520
+ }, import("zod/v4/core").$strip>>;
4521
+ extension: import("zod").ZodString;
4522
+ enabled: import("zod").ZodBoolean;
4523
+ }, import("zod/v4/core").$strip>>;
3846
4524
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3847
4525
  kind: import("zod").ZodLiteral<"instruction">;
3848
4526
  file: import("zod").ZodString;
@@ -3867,9 +4545,40 @@ export declare const agentContract: {
3867
4545
  plans: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3868
4546
  fixable: import("zod").ZodBoolean;
3869
4547
  command: import("zod").ZodOptional<import("zod").ZodString>;
4548
+ offers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4549
+ pausedUntil: import("zod").ZodOptional<import("zod").ZodNumber>;
4550
+ restartPending: import("zod").ZodOptional<import("zod").ZodBoolean>;
4551
+ comesBack: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodEnum<{
4552
+ boot: "boot";
4553
+ "sign-in": "sign-in";
4554
+ }>>>;
3870
4555
  text: import("zod").ZodString;
3871
4556
  }, import("zod/v4/core").$strip>>;
3872
4557
  dueAt: import("zod").ZodOptional<import("zod").ZodNumber>;
4558
+ utcOffsetMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
4559
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4560
+ kind: import("zod").ZodLiteral<"wsl-memory">;
4561
+ device: import("zod").ZodString;
4562
+ configPath: import("zod").ZodString;
4563
+ fit: import("zod").ZodObject<{
4564
+ at: import("zod").ZodNumber;
4565
+ windowMs: import("zod").ZodNumber;
4566
+ readings: import("zod").ZodNumber;
4567
+ totalBytes: import("zod").ZodNumber;
4568
+ lowLineBytes: import("zod").ZodNumber;
4569
+ underLowShare: import("zod").ZodNumber;
4570
+ availableMedianBytes: import("zod").ZodNumber;
4571
+ vmMedianBytes: import("zod").ZodNumber;
4572
+ outsideBytes: import("zod").ZodNumber;
4573
+ configuredGb: import("zod").ZodOptional<import("zod").ZodNumber>;
4574
+ proposedGb: import("zod").ZodNumber;
4575
+ atFloor: import("zod").ZodBoolean;
4576
+ capsOver: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
4577
+ name: import("zod").ZodString;
4578
+ memoryBytes: import("zod").ZodNumber;
4579
+ }, import("zod/v4/core").$strip>>>;
4580
+ text: import("zod").ZodString;
4581
+ }, import("zod/v4/core").$strip>;
3873
4582
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3874
4583
  kind: import("zod").ZodLiteral<"claim">;
3875
4584
  project: import("zod").ZodString;
@@ -3887,6 +4596,46 @@ export declare const agentContract: {
3887
4596
  }>>;
3888
4597
  address: import("zod").ZodOptional<import("zod").ZodString>;
3889
4598
  from: import("zod").ZodOptional<import("zod").ZodString>;
4599
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4600
+ kind: import("zod").ZodLiteral<"redirect">;
4601
+ target: import("zod").ZodString;
4602
+ targetName: import("zod").ZodString;
4603
+ address: import("zod").ZodOptional<import("zod").ZodString>;
4604
+ person: import("zod").ZodString;
4605
+ words: import("zod").ZodString;
4606
+ clipped: import("zod").ZodOptional<import("zod").ZodBoolean>;
4607
+ attachments: import("zod").ZodOptional<import("zod").ZodNumber>;
4608
+ project: import("zod").ZodOptional<import("zod").ZodString>;
4609
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4610
+ kind: import("zod").ZodLiteral<"deploy">;
4611
+ repo: import("zod").ZodString;
4612
+ stack: import("zod").ZodString;
4613
+ device: import("zod").ZodString;
4614
+ deviceName: import("zod").ZodOptional<import("zod").ZodString>;
4615
+ secrets: import("zod").ZodArray<import("zod").ZodString>;
4616
+ ungranted: import("zod").ZodArray<import("zod").ZodString>;
4617
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4618
+ kind: import("zod").ZodLiteral<"contact">;
4619
+ address: import("zod").ZodString;
4620
+ action: import("zod").ZodEnum<{
4621
+ accept: "accept";
4622
+ add: "add";
4623
+ }>;
4624
+ contactId: import("zod").ZodOptional<import("zod").ZodString>;
4625
+ grants: import("zod").ZodObject<{
4626
+ message: import("zod").ZodDefault<import("zod").ZodBoolean>;
4627
+ report: import("zod").ZodDefault<import("zod").ZodBoolean>;
4628
+ task: import("zod").ZodOptional<import("zod").ZodObject<{
4629
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
4630
+ runAs: import("zod").ZodOptional<import("zod").ZodString>;
4631
+ approve: import("zod").ZodDefault<import("zod").ZodBoolean>;
4632
+ turnsPerHour: import("zod").ZodDefault<import("zod").ZodNumber>;
4633
+ }, import("zod/v4/core").$strip>>;
4634
+ records: import("zod").ZodDefault<import("zod").ZodBoolean>;
4635
+ operate: import("zod").ZodDefault<import("zod").ZodBoolean>;
4636
+ wake: import("zod").ZodDefault<import("zod").ZodBoolean>;
4637
+ }, import("zod/v4/core").$strip>;
4638
+ note: import("zod").ZodOptional<import("zod").ZodString>;
3890
4639
  }, import("zod/v4/core").$strip>], "kind">;
3891
4640
  title: import("zod").ZodString;
3892
4641
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3933,6 +4682,30 @@ export declare const agentContract: {
3933
4682
  }>>;
3934
4683
  sent: import("zod").ZodString;
3935
4684
  }, import("zod/v4/core").$strip>>;
4685
+ childNews: import("zod").ZodOptional<import("zod").ZodObject<{
4686
+ kind: import("zod").ZodEnum<{
4687
+ allowed: "allowed";
4688
+ answerLost: "answerLost";
4689
+ drift: "drift";
4690
+ fellBack: "fellBack";
4691
+ landConflict: "landConflict";
4692
+ landed: "landed";
4693
+ messageLost: "messageLost";
4694
+ movedHere: "movedHere";
4695
+ notStarted: "notStarted";
4696
+ otherModel: "otherModel";
4697
+ question: "question";
4698
+ restarted: "restarted";
4699
+ stopped: "stopped";
4700
+ working: "working";
4701
+ }>;
4702
+ from: import("zod").ZodString;
4703
+ title: import("zod").ZodOptional<import("zod").ZodString>;
4704
+ runner: import("zod").ZodOptional<import("zod").ZodString>;
4705
+ model: import("zod").ZodOptional<import("zod").ZodString>;
4706
+ cause: import("zod").ZodOptional<import("zod").ZodString>;
4707
+ sent: import("zod").ZodString;
4708
+ }, import("zod/v4/core").$strip>>;
3936
4709
  backgroundJob: import("zod").ZodOptional<import("zod").ZodObject<{
3937
4710
  id: import("zod").ZodString;
3938
4711
  label: import("zod").ZodString;
@@ -4025,6 +4798,7 @@ export declare const agentContract: {
4025
4798
  desktop: "desktop";
4026
4799
  device: "device";
4027
4800
  gateway: "gateway";
4801
+ mcp: "mcp";
4028
4802
  otp: "otp";
4029
4803
  session: "session";
4030
4804
  shell: "shell";
@@ -4222,8 +4996,10 @@ export declare const agentContract: {
4222
4996
  displayName: import("zod").ZodOptional<import("zod").ZodString>;
4223
4997
  description: import("zod").ZodOptional<import("zod").ZodString>;
4224
4998
  reason: import("zod").ZodOptional<import("zod").ZodString>;
4999
+ outside: import("zod").ZodOptional<import("zod").ZodString>;
4225
5000
  path: import("zod").ZodOptional<import("zod").ZodString>;
4226
5001
  alwaysLabel: import("zod").ZodOptional<import("zod").ZodString>;
5002
+ keepLabel: import("zod").ZodOptional<import("zod").ZodString>;
4227
5003
  alwaysAsks: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
4228
5004
  program: import("zod").ZodOptional<import("zod").ZodObject<{
4229
5005
  text: import("zod").ZodString;
@@ -4261,6 +5037,7 @@ export declare const agentContract: {
4261
5037
  child: import("zod").ZodOptional<import("zod").ZodString>;
4262
5038
  task: import("zod").ZodOptional<import("zod").ZodString>;
4263
5039
  message: import("zod").ZodOptional<import("zod").ZodString>;
5040
+ headings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4264
5041
  on: import("zod").ZodOptional<import("zod").ZodString>;
4265
5042
  proposed: import("zod").ZodOptional<import("zod").ZodObject<{
4266
5043
  provider: import("zod").ZodString;
@@ -4403,6 +5180,7 @@ export declare const agentContract: {
4403
5180
  hint: import("zod").ZodOptional<import("zod").ZodString>;
4404
5181
  replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
4405
5182
  multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
5183
+ hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4406
5184
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4407
5185
  kind: import("zod").ZodLiteral<"grant">;
4408
5186
  subject: import("zod").ZodEnum<{
@@ -4464,6 +5242,7 @@ export declare const agentContract: {
4464
5242
  mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
4465
5243
  branch: import("zod").ZodOptional<import("zod").ZodString>;
4466
5244
  allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5245
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
4467
5246
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4468
5247
  kind: import("zod").ZodLiteral<"workspace">;
4469
5248
  event: import("zod").ZodEnum<{
@@ -4475,7 +5254,7 @@ export declare const agentContract: {
4475
5254
  repo: import("zod").ZodOptional<import("zod").ZodString>;
4476
5255
  }, import("zod/v4/core").$strip>], "kind">;
4477
5256
  guard: import("zod").ZodOptional<import("zod").ZodString>;
4478
- source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
5257
+ source: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodObject<{
4479
5258
  kind: import("zod").ZodLiteral<"npm">;
4480
5259
  package: import("zod").ZodString;
4481
5260
  range: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4488,7 +5267,9 @@ export declare const agentContract: {
4488
5267
  kind: import("zod").ZodLiteral<"url">;
4489
5268
  url: import("zod").ZodString;
4490
5269
  select: import("zod").ZodOptional<import("zod").ZodString>;
4491
- }, import("zod/v4/core").$strip>], "kind">>;
5270
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5271
+ kind: import("zod").ZodString;
5272
+ }, import("zod/v4/core").$catchall<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean]>>>]>>;
4492
5273
  fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
4493
5274
  change: "change";
4494
5275
  pass: "pass";
@@ -4504,6 +5285,10 @@ export declare const agentContract: {
4504
5285
  conversationId: import("zod").ZodString;
4505
5286
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4506
5287
  kind: import("zod").ZodLiteral<"notify">;
5288
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5289
+ kind: import("zod").ZodLiteral<"extension">;
5290
+ extension: import("zod").ZodString;
5291
+ handler: import("zod").ZodString;
4507
5292
  }, import("zod/v4/core").$strip>], "kind">>;
4508
5293
  note: import("zod").ZodOptional<import("zod").ZodString>;
4509
5294
  prompt: import("zod").ZodString;
@@ -4597,6 +5382,30 @@ export declare const agentContract: {
4597
5382
  saw: import("zod").ZodString;
4598
5383
  at: import("zod").ZodNumber;
4599
5384
  }, import("zod/v4/core").$strip>>;
5385
+ watchKind: import("zod").ZodOptional<import("zod").ZodObject<{
5386
+ id: import("zod").ZodString;
5387
+ label: import("zod").ZodString;
5388
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
5389
+ logo: import("zod").ZodOptional<import("zod").ZodString>;
5390
+ description: import("zod").ZodString;
5391
+ sentence: import("zod").ZodString;
5392
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
5393
+ key: import("zod").ZodString;
5394
+ label: import("zod").ZodString;
5395
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
5396
+ switch: "switch";
5397
+ text: "text";
5398
+ }>>;
5399
+ required: import("zod").ZodOptional<import("zod").ZodBoolean>;
5400
+ placeholder: import("zod").ZodOptional<import("zod").ZodString>;
5401
+ hint: import("zod").ZodOptional<import("zod").ZodString>;
5402
+ pattern: import("zod").ZodOptional<import("zod").ZodString>;
5403
+ patternHint: import("zod").ZodOptional<import("zod").ZodString>;
5404
+ maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
5405
+ }, import("zod/v4/core").$strip>>;
5406
+ extension: import("zod").ZodString;
5407
+ enabled: import("zod").ZodBoolean;
5408
+ }, import("zod/v4/core").$strip>>;
4600
5409
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4601
5410
  kind: import("zod").ZodLiteral<"instruction">;
4602
5411
  file: import("zod").ZodString;
@@ -4621,9 +5430,40 @@ export declare const agentContract: {
4621
5430
  plans: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4622
5431
  fixable: import("zod").ZodBoolean;
4623
5432
  command: import("zod").ZodOptional<import("zod").ZodString>;
5433
+ offers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5434
+ pausedUntil: import("zod").ZodOptional<import("zod").ZodNumber>;
5435
+ restartPending: import("zod").ZodOptional<import("zod").ZodBoolean>;
5436
+ comesBack: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodEnum<{
5437
+ boot: "boot";
5438
+ "sign-in": "sign-in";
5439
+ }>>>;
4624
5440
  text: import("zod").ZodString;
4625
5441
  }, import("zod/v4/core").$strip>>;
4626
5442
  dueAt: import("zod").ZodOptional<import("zod").ZodNumber>;
5443
+ utcOffsetMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
5444
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5445
+ kind: import("zod").ZodLiteral<"wsl-memory">;
5446
+ device: import("zod").ZodString;
5447
+ configPath: import("zod").ZodString;
5448
+ fit: import("zod").ZodObject<{
5449
+ at: import("zod").ZodNumber;
5450
+ windowMs: import("zod").ZodNumber;
5451
+ readings: import("zod").ZodNumber;
5452
+ totalBytes: import("zod").ZodNumber;
5453
+ lowLineBytes: import("zod").ZodNumber;
5454
+ underLowShare: import("zod").ZodNumber;
5455
+ availableMedianBytes: import("zod").ZodNumber;
5456
+ vmMedianBytes: import("zod").ZodNumber;
5457
+ outsideBytes: import("zod").ZodNumber;
5458
+ configuredGb: import("zod").ZodOptional<import("zod").ZodNumber>;
5459
+ proposedGb: import("zod").ZodNumber;
5460
+ atFloor: import("zod").ZodBoolean;
5461
+ capsOver: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
5462
+ name: import("zod").ZodString;
5463
+ memoryBytes: import("zod").ZodNumber;
5464
+ }, import("zod/v4/core").$strip>>>;
5465
+ text: import("zod").ZodString;
5466
+ }, import("zod/v4/core").$strip>;
4627
5467
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4628
5468
  kind: import("zod").ZodLiteral<"claim">;
4629
5469
  project: import("zod").ZodString;
@@ -4641,6 +5481,46 @@ export declare const agentContract: {
4641
5481
  }>>;
4642
5482
  address: import("zod").ZodOptional<import("zod").ZodString>;
4643
5483
  from: import("zod").ZodOptional<import("zod").ZodString>;
5484
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5485
+ kind: import("zod").ZodLiteral<"redirect">;
5486
+ target: import("zod").ZodString;
5487
+ targetName: import("zod").ZodString;
5488
+ address: import("zod").ZodOptional<import("zod").ZodString>;
5489
+ person: import("zod").ZodString;
5490
+ words: import("zod").ZodString;
5491
+ clipped: import("zod").ZodOptional<import("zod").ZodBoolean>;
5492
+ attachments: import("zod").ZodOptional<import("zod").ZodNumber>;
5493
+ project: import("zod").ZodOptional<import("zod").ZodString>;
5494
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5495
+ kind: import("zod").ZodLiteral<"deploy">;
5496
+ repo: import("zod").ZodString;
5497
+ stack: import("zod").ZodString;
5498
+ device: import("zod").ZodString;
5499
+ deviceName: import("zod").ZodOptional<import("zod").ZodString>;
5500
+ secrets: import("zod").ZodArray<import("zod").ZodString>;
5501
+ ungranted: import("zod").ZodArray<import("zod").ZodString>;
5502
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5503
+ kind: import("zod").ZodLiteral<"contact">;
5504
+ address: import("zod").ZodString;
5505
+ action: import("zod").ZodEnum<{
5506
+ accept: "accept";
5507
+ add: "add";
5508
+ }>;
5509
+ contactId: import("zod").ZodOptional<import("zod").ZodString>;
5510
+ grants: import("zod").ZodObject<{
5511
+ message: import("zod").ZodDefault<import("zod").ZodBoolean>;
5512
+ report: import("zod").ZodDefault<import("zod").ZodBoolean>;
5513
+ task: import("zod").ZodOptional<import("zod").ZodObject<{
5514
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
5515
+ runAs: import("zod").ZodOptional<import("zod").ZodString>;
5516
+ approve: import("zod").ZodDefault<import("zod").ZodBoolean>;
5517
+ turnsPerHour: import("zod").ZodDefault<import("zod").ZodNumber>;
5518
+ }, import("zod/v4/core").$strip>>;
5519
+ records: import("zod").ZodDefault<import("zod").ZodBoolean>;
5520
+ operate: import("zod").ZodDefault<import("zod").ZodBoolean>;
5521
+ wake: import("zod").ZodDefault<import("zod").ZodBoolean>;
5522
+ }, import("zod/v4/core").$strip>;
5523
+ note: import("zod").ZodOptional<import("zod").ZodString>;
4644
5524
  }, import("zod/v4/core").$strip>], "kind">;
4645
5525
  title: import("zod").ZodString;
4646
5526
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4687,6 +5567,30 @@ export declare const agentContract: {
4687
5567
  }>>;
4688
5568
  sent: import("zod").ZodString;
4689
5569
  }, import("zod/v4/core").$strip>>;
5570
+ childNews: import("zod").ZodOptional<import("zod").ZodObject<{
5571
+ kind: import("zod").ZodEnum<{
5572
+ allowed: "allowed";
5573
+ answerLost: "answerLost";
5574
+ drift: "drift";
5575
+ fellBack: "fellBack";
5576
+ landConflict: "landConflict";
5577
+ landed: "landed";
5578
+ messageLost: "messageLost";
5579
+ movedHere: "movedHere";
5580
+ notStarted: "notStarted";
5581
+ otherModel: "otherModel";
5582
+ question: "question";
5583
+ restarted: "restarted";
5584
+ stopped: "stopped";
5585
+ working: "working";
5586
+ }>;
5587
+ from: import("zod").ZodString;
5588
+ title: import("zod").ZodOptional<import("zod").ZodString>;
5589
+ runner: import("zod").ZodOptional<import("zod").ZodString>;
5590
+ model: import("zod").ZodOptional<import("zod").ZodString>;
5591
+ cause: import("zod").ZodOptional<import("zod").ZodString>;
5592
+ sent: import("zod").ZodString;
5593
+ }, import("zod/v4/core").$strip>>;
4690
5594
  backgroundJob: import("zod").ZodOptional<import("zod").ZodObject<{
4691
5595
  id: import("zod").ZodString;
4692
5596
  label: import("zod").ZodString;
@@ -4779,6 +5683,7 @@ export declare const agentContract: {
4779
5683
  desktop: "desktop";
4780
5684
  device: "device";
4781
5685
  gateway: "gateway";
5686
+ mcp: "mcp";
4782
5687
  otp: "otp";
4783
5688
  session: "session";
4784
5689
  shell: "shell";
@@ -4975,8 +5880,10 @@ export declare const agentContract: {
4975
5880
  displayName: import("zod").ZodOptional<import("zod").ZodString>;
4976
5881
  description: import("zod").ZodOptional<import("zod").ZodString>;
4977
5882
  reason: import("zod").ZodOptional<import("zod").ZodString>;
5883
+ outside: import("zod").ZodOptional<import("zod").ZodString>;
4978
5884
  path: import("zod").ZodOptional<import("zod").ZodString>;
4979
5885
  alwaysLabel: import("zod").ZodOptional<import("zod").ZodString>;
5886
+ keepLabel: import("zod").ZodOptional<import("zod").ZodString>;
4980
5887
  alwaysAsks: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
4981
5888
  program: import("zod").ZodOptional<import("zod").ZodObject<{
4982
5889
  text: import("zod").ZodString;
@@ -5014,6 +5921,7 @@ export declare const agentContract: {
5014
5921
  child: import("zod").ZodOptional<import("zod").ZodString>;
5015
5922
  task: import("zod").ZodOptional<import("zod").ZodString>;
5016
5923
  message: import("zod").ZodOptional<import("zod").ZodString>;
5924
+ headings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5017
5925
  on: import("zod").ZodOptional<import("zod").ZodString>;
5018
5926
  proposed: import("zod").ZodOptional<import("zod").ZodObject<{
5019
5927
  provider: import("zod").ZodString;
@@ -5156,6 +6064,7 @@ export declare const agentContract: {
5156
6064
  hint: import("zod").ZodOptional<import("zod").ZodString>;
5157
6065
  replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
5158
6066
  multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
6067
+ hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5159
6068
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5160
6069
  kind: import("zod").ZodLiteral<"grant">;
5161
6070
  subject: import("zod").ZodEnum<{
@@ -5217,6 +6126,7 @@ export declare const agentContract: {
5217
6126
  mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
5218
6127
  branch: import("zod").ZodOptional<import("zod").ZodString>;
5219
6128
  allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
6129
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
5220
6130
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5221
6131
  kind: import("zod").ZodLiteral<"workspace">;
5222
6132
  event: import("zod").ZodEnum<{
@@ -5228,7 +6138,7 @@ export declare const agentContract: {
5228
6138
  repo: import("zod").ZodOptional<import("zod").ZodString>;
5229
6139
  }, import("zod/v4/core").$strip>], "kind">;
5230
6140
  guard: import("zod").ZodOptional<import("zod").ZodString>;
5231
- source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
6141
+ source: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodObject<{
5232
6142
  kind: import("zod").ZodLiteral<"npm">;
5233
6143
  package: import("zod").ZodString;
5234
6144
  range: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5241,7 +6151,9 @@ export declare const agentContract: {
5241
6151
  kind: import("zod").ZodLiteral<"url">;
5242
6152
  url: import("zod").ZodString;
5243
6153
  select: import("zod").ZodOptional<import("zod").ZodString>;
5244
- }, import("zod/v4/core").$strip>], "kind">>;
6154
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6155
+ kind: import("zod").ZodString;
6156
+ }, import("zod/v4/core").$catchall<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean]>>>]>>;
5245
6157
  fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
5246
6158
  change: "change";
5247
6159
  pass: "pass";
@@ -5257,6 +6169,10 @@ export declare const agentContract: {
5257
6169
  conversationId: import("zod").ZodString;
5258
6170
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5259
6171
  kind: import("zod").ZodLiteral<"notify">;
6172
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6173
+ kind: import("zod").ZodLiteral<"extension">;
6174
+ extension: import("zod").ZodString;
6175
+ handler: import("zod").ZodString;
5260
6176
  }, import("zod/v4/core").$strip>], "kind">>;
5261
6177
  note: import("zod").ZodOptional<import("zod").ZodString>;
5262
6178
  prompt: import("zod").ZodString;
@@ -5350,6 +6266,30 @@ export declare const agentContract: {
5350
6266
  saw: import("zod").ZodString;
5351
6267
  at: import("zod").ZodNumber;
5352
6268
  }, import("zod/v4/core").$strip>>;
6269
+ watchKind: import("zod").ZodOptional<import("zod").ZodObject<{
6270
+ id: import("zod").ZodString;
6271
+ label: import("zod").ZodString;
6272
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
6273
+ logo: import("zod").ZodOptional<import("zod").ZodString>;
6274
+ description: import("zod").ZodString;
6275
+ sentence: import("zod").ZodString;
6276
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
6277
+ key: import("zod").ZodString;
6278
+ label: import("zod").ZodString;
6279
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
6280
+ switch: "switch";
6281
+ text: "text";
6282
+ }>>;
6283
+ required: import("zod").ZodOptional<import("zod").ZodBoolean>;
6284
+ placeholder: import("zod").ZodOptional<import("zod").ZodString>;
6285
+ hint: import("zod").ZodOptional<import("zod").ZodString>;
6286
+ pattern: import("zod").ZodOptional<import("zod").ZodString>;
6287
+ patternHint: import("zod").ZodOptional<import("zod").ZodString>;
6288
+ maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
6289
+ }, import("zod/v4/core").$strip>>;
6290
+ extension: import("zod").ZodString;
6291
+ enabled: import("zod").ZodBoolean;
6292
+ }, import("zod/v4/core").$strip>>;
5353
6293
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5354
6294
  kind: import("zod").ZodLiteral<"instruction">;
5355
6295
  file: import("zod").ZodString;
@@ -5374,9 +6314,40 @@ export declare const agentContract: {
5374
6314
  plans: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
5375
6315
  fixable: import("zod").ZodBoolean;
5376
6316
  command: import("zod").ZodOptional<import("zod").ZodString>;
6317
+ offers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
6318
+ pausedUntil: import("zod").ZodOptional<import("zod").ZodNumber>;
6319
+ restartPending: import("zod").ZodOptional<import("zod").ZodBoolean>;
6320
+ comesBack: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodEnum<{
6321
+ boot: "boot";
6322
+ "sign-in": "sign-in";
6323
+ }>>>;
5377
6324
  text: import("zod").ZodString;
5378
6325
  }, import("zod/v4/core").$strip>>;
5379
6326
  dueAt: import("zod").ZodOptional<import("zod").ZodNumber>;
6327
+ utcOffsetMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
6328
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6329
+ kind: import("zod").ZodLiteral<"wsl-memory">;
6330
+ device: import("zod").ZodString;
6331
+ configPath: import("zod").ZodString;
6332
+ fit: import("zod").ZodObject<{
6333
+ at: import("zod").ZodNumber;
6334
+ windowMs: import("zod").ZodNumber;
6335
+ readings: import("zod").ZodNumber;
6336
+ totalBytes: import("zod").ZodNumber;
6337
+ lowLineBytes: import("zod").ZodNumber;
6338
+ underLowShare: import("zod").ZodNumber;
6339
+ availableMedianBytes: import("zod").ZodNumber;
6340
+ vmMedianBytes: import("zod").ZodNumber;
6341
+ outsideBytes: import("zod").ZodNumber;
6342
+ configuredGb: import("zod").ZodOptional<import("zod").ZodNumber>;
6343
+ proposedGb: import("zod").ZodNumber;
6344
+ atFloor: import("zod").ZodBoolean;
6345
+ capsOver: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
6346
+ name: import("zod").ZodString;
6347
+ memoryBytes: import("zod").ZodNumber;
6348
+ }, import("zod/v4/core").$strip>>>;
6349
+ text: import("zod").ZodString;
6350
+ }, import("zod/v4/core").$strip>;
5380
6351
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5381
6352
  kind: import("zod").ZodLiteral<"claim">;
5382
6353
  project: import("zod").ZodString;
@@ -5394,6 +6365,46 @@ export declare const agentContract: {
5394
6365
  }>>;
5395
6366
  address: import("zod").ZodOptional<import("zod").ZodString>;
5396
6367
  from: import("zod").ZodOptional<import("zod").ZodString>;
6368
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6369
+ kind: import("zod").ZodLiteral<"redirect">;
6370
+ target: import("zod").ZodString;
6371
+ targetName: import("zod").ZodString;
6372
+ address: import("zod").ZodOptional<import("zod").ZodString>;
6373
+ person: import("zod").ZodString;
6374
+ words: import("zod").ZodString;
6375
+ clipped: import("zod").ZodOptional<import("zod").ZodBoolean>;
6376
+ attachments: import("zod").ZodOptional<import("zod").ZodNumber>;
6377
+ project: import("zod").ZodOptional<import("zod").ZodString>;
6378
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6379
+ kind: import("zod").ZodLiteral<"deploy">;
6380
+ repo: import("zod").ZodString;
6381
+ stack: import("zod").ZodString;
6382
+ device: import("zod").ZodString;
6383
+ deviceName: import("zod").ZodOptional<import("zod").ZodString>;
6384
+ secrets: import("zod").ZodArray<import("zod").ZodString>;
6385
+ ungranted: import("zod").ZodArray<import("zod").ZodString>;
6386
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6387
+ kind: import("zod").ZodLiteral<"contact">;
6388
+ address: import("zod").ZodString;
6389
+ action: import("zod").ZodEnum<{
6390
+ accept: "accept";
6391
+ add: "add";
6392
+ }>;
6393
+ contactId: import("zod").ZodOptional<import("zod").ZodString>;
6394
+ grants: import("zod").ZodObject<{
6395
+ message: import("zod").ZodDefault<import("zod").ZodBoolean>;
6396
+ report: import("zod").ZodDefault<import("zod").ZodBoolean>;
6397
+ task: import("zod").ZodOptional<import("zod").ZodObject<{
6398
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
6399
+ runAs: import("zod").ZodOptional<import("zod").ZodString>;
6400
+ approve: import("zod").ZodDefault<import("zod").ZodBoolean>;
6401
+ turnsPerHour: import("zod").ZodDefault<import("zod").ZodNumber>;
6402
+ }, import("zod/v4/core").$strip>>;
6403
+ records: import("zod").ZodDefault<import("zod").ZodBoolean>;
6404
+ operate: import("zod").ZodDefault<import("zod").ZodBoolean>;
6405
+ wake: import("zod").ZodDefault<import("zod").ZodBoolean>;
6406
+ }, import("zod/v4/core").$strip>;
6407
+ note: import("zod").ZodOptional<import("zod").ZodString>;
5397
6408
  }, import("zod/v4/core").$strip>], "kind">;
5398
6409
  title: import("zod").ZodString;
5399
6410
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5440,6 +6451,30 @@ export declare const agentContract: {
5440
6451
  }>>;
5441
6452
  sent: import("zod").ZodString;
5442
6453
  }, import("zod/v4/core").$strip>>;
6454
+ childNews: import("zod").ZodOptional<import("zod").ZodObject<{
6455
+ kind: import("zod").ZodEnum<{
6456
+ allowed: "allowed";
6457
+ answerLost: "answerLost";
6458
+ drift: "drift";
6459
+ fellBack: "fellBack";
6460
+ landConflict: "landConflict";
6461
+ landed: "landed";
6462
+ messageLost: "messageLost";
6463
+ movedHere: "movedHere";
6464
+ notStarted: "notStarted";
6465
+ otherModel: "otherModel";
6466
+ question: "question";
6467
+ restarted: "restarted";
6468
+ stopped: "stopped";
6469
+ working: "working";
6470
+ }>;
6471
+ from: import("zod").ZodString;
6472
+ title: import("zod").ZodOptional<import("zod").ZodString>;
6473
+ runner: import("zod").ZodOptional<import("zod").ZodString>;
6474
+ model: import("zod").ZodOptional<import("zod").ZodString>;
6475
+ cause: import("zod").ZodOptional<import("zod").ZodString>;
6476
+ sent: import("zod").ZodString;
6477
+ }, import("zod/v4/core").$strip>>;
5443
6478
  backgroundJob: import("zod").ZodOptional<import("zod").ZodObject<{
5444
6479
  id: import("zod").ZodString;
5445
6480
  label: import("zod").ZodString;
@@ -5532,6 +6567,7 @@ export declare const agentContract: {
5532
6567
  desktop: "desktop";
5533
6568
  device: "device";
5534
6569
  gateway: "gateway";
6570
+ mcp: "mcp";
5535
6571
  otp: "otp";
5536
6572
  session: "session";
5537
6573
  shell: "shell";
@@ -5632,6 +6668,7 @@ export declare const agentContract: {
5632
6668
  once: "once";
5633
6669
  }>;
5634
6670
  feedback: import("zod").ZodOptional<import("zod").ZodString>;
6671
+ keep: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
5635
6672
  child: import("zod").ZodOptional<import("zod").ZodObject<{
5636
6673
  provider: import("zod").ZodString;
5637
6674
  model: import("zod").ZodString;