@intentic/sandbox-contract 1.431.0 → 1.432.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/README.md +10 -3
  2. package/dist/briefs/agent-ask.d.ts +10 -0
  3. package/dist/briefs/agent-ask.d.ts.map +1 -0
  4. package/dist/briefs/agent-ask.js +2 -0
  5. package/dist/briefs/agent-ask.js.map +1 -0
  6. package/dist/{chores/extension-update.d.ts → briefs/extension-update-brief.d.ts} +1 -1
  7. package/dist/briefs/extension-update-brief.d.ts.map +1 -0
  8. package/dist/{chores/extension-update.js → briefs/extension-update-brief.js} +2 -2
  9. package/dist/briefs/extension-update-brief.js.map +1 -0
  10. package/dist/chores/digest.d.ts.map +1 -1
  11. package/dist/chores/digest.js.map +1 -1
  12. package/dist/chores/index.d.ts +2 -2
  13. package/dist/chores/index.d.ts.map +1 -1
  14. package/dist/chores/index.js +1 -1
  15. package/dist/chores/index.js.map +1 -1
  16. package/dist/chores/prompt.d.ts +1 -9
  17. package/dist/chores/prompt.d.ts.map +1 -1
  18. package/dist/chores/prompt.js +1 -1
  19. package/dist/chores/prompt.js.map +1 -1
  20. package/dist/chores/stack.d.ts.map +1 -1
  21. package/dist/chores/stack.js.map +1 -1
  22. package/dist/chores/verdict.d.ts.map +1 -1
  23. package/dist/chores/verdict.js.map +1 -1
  24. package/dist/chores/workspace-scope.d.ts +1 -3
  25. package/dist/chores/workspace-scope.d.ts.map +1 -1
  26. package/dist/chores/workspace-scope.js +1 -3
  27. package/dist/chores/workspace-scope.js.map +1 -1
  28. package/dist/contracts/agent.contract.d.ts +869 -12
  29. package/dist/contracts/agent.contract.d.ts.map +1 -1
  30. package/dist/contracts/agents.contract.d.ts +291 -4
  31. package/dist/contracts/agents.contract.d.ts.map +1 -1
  32. package/dist/contracts/automations.contract.d.ts +59 -8
  33. package/dist/contracts/automations.contract.d.ts.map +1 -1
  34. package/dist/contracts/capabilities.contract.d.ts +37 -0
  35. package/dist/contracts/capabilities.contract.d.ts.map +1 -1
  36. package/dist/contracts/capabilities.contract.js +21 -0
  37. package/dist/contracts/capabilities.contract.js.map +1 -1
  38. package/dist/contracts/ci.contract.d.ts +222 -95
  39. package/dist/contracts/ci.contract.d.ts.map +1 -1
  40. package/dist/contracts/ci.contract.js +87 -26
  41. package/dist/contracts/ci.contract.js.map +1 -1
  42. package/dist/contracts/device-stacks.contract.d.ts +129 -0
  43. package/dist/contracts/device-stacks.contract.d.ts.map +1 -0
  44. package/dist/contracts/device-stacks.contract.js +66 -0
  45. package/dist/contracts/device-stacks.contract.js.map +1 -0
  46. package/dist/contracts/device.contract.d.ts +47 -0
  47. package/dist/contracts/device.contract.d.ts.map +1 -1
  48. package/dist/contracts/extensions.contract.d.ts +603 -0
  49. package/dist/contracts/extensions.contract.d.ts.map +1 -1
  50. package/dist/contracts/extensions.contract.js +10 -1
  51. package/dist/contracts/extensions.contract.js.map +1 -1
  52. package/dist/contracts/needs.contract.d.ts +689 -18
  53. package/dist/contracts/needs.contract.d.ts.map +1 -1
  54. package/dist/contracts/offload.contract.d.ts +21 -0
  55. package/dist/contracts/offload.contract.d.ts.map +1 -1
  56. package/dist/contracts/runner.contract.d.ts +501 -8
  57. package/dist/contracts/runner.contract.d.ts.map +1 -1
  58. package/dist/contracts/seal.contract.d.ts +15 -0
  59. package/dist/contracts/seal.contract.d.ts.map +1 -1
  60. package/dist/contracts/secrets.contract.d.ts +15 -0
  61. package/dist/contracts/secrets.contract.d.ts.map +1 -1
  62. package/dist/contracts/secrets.contract.js +21 -1
  63. package/dist/contracts/secrets.contract.js.map +1 -1
  64. package/dist/contracts/sessions.contract.d.ts +111 -2
  65. package/dist/contracts/sessions.contract.d.ts.map +1 -1
  66. package/dist/contracts/settings.contract.d.ts +57 -42
  67. package/dist/contracts/settings.contract.d.ts.map +1 -1
  68. package/dist/contracts/settings.contract.js +18 -0
  69. package/dist/contracts/settings.contract.js.map +1 -1
  70. package/dist/contracts/stack-grants.contract.d.ts +418 -0
  71. package/dist/contracts/stack-grants.contract.d.ts.map +1 -0
  72. package/dist/contracts/stack-grants.contract.js +46 -0
  73. package/dist/contracts/stack-grants.contract.js.map +1 -0
  74. package/dist/contracts/system.contract.d.ts +188 -69
  75. package/dist/contracts/system.contract.d.ts.map +1 -1
  76. package/dist/contracts/system.contract.js +12 -42
  77. package/dist/contracts/system.contract.js.map +1 -1
  78. package/dist/contracts/workspace.contract.d.ts +0 -55
  79. package/dist/contracts/workspace.contract.d.ts.map +1 -1
  80. package/dist/contracts/workspace.contract.js +0 -19
  81. package/dist/contracts/workspace.contract.js.map +1 -1
  82. package/dist/events/agent-events.d.ts +421 -8
  83. package/dist/events/agent-events.d.ts.map +1 -1
  84. package/dist/events/agent-transcript.d.ts +111 -2
  85. package/dist/events/agent-transcript.d.ts.map +1 -1
  86. package/dist/events/agent-words.d.ts.map +1 -1
  87. package/dist/events/agent-words.js +2 -1
  88. package/dist/events/agent-words.js.map +1 -1
  89. package/dist/events/child-news.d.ts +32 -0
  90. package/dist/events/child-news.d.ts.map +1 -0
  91. package/dist/events/child-news.js +171 -0
  92. package/dist/events/child-news.js.map +1 -0
  93. package/dist/events/prompt-origins.d.ts +42 -0
  94. package/dist/events/prompt-origins.d.ts.map +1 -1
  95. package/dist/events/prompt-origins.js +28 -0
  96. package/dist/events/prompt-origins.js.map +1 -1
  97. package/dist/events/requests.d.ts +14 -0
  98. package/dist/events/requests.d.ts.map +1 -1
  99. package/dist/events/requests.js +12 -0
  100. package/dist/events/requests.js.map +1 -1
  101. package/dist/events/system-events.d.ts +12 -0
  102. package/dist/events/system-events.d.ts.map +1 -1
  103. package/dist/events/transcript.d.ts +559 -10
  104. package/dist/events/transcript.d.ts.map +1 -1
  105. package/dist/events/transcript.js +2 -1
  106. package/dist/events/transcript.js.map +1 -1
  107. package/dist/index.d.ts +2 -4
  108. package/dist/index.d.ts.map +1 -1
  109. package/dist/index.js +2 -4
  110. package/dist/index.js.map +1 -1
  111. package/dist/models/model-roles.d.ts +91 -37
  112. package/dist/models/model-roles.d.ts.map +1 -1
  113. package/dist/models/model-roles.js +106 -35
  114. package/dist/models/model-roles.js.map +1 -1
  115. package/dist/models/model-setups.d.ts +10 -8
  116. package/dist/models/model-setups.d.ts.map +1 -1
  117. package/dist/models/model-setups.js +15 -15
  118. package/dist/models/model-setups.js.map +1 -1
  119. package/dist/policy/approvals-execution.d.ts +5 -2
  120. package/dist/policy/approvals-execution.d.ts.map +1 -1
  121. package/dist/policy/approvals-execution.js +3 -4
  122. package/dist/policy/approvals-execution.js.map +1 -1
  123. package/dist/policy/batch-runs.d.ts +1 -1
  124. package/dist/policy/batch-runs.d.ts.map +1 -1
  125. package/dist/policy/batch-runs.js +2 -1
  126. package/dist/policy/batch-runs.js.map +1 -1
  127. package/dist/policy/message-limits.d.ts.map +1 -1
  128. package/dist/policy/message-limits.js.map +1 -1
  129. package/dist/policy/org-locks.d.ts +1 -1
  130. package/dist/policy/org-locks.d.ts.map +1 -1
  131. package/dist/policy/org-locks.js +1 -0
  132. package/dist/policy/org-locks.js.map +1 -1
  133. package/dist/policy/shell/workspace-root-exclude.d.ts +4 -0
  134. package/dist/policy/shell/workspace-root-exclude.d.ts.map +1 -0
  135. package/dist/policy/shell/workspace-root-exclude.js +4 -0
  136. package/dist/policy/shell/workspace-root-exclude.js.map +1 -0
  137. package/dist/protocol/doors/listener-protocol.d.ts +7 -0
  138. package/dist/protocol/doors/listener-protocol.d.ts.map +1 -1
  139. package/dist/protocol/doors/listener-protocol.js +1 -0
  140. package/dist/protocol/doors/listener-protocol.js.map +1 -1
  141. package/dist/protocol/doors/webext-links.d.ts.map +1 -1
  142. package/dist/protocol/doors/webext-links.js.map +1 -1
  143. package/dist/protocol/raw/extension-protocol.d.ts +518 -0
  144. package/dist/protocol/raw/extension-protocol.d.ts.map +1 -1
  145. package/dist/protocol/raw/extension-protocol.js +276 -0
  146. package/dist/protocol/raw/extension-protocol.js.map +1 -1
  147. package/dist/protocol/raw/raw-json-routes.d.ts +60 -0
  148. package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -1
  149. package/dist/protocol/raw/raw-routes.d.ts +81 -1
  150. package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
  151. package/dist/protocol/raw/raw-routes.js +16 -1
  152. package/dist/protocol/raw/raw-routes.js.map +1 -1
  153. package/dist/schemas/activity.d.ts.map +1 -1
  154. package/dist/schemas/activity.js.map +1 -1
  155. package/dist/schemas/agent.d.ts +4 -0
  156. package/dist/schemas/agent.d.ts.map +1 -1
  157. package/dist/schemas/agent.js +4 -2
  158. package/dist/schemas/agent.js.map +1 -1
  159. package/dist/schemas/agents-list.d.ts +6 -0
  160. package/dist/schemas/agents-list.d.ts.map +1 -1
  161. package/dist/schemas/agents.d.ts +12 -0
  162. package/dist/schemas/agents.d.ts.map +1 -1
  163. package/dist/schemas/automations.d.ts +87 -27
  164. package/dist/schemas/automations.d.ts.map +1 -1
  165. package/dist/schemas/automations.js +15 -33
  166. package/dist/schemas/automations.js.map +1 -1
  167. package/dist/schemas/ci-deployments.d.ts +30 -0
  168. package/dist/schemas/ci-deployments.d.ts.map +1 -0
  169. package/dist/schemas/ci-deployments.js +18 -0
  170. package/dist/schemas/ci-deployments.js.map +1 -0
  171. package/dist/schemas/ci.d.ts +348 -21
  172. package/dist/schemas/ci.d.ts.map +1 -1
  173. package/dist/schemas/ci.js +110 -19
  174. package/dist/schemas/ci.js.map +1 -1
  175. package/dist/schemas/command-run.d.ts +29 -0
  176. package/dist/schemas/command-run.d.ts.map +1 -0
  177. package/dist/schemas/command-run.js +20 -0
  178. package/dist/schemas/command-run.js.map +1 -0
  179. package/dist/schemas/data-protection.d.ts +15 -2
  180. package/dist/schemas/data-protection.d.ts.map +1 -1
  181. package/dist/schemas/data-protection.js +15 -23
  182. package/dist/schemas/data-protection.js.map +1 -1
  183. package/dist/schemas/device-stacks.d.ts +131 -0
  184. package/dist/schemas/device-stacks.d.ts.map +1 -1
  185. package/dist/schemas/device-stacks.js +81 -0
  186. package/dist/schemas/device-stacks.js.map +1 -1
  187. package/dist/schemas/devices.d.ts +73 -0
  188. package/dist/schemas/devices.d.ts.map +1 -1
  189. package/dist/schemas/devices.js +6 -2
  190. package/dist/schemas/devices.js.map +1 -1
  191. package/dist/schemas/extension-updates.d.ts +1184 -0
  192. package/dist/schemas/extension-updates.d.ts.map +1 -1
  193. package/dist/schemas/extension-updates.js +18 -4
  194. package/dist/schemas/extension-updates.js.map +1 -1
  195. package/dist/schemas/host-power.d.ts +22 -0
  196. package/dist/schemas/host-power.d.ts.map +1 -1
  197. package/dist/schemas/host-power.js +55 -0
  198. package/dist/schemas/host-power.js.map +1 -1
  199. package/dist/schemas/hosts.d.ts +226 -0
  200. package/dist/schemas/hosts.d.ts.map +1 -1
  201. package/dist/schemas/hosts.js +24 -0
  202. package/dist/schemas/hosts.js.map +1 -1
  203. package/dist/schemas/issues.d.ts +35 -249
  204. package/dist/schemas/issues.d.ts.map +1 -1
  205. package/dist/schemas/issues.js +9 -43
  206. package/dist/schemas/issues.js.map +1 -1
  207. package/dist/schemas/maintenance.d.ts.map +1 -1
  208. package/dist/schemas/maintenance.js.map +1 -1
  209. package/dist/schemas/metrics.d.ts +25 -0
  210. package/dist/schemas/metrics.d.ts.map +1 -1
  211. package/dist/schemas/metrics.js +18 -0
  212. package/dist/schemas/metrics.js.map +1 -1
  213. package/dist/schemas/need-kinds.d.ts +19 -0
  214. package/dist/schemas/need-kinds.d.ts.map +1 -0
  215. package/dist/schemas/need-kinds.js +7 -0
  216. package/dist/schemas/need-kinds.js.map +1 -0
  217. package/dist/schemas/needs.d.ts +523 -30
  218. package/dist/schemas/needs.d.ts.map +1 -1
  219. package/dist/schemas/needs.js +36 -6
  220. package/dist/schemas/needs.js.map +1 -1
  221. package/dist/schemas/offload.d.ts +52 -0
  222. package/dist/schemas/offload.d.ts.map +1 -1
  223. package/dist/schemas/offload.js +12 -0
  224. package/dist/schemas/offload.js.map +1 -1
  225. package/dist/schemas/outward-action.d.ts +39 -0
  226. package/dist/schemas/outward-action.d.ts.map +1 -0
  227. package/dist/schemas/outward-action.js +40 -0
  228. package/dist/schemas/outward-action.js.map +1 -0
  229. package/dist/schemas/providers/plan-limits.d.ts +1 -0
  230. package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
  231. package/dist/schemas/providers/plan-limits.js +1 -0
  232. package/dist/schemas/providers/plan-limits.js.map +1 -1
  233. package/dist/schemas/secrets.d.ts +17 -0
  234. package/dist/schemas/secrets.d.ts.map +1 -1
  235. package/dist/schemas/secrets.js +12 -5
  236. package/dist/schemas/secrets.js.map +1 -1
  237. package/dist/schemas/settings-history.d.ts +1 -1
  238. package/dist/schemas/settings-history.d.ts.map +1 -1
  239. package/dist/schemas/settings-history.js +5 -4
  240. package/dist/schemas/settings-history.js.map +1 -1
  241. package/dist/schemas/settings-savings.d.ts +58 -0
  242. package/dist/schemas/settings-savings.d.ts.map +1 -1
  243. package/dist/schemas/settings-savings.js +22 -0
  244. package/dist/schemas/settings-savings.js.map +1 -1
  245. package/dist/schemas/settings.d.ts +2 -42
  246. package/dist/schemas/settings.d.ts.map +1 -1
  247. package/dist/schemas/settings.js +5 -6
  248. package/dist/schemas/settings.js.map +1 -1
  249. package/dist/schemas/stack-grants.d.ts +60 -0
  250. package/dist/schemas/stack-grants.d.ts.map +1 -0
  251. package/dist/schemas/stack-grants.js +33 -0
  252. package/dist/schemas/stack-grants.js.map +1 -0
  253. package/dist/schemas/watch-sources.d.ts +72 -0
  254. package/dist/schemas/watch-sources.d.ts.map +1 -0
  255. package/dist/schemas/watch-sources.js +88 -0
  256. package/dist/schemas/watch-sources.js.map +1 -0
  257. package/dist/schemas/workspace/workspace-search.d.ts.map +1 -1
  258. package/dist/schemas/workspace/workspace-search.js +1 -1
  259. package/dist/schemas/workspace/workspace-search.js.map +1 -1
  260. package/dist/schemas/wsl-memory.d.ts +76 -0
  261. package/dist/schemas/wsl-memory.d.ts.map +1 -0
  262. package/dist/schemas/wsl-memory.js +36 -0
  263. package/dist/schemas/wsl-memory.js.map +1 -0
  264. package/dist/state/auth-state.d.ts.map +1 -1
  265. package/dist/state/auth-state.js +2 -0
  266. package/dist/state/auth-state.js.map +1 -1
  267. package/dist/state/definition.d.ts +4 -8
  268. package/dist/state/definition.d.ts.map +1 -1
  269. package/dist/state/workspace-state.d.ts +8 -3
  270. package/dist/state/workspace-state.d.ts.map +1 -1
  271. package/dist/state/workspace-state.js +8 -3
  272. package/dist/state/workspace-state.js.map +1 -1
  273. package/package.json +5 -5
  274. package/src/briefs/agent-ask.ts +23 -0
  275. package/src/{chores/extension-update.ts → briefs/extension-update-brief.ts} +3 -2
  276. package/src/chores/digest.ts +1 -0
  277. package/src/chores/index.ts +13 -2
  278. package/src/chores/prompt.ts +3 -18
  279. package/src/chores/stack.ts +1 -0
  280. package/src/chores/verdict.ts +1 -0
  281. package/src/chores/workspace-scope.ts +3 -8
  282. package/src/contracts/capabilities.contract.ts +24 -0
  283. package/src/contracts/ci.contract.ts +119 -37
  284. package/src/contracts/device-stacks.contract.ts +97 -0
  285. package/src/contracts/extensions.contract.ts +11 -0
  286. package/src/contracts/secrets.contract.ts +27 -0
  287. package/src/contracts/settings.contract.ts +24 -0
  288. package/src/contracts/stack-grants.contract.ts +51 -0
  289. package/src/contracts/system.contract.ts +16 -59
  290. package/src/contracts/workspace.contract.ts +0 -22
  291. package/src/events/agent-words.ts +3 -1
  292. package/src/events/child-news.test.ts +91 -0
  293. package/src/events/child-news.ts +269 -0
  294. package/src/events/prompt-origins.ts +35 -0
  295. package/src/events/requests.ts +18 -0
  296. package/src/events/transcript.ts +10 -1
  297. package/src/index.ts +3 -6
  298. package/src/models/model-roles.test.ts +61 -4
  299. package/src/models/model-roles.ts +153 -49
  300. package/src/models/model-setups.ts +49 -26
  301. package/src/policy/approvals-execution.ts +11 -6
  302. package/src/policy/batch-runs.ts +2 -2
  303. package/src/policy/message-limits.ts +8 -4
  304. package/src/policy/org-locks.ts +1 -0
  305. package/src/policy/shell/workspace-root-exclude.ts +11 -0
  306. package/src/protocol/doors/listener-protocol.ts +14 -0
  307. package/src/protocol/doors/webext-links.ts +3 -1
  308. package/src/protocol/raw/extension-protocol.ts +469 -2
  309. package/src/protocol/raw/raw-routes.ts +45 -4
  310. package/src/schemas/activity.ts +2 -1
  311. package/src/schemas/agent.test.ts +3 -0
  312. package/src/schemas/agent.ts +10 -4
  313. package/src/schemas/automations.ts +25 -41
  314. package/src/schemas/ci-deployments.ts +26 -0
  315. package/src/schemas/ci.ts +185 -45
  316. package/src/schemas/command-run.ts +44 -0
  317. package/src/schemas/data-protection.ts +28 -34
  318. package/src/schemas/device-stacks.ts +162 -3
  319. package/src/schemas/devices.ts +13 -2
  320. package/src/schemas/extension-updates.ts +27 -7
  321. package/src/schemas/host-power.test.ts +53 -0
  322. package/src/schemas/host-power.ts +96 -2
  323. package/src/schemas/hosts.test.ts +32 -0
  324. package/src/schemas/hosts.ts +62 -0
  325. package/src/schemas/issues.ts +29 -86
  326. package/src/schemas/maintenance.ts +4 -3
  327. package/src/schemas/metrics.ts +35 -0
  328. package/src/schemas/need-kinds.ts +13 -0
  329. package/src/schemas/needs.ts +57 -16
  330. package/src/schemas/offload.ts +31 -0
  331. package/src/schemas/outward-action.ts +47 -0
  332. package/src/schemas/providers/plan-limits.ts +1 -0
  333. package/src/schemas/secrets.ts +23 -5
  334. package/src/schemas/settings-history.ts +10 -5
  335. package/src/schemas/settings-savings.ts +29 -0
  336. package/src/schemas/settings.test.ts +23 -23
  337. package/src/schemas/settings.ts +10 -12
  338. package/src/schemas/stack-grants.ts +59 -0
  339. package/src/schemas/version-seam.test.ts +4 -1
  340. package/src/schemas/watch-sources.ts +127 -0
  341. package/src/schemas/workspace/workspace-search.ts +5 -2
  342. package/src/schemas/wsl-memory.ts +59 -0
  343. package/src/state/auth-state.ts +7 -0
  344. package/src/state/workspace-state.ts +18 -18
  345. package/src/text/embed.ts +2 -2
  346. package/dist/chores/extension-update.d.ts.map +0 -1
  347. package/dist/chores/extension-update.js.map +0 -1
  348. package/dist/contracts/chores.contract.d.ts +0 -213
  349. package/dist/contracts/chores.contract.d.ts.map +0 -1
  350. package/dist/contracts/chores.contract.js +0 -32
  351. package/dist/contracts/chores.contract.js.map +0 -1
  352. package/dist/contracts/issues.contract.d.ts +0 -106
  353. package/dist/contracts/issues.contract.d.ts.map +0 -1
  354. package/dist/contracts/issues.contract.js +0 -50
  355. package/dist/contracts/issues.contract.js.map +0 -1
  356. package/src/chores/chores.test.ts +0 -24
  357. package/src/chores/digest.test.ts +0 -27
  358. package/src/chores/probes.integration.test.ts +0 -494
  359. package/src/chores/stack.test.ts +0 -140
  360. package/src/chores/verdict.test.ts +0 -761
  361. package/src/contracts/chores.contract.ts +0 -39
  362. package/src/contracts/issues.contract.ts +0 -53
@@ -418,7 +418,7 @@ export declare const runnerContract: {
418
418
  offer: {
419
419
  subject: string;
420
420
  kind: "capability" | "secret";
421
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
421
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
422
422
  detail?: string | undefined;
423
423
  why?: string | undefined;
424
424
  approvers: string[];
@@ -431,6 +431,37 @@ export declare const runnerContract: {
431
431
  id: string;
432
432
  conversationId: string;
433
433
  subject: {
434
+ kind: "wsl-memory";
435
+ device: string;
436
+ configPath: string;
437
+ fit: {
438
+ at: number;
439
+ windowMs: number;
440
+ readings: number;
441
+ totalBytes: number;
442
+ lowLineBytes: number;
443
+ underLowShare: number;
444
+ availableMedianBytes: number;
445
+ vmMedianBytes: number;
446
+ outsideBytes: number;
447
+ configuredGb?: number | undefined;
448
+ proposedGb: number;
449
+ atFloor: boolean;
450
+ capsOver?: {
451
+ name: string;
452
+ memoryBytes: number;
453
+ }[] | undefined;
454
+ text: string;
455
+ };
456
+ } | {
457
+ kind: "deploy";
458
+ repo: string;
459
+ stack: string;
460
+ device: string;
461
+ deviceName?: string | undefined;
462
+ secrets: string[];
463
+ ungranted: string[];
464
+ } | {
434
465
  kind: "capability";
435
466
  entry: string;
436
467
  name: string;
@@ -449,6 +480,7 @@ export declare const runnerContract: {
449
480
  hint?: string | undefined;
450
481
  replace?: boolean | undefined;
451
482
  multiline?: boolean | undefined;
483
+ hosts?: string[] | undefined;
452
484
  } | {
453
485
  kind: "grant";
454
486
  subject: "capability" | "folder" | "shelf" | "site";
@@ -496,6 +528,7 @@ export declare const runnerContract: {
496
528
  mentioned?: boolean | undefined;
497
529
  branch?: string | undefined;
498
530
  allowedOrigins?: string[] | undefined;
531
+ keyFromBrowsers?: boolean | undefined;
499
532
  } | {
500
533
  kind: "workspace";
501
534
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -515,6 +548,9 @@ export declare const runnerContract: {
515
548
  kind: "url";
516
549
  url: string;
517
550
  select?: string | undefined;
551
+ } | {
552
+ [x: string]: string | boolean;
553
+ kind: string;
518
554
  } | undefined;
519
555
  fireOn?: "change" | "pass" | undefined;
520
556
  until?: "first-fire" | undefined;
@@ -526,6 +562,10 @@ export declare const runnerContract: {
526
562
  conversationId: string;
527
563
  } | {
528
564
  kind: "notify";
565
+ } | {
566
+ kind: "extension";
567
+ extension: string;
568
+ handler: string;
529
569
  } | undefined;
530
570
  note?: string | undefined;
531
571
  prompt: string;
@@ -594,6 +634,27 @@ export declare const runnerContract: {
594
634
  saw: string;
595
635
  at: number;
596
636
  } | undefined;
637
+ watchKind?: {
638
+ id: string;
639
+ label: string;
640
+ icon?: string | undefined;
641
+ logo?: string | undefined;
642
+ description: string;
643
+ sentence: string;
644
+ fields: {
645
+ key: string;
646
+ label: string;
647
+ type?: "switch" | "text" | undefined;
648
+ required?: boolean | undefined;
649
+ placeholder?: string | undefined;
650
+ hint?: string | undefined;
651
+ pattern?: string | undefined;
652
+ patternHint?: string | undefined;
653
+ maxLength?: number | undefined;
654
+ }[];
655
+ extension: string;
656
+ enabled: boolean;
657
+ } | undefined;
597
658
  } | {
598
659
  kind: "instruction";
599
660
  file: string;
@@ -615,9 +676,14 @@ export declare const runnerContract: {
615
676
  plans?: string[] | undefined;
616
677
  fixable: boolean;
617
678
  command?: string | undefined;
679
+ offers?: string[] | undefined;
680
+ pausedUntil?: number | undefined;
681
+ restartPending?: boolean | undefined;
682
+ comesBack?: "boot" | "sign-in" | undefined;
618
683
  text: string;
619
684
  }[];
620
685
  dueAt?: number | undefined;
686
+ utcOffsetMinutes?: number | undefined;
621
687
  } | {
622
688
  kind: "claim";
623
689
  project: string;
@@ -630,6 +696,16 @@ export declare const runnerContract: {
630
696
  scopes: ("drop" | "read" | "report" | "task")[];
631
697
  address?: string | undefined;
632
698
  from?: string | undefined;
699
+ } | {
700
+ kind: "redirect";
701
+ target: string;
702
+ targetName: string;
703
+ address?: string | undefined;
704
+ person: string;
705
+ words: string;
706
+ clipped?: boolean | undefined;
707
+ attachments?: number | undefined;
708
+ project?: string | undefined;
633
709
  };
634
710
  title: string;
635
711
  why?: string | undefined;
@@ -741,6 +817,7 @@ export declare const runnerContract: {
741
817
  requestId: string;
742
818
  decision: "always" | "deny" | "everything" | "once";
743
819
  feedback?: string | undefined;
820
+ keep?: true | undefined;
744
821
  child?: {
745
822
  provider: string;
746
823
  model: string;
@@ -895,8 +972,10 @@ export declare const runnerContract: {
895
972
  displayName?: string | undefined;
896
973
  description?: string | undefined;
897
974
  reason?: string | undefined;
975
+ outside?: string | undefined;
898
976
  path?: string | undefined;
899
977
  alwaysLabel?: string | undefined;
978
+ keepLabel?: string | undefined;
900
979
  alwaysAsks?: true | undefined;
901
980
  program?: {
902
981
  text: string;
@@ -919,6 +998,7 @@ export declare const runnerContract: {
919
998
  child?: string | undefined;
920
999
  task?: string | undefined;
921
1000
  message?: string | undefined;
1001
+ headings?: string[] | undefined;
922
1002
  on?: string | undefined;
923
1003
  proposed?: {
924
1004
  provider: string;
@@ -1259,7 +1339,7 @@ export declare const runnerContract: {
1259
1339
  offer: {
1260
1340
  subject: string;
1261
1341
  kind: "capability" | "secret";
1262
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
1342
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
1263
1343
  detail?: string | undefined;
1264
1344
  why?: string | undefined;
1265
1345
  approvers: string[];
@@ -1272,6 +1352,37 @@ export declare const runnerContract: {
1272
1352
  id: string;
1273
1353
  conversationId: string;
1274
1354
  subject: {
1355
+ kind: "wsl-memory";
1356
+ device: string;
1357
+ configPath: string;
1358
+ fit: {
1359
+ at: number;
1360
+ windowMs: number;
1361
+ readings: number;
1362
+ totalBytes: number;
1363
+ lowLineBytes: number;
1364
+ underLowShare: number;
1365
+ availableMedianBytes: number;
1366
+ vmMedianBytes: number;
1367
+ outsideBytes: number;
1368
+ configuredGb?: number | undefined;
1369
+ proposedGb: number;
1370
+ atFloor: boolean;
1371
+ capsOver?: {
1372
+ name: string;
1373
+ memoryBytes: number;
1374
+ }[] | undefined;
1375
+ text: string;
1376
+ };
1377
+ } | {
1378
+ kind: "deploy";
1379
+ repo: string;
1380
+ stack: string;
1381
+ device: string;
1382
+ deviceName?: string | undefined;
1383
+ secrets: string[];
1384
+ ungranted: string[];
1385
+ } | {
1275
1386
  kind: "capability";
1276
1387
  entry: string;
1277
1388
  name: string;
@@ -1290,6 +1401,7 @@ export declare const runnerContract: {
1290
1401
  hint?: string | undefined;
1291
1402
  replace?: boolean | undefined;
1292
1403
  multiline?: boolean | undefined;
1404
+ hosts?: string[] | undefined;
1293
1405
  } | {
1294
1406
  kind: "grant";
1295
1407
  subject: "capability" | "folder" | "shelf" | "site";
@@ -1339,6 +1451,7 @@ export declare const runnerContract: {
1339
1451
  mentioned?: boolean | undefined;
1340
1452
  branch?: string | undefined;
1341
1453
  allowedOrigins?: string[] | undefined;
1454
+ keyFromBrowsers?: boolean | undefined;
1342
1455
  } | {
1343
1456
  kind: "workspace";
1344
1457
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -1358,6 +1471,9 @@ export declare const runnerContract: {
1358
1471
  kind: "url";
1359
1472
  url: string;
1360
1473
  select?: string | undefined;
1474
+ } | {
1475
+ [x: string]: string | boolean;
1476
+ kind: string;
1361
1477
  } | undefined;
1362
1478
  fireOn?: "change" | "pass" | undefined;
1363
1479
  until?: "first-fire" | undefined;
@@ -1369,6 +1485,10 @@ export declare const runnerContract: {
1369
1485
  conversationId: string;
1370
1486
  } | {
1371
1487
  kind: "notify";
1488
+ } | {
1489
+ kind: "extension";
1490
+ extension: string;
1491
+ handler: string;
1372
1492
  } | undefined;
1373
1493
  note?: string | undefined;
1374
1494
  prompt: string;
@@ -1437,6 +1557,27 @@ export declare const runnerContract: {
1437
1557
  saw: string;
1438
1558
  at: number;
1439
1559
  } | undefined;
1560
+ watchKind?: {
1561
+ id: string;
1562
+ label: string;
1563
+ icon?: string | undefined;
1564
+ logo?: string | undefined;
1565
+ description: string;
1566
+ sentence: string;
1567
+ fields: {
1568
+ key: string;
1569
+ label: string;
1570
+ type?: "switch" | "text" | undefined;
1571
+ required?: boolean | undefined;
1572
+ placeholder?: string | undefined;
1573
+ hint?: string | undefined;
1574
+ pattern?: string | undefined;
1575
+ patternHint?: string | undefined;
1576
+ maxLength?: number | undefined;
1577
+ }[];
1578
+ extension: string;
1579
+ enabled: boolean;
1580
+ } | undefined;
1440
1581
  } | {
1441
1582
  kind: "instruction";
1442
1583
  file: string;
@@ -1458,9 +1599,14 @@ export declare const runnerContract: {
1458
1599
  plans?: string[] | undefined;
1459
1600
  fixable: boolean;
1460
1601
  command?: string | undefined;
1602
+ offers?: string[] | undefined;
1603
+ pausedUntil?: number | undefined;
1604
+ restartPending?: boolean | undefined;
1605
+ comesBack?: "boot" | "sign-in" | undefined;
1461
1606
  text: string;
1462
1607
  }[];
1463
1608
  dueAt?: number | undefined;
1609
+ utcOffsetMinutes?: number | undefined;
1464
1610
  } | {
1465
1611
  kind: "claim";
1466
1612
  project: string;
@@ -1473,6 +1619,16 @@ export declare const runnerContract: {
1473
1619
  scopes: ("drop" | "read" | "report" | "task")[];
1474
1620
  address?: string | undefined;
1475
1621
  from?: string | undefined;
1622
+ } | {
1623
+ kind: "redirect";
1624
+ target: string;
1625
+ targetName: string;
1626
+ address?: string | undefined;
1627
+ person: string;
1628
+ words: string;
1629
+ clipped?: boolean | undefined;
1630
+ attachments?: number | undefined;
1631
+ project?: string | undefined;
1476
1632
  };
1477
1633
  title: string;
1478
1634
  why?: string | undefined;
@@ -1584,6 +1740,7 @@ export declare const runnerContract: {
1584
1740
  requestId: string;
1585
1741
  decision: "always" | "deny" | "everything" | "once";
1586
1742
  feedback?: string | undefined;
1743
+ keep?: true | undefined;
1587
1744
  child?: {
1588
1745
  provider: string;
1589
1746
  model: string;
@@ -1738,8 +1895,10 @@ export declare const runnerContract: {
1738
1895
  displayName?: string | undefined;
1739
1896
  description?: string | undefined;
1740
1897
  reason?: string | undefined;
1898
+ outside?: string | undefined;
1741
1899
  path?: string | undefined;
1742
1900
  alwaysLabel?: string | undefined;
1901
+ keepLabel?: string | undefined;
1743
1902
  alwaysAsks?: true | undefined;
1744
1903
  program?: {
1745
1904
  text: string;
@@ -1762,6 +1921,7 @@ export declare const runnerContract: {
1762
1921
  child?: string | undefined;
1763
1922
  task?: string | undefined;
1764
1923
  message?: string | undefined;
1924
+ headings?: string[] | undefined;
1765
1925
  on?: string | undefined;
1766
1926
  proposed?: {
1767
1927
  provider: string;
@@ -2213,8 +2373,10 @@ export declare const runnerContract: {
2213
2373
  displayName: z.ZodOptional<z.ZodString>;
2214
2374
  description: z.ZodOptional<z.ZodString>;
2215
2375
  reason: z.ZodOptional<z.ZodString>;
2376
+ outside: z.ZodOptional<z.ZodString>;
2216
2377
  path: z.ZodOptional<z.ZodString>;
2217
2378
  alwaysLabel: z.ZodOptional<z.ZodString>;
2379
+ keepLabel: z.ZodOptional<z.ZodString>;
2218
2380
  alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
2219
2381
  program: z.ZodOptional<z.ZodObject<{
2220
2382
  text: z.ZodString;
@@ -2252,6 +2414,7 @@ export declare const runnerContract: {
2252
2414
  child: z.ZodOptional<z.ZodString>;
2253
2415
  task: z.ZodOptional<z.ZodString>;
2254
2416
  message: z.ZodOptional<z.ZodString>;
2417
+ headings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2255
2418
  on: z.ZodOptional<z.ZodString>;
2256
2419
  proposed: z.ZodOptional<z.ZodObject<{
2257
2420
  provider: z.ZodString;
@@ -2340,6 +2503,7 @@ export declare const runnerContract: {
2340
2503
  desktop: "desktop";
2341
2504
  device: "device";
2342
2505
  gateway: "gateway";
2506
+ mcp: "mcp";
2343
2507
  otp: "otp";
2344
2508
  session: "session";
2345
2509
  shell: "shell";
@@ -2391,6 +2555,7 @@ export declare const runnerContract: {
2391
2555
  hint: z.ZodOptional<z.ZodString>;
2392
2556
  replace: z.ZodOptional<z.ZodBoolean>;
2393
2557
  multiline: z.ZodOptional<z.ZodBoolean>;
2558
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2394
2559
  }, z.core.$strip>, z.ZodObject<{
2395
2560
  kind: z.ZodLiteral<"grant">;
2396
2561
  subject: z.ZodEnum<{
@@ -2452,6 +2617,7 @@ export declare const runnerContract: {
2452
2617
  mentioned: z.ZodOptional<z.ZodBoolean>;
2453
2618
  branch: z.ZodOptional<z.ZodString>;
2454
2619
  allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
2620
+ keyFromBrowsers: z.ZodOptional<z.ZodBoolean>;
2455
2621
  }, z.core.$strip>, z.ZodObject<{
2456
2622
  kind: z.ZodLiteral<"workspace">;
2457
2623
  event: z.ZodEnum<{
@@ -2463,7 +2629,7 @@ export declare const runnerContract: {
2463
2629
  repo: z.ZodOptional<z.ZodString>;
2464
2630
  }, z.core.$strip>], "kind">;
2465
2631
  guard: z.ZodOptional<z.ZodString>;
2466
- source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2632
+ source: z.ZodOptional<z.ZodXor<readonly [z.ZodObject<{
2467
2633
  kind: z.ZodLiteral<"npm">;
2468
2634
  package: z.ZodString;
2469
2635
  range: z.ZodOptional<z.ZodString>;
@@ -2476,7 +2642,9 @@ export declare const runnerContract: {
2476
2642
  kind: z.ZodLiteral<"url">;
2477
2643
  url: z.ZodString;
2478
2644
  select: z.ZodOptional<z.ZodString>;
2479
- }, z.core.$strip>], "kind">>;
2645
+ }, z.core.$strip>, z.ZodObject<{
2646
+ kind: z.ZodString;
2647
+ }, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>]>>;
2480
2648
  fireOn: z.ZodOptional<z.ZodEnum<{
2481
2649
  change: "change";
2482
2650
  pass: "pass";
@@ -2492,6 +2660,10 @@ export declare const runnerContract: {
2492
2660
  conversationId: z.ZodString;
2493
2661
  }, z.core.$strip>, z.ZodObject<{
2494
2662
  kind: z.ZodLiteral<"notify">;
2663
+ }, z.core.$strip>, z.ZodObject<{
2664
+ kind: z.ZodLiteral<"extension">;
2665
+ extension: z.ZodString;
2666
+ handler: z.ZodString;
2495
2667
  }, z.core.$strip>], "kind">>;
2496
2668
  note: z.ZodOptional<z.ZodString>;
2497
2669
  prompt: z.ZodString;
@@ -2585,6 +2757,30 @@ export declare const runnerContract: {
2585
2757
  saw: z.ZodString;
2586
2758
  at: z.ZodNumber;
2587
2759
  }, z.core.$strip>>;
2760
+ watchKind: z.ZodOptional<z.ZodObject<{
2761
+ id: z.ZodString;
2762
+ label: z.ZodString;
2763
+ icon: z.ZodOptional<z.ZodString>;
2764
+ logo: z.ZodOptional<z.ZodString>;
2765
+ description: z.ZodString;
2766
+ sentence: z.ZodString;
2767
+ fields: z.ZodArray<z.ZodObject<{
2768
+ key: z.ZodString;
2769
+ label: z.ZodString;
2770
+ type: z.ZodOptional<z.ZodEnum<{
2771
+ switch: "switch";
2772
+ text: "text";
2773
+ }>>;
2774
+ required: z.ZodOptional<z.ZodBoolean>;
2775
+ placeholder: z.ZodOptional<z.ZodString>;
2776
+ hint: z.ZodOptional<z.ZodString>;
2777
+ pattern: z.ZodOptional<z.ZodString>;
2778
+ patternHint: z.ZodOptional<z.ZodString>;
2779
+ maxLength: z.ZodOptional<z.ZodNumber>;
2780
+ }, z.core.$strip>>;
2781
+ extension: z.ZodString;
2782
+ enabled: z.ZodBoolean;
2783
+ }, z.core.$strip>>;
2588
2784
  }, z.core.$strip>, z.ZodObject<{
2589
2785
  kind: z.ZodLiteral<"instruction">;
2590
2786
  file: z.ZodString;
@@ -2609,9 +2805,40 @@ export declare const runnerContract: {
2609
2805
  plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
2610
2806
  fixable: z.ZodBoolean;
2611
2807
  command: z.ZodOptional<z.ZodString>;
2808
+ offers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2809
+ pausedUntil: z.ZodOptional<z.ZodNumber>;
2810
+ restartPending: z.ZodOptional<z.ZodBoolean>;
2811
+ comesBack: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
2812
+ boot: "boot";
2813
+ "sign-in": "sign-in";
2814
+ }>>>;
2612
2815
  text: z.ZodString;
2613
2816
  }, z.core.$strip>>;
2614
2817
  dueAt: z.ZodOptional<z.ZodNumber>;
2818
+ utcOffsetMinutes: z.ZodOptional<z.ZodNumber>;
2819
+ }, z.core.$strip>, z.ZodObject<{
2820
+ kind: z.ZodLiteral<"wsl-memory">;
2821
+ device: z.ZodString;
2822
+ configPath: z.ZodString;
2823
+ fit: z.ZodObject<{
2824
+ at: z.ZodNumber;
2825
+ windowMs: z.ZodNumber;
2826
+ readings: z.ZodNumber;
2827
+ totalBytes: z.ZodNumber;
2828
+ lowLineBytes: z.ZodNumber;
2829
+ underLowShare: z.ZodNumber;
2830
+ availableMedianBytes: z.ZodNumber;
2831
+ vmMedianBytes: z.ZodNumber;
2832
+ outsideBytes: z.ZodNumber;
2833
+ configuredGb: z.ZodOptional<z.ZodNumber>;
2834
+ proposedGb: z.ZodNumber;
2835
+ atFloor: z.ZodBoolean;
2836
+ capsOver: z.ZodOptional<z.ZodArray<z.ZodObject<{
2837
+ name: z.ZodString;
2838
+ memoryBytes: z.ZodNumber;
2839
+ }, z.core.$strip>>>;
2840
+ text: z.ZodString;
2841
+ }, z.core.$strip>;
2615
2842
  }, z.core.$strip>, z.ZodObject<{
2616
2843
  kind: z.ZodLiteral<"claim">;
2617
2844
  project: z.ZodString;
@@ -2629,6 +2856,24 @@ export declare const runnerContract: {
2629
2856
  }>>;
2630
2857
  address: z.ZodOptional<z.ZodString>;
2631
2858
  from: z.ZodOptional<z.ZodString>;
2859
+ }, z.core.$strip>, z.ZodObject<{
2860
+ kind: z.ZodLiteral<"redirect">;
2861
+ target: z.ZodString;
2862
+ targetName: z.ZodString;
2863
+ address: z.ZodOptional<z.ZodString>;
2864
+ person: z.ZodString;
2865
+ words: z.ZodString;
2866
+ clipped: z.ZodOptional<z.ZodBoolean>;
2867
+ attachments: z.ZodOptional<z.ZodNumber>;
2868
+ project: z.ZodOptional<z.ZodString>;
2869
+ }, z.core.$strip>, z.ZodObject<{
2870
+ kind: z.ZodLiteral<"deploy">;
2871
+ repo: z.ZodString;
2872
+ stack: z.ZodString;
2873
+ device: z.ZodString;
2874
+ deviceName: z.ZodOptional<z.ZodString>;
2875
+ secrets: z.ZodArray<z.ZodString>;
2876
+ ungranted: z.ZodArray<z.ZodString>;
2632
2877
  }, z.core.$strip>], "kind">;
2633
2878
  title: z.ZodString;
2634
2879
  why: z.ZodOptional<z.ZodString>;
@@ -2782,6 +3027,7 @@ export declare const runnerContract: {
2782
3027
  once: "once";
2783
3028
  }>;
2784
3029
  feedback: z.ZodOptional<z.ZodString>;
3030
+ keep: z.ZodOptional<z.ZodLiteral<true>>;
2785
3031
  child: z.ZodOptional<z.ZodObject<{
2786
3032
  provider: z.ZodString;
2787
3033
  model: z.ZodString;
@@ -3264,7 +3510,7 @@ export declare const runnerContract: {
3264
3510
  offer: {
3265
3511
  subject: string;
3266
3512
  kind: "capability" | "secret";
3267
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
3513
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
3268
3514
  detail?: string | undefined;
3269
3515
  why?: string | undefined;
3270
3516
  approvers: string[];
@@ -3277,6 +3523,37 @@ export declare const runnerContract: {
3277
3523
  id: string;
3278
3524
  conversationId: string;
3279
3525
  subject: {
3526
+ kind: "wsl-memory";
3527
+ device: string;
3528
+ configPath: string;
3529
+ fit: {
3530
+ at: number;
3531
+ windowMs: number;
3532
+ readings: number;
3533
+ totalBytes: number;
3534
+ lowLineBytes: number;
3535
+ underLowShare: number;
3536
+ availableMedianBytes: number;
3537
+ vmMedianBytes: number;
3538
+ outsideBytes: number;
3539
+ configuredGb?: number | undefined;
3540
+ proposedGb: number;
3541
+ atFloor: boolean;
3542
+ capsOver?: {
3543
+ name: string;
3544
+ memoryBytes: number;
3545
+ }[] | undefined;
3546
+ text: string;
3547
+ };
3548
+ } | {
3549
+ kind: "deploy";
3550
+ repo: string;
3551
+ stack: string;
3552
+ device: string;
3553
+ deviceName?: string | undefined;
3554
+ secrets: string[];
3555
+ ungranted: string[];
3556
+ } | {
3280
3557
  kind: "capability";
3281
3558
  entry: string;
3282
3559
  name: string;
@@ -3295,6 +3572,7 @@ export declare const runnerContract: {
3295
3572
  hint?: string | undefined;
3296
3573
  replace?: boolean | undefined;
3297
3574
  multiline?: boolean | undefined;
3575
+ hosts?: string[] | undefined;
3298
3576
  } | {
3299
3577
  kind: "grant";
3300
3578
  subject: "capability" | "folder" | "shelf" | "site";
@@ -3342,6 +3620,7 @@ export declare const runnerContract: {
3342
3620
  mentioned?: boolean | undefined;
3343
3621
  branch?: string | undefined;
3344
3622
  allowedOrigins?: string[] | undefined;
3623
+ keyFromBrowsers?: boolean | undefined;
3345
3624
  } | {
3346
3625
  kind: "workspace";
3347
3626
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -3361,6 +3640,9 @@ export declare const runnerContract: {
3361
3640
  kind: "url";
3362
3641
  url: string;
3363
3642
  select?: string | undefined;
3643
+ } | {
3644
+ [x: string]: string | boolean;
3645
+ kind: string;
3364
3646
  } | undefined;
3365
3647
  fireOn?: "change" | "pass" | undefined;
3366
3648
  until?: "first-fire" | undefined;
@@ -3372,6 +3654,10 @@ export declare const runnerContract: {
3372
3654
  conversationId: string;
3373
3655
  } | {
3374
3656
  kind: "notify";
3657
+ } | {
3658
+ kind: "extension";
3659
+ extension: string;
3660
+ handler: string;
3375
3661
  } | undefined;
3376
3662
  note?: string | undefined;
3377
3663
  prompt: string;
@@ -3440,6 +3726,27 @@ export declare const runnerContract: {
3440
3726
  saw: string;
3441
3727
  at: number;
3442
3728
  } | undefined;
3729
+ watchKind?: {
3730
+ id: string;
3731
+ label: string;
3732
+ icon?: string | undefined;
3733
+ logo?: string | undefined;
3734
+ description: string;
3735
+ sentence: string;
3736
+ fields: {
3737
+ key: string;
3738
+ label: string;
3739
+ type?: "switch" | "text" | undefined;
3740
+ required?: boolean | undefined;
3741
+ placeholder?: string | undefined;
3742
+ hint?: string | undefined;
3743
+ pattern?: string | undefined;
3744
+ patternHint?: string | undefined;
3745
+ maxLength?: number | undefined;
3746
+ }[];
3747
+ extension: string;
3748
+ enabled: boolean;
3749
+ } | undefined;
3443
3750
  } | {
3444
3751
  kind: "instruction";
3445
3752
  file: string;
@@ -3461,9 +3768,14 @@ export declare const runnerContract: {
3461
3768
  plans?: string[] | undefined;
3462
3769
  fixable: boolean;
3463
3770
  command?: string | undefined;
3771
+ offers?: string[] | undefined;
3772
+ pausedUntil?: number | undefined;
3773
+ restartPending?: boolean | undefined;
3774
+ comesBack?: "boot" | "sign-in" | undefined;
3464
3775
  text: string;
3465
3776
  }[];
3466
3777
  dueAt?: number | undefined;
3778
+ utcOffsetMinutes?: number | undefined;
3467
3779
  } | {
3468
3780
  kind: "claim";
3469
3781
  project: string;
@@ -3476,6 +3788,16 @@ export declare const runnerContract: {
3476
3788
  scopes: ("drop" | "read" | "report" | "task")[];
3477
3789
  address?: string | undefined;
3478
3790
  from?: string | undefined;
3791
+ } | {
3792
+ kind: "redirect";
3793
+ target: string;
3794
+ targetName: string;
3795
+ address?: string | undefined;
3796
+ person: string;
3797
+ words: string;
3798
+ clipped?: boolean | undefined;
3799
+ attachments?: number | undefined;
3800
+ project?: string | undefined;
3479
3801
  };
3480
3802
  title: string;
3481
3803
  why?: string | undefined;
@@ -3587,6 +3909,7 @@ export declare const runnerContract: {
3587
3909
  requestId: string;
3588
3910
  decision: "always" | "deny" | "everything" | "once";
3589
3911
  feedback?: string | undefined;
3912
+ keep?: true | undefined;
3590
3913
  child?: {
3591
3914
  provider: string;
3592
3915
  model: string;
@@ -3741,8 +4064,10 @@ export declare const runnerContract: {
3741
4064
  displayName?: string | undefined;
3742
4065
  description?: string | undefined;
3743
4066
  reason?: string | undefined;
4067
+ outside?: string | undefined;
3744
4068
  path?: string | undefined;
3745
4069
  alwaysLabel?: string | undefined;
4070
+ keepLabel?: string | undefined;
3746
4071
  alwaysAsks?: true | undefined;
3747
4072
  program?: {
3748
4073
  text: string;
@@ -3765,6 +4090,7 @@ export declare const runnerContract: {
3765
4090
  child?: string | undefined;
3766
4091
  task?: string | undefined;
3767
4092
  message?: string | undefined;
4093
+ headings?: string[] | undefined;
3768
4094
  on?: string | undefined;
3769
4095
  proposed?: {
3770
4096
  provider: string;
@@ -4105,7 +4431,7 @@ export declare const runnerContract: {
4105
4431
  offer: {
4106
4432
  subject: string;
4107
4433
  kind: "capability" | "secret";
4108
- lane: "browser" | "code" | "desktop" | "device" | "gateway" | "otp" | "session" | "shell" | "ssh";
4434
+ lane: "browser" | "code" | "desktop" | "device" | "gateway" | "mcp" | "otp" | "session" | "shell" | "ssh";
4109
4435
  detail?: string | undefined;
4110
4436
  why?: string | undefined;
4111
4437
  approvers: string[];
@@ -4118,6 +4444,37 @@ export declare const runnerContract: {
4118
4444
  id: string;
4119
4445
  conversationId: string;
4120
4446
  subject: {
4447
+ kind: "wsl-memory";
4448
+ device: string;
4449
+ configPath: string;
4450
+ fit: {
4451
+ at: number;
4452
+ windowMs: number;
4453
+ readings: number;
4454
+ totalBytes: number;
4455
+ lowLineBytes: number;
4456
+ underLowShare: number;
4457
+ availableMedianBytes: number;
4458
+ vmMedianBytes: number;
4459
+ outsideBytes: number;
4460
+ configuredGb?: number | undefined;
4461
+ proposedGb: number;
4462
+ atFloor: boolean;
4463
+ capsOver?: {
4464
+ name: string;
4465
+ memoryBytes: number;
4466
+ }[] | undefined;
4467
+ text: string;
4468
+ };
4469
+ } | {
4470
+ kind: "deploy";
4471
+ repo: string;
4472
+ stack: string;
4473
+ device: string;
4474
+ deviceName?: string | undefined;
4475
+ secrets: string[];
4476
+ ungranted: string[];
4477
+ } | {
4121
4478
  kind: "capability";
4122
4479
  entry: string;
4123
4480
  name: string;
@@ -4136,6 +4493,7 @@ export declare const runnerContract: {
4136
4493
  hint?: string | undefined;
4137
4494
  replace?: boolean | undefined;
4138
4495
  multiline?: boolean | undefined;
4496
+ hosts?: string[] | undefined;
4139
4497
  } | {
4140
4498
  kind: "grant";
4141
4499
  subject: "capability" | "folder" | "shelf" | "site";
@@ -4185,6 +4543,7 @@ export declare const runnerContract: {
4185
4543
  mentioned?: boolean | undefined;
4186
4544
  branch?: string | undefined;
4187
4545
  allowedOrigins?: string[] | undefined;
4546
+ keyFromBrowsers?: boolean | undefined;
4188
4547
  } | {
4189
4548
  kind: "workspace";
4190
4549
  event: "agent.landed" | "deps.broken" | "deps.fixed" | "turn.settled";
@@ -4204,6 +4563,9 @@ export declare const runnerContract: {
4204
4563
  kind: "url";
4205
4564
  url: string;
4206
4565
  select?: string | undefined;
4566
+ } | {
4567
+ [x: string]: string | boolean;
4568
+ kind: string;
4207
4569
  } | undefined;
4208
4570
  fireOn?: "change" | "pass" | undefined;
4209
4571
  until?: "first-fire" | undefined;
@@ -4215,6 +4577,10 @@ export declare const runnerContract: {
4215
4577
  conversationId: string;
4216
4578
  } | {
4217
4579
  kind: "notify";
4580
+ } | {
4581
+ kind: "extension";
4582
+ extension: string;
4583
+ handler: string;
4218
4584
  } | undefined;
4219
4585
  note?: string | undefined;
4220
4586
  prompt: string;
@@ -4283,6 +4649,27 @@ export declare const runnerContract: {
4283
4649
  saw: string;
4284
4650
  at: number;
4285
4651
  } | undefined;
4652
+ watchKind?: {
4653
+ id: string;
4654
+ label: string;
4655
+ icon?: string | undefined;
4656
+ logo?: string | undefined;
4657
+ description: string;
4658
+ sentence: string;
4659
+ fields: {
4660
+ key: string;
4661
+ label: string;
4662
+ type?: "switch" | "text" | undefined;
4663
+ required?: boolean | undefined;
4664
+ placeholder?: string | undefined;
4665
+ hint?: string | undefined;
4666
+ pattern?: string | undefined;
4667
+ patternHint?: string | undefined;
4668
+ maxLength?: number | undefined;
4669
+ }[];
4670
+ extension: string;
4671
+ enabled: boolean;
4672
+ } | undefined;
4286
4673
  } | {
4287
4674
  kind: "instruction";
4288
4675
  file: string;
@@ -4304,9 +4691,14 @@ export declare const runnerContract: {
4304
4691
  plans?: string[] | undefined;
4305
4692
  fixable: boolean;
4306
4693
  command?: string | undefined;
4694
+ offers?: string[] | undefined;
4695
+ pausedUntil?: number | undefined;
4696
+ restartPending?: boolean | undefined;
4697
+ comesBack?: "boot" | "sign-in" | undefined;
4307
4698
  text: string;
4308
4699
  }[];
4309
4700
  dueAt?: number | undefined;
4701
+ utcOffsetMinutes?: number | undefined;
4310
4702
  } | {
4311
4703
  kind: "claim";
4312
4704
  project: string;
@@ -4319,6 +4711,16 @@ export declare const runnerContract: {
4319
4711
  scopes: ("drop" | "read" | "report" | "task")[];
4320
4712
  address?: string | undefined;
4321
4713
  from?: string | undefined;
4714
+ } | {
4715
+ kind: "redirect";
4716
+ target: string;
4717
+ targetName: string;
4718
+ address?: string | undefined;
4719
+ person: string;
4720
+ words: string;
4721
+ clipped?: boolean | undefined;
4722
+ attachments?: number | undefined;
4723
+ project?: string | undefined;
4322
4724
  };
4323
4725
  title: string;
4324
4726
  why?: string | undefined;
@@ -4430,6 +4832,7 @@ export declare const runnerContract: {
4430
4832
  requestId: string;
4431
4833
  decision: "always" | "deny" | "everything" | "once";
4432
4834
  feedback?: string | undefined;
4835
+ keep?: true | undefined;
4433
4836
  child?: {
4434
4837
  provider: string;
4435
4838
  model: string;
@@ -4584,8 +4987,10 @@ export declare const runnerContract: {
4584
4987
  displayName?: string | undefined;
4585
4988
  description?: string | undefined;
4586
4989
  reason?: string | undefined;
4990
+ outside?: string | undefined;
4587
4991
  path?: string | undefined;
4588
4992
  alwaysLabel?: string | undefined;
4993
+ keepLabel?: string | undefined;
4589
4994
  alwaysAsks?: true | undefined;
4590
4995
  program?: {
4591
4996
  text: string;
@@ -4608,6 +5013,7 @@ export declare const runnerContract: {
4608
5013
  child?: string | undefined;
4609
5014
  task?: string | undefined;
4610
5015
  message?: string | undefined;
5016
+ headings?: string[] | undefined;
4611
5017
  on?: string | undefined;
4612
5018
  proposed?: {
4613
5019
  provider: string;
@@ -5059,8 +5465,10 @@ export declare const runnerContract: {
5059
5465
  displayName: z.ZodOptional<z.ZodString>;
5060
5466
  description: z.ZodOptional<z.ZodString>;
5061
5467
  reason: z.ZodOptional<z.ZodString>;
5468
+ outside: z.ZodOptional<z.ZodString>;
5062
5469
  path: z.ZodOptional<z.ZodString>;
5063
5470
  alwaysLabel: z.ZodOptional<z.ZodString>;
5471
+ keepLabel: z.ZodOptional<z.ZodString>;
5064
5472
  alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
5065
5473
  program: z.ZodOptional<z.ZodObject<{
5066
5474
  text: z.ZodString;
@@ -5098,6 +5506,7 @@ export declare const runnerContract: {
5098
5506
  child: z.ZodOptional<z.ZodString>;
5099
5507
  task: z.ZodOptional<z.ZodString>;
5100
5508
  message: z.ZodOptional<z.ZodString>;
5509
+ headings: z.ZodOptional<z.ZodArray<z.ZodString>>;
5101
5510
  on: z.ZodOptional<z.ZodString>;
5102
5511
  proposed: z.ZodOptional<z.ZodObject<{
5103
5512
  provider: z.ZodString;
@@ -5186,6 +5595,7 @@ export declare const runnerContract: {
5186
5595
  desktop: "desktop";
5187
5596
  device: "device";
5188
5597
  gateway: "gateway";
5598
+ mcp: "mcp";
5189
5599
  otp: "otp";
5190
5600
  session: "session";
5191
5601
  shell: "shell";
@@ -5237,6 +5647,7 @@ export declare const runnerContract: {
5237
5647
  hint: z.ZodOptional<z.ZodString>;
5238
5648
  replace: z.ZodOptional<z.ZodBoolean>;
5239
5649
  multiline: z.ZodOptional<z.ZodBoolean>;
5650
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5240
5651
  }, z.core.$strip>, z.ZodObject<{
5241
5652
  kind: z.ZodLiteral<"grant">;
5242
5653
  subject: z.ZodEnum<{
@@ -5298,6 +5709,7 @@ export declare const runnerContract: {
5298
5709
  mentioned: z.ZodOptional<z.ZodBoolean>;
5299
5710
  branch: z.ZodOptional<z.ZodString>;
5300
5711
  allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
5712
+ keyFromBrowsers: z.ZodOptional<z.ZodBoolean>;
5301
5713
  }, z.core.$strip>, z.ZodObject<{
5302
5714
  kind: z.ZodLiteral<"workspace">;
5303
5715
  event: z.ZodEnum<{
@@ -5309,7 +5721,7 @@ export declare const runnerContract: {
5309
5721
  repo: z.ZodOptional<z.ZodString>;
5310
5722
  }, z.core.$strip>], "kind">;
5311
5723
  guard: z.ZodOptional<z.ZodString>;
5312
- source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5724
+ source: z.ZodOptional<z.ZodXor<readonly [z.ZodObject<{
5313
5725
  kind: z.ZodLiteral<"npm">;
5314
5726
  package: z.ZodString;
5315
5727
  range: z.ZodOptional<z.ZodString>;
@@ -5322,7 +5734,9 @@ export declare const runnerContract: {
5322
5734
  kind: z.ZodLiteral<"url">;
5323
5735
  url: z.ZodString;
5324
5736
  select: z.ZodOptional<z.ZodString>;
5325
- }, z.core.$strip>], "kind">>;
5737
+ }, z.core.$strip>, z.ZodObject<{
5738
+ kind: z.ZodString;
5739
+ }, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>]>>;
5326
5740
  fireOn: z.ZodOptional<z.ZodEnum<{
5327
5741
  change: "change";
5328
5742
  pass: "pass";
@@ -5338,6 +5752,10 @@ export declare const runnerContract: {
5338
5752
  conversationId: z.ZodString;
5339
5753
  }, z.core.$strip>, z.ZodObject<{
5340
5754
  kind: z.ZodLiteral<"notify">;
5755
+ }, z.core.$strip>, z.ZodObject<{
5756
+ kind: z.ZodLiteral<"extension">;
5757
+ extension: z.ZodString;
5758
+ handler: z.ZodString;
5341
5759
  }, z.core.$strip>], "kind">>;
5342
5760
  note: z.ZodOptional<z.ZodString>;
5343
5761
  prompt: z.ZodString;
@@ -5431,6 +5849,30 @@ export declare const runnerContract: {
5431
5849
  saw: z.ZodString;
5432
5850
  at: z.ZodNumber;
5433
5851
  }, z.core.$strip>>;
5852
+ watchKind: z.ZodOptional<z.ZodObject<{
5853
+ id: z.ZodString;
5854
+ label: z.ZodString;
5855
+ icon: z.ZodOptional<z.ZodString>;
5856
+ logo: z.ZodOptional<z.ZodString>;
5857
+ description: z.ZodString;
5858
+ sentence: z.ZodString;
5859
+ fields: z.ZodArray<z.ZodObject<{
5860
+ key: z.ZodString;
5861
+ label: z.ZodString;
5862
+ type: z.ZodOptional<z.ZodEnum<{
5863
+ switch: "switch";
5864
+ text: "text";
5865
+ }>>;
5866
+ required: z.ZodOptional<z.ZodBoolean>;
5867
+ placeholder: z.ZodOptional<z.ZodString>;
5868
+ hint: z.ZodOptional<z.ZodString>;
5869
+ pattern: z.ZodOptional<z.ZodString>;
5870
+ patternHint: z.ZodOptional<z.ZodString>;
5871
+ maxLength: z.ZodOptional<z.ZodNumber>;
5872
+ }, z.core.$strip>>;
5873
+ extension: z.ZodString;
5874
+ enabled: z.ZodBoolean;
5875
+ }, z.core.$strip>>;
5434
5876
  }, z.core.$strip>, z.ZodObject<{
5435
5877
  kind: z.ZodLiteral<"instruction">;
5436
5878
  file: z.ZodString;
@@ -5455,9 +5897,40 @@ export declare const runnerContract: {
5455
5897
  plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
5456
5898
  fixable: z.ZodBoolean;
5457
5899
  command: z.ZodOptional<z.ZodString>;
5900
+ offers: z.ZodOptional<z.ZodArray<z.ZodString>>;
5901
+ pausedUntil: z.ZodOptional<z.ZodNumber>;
5902
+ restartPending: z.ZodOptional<z.ZodBoolean>;
5903
+ comesBack: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
5904
+ boot: "boot";
5905
+ "sign-in": "sign-in";
5906
+ }>>>;
5458
5907
  text: z.ZodString;
5459
5908
  }, z.core.$strip>>;
5460
5909
  dueAt: z.ZodOptional<z.ZodNumber>;
5910
+ utcOffsetMinutes: z.ZodOptional<z.ZodNumber>;
5911
+ }, z.core.$strip>, z.ZodObject<{
5912
+ kind: z.ZodLiteral<"wsl-memory">;
5913
+ device: z.ZodString;
5914
+ configPath: z.ZodString;
5915
+ fit: z.ZodObject<{
5916
+ at: z.ZodNumber;
5917
+ windowMs: z.ZodNumber;
5918
+ readings: z.ZodNumber;
5919
+ totalBytes: z.ZodNumber;
5920
+ lowLineBytes: z.ZodNumber;
5921
+ underLowShare: z.ZodNumber;
5922
+ availableMedianBytes: z.ZodNumber;
5923
+ vmMedianBytes: z.ZodNumber;
5924
+ outsideBytes: z.ZodNumber;
5925
+ configuredGb: z.ZodOptional<z.ZodNumber>;
5926
+ proposedGb: z.ZodNumber;
5927
+ atFloor: z.ZodBoolean;
5928
+ capsOver: z.ZodOptional<z.ZodArray<z.ZodObject<{
5929
+ name: z.ZodString;
5930
+ memoryBytes: z.ZodNumber;
5931
+ }, z.core.$strip>>>;
5932
+ text: z.ZodString;
5933
+ }, z.core.$strip>;
5461
5934
  }, z.core.$strip>, z.ZodObject<{
5462
5935
  kind: z.ZodLiteral<"claim">;
5463
5936
  project: z.ZodString;
@@ -5475,6 +5948,24 @@ export declare const runnerContract: {
5475
5948
  }>>;
5476
5949
  address: z.ZodOptional<z.ZodString>;
5477
5950
  from: z.ZodOptional<z.ZodString>;
5951
+ }, z.core.$strip>, z.ZodObject<{
5952
+ kind: z.ZodLiteral<"redirect">;
5953
+ target: z.ZodString;
5954
+ targetName: z.ZodString;
5955
+ address: z.ZodOptional<z.ZodString>;
5956
+ person: z.ZodString;
5957
+ words: z.ZodString;
5958
+ clipped: z.ZodOptional<z.ZodBoolean>;
5959
+ attachments: z.ZodOptional<z.ZodNumber>;
5960
+ project: z.ZodOptional<z.ZodString>;
5961
+ }, z.core.$strip>, z.ZodObject<{
5962
+ kind: z.ZodLiteral<"deploy">;
5963
+ repo: z.ZodString;
5964
+ stack: z.ZodString;
5965
+ device: z.ZodString;
5966
+ deviceName: z.ZodOptional<z.ZodString>;
5967
+ secrets: z.ZodArray<z.ZodString>;
5968
+ ungranted: z.ZodArray<z.ZodString>;
5478
5969
  }, z.core.$strip>], "kind">;
5479
5970
  title: z.ZodString;
5480
5971
  why: z.ZodOptional<z.ZodString>;
@@ -5628,6 +6119,7 @@ export declare const runnerContract: {
5628
6119
  once: "once";
5629
6120
  }>;
5630
6121
  feedback: z.ZodOptional<z.ZodString>;
6122
+ keep: z.ZodOptional<z.ZodLiteral<true>>;
5631
6123
  child: z.ZodOptional<z.ZodObject<{
5632
6124
  provider: z.ZodString;
5633
6125
  model: z.ZodString;
@@ -5887,6 +6379,7 @@ export declare const runnerContract: {
5887
6379
  once: "once";
5888
6380
  }>;
5889
6381
  feedback: z.ZodOptional<z.ZodString>;
6382
+ keep: z.ZodOptional<z.ZodLiteral<true>>;
5890
6383
  child: z.ZodOptional<z.ZodObject<{
5891
6384
  provider: z.ZodString;
5892
6385
  model: z.ZodString;