@intentic/sandbox-contract 1.326.0 → 1.328.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 (537) hide show
  1. package/README.md +24 -12
  2. package/dist/chores/chores.d.ts.map +1 -1
  3. package/dist/chores/chores.js +29 -20
  4. package/dist/chores/chores.js.map +1 -1
  5. package/dist/chores/probes.d.ts +1 -0
  6. package/dist/chores/probes.d.ts.map +1 -1
  7. package/dist/chores/probes.js +81 -12
  8. package/dist/chores/probes.js.map +1 -1
  9. package/dist/contracts/agent.contract.d.ts +1467 -6
  10. package/dist/contracts/agent.contract.d.ts.map +1 -1
  11. package/dist/contracts/agent.contract.js +2 -2
  12. package/dist/contracts/agent.contract.js.map +1 -1
  13. package/dist/contracts/agents.contract.d.ts +1391 -0
  14. package/dist/contracts/agents.contract.d.ts.map +1 -1
  15. package/dist/contracts/agents.contract.js +1 -1
  16. package/dist/contracts/automations.contract.d.ts +123 -4
  17. package/dist/contracts/automations.contract.d.ts.map +1 -1
  18. package/dist/contracts/automations.contract.js +13 -2
  19. package/dist/contracts/automations.contract.js.map +1 -1
  20. package/dist/contracts/capabilities.contract.d.ts +79 -8
  21. package/dist/contracts/capabilities.contract.d.ts.map +1 -1
  22. package/dist/contracts/chores.contract.d.ts +2 -0
  23. package/dist/contracts/chores.contract.d.ts.map +1 -1
  24. package/dist/contracts/ci.contract.d.ts +2 -0
  25. package/dist/contracts/ci.contract.d.ts.map +1 -1
  26. package/dist/contracts/device.contract.d.ts +52 -0
  27. package/dist/contracts/device.contract.d.ts.map +1 -1
  28. package/dist/contracts/device.contract.js +2 -0
  29. package/dist/contracts/device.contract.js.map +1 -1
  30. package/dist/contracts/endpoints.contract.d.ts +42 -33
  31. package/dist/contracts/endpoints.contract.d.ts.map +1 -1
  32. package/dist/contracts/endpoints.contract.js +17 -7
  33. package/dist/contracts/endpoints.contract.js.map +1 -1
  34. package/dist/contracts/extensions.contract.d.ts +192 -0
  35. package/dist/contracts/extensions.contract.d.ts.map +1 -1
  36. package/dist/contracts/extensions.contract.js +37 -1
  37. package/dist/contracts/extensions.contract.js.map +1 -1
  38. package/dist/contracts/needs.contract.d.ts +1009 -0
  39. package/dist/contracts/needs.contract.d.ts.map +1 -1
  40. package/dist/contracts/pages.contract.d.ts +34 -0
  41. package/dist/contracts/pages.contract.d.ts.map +1 -0
  42. package/dist/contracts/pages.contract.js +49 -0
  43. package/dist/contracts/pages.contract.js.map +1 -0
  44. package/dist/contracts/phone.contract.d.ts +78 -0
  45. package/dist/contracts/phone.contract.d.ts.map +1 -0
  46. package/dist/contracts/phone.contract.js +11 -0
  47. package/dist/contracts/phone.contract.js.map +1 -0
  48. package/dist/contracts/privacy.contract.d.ts +20 -0
  49. package/dist/contracts/privacy.contract.d.ts.map +1 -1
  50. package/dist/contracts/privacy.contract.js +12 -2
  51. package/dist/contracts/privacy.contract.js.map +1 -1
  52. package/dist/contracts/runner.contract.d.ts +648 -127
  53. package/dist/contracts/runner.contract.d.ts.map +1 -1
  54. package/dist/contracts/runner.contract.js +1 -1
  55. package/dist/contracts/runner.contract.js.map +1 -1
  56. package/dist/contracts/secrets.contract.d.ts +88 -0
  57. package/dist/contracts/secrets.contract.d.ts.map +1 -1
  58. package/dist/contracts/secrets.contract.js +20 -1
  59. package/dist/contracts/secrets.contract.js.map +1 -1
  60. package/dist/contracts/sessions.contract.d.ts +184 -0
  61. package/dist/contracts/sessions.contract.d.ts.map +1 -1
  62. package/dist/contracts/settings.contract.d.ts +16 -58
  63. package/dist/contracts/settings.contract.d.ts.map +1 -1
  64. package/dist/contracts/settings.contract.js +10 -1
  65. package/dist/contracts/settings.contract.js.map +1 -1
  66. package/dist/contracts/system.contract.d.ts +227 -32
  67. package/dist/contracts/system.contract.d.ts.map +1 -1
  68. package/dist/contracts/system.contract.js +18 -1
  69. package/dist/contracts/system.contract.js.map +1 -1
  70. package/dist/documents/conversions.d.ts.map +1 -1
  71. package/dist/documents/conversions.js +2 -1
  72. package/dist/documents/conversions.js.map +1 -1
  73. package/dist/documents/read.d.ts.map +1 -1
  74. package/dist/documents/read.js +4 -4
  75. package/dist/documents/read.js.map +1 -1
  76. package/dist/events/agent-events.d.ts +747 -1
  77. package/dist/events/agent-events.d.ts.map +1 -1
  78. package/dist/events/agent-events.js +14 -1
  79. package/dist/events/agent-events.js.map +1 -1
  80. package/dist/events/requests.d.ts +40 -0
  81. package/dist/events/requests.d.ts.map +1 -1
  82. package/dist/events/requests.js +39 -0
  83. package/dist/events/requests.js.map +1 -1
  84. package/dist/events/system-events.d.ts +120 -0
  85. package/dist/events/system-events.d.ts.map +1 -1
  86. package/dist/events/transcript.d.ts +1131 -1
  87. package/dist/events/transcript.d.ts.map +1 -1
  88. package/dist/events/transcript.js +9 -1
  89. package/dist/events/transcript.js.map +1 -1
  90. package/dist/ids/hostnames.d.ts +2 -0
  91. package/dist/ids/hostnames.d.ts.map +1 -1
  92. package/dist/ids/hostnames.js +18 -15
  93. package/dist/ids/hostnames.js.map +1 -1
  94. package/dist/ids/sandbox-id.d.ts +2 -0
  95. package/dist/ids/sandbox-id.d.ts.map +1 -0
  96. package/dist/ids/sandbox-id.js +2 -0
  97. package/dist/ids/sandbox-id.js.map +1 -0
  98. package/dist/ids/tunnel-ids.d.ts +1 -1
  99. package/dist/ids/tunnel-ids.d.ts.map +1 -1
  100. package/dist/ids/tunnel-ids.js +1 -1
  101. package/dist/ids/tunnel-ids.js.map +1 -1
  102. package/dist/index.d.ts +4902 -177
  103. package/dist/index.d.ts.map +1 -1
  104. package/dist/index.js +25 -9
  105. package/dist/index.js.map +1 -1
  106. package/dist/models/agent-catalog.d.ts +0 -1
  107. package/dist/models/agent-catalog.d.ts.map +1 -1
  108. package/dist/models/agent-catalog.js +0 -1
  109. package/dist/models/agent-catalog.js.map +1 -1
  110. package/dist/models/agent-runtimes.d.ts +1 -1
  111. package/dist/models/agent-runtimes.d.ts.map +1 -1
  112. package/dist/models/agent-runtimes.js +1 -1
  113. package/dist/models/agent-runtimes.js.map +1 -1
  114. package/dist/models/provider-specs.d.ts +1 -0
  115. package/dist/models/provider-specs.d.ts.map +1 -1
  116. package/dist/models/provider-specs.js +11 -0
  117. package/dist/models/provider-specs.js.map +1 -1
  118. package/dist/netd/browser-wire.d.ts.map +1 -0
  119. package/dist/netd/browser-wire.js.map +1 -0
  120. package/dist/{front → netd}/generated/browser-wire.d.ts +8 -0
  121. package/dist/netd/generated/browser-wire.d.ts.map +1 -0
  122. package/dist/netd/generated/browser-wire.js.map +1 -0
  123. package/dist/{front → netd}/generated/wire.d.ts +20 -11
  124. package/dist/netd/generated/wire.d.ts.map +1 -0
  125. package/dist/{front → netd}/generated/wire.js.map +1 -1
  126. package/dist/netd/netd-wire.d.ts +9 -0
  127. package/dist/netd/netd-wire.d.ts.map +1 -0
  128. package/dist/netd/netd-wire.js +8 -0
  129. package/dist/netd/netd-wire.js.map +1 -0
  130. package/dist/policy/credential-material.d.ts +2 -0
  131. package/dist/policy/credential-material.d.ts.map +1 -1
  132. package/dist/policy/credential-material.js +14 -8
  133. package/dist/policy/credential-material.js.map +1 -1
  134. package/dist/policy/message-limits.d.ts +14 -0
  135. package/dist/policy/message-limits.d.ts.map +1 -0
  136. package/dist/policy/message-limits.js +15 -0
  137. package/dist/policy/message-limits.js.map +1 -0
  138. package/dist/policy/request-status.d.ts.map +1 -1
  139. package/dist/policy/request-status.js +9 -1
  140. package/dist/policy/request-status.js.map +1 -1
  141. package/dist/policy/reserved-servers.d.ts.map +1 -1
  142. package/dist/policy/reserved-servers.js +1 -0
  143. package/dist/policy/reserved-servers.js.map +1 -1
  144. package/dist/policy/turned-away.d.ts.map +1 -1
  145. package/dist/policy/turned-away.js +2 -0
  146. package/dist/policy/turned-away.js.map +1 -1
  147. package/dist/protocol/container-requirements.d.ts.map +1 -1
  148. package/dist/protocol/container-requirements.js +3 -4
  149. package/dist/protocol/container-requirements.js.map +1 -1
  150. package/dist/protocol/doors/host-protocol.d.ts.map +1 -0
  151. package/dist/protocol/doors/host-protocol.js.map +1 -0
  152. package/dist/protocol/{listener-protocol.d.ts → doors/listener-protocol.d.ts} +22 -0
  153. package/dist/protocol/doors/listener-protocol.d.ts.map +1 -0
  154. package/dist/protocol/doors/listener-protocol.js +38 -0
  155. package/dist/protocol/doors/listener-protocol.js.map +1 -0
  156. package/dist/protocol/doors/phone-links.d.ts +16 -0
  157. package/dist/protocol/doors/phone-links.d.ts.map +1 -0
  158. package/dist/protocol/doors/phone-links.js +28 -0
  159. package/dist/protocol/doors/phone-links.js.map +1 -0
  160. package/dist/protocol/doors/phone-protocol.d.ts +47 -0
  161. package/dist/protocol/doors/phone-protocol.d.ts.map +1 -0
  162. package/dist/protocol/doors/phone-protocol.js +33 -0
  163. package/dist/protocol/doors/phone-protocol.js.map +1 -0
  164. package/dist/protocol/doors/runner-protocol.d.ts.map +1 -0
  165. package/dist/protocol/{runner-protocol.js → doors/runner-protocol.js} +1 -1
  166. package/dist/protocol/doors/runner-protocol.js.map +1 -0
  167. package/dist/protocol/{webext-links.d.ts → doors/webext-links.d.ts} +1 -0
  168. package/dist/protocol/doors/webext-links.d.ts.map +1 -0
  169. package/dist/protocol/{webext-links.js → doors/webext-links.js} +1 -0
  170. package/dist/protocol/doors/webext-links.js.map +1 -0
  171. package/dist/protocol/doors/webext-protocol.d.ts.map +1 -0
  172. package/dist/protocol/doors/webext-protocol.js.map +1 -0
  173. package/dist/protocol/edge-verdict.d.ts +1 -1
  174. package/dist/protocol/edge-verdict.d.ts.map +1 -1
  175. package/dist/protocol/headers.d.ts +4 -0
  176. package/dist/protocol/headers.d.ts.map +1 -0
  177. package/dist/protocol/headers.js +4 -0
  178. package/dist/protocol/headers.js.map +1 -0
  179. package/dist/protocol/ingress-contract.d.ts +1 -1
  180. package/dist/protocol/ingress-contract.d.ts.map +1 -1
  181. package/dist/protocol/ingress-contract.js +1 -5
  182. package/dist/protocol/ingress-contract.js.map +1 -1
  183. package/dist/protocol/peer-dial.d.ts.map +1 -1
  184. package/dist/protocol/peer-dial.js +18 -36
  185. package/dist/protocol/peer-dial.js.map +1 -1
  186. package/dist/protocol/raw/extension-protocol.d.ts +47 -0
  187. package/dist/protocol/raw/extension-protocol.d.ts.map +1 -0
  188. package/dist/protocol/raw/extension-protocol.js +32 -0
  189. package/dist/protocol/raw/extension-protocol.js.map +1 -0
  190. package/dist/protocol/raw/raw-json-routes.d.ts +855 -0
  191. package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -0
  192. package/dist/protocol/raw/raw-json-routes.js +28 -0
  193. package/dist/protocol/raw/raw-json-routes.js.map +1 -0
  194. package/dist/protocol/{raw-routes.d.ts → raw/raw-routes.d.ts} +50 -3
  195. package/dist/protocol/raw/raw-routes.d.ts.map +1 -0
  196. package/dist/protocol/{raw-routes.js → raw/raw-routes.js} +17 -3
  197. package/dist/protocol/raw/raw-routes.js.map +1 -0
  198. package/dist/protocol/raw/route-path.d.ts +3 -0
  199. package/dist/protocol/raw/route-path.d.ts.map +1 -0
  200. package/dist/protocol/raw/route-path.js +8 -0
  201. package/dist/protocol/raw/route-path.js.map +1 -0
  202. package/dist/protocol/route-meta.d.ts +1 -1
  203. package/dist/protocol/route-meta.d.ts.map +1 -1
  204. package/dist/protocol/routes.d.ts +1 -0
  205. package/dist/protocol/routes.d.ts.map +1 -1
  206. package/dist/protocol/routes.js +8 -0
  207. package/dist/protocol/routes.js.map +1 -1
  208. package/dist/protocol/sse.d.ts +2 -1
  209. package/dist/protocol/sse.d.ts.map +1 -1
  210. package/dist/protocol/sse.js +23 -12
  211. package/dist/protocol/sse.js.map +1 -1
  212. package/dist/protocol/tunnel-bulk.js +1 -1
  213. package/dist/protocol/tunnel-bulk.js.map +1 -1
  214. package/dist/protocol/vitals.d.ts +2 -1
  215. package/dist/protocol/vitals.d.ts.map +1 -1
  216. package/dist/protocol/vitals.js +1 -0
  217. package/dist/protocol/vitals.js.map +1 -1
  218. package/dist/schemas/activity.d.ts +1 -0
  219. package/dist/schemas/activity.d.ts.map +1 -1
  220. package/dist/schemas/activity.js.map +1 -1
  221. package/dist/schemas/agent.d.ts +6 -0
  222. package/dist/schemas/agent.d.ts.map +1 -1
  223. package/dist/schemas/agent.js +9 -4
  224. package/dist/schemas/agent.js.map +1 -1
  225. package/dist/schemas/agents-list.d.ts +404 -0
  226. package/dist/schemas/agents-list.d.ts.map +1 -0
  227. package/dist/schemas/agents-list.js +14 -0
  228. package/dist/schemas/agents-list.js.map +1 -0
  229. package/dist/schemas/agents.d.ts +203 -0
  230. package/dist/schemas/agents.d.ts.map +1 -1
  231. package/dist/schemas/agents.js +44 -0
  232. package/dist/schemas/agents.js.map +1 -1
  233. package/dist/schemas/automations.d.ts +235 -347
  234. package/dist/schemas/automations.d.ts.map +1 -1
  235. package/dist/schemas/automations.js +82 -13
  236. package/dist/schemas/automations.js.map +1 -1
  237. package/dist/schemas/capabilities.d.ts +43 -8
  238. package/dist/schemas/capabilities.d.ts.map +1 -1
  239. package/dist/schemas/capabilities.js +6 -2
  240. package/dist/schemas/capabilities.js.map +1 -1
  241. package/dist/schemas/ci.d.ts +4 -0
  242. package/dist/schemas/ci.d.ts.map +1 -1
  243. package/dist/schemas/ci.js +8 -0
  244. package/dist/schemas/ci.js.map +1 -1
  245. package/dist/schemas/devices.d.ts +67 -0
  246. package/dist/schemas/devices.d.ts.map +1 -1
  247. package/dist/schemas/devices.js +8 -0
  248. package/dist/schemas/devices.js.map +1 -1
  249. package/dist/schemas/engines.d.ts +57 -0
  250. package/dist/schemas/engines.d.ts.map +1 -1
  251. package/dist/schemas/engines.js +4 -0
  252. package/dist/schemas/engines.js.map +1 -1
  253. package/dist/schemas/extension-updates.d.ts +329 -0
  254. package/dist/schemas/extension-updates.d.ts.map +1 -1
  255. package/dist/schemas/extension-updates.js +68 -3
  256. package/dist/schemas/extension-updates.js.map +1 -1
  257. package/dist/schemas/git/git.d.ts +11 -0
  258. package/dist/schemas/git/git.d.ts.map +1 -1
  259. package/dist/schemas/git/git.js +4 -4
  260. package/dist/schemas/git/git.js.map +1 -1
  261. package/dist/schemas/history.d.ts +2 -0
  262. package/dist/schemas/history.d.ts.map +1 -1
  263. package/dist/schemas/history.js.map +1 -1
  264. package/dist/schemas/hosts.d.ts +74 -0
  265. package/dist/schemas/hosts.d.ts.map +1 -1
  266. package/dist/schemas/hosts.js +10 -1
  267. package/dist/schemas/hosts.js.map +1 -1
  268. package/dist/schemas/loopback-catch.d.ts +1 -0
  269. package/dist/schemas/loopback-catch.d.ts.map +1 -1
  270. package/dist/schemas/loopback-catch.js +1 -0
  271. package/dist/schemas/loopback-catch.js.map +1 -1
  272. package/dist/schemas/maintenance.d.ts +8 -0
  273. package/dist/schemas/maintenance.d.ts.map +1 -1
  274. package/dist/schemas/maintenance.js +6 -0
  275. package/dist/schemas/maintenance.js.map +1 -1
  276. package/dist/schemas/members.d.ts +58 -0
  277. package/dist/schemas/members.d.ts.map +1 -0
  278. package/dist/schemas/members.js +16 -0
  279. package/dist/schemas/members.js.map +1 -0
  280. package/dist/schemas/metrics.d.ts +10 -0
  281. package/dist/schemas/metrics.d.ts.map +1 -1
  282. package/dist/schemas/metrics.js +19 -3
  283. package/dist/schemas/metrics.js.map +1 -1
  284. package/dist/schemas/needs.d.ts +1159 -1
  285. package/dist/schemas/needs.d.ts.map +1 -1
  286. package/dist/schemas/needs.js +25 -3
  287. package/dist/schemas/needs.js.map +1 -1
  288. package/dist/schemas/offload.js +1 -1
  289. package/dist/schemas/offload.js.map +1 -1
  290. package/dist/schemas/peer-enrollment.d.ts +7 -0
  291. package/dist/schemas/peer-enrollment.d.ts.map +1 -0
  292. package/dist/schemas/peer-enrollment.js +6 -0
  293. package/dist/schemas/peer-enrollment.js.map +1 -0
  294. package/dist/schemas/phone.d.ts +231 -0
  295. package/dist/schemas/phone.d.ts.map +1 -0
  296. package/dist/schemas/phone.js +57 -0
  297. package/dist/schemas/phone.js.map +1 -0
  298. package/dist/schemas/privacy.d.ts +41 -0
  299. package/dist/schemas/privacy.d.ts.map +1 -1
  300. package/dist/schemas/privacy.js +20 -3
  301. package/dist/schemas/privacy.js.map +1 -1
  302. package/dist/schemas/project-delivery.d.ts +94 -0
  303. package/dist/schemas/project-delivery.d.ts.map +1 -0
  304. package/dist/schemas/project-delivery.js +35 -0
  305. package/dist/schemas/project-delivery.js.map +1 -0
  306. package/dist/schemas/providers/plan-limits.d.ts +7 -0
  307. package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
  308. package/dist/schemas/providers/plan-limits.js +22 -1
  309. package/dist/schemas/providers/plan-limits.js.map +1 -1
  310. package/dist/schemas/providers/usage.d.ts +1 -2
  311. package/dist/schemas/providers/usage.d.ts.map +1 -1
  312. package/dist/schemas/providers/usage.js +1 -2
  313. package/dist/schemas/providers/usage.js.map +1 -1
  314. package/dist/schemas/push.d.ts +1 -0
  315. package/dist/schemas/push.d.ts.map +1 -1
  316. package/dist/schemas/push.js.map +1 -1
  317. package/dist/schemas/secrets.d.ts +99 -0
  318. package/dist/schemas/secrets.d.ts.map +1 -1
  319. package/dist/schemas/secrets.js +34 -3
  320. package/dist/schemas/secrets.js.map +1 -1
  321. package/dist/schemas/settings-history.d.ts +1 -1
  322. package/dist/schemas/settings-history.d.ts.map +1 -1
  323. package/dist/schemas/settings-history.js +1 -0
  324. package/dist/schemas/settings-history.js.map +1 -1
  325. package/dist/schemas/settings.d.ts +13 -58
  326. package/dist/schemas/settings.d.ts.map +1 -1
  327. package/dist/schemas/settings.js +8 -13
  328. package/dist/schemas/settings.js.map +1 -1
  329. package/dist/schemas/terminal.d.ts +32 -0
  330. package/dist/schemas/terminal.d.ts.map +1 -1
  331. package/dist/schemas/terminal.js +37 -0
  332. package/dist/schemas/terminal.js.map +1 -1
  333. package/dist/schemas/updates.d.ts +1 -0
  334. package/dist/schemas/updates.d.ts.map +1 -1
  335. package/dist/schemas/updates.js +4 -0
  336. package/dist/schemas/updates.js.map +1 -1
  337. package/dist/schemas/workspace/workspace-search.d.ts +1 -0
  338. package/dist/schemas/workspace/workspace-search.d.ts.map +1 -1
  339. package/dist/schemas/workspace/workspace-search.js.map +1 -1
  340. package/dist/schemas/workspace/workspace-tree.d.ts +3 -0
  341. package/dist/schemas/workspace/workspace-tree.d.ts.map +1 -1
  342. package/dist/schemas/workspace/workspace-tree.js +22 -5
  343. package/dist/schemas/workspace/workspace-tree.js.map +1 -1
  344. package/dist/state/arrival.d.ts +59 -0
  345. package/dist/state/arrival.d.ts.map +1 -1
  346. package/dist/state/arrival.js +17 -0
  347. package/dist/state/arrival.js.map +1 -1
  348. package/dist/state/contract-lock.js +2 -2
  349. package/dist/state/contract-lock.js.map +1 -1
  350. package/dist/state/definition.d.ts +82 -16
  351. package/dist/state/definition.d.ts.map +1 -1
  352. package/dist/state/history-state.d.ts.map +1 -1
  353. package/dist/state/history-state.js +38 -0
  354. package/dist/state/history-state.js.map +1 -1
  355. package/dist/state/runtime-state.d.ts +6 -0
  356. package/dist/state/runtime-state.d.ts.map +1 -1
  357. package/dist/state/runtime-state.js +2 -0
  358. package/dist/state/runtime-state.js.map +1 -1
  359. package/dist/state/workspace-state.d.ts +24 -6
  360. package/dist/state/workspace-state.d.ts.map +1 -1
  361. package/dist/state/workspace-state.js +29 -7
  362. package/dist/state/workspace-state.js.map +1 -1
  363. package/dist/text/embed.d.ts +10 -0
  364. package/dist/text/embed.d.ts.map +1 -1
  365. package/dist/text/embed.js +25 -0
  366. package/dist/text/embed.js.map +1 -1
  367. package/dist/text/pages.d.ts +53 -0
  368. package/dist/text/pages.d.ts.map +1 -0
  369. package/dist/text/pages.js +230 -0
  370. package/dist/text/pages.js.map +1 -0
  371. package/dist/text/transcript-fold.d.ts +1 -0
  372. package/dist/text/transcript-fold.d.ts.map +1 -1
  373. package/dist/text/transcript-fold.js +30 -2
  374. package/dist/text/transcript-fold.js.map +1 -1
  375. package/dist/webext/index.d.ts +3 -2
  376. package/dist/webext/index.d.ts.map +1 -1
  377. package/dist/webext/index.js +3 -2
  378. package/dist/webext/index.js.map +1 -1
  379. package/package.json +77 -22
  380. package/src/chores/chores.ts +41 -21
  381. package/src/chores/{probes.test.ts → probes.integration.test.ts} +134 -1
  382. package/src/chores/probes.ts +128 -14
  383. package/src/chores/verdict.test.ts +29 -0
  384. package/src/contracts/agent.contract.ts +2 -2
  385. package/src/contracts/agents.contract.ts +1 -1
  386. package/src/contracts/automations.contract.ts +19 -1
  387. package/src/contracts/device.contract.ts +5 -0
  388. package/src/contracts/endpoints.contract.ts +32 -26
  389. package/src/contracts/extensions.contract.ts +49 -0
  390. package/src/contracts/pages.contract.ts +61 -0
  391. package/src/contracts/phone.contract.ts +21 -0
  392. package/src/contracts/privacy.contract.ts +13 -1
  393. package/src/contracts/runner.contract.ts +1 -1
  394. package/src/contracts/secrets.contract.ts +25 -0
  395. package/src/contracts/settings.contract.ts +10 -0
  396. package/src/contracts/system.contract.ts +26 -0
  397. package/src/documents/conversions.ts +3 -1
  398. package/src/documents/read.ts +4 -5
  399. package/src/events/agent-events.ts +27 -3
  400. package/src/events/requests.ts +47 -0
  401. package/src/events/transcript.ts +14 -0
  402. package/src/ids/hostnames.fixture.json +14 -10
  403. package/src/ids/hostnames.test.ts +21 -2
  404. package/src/ids/hostnames.ts +34 -15
  405. package/src/ids/sandbox-id.ts +3 -0
  406. package/src/ids/tunnel-ids.ts +1 -2
  407. package/src/index.ts +29 -12
  408. package/src/models/agent-catalog.ts +1 -2
  409. package/src/models/agent-runtimes.ts +12 -6
  410. package/src/models/provider-specs.test.ts +12 -0
  411. package/src/models/provider-specs.ts +16 -0
  412. package/src/{front → netd}/browser-wire.ts +1 -1
  413. package/src/{front → netd}/generated/browser-wire.json +80 -7
  414. package/src/{front → netd}/generated/browser-wire.ts +34 -7
  415. package/src/{front/generated/front-wire.json → netd/generated/netd-wire.json} +103 -41
  416. package/src/{front → netd}/generated/tunnel.json +15 -1
  417. package/src/{front → netd}/generated/wire.ts +26 -21
  418. package/src/netd/netd-wire.ts +24 -0
  419. package/src/{front → netd}/wire-manifests.test.ts +31 -11
  420. package/src/policy/credential-material.ts +39 -11
  421. package/src/policy/message-limits.ts +25 -0
  422. package/src/policy/request-status.ts +10 -1
  423. package/src/policy/reserved-servers.ts +3 -2
  424. package/src/policy/tests/credential-material.test.ts +49 -1
  425. package/src/policy/tests/message-limits.test.ts +27 -0
  426. package/src/policy/tests/reserved-servers.test.ts +3 -3
  427. package/src/policy/turned-away.ts +5 -1
  428. package/src/protocol/container-requirements.ts +4 -5
  429. package/src/protocol/{listener-protocol.ts → doors/listener-protocol.ts} +37 -15
  430. package/src/protocol/doors/phone-links.ts +50 -0
  431. package/src/protocol/doors/phone-protocol.test.ts +136 -0
  432. package/src/protocol/doors/phone-protocol.ts +71 -0
  433. package/src/protocol/{runner-protocol.ts → doors/runner-protocol.ts} +1 -1
  434. package/src/protocol/{webext-links.ts → doors/webext-links.ts} +4 -0
  435. package/src/protocol/edge-verdict.ts +1 -1
  436. package/src/protocol/headers.ts +14 -0
  437. package/src/protocol/ingress-contract.ts +6 -10
  438. package/src/protocol/peer-dial.test.ts +83 -4
  439. package/src/protocol/peer-dial.ts +33 -40
  440. package/src/protocol/raw/extension-protocol.ts +59 -0
  441. package/src/protocol/raw/raw-json-routes.ts +61 -0
  442. package/src/protocol/{raw-routes.ts → raw/raw-routes.ts} +40 -7
  443. package/src/protocol/raw/route-path.ts +13 -0
  444. package/src/protocol/route-meta.ts +4 -4
  445. package/src/protocol/routes.ts +12 -0
  446. package/src/protocol/sse.test.ts +49 -0
  447. package/src/protocol/sse.ts +29 -14
  448. package/src/protocol/tunnel-bulk.test.ts +1 -1
  449. package/src/protocol/tunnel-bulk.ts +2 -2
  450. package/src/protocol/vitals.test.ts +7 -7
  451. package/src/protocol/vitals.ts +12 -7
  452. package/src/schemas/activity.ts +1 -0
  453. package/src/schemas/agent.ts +11 -4
  454. package/src/schemas/agents-list.ts +24 -0
  455. package/src/schemas/agents.ts +71 -2
  456. package/src/schemas/automations.ts +126 -24
  457. package/src/schemas/capabilities.ts +13 -3
  458. package/src/schemas/ci.ts +10 -0
  459. package/src/schemas/devices.ts +24 -0
  460. package/src/schemas/engines.ts +7 -0
  461. package/src/schemas/extension-updates.ts +93 -3
  462. package/src/schemas/git/git.ts +15 -4
  463. package/src/schemas/history.ts +2 -0
  464. package/src/schemas/hosts.ts +23 -1
  465. package/src/schemas/loopback-catch.ts +6 -1
  466. package/src/schemas/maintenance.ts +9 -0
  467. package/src/schemas/members.ts +33 -0
  468. package/src/schemas/metrics.ts +21 -3
  469. package/src/schemas/needs.ts +36 -3
  470. package/src/schemas/offload.ts +1 -1
  471. package/src/schemas/peer-enrollment.ts +14 -0
  472. package/src/schemas/phone.ts +121 -0
  473. package/src/schemas/privacy.ts +36 -7
  474. package/src/schemas/project-delivery.ts +78 -0
  475. package/src/schemas/providers/plan-limits.ts +27 -3
  476. package/src/schemas/providers/usage.ts +3 -3
  477. package/src/schemas/push.ts +1 -0
  478. package/src/schemas/secrets.ts +54 -3
  479. package/src/schemas/settings-history.ts +2 -0
  480. package/src/schemas/settings.ts +20 -22
  481. package/src/schemas/terminal.ts +50 -0
  482. package/src/schemas/updates.test.ts +47 -0
  483. package/src/schemas/updates.ts +4 -0
  484. package/src/schemas/workspace/workspace-search.ts +2 -0
  485. package/src/schemas/workspace/workspace-tree.ts +40 -12
  486. package/src/state/arrival.ts +40 -0
  487. package/src/state/contract-lock.test.ts +1 -1
  488. package/src/state/contract-lock.ts +5 -5
  489. package/src/state/history-state.ts +72 -1
  490. package/src/state/runtime-state.ts +4 -0
  491. package/src/state/workspace-state.ts +65 -20
  492. package/src/text/embed.test.ts +21 -1
  493. package/src/text/embed.ts +50 -3
  494. package/src/text/pages.test.ts +161 -0
  495. package/src/text/pages.ts +344 -0
  496. package/src/text/transcript-fold.test.ts +22 -0
  497. package/src/text/transcript-fold.ts +41 -2
  498. package/src/webext/index.ts +3 -2
  499. package/dist/front/browser-wire.d.ts.map +0 -1
  500. package/dist/front/browser-wire.js.map +0 -1
  501. package/dist/front/front-wire.d.ts +0 -6
  502. package/dist/front/front-wire.d.ts.map +0 -1
  503. package/dist/front/front-wire.js +0 -5
  504. package/dist/front/front-wire.js.map +0 -1
  505. package/dist/front/generated/browser-wire.d.ts.map +0 -1
  506. package/dist/front/generated/browser-wire.js.map +0 -1
  507. package/dist/front/generated/wire.d.ts.map +0 -1
  508. package/dist/protocol/host-protocol.d.ts.map +0 -1
  509. package/dist/protocol/host-protocol.js.map +0 -1
  510. package/dist/protocol/listener-protocol.d.ts.map +0 -1
  511. package/dist/protocol/listener-protocol.js +0 -33
  512. package/dist/protocol/listener-protocol.js.map +0 -1
  513. package/dist/protocol/raw-routes.d.ts.map +0 -1
  514. package/dist/protocol/raw-routes.js.map +0 -1
  515. package/dist/protocol/request-id.d.ts +0 -2
  516. package/dist/protocol/request-id.d.ts.map +0 -1
  517. package/dist/protocol/request-id.js +0 -2
  518. package/dist/protocol/request-id.js.map +0 -1
  519. package/dist/protocol/runner-protocol.d.ts.map +0 -1
  520. package/dist/protocol/runner-protocol.js.map +0 -1
  521. package/dist/protocol/webext-links.d.ts.map +0 -1
  522. package/dist/protocol/webext-links.js.map +0 -1
  523. package/dist/protocol/webext-protocol.d.ts.map +0 -1
  524. package/dist/protocol/webext-protocol.js.map +0 -1
  525. package/src/front/front-wire.ts +0 -15
  526. package/src/protocol/request-id.ts +0 -2
  527. /package/dist/{front → netd}/browser-wire.d.ts +0 -0
  528. /package/dist/{front → netd}/browser-wire.js +0 -0
  529. /package/dist/{front → netd}/generated/browser-wire.js +0 -0
  530. /package/dist/{front → netd}/generated/wire.js +0 -0
  531. /package/dist/protocol/{host-protocol.d.ts → doors/host-protocol.d.ts} +0 -0
  532. /package/dist/protocol/{host-protocol.js → doors/host-protocol.js} +0 -0
  533. /package/dist/protocol/{runner-protocol.d.ts → doors/runner-protocol.d.ts} +0 -0
  534. /package/dist/protocol/{webext-protocol.d.ts → doors/webext-protocol.d.ts} +0 -0
  535. /package/dist/protocol/{webext-protocol.js → doors/webext-protocol.js} +0 -0
  536. /package/src/protocol/{host-protocol.ts → doors/host-protocol.ts} +0 -0
  537. /package/src/protocol/{webext-protocol.ts → doors/webext-protocol.ts} +0 -0
@@ -334,6 +334,121 @@ export declare const agentContract: {
334
334
  tool: string;
335
335
  steps: string;
336
336
  approvedHash?: string | undefined;
337
+ } | {
338
+ kind: "automation";
339
+ automation: {
340
+ id: string;
341
+ trigger: {
342
+ kind: "schedule";
343
+ cron: string;
344
+ tz?: string | undefined;
345
+ afterSessions?: number | undefined;
346
+ } | {
347
+ kind: "once";
348
+ at: number;
349
+ } | {
350
+ kind: "event";
351
+ dailyMax?: number | undefined;
352
+ } | {
353
+ kind: "listener";
354
+ provider: string;
355
+ channelId?: string | undefined;
356
+ eventType?: string | undefined;
357
+ mentioned?: boolean | undefined;
358
+ branch?: string | undefined;
359
+ allowedOrigins?: string[] | undefined;
360
+ } | {
361
+ kind: "workspace";
362
+ event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
363
+ repo?: string | undefined;
364
+ };
365
+ guard?: string | undefined;
366
+ source?: {
367
+ kind: "npm";
368
+ package: string;
369
+ range?: string | undefined;
370
+ tag?: string | undefined;
371
+ } | {
372
+ kind: "github-release";
373
+ repo: string;
374
+ prereleases?: boolean | undefined;
375
+ } | {
376
+ kind: "url";
377
+ url: string;
378
+ select?: string | undefined;
379
+ } | undefined;
380
+ fireOn?: "change" | "pass" | undefined;
381
+ until?: "first-fire" | undefined;
382
+ expiresAt?: number | undefined;
383
+ target?: {
384
+ kind: "agent";
385
+ } | {
386
+ kind: "conversation";
387
+ conversationId: string;
388
+ } | {
389
+ kind: "notify";
390
+ } | undefined;
391
+ note?: string | undefined;
392
+ prompt: string;
393
+ webchat?: {
394
+ access?: "google" | "public" | undefined;
395
+ requireName?: boolean | undefined;
396
+ antiBot?: "pow" | "turnstile" | undefined;
397
+ turnstileSiteKey?: string | undefined;
398
+ turnstileSecret?: string | undefined;
399
+ googleClientId?: string | undefined;
400
+ title?: string | undefined;
401
+ greeting?: string | undefined;
402
+ accent?: string | undefined;
403
+ position?: "bottom-left" | "bottom-right" | "top-left" | "top-right" | undefined;
404
+ dailyMessageMax?: number | undefined;
405
+ conversationMessageMax?: number | undefined;
406
+ sessionTtlMinutes?: number | undefined;
407
+ } | undefined;
408
+ issues?: {
409
+ keyFromBrowsers?: boolean | undefined;
410
+ dailyReportMax?: number | undefined;
411
+ escalateAfter?: number | undefined;
412
+ antiBot?: "pow" | undefined;
413
+ title?: string | undefined;
414
+ prompt?: string | undefined;
415
+ thanks?: string | undefined;
416
+ askEmail?: boolean | undefined;
417
+ accent?: string | undefined;
418
+ captureCrashes?: boolean | undefined;
419
+ } | undefined;
420
+ allowedTools?: string[] | undefined;
421
+ models?: {
422
+ provider: string;
423
+ model: string;
424
+ effort?: string | undefined;
425
+ thinking?: boolean | undefined;
426
+ fast?: boolean | undefined;
427
+ harness?: "claude-code" | "native" | undefined;
428
+ }[] | undefined;
429
+ account?: string | undefined;
430
+ actsAs?: string | undefined;
431
+ senders?: {
432
+ rules: {
433
+ label?: string | undefined;
434
+ ids?: string[] | undefined;
435
+ groups?: string[] | undefined;
436
+ actsAs?: string | undefined;
437
+ requireApproval?: boolean | undefined;
438
+ }[];
439
+ others: "allow" | "hold" | "ignore";
440
+ } | undefined;
441
+ requireApproval?: boolean | undefined;
442
+ holdForSeconds?: number | undefined;
443
+ chore?: boolean | undefined;
444
+ enabled: boolean;
445
+ };
446
+ replaces?: boolean | undefined;
447
+ firstCheck?: {
448
+ pass: boolean;
449
+ saw: string;
450
+ at: number;
451
+ } | undefined;
337
452
  };
338
453
  title: string;
339
454
  why?: string | undefined;
@@ -364,12 +479,45 @@ export declare const agentContract: {
364
479
  command: string;
365
480
  startedAt: number;
366
481
  } | undefined;
482
+ page?: {
483
+ id: string;
484
+ title: string;
485
+ path: string;
486
+ height?: number | undefined;
487
+ measured?: number | undefined;
488
+ source?: string | undefined;
489
+ revision?: number | undefined;
490
+ superseded?: boolean | undefined;
491
+ app?: {
492
+ server: string;
493
+ tool: string;
494
+ } | undefined;
495
+ } | undefined;
496
+ pageAsk?: {
497
+ requestId: string;
498
+ page: {
499
+ id: string;
500
+ title: string;
501
+ path: string;
502
+ height?: number | undefined;
503
+ measured?: number | undefined;
504
+ source?: string | undefined;
505
+ revision?: number | undefined;
506
+ superseded?: boolean | undefined;
507
+ app?: {
508
+ server: string;
509
+ tool: string;
510
+ } | undefined;
511
+ };
512
+ status: "answered" | "cancelled" | "pending";
513
+ value?: string | undefined;
514
+ } | undefined;
367
515
  credentialOffer?: {
368
516
  requestId: string;
369
517
  offer: {
370
518
  subject: string;
371
519
  kind: "capability" | "secret";
372
- lane: "browser" | "code" | "otp" | "session" | "shell";
520
+ lane: "browser" | "code" | "gateway" | "otp" | "session" | "shell" | "ssh";
373
521
  detail?: string | undefined;
374
522
  why?: string | undefined;
375
523
  approvers: string[];
@@ -613,6 +761,121 @@ export declare const agentContract: {
613
761
  tool: string;
614
762
  steps: string;
615
763
  approvedHash?: string | undefined;
764
+ } | {
765
+ kind: "automation";
766
+ automation: {
767
+ id: string;
768
+ trigger: {
769
+ kind: "schedule";
770
+ cron: string;
771
+ tz?: string | undefined;
772
+ afterSessions?: number | undefined;
773
+ } | {
774
+ kind: "once";
775
+ at: number;
776
+ } | {
777
+ kind: "event";
778
+ dailyMax?: number | undefined;
779
+ } | {
780
+ kind: "listener";
781
+ provider: string;
782
+ channelId?: string | undefined;
783
+ eventType?: string | undefined;
784
+ mentioned?: boolean | undefined;
785
+ branch?: string | undefined;
786
+ allowedOrigins?: string[] | undefined;
787
+ } | {
788
+ kind: "workspace";
789
+ event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
790
+ repo?: string | undefined;
791
+ };
792
+ guard?: string | undefined;
793
+ source?: {
794
+ kind: "npm";
795
+ package: string;
796
+ range?: string | undefined;
797
+ tag?: string | undefined;
798
+ } | {
799
+ kind: "github-release";
800
+ repo: string;
801
+ prereleases?: boolean | undefined;
802
+ } | {
803
+ kind: "url";
804
+ url: string;
805
+ select?: string | undefined;
806
+ } | undefined;
807
+ fireOn?: "change" | "pass" | undefined;
808
+ until?: "first-fire" | undefined;
809
+ expiresAt?: number | undefined;
810
+ target?: {
811
+ kind: "agent";
812
+ } | {
813
+ kind: "conversation";
814
+ conversationId: string;
815
+ } | {
816
+ kind: "notify";
817
+ } | undefined;
818
+ note?: string | undefined;
819
+ prompt: string;
820
+ webchat?: {
821
+ access?: "google" | "public" | undefined;
822
+ requireName?: boolean | undefined;
823
+ antiBot?: "pow" | "turnstile" | undefined;
824
+ turnstileSiteKey?: string | undefined;
825
+ turnstileSecret?: string | undefined;
826
+ googleClientId?: string | undefined;
827
+ title?: string | undefined;
828
+ greeting?: string | undefined;
829
+ accent?: string | undefined;
830
+ position?: "bottom-left" | "bottom-right" | "top-left" | "top-right" | undefined;
831
+ dailyMessageMax?: number | undefined;
832
+ conversationMessageMax?: number | undefined;
833
+ sessionTtlMinutes?: number | undefined;
834
+ } | undefined;
835
+ issues?: {
836
+ keyFromBrowsers?: boolean | undefined;
837
+ dailyReportMax?: number | undefined;
838
+ escalateAfter?: number | undefined;
839
+ antiBot?: "pow" | undefined;
840
+ title?: string | undefined;
841
+ prompt?: string | undefined;
842
+ thanks?: string | undefined;
843
+ askEmail?: boolean | undefined;
844
+ accent?: string | undefined;
845
+ captureCrashes?: boolean | undefined;
846
+ } | undefined;
847
+ allowedTools?: string[] | undefined;
848
+ models?: {
849
+ provider: string;
850
+ model: string;
851
+ effort?: string | undefined;
852
+ thinking?: boolean | undefined;
853
+ fast?: boolean | undefined;
854
+ harness?: "claude-code" | "native" | undefined;
855
+ }[] | undefined;
856
+ account?: string | undefined;
857
+ actsAs?: string | undefined;
858
+ senders?: {
859
+ rules: {
860
+ label?: string | undefined;
861
+ ids?: string[] | undefined;
862
+ groups?: string[] | undefined;
863
+ actsAs?: string | undefined;
864
+ requireApproval?: boolean | undefined;
865
+ }[];
866
+ others: "allow" | "hold" | "ignore";
867
+ } | undefined;
868
+ requireApproval?: boolean | undefined;
869
+ holdForSeconds?: number | undefined;
870
+ chore?: boolean | undefined;
871
+ enabled: boolean;
872
+ };
873
+ replaces?: boolean | undefined;
874
+ firstCheck?: {
875
+ pass: boolean;
876
+ saw: string;
877
+ at: number;
878
+ } | undefined;
616
879
  };
617
880
  title: string;
618
881
  why?: string | undefined;
@@ -643,12 +906,45 @@ export declare const agentContract: {
643
906
  command: string;
644
907
  startedAt: number;
645
908
  } | undefined;
909
+ page?: {
910
+ id: string;
911
+ title: string;
912
+ path: string;
913
+ height?: number | undefined;
914
+ measured?: number | undefined;
915
+ source?: string | undefined;
916
+ revision?: number | undefined;
917
+ superseded?: boolean | undefined;
918
+ app?: {
919
+ server: string;
920
+ tool: string;
921
+ } | undefined;
922
+ } | undefined;
923
+ pageAsk?: {
924
+ requestId: string;
925
+ page: {
926
+ id: string;
927
+ title: string;
928
+ path: string;
929
+ height?: number | undefined;
930
+ measured?: number | undefined;
931
+ source?: string | undefined;
932
+ revision?: number | undefined;
933
+ superseded?: boolean | undefined;
934
+ app?: {
935
+ server: string;
936
+ tool: string;
937
+ } | undefined;
938
+ };
939
+ status: "answered" | "cancelled" | "pending";
940
+ value?: string | undefined;
941
+ } | undefined;
646
942
  credentialOffer?: {
647
943
  requestId: string;
648
944
  offer: {
649
945
  subject: string;
650
946
  kind: "capability" | "secret";
651
- lane: "browser" | "code" | "otp" | "session" | "shell";
947
+ lane: "browser" | "code" | "gateway" | "otp" | "session" | "shell" | "ssh";
652
948
  detail?: string | undefined;
653
949
  why?: string | undefined;
654
950
  approvers: string[];
@@ -890,6 +1186,121 @@ export declare const agentContract: {
890
1186
  tool: string;
891
1187
  steps: string;
892
1188
  approvedHash?: string | undefined;
1189
+ } | {
1190
+ kind: "automation";
1191
+ automation: {
1192
+ id: string;
1193
+ trigger: {
1194
+ kind: "schedule";
1195
+ cron: string;
1196
+ tz?: string | undefined;
1197
+ afterSessions?: number | undefined;
1198
+ } | {
1199
+ kind: "once";
1200
+ at: number;
1201
+ } | {
1202
+ kind: "event";
1203
+ dailyMax?: number | undefined;
1204
+ } | {
1205
+ kind: "listener";
1206
+ provider: string;
1207
+ channelId?: string | undefined;
1208
+ eventType?: string | undefined;
1209
+ mentioned?: boolean | undefined;
1210
+ branch?: string | undefined;
1211
+ allowedOrigins?: string[] | undefined;
1212
+ } | {
1213
+ kind: "workspace";
1214
+ event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
1215
+ repo?: string | undefined;
1216
+ };
1217
+ guard?: string | undefined;
1218
+ source?: {
1219
+ kind: "npm";
1220
+ package: string;
1221
+ range?: string | undefined;
1222
+ tag?: string | undefined;
1223
+ } | {
1224
+ kind: "github-release";
1225
+ repo: string;
1226
+ prereleases?: boolean | undefined;
1227
+ } | {
1228
+ kind: "url";
1229
+ url: string;
1230
+ select?: string | undefined;
1231
+ } | undefined;
1232
+ fireOn?: "change" | "pass" | undefined;
1233
+ until?: "first-fire" | undefined;
1234
+ expiresAt?: number | undefined;
1235
+ target?: {
1236
+ kind: "agent";
1237
+ } | {
1238
+ kind: "conversation";
1239
+ conversationId: string;
1240
+ } | {
1241
+ kind: "notify";
1242
+ } | undefined;
1243
+ note?: string | undefined;
1244
+ prompt: string;
1245
+ webchat?: {
1246
+ access?: "google" | "public" | undefined;
1247
+ requireName?: boolean | undefined;
1248
+ antiBot?: "pow" | "turnstile" | undefined;
1249
+ turnstileSiteKey?: string | undefined;
1250
+ turnstileSecret?: string | undefined;
1251
+ googleClientId?: string | undefined;
1252
+ title?: string | undefined;
1253
+ greeting?: string | undefined;
1254
+ accent?: string | undefined;
1255
+ position?: "bottom-left" | "bottom-right" | "top-left" | "top-right" | undefined;
1256
+ dailyMessageMax?: number | undefined;
1257
+ conversationMessageMax?: number | undefined;
1258
+ sessionTtlMinutes?: number | undefined;
1259
+ } | undefined;
1260
+ issues?: {
1261
+ keyFromBrowsers?: boolean | undefined;
1262
+ dailyReportMax?: number | undefined;
1263
+ escalateAfter?: number | undefined;
1264
+ antiBot?: "pow" | undefined;
1265
+ title?: string | undefined;
1266
+ prompt?: string | undefined;
1267
+ thanks?: string | undefined;
1268
+ askEmail?: boolean | undefined;
1269
+ accent?: string | undefined;
1270
+ captureCrashes?: boolean | undefined;
1271
+ } | undefined;
1272
+ allowedTools?: string[] | undefined;
1273
+ models?: {
1274
+ provider: string;
1275
+ model: string;
1276
+ effort?: string | undefined;
1277
+ thinking?: boolean | undefined;
1278
+ fast?: boolean | undefined;
1279
+ harness?: "claude-code" | "native" | undefined;
1280
+ }[] | undefined;
1281
+ account?: string | undefined;
1282
+ actsAs?: string | undefined;
1283
+ senders?: {
1284
+ rules: {
1285
+ label?: string | undefined;
1286
+ ids?: string[] | undefined;
1287
+ groups?: string[] | undefined;
1288
+ actsAs?: string | undefined;
1289
+ requireApproval?: boolean | undefined;
1290
+ }[];
1291
+ others: "allow" | "hold" | "ignore";
1292
+ } | undefined;
1293
+ requireApproval?: boolean | undefined;
1294
+ holdForSeconds?: number | undefined;
1295
+ chore?: boolean | undefined;
1296
+ enabled: boolean;
1297
+ };
1298
+ replaces?: boolean | undefined;
1299
+ firstCheck?: {
1300
+ pass: boolean;
1301
+ saw: string;
1302
+ at: number;
1303
+ } | undefined;
893
1304
  };
894
1305
  title: string;
895
1306
  why?: string | undefined;
@@ -920,12 +1331,45 @@ export declare const agentContract: {
920
1331
  command: string;
921
1332
  startedAt: number;
922
1333
  } | undefined;
1334
+ page?: {
1335
+ id: string;
1336
+ title: string;
1337
+ path: string;
1338
+ height?: number | undefined;
1339
+ measured?: number | undefined;
1340
+ source?: string | undefined;
1341
+ revision?: number | undefined;
1342
+ superseded?: boolean | undefined;
1343
+ app?: {
1344
+ server: string;
1345
+ tool: string;
1346
+ } | undefined;
1347
+ } | undefined;
1348
+ pageAsk?: {
1349
+ requestId: string;
1350
+ page: {
1351
+ id: string;
1352
+ title: string;
1353
+ path: string;
1354
+ height?: number | undefined;
1355
+ measured?: number | undefined;
1356
+ source?: string | undefined;
1357
+ revision?: number | undefined;
1358
+ superseded?: boolean | undefined;
1359
+ app?: {
1360
+ server: string;
1361
+ tool: string;
1362
+ } | undefined;
1363
+ };
1364
+ status: "answered" | "cancelled" | "pending";
1365
+ value?: string | undefined;
1366
+ } | undefined;
923
1367
  credentialOffer?: {
924
1368
  requestId: string;
925
1369
  offer: {
926
1370
  subject: string;
927
1371
  kind: "capability" | "secret";
928
- lane: "browser" | "code" | "otp" | "session" | "shell";
1372
+ lane: "browser" | "code" | "gateway" | "otp" | "session" | "shell" | "ssh";
929
1373
  detail?: string | undefined;
930
1374
  why?: string | undefined;
931
1375
  approvers: string[];
@@ -1197,6 +1641,123 @@ export declare const agentContract: {
1197
1641
  tool: string;
1198
1642
  steps: string;
1199
1643
  approvedHash?: string | undefined;
1644
+ } | {
1645
+ kind: "automation";
1646
+ automation: {
1647
+ id: string;
1648
+ trigger: {
1649
+ kind: "schedule";
1650
+ cron: string;
1651
+ tz?: (string & {
1652
+ readonly __brand: "Zone";
1653
+ }) | undefined;
1654
+ afterSessions?: number | undefined;
1655
+ } | {
1656
+ kind: "once";
1657
+ at: number;
1658
+ } | {
1659
+ kind: "event";
1660
+ dailyMax?: number | undefined;
1661
+ } | {
1662
+ kind: "listener";
1663
+ provider: string;
1664
+ channelId?: string | undefined;
1665
+ eventType?: string | undefined;
1666
+ mentioned?: boolean | undefined;
1667
+ branch?: string | undefined;
1668
+ allowedOrigins?: string[] | undefined;
1669
+ } | {
1670
+ kind: "workspace";
1671
+ event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
1672
+ repo?: string | undefined;
1673
+ };
1674
+ guard?: string | undefined;
1675
+ source?: {
1676
+ kind: "npm";
1677
+ package: string;
1678
+ range?: string | undefined;
1679
+ tag?: string | undefined;
1680
+ } | {
1681
+ kind: "github-release";
1682
+ repo: string;
1683
+ prereleases?: boolean | undefined;
1684
+ } | {
1685
+ kind: "url";
1686
+ url: string;
1687
+ select?: string | undefined;
1688
+ } | undefined;
1689
+ fireOn?: "change" | "pass" | undefined;
1690
+ until?: "first-fire" | undefined;
1691
+ expiresAt?: number | undefined;
1692
+ target?: {
1693
+ kind: "agent";
1694
+ } | {
1695
+ kind: "conversation";
1696
+ conversationId: string;
1697
+ } | {
1698
+ kind: "notify";
1699
+ } | undefined;
1700
+ note?: string | undefined;
1701
+ prompt: string;
1702
+ webchat?: {
1703
+ access?: "google" | "public" | undefined;
1704
+ requireName?: boolean | undefined;
1705
+ antiBot?: "pow" | "turnstile" | undefined;
1706
+ turnstileSiteKey?: string | undefined;
1707
+ turnstileSecret?: string | undefined;
1708
+ googleClientId?: string | undefined;
1709
+ title?: string | undefined;
1710
+ greeting?: string | undefined;
1711
+ accent?: string | undefined;
1712
+ position?: "bottom-left" | "bottom-right" | "top-left" | "top-right" | undefined;
1713
+ dailyMessageMax?: number | undefined;
1714
+ conversationMessageMax?: number | undefined;
1715
+ sessionTtlMinutes?: number | undefined;
1716
+ } | undefined;
1717
+ issues?: {
1718
+ keyFromBrowsers?: boolean | undefined;
1719
+ dailyReportMax?: number | undefined;
1720
+ escalateAfter?: number | undefined;
1721
+ antiBot?: "pow" | undefined;
1722
+ title?: string | undefined;
1723
+ prompt?: string | undefined;
1724
+ thanks?: string | undefined;
1725
+ askEmail?: boolean | undefined;
1726
+ accent?: string | undefined;
1727
+ captureCrashes?: boolean | undefined;
1728
+ } | undefined;
1729
+ allowedTools?: string[] | undefined;
1730
+ models?: {
1731
+ provider: string;
1732
+ model: string;
1733
+ effort?: string | undefined;
1734
+ thinking?: boolean | undefined;
1735
+ fast?: boolean | undefined;
1736
+ harness?: "claude-code" | "native" | undefined;
1737
+ }[] | undefined;
1738
+ account?: string | undefined;
1739
+ actsAs?: string | undefined;
1740
+ senders?: {
1741
+ rules: {
1742
+ label?: string | undefined;
1743
+ ids?: string[] | undefined;
1744
+ groups?: string[] | undefined;
1745
+ actsAs?: string | undefined;
1746
+ requireApproval?: boolean | undefined;
1747
+ }[];
1748
+ others: "allow" | "hold" | "ignore";
1749
+ } | undefined;
1750
+ requireApproval?: boolean | undefined;
1751
+ holdForSeconds?: number | undefined;
1752
+ chore?: boolean | undefined;
1753
+ enabled: boolean;
1754
+ };
1755
+ replaces?: boolean | undefined;
1756
+ firstCheck?: {
1757
+ pass: boolean;
1758
+ saw: string;
1759
+ at: number;
1760
+ } | undefined;
1200
1761
  };
1201
1762
  title: string;
1202
1763
  why?: string | undefined;
@@ -1227,12 +1788,45 @@ export declare const agentContract: {
1227
1788
  command: string;
1228
1789
  startedAt: number;
1229
1790
  } | undefined;
1791
+ page?: {
1792
+ id: string;
1793
+ title: string;
1794
+ path: string;
1795
+ height?: number | undefined;
1796
+ measured?: number | undefined;
1797
+ source?: string | undefined;
1798
+ revision?: number | undefined;
1799
+ superseded?: boolean | undefined;
1800
+ app?: {
1801
+ server: string;
1802
+ tool: string;
1803
+ } | undefined;
1804
+ } | undefined;
1805
+ pageAsk?: {
1806
+ requestId: string;
1807
+ page: {
1808
+ id: string;
1809
+ title: string;
1810
+ path: string;
1811
+ height?: number | undefined;
1812
+ measured?: number | undefined;
1813
+ source?: string | undefined;
1814
+ revision?: number | undefined;
1815
+ superseded?: boolean | undefined;
1816
+ app?: {
1817
+ server: string;
1818
+ tool: string;
1819
+ } | undefined;
1820
+ };
1821
+ status: "answered" | "cancelled" | "pending";
1822
+ value?: string | undefined;
1823
+ } | undefined;
1230
1824
  credentialOffer?: {
1231
1825
  requestId: string;
1232
1826
  offer: {
1233
1827
  subject: string;
1234
1828
  kind: "capability" | "secret";
1235
- lane: "browser" | "code" | "otp" | "session" | "shell";
1829
+ lane: "browser" | "code" | "gateway" | "otp" | "session" | "shell" | "ssh";
1236
1830
  detail?: string | undefined;
1237
1831
  why?: string | undefined;
1238
1832
  approvers: string[];
@@ -1476,6 +2070,123 @@ export declare const agentContract: {
1476
2070
  tool: string;
1477
2071
  steps: string;
1478
2072
  approvedHash?: string | undefined;
2073
+ } | {
2074
+ kind: "automation";
2075
+ automation: {
2076
+ id: string;
2077
+ trigger: {
2078
+ kind: "schedule";
2079
+ cron: string;
2080
+ tz?: (string & {
2081
+ readonly __brand: "Zone";
2082
+ }) | undefined;
2083
+ afterSessions?: number | undefined;
2084
+ } | {
2085
+ kind: "once";
2086
+ at: number;
2087
+ } | {
2088
+ kind: "event";
2089
+ dailyMax?: number | undefined;
2090
+ } | {
2091
+ kind: "listener";
2092
+ provider: string;
2093
+ channelId?: string | undefined;
2094
+ eventType?: string | undefined;
2095
+ mentioned?: boolean | undefined;
2096
+ branch?: string | undefined;
2097
+ allowedOrigins?: string[] | undefined;
2098
+ } | {
2099
+ kind: "workspace";
2100
+ event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
2101
+ repo?: string | undefined;
2102
+ };
2103
+ guard?: string | undefined;
2104
+ source?: {
2105
+ kind: "npm";
2106
+ package: string;
2107
+ range?: string | undefined;
2108
+ tag?: string | undefined;
2109
+ } | {
2110
+ kind: "github-release";
2111
+ repo: string;
2112
+ prereleases?: boolean | undefined;
2113
+ } | {
2114
+ kind: "url";
2115
+ url: string;
2116
+ select?: string | undefined;
2117
+ } | undefined;
2118
+ fireOn?: "change" | "pass" | undefined;
2119
+ until?: "first-fire" | undefined;
2120
+ expiresAt?: number | undefined;
2121
+ target?: {
2122
+ kind: "agent";
2123
+ } | {
2124
+ kind: "conversation";
2125
+ conversationId: string;
2126
+ } | {
2127
+ kind: "notify";
2128
+ } | undefined;
2129
+ note?: string | undefined;
2130
+ prompt: string;
2131
+ webchat?: {
2132
+ access?: "google" | "public" | undefined;
2133
+ requireName?: boolean | undefined;
2134
+ antiBot?: "pow" | "turnstile" | undefined;
2135
+ turnstileSiteKey?: string | undefined;
2136
+ turnstileSecret?: string | undefined;
2137
+ googleClientId?: string | undefined;
2138
+ title?: string | undefined;
2139
+ greeting?: string | undefined;
2140
+ accent?: string | undefined;
2141
+ position?: "bottom-left" | "bottom-right" | "top-left" | "top-right" | undefined;
2142
+ dailyMessageMax?: number | undefined;
2143
+ conversationMessageMax?: number | undefined;
2144
+ sessionTtlMinutes?: number | undefined;
2145
+ } | undefined;
2146
+ issues?: {
2147
+ keyFromBrowsers?: boolean | undefined;
2148
+ dailyReportMax?: number | undefined;
2149
+ escalateAfter?: number | undefined;
2150
+ antiBot?: "pow" | undefined;
2151
+ title?: string | undefined;
2152
+ prompt?: string | undefined;
2153
+ thanks?: string | undefined;
2154
+ askEmail?: boolean | undefined;
2155
+ accent?: string | undefined;
2156
+ captureCrashes?: boolean | undefined;
2157
+ } | undefined;
2158
+ allowedTools?: string[] | undefined;
2159
+ models?: {
2160
+ provider: string;
2161
+ model: string;
2162
+ effort?: string | undefined;
2163
+ thinking?: boolean | undefined;
2164
+ fast?: boolean | undefined;
2165
+ harness?: "claude-code" | "native" | undefined;
2166
+ }[] | undefined;
2167
+ account?: string | undefined;
2168
+ actsAs?: string | undefined;
2169
+ senders?: {
2170
+ rules: {
2171
+ label?: string | undefined;
2172
+ ids?: string[] | undefined;
2173
+ groups?: string[] | undefined;
2174
+ actsAs?: string | undefined;
2175
+ requireApproval?: boolean | undefined;
2176
+ }[];
2177
+ others: "allow" | "hold" | "ignore";
2178
+ } | undefined;
2179
+ requireApproval?: boolean | undefined;
2180
+ holdForSeconds?: number | undefined;
2181
+ chore?: boolean | undefined;
2182
+ enabled: boolean;
2183
+ };
2184
+ replaces?: boolean | undefined;
2185
+ firstCheck?: {
2186
+ pass: boolean;
2187
+ saw: string;
2188
+ at: number;
2189
+ } | undefined;
1479
2190
  };
1480
2191
  title: string;
1481
2192
  why?: string | undefined;
@@ -1506,12 +2217,45 @@ export declare const agentContract: {
1506
2217
  command: string;
1507
2218
  startedAt: number;
1508
2219
  } | undefined;
2220
+ page?: {
2221
+ id: string;
2222
+ title: string;
2223
+ path: string;
2224
+ height?: number | undefined;
2225
+ measured?: number | undefined;
2226
+ source?: string | undefined;
2227
+ revision?: number | undefined;
2228
+ superseded?: boolean | undefined;
2229
+ app?: {
2230
+ server: string;
2231
+ tool: string;
2232
+ } | undefined;
2233
+ } | undefined;
2234
+ pageAsk?: {
2235
+ requestId: string;
2236
+ page: {
2237
+ id: string;
2238
+ title: string;
2239
+ path: string;
2240
+ height?: number | undefined;
2241
+ measured?: number | undefined;
2242
+ source?: string | undefined;
2243
+ revision?: number | undefined;
2244
+ superseded?: boolean | undefined;
2245
+ app?: {
2246
+ server: string;
2247
+ tool: string;
2248
+ } | undefined;
2249
+ };
2250
+ status: "answered" | "cancelled" | "pending";
2251
+ value?: string | undefined;
2252
+ } | undefined;
1509
2253
  credentialOffer?: {
1510
2254
  requestId: string;
1511
2255
  offer: {
1512
2256
  subject: string;
1513
2257
  kind: "capability" | "secret";
1514
- lane: "browser" | "code" | "otp" | "session" | "shell";
2258
+ lane: "browser" | "code" | "gateway" | "otp" | "session" | "shell" | "ssh";
1515
2259
  detail?: string | undefined;
1516
2260
  why?: string | undefined;
1517
2261
  approvers: string[];
@@ -1753,6 +2497,123 @@ export declare const agentContract: {
1753
2497
  tool: string;
1754
2498
  steps: string;
1755
2499
  approvedHash?: string | undefined;
2500
+ } | {
2501
+ kind: "automation";
2502
+ automation: {
2503
+ id: string;
2504
+ trigger: {
2505
+ kind: "schedule";
2506
+ cron: string;
2507
+ tz?: (string & {
2508
+ readonly __brand: "Zone";
2509
+ }) | undefined;
2510
+ afterSessions?: number | undefined;
2511
+ } | {
2512
+ kind: "once";
2513
+ at: number;
2514
+ } | {
2515
+ kind: "event";
2516
+ dailyMax?: number | undefined;
2517
+ } | {
2518
+ kind: "listener";
2519
+ provider: string;
2520
+ channelId?: string | undefined;
2521
+ eventType?: string | undefined;
2522
+ mentioned?: boolean | undefined;
2523
+ branch?: string | undefined;
2524
+ allowedOrigins?: string[] | undefined;
2525
+ } | {
2526
+ kind: "workspace";
2527
+ event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
2528
+ repo?: string | undefined;
2529
+ };
2530
+ guard?: string | undefined;
2531
+ source?: {
2532
+ kind: "npm";
2533
+ package: string;
2534
+ range?: string | undefined;
2535
+ tag?: string | undefined;
2536
+ } | {
2537
+ kind: "github-release";
2538
+ repo: string;
2539
+ prereleases?: boolean | undefined;
2540
+ } | {
2541
+ kind: "url";
2542
+ url: string;
2543
+ select?: string | undefined;
2544
+ } | undefined;
2545
+ fireOn?: "change" | "pass" | undefined;
2546
+ until?: "first-fire" | undefined;
2547
+ expiresAt?: number | undefined;
2548
+ target?: {
2549
+ kind: "agent";
2550
+ } | {
2551
+ kind: "conversation";
2552
+ conversationId: string;
2553
+ } | {
2554
+ kind: "notify";
2555
+ } | undefined;
2556
+ note?: string | undefined;
2557
+ prompt: string;
2558
+ webchat?: {
2559
+ access?: "google" | "public" | undefined;
2560
+ requireName?: boolean | undefined;
2561
+ antiBot?: "pow" | "turnstile" | undefined;
2562
+ turnstileSiteKey?: string | undefined;
2563
+ turnstileSecret?: string | undefined;
2564
+ googleClientId?: string | undefined;
2565
+ title?: string | undefined;
2566
+ greeting?: string | undefined;
2567
+ accent?: string | undefined;
2568
+ position?: "bottom-left" | "bottom-right" | "top-left" | "top-right" | undefined;
2569
+ dailyMessageMax?: number | undefined;
2570
+ conversationMessageMax?: number | undefined;
2571
+ sessionTtlMinutes?: number | undefined;
2572
+ } | undefined;
2573
+ issues?: {
2574
+ keyFromBrowsers?: boolean | undefined;
2575
+ dailyReportMax?: number | undefined;
2576
+ escalateAfter?: number | undefined;
2577
+ antiBot?: "pow" | undefined;
2578
+ title?: string | undefined;
2579
+ prompt?: string | undefined;
2580
+ thanks?: string | undefined;
2581
+ askEmail?: boolean | undefined;
2582
+ accent?: string | undefined;
2583
+ captureCrashes?: boolean | undefined;
2584
+ } | undefined;
2585
+ allowedTools?: string[] | undefined;
2586
+ models?: {
2587
+ provider: string;
2588
+ model: string;
2589
+ effort?: string | undefined;
2590
+ thinking?: boolean | undefined;
2591
+ fast?: boolean | undefined;
2592
+ harness?: "claude-code" | "native" | undefined;
2593
+ }[] | undefined;
2594
+ account?: string | undefined;
2595
+ actsAs?: string | undefined;
2596
+ senders?: {
2597
+ rules: {
2598
+ label?: string | undefined;
2599
+ ids?: string[] | undefined;
2600
+ groups?: string[] | undefined;
2601
+ actsAs?: string | undefined;
2602
+ requireApproval?: boolean | undefined;
2603
+ }[];
2604
+ others: "allow" | "hold" | "ignore";
2605
+ } | undefined;
2606
+ requireApproval?: boolean | undefined;
2607
+ holdForSeconds?: number | undefined;
2608
+ chore?: boolean | undefined;
2609
+ enabled: boolean;
2610
+ };
2611
+ replaces?: boolean | undefined;
2612
+ firstCheck?: {
2613
+ pass: boolean;
2614
+ saw: string;
2615
+ at: number;
2616
+ } | undefined;
1756
2617
  };
1757
2618
  title: string;
1758
2619
  why?: string | undefined;
@@ -1783,12 +2644,45 @@ export declare const agentContract: {
1783
2644
  command: string;
1784
2645
  startedAt: number;
1785
2646
  } | undefined;
2647
+ page?: {
2648
+ id: string;
2649
+ title: string;
2650
+ path: string;
2651
+ height?: number | undefined;
2652
+ measured?: number | undefined;
2653
+ source?: string | undefined;
2654
+ revision?: number | undefined;
2655
+ superseded?: boolean | undefined;
2656
+ app?: {
2657
+ server: string;
2658
+ tool: string;
2659
+ } | undefined;
2660
+ } | undefined;
2661
+ pageAsk?: {
2662
+ requestId: string;
2663
+ page: {
2664
+ id: string;
2665
+ title: string;
2666
+ path: string;
2667
+ height?: number | undefined;
2668
+ measured?: number | undefined;
2669
+ source?: string | undefined;
2670
+ revision?: number | undefined;
2671
+ superseded?: boolean | undefined;
2672
+ app?: {
2673
+ server: string;
2674
+ tool: string;
2675
+ } | undefined;
2676
+ };
2677
+ status: "answered" | "cancelled" | "pending";
2678
+ value?: string | undefined;
2679
+ } | undefined;
1786
2680
  credentialOffer?: {
1787
2681
  requestId: string;
1788
2682
  offer: {
1789
2683
  subject: string;
1790
2684
  kind: "capability" | "secret";
1791
- lane: "browser" | "code" | "otp" | "session" | "shell";
2685
+ lane: "browser" | "code" | "gateway" | "otp" | "session" | "shell" | "ssh";
1792
2686
  detail?: string | undefined;
1793
2687
  why?: string | undefined;
1794
2688
  approvers: string[];
@@ -2167,6 +3061,151 @@ export declare const agentContract: {
2167
3061
  tool: import("zod").ZodString;
2168
3062
  steps: import("zod").ZodString;
2169
3063
  approvedHash: import("zod").ZodOptional<import("zod").ZodString>;
3064
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3065
+ kind: import("zod").ZodLiteral<"automation">;
3066
+ automation: import("zod").ZodObject<{
3067
+ id: import("zod").ZodString;
3068
+ trigger: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3069
+ kind: import("zod").ZodLiteral<"schedule">;
3070
+ cron: import("zod").ZodString;
3071
+ tz: import("zod").ZodOptional<import("zod").ZodString & import("zod").ZodType<import("../index.js").Zone, string, import("zod/v4/core").$ZodTypeInternals<import("../index.js").Zone, string>>>;
3072
+ afterSessions: import("zod").ZodOptional<import("zod").ZodNumber>;
3073
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3074
+ kind: import("zod").ZodLiteral<"once">;
3075
+ at: import("zod").ZodNumber;
3076
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3077
+ kind: import("zod").ZodLiteral<"event">;
3078
+ dailyMax: import("zod").ZodOptional<import("zod").ZodNumber>;
3079
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3080
+ kind: import("zod").ZodLiteral<"listener">;
3081
+ provider: import("zod").ZodString;
3082
+ channelId: import("zod").ZodOptional<import("zod").ZodString>;
3083
+ eventType: import("zod").ZodOptional<import("zod").ZodString>;
3084
+ mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
3085
+ branch: import("zod").ZodOptional<import("zod").ZodString>;
3086
+ allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3087
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3088
+ kind: import("zod").ZodLiteral<"workspace">;
3089
+ event: import("zod").ZodEnum<{
3090
+ "agent.landed": "agent.landed";
3091
+ "deps.broken": "deps.broken";
3092
+ "deps.fixed": "deps.fixed";
3093
+ "turn.settled": "turn.settled";
3094
+ }>;
3095
+ repo: import("zod").ZodOptional<import("zod").ZodString>;
3096
+ }, import("zod/v4/core").$strip>], "kind">;
3097
+ guard: import("zod").ZodOptional<import("zod").ZodString>;
3098
+ source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3099
+ kind: import("zod").ZodLiteral<"npm">;
3100
+ package: import("zod").ZodString;
3101
+ range: import("zod").ZodOptional<import("zod").ZodString>;
3102
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
3103
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3104
+ kind: import("zod").ZodLiteral<"github-release">;
3105
+ repo: import("zod").ZodString;
3106
+ prereleases: import("zod").ZodOptional<import("zod").ZodBoolean>;
3107
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3108
+ kind: import("zod").ZodLiteral<"url">;
3109
+ url: import("zod").ZodString;
3110
+ select: import("zod").ZodOptional<import("zod").ZodString>;
3111
+ }, import("zod/v4/core").$strip>], "kind">>;
3112
+ fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
3113
+ change: "change";
3114
+ pass: "pass";
3115
+ }>>;
3116
+ until: import("zod").ZodOptional<import("zod").ZodEnum<{
3117
+ "first-fire": "first-fire";
3118
+ }>>;
3119
+ expiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
3120
+ target: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3121
+ kind: import("zod").ZodLiteral<"agent">;
3122
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3123
+ kind: import("zod").ZodLiteral<"conversation">;
3124
+ conversationId: import("zod").ZodString;
3125
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3126
+ kind: import("zod").ZodLiteral<"notify">;
3127
+ }, import("zod/v4/core").$strip>], "kind">>;
3128
+ note: import("zod").ZodOptional<import("zod").ZodString>;
3129
+ prompt: import("zod").ZodString;
3130
+ webchat: import("zod").ZodOptional<import("zod").ZodObject<{
3131
+ access: import("zod").ZodOptional<import("zod").ZodEnum<{
3132
+ google: "google";
3133
+ public: "public";
3134
+ }>>;
3135
+ requireName: import("zod").ZodOptional<import("zod").ZodBoolean>;
3136
+ antiBot: import("zod").ZodOptional<import("zod").ZodEnum<{
3137
+ pow: "pow";
3138
+ turnstile: "turnstile";
3139
+ }>>;
3140
+ turnstileSiteKey: import("zod").ZodOptional<import("zod").ZodString>;
3141
+ turnstileSecret: import("zod").ZodOptional<import("zod").ZodString>;
3142
+ googleClientId: import("zod").ZodOptional<import("zod").ZodString>;
3143
+ title: import("zod").ZodOptional<import("zod").ZodString>;
3144
+ greeting: import("zod").ZodOptional<import("zod").ZodString>;
3145
+ accent: import("zod").ZodOptional<import("zod").ZodString>;
3146
+ position: import("zod").ZodOptional<import("zod").ZodEnum<{
3147
+ "bottom-left": "bottom-left";
3148
+ "bottom-right": "bottom-right";
3149
+ "top-left": "top-left";
3150
+ "top-right": "top-right";
3151
+ }>>;
3152
+ dailyMessageMax: import("zod").ZodOptional<import("zod").ZodNumber>;
3153
+ conversationMessageMax: import("zod").ZodOptional<import("zod").ZodNumber>;
3154
+ sessionTtlMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
3155
+ }, import("zod/v4/core").$strip>>;
3156
+ issues: import("zod").ZodOptional<import("zod").ZodObject<{
3157
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
3158
+ dailyReportMax: import("zod").ZodOptional<import("zod").ZodNumber>;
3159
+ escalateAfter: import("zod").ZodOptional<import("zod").ZodNumber>;
3160
+ antiBot: import("zod").ZodOptional<import("zod").ZodEnum<{
3161
+ pow: "pow";
3162
+ }>>;
3163
+ title: import("zod").ZodOptional<import("zod").ZodString>;
3164
+ prompt: import("zod").ZodOptional<import("zod").ZodString>;
3165
+ thanks: import("zod").ZodOptional<import("zod").ZodString>;
3166
+ askEmail: import("zod").ZodOptional<import("zod").ZodBoolean>;
3167
+ accent: import("zod").ZodOptional<import("zod").ZodString>;
3168
+ captureCrashes: import("zod").ZodOptional<import("zod").ZodBoolean>;
3169
+ }, import("zod/v4/core").$strip>>;
3170
+ allowedTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3171
+ models: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3172
+ provider: import("zod").ZodString;
3173
+ model: import("zod").ZodString;
3174
+ effort: import("zod").ZodOptional<import("zod").ZodString>;
3175
+ thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
3176
+ fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
3177
+ harness: import("zod").ZodOptional<import("zod").ZodEnum<{
3178
+ "claude-code": "claude-code";
3179
+ native: "native";
3180
+ }>>;
3181
+ }, import("zod/v4/core").$strip>>>;
3182
+ account: import("zod").ZodOptional<import("zod").ZodString>;
3183
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
3184
+ senders: import("zod").ZodOptional<import("zod").ZodObject<{
3185
+ rules: import("zod").ZodArray<import("zod").ZodObject<{
3186
+ label: import("zod").ZodOptional<import("zod").ZodString>;
3187
+ ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3188
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3189
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
3190
+ requireApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
3191
+ }, import("zod/v4/core").$strip>>;
3192
+ others: import("zod").ZodEnum<{
3193
+ allow: "allow";
3194
+ hold: "hold";
3195
+ ignore: "ignore";
3196
+ }>;
3197
+ }, import("zod/v4/core").$strip>>;
3198
+ requireApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
3199
+ holdForSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3200
+ chore: import("zod").ZodOptional<import("zod").ZodBoolean>;
3201
+ enabled: import("zod").ZodBoolean;
3202
+ }, import("zod/v4/core").$strip>;
3203
+ replaces: import("zod").ZodOptional<import("zod").ZodBoolean>;
3204
+ firstCheck: import("zod").ZodOptional<import("zod").ZodObject<{
3205
+ pass: import("zod").ZodBoolean;
3206
+ saw: import("zod").ZodString;
3207
+ at: import("zod").ZodNumber;
3208
+ }, import("zod/v4/core").$strip>>;
2170
3209
  }, import("zod/v4/core").$strip>], "kind">;
2171
3210
  title: import("zod").ZodString;
2172
3211
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2213,6 +3252,43 @@ export declare const agentContract: {
2213
3252
  command: import("zod").ZodString;
2214
3253
  startedAt: import("zod").ZodNumber;
2215
3254
  }, import("zod/v4/core").$strip>>;
3255
+ page: import("zod").ZodOptional<import("zod").ZodObject<{
3256
+ id: import("zod").ZodString;
3257
+ title: import("zod").ZodString;
3258
+ path: import("zod").ZodString;
3259
+ height: import("zod").ZodOptional<import("zod").ZodNumber>;
3260
+ measured: import("zod").ZodOptional<import("zod").ZodNumber>;
3261
+ source: import("zod").ZodOptional<import("zod").ZodString>;
3262
+ revision: import("zod").ZodOptional<import("zod").ZodNumber>;
3263
+ superseded: import("zod").ZodOptional<import("zod").ZodBoolean>;
3264
+ app: import("zod").ZodOptional<import("zod").ZodObject<{
3265
+ server: import("zod").ZodString;
3266
+ tool: import("zod").ZodString;
3267
+ }, import("zod/v4/core").$strip>>;
3268
+ }, import("zod/v4/core").$strip>>;
3269
+ pageAsk: import("zod").ZodOptional<import("zod").ZodObject<{
3270
+ requestId: import("zod").ZodString;
3271
+ page: import("zod").ZodObject<{
3272
+ id: import("zod").ZodString;
3273
+ title: import("zod").ZodString;
3274
+ path: import("zod").ZodString;
3275
+ height: import("zod").ZodOptional<import("zod").ZodNumber>;
3276
+ measured: import("zod").ZodOptional<import("zod").ZodNumber>;
3277
+ source: import("zod").ZodOptional<import("zod").ZodString>;
3278
+ revision: import("zod").ZodOptional<import("zod").ZodNumber>;
3279
+ superseded: import("zod").ZodOptional<import("zod").ZodBoolean>;
3280
+ app: import("zod").ZodOptional<import("zod").ZodObject<{
3281
+ server: import("zod").ZodString;
3282
+ tool: import("zod").ZodString;
3283
+ }, import("zod/v4/core").$strip>>;
3284
+ }, import("zod/v4/core").$strip>;
3285
+ status: import("zod").ZodEnum<{
3286
+ answered: "answered";
3287
+ cancelled: "cancelled";
3288
+ pending: "pending";
3289
+ }>;
3290
+ value: import("zod").ZodOptional<import("zod").ZodString>;
3291
+ }, import("zod/v4/core").$strip>>;
2216
3292
  credentialOffer: import("zod").ZodOptional<import("zod").ZodObject<{
2217
3293
  requestId: import("zod").ZodString;
2218
3294
  offer: import("zod").ZodObject<{
@@ -2224,9 +3300,11 @@ export declare const agentContract: {
2224
3300
  lane: import("zod").ZodEnum<{
2225
3301
  browser: "browser";
2226
3302
  code: "code";
3303
+ gateway: "gateway";
2227
3304
  otp: "otp";
2228
3305
  session: "session";
2229
3306
  shell: "shell";
3307
+ ssh: "ssh";
2230
3308
  }>;
2231
3309
  detail: import("zod").ZodOptional<import("zod").ZodString>;
2232
3310
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2588,6 +3666,151 @@ export declare const agentContract: {
2588
3666
  tool: import("zod").ZodString;
2589
3667
  steps: import("zod").ZodString;
2590
3668
  approvedHash: import("zod").ZodOptional<import("zod").ZodString>;
3669
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3670
+ kind: import("zod").ZodLiteral<"automation">;
3671
+ automation: import("zod").ZodObject<{
3672
+ id: import("zod").ZodString;
3673
+ trigger: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3674
+ kind: import("zod").ZodLiteral<"schedule">;
3675
+ cron: import("zod").ZodString;
3676
+ tz: import("zod").ZodOptional<import("zod").ZodString & import("zod").ZodType<import("../index.js").Zone, string, import("zod/v4/core").$ZodTypeInternals<import("../index.js").Zone, string>>>;
3677
+ afterSessions: import("zod").ZodOptional<import("zod").ZodNumber>;
3678
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3679
+ kind: import("zod").ZodLiteral<"once">;
3680
+ at: import("zod").ZodNumber;
3681
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3682
+ kind: import("zod").ZodLiteral<"event">;
3683
+ dailyMax: import("zod").ZodOptional<import("zod").ZodNumber>;
3684
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3685
+ kind: import("zod").ZodLiteral<"listener">;
3686
+ provider: import("zod").ZodString;
3687
+ channelId: import("zod").ZodOptional<import("zod").ZodString>;
3688
+ eventType: import("zod").ZodOptional<import("zod").ZodString>;
3689
+ mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
3690
+ branch: import("zod").ZodOptional<import("zod").ZodString>;
3691
+ allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3692
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3693
+ kind: import("zod").ZodLiteral<"workspace">;
3694
+ event: import("zod").ZodEnum<{
3695
+ "agent.landed": "agent.landed";
3696
+ "deps.broken": "deps.broken";
3697
+ "deps.fixed": "deps.fixed";
3698
+ "turn.settled": "turn.settled";
3699
+ }>;
3700
+ repo: import("zod").ZodOptional<import("zod").ZodString>;
3701
+ }, import("zod/v4/core").$strip>], "kind">;
3702
+ guard: import("zod").ZodOptional<import("zod").ZodString>;
3703
+ source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3704
+ kind: import("zod").ZodLiteral<"npm">;
3705
+ package: import("zod").ZodString;
3706
+ range: import("zod").ZodOptional<import("zod").ZodString>;
3707
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
3708
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3709
+ kind: import("zod").ZodLiteral<"github-release">;
3710
+ repo: import("zod").ZodString;
3711
+ prereleases: import("zod").ZodOptional<import("zod").ZodBoolean>;
3712
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3713
+ kind: import("zod").ZodLiteral<"url">;
3714
+ url: import("zod").ZodString;
3715
+ select: import("zod").ZodOptional<import("zod").ZodString>;
3716
+ }, import("zod/v4/core").$strip>], "kind">>;
3717
+ fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
3718
+ change: "change";
3719
+ pass: "pass";
3720
+ }>>;
3721
+ until: import("zod").ZodOptional<import("zod").ZodEnum<{
3722
+ "first-fire": "first-fire";
3723
+ }>>;
3724
+ expiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
3725
+ target: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3726
+ kind: import("zod").ZodLiteral<"agent">;
3727
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3728
+ kind: import("zod").ZodLiteral<"conversation">;
3729
+ conversationId: import("zod").ZodString;
3730
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3731
+ kind: import("zod").ZodLiteral<"notify">;
3732
+ }, import("zod/v4/core").$strip>], "kind">>;
3733
+ note: import("zod").ZodOptional<import("zod").ZodString>;
3734
+ prompt: import("zod").ZodString;
3735
+ webchat: import("zod").ZodOptional<import("zod").ZodObject<{
3736
+ access: import("zod").ZodOptional<import("zod").ZodEnum<{
3737
+ google: "google";
3738
+ public: "public";
3739
+ }>>;
3740
+ requireName: import("zod").ZodOptional<import("zod").ZodBoolean>;
3741
+ antiBot: import("zod").ZodOptional<import("zod").ZodEnum<{
3742
+ pow: "pow";
3743
+ turnstile: "turnstile";
3744
+ }>>;
3745
+ turnstileSiteKey: import("zod").ZodOptional<import("zod").ZodString>;
3746
+ turnstileSecret: import("zod").ZodOptional<import("zod").ZodString>;
3747
+ googleClientId: import("zod").ZodOptional<import("zod").ZodString>;
3748
+ title: import("zod").ZodOptional<import("zod").ZodString>;
3749
+ greeting: import("zod").ZodOptional<import("zod").ZodString>;
3750
+ accent: import("zod").ZodOptional<import("zod").ZodString>;
3751
+ position: import("zod").ZodOptional<import("zod").ZodEnum<{
3752
+ "bottom-left": "bottom-left";
3753
+ "bottom-right": "bottom-right";
3754
+ "top-left": "top-left";
3755
+ "top-right": "top-right";
3756
+ }>>;
3757
+ dailyMessageMax: import("zod").ZodOptional<import("zod").ZodNumber>;
3758
+ conversationMessageMax: import("zod").ZodOptional<import("zod").ZodNumber>;
3759
+ sessionTtlMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
3760
+ }, import("zod/v4/core").$strip>>;
3761
+ issues: import("zod").ZodOptional<import("zod").ZodObject<{
3762
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
3763
+ dailyReportMax: import("zod").ZodOptional<import("zod").ZodNumber>;
3764
+ escalateAfter: import("zod").ZodOptional<import("zod").ZodNumber>;
3765
+ antiBot: import("zod").ZodOptional<import("zod").ZodEnum<{
3766
+ pow: "pow";
3767
+ }>>;
3768
+ title: import("zod").ZodOptional<import("zod").ZodString>;
3769
+ prompt: import("zod").ZodOptional<import("zod").ZodString>;
3770
+ thanks: import("zod").ZodOptional<import("zod").ZodString>;
3771
+ askEmail: import("zod").ZodOptional<import("zod").ZodBoolean>;
3772
+ accent: import("zod").ZodOptional<import("zod").ZodString>;
3773
+ captureCrashes: import("zod").ZodOptional<import("zod").ZodBoolean>;
3774
+ }, import("zod/v4/core").$strip>>;
3775
+ allowedTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3776
+ models: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3777
+ provider: import("zod").ZodString;
3778
+ model: import("zod").ZodString;
3779
+ effort: import("zod").ZodOptional<import("zod").ZodString>;
3780
+ thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
3781
+ fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
3782
+ harness: import("zod").ZodOptional<import("zod").ZodEnum<{
3783
+ "claude-code": "claude-code";
3784
+ native: "native";
3785
+ }>>;
3786
+ }, import("zod/v4/core").$strip>>>;
3787
+ account: import("zod").ZodOptional<import("zod").ZodString>;
3788
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
3789
+ senders: import("zod").ZodOptional<import("zod").ZodObject<{
3790
+ rules: import("zod").ZodArray<import("zod").ZodObject<{
3791
+ label: import("zod").ZodOptional<import("zod").ZodString>;
3792
+ ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3793
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3794
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
3795
+ requireApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
3796
+ }, import("zod/v4/core").$strip>>;
3797
+ others: import("zod").ZodEnum<{
3798
+ allow: "allow";
3799
+ hold: "hold";
3800
+ ignore: "ignore";
3801
+ }>;
3802
+ }, import("zod/v4/core").$strip>>;
3803
+ requireApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
3804
+ holdForSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3805
+ chore: import("zod").ZodOptional<import("zod").ZodBoolean>;
3806
+ enabled: import("zod").ZodBoolean;
3807
+ }, import("zod/v4/core").$strip>;
3808
+ replaces: import("zod").ZodOptional<import("zod").ZodBoolean>;
3809
+ firstCheck: import("zod").ZodOptional<import("zod").ZodObject<{
3810
+ pass: import("zod").ZodBoolean;
3811
+ saw: import("zod").ZodString;
3812
+ at: import("zod").ZodNumber;
3813
+ }, import("zod/v4/core").$strip>>;
2591
3814
  }, import("zod/v4/core").$strip>], "kind">;
2592
3815
  title: import("zod").ZodString;
2593
3816
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2634,6 +3857,43 @@ export declare const agentContract: {
2634
3857
  command: import("zod").ZodString;
2635
3858
  startedAt: import("zod").ZodNumber;
2636
3859
  }, import("zod/v4/core").$strip>>;
3860
+ page: import("zod").ZodOptional<import("zod").ZodObject<{
3861
+ id: import("zod").ZodString;
3862
+ title: import("zod").ZodString;
3863
+ path: import("zod").ZodString;
3864
+ height: import("zod").ZodOptional<import("zod").ZodNumber>;
3865
+ measured: import("zod").ZodOptional<import("zod").ZodNumber>;
3866
+ source: import("zod").ZodOptional<import("zod").ZodString>;
3867
+ revision: import("zod").ZodOptional<import("zod").ZodNumber>;
3868
+ superseded: import("zod").ZodOptional<import("zod").ZodBoolean>;
3869
+ app: import("zod").ZodOptional<import("zod").ZodObject<{
3870
+ server: import("zod").ZodString;
3871
+ tool: import("zod").ZodString;
3872
+ }, import("zod/v4/core").$strip>>;
3873
+ }, import("zod/v4/core").$strip>>;
3874
+ pageAsk: import("zod").ZodOptional<import("zod").ZodObject<{
3875
+ requestId: import("zod").ZodString;
3876
+ page: import("zod").ZodObject<{
3877
+ id: import("zod").ZodString;
3878
+ title: import("zod").ZodString;
3879
+ path: import("zod").ZodString;
3880
+ height: import("zod").ZodOptional<import("zod").ZodNumber>;
3881
+ measured: import("zod").ZodOptional<import("zod").ZodNumber>;
3882
+ source: import("zod").ZodOptional<import("zod").ZodString>;
3883
+ revision: import("zod").ZodOptional<import("zod").ZodNumber>;
3884
+ superseded: import("zod").ZodOptional<import("zod").ZodBoolean>;
3885
+ app: import("zod").ZodOptional<import("zod").ZodObject<{
3886
+ server: import("zod").ZodString;
3887
+ tool: import("zod").ZodString;
3888
+ }, import("zod/v4/core").$strip>>;
3889
+ }, import("zod/v4/core").$strip>;
3890
+ status: import("zod").ZodEnum<{
3891
+ answered: "answered";
3892
+ cancelled: "cancelled";
3893
+ pending: "pending";
3894
+ }>;
3895
+ value: import("zod").ZodOptional<import("zod").ZodString>;
3896
+ }, import("zod/v4/core").$strip>>;
2637
3897
  credentialOffer: import("zod").ZodOptional<import("zod").ZodObject<{
2638
3898
  requestId: import("zod").ZodString;
2639
3899
  offer: import("zod").ZodObject<{
@@ -2645,9 +3905,11 @@ export declare const agentContract: {
2645
3905
  lane: import("zod").ZodEnum<{
2646
3906
  browser: "browser";
2647
3907
  code: "code";
3908
+ gateway: "gateway";
2648
3909
  otp: "otp";
2649
3910
  session: "session";
2650
3911
  shell: "shell";
3912
+ ssh: "ssh";
2651
3913
  }>;
2652
3914
  detail: import("zod").ZodOptional<import("zod").ZodString>;
2653
3915
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3007,6 +4269,151 @@ export declare const agentContract: {
3007
4269
  tool: import("zod").ZodString;
3008
4270
  steps: import("zod").ZodString;
3009
4271
  approvedHash: import("zod").ZodOptional<import("zod").ZodString>;
4272
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4273
+ kind: import("zod").ZodLiteral<"automation">;
4274
+ automation: import("zod").ZodObject<{
4275
+ id: import("zod").ZodString;
4276
+ trigger: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
4277
+ kind: import("zod").ZodLiteral<"schedule">;
4278
+ cron: import("zod").ZodString;
4279
+ tz: import("zod").ZodOptional<import("zod").ZodString & import("zod").ZodType<import("../index.js").Zone, string, import("zod/v4/core").$ZodTypeInternals<import("../index.js").Zone, string>>>;
4280
+ afterSessions: import("zod").ZodOptional<import("zod").ZodNumber>;
4281
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4282
+ kind: import("zod").ZodLiteral<"once">;
4283
+ at: import("zod").ZodNumber;
4284
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4285
+ kind: import("zod").ZodLiteral<"event">;
4286
+ dailyMax: import("zod").ZodOptional<import("zod").ZodNumber>;
4287
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4288
+ kind: import("zod").ZodLiteral<"listener">;
4289
+ provider: import("zod").ZodString;
4290
+ channelId: import("zod").ZodOptional<import("zod").ZodString>;
4291
+ eventType: import("zod").ZodOptional<import("zod").ZodString>;
4292
+ mentioned: import("zod").ZodOptional<import("zod").ZodBoolean>;
4293
+ branch: import("zod").ZodOptional<import("zod").ZodString>;
4294
+ allowedOrigins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4295
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4296
+ kind: import("zod").ZodLiteral<"workspace">;
4297
+ event: import("zod").ZodEnum<{
4298
+ "agent.landed": "agent.landed";
4299
+ "deps.broken": "deps.broken";
4300
+ "deps.fixed": "deps.fixed";
4301
+ "turn.settled": "turn.settled";
4302
+ }>;
4303
+ repo: import("zod").ZodOptional<import("zod").ZodString>;
4304
+ }, import("zod/v4/core").$strip>], "kind">;
4305
+ guard: import("zod").ZodOptional<import("zod").ZodString>;
4306
+ source: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
4307
+ kind: import("zod").ZodLiteral<"npm">;
4308
+ package: import("zod").ZodString;
4309
+ range: import("zod").ZodOptional<import("zod").ZodString>;
4310
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
4311
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4312
+ kind: import("zod").ZodLiteral<"github-release">;
4313
+ repo: import("zod").ZodString;
4314
+ prereleases: import("zod").ZodOptional<import("zod").ZodBoolean>;
4315
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4316
+ kind: import("zod").ZodLiteral<"url">;
4317
+ url: import("zod").ZodString;
4318
+ select: import("zod").ZodOptional<import("zod").ZodString>;
4319
+ }, import("zod/v4/core").$strip>], "kind">>;
4320
+ fireOn: import("zod").ZodOptional<import("zod").ZodEnum<{
4321
+ change: "change";
4322
+ pass: "pass";
4323
+ }>>;
4324
+ until: import("zod").ZodOptional<import("zod").ZodEnum<{
4325
+ "first-fire": "first-fire";
4326
+ }>>;
4327
+ expiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
4328
+ target: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
4329
+ kind: import("zod").ZodLiteral<"agent">;
4330
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4331
+ kind: import("zod").ZodLiteral<"conversation">;
4332
+ conversationId: import("zod").ZodString;
4333
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4334
+ kind: import("zod").ZodLiteral<"notify">;
4335
+ }, import("zod/v4/core").$strip>], "kind">>;
4336
+ note: import("zod").ZodOptional<import("zod").ZodString>;
4337
+ prompt: import("zod").ZodString;
4338
+ webchat: import("zod").ZodOptional<import("zod").ZodObject<{
4339
+ access: import("zod").ZodOptional<import("zod").ZodEnum<{
4340
+ google: "google";
4341
+ public: "public";
4342
+ }>>;
4343
+ requireName: import("zod").ZodOptional<import("zod").ZodBoolean>;
4344
+ antiBot: import("zod").ZodOptional<import("zod").ZodEnum<{
4345
+ pow: "pow";
4346
+ turnstile: "turnstile";
4347
+ }>>;
4348
+ turnstileSiteKey: import("zod").ZodOptional<import("zod").ZodString>;
4349
+ turnstileSecret: import("zod").ZodOptional<import("zod").ZodString>;
4350
+ googleClientId: import("zod").ZodOptional<import("zod").ZodString>;
4351
+ title: import("zod").ZodOptional<import("zod").ZodString>;
4352
+ greeting: import("zod").ZodOptional<import("zod").ZodString>;
4353
+ accent: import("zod").ZodOptional<import("zod").ZodString>;
4354
+ position: import("zod").ZodOptional<import("zod").ZodEnum<{
4355
+ "bottom-left": "bottom-left";
4356
+ "bottom-right": "bottom-right";
4357
+ "top-left": "top-left";
4358
+ "top-right": "top-right";
4359
+ }>>;
4360
+ dailyMessageMax: import("zod").ZodOptional<import("zod").ZodNumber>;
4361
+ conversationMessageMax: import("zod").ZodOptional<import("zod").ZodNumber>;
4362
+ sessionTtlMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
4363
+ }, import("zod/v4/core").$strip>>;
4364
+ issues: import("zod").ZodOptional<import("zod").ZodObject<{
4365
+ keyFromBrowsers: import("zod").ZodOptional<import("zod").ZodBoolean>;
4366
+ dailyReportMax: import("zod").ZodOptional<import("zod").ZodNumber>;
4367
+ escalateAfter: import("zod").ZodOptional<import("zod").ZodNumber>;
4368
+ antiBot: import("zod").ZodOptional<import("zod").ZodEnum<{
4369
+ pow: "pow";
4370
+ }>>;
4371
+ title: import("zod").ZodOptional<import("zod").ZodString>;
4372
+ prompt: import("zod").ZodOptional<import("zod").ZodString>;
4373
+ thanks: import("zod").ZodOptional<import("zod").ZodString>;
4374
+ askEmail: import("zod").ZodOptional<import("zod").ZodBoolean>;
4375
+ accent: import("zod").ZodOptional<import("zod").ZodString>;
4376
+ captureCrashes: import("zod").ZodOptional<import("zod").ZodBoolean>;
4377
+ }, import("zod/v4/core").$strip>>;
4378
+ allowedTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4379
+ models: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
4380
+ provider: import("zod").ZodString;
4381
+ model: import("zod").ZodString;
4382
+ effort: import("zod").ZodOptional<import("zod").ZodString>;
4383
+ thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
4384
+ fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
4385
+ harness: import("zod").ZodOptional<import("zod").ZodEnum<{
4386
+ "claude-code": "claude-code";
4387
+ native: "native";
4388
+ }>>;
4389
+ }, import("zod/v4/core").$strip>>>;
4390
+ account: import("zod").ZodOptional<import("zod").ZodString>;
4391
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
4392
+ senders: import("zod").ZodOptional<import("zod").ZodObject<{
4393
+ rules: import("zod").ZodArray<import("zod").ZodObject<{
4394
+ label: import("zod").ZodOptional<import("zod").ZodString>;
4395
+ ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4396
+ groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
4397
+ actsAs: import("zod").ZodOptional<import("zod").ZodString>;
4398
+ requireApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
4399
+ }, import("zod/v4/core").$strip>>;
4400
+ others: import("zod").ZodEnum<{
4401
+ allow: "allow";
4402
+ hold: "hold";
4403
+ ignore: "ignore";
4404
+ }>;
4405
+ }, import("zod/v4/core").$strip>>;
4406
+ requireApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
4407
+ holdForSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
4408
+ chore: import("zod").ZodOptional<import("zod").ZodBoolean>;
4409
+ enabled: import("zod").ZodBoolean;
4410
+ }, import("zod/v4/core").$strip>;
4411
+ replaces: import("zod").ZodOptional<import("zod").ZodBoolean>;
4412
+ firstCheck: import("zod").ZodOptional<import("zod").ZodObject<{
4413
+ pass: import("zod").ZodBoolean;
4414
+ saw: import("zod").ZodString;
4415
+ at: import("zod").ZodNumber;
4416
+ }, import("zod/v4/core").$strip>>;
3010
4417
  }, import("zod/v4/core").$strip>], "kind">;
3011
4418
  title: import("zod").ZodString;
3012
4419
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3053,6 +4460,43 @@ export declare const agentContract: {
3053
4460
  command: import("zod").ZodString;
3054
4461
  startedAt: import("zod").ZodNumber;
3055
4462
  }, import("zod/v4/core").$strip>>;
4463
+ page: import("zod").ZodOptional<import("zod").ZodObject<{
4464
+ id: import("zod").ZodString;
4465
+ title: import("zod").ZodString;
4466
+ path: import("zod").ZodString;
4467
+ height: import("zod").ZodOptional<import("zod").ZodNumber>;
4468
+ measured: import("zod").ZodOptional<import("zod").ZodNumber>;
4469
+ source: import("zod").ZodOptional<import("zod").ZodString>;
4470
+ revision: import("zod").ZodOptional<import("zod").ZodNumber>;
4471
+ superseded: import("zod").ZodOptional<import("zod").ZodBoolean>;
4472
+ app: import("zod").ZodOptional<import("zod").ZodObject<{
4473
+ server: import("zod").ZodString;
4474
+ tool: import("zod").ZodString;
4475
+ }, import("zod/v4/core").$strip>>;
4476
+ }, import("zod/v4/core").$strip>>;
4477
+ pageAsk: import("zod").ZodOptional<import("zod").ZodObject<{
4478
+ requestId: import("zod").ZodString;
4479
+ page: import("zod").ZodObject<{
4480
+ id: import("zod").ZodString;
4481
+ title: import("zod").ZodString;
4482
+ path: import("zod").ZodString;
4483
+ height: import("zod").ZodOptional<import("zod").ZodNumber>;
4484
+ measured: import("zod").ZodOptional<import("zod").ZodNumber>;
4485
+ source: import("zod").ZodOptional<import("zod").ZodString>;
4486
+ revision: import("zod").ZodOptional<import("zod").ZodNumber>;
4487
+ superseded: import("zod").ZodOptional<import("zod").ZodBoolean>;
4488
+ app: import("zod").ZodOptional<import("zod").ZodObject<{
4489
+ server: import("zod").ZodString;
4490
+ tool: import("zod").ZodString;
4491
+ }, import("zod/v4/core").$strip>>;
4492
+ }, import("zod/v4/core").$strip>;
4493
+ status: import("zod").ZodEnum<{
4494
+ answered: "answered";
4495
+ cancelled: "cancelled";
4496
+ pending: "pending";
4497
+ }>;
4498
+ value: import("zod").ZodOptional<import("zod").ZodString>;
4499
+ }, import("zod/v4/core").$strip>>;
3056
4500
  credentialOffer: import("zod").ZodOptional<import("zod").ZodObject<{
3057
4501
  requestId: import("zod").ZodString;
3058
4502
  offer: import("zod").ZodObject<{
@@ -3064,9 +4508,11 @@ export declare const agentContract: {
3064
4508
  lane: import("zod").ZodEnum<{
3065
4509
  browser: "browser";
3066
4510
  code: "code";
4511
+ gateway: "gateway";
3067
4512
  otp: "otp";
3068
4513
  session: "session";
3069
4514
  shell: "shell";
4515
+ ssh: "ssh";
3070
4516
  }>;
3071
4517
  detail: import("zod").ZodOptional<import("zod").ZodString>;
3072
4518
  why: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3172,6 +4618,11 @@ export declare const agentContract: {
3172
4618
  kind: import("zod").ZodLiteral<"payment_offer">;
3173
4619
  requestId: import("zod").ZodString;
3174
4620
  approve: import("zod").ZodBoolean;
4621
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4622
+ kind: import("zod").ZodLiteral<"page_ask">;
4623
+ requestId: import("zod").ZodString;
4624
+ value: import("zod").ZodOptional<import("zod").ZodString>;
4625
+ cancelled: import("zod").ZodOptional<import("zod").ZodBoolean>;
3175
4626
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3176
4627
  kind: import("zod").ZodLiteral<"credential_offer">;
3177
4628
  requestId: import("zod").ZodString;
@@ -3230,6 +4681,8 @@ export declare const agentContract: {
3230
4681
  }>;
3231
4682
  queuedAt: import("zod").ZodNumber;
3232
4683
  revision: import("zod").ZodNumber;
4684
+ until: import("zod").ZodOptional<import("zod").ZodNumber>;
4685
+ after: import("zod").ZodOptional<import("zod").ZodString>;
3233
4686
  }, import("zod/v4/core").$strip>>;
3234
4687
  revision: import("zod").ZodNumber;
3235
4688
  paused: import("zod").ZodOptional<import("zod").ZodEnum<{
@@ -3256,6 +4709,8 @@ export declare const agentContract: {
3256
4709
  }>;
3257
4710
  queuedAt: import("zod").ZodNumber;
3258
4711
  revision: import("zod").ZodNumber;
4712
+ until: import("zod").ZodOptional<import("zod").ZodNumber>;
4713
+ after: import("zod").ZodOptional<import("zod").ZodString>;
3259
4714
  }, import("zod/v4/core").$strip>>;
3260
4715
  revision: import("zod").ZodNumber;
3261
4716
  paused: import("zod").ZodOptional<import("zod").ZodEnum<{
@@ -3278,6 +4733,7 @@ export declare const agentContract: {
3278
4733
  model: import("zod").ZodOptional<import("zod").ZodString>;
3279
4734
  carry: import("zod").ZodOptional<import("zod").ZodBoolean>;
3280
4735
  }, import("zod/v4/core").$strip>>;
4736
+ ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3281
4737
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3282
4738
  run: import("zod").ZodOptional<import("zod").ZodString>;
3283
4739
  queue: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -3292,6 +4748,8 @@ export declare const agentContract: {
3292
4748
  }>;
3293
4749
  queuedAt: import("zod").ZodNumber;
3294
4750
  revision: import("zod").ZodNumber;
4751
+ until: import("zod").ZodOptional<import("zod").ZodNumber>;
4752
+ after: import("zod").ZodOptional<import("zod").ZodString>;
3295
4753
  }, import("zod/v4/core").$strip>>;
3296
4754
  revision: import("zod").ZodNumber;
3297
4755
  paused: import("zod").ZodOptional<import("zod").ZodEnum<{
@@ -3307,6 +4765,7 @@ export declare const agentContract: {
3307
4765
  conversationId: import("zod").ZodString;
3308
4766
  sendAt: import("zod").ZodOptional<import("zod").ZodNumber>;
3309
4767
  sendAfter: import("zod").ZodOptional<import("zod").ZodString>;
4768
+ ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
3310
4769
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3311
4770
  items: import("zod").ZodArray<import("zod").ZodObject<{
3312
4771
  id: import("zod").ZodString;
@@ -3319,6 +4778,8 @@ export declare const agentContract: {
3319
4778
  }>;
3320
4779
  queuedAt: import("zod").ZodNumber;
3321
4780
  revision: import("zod").ZodNumber;
4781
+ until: import("zod").ZodOptional<import("zod").ZodNumber>;
4782
+ after: import("zod").ZodOptional<import("zod").ZodString>;
3322
4783
  }, import("zod/v4/core").$strip>>;
3323
4784
  revision: import("zod").ZodNumber;
3324
4785
  paused: import("zod").ZodOptional<import("zod").ZodEnum<{