@hearsay-tools/squawk 0.18.0 → 0.19.0-rc.1

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 (2881) hide show
  1. package/README.md +57 -1436
  2. package/dist/activity/publisher.d.ts +6 -4
  3. package/dist/activity/publisher.js +7 -8
  4. package/dist/activity/publisher.js.map +1 -1
  5. package/dist/activity/read-model.d.ts +6 -2
  6. package/dist/activity/read-model.js +23 -21
  7. package/dist/activity/read-model.js.map +1 -1
  8. package/dist/activity/requests.d.ts +8 -2
  9. package/dist/activity/requests.js +3 -3
  10. package/dist/activity/requests.js.map +1 -1
  11. package/dist/activity/tool-activity.d.ts +6 -8
  12. package/dist/activity/tool-activity.js +10 -6
  13. package/dist/activity/tool-activity.js.map +1 -1
  14. package/dist/activity/wait.d.ts +5 -11
  15. package/dist/activity/wait.js +12 -8
  16. package/dist/activity/wait.js.map +1 -1
  17. package/dist/agent-config/catalog.d.ts +6 -62
  18. package/dist/agent-config/catalog.js +20 -376
  19. package/dist/agent-config/catalog.js.map +1 -1
  20. package/dist/agent-config/files.d.ts +1 -1
  21. package/dist/agent-config/files.js.map +1 -1
  22. package/dist/agent-config/model-settings/shared.d.ts +2 -3
  23. package/dist/agent-config/model-settings/shared.js +2 -2
  24. package/dist/agent-config/model-settings/shared.js.map +1 -1
  25. package/dist/agent-config/models.d.ts +8 -5
  26. package/dist/agent-config/models.js +8 -27
  27. package/dist/agent-config/models.js.map +1 -1
  28. package/dist/agent-config/seed.d.ts +2 -2
  29. package/dist/agent-config/seed.js +7 -12
  30. package/dist/agent-config/seed.js.map +1 -1
  31. package/dist/agent-config/service.d.ts +8 -4
  32. package/dist/agent-config/service.js +12 -6
  33. package/dist/agent-config/service.js.map +1 -1
  34. package/dist/agent-config/validate.d.ts +1 -1
  35. package/dist/artifacts/cli.d.ts +2 -0
  36. package/dist/artifacts/cli.js +4 -3
  37. package/dist/artifacts/cli.js.map +1 -1
  38. package/dist/artifacts/removal-slot.d.ts +3 -0
  39. package/dist/artifacts/removal-slot.js +7 -0
  40. package/dist/artifacts/removal-slot.js.map +1 -0
  41. package/dist/artifacts/reports-index.d.ts +16 -6
  42. package/dist/artifacts/reports-index.js +38 -35
  43. package/dist/artifacts/reports-index.js.map +1 -1
  44. package/dist/artifacts/reports-watch.js +2 -3
  45. package/dist/artifacts/reports-watch.js.map +1 -1
  46. package/dist/artifacts/resolve.js +1 -2
  47. package/dist/artifacts/resolve.js.map +1 -1
  48. package/dist/artifacts/store.d.ts +1 -1
  49. package/dist/artifacts/store.js +4 -2
  50. package/dist/artifacts/store.js.map +1 -1
  51. package/dist/automations/agent-tools.d.ts +2 -0
  52. package/dist/automations/agent-tools.js +24 -0
  53. package/dist/automations/agent-tools.js.map +1 -0
  54. package/dist/automations/automation-cli.d.ts +2 -0
  55. package/dist/automations/automation-cli.js +15 -7
  56. package/dist/automations/automation-cli.js.map +1 -1
  57. package/dist/automations/coordinator.js +1 -2
  58. package/dist/automations/coordinator.js.map +1 -1
  59. package/dist/automations/enabled.d.ts +2 -0
  60. package/dist/automations/enabled.js +6 -0
  61. package/dist/automations/enabled.js.map +1 -0
  62. package/dist/automations/github-baseline.js +2 -0
  63. package/dist/automations/github-baseline.js.map +1 -1
  64. package/dist/automations/github-poller.d.ts +3 -0
  65. package/dist/automations/github-poller.js +6 -6
  66. package/dist/automations/github-poller.js.map +1 -1
  67. package/dist/automations/github-repository.d.ts +22 -0
  68. package/dist/automations/github-repository.js +46 -0
  69. package/dist/automations/github-repository.js.map +1 -0
  70. package/dist/automations/prompts.d.ts +1 -4
  71. package/dist/automations/prompts.js +23 -63
  72. package/dist/automations/prompts.js.map +1 -1
  73. package/dist/automations/schedule-runner.js +6 -7
  74. package/dist/automations/schedule-runner.js.map +1 -1
  75. package/dist/automations/scheduler.d.ts +5 -4
  76. package/dist/automations/scheduler.js +59 -14
  77. package/dist/automations/scheduler.js.map +1 -1
  78. package/dist/automations/service.d.ts +41 -16
  79. package/dist/automations/service.js +14 -9
  80. package/dist/automations/service.js.map +1 -1
  81. package/dist/automations/store.d.ts +2 -0
  82. package/dist/automations/store.js +42 -5
  83. package/dist/automations/store.js.map +1 -1
  84. package/dist/automations/task-template.js +18 -13
  85. package/dist/automations/task-template.js.map +1 -1
  86. package/dist/automations/tool-adapter.d.ts +6 -1
  87. package/dist/automations/tool-adapter.js +104 -10
  88. package/dist/automations/tool-adapter.js.map +1 -1
  89. package/dist/automations/tool-catalog.d.ts +119 -0
  90. package/dist/automations/tool-catalog.js +48 -0
  91. package/dist/automations/tool-catalog.js.map +1 -0
  92. package/dist/automations/tool-client.d.ts +9 -0
  93. package/dist/automations/tool-client.js +19 -0
  94. package/dist/automations/tool-client.js.map +1 -0
  95. package/dist/automations/tool-env.d.ts +1 -0
  96. package/dist/automations/tool-env.js +3 -0
  97. package/dist/automations/tool-env.js.map +1 -0
  98. package/dist/automations/tool-errors.d.ts +9 -0
  99. package/dist/automations/tool-errors.js +34 -0
  100. package/dist/automations/tool-errors.js.map +1 -0
  101. package/dist/automations/tool-github.d.ts +9 -0
  102. package/dist/automations/tool-github.js +9 -0
  103. package/dist/automations/tool-github.js.map +1 -0
  104. package/dist/automations/tool-session.d.ts +5 -0
  105. package/dist/automations/tool-session.js +19 -0
  106. package/dist/automations/tool-session.js.map +1 -0
  107. package/dist/automations/tool-timeout.d.ts +2 -0
  108. package/dist/automations/tool-timeout.js +22 -0
  109. package/dist/automations/tool-timeout.js.map +1 -0
  110. package/dist/automations/tools.d.ts +325 -0
  111. package/dist/automations/tools.js +30 -0
  112. package/dist/automations/tools.js.map +1 -0
  113. package/dist/autosave-cleanup.d.ts +4 -2
  114. package/dist/autosave-cleanup.js +32 -9
  115. package/dist/autosave-cleanup.js.map +1 -1
  116. package/dist/autosave-commit.d.ts +52 -0
  117. package/dist/autosave-commit.js +408 -0
  118. package/dist/autosave-commit.js.map +1 -0
  119. package/dist/autosave-git.d.ts +16 -9
  120. package/dist/autosave-git.js +144 -50
  121. package/dist/autosave-git.js.map +1 -1
  122. package/dist/autosave-holders.d.ts +3 -1
  123. package/dist/autosave-holders.js +7 -4
  124. package/dist/autosave-holders.js.map +1 -1
  125. package/dist/autosave-removal-slots.d.ts +6 -0
  126. package/dist/autosave-removal-slots.js +13 -0
  127. package/dist/autosave-removal-slots.js.map +1 -0
  128. package/dist/boot.d.ts +36 -0
  129. package/dist/boot.js +81 -0
  130. package/dist/boot.js.map +1 -0
  131. package/dist/built-in-cli-commands.d.ts +6 -0
  132. package/dist/built-in-cli-commands.js +156 -0
  133. package/dist/built-in-cli-commands.js.map +1 -0
  134. package/dist/built-in-launch-parts.d.ts +14 -0
  135. package/dist/built-in-launch-parts.js +54 -0
  136. package/dist/built-in-launch-parts.js.map +1 -0
  137. package/dist/built-in-run-slots.d.ts +12 -0
  138. package/dist/built-in-run-slots.js +28 -0
  139. package/dist/built-in-run-slots.js.map +1 -0
  140. package/dist/built-in-tool-definitions.d.ts +2 -0
  141. package/dist/built-in-tool-definitions.js +29 -0
  142. package/dist/built-in-tool-definitions.js.map +1 -0
  143. package/dist/built-in-tools.d.ts +3 -0
  144. package/dist/built-in-tools.js +11 -0
  145. package/dist/built-in-tools.js.map +1 -0
  146. package/dist/built-in-wait-kinds.d.ts +4 -0
  147. package/dist/built-in-wait-kinds.js +14 -0
  148. package/dist/built-in-wait-kinds.js.map +1 -0
  149. package/dist/ci-wait/client.d.ts +80 -20
  150. package/dist/ci-wait/client.js +44 -40
  151. package/dist/ci-wait/client.js.map +1 -1
  152. package/dist/ci-wait/controller.d.ts +74 -722
  153. package/dist/ci-wait/controller.js +62 -178
  154. package/dist/ci-wait/controller.js.map +1 -1
  155. package/dist/ci-wait/errors.d.ts +11 -15
  156. package/dist/ci-wait/errors.js +32 -81
  157. package/dist/ci-wait/errors.js.map +1 -1
  158. package/dist/ci-wait/github.d.ts +52 -36
  159. package/dist/ci-wait/github.js +97 -83
  160. package/dist/ci-wait/github.js.map +1 -1
  161. package/dist/ci-wait/mcp.d.ts +1 -1
  162. package/dist/ci-wait/mcp.js +8 -6
  163. package/dist/ci-wait/mcp.js.map +1 -1
  164. package/dist/ci-wait/pr-wait-kind.d.ts +66 -0
  165. package/dist/ci-wait/pr-wait-kind.js +121 -0
  166. package/dist/ci-wait/pr-wait-kind.js.map +1 -0
  167. package/dist/ci-wait/progress.d.ts +2 -28
  168. package/dist/ci-wait/progress.js +3 -42
  169. package/dist/ci-wait/progress.js.map +1 -1
  170. package/dist/ci-wait/queued-checks.d.ts +15 -0
  171. package/dist/ci-wait/queued-checks.js +44 -0
  172. package/dist/ci-wait/queued-checks.js.map +1 -0
  173. package/dist/ci-wait/resource-pool.d.ts +17 -0
  174. package/dist/ci-wait/resource-pool.js +50 -0
  175. package/dist/ci-wait/resource-pool.js.map +1 -0
  176. package/dist/ci-wait/resources.d.ts +5 -8
  177. package/dist/ci-wait/resources.js +8 -42
  178. package/dist/ci-wait/resources.js.map +1 -1
  179. package/dist/ci-wait/supervisor.d.ts +5 -12
  180. package/dist/ci-wait/supervisor.js +147 -76
  181. package/dist/ci-wait/supervisor.js.map +1 -1
  182. package/dist/ci-wait/tool-catalog.d.ts +260 -0
  183. package/dist/ci-wait/tool-catalog.js +77 -0
  184. package/dist/ci-wait/tool-catalog.js.map +1 -0
  185. package/dist/ci-wait/tool-definition.d.ts +21 -0
  186. package/dist/ci-wait/tool-definition.js +9 -0
  187. package/dist/ci-wait/tool-definition.js.map +1 -0
  188. package/dist/ci-wait/tool-names.d.ts +3 -0
  189. package/dist/ci-wait/tool-names.js +13 -0
  190. package/dist/ci-wait/tool-names.js.map +1 -0
  191. package/dist/ci-wait/tool-registry.d.ts +68 -0
  192. package/dist/ci-wait/tool-registry.js +34 -0
  193. package/dist/ci-wait/tool-registry.js.map +1 -0
  194. package/dist/ci-wait/tools.d.ts +334 -632
  195. package/dist/ci-wait/tools.js +28 -191
  196. package/dist/ci-wait/tools.js.map +1 -1
  197. package/dist/cli-dispatch.d.ts +9 -10
  198. package/dist/cli-dispatch.js +100 -142
  199. package/dist/cli-dispatch.js.map +1 -1
  200. package/dist/config.d.ts +6 -43
  201. package/dist/config.js +52 -65
  202. package/dist/config.js.map +1 -1
  203. package/dist/contract/activity.d.ts +71 -56
  204. package/dist/contract/agent-config.d.ts +2 -16
  205. package/dist/contract/agent-input.d.ts +56 -0
  206. package/dist/contract/agent-profiles.d.ts +33 -201
  207. package/dist/contract/agent-tools.d.ts +51 -0
  208. package/dist/contract/ask-schema.d.ts +4 -2
  209. package/dist/contract/attachments.d.ts +2 -2
  210. package/dist/contract/attention.d.ts +9 -1
  211. package/dist/contract/automation-requests.d.ts +18 -54
  212. package/dist/contract/automation-schedule.d.ts +9 -0
  213. package/dist/contract/automation-storage.d.ts +22 -48
  214. package/dist/contract/automation-tool.d.ts +293 -0
  215. package/dist/contract/automations.d.ts +76 -159
  216. package/dist/contract/ci-wait.d.ts +25 -0
  217. package/dist/contract/config-requests.d.ts +6 -16
  218. package/dist/contract/control-locations.d.ts +1 -1
  219. package/dist/contract/conversations.d.ts +31 -2
  220. package/dist/contract/create-run-input.d.ts +62 -0
  221. package/dist/contract/delegation.d.ts +376 -152
  222. package/dist/contract/discovery.d.ts +29 -96
  223. package/dist/contract/events.d.ts +7 -6
  224. package/dist/contract/github.d.ts +0 -18
  225. package/dist/contract/handoff.d.ts +2 -2
  226. package/dist/contract/health.d.ts +74 -64
  227. package/dist/contract/index.d.ts +14 -5
  228. package/dist/contract/index.js +3798 -3398
  229. package/dist/contract/live-coordination.d.ts +30 -12
  230. package/dist/contract/live.d.ts +29 -0
  231. package/dist/contract/model-choices.d.ts +40 -0
  232. package/dist/contract/own-lookup.d.ts +5 -0
  233. package/dist/contract/per-runner-optional-strings.d.ts +3 -9
  234. package/dist/contract/projects.d.ts +1 -9
  235. package/dist/contract/provider-requests.d.ts +12 -46
  236. package/dist/contract/query-requests.d.ts +5 -8
  237. package/dist/contract/queued-messages.d.ts +35 -0
  238. package/dist/contract/reference-status.d.ts +19 -0
  239. package/dist/contract/repo-info.d.ts +12 -0
  240. package/dist/contract/repo.d.ts +3 -2
  241. package/dist/contract/run-predicates.d.ts +47 -3
  242. package/dist/contract/run-requests.d.ts +1 -9
  243. package/dist/contract/run-search.d.ts +18 -20
  244. package/dist/contract/run-status.d.ts +33 -0
  245. package/dist/contract/runner-install.d.ts +41 -0
  246. package/dist/contract/runner-skills.d.ts +59 -0
  247. package/dist/contract/runner.d.ts +14 -0
  248. package/dist/contract/runners.d.ts +150 -0
  249. package/dist/contract/runs.d.ts +609 -321
  250. package/dist/contract/scheduled-tasks.d.ts +3 -3
  251. package/dist/contract/session-context.d.ts +140 -0
  252. package/dist/contract/skills.d.ts +1 -33
  253. package/dist/contract/task-options.d.ts +1 -1
  254. package/dist/contract/tool-display.d.ts +8 -2
  255. package/dist/contract/ui-state-requests.d.ts +0 -4
  256. package/dist/contract/usage-limit-hold.d.ts +22 -0
  257. package/dist/contract/utf8.d.ts +2 -0
  258. package/dist/contract/wait-limits.d.ts +25 -0
  259. package/dist/contract/wait-tools.d.ts +669 -0
  260. package/dist/contract/waiting-on.d.ts +46 -0
  261. package/dist/contract/waits.d.ts +150 -515
  262. package/dist/contract/worker-outcome.d.ts +24 -0
  263. package/dist/contract/workflow-file.d.ts +4 -8
  264. package/dist/contract/workflow-requests.d.ts +1 -0
  265. package/dist/contract/workflows.d.ts +29 -52
  266. package/dist/contract/workspace-events.d.ts +28 -32
  267. package/dist/contract/workspace.d.ts +56 -179
  268. package/dist/core/acp/events.d.ts +63 -0
  269. package/dist/core/acp/events.js +344 -0
  270. package/dist/core/acp/events.js.map +1 -0
  271. package/dist/core/acp/protocol.d.ts +86 -0
  272. package/dist/core/acp/protocol.js +14 -0
  273. package/dist/core/acp/protocol.js.map +1 -0
  274. package/dist/core/acp/session.d.ts +101 -0
  275. package/dist/core/acp/session.js +322 -0
  276. package/dist/core/acp/session.js.map +1 -0
  277. package/dist/core/acp/transport.d.ts +38 -0
  278. package/dist/core/acp/transport.js +144 -0
  279. package/dist/core/acp/transport.js.map +1 -0
  280. package/dist/core/acp/usage.d.ts +3 -0
  281. package/dist/core/acp/usage.js +12 -0
  282. package/dist/core/acp/usage.js.map +1 -0
  283. package/dist/core/agent-config-notes.d.ts +5 -0
  284. package/dist/core/agent-config-notes.js +6 -0
  285. package/dist/core/agent-config-notes.js.map +1 -0
  286. package/dist/core/agent-env.d.ts +5 -2
  287. package/dist/core/agent-env.js +11 -29
  288. package/dist/core/agent-env.js.map +1 -1
  289. package/dist/core/agent-profiles.d.ts +16 -33
  290. package/dist/core/agent-profiles.js +30 -80
  291. package/dist/core/agent-profiles.js.map +1 -1
  292. package/dist/core/agent-runner-values.d.ts +68 -0
  293. package/dist/core/agent-runner-values.js +111 -0
  294. package/dist/core/agent-runner-values.js.map +1 -0
  295. package/dist/core/agent-runner.d.ts +59 -71
  296. package/dist/core/agent-runner.js +3 -93
  297. package/dist/core/agent-runner.js.map +1 -1
  298. package/dist/core/backend-detect.d.ts +17 -4
  299. package/dist/core/backend-detect.js +86 -153
  300. package/dist/core/backend-detect.js.map +1 -1
  301. package/dist/core/browser-sign-in-error.d.ts +6 -0
  302. package/dist/core/browser-sign-in-error.js +18 -0
  303. package/dist/core/browser-sign-in-error.js.map +1 -0
  304. package/dist/core/cli-registry.d.ts +57 -0
  305. package/dist/core/cli-registry.js +22 -0
  306. package/dist/core/cli-registry.js.map +1 -0
  307. package/dist/core/github-request-limits.d.ts +9 -0
  308. package/dist/core/github-request-limits.js +13 -0
  309. package/dist/core/github-request-limits.js.map +1 -0
  310. package/dist/core/host-model-catalog.d.ts +2 -2
  311. package/dist/core/host-model-catalog.js +7 -16
  312. package/dist/core/host-model-catalog.js.map +1 -1
  313. package/dist/core/host-path.d.ts +5 -0
  314. package/dist/core/host-path.js +9 -0
  315. package/dist/core/host-path.js.map +1 -0
  316. package/dist/core/host-skill-catalog.d.ts +7 -0
  317. package/dist/core/host-skill-catalog.js +12 -0
  318. package/dist/core/host-skill-catalog.js.map +1 -0
  319. package/dist/core/json-guards.d.ts +3 -0
  320. package/dist/core/json-guards.js +8 -0
  321. package/dist/core/json-guards.js.map +1 -0
  322. package/dist/core/launch-registry.d.ts +50 -0
  323. package/dist/core/launch-registry.js +60 -0
  324. package/dist/core/launch-registry.js.map +1 -0
  325. package/dist/core/login-output.d.ts +5 -0
  326. package/dist/core/login-output.js +14 -0
  327. package/dist/core/login-output.js.map +1 -0
  328. package/dist/core/managed-cli-source.d.ts +23 -0
  329. package/dist/core/managed-cli-source.js +2 -0
  330. package/dist/core/managed-cli-source.js.map +1 -0
  331. package/dist/core/managed-session.d.ts +5 -0
  332. package/dist/core/managed-session.js +45 -3
  333. package/dist/core/managed-session.js.map +1 -1
  334. package/dist/core/mock-prompts.d.ts +63 -0
  335. package/dist/core/mock-prompts.js +64 -0
  336. package/dist/core/mock-prompts.js.map +1 -0
  337. package/dist/core/model-identity.d.ts +15 -20
  338. package/dist/core/model-identity.js +21 -31
  339. package/dist/core/model-identity.js.map +1 -1
  340. package/dist/core/model-presets.d.ts +3 -8
  341. package/dist/core/model-presets.js +16 -38
  342. package/dist/core/model-presets.js.map +1 -1
  343. package/dist/core/model-probe-spawn.d.ts +8 -0
  344. package/dist/core/model-probe-spawn.js +7 -0
  345. package/dist/core/model-probe-spawn.js.map +1 -0
  346. package/dist/core/model-probe-teardown.js +1 -1
  347. package/dist/core/model-probe-teardown.js.map +1 -1
  348. package/dist/core/native-mock.d.ts +6 -0
  349. package/dist/core/native-mock.js +26 -0
  350. package/dist/core/native-mock.js.map +1 -0
  351. package/dist/core/os-cgroup.d.ts +43 -0
  352. package/dist/core/os-cgroup.js +220 -0
  353. package/dist/core/os-cgroup.js.map +1 -0
  354. package/dist/core/os-win-job.d.ts +30 -0
  355. package/dist/core/os-win-job.js +80 -0
  356. package/dist/core/os-win-job.js.map +1 -0
  357. package/dist/core/own-lookup.d.ts +1 -0
  358. package/dist/core/own-lookup.js +2 -0
  359. package/dist/core/own-lookup.js.map +1 -0
  360. package/dist/core/pi-rpc-turn.d.ts +26 -11
  361. package/dist/core/pi-rpc-turn.js +49 -24
  362. package/dist/core/pi-rpc-turn.js.map +1 -1
  363. package/dist/core/pi-rpc-wire.d.ts +9 -4
  364. package/dist/core/pi-rpc-wire.js +29 -8
  365. package/dist/core/pi-rpc-wire.js.map +1 -1
  366. package/dist/core/process-ownership.d.ts +12 -0
  367. package/dist/core/process-ownership.js +33 -0
  368. package/dist/core/process-ownership.js.map +1 -0
  369. package/dist/core/process-stat.d.ts +51 -0
  370. package/dist/core/process-stat.js +141 -0
  371. package/dist/core/process-stat.js.map +1 -0
  372. package/dist/core/process-usage.d.ts +6 -1
  373. package/dist/core/process-usage.js +9 -3
  374. package/dist/core/process-usage.js.map +1 -1
  375. package/dist/core/product-env.d.ts +2 -6
  376. package/dist/core/product-env.js +3 -10
  377. package/dist/core/product-env.js.map +1 -1
  378. package/dist/core/project-agents-file.d.ts +6 -0
  379. package/dist/core/project-agents-file.js +18 -0
  380. package/dist/core/project-agents-file.js.map +1 -0
  381. package/dist/core/provider-auth.d.ts +10 -4
  382. package/dist/core/provider-auth.js +59 -220
  383. package/dist/core/provider-auth.js.map +1 -1
  384. package/dist/core/provider-availability.d.ts +3 -1
  385. package/dist/core/provider-availability.js +1 -0
  386. package/dist/core/provider-availability.js.map +1 -1
  387. package/dist/core/provider-error.d.ts +21 -0
  388. package/dist/core/provider-error.js +32 -0
  389. package/dist/core/provider-error.js.map +1 -0
  390. package/dist/core/registry.d.ts +39 -0
  391. package/dist/core/registry.js +96 -0
  392. package/dist/core/registry.js.map +1 -0
  393. package/dist/core/runner-cli.d.ts +10 -0
  394. package/dist/core/runner-cli.js +34 -0
  395. package/dist/core/runner-cli.js.map +1 -0
  396. package/dist/core/runner-config-files.d.ts +60 -0
  397. package/dist/core/runner-config-files.js +14 -0
  398. package/dist/core/runner-config-files.js.map +1 -0
  399. package/dist/core/runner-definition.d.ts +353 -0
  400. package/dist/core/runner-definition.js +5 -0
  401. package/dist/core/runner-definition.js.map +1 -0
  402. package/dist/core/runner-facts.d.ts +77 -111
  403. package/dist/core/runner-facts.js +32 -52
  404. package/dist/core/runner-facts.js.map +1 -1
  405. package/dist/core/runner-fields.d.ts +26 -0
  406. package/dist/core/runner-fields.js +52 -0
  407. package/dist/core/runner-fields.js.map +1 -0
  408. package/dist/core/runner-id-schema.d.ts +15 -0
  409. package/dist/core/runner-id-schema.js +30 -0
  410. package/dist/core/runner-id-schema.js.map +1 -0
  411. package/dist/core/runner-ids.d.ts +9 -0
  412. package/dist/core/runner-ids.js +10 -0
  413. package/dist/core/runner-ids.js.map +1 -0
  414. package/dist/core/runner-model-catalog.d.ts +11 -9
  415. package/dist/core/runner-model-catalog.js +46 -51
  416. package/dist/core/runner-model-catalog.js.map +1 -1
  417. package/dist/core/runner-model-settings.d.ts +10 -0
  418. package/dist/core/runner-model-settings.js +3 -0
  419. package/dist/core/runner-model-settings.js.map +1 -0
  420. package/dist/core/runner-registry.d.ts +60 -0
  421. package/dist/core/runner-registry.js +115 -0
  422. package/dist/core/runner-registry.js.map +1 -0
  423. package/dist/core/runner-runtime.d.ts +9 -0
  424. package/dist/core/runner-runtime.js +8 -1
  425. package/dist/core/runner-runtime.js.map +1 -1
  426. package/dist/core/runner-skill-catalog.d.ts +28 -0
  427. package/dist/core/runner-skill-catalog.js +91 -0
  428. package/dist/core/runner-skill-catalog.js.map +1 -0
  429. package/dist/core/runner-skill-reference.d.ts +26 -0
  430. package/dist/core/runner-skill-reference.js +43 -0
  431. package/dist/core/runner-skill-reference.js.map +1 -0
  432. package/dist/core/runner-tool-grants.d.ts +1 -1
  433. package/dist/core/runner-tool-grants.js +1 -1
  434. package/dist/core/runner-tool-grants.js.map +1 -1
  435. package/dist/core/secret-redaction.d.ts +2 -0
  436. package/dist/core/secret-redaction.js +11 -3
  437. package/dist/core/secret-redaction.js.map +1 -1
  438. package/dist/core/session-containment.d.ts +78 -0
  439. package/dist/core/session-containment.js +247 -0
  440. package/dist/core/session-containment.js.map +1 -0
  441. package/dist/core/session-descendants.d.ts +15 -0
  442. package/dist/core/session-descendants.js +95 -0
  443. package/dist/core/session-descendants.js.map +1 -0
  444. package/dist/core/session-process.d.ts +23 -7
  445. package/dist/core/session-process.js +158 -28
  446. package/dist/core/session-process.js.map +1 -1
  447. package/dist/core/skill-path-scope.d.ts +4 -0
  448. package/dist/core/skill-path-scope.js +28 -0
  449. package/dist/core/skill-path-scope.js.map +1 -0
  450. package/dist/core/skill-probe.d.ts +21 -0
  451. package/dist/core/skill-probe.js +105 -0
  452. package/dist/core/skill-probe.js.map +1 -0
  453. package/dist/core/skill-trigger.d.ts +14 -0
  454. package/dist/core/skill-trigger.js +38 -0
  455. package/dist/core/skill-trigger.js.map +1 -0
  456. package/dist/core/structured-output.d.ts +9 -0
  457. package/dist/core/structured-output.js +64 -0
  458. package/dist/core/structured-output.js.map +1 -0
  459. package/dist/core/ui-events.d.ts +15 -4
  460. package/dist/core/ui-events.js.map +1 -1
  461. package/dist/core/usage-limit.d.ts +3 -2
  462. package/dist/core/usage-limit.js +16 -2
  463. package/dist/core/usage-limit.js.map +1 -1
  464. package/dist/core/v1-text-coalescer.d.ts +1 -1
  465. package/dist/core/v1-text-coalescer.js +1 -1
  466. package/dist/core/v1-text-coalescer.js.map +1 -1
  467. package/dist/data-gitignore.js +3 -6
  468. package/dist/data-gitignore.js.map +1 -1
  469. package/dist/delegation/capacity.d.ts +16 -1
  470. package/dist/delegation/capacity.js +36 -12
  471. package/dist/delegation/capacity.js.map +1 -1
  472. package/dist/delegation/cli.d.ts +4 -0
  473. package/dist/delegation/cli.js +63 -44
  474. package/dist/delegation/cli.js.map +1 -1
  475. package/dist/delegation/context.d.ts +40 -5
  476. package/dist/delegation/context.js +101 -85
  477. package/dist/delegation/context.js.map +1 -1
  478. package/dist/delegation/conversation-send.d.ts +9 -13
  479. package/dist/delegation/conversation-send.js +31 -17
  480. package/dist/delegation/conversation-send.js.map +1 -1
  481. package/dist/delegation/conversations.d.ts +41 -2129
  482. package/dist/delegation/conversations.js +108 -113
  483. package/dist/delegation/conversations.js.map +1 -1
  484. package/dist/delegation/execution-identity.d.ts +83 -67
  485. package/dist/delegation/execution-identity.js +244 -67
  486. package/dist/delegation/execution-identity.js.map +1 -1
  487. package/dist/delegation/execution-settings.d.ts +1 -2
  488. package/dist/delegation/execution-settings.js.map +1 -1
  489. package/dist/delegation/family-end.d.ts +16 -0
  490. package/dist/delegation/family-end.js +114 -0
  491. package/dist/delegation/family-end.js.map +1 -0
  492. package/dist/delegation/identity-file-store.d.ts +1 -1
  493. package/dist/delegation/input.js.map +1 -1
  494. package/dist/delegation/owned-workspace-release.d.ts +8 -0
  495. package/dist/delegation/owned-workspace-release.js +9 -0
  496. package/dist/delegation/owned-workspace-release.js.map +1 -0
  497. package/dist/delegation/park-notice.d.ts +44 -10
  498. package/dist/delegation/park-notice.js +53 -17
  499. package/dist/delegation/park-notice.js.map +1 -1
  500. package/dist/delegation/policy.d.ts +26 -8
  501. package/dist/delegation/policy.js +60 -37
  502. package/dist/delegation/policy.js.map +1 -1
  503. package/dist/delegation/private-record-file.d.ts +7 -0
  504. package/dist/delegation/private-record-file.js +55 -0
  505. package/dist/delegation/private-record-file.js.map +1 -0
  506. package/dist/delegation/process-liveness.d.ts +9 -76
  507. package/dist/delegation/process-liveness.js +6 -145
  508. package/dist/delegation/process-liveness.js.map +1 -1
  509. package/dist/delegation/provision.d.ts +6 -4
  510. package/dist/delegation/provision.js +76 -46
  511. package/dist/delegation/provision.js.map +1 -1
  512. package/dist/delegation/questions.d.ts +16 -1
  513. package/dist/delegation/questions.js +31 -0
  514. package/dist/delegation/questions.js.map +1 -1
  515. package/dist/delegation/readiness.d.ts +4 -2
  516. package/dist/delegation/readiness.js +9 -7
  517. package/dist/delegation/readiness.js.map +1 -1
  518. package/dist/delegation/receipt-cache.d.ts +9 -0
  519. package/dist/delegation/receipt-cache.js +26 -0
  520. package/dist/delegation/receipt-cache.js.map +1 -0
  521. package/dist/delegation/removal-slot.d.ts +4 -0
  522. package/dist/delegation/removal-slot.js +20 -0
  523. package/dist/delegation/removal-slot.js.map +1 -0
  524. package/dist/delegation/results.d.ts +10 -2
  525. package/dist/delegation/results.js +40 -22
  526. package/dist/delegation/results.js.map +1 -1
  527. package/dist/delegation/retry-backoff.d.ts +7 -1
  528. package/dist/delegation/retry-backoff.js +6 -0
  529. package/dist/delegation/retry-backoff.js.map +1 -1
  530. package/dist/delegation/routes.d.ts +149 -29
  531. package/dist/delegation/routes.js +6 -6
  532. package/dist/delegation/routes.js.map +1 -1
  533. package/dist/delegation/scratch-cleanup.d.ts +1 -1
  534. package/dist/delegation/scratch-cleanup.js +18 -18
  535. package/dist/delegation/scratch-cleanup.js.map +1 -1
  536. package/dist/delegation/service.d.ts +50 -19
  537. package/dist/delegation/service.js +326 -182
  538. package/dist/delegation/service.js.map +1 -1
  539. package/dist/delegation/shared-workspace.d.ts +25 -0
  540. package/dist/delegation/shared-workspace.js +100 -0
  541. package/dist/delegation/shared-workspace.js.map +1 -0
  542. package/dist/delegation/task-discovery.js +9 -5
  543. package/dist/delegation/task-discovery.js.map +1 -1
  544. package/dist/delegation/transport.d.ts +141 -21
  545. package/dist/delegation/wait-kinds.d.ts +8 -0
  546. package/dist/delegation/wait-kinds.js +317 -0
  547. package/dist/delegation/wait-kinds.js.map +1 -0
  548. package/dist/delegation/windows-identity-store.d.ts +1 -1
  549. package/dist/delegation/windows-identity-store.js +1 -1
  550. package/dist/delegation/windows-identity-store.js.map +1 -1
  551. package/dist/delegation/worker-cleanup.d.ts +46 -11
  552. package/dist/delegation/worker-cleanup.js +260 -102
  553. package/dist/delegation/worker-cleanup.js.map +1 -1
  554. package/dist/delegation/worker-deletion-proof.d.ts +13 -0
  555. package/dist/delegation/worker-deletion-proof.js.map +1 -0
  556. package/dist/delegation/worker-executions.d.ts +72 -0
  557. package/dist/delegation/worker-executions.js +252 -0
  558. package/dist/delegation/worker-executions.js.map +1 -0
  559. package/dist/delegation/worker-resource-holders.d.ts +20 -0
  560. package/dist/delegation/worker-resource-holders.js +18 -0
  561. package/dist/delegation/worker-resource-holders.js.map +1 -0
  562. package/dist/delegation/workspace-git.d.ts +16 -0
  563. package/dist/delegation/workspace-git.js +61 -0
  564. package/dist/delegation/workspace-git.js.map +1 -0
  565. package/dist/delegation/workspace-kinds.d.ts +75 -0
  566. package/dist/delegation/workspace-kinds.js +122 -0
  567. package/dist/delegation/workspace-kinds.js.map +1 -0
  568. package/dist/delegation/workspace-record.d.ts +69 -0
  569. package/dist/delegation/workspace-record.js +124 -0
  570. package/dist/delegation/workspace-record.js.map +1 -0
  571. package/dist/delegation/workspace-removal.d.ts +28 -0
  572. package/dist/delegation/workspace-removal.js +376 -0
  573. package/dist/delegation/workspace-removal.js.map +1 -0
  574. package/dist/delegation/workspace-state.d.ts +65 -0
  575. package/dist/delegation/workspace-state.js +270 -0
  576. package/dist/delegation/workspace-state.js.map +1 -0
  577. package/dist/delegation/workspace-work.d.ts +35 -0
  578. package/dist/delegation/workspace-work.js +75 -0
  579. package/dist/delegation/workspace-work.js.map +1 -0
  580. package/dist/delegation/workspace.d.ts +5 -32
  581. package/dist/delegation/workspace.js +13 -417
  582. package/dist/delegation/workspace.js.map +1 -1
  583. package/dist/delegation/worktree-teardown.d.ts +8 -0
  584. package/dist/delegation/worktree-teardown.js +36 -0
  585. package/dist/delegation/worktree-teardown.js.map +1 -0
  586. package/dist/detached-process.d.ts +4 -43
  587. package/dist/detached-process.js +4 -210
  588. package/dist/detached-process.js.map +1 -1
  589. package/dist/discovery/catalog.d.ts +2 -9
  590. package/dist/discovery/catalog.js +1 -18
  591. package/dist/discovery/catalog.js.map +1 -1
  592. package/dist/discovery/choices.d.ts +10 -0
  593. package/dist/discovery/choices.js +21 -0
  594. package/dist/discovery/choices.js.map +1 -0
  595. package/dist/discovery/cli.d.ts +2 -0
  596. package/dist/discovery/cli.js +7 -2
  597. package/dist/discovery/cli.js.map +1 -1
  598. package/dist/features/jobs/cli.d.ts +4 -0
  599. package/dist/features/jobs/cli.js +79 -0
  600. package/dist/features/jobs/cli.js.map +1 -0
  601. package/dist/features/jobs/command.d.ts +9 -0
  602. package/dist/features/jobs/command.js +19 -0
  603. package/dist/features/jobs/command.js.map +1 -0
  604. package/dist/features/jobs/index.d.ts +11 -0
  605. package/dist/features/jobs/index.js +20 -0
  606. package/dist/features/jobs/index.js.map +1 -0
  607. package/dist/features/jobs/job.d.ts +107 -0
  608. package/dist/features/jobs/job.js +388 -0
  609. package/dist/features/jobs/job.js.map +1 -0
  610. package/dist/features/jobs/removal-slot.d.ts +14 -0
  611. package/dist/features/jobs/removal-slot.js +50 -0
  612. package/dist/features/jobs/removal-slot.js.map +1 -0
  613. package/dist/features/mcp/cli.d.ts +14 -0
  614. package/dist/features/mcp/cli.js +87 -0
  615. package/dist/features/mcp/cli.js.map +1 -0
  616. package/dist/features/mcp/index.d.ts +9 -0
  617. package/dist/features/mcp/index.js +13 -0
  618. package/dist/features/mcp/index.js.map +1 -0
  619. package/dist/features/mcp/stdio.d.ts +10 -0
  620. package/dist/features/mcp/stdio.js +41 -0
  621. package/dist/features/mcp/stdio.js.map +1 -0
  622. package/dist/features/mcp/tools.d.ts +19 -0
  623. package/dist/features/mcp/tools.js +476 -0
  624. package/dist/features/mcp/tools.js.map +1 -0
  625. package/dist/git-command.d.ts +43 -2
  626. package/dist/git-command.js +57 -4
  627. package/dist/git-command.js.map +1 -1
  628. package/dist/git-diff-base.d.ts +1 -1
  629. package/dist/git-private-index.js +1 -2
  630. package/dist/git-private-index.js.map +1 -1
  631. package/dist/git-refs.d.ts +1 -1
  632. package/dist/git-refs.js +1 -1
  633. package/dist/git-worktree-lock-helper.d.ts +23 -0
  634. package/dist/git-worktree-lock-helper.js +152 -30
  635. package/dist/git-worktree-lock-helper.js.map +1 -1
  636. package/dist/git-worktree-lock.d.ts +21 -4
  637. package/dist/git-worktree-lock.js +23 -14
  638. package/dist/git-worktree-lock.js.map +1 -1
  639. package/dist/git-worktree-release.d.ts +5 -9
  640. package/dist/git-worktree-release.js +5 -10
  641. package/dist/git-worktree-release.js.map +1 -1
  642. package/dist/git-worktree.d.ts +22 -55
  643. package/dist/git-worktree.js +225 -405
  644. package/dist/git-worktree.js.map +1 -1
  645. package/dist/handoff.d.ts +6 -6
  646. package/dist/handoff.js +18 -17
  647. package/dist/handoff.js.map +1 -1
  648. package/dist/headless-run.d.ts +4 -1
  649. package/dist/headless-run.js +27 -12
  650. package/dist/headless-run.js.map +1 -1
  651. package/dist/home/backup-args.d.ts +22 -0
  652. package/dist/home/backup-args.js +38 -0
  653. package/dist/home/backup-args.js.map +1 -0
  654. package/dist/home/boundary.js +4 -4
  655. package/dist/home/boundary.js.map +1 -1
  656. package/dist/home/command.d.ts +4 -4
  657. package/dist/home/command.js +9 -15
  658. package/dist/home/command.js.map +1 -1
  659. package/dist/home/deprecation.d.ts +2 -4
  660. package/dist/home/deprecation.js +2 -3
  661. package/dist/home/deprecation.js.map +1 -1
  662. package/dist/home/entry.d.ts +2 -4
  663. package/dist/home/entry.js +12 -12
  664. package/dist/home/entry.js.map +1 -1
  665. package/dist/home/home.d.ts +3 -4
  666. package/dist/home/home.js +5 -10
  667. package/dist/home/home.js.map +1 -1
  668. package/dist/home/identity.d.ts +5 -10
  669. package/dist/home/identity.js +3 -7
  670. package/dist/home/identity.js.map +1 -1
  671. package/dist/home/install-marker.js +6 -7
  672. package/dist/home/install-marker.js.map +1 -1
  673. package/dist/home/leases.js +1 -1
  674. package/dist/home/leases.js.map +1 -1
  675. package/dist/home/legacy-account-paths.js +0 -3
  676. package/dist/home/legacy-account-paths.js.map +1 -1
  677. package/dist/home/legacy-recovery.d.ts +2 -2
  678. package/dist/home/legacy-recovery.js +4 -9
  679. package/dist/home/legacy-recovery.js.map +1 -1
  680. package/dist/home/legacy-source.d.ts +2 -3
  681. package/dist/home/legacy-source.js +3 -6
  682. package/dist/home/legacy-source.js.map +1 -1
  683. package/dist/home/migrate.d.ts +1 -1
  684. package/dist/home/migrate.js +32 -19
  685. package/dist/home/migrate.js.map +1 -1
  686. package/dist/home/migration-accounts.d.ts +0 -2
  687. package/dist/home/migration-accounts.js +2 -11
  688. package/dist/home/migration-accounts.js.map +1 -1
  689. package/dist/home/migration-boot.d.ts +1 -2
  690. package/dist/home/migration-boot.js +5 -9
  691. package/dist/home/migration-boot.js.map +1 -1
  692. package/dist/home/migration-claim.js +1 -1
  693. package/dist/home/migration-claim.js.map +1 -1
  694. package/dist/home/migration-cli.js +4 -3
  695. package/dist/home/migration-cli.js.map +1 -1
  696. package/dist/home/migration-guard.js +1 -2
  697. package/dist/home/migration-guard.js.map +1 -1
  698. package/dist/home/migration-plan.d.ts +1 -1
  699. package/dist/home/migration-plan.js +5 -6
  700. package/dist/home/migration-plan.js.map +1 -1
  701. package/dist/home/private-files.js +3 -4
  702. package/dist/home/private-files.js.map +1 -1
  703. package/dist/home/process-identity.js +1 -1
  704. package/dist/home/process-identity.js.map +1 -1
  705. package/dist/home/protected-roots.d.ts +1 -1
  706. package/dist/home/protected-roots.js +3 -4
  707. package/dist/home/protected-roots.js.map +1 -1
  708. package/dist/home/recovery-watch.d.ts +1 -1
  709. package/dist/home/recovery-watch.js +3 -4
  710. package/dist/home/recovery-watch.js.map +1 -1
  711. package/dist/home/recovery.d.ts +3 -4
  712. package/dist/home/recovery.js +7 -9
  713. package/dist/home/recovery.js.map +1 -1
  714. package/dist/home/resolve.js +1 -2
  715. package/dist/home/resolve.js.map +1 -1
  716. package/dist/home/store.js +2 -2
  717. package/dist/home/store.js.map +1 -1
  718. package/dist/home/write-lock.js +1 -1
  719. package/dist/home/write-lock.js.map +1 -1
  720. package/dist/index.js +45 -30
  721. package/dist/index.js.map +1 -1
  722. package/dist/install-as-command.d.ts +1 -1
  723. package/dist/legacy-runs.d.ts +57 -0
  724. package/dist/legacy-runs.js +135 -0
  725. package/dist/legacy-runs.js.map +1 -0
  726. package/dist/managed-install/cli-archive.d.ts +4 -0
  727. package/dist/managed-install/cli-archive.js +89 -0
  728. package/dist/managed-install/cli-archive.js.map +1 -0
  729. package/dist/managed-install/cli-installation.d.ts +26 -0
  730. package/dist/managed-install/cli-installation.js +119 -0
  731. package/dist/managed-install/cli-installation.js.map +1 -0
  732. package/dist/managed-install/cli-manifest.d.ts +33 -0
  733. package/dist/managed-install/cli-manifest.js +57 -0
  734. package/dist/managed-install/cli-manifest.js.map +1 -0
  735. package/dist/managed-install/cli-storage.d.ts +45 -0
  736. package/dist/managed-install/cli-storage.js +212 -0
  737. package/dist/managed-install/cli-storage.js.map +1 -0
  738. package/dist/managed-install/launcher.d.ts +16 -0
  739. package/dist/managed-install/launcher.js +139 -0
  740. package/dist/managed-install/launcher.js.map +1 -0
  741. package/dist/managed-install/layout.d.ts +34 -0
  742. package/dist/managed-install/layout.js +43 -0
  743. package/dist/managed-install/layout.js.map +1 -0
  744. package/dist/managed-install/runtime-home.d.ts +8 -0
  745. package/dist/managed-install/runtime-home.js +14 -0
  746. package/dist/managed-install/runtime-home.js.map +1 -0
  747. package/dist/pack-check.d.ts +13 -1
  748. package/dist/pack-check.js +40 -1
  749. package/dist/pack-check.js.map +1 -1
  750. package/dist/paths.d.ts +16 -21
  751. package/dist/paths.js +38 -57
  752. package/dist/paths.js.map +1 -1
  753. package/dist/planner.d.ts +3 -10
  754. package/dist/planner.js +24 -78
  755. package/dist/planner.js.map +1 -1
  756. package/dist/plugin/acp.d.ts +15 -0
  757. package/dist/plugin/acp.js +12 -0
  758. package/dist/plugin/acp.js.map +1 -0
  759. package/dist/plugin/api.d.ts +46 -0
  760. package/dist/plugin/api.js +155 -0
  761. package/dist/plugin/api.js.map +1 -0
  762. package/dist/plugin/bundled-features.d.ts +11 -0
  763. package/dist/plugin/bundled-features.js +37 -0
  764. package/dist/plugin/bundled-features.js.map +1 -0
  765. package/dist/plugin/bundled-runners.d.ts +28 -0
  766. package/dist/plugin/bundled-runners.js +57 -0
  767. package/dist/plugin/bundled-runners.js.map +1 -0
  768. package/dist/plugin/cli.d.ts +5 -0
  769. package/dist/plugin/cli.js +55 -0
  770. package/dist/plugin/cli.js.map +1 -0
  771. package/dist/plugin/index.d.ts +14 -0
  772. package/dist/plugin/index.js +2 -0
  773. package/dist/plugin/index.js.map +1 -0
  774. package/dist/plugin/loader.d.ts +81 -0
  775. package/dist/plugin/loader.js +187 -0
  776. package/dist/plugin/loader.js.map +1 -0
  777. package/dist/plugin/managed-cli.d.ts +8 -0
  778. package/dist/plugin/managed-cli.js +9 -0
  779. package/dist/plugin/managed-cli.js.map +1 -0
  780. package/dist/plugin/model-settings.d.ts +8 -0
  781. package/dist/plugin/model-settings.js +8 -0
  782. package/dist/plugin/model-settings.js.map +1 -0
  783. package/dist/plugin/pi-rpc.d.ts +8 -0
  784. package/dist/plugin/pi-rpc.js +8 -0
  785. package/dist/plugin/pi-rpc.js.map +1 -0
  786. package/dist/plugin/resolve-hook.d.ts +21 -0
  787. package/dist/plugin/resolve-hook.js +53 -0
  788. package/dist/plugin/resolve-hook.js.map +1 -0
  789. package/dist/plugin/runner-kit.d.ts +41 -0
  790. package/dist/plugin/runner-kit.js +23 -0
  791. package/dist/plugin/runner-kit.js.map +1 -0
  792. package/dist/plugin/runtime.d.ts +38 -0
  793. package/dist/plugin/runtime.js +39 -0
  794. package/dist/plugin/runtime.js.map +1 -0
  795. package/dist/preview/agent-address.d.ts +1 -1
  796. package/dist/preview/agent-address.js +3 -3
  797. package/dist/preview/agent-address.js.map +1 -1
  798. package/dist/preview/agent-marker.js +11 -8
  799. package/dist/preview/agent-marker.js.map +1 -1
  800. package/dist/preview/agent-tools.d.ts +2 -0
  801. package/dist/preview/agent-tools.js +18 -0
  802. package/dist/preview/agent-tools.js.map +1 -0
  803. package/dist/preview/browser-launch.d.ts +2 -1
  804. package/dist/preview/browser-launch.js +16 -9
  805. package/dist/preview/browser-launch.js.map +1 -1
  806. package/dist/preview/cdp-proxy.d.ts +2 -2
  807. package/dist/preview/cdp-proxy.js +6 -7
  808. package/dist/preview/cdp-proxy.js.map +1 -1
  809. package/dist/preview/cdp.d.ts +4 -2
  810. package/dist/preview/cdp.js +43 -4
  811. package/dist/preview/cdp.js.map +1 -1
  812. package/dist/preview/chromium.d.ts +9 -5
  813. package/dist/preview/chromium.js +45 -14
  814. package/dist/preview/chromium.js.map +1 -1
  815. package/dist/preview/dev-server.d.ts +5 -2
  816. package/dist/preview/dev-server.js +84 -20
  817. package/dist/preview/dev-server.js.map +1 -1
  818. package/dist/preview/host.d.ts +17 -10
  819. package/dist/preview/host.js +31 -24
  820. package/dist/preview/host.js.map +1 -1
  821. package/dist/preview/registration.d.ts +1 -1
  822. package/dist/preview/registration.js +6 -6
  823. package/dist/preview/registration.js.map +1 -1
  824. package/dist/preview/run-tools.d.ts +3 -2
  825. package/dist/preview/run-tools.js +9 -8
  826. package/dist/preview/run-tools.js.map +1 -1
  827. package/dist/preview/session.js +13 -7
  828. package/dist/preview/session.js.map +1 -1
  829. package/dist/preview/tool-catalog.d.ts +146 -0
  830. package/dist/preview/tool-catalog.js +14 -0
  831. package/dist/preview/tool-catalog.js.map +1 -0
  832. package/dist/preview/tool-client.d.ts +8 -0
  833. package/dist/preview/tool-client.js +16 -0
  834. package/dist/preview/tool-client.js.map +1 -0
  835. package/dist/preview/tool-env.d.ts +2 -0
  836. package/dist/preview/tool-env.js +4 -0
  837. package/dist/preview/tool-env.js.map +1 -0
  838. package/dist/preview/tool-errors.d.ts +7 -0
  839. package/dist/preview/tool-errors.js +36 -0
  840. package/dist/preview/tool-errors.js.map +1 -0
  841. package/dist/preview/tool-session.d.ts +6 -0
  842. package/dist/preview/tool-session.js +9 -0
  843. package/dist/preview/tool-session.js.map +1 -0
  844. package/dist/preview/tools.d.ts +57 -0
  845. package/dist/preview/tools.js +18 -0
  846. package/dist/preview/tools.js.map +1 -0
  847. package/dist/process-wait/exit-file.d.ts +14 -9
  848. package/dist/process-wait/exit-file.js +23 -10
  849. package/dist/process-wait/exit-file.js.map +1 -1
  850. package/dist/process-wait/job-exit-file.d.ts +15 -0
  851. package/dist/process-wait/job-exit-file.js +49 -0
  852. package/dist/process-wait/job-exit-file.js.map +1 -0
  853. package/dist/process-wait/supervisor.d.ts +2 -2
  854. package/dist/process-wait/supervisor.js +12 -9
  855. package/dist/process-wait/supervisor.js.map +1 -1
  856. package/dist/project-commands.d.ts +1 -1
  857. package/dist/project-commands.js +4 -19
  858. package/dist/project-commands.js.map +1 -1
  859. package/dist/project-fence.d.ts +63 -0
  860. package/dist/project-fence.js +145 -0
  861. package/dist/project-fence.js.map +1 -0
  862. package/dist/project-migration/answer.d.ts +2 -0
  863. package/dist/project-migration/answer.js +7 -5
  864. package/dist/project-migration/answer.js.map +1 -1
  865. package/dist/project-migration/auto.d.ts +17 -14
  866. package/dist/project-migration/auto.js +72 -50
  867. package/dist/project-migration/auto.js.map +1 -1
  868. package/dist/project-migration/cli.js +3 -2
  869. package/dist/project-migration/cli.js.map +1 -1
  870. package/dist/project-migration/containment.d.ts +1 -1
  871. package/dist/project-migration/containment.js +7 -7
  872. package/dist/project-migration/containment.js.map +1 -1
  873. package/dist/project-migration/engine.d.ts +13 -1
  874. package/dist/project-migration/engine.js +19 -2
  875. package/dist/project-migration/engine.js.map +1 -1
  876. package/dist/project-migration/fresh.d.ts +1 -1
  877. package/dist/project-migration/fresh.js +2 -3
  878. package/dist/project-migration/fresh.js.map +1 -1
  879. package/dist/project-migration/journal.d.ts +8 -2
  880. package/dist/project-migration/journal.js +9 -2
  881. package/dist/project-migration/journal.js.map +1 -1
  882. package/dist/project-migration/live.d.ts +30 -5
  883. package/dist/project-migration/live.js +107 -8
  884. package/dist/project-migration/live.js.map +1 -1
  885. package/dist/project-migration/offline.d.ts +6 -4
  886. package/dist/project-migration/offline.js +8 -6
  887. package/dist/project-migration/offline.js.map +1 -1
  888. package/dist/project-migration/pending.d.ts +10 -0
  889. package/dist/project-migration/pending.js +57 -0
  890. package/dist/project-migration/pending.js.map +1 -0
  891. package/dist/project-migration/plan.d.ts +31 -2
  892. package/dist/project-migration/plan.js +154 -41
  893. package/dist/project-migration/plan.js.map +1 -1
  894. package/dist/project-migration/steps.js +63 -5
  895. package/dist/project-migration/steps.js.map +1 -1
  896. package/dist/project-paths.d.ts +10 -9
  897. package/dist/project-paths.js +24 -17
  898. package/dist/project-paths.js.map +1 -1
  899. package/dist/release/compatibility.d.ts +2 -2
  900. package/dist/release/compatibility.js +4 -4
  901. package/dist/release/compatibility.js.map +1 -1
  902. package/dist/release/manifests.d.ts +8 -18
  903. package/dist/release/manifests.js +14 -42
  904. package/dist/release/manifests.js.map +1 -1
  905. package/dist/release/publication.js +2 -2
  906. package/dist/release/publication.js.map +1 -1
  907. package/dist/release/snapshot.d.ts +3 -3
  908. package/dist/release/snapshot.js +3 -3
  909. package/dist/release/stable.d.ts +21 -2
  910. package/dist/release/stable.js +27 -2
  911. package/dist/release/stable.js.map +1 -1
  912. package/dist/remote-settings-cli.d.ts +5 -3
  913. package/dist/remote-settings-cli.js +10 -8
  914. package/dist/remote-settings-cli.js.map +1 -1
  915. package/dist/remote-settings.d.ts +1 -1
  916. package/dist/runners/antigravity/account-home.d.ts +3 -0
  917. package/dist/runners/antigravity/account-home.js +45 -0
  918. package/dist/runners/antigravity/account-home.js.map +1 -0
  919. package/dist/runners/antigravity/accounts.d.ts +14 -0
  920. package/dist/runners/antigravity/accounts.js +6 -0
  921. package/dist/runners/antigravity/accounts.js.map +1 -0
  922. package/dist/runners/antigravity/antigravity-model-catalog.d.ts +9 -0
  923. package/dist/runners/antigravity/antigravity-model-catalog.js +79 -0
  924. package/dist/runners/antigravity/antigravity-model-catalog.js.map +1 -0
  925. package/dist/runners/antigravity/antigravity-runner.d.ts +48 -0
  926. package/dist/runners/antigravity/antigravity-runner.js +29 -0
  927. package/dist/runners/antigravity/antigravity-runner.js.map +1 -0
  928. package/dist/runners/antigravity/antigravity-session.d.ts +115 -0
  929. package/dist/runners/antigravity/antigravity-session.js +702 -0
  930. package/dist/runners/antigravity/antigravity-session.js.map +1 -0
  931. package/dist/runners/antigravity/antigravity-skill-catalog.d.ts +9 -0
  932. package/dist/runners/antigravity/antigravity-skill-catalog.js +174 -0
  933. package/dist/runners/antigravity/antigravity-skill-catalog.js.map +1 -0
  934. package/dist/runners/antigravity/antigravity-ui-mapper.d.ts +17 -0
  935. package/dist/runners/antigravity/antigravity-ui-mapper.js +76 -0
  936. package/dist/runners/antigravity/antigravity-ui-mapper.js.map +1 -0
  937. package/dist/runners/antigravity/ask-question.d.ts +9 -0
  938. package/dist/runners/antigravity/ask-question.js +37 -0
  939. package/dist/runners/antigravity/ask-question.js.map +1 -0
  940. package/dist/runners/antigravity/browser-sign-in.d.ts +10 -0
  941. package/dist/runners/antigravity/browser-sign-in.js +127 -0
  942. package/dist/runners/antigravity/browser-sign-in.js.map +1 -0
  943. package/dist/runners/antigravity/cli.d.ts +23 -0
  944. package/dist/runners/antigravity/cli.js +31 -0
  945. package/dist/runners/antigravity/cli.js.map +1 -0
  946. package/dist/runners/antigravity/client-files.d.ts +5 -0
  947. package/dist/runners/antigravity/client-files.js +20 -0
  948. package/dist/runners/antigravity/client-files.js.map +1 -0
  949. package/dist/runners/antigravity/config-files.d.ts +2 -0
  950. package/dist/runners/antigravity/config-files.js +8 -0
  951. package/dist/runners/antigravity/config-files.js.map +1 -0
  952. package/dist/runners/antigravity/definition.d.ts +1 -0
  953. package/dist/runners/antigravity/definition.js +31 -0
  954. package/dist/runners/antigravity/definition.js.map +1 -0
  955. package/dist/runners/antigravity/detection.d.ts +14 -0
  956. package/dist/runners/antigravity/detection.js +12 -0
  957. package/dist/runners/antigravity/detection.js.map +1 -0
  958. package/dist/runners/antigravity/display.d.ts +11 -0
  959. package/dist/runners/antigravity/display.js +7 -0
  960. package/dist/runners/antigravity/display.js.map +1 -0
  961. package/dist/runners/antigravity/env.d.ts +3 -0
  962. package/dist/runners/antigravity/env.js +2 -0
  963. package/dist/runners/antigravity/env.js.map +1 -0
  964. package/dist/runners/antigravity/executable.d.ts +45 -0
  965. package/dist/runners/antigravity/executable.js +183 -0
  966. package/dist/runners/antigravity/executable.js.map +1 -0
  967. package/dist/runners/antigravity/extra-tools.d.ts +1 -0
  968. package/dist/runners/antigravity/extra-tools.js +2 -0
  969. package/dist/runners/antigravity/extra-tools.js.map +1 -0
  970. package/dist/runners/antigravity/facts.d.ts +26 -0
  971. package/dist/runners/antigravity/facts.js +25 -0
  972. package/dist/runners/antigravity/facts.js.map +1 -0
  973. package/dist/runners/antigravity/http-mcp.d.ts +14 -0
  974. package/dist/runners/antigravity/http-mcp.js +82 -0
  975. package/dist/runners/antigravity/http-mcp.js.map +1 -0
  976. package/dist/runners/antigravity/index.d.ts +6 -0
  977. package/dist/runners/antigravity/index.js +9 -0
  978. package/dist/runners/antigravity/index.js.map +1 -0
  979. package/dist/runners/antigravity/launch-args.d.ts +4 -0
  980. package/dist/runners/antigravity/launch-args.js +7 -0
  981. package/dist/runners/antigravity/launch-args.js.map +1 -0
  982. package/dist/runners/antigravity/login-probe.d.ts +9 -0
  983. package/dist/runners/antigravity/login-probe.js +55 -0
  984. package/dist/runners/antigravity/login-probe.js.map +1 -0
  985. package/dist/runners/antigravity/login.d.ts +5 -0
  986. package/dist/runners/antigravity/login.js +5 -0
  987. package/dist/runners/antigravity/login.js.map +1 -0
  988. package/dist/runners/antigravity/mcp-name.d.ts +2 -0
  989. package/dist/runners/antigravity/mcp-name.js +3 -0
  990. package/dist/runners/antigravity/mcp-name.js.map +1 -0
  991. package/dist/runners/antigravity/mock.d.ts +155 -0
  992. package/dist/runners/antigravity/mock.js +35 -0
  993. package/dist/runners/antigravity/mock.js.map +1 -0
  994. package/dist/runners/antigravity/model-settings.d.ts +2 -0
  995. package/dist/runners/antigravity/model-settings.js +4 -0
  996. package/dist/runners/antigravity/model-settings.js.map +1 -0
  997. package/dist/runners/antigravity/models.d.ts +5 -0
  998. package/dist/runners/antigravity/models.js +15 -0
  999. package/dist/runners/antigravity/models.js.map +1 -0
  1000. package/dist/runners/antigravity/native-diagnostics.d.ts +4 -0
  1001. package/dist/runners/antigravity/native-diagnostics.js +59 -0
  1002. package/dist/runners/antigravity/native-diagnostics.js.map +1 -0
  1003. package/dist/runners/antigravity/permissions.d.ts +4 -0
  1004. package/dist/runners/antigravity/permissions.js +42 -0
  1005. package/dist/runners/antigravity/permissions.js.map +1 -0
  1006. package/dist/runners/antigravity/probe-process.d.ts +27 -0
  1007. package/dist/runners/antigravity/probe-process.js +84 -0
  1008. package/dist/runners/antigravity/probe-process.js.map +1 -0
  1009. package/dist/runners/antigravity/runtime-env.d.ts +8 -0
  1010. package/dist/runners/antigravity/runtime-env.js +30 -0
  1011. package/dist/runners/antigravity/runtime-env.js.map +1 -0
  1012. package/dist/runners/antigravity/spec-support.d.ts +2 -0
  1013. package/dist/runners/antigravity/spec-support.js +23 -0
  1014. package/dist/runners/antigravity/spec-support.js.map +1 -0
  1015. package/dist/runners/antigravity/subagent-tracker.d.ts +50 -0
  1016. package/dist/runners/antigravity/subagent-tracker.js +152 -0
  1017. package/dist/runners/antigravity/subagent-tracker.js.map +1 -0
  1018. package/dist/runners/antigravity/subagent-transcript.d.ts +41 -0
  1019. package/dist/runners/antigravity/subagent-transcript.js +185 -0
  1020. package/dist/runners/antigravity/subagent-transcript.js.map +1 -0
  1021. package/dist/runners/antigravity/tool-normalization.d.ts +15 -0
  1022. package/dist/runners/antigravity/tool-normalization.js +104 -0
  1023. package/dist/runners/antigravity/tool-normalization.js.map +1 -0
  1024. package/dist/runners/antigravity/tool-transcript.d.ts +85 -0
  1025. package/dist/runners/antigravity/tool-transcript.js +274 -0
  1026. package/dist/runners/antigravity/tool-transcript.js.map +1 -0
  1027. package/dist/runners/antigravity/transcript-tailer.d.ts +56 -0
  1028. package/dist/runners/antigravity/transcript-tailer.js +175 -0
  1029. package/dist/runners/antigravity/transcript-tailer.js.map +1 -0
  1030. package/dist/runners/antigravity/usage.d.ts +2 -0
  1031. package/dist/runners/antigravity/usage.js +14 -0
  1032. package/dist/runners/antigravity/usage.js.map +1 -0
  1033. package/dist/runners/antigravity/wire-updates.d.ts +14 -0
  1034. package/dist/runners/antigravity/wire-updates.js +50 -0
  1035. package/dist/runners/antigravity/wire-updates.js.map +1 -0
  1036. package/dist/runners/claude/accounts.d.ts +11 -0
  1037. package/dist/runners/claude/accounts.js +10 -0
  1038. package/dist/runners/claude/accounts.js.map +1 -0
  1039. package/dist/runners/claude/claude-cli-runner.d.ts +89 -0
  1040. package/dist/runners/claude/claude-cli-runner.js +895 -0
  1041. package/dist/runners/claude/claude-cli-runner.js.map +1 -0
  1042. package/dist/runners/claude/claude-executable.js +9 -0
  1043. package/dist/runners/claude/claude-executable.js.map +1 -0
  1044. package/dist/runners/claude/claude-forked-command.d.ts +36 -0
  1045. package/dist/runners/claude/claude-forked-command.js +65 -0
  1046. package/dist/runners/claude/claude-forked-command.js.map +1 -0
  1047. package/dist/runners/claude/claude-model-catalog.d.ts +16 -0
  1048. package/dist/runners/claude/claude-model-catalog.js +196 -0
  1049. package/dist/runners/claude/claude-model-catalog.js.map +1 -0
  1050. package/dist/runners/claude/claude-partial-messages.d.ts +32 -0
  1051. package/dist/runners/claude/claude-partial-messages.js +129 -0
  1052. package/dist/runners/claude/claude-partial-messages.js.map +1 -0
  1053. package/dist/runners/claude/claude-setting-sources.d.ts +2 -0
  1054. package/dist/runners/claude/claude-setting-sources.js +7 -0
  1055. package/dist/runners/claude/claude-setting-sources.js.map +1 -0
  1056. package/dist/runners/claude/claude-skill-catalog.d.ts +3 -0
  1057. package/dist/runners/claude/claude-skill-catalog.js +30 -0
  1058. package/dist/runners/claude/claude-skill-catalog.js.map +1 -0
  1059. package/dist/runners/claude/claude-stream.d.ts +39 -0
  1060. package/dist/runners/claude/claude-stream.js +108 -0
  1061. package/dist/runners/claude/claude-stream.js.map +1 -0
  1062. package/dist/runners/claude/claude-ui-mapper.d.ts +90 -0
  1063. package/dist/runners/claude/claude-ui-mapper.js +878 -0
  1064. package/dist/runners/claude/claude-ui-mapper.js.map +1 -0
  1065. package/dist/runners/claude/cli.d.ts +15 -0
  1066. package/dist/runners/claude/cli.js +8 -0
  1067. package/dist/runners/claude/cli.js.map +1 -0
  1068. package/dist/runners/claude/config-files.d.ts +10 -0
  1069. package/dist/runners/claude/config-files.js +122 -0
  1070. package/dist/runners/claude/config-files.js.map +1 -0
  1071. package/dist/runners/claude/definition.d.ts +2 -0
  1072. package/dist/runners/claude/definition.js +42 -0
  1073. package/dist/runners/claude/definition.js.map +1 -0
  1074. package/dist/runners/claude/detection.d.ts +12 -0
  1075. package/dist/runners/claude/detection.js +17 -0
  1076. package/dist/runners/claude/detection.js.map +1 -0
  1077. package/dist/runners/claude/display.d.ts +12 -0
  1078. package/dist/runners/claude/display.js +13 -0
  1079. package/dist/runners/claude/display.js.map +1 -0
  1080. package/dist/runners/claude/env.d.ts +4 -0
  1081. package/dist/runners/claude/env.js +3 -0
  1082. package/dist/runners/claude/env.js.map +1 -0
  1083. package/dist/runners/claude/extra-tools.d.ts +3 -0
  1084. package/dist/runners/claude/extra-tools.js +4 -0
  1085. package/dist/runners/claude/extra-tools.js.map +1 -0
  1086. package/dist/runners/claude/facts.d.ts +28 -0
  1087. package/dist/runners/claude/facts.js +25 -0
  1088. package/dist/runners/claude/facts.js.map +1 -0
  1089. package/dist/runners/claude/index.d.ts +6 -0
  1090. package/dist/runners/claude/index.js +9 -0
  1091. package/dist/runners/claude/index.js.map +1 -0
  1092. package/dist/runners/claude/login-probe.d.ts +4 -0
  1093. package/dist/runners/claude/login-probe.js +16 -0
  1094. package/dist/runners/claude/login-probe.js.map +1 -0
  1095. package/dist/runners/claude/login.d.ts +7 -0
  1096. package/dist/runners/claude/login.js +8 -0
  1097. package/dist/runners/claude/login.js.map +1 -0
  1098. package/dist/runners/claude/mock.d.ts +99 -0
  1099. package/dist/runners/claude/mock.js +78 -0
  1100. package/dist/runners/claude/mock.js.map +1 -0
  1101. package/dist/runners/claude/model-settings.d.ts +2 -0
  1102. package/dist/runners/claude/model-settings.js +11 -0
  1103. package/dist/runners/claude/model-settings.js.map +1 -0
  1104. package/dist/runners/claude/models.d.ts +3 -0
  1105. package/dist/runners/claude/models.js +23 -0
  1106. package/dist/runners/claude/models.js.map +1 -0
  1107. package/dist/runners/claude/spec-support.d.ts +8 -0
  1108. package/dist/runners/claude/spec-support.js +30 -0
  1109. package/dist/runners/claude/spec-support.js.map +1 -0
  1110. package/dist/runners/codex/accounts.d.ts +11 -0
  1111. package/dist/runners/codex/accounts.js +8 -0
  1112. package/dist/runners/codex/accounts.js.map +1 -0
  1113. package/dist/runners/codex/cli.d.ts +15 -0
  1114. package/dist/runners/codex/cli.js +8 -0
  1115. package/dist/runners/codex/cli.js.map +1 -0
  1116. package/dist/runners/codex/codex-app-server-runner.d.ts +62 -0
  1117. package/dist/runners/codex/codex-app-server-runner.js +1230 -0
  1118. package/dist/runners/codex/codex-app-server-runner.js.map +1 -0
  1119. package/dist/runners/codex/codex-app-server-transport.d.ts +55 -0
  1120. package/dist/runners/codex/codex-app-server-transport.js +198 -0
  1121. package/dist/runners/codex/codex-app-server-transport.js.map +1 -0
  1122. package/dist/runners/codex/codex-approvals.d.ts +12 -0
  1123. package/dist/runners/codex/codex-approvals.js +180 -0
  1124. package/dist/runners/codex/codex-approvals.js.map +1 -0
  1125. package/dist/runners/codex/codex-hook-mapper.d.ts +15 -0
  1126. package/dist/runners/codex/codex-hook-mapper.js +72 -0
  1127. package/dist/runners/codex/codex-hook-mapper.js.map +1 -0
  1128. package/dist/runners/codex/codex-model-catalog.d.ts +10 -0
  1129. package/dist/runners/codex/codex-model-catalog.js +110 -0
  1130. package/dist/runners/codex/codex-model-catalog.js.map +1 -0
  1131. package/dist/runners/codex/codex-native-frames.d.ts +35 -0
  1132. package/dist/runners/codex/codex-native-frames.js +80 -0
  1133. package/dist/runners/codex/codex-native-frames.js.map +1 -0
  1134. package/dist/runners/codex/codex-permissions.d.ts +13 -0
  1135. package/dist/runners/codex/codex-permissions.js +34 -0
  1136. package/dist/runners/codex/codex-permissions.js.map +1 -0
  1137. package/dist/runners/codex/codex-skill-catalog.d.ts +3 -0
  1138. package/dist/runners/codex/codex-skill-catalog.js +36 -0
  1139. package/dist/runners/codex/codex-skill-catalog.js.map +1 -0
  1140. package/dist/runners/codex/codex-stream-error.js.map +1 -0
  1141. package/dist/runners/codex/codex-thread-config.d.ts +18 -0
  1142. package/dist/runners/codex/codex-thread-config.js +30 -0
  1143. package/dist/runners/codex/codex-thread-config.js.map +1 -0
  1144. package/dist/runners/codex/codex-turn-config.d.ts +19 -0
  1145. package/dist/runners/codex/codex-turn-config.js +30 -0
  1146. package/dist/runners/codex/codex-turn-config.js.map +1 -0
  1147. package/dist/runners/codex/codex-turn-outcome.d.ts +10 -0
  1148. package/dist/runners/codex/codex-turn-outcome.js +35 -0
  1149. package/dist/runners/codex/codex-turn-outcome.js.map +1 -0
  1150. package/dist/runners/codex/codex-ui-mapper-state.d.ts +84 -0
  1151. package/dist/runners/codex/codex-ui-mapper-state.js.map +1 -0
  1152. package/dist/runners/codex/codex-ui-mapper.d.ts +44 -0
  1153. package/dist/runners/codex/codex-ui-mapper.js +799 -0
  1154. package/dist/runners/codex/codex-ui-mapper.js.map +1 -0
  1155. package/dist/runners/codex/config-files.d.ts +10 -0
  1156. package/dist/runners/codex/config-files.js +71 -0
  1157. package/dist/runners/codex/config-files.js.map +1 -0
  1158. package/dist/runners/codex/definition.d.ts +2 -0
  1159. package/dist/runners/codex/definition.js +42 -0
  1160. package/dist/runners/codex/definition.js.map +1 -0
  1161. package/dist/runners/codex/detection.d.ts +8 -0
  1162. package/dist/runners/codex/detection.js +14 -0
  1163. package/dist/runners/codex/detection.js.map +1 -0
  1164. package/dist/runners/codex/display.d.ts +12 -0
  1165. package/dist/runners/codex/display.js +13 -0
  1166. package/dist/runners/codex/display.js.map +1 -0
  1167. package/dist/runners/codex/env.d.ts +4 -0
  1168. package/dist/runners/codex/env.js +3 -0
  1169. package/dist/runners/codex/env.js.map +1 -0
  1170. package/dist/runners/codex/extra-tools.d.ts +3 -0
  1171. package/dist/runners/codex/extra-tools.js +4 -0
  1172. package/dist/runners/codex/extra-tools.js.map +1 -0
  1173. package/dist/runners/codex/facts.d.ts +28 -0
  1174. package/dist/runners/codex/facts.js +28 -0
  1175. package/dist/runners/codex/facts.js.map +1 -0
  1176. package/dist/runners/codex/index.d.ts +6 -0
  1177. package/dist/runners/codex/index.js +9 -0
  1178. package/dist/runners/codex/index.js.map +1 -0
  1179. package/dist/runners/codex/login-probe.d.ts +4 -0
  1180. package/dist/runners/codex/login-probe.js +30 -0
  1181. package/dist/runners/codex/login-probe.js.map +1 -0
  1182. package/dist/runners/codex/login.d.ts +7 -0
  1183. package/dist/runners/codex/login.js +8 -0
  1184. package/dist/runners/codex/login.js.map +1 -0
  1185. package/dist/runners/codex/mock.d.ts +97 -0
  1186. package/dist/runners/codex/mock.js +61 -0
  1187. package/dist/runners/codex/mock.js.map +1 -0
  1188. package/dist/runners/codex/model-settings.d.ts +2 -0
  1189. package/dist/runners/codex/model-settings.js +16 -0
  1190. package/dist/runners/codex/model-settings.js.map +1 -0
  1191. package/dist/runners/codex/models.d.ts +3 -0
  1192. package/dist/runners/codex/models.js +11 -0
  1193. package/dist/runners/codex/models.js.map +1 -0
  1194. package/dist/runners/codex/spec-support.d.ts +9 -0
  1195. package/dist/runners/codex/spec-support.js +31 -0
  1196. package/dist/runners/codex/spec-support.js.map +1 -0
  1197. package/dist/runners/omp/accounts.d.ts +11 -0
  1198. package/dist/runners/omp/accounts.js +11 -0
  1199. package/dist/runners/omp/accounts.js.map +1 -0
  1200. package/dist/runners/omp/agent-dir.d.ts +13 -0
  1201. package/dist/runners/omp/agent-dir.js +33 -0
  1202. package/dist/runners/omp/agent-dir.js.map +1 -0
  1203. package/dist/runners/omp/cli.d.ts +13 -0
  1204. package/dist/runners/omp/cli.js +9 -0
  1205. package/dist/runners/omp/cli.js.map +1 -0
  1206. package/dist/runners/omp/config-files.d.ts +10 -0
  1207. package/dist/runners/omp/config-files.js +98 -0
  1208. package/dist/runners/omp/config-files.js.map +1 -0
  1209. package/dist/runners/omp/definition.d.ts +2 -0
  1210. package/dist/runners/omp/definition.js +41 -0
  1211. package/dist/runners/omp/definition.js.map +1 -0
  1212. package/dist/runners/omp/detection.d.ts +8 -0
  1213. package/dist/runners/omp/detection.js +12 -0
  1214. package/dist/runners/omp/detection.js.map +1 -0
  1215. package/dist/runners/omp/display.d.ts +11 -0
  1216. package/dist/runners/omp/display.js +12 -0
  1217. package/dist/runners/omp/display.js.map +1 -0
  1218. package/dist/runners/omp/env.d.ts +4 -0
  1219. package/dist/runners/omp/env.js +17 -0
  1220. package/dist/runners/omp/env.js.map +1 -0
  1221. package/dist/runners/omp/extra-tools.d.ts +3 -0
  1222. package/dist/runners/omp/extra-tools.js +6 -0
  1223. package/dist/runners/omp/extra-tools.js.map +1 -0
  1224. package/dist/runners/omp/facts.d.ts +28 -0
  1225. package/dist/runners/omp/facts.js +26 -0
  1226. package/dist/runners/omp/facts.js.map +1 -0
  1227. package/dist/runners/omp/index.d.ts +6 -0
  1228. package/dist/runners/omp/index.js +9 -0
  1229. package/dist/runners/omp/index.js.map +1 -0
  1230. package/dist/runners/omp/login-probe.d.ts +13 -0
  1231. package/dist/runners/omp/login-probe.js +25 -0
  1232. package/dist/runners/omp/login-probe.js.map +1 -0
  1233. package/dist/runners/omp/login.d.ts +8 -0
  1234. package/dist/runners/omp/login.js +12 -0
  1235. package/dist/runners/omp/login.js.map +1 -0
  1236. package/dist/runners/omp/mock.d.ts +101 -0
  1237. package/dist/runners/omp/mock.js +58 -0
  1238. package/dist/runners/omp/mock.js.map +1 -0
  1239. package/dist/runners/omp/models.d.ts +3 -0
  1240. package/dist/runners/omp/models.js +11 -0
  1241. package/dist/runners/omp/models.js.map +1 -0
  1242. package/dist/runners/omp/omp-ci-wait.mjs +27 -0
  1243. package/dist/runners/omp/omp-model-catalog.d.ts +35 -0
  1244. package/dist/runners/omp/omp-model-catalog.js +176 -0
  1245. package/dist/runners/omp/omp-model-catalog.js.map +1 -0
  1246. package/dist/runners/omp/omp-runner.d.ts +92 -0
  1247. package/dist/runners/omp/omp-runner.js +809 -0
  1248. package/dist/runners/omp/omp-runner.js.map +1 -0
  1249. package/dist/runners/omp/omp-skill-catalog.d.ts +3 -0
  1250. package/dist/runners/omp/omp-skill-catalog.js +23 -0
  1251. package/dist/runners/omp/omp-skill-catalog.js.map +1 -0
  1252. package/dist/runners/omp/omp-subagent-rows.d.ts +21 -0
  1253. package/dist/runners/omp/omp-subagent-rows.js +100 -0
  1254. package/dist/runners/omp/omp-subagent-rows.js.map +1 -0
  1255. package/dist/runners/omp/omp-ui-mapper.d.ts +112 -0
  1256. package/dist/runners/omp/omp-ui-mapper.js +826 -0
  1257. package/dist/runners/omp/omp-ui-mapper.js.map +1 -0
  1258. package/dist/runners/omp/spec-support.d.ts +9 -0
  1259. package/dist/runners/omp/spec-support.js +35 -0
  1260. package/dist/runners/omp/spec-support.js.map +1 -0
  1261. package/dist/runners/opencode/accounts.d.ts +11 -0
  1262. package/dist/runners/opencode/accounts.js +10 -0
  1263. package/dist/runners/opencode/accounts.js.map +1 -0
  1264. package/dist/runners/opencode/cli.d.ts +16 -0
  1265. package/dist/runners/opencode/cli.js +8 -0
  1266. package/dist/runners/opencode/cli.js.map +1 -0
  1267. package/dist/runners/opencode/config-files.d.ts +10 -0
  1268. package/dist/runners/opencode/config-files.js +70 -0
  1269. package/dist/runners/opencode/config-files.js.map +1 -0
  1270. package/dist/runners/opencode/definition.d.ts +2 -0
  1271. package/dist/runners/opencode/definition.js +42 -0
  1272. package/dist/runners/opencode/definition.js.map +1 -0
  1273. package/dist/runners/opencode/detection.d.ts +8 -0
  1274. package/dist/runners/opencode/detection.js +12 -0
  1275. package/dist/runners/opencode/detection.js.map +1 -0
  1276. package/dist/runners/opencode/display.d.ts +11 -0
  1277. package/dist/runners/opencode/display.js +12 -0
  1278. package/dist/runners/opencode/display.js.map +1 -0
  1279. package/dist/runners/opencode/env.d.ts +4 -0
  1280. package/dist/runners/opencode/env.js +4 -0
  1281. package/dist/runners/opencode/env.js.map +1 -0
  1282. package/dist/runners/opencode/extra-tools.d.ts +3 -0
  1283. package/dist/runners/opencode/extra-tools.js +4 -0
  1284. package/dist/runners/opencode/extra-tools.js.map +1 -0
  1285. package/dist/runners/opencode/facts.d.ts +28 -0
  1286. package/dist/runners/opencode/facts.js +25 -0
  1287. package/dist/runners/opencode/facts.js.map +1 -0
  1288. package/dist/runners/opencode/index.d.ts +6 -0
  1289. package/dist/runners/opencode/index.js +9 -0
  1290. package/dist/runners/opencode/index.js.map +1 -0
  1291. package/dist/runners/opencode/login-probe.d.ts +4 -0
  1292. package/dist/runners/opencode/login-probe.js +31 -0
  1293. package/dist/runners/opencode/login-probe.js.map +1 -0
  1294. package/dist/runners/opencode/login.d.ts +7 -0
  1295. package/dist/runners/opencode/login.js +8 -0
  1296. package/dist/runners/opencode/login.js.map +1 -0
  1297. package/dist/runners/opencode/mock.d.ts +111 -0
  1298. package/dist/runners/opencode/mock.js +65 -0
  1299. package/dist/runners/opencode/mock.js.map +1 -0
  1300. package/dist/runners/opencode/model-settings.d.ts +2 -0
  1301. package/dist/runners/opencode/model-settings.js +8 -0
  1302. package/dist/runners/opencode/model-settings.js.map +1 -0
  1303. package/dist/runners/opencode/models.d.ts +3 -0
  1304. package/dist/runners/opencode/models.js +10 -0
  1305. package/dist/runners/opencode/models.js.map +1 -0
  1306. package/dist/runners/opencode/opencode-http.d.ts +3 -0
  1307. package/dist/runners/opencode/opencode-http.js +32 -0
  1308. package/dist/runners/opencode/opencode-http.js.map +1 -0
  1309. package/dist/runners/opencode/opencode-minimal.d.ts +42 -0
  1310. package/dist/runners/opencode/opencode-minimal.js +57 -0
  1311. package/dist/runners/opencode/opencode-minimal.js.map +1 -0
  1312. package/dist/runners/opencode/opencode-model-catalog.d.ts +26 -0
  1313. package/dist/runners/opencode/opencode-model-catalog.js +188 -0
  1314. package/dist/runners/opencode/opencode-model-catalog.js.map +1 -0
  1315. package/dist/runners/opencode/opencode-permissions.d.ts +51 -0
  1316. package/dist/runners/opencode/opencode-permissions.js +101 -0
  1317. package/dist/runners/opencode/opencode-permissions.js.map +1 -0
  1318. package/dist/runners/opencode/opencode-questions.d.ts +3 -0
  1319. package/dist/runners/opencode/opencode-questions.js +66 -0
  1320. package/dist/runners/opencode/opencode-questions.js.map +1 -0
  1321. package/dist/runners/opencode/opencode-runtime-config.d.ts +12 -0
  1322. package/dist/runners/opencode/opencode-runtime-config.js +37 -0
  1323. package/dist/runners/opencode/opencode-runtime-config.js.map +1 -0
  1324. package/dist/runners/opencode/opencode-server-runner.d.ts +78 -0
  1325. package/dist/runners/opencode/opencode-server-runner.js +1623 -0
  1326. package/dist/runners/opencode/opencode-server-runner.js.map +1 -0
  1327. package/dist/runners/opencode/opencode-session-error.d.ts +28 -0
  1328. package/dist/runners/opencode/opencode-session-error.js +87 -0
  1329. package/dist/runners/opencode/opencode-session-error.js.map +1 -0
  1330. package/dist/runners/opencode/opencode-skill-catalog.d.ts +3 -0
  1331. package/dist/runners/opencode/opencode-skill-catalog.js +36 -0
  1332. package/dist/runners/opencode/opencode-skill-catalog.js.map +1 -0
  1333. package/dist/runners/opencode/opencode-task-scope.js +19 -0
  1334. package/dist/runners/opencode/opencode-task-scope.js.map +1 -0
  1335. package/dist/runners/opencode/opencode-task-scope.mjs +59 -0
  1336. package/dist/runners/opencode/opencode-ui-mapper-state.d.ts +82 -0
  1337. package/dist/runners/opencode/opencode-ui-mapper-state.js.map +1 -0
  1338. package/dist/runners/opencode/opencode-ui-mapper.d.ts +23 -0
  1339. package/dist/runners/opencode/opencode-ui-mapper.js +760 -0
  1340. package/dist/runners/opencode/opencode-ui-mapper.js.map +1 -0
  1341. package/dist/runners/opencode/opencode-usage.d.ts +32 -0
  1342. package/dist/runners/opencode/opencode-usage.js.map +1 -0
  1343. package/dist/runners/opencode/spec-support.d.ts +9 -0
  1344. package/dist/runners/opencode/spec-support.js +31 -0
  1345. package/dist/runners/opencode/spec-support.js.map +1 -0
  1346. package/dist/runners/pi/accounts.d.ts +11 -0
  1347. package/dist/runners/pi/accounts.js +8 -0
  1348. package/dist/runners/pi/accounts.js.map +1 -0
  1349. package/dist/runners/pi/cli.d.ts +13 -0
  1350. package/dist/runners/pi/cli.js +8 -0
  1351. package/dist/runners/pi/cli.js.map +1 -0
  1352. package/dist/runners/pi/config-files.d.ts +10 -0
  1353. package/dist/runners/pi/config-files.js +73 -0
  1354. package/dist/runners/pi/config-files.js.map +1 -0
  1355. package/dist/runners/pi/definition.d.ts +2 -0
  1356. package/dist/runners/pi/definition.js +42 -0
  1357. package/dist/runners/pi/definition.js.map +1 -0
  1358. package/dist/runners/pi/detection.d.ts +8 -0
  1359. package/dist/runners/pi/detection.js +13 -0
  1360. package/dist/runners/pi/detection.js.map +1 -0
  1361. package/dist/runners/pi/display.d.ts +12 -0
  1362. package/dist/runners/pi/display.js +13 -0
  1363. package/dist/runners/pi/display.js.map +1 -0
  1364. package/dist/runners/pi/env.d.ts +4 -0
  1365. package/dist/runners/pi/env.js +15 -0
  1366. package/dist/runners/pi/env.js.map +1 -0
  1367. package/dist/runners/pi/extensions/pi-ci-wait.mjs +10 -0
  1368. package/dist/runners/pi/extensions/pi-default-tools.mjs +22 -0
  1369. package/dist/runners/pi/extensions/pi-retry-degraded-service.mjs +26 -0
  1370. package/dist/runners/pi/extensions/pi-runaway-reply-guard.mjs +34 -0
  1371. package/dist/runners/pi/extra-tools.d.ts +3 -0
  1372. package/dist/runners/pi/extra-tools.js +7 -0
  1373. package/dist/runners/pi/extra-tools.js.map +1 -0
  1374. package/dist/runners/pi/facts.d.ts +28 -0
  1375. package/dist/runners/pi/facts.js +24 -0
  1376. package/dist/runners/pi/facts.js.map +1 -0
  1377. package/dist/runners/pi/index.d.ts +6 -0
  1378. package/dist/runners/pi/index.js +9 -0
  1379. package/dist/runners/pi/index.js.map +1 -0
  1380. package/dist/runners/pi/login-probe.d.ts +4 -0
  1381. package/dist/runners/pi/login-probe.js +17 -0
  1382. package/dist/runners/pi/login-probe.js.map +1 -0
  1383. package/dist/runners/pi/login.d.ts +7 -0
  1384. package/dist/runners/pi/login.js +8 -0
  1385. package/dist/runners/pi/login.js.map +1 -0
  1386. package/dist/runners/pi/mock.d.ts +86 -0
  1387. package/dist/runners/pi/mock.js +53 -0
  1388. package/dist/runners/pi/mock.js.map +1 -0
  1389. package/dist/runners/pi/model-settings.d.ts +2 -0
  1390. package/dist/runners/pi/model-settings.js +38 -0
  1391. package/dist/runners/pi/model-settings.js.map +1 -0
  1392. package/dist/runners/pi/models.d.ts +3 -0
  1393. package/dist/runners/pi/models.js +17 -0
  1394. package/dist/runners/pi/models.js.map +1 -0
  1395. package/dist/runners/pi/pi-args.d.ts +5 -0
  1396. package/dist/runners/pi/pi-args.js +10 -0
  1397. package/dist/runners/pi/pi-args.js.map +1 -0
  1398. package/dist/runners/pi/pi-model-catalog.d.ts +30 -0
  1399. package/dist/runners/pi/pi-model-catalog.js +242 -0
  1400. package/dist/runners/pi/pi-model-catalog.js.map +1 -0
  1401. package/dist/runners/pi/pi-runner.d.ts +53 -0
  1402. package/dist/runners/pi/pi-runner.js +599 -0
  1403. package/dist/runners/pi/pi-runner.js.map +1 -0
  1404. package/dist/runners/pi/pi-skill-catalog.d.ts +3 -0
  1405. package/dist/runners/pi/pi-skill-catalog.js +34 -0
  1406. package/dist/runners/pi/pi-skill-catalog.js.map +1 -0
  1407. package/dist/runners/pi/pi-ui-mapper.d.ts +46 -0
  1408. package/dist/runners/pi/pi-ui-mapper.js +414 -0
  1409. package/dist/runners/pi/pi-ui-mapper.js.map +1 -0
  1410. package/dist/runners/pi/runaway-reply.d.ts +25 -0
  1411. package/dist/runners/pi/runaway-reply.js +55 -0
  1412. package/dist/runners/pi/runaway-reply.js.map +1 -0
  1413. package/dist/runners/pi/spec-support.d.ts +21 -0
  1414. package/dist/runners/pi/spec-support.js +44 -0
  1415. package/dist/runners/pi/spec-support.js.map +1 -0
  1416. package/dist/runs/agent-tmpdir.d.ts +6 -2
  1417. package/dist/runs/agent-tmpdir.js +57 -8
  1418. package/dist/runs/agent-tmpdir.js.map +1 -1
  1419. package/dist/runs/archive-family.js +2 -2
  1420. package/dist/runs/archive-family.js.map +1 -1
  1421. package/dist/runs/arm-repo-handle.d.ts +18 -3
  1422. package/dist/runs/arm-repo-handle.js +2 -3
  1423. package/dist/runs/arm-repo-handle.js.map +1 -1
  1424. package/dist/runs/auto-name.d.ts +7 -2
  1425. package/dist/runs/auto-name.js +12 -7
  1426. package/dist/runs/auto-name.js.map +1 -1
  1427. package/dist/runs/automation-runs.d.ts +26 -0
  1428. package/dist/runs/automation-runs.js +70 -0
  1429. package/dist/runs/automation-runs.js.map +1 -0
  1430. package/dist/runs/branch-owners.d.ts +30 -0
  1431. package/dist/runs/branch-owners.js +81 -0
  1432. package/dist/runs/branch-owners.js.map +1 -0
  1433. package/dist/runs/claim-families.d.ts +1 -1
  1434. package/dist/runs/claim-families.js +1 -1
  1435. package/dist/runs/cold-reads.d.ts +1 -1
  1436. package/dist/runs/cold-reads.js +1 -1
  1437. package/dist/runs/conversation-archive.d.ts +48 -0
  1438. package/dist/runs/conversation-archive.js +110 -0
  1439. package/dist/runs/conversation-archive.js.map +1 -0
  1440. package/dist/runs/conversation-compaction.d.ts +35 -0
  1441. package/dist/runs/conversation-compaction.js +110 -0
  1442. package/dist/runs/conversation-compaction.js.map +1 -0
  1443. package/dist/runs/conversation-identity.d.ts +2 -1
  1444. package/dist/runs/conversation-identity.js +4 -4
  1445. package/dist/runs/conversation-identity.js.map +1 -1
  1446. package/dist/runs/conversation-ledger.d.ts +60 -0
  1447. package/dist/runs/conversation-ledger.js +64 -0
  1448. package/dist/runs/conversation-ledger.js.map +1 -0
  1449. package/dist/runs/conversation-members.d.ts +26 -0
  1450. package/dist/runs/conversation-members.js +63 -0
  1451. package/dist/runs/conversation-members.js.map +1 -0
  1452. package/dist/runs/delegation-state.d.ts +37 -3
  1453. package/dist/runs/delegation-state.js +6 -0
  1454. package/dist/runs/delegation-state.js.map +1 -1
  1455. package/dist/runs/event-log.d.ts +79 -0
  1456. package/dist/runs/event-log.js +188 -0
  1457. package/dist/runs/event-log.js.map +1 -0
  1458. package/dist/runs/exit-events.d.ts +5 -0
  1459. package/dist/runs/exit-events.js +1 -7
  1460. package/dist/runs/exit-events.js.map +1 -1
  1461. package/dist/runs/guarded-json-sql.d.ts +8 -0
  1462. package/dist/runs/guarded-json-sql.js +11 -0
  1463. package/dist/runs/guarded-json-sql.js.map +1 -0
  1464. package/dist/runs/history-file.js +8 -6
  1465. package/dist/runs/history-file.js.map +1 -1
  1466. package/dist/runs/legacy-index.d.ts +2 -2
  1467. package/dist/runs/legacy-index.js +4 -5
  1468. package/dist/runs/legacy-index.js.map +1 -1
  1469. package/dist/runs/legacy-run-rows.d.ts +51 -1
  1470. package/dist/runs/legacy-run-rows.js +186 -2
  1471. package/dist/runs/legacy-run-rows.js.map +1 -1
  1472. package/dist/runs/legacy-waits.js +2 -2
  1473. package/dist/runs/legacy-waits.js.map +1 -1
  1474. package/dist/runs/lifecycle-registry.d.ts +16 -0
  1475. package/dist/runs/lifecycle-registry.js +30 -0
  1476. package/dist/runs/lifecycle-registry.js.map +1 -0
  1477. package/dist/runs/lifecycle.d.ts +82 -0
  1478. package/dist/runs/lifecycle.js +64 -0
  1479. package/dist/runs/lifecycle.js.map +1 -0
  1480. package/dist/runs/live-tasks.d.ts +10 -0
  1481. package/dist/runs/live-tasks.js +33 -0
  1482. package/dist/runs/live-tasks.js.map +1 -0
  1483. package/dist/runs/loaded-run-exits.d.ts +29 -2
  1484. package/dist/runs/loaded-run-exits.js +50 -2
  1485. package/dist/runs/loaded-run-exits.js.map +1 -1
  1486. package/dist/runs/loaded-run-healing.js +1 -1
  1487. package/dist/runs/loaded-run-healing.js.map +1 -1
  1488. package/dist/runs/outcome-commit.d.ts +27 -3
  1489. package/dist/runs/outcome-commit.js +26 -7
  1490. package/dist/runs/outcome-commit.js.map +1 -1
  1491. package/dist/runs/owned-run-create.d.ts +6 -3
  1492. package/dist/runs/owned-run-create.js +46 -16
  1493. package/dist/runs/owned-run-create.js.map +1 -1
  1494. package/dist/runs/ports.d.ts +295 -0
  1495. package/dist/runs/ports.js +2 -0
  1496. package/dist/runs/ports.js.map +1 -0
  1497. package/dist/runs/project-run-connection.d.ts +6 -1
  1498. package/dist/runs/project-run-connection.js +46 -5
  1499. package/dist/runs/project-run-connection.js.map +1 -1
  1500. package/dist/runs/project-run-sources.d.ts +2 -2
  1501. package/dist/runs/project-run-sources.js +5 -5
  1502. package/dist/runs/project-run-sources.js.map +1 -1
  1503. package/dist/runs/record-write-rules.d.ts +16 -4
  1504. package/dist/runs/record-write-rules.js +48 -17
  1505. package/dist/runs/record-write-rules.js.map +1 -1
  1506. package/dist/runs/removal-slots.d.ts +78 -0
  1507. package/dist/runs/removal-slots.js +92 -0
  1508. package/dist/runs/removal-slots.js.map +1 -0
  1509. package/dist/runs/retention.d.ts +46 -22
  1510. package/dist/runs/retention.js +87 -60
  1511. package/dist/runs/retention.js.map +1 -1
  1512. package/dist/runs/run-archive.d.ts +1276 -0
  1513. package/dist/runs/run-archive.js +382 -0
  1514. package/dist/runs/run-archive.js.map +1 -0
  1515. package/dist/runs/run-claims-topic.d.ts +136 -0
  1516. package/dist/runs/run-claims-topic.js +291 -0
  1517. package/dist/runs/run-claims-topic.js.map +1 -0
  1518. package/dist/runs/run-claims.d.ts +1 -1
  1519. package/dist/runs/run-claims.js +2 -2
  1520. package/dist/runs/run-claims.js.map +1 -1
  1521. package/dist/runs/run-cold-reads.d.ts +98 -0
  1522. package/dist/runs/run-cold-reads.js +199 -0
  1523. package/dist/runs/run-cold-reads.js.map +1 -0
  1524. package/dist/runs/run-database-migrations.d.ts +8 -0
  1525. package/dist/runs/run-database-migrations.js +236 -0
  1526. package/dist/runs/run-database-migrations.js.map +1 -0
  1527. package/dist/runs/run-database-peer-page.js +3 -4
  1528. package/dist/runs/run-database-peer-page.js.map +1 -1
  1529. package/dist/runs/run-database-row.js +5 -0
  1530. package/dist/runs/run-database-row.js.map +1 -1
  1531. package/dist/runs/run-database-version.d.ts +6 -3
  1532. package/dist/runs/run-database-version.js +17 -3
  1533. package/dist/runs/run-database-version.js.map +1 -1
  1534. package/dist/runs/run-database.d.ts +28 -3
  1535. package/dist/runs/run-database.js +104 -246
  1536. package/dist/runs/run-database.js.map +1 -1
  1537. package/dist/runs/run-decode.d.ts +3274 -0
  1538. package/dist/runs/run-decode.js +132 -0
  1539. package/dist/runs/run-decode.js.map +1 -0
  1540. package/dist/runs/run-derived-rows.d.ts +25 -0
  1541. package/dist/runs/run-derived-rows.js +46 -0
  1542. package/dist/runs/run-derived-rows.js.map +1 -0
  1543. package/dist/runs/run-exits.d.ts +1913 -46
  1544. package/dist/runs/run-exits.js +35 -10
  1545. package/dist/runs/run-exits.js.map +1 -1
  1546. package/dist/runs/run-index-cache.d.ts +10 -0
  1547. package/dist/runs/run-index-cache.js +45 -0
  1548. package/dist/runs/run-index-cache.js.map +1 -0
  1549. package/dist/runs/run-index-rows.d.ts +35 -0
  1550. package/dist/runs/run-index-rows.js +51 -0
  1551. package/dist/runs/run-index-rows.js.map +1 -0
  1552. package/dist/runs/run-index.d.ts +5 -11
  1553. package/dist/runs/run-index.js +43 -81
  1554. package/dist/runs/run-index.js.map +1 -1
  1555. package/dist/runs/run-indexes.d.ts +7 -0
  1556. package/dist/runs/run-indexes.js +8 -0
  1557. package/dist/runs/run-indexes.js.map +1 -0
  1558. package/dist/runs/run-persistence.d.ts +156 -0
  1559. package/dist/runs/run-persistence.js +410 -0
  1560. package/dist/runs/run-persistence.js.map +1 -0
  1561. package/dist/runs/run-pins.d.ts +38 -0
  1562. package/dist/runs/run-pins.js +45 -0
  1563. package/dist/runs/run-pins.js.map +1 -0
  1564. package/dist/runs/run-queries.d.ts +198 -0
  1565. package/dist/runs/run-queries.js +530 -0
  1566. package/dist/runs/run-queries.js.map +1 -0
  1567. package/dist/runs/run-read-flags.d.ts +58 -0
  1568. package/dist/runs/run-read-flags.js +87 -0
  1569. package/dist/runs/run-read-flags.js.map +1 -0
  1570. package/dist/runs/run-redaction.d.ts +21 -0
  1571. package/dist/runs/run-redaction.js +47 -0
  1572. package/dist/runs/run-redaction.js.map +1 -0
  1573. package/dist/runs/run-references.d.ts +14 -4
  1574. package/dist/runs/run-references.js +84 -18
  1575. package/dist/runs/run-references.js.map +1 -1
  1576. package/dist/runs/run-repo-scope.d.ts +42 -0
  1577. package/dist/runs/run-repo-scope.js +110 -0
  1578. package/dist/runs/run-repo-scope.js.map +1 -0
  1579. package/dist/runs/run-retention.d.ts +85 -0
  1580. package/dist/runs/run-retention.js +240 -0
  1581. package/dist/runs/run-retention.js.map +1 -0
  1582. package/dist/runs/run-row.d.ts +23 -0
  1583. package/dist/runs/run-row.js +49 -4
  1584. package/dist/runs/run-row.js.map +1 -1
  1585. package/dist/runs/run-summary-page.js +2 -0
  1586. package/dist/runs/run-summary-page.js.map +1 -1
  1587. package/dist/runs/shared-hosts.d.ts +17 -0
  1588. package/dist/runs/shared-hosts.js +30 -0
  1589. package/dist/runs/shared-hosts.js.map +1 -0
  1590. package/dist/runs/store-open-error.js +7 -8
  1591. package/dist/runs/store-open-error.js.map +1 -1
  1592. package/dist/runs/store-open.d.ts +54 -0
  1593. package/dist/runs/store-open.js +104 -0
  1594. package/dist/runs/store-open.js.map +1 -0
  1595. package/dist/runs/store.d.ts +74 -3729
  1596. package/dist/runs/store.js +295 -2952
  1597. package/dist/runs/store.js.map +1 -1
  1598. package/dist/runs/supervised.d.ts +22 -0
  1599. package/dist/runs/supervised.js +28 -0
  1600. package/dist/runs/supervised.js.map +1 -0
  1601. package/dist/runs/task-rights.d.ts +87 -0
  1602. package/dist/runs/task-rights.js +153 -0
  1603. package/dist/runs/task-rights.js.map +1 -0
  1604. package/dist/runs/transcript-facts-fold.d.ts +1 -1
  1605. package/dist/runs/transcript-facts-fold.js +1 -1
  1606. package/dist/runs/transcript-facts-fold.js.map +1 -1
  1607. package/dist/runs/transcript-facts-load.js +1 -1
  1608. package/dist/runs/transcript-facts-load.js.map +1 -1
  1609. package/dist/runs/transcript-facts-queue.d.ts +5 -1
  1610. package/dist/runs/transcript-facts-queue.js +48 -9
  1611. package/dist/runs/transcript-facts-queue.js.map +1 -1
  1612. package/dist/runs/transcript-facts-topic.d.ts +45 -0
  1613. package/dist/runs/transcript-facts-topic.js +101 -0
  1614. package/dist/runs/transcript-facts-topic.js.map +1 -0
  1615. package/dist/runs/transcript-facts.js +1 -2
  1616. package/dist/runs/transcript-facts.js.map +1 -1
  1617. package/dist/runs/wait-capacity.js.map +1 -1
  1618. package/dist/runs/wait-helpers.d.ts +28 -0
  1619. package/dist/runs/wait-helpers.js +34 -0
  1620. package/dist/runs/wait-helpers.js.map +1 -0
  1621. package/dist/runs/wait-phases.d.ts +9 -1
  1622. package/dist/runs/wait-phases.js +17 -2
  1623. package/dist/runs/wait-phases.js.map +1 -1
  1624. package/dist/runs/wait-registration-write.js.map +1 -1
  1625. package/dist/runs/webhook.d.ts +24 -14
  1626. package/dist/runs/webhook.js +29 -44
  1627. package/dist/runs/webhook.js.map +1 -1
  1628. package/dist/runs/worker-execution.d.ts +24 -1
  1629. package/dist/runs/worker-execution.js +66 -7
  1630. package/dist/runs/worker-execution.js.map +1 -1
  1631. package/dist/runs/worker-executions-registry.d.ts +33 -0
  1632. package/dist/runs/worker-executions-registry.js +18 -0
  1633. package/dist/runs/worker-executions-registry.js.map +1 -0
  1634. package/dist/runs/worker-result-commit.js +1 -1
  1635. package/dist/runs/worker-results.d.ts +38 -0
  1636. package/dist/runs/worker-results.js +87 -0
  1637. package/dist/runs/worker-results.js.map +1 -0
  1638. package/dist/serve-boot.d.ts +12 -25
  1639. package/dist/serve-boot.js +9 -52
  1640. package/dist/serve-boot.js.map +1 -1
  1641. package/dist/serve-command.d.ts +9 -9
  1642. package/dist/serve-command.js +47 -41
  1643. package/dist/serve-command.js.map +1 -1
  1644. package/dist/serve-listener.d.ts +2 -2
  1645. package/dist/serve-listener.js +2 -2
  1646. package/dist/serve-stop.d.ts +40 -0
  1647. package/dist/serve-stop.js +41 -0
  1648. package/dist/serve-stop.js.map +1 -0
  1649. package/dist/server/accept-negotiation.d.ts +17 -0
  1650. package/dist/server/accept-negotiation.js +53 -0
  1651. package/dist/server/accept-negotiation.js.map +1 -0
  1652. package/dist/server/activity-routes.d.ts +22 -7
  1653. package/dist/server/activity-routes.js +6 -9
  1654. package/dist/server/activity-routes.js.map +1 -1
  1655. package/dist/server/activity-sources.d.ts +2 -2
  1656. package/dist/server/activity-sources.js +4 -4
  1657. package/dist/server/activity-sources.js.map +1 -1
  1658. package/dist/server/agent-profile-id.d.ts +8 -0
  1659. package/dist/server/agent-profile-id.js +14 -0
  1660. package/dist/server/agent-profile-id.js.map +1 -0
  1661. package/dist/server/archive-on-merge.js +16 -11
  1662. package/dist/server/archive-on-merge.js.map +1 -1
  1663. package/dist/server/automations-routes.d.ts +1435 -0
  1664. package/dist/server/automations-routes.js +192 -0
  1665. package/dist/server/automations-routes.js.map +1 -0
  1666. package/dist/server/backend-checks.d.ts +29 -0
  1667. package/dist/server/backend-checks.js +53 -0
  1668. package/dist/server/backend-checks.js.map +1 -0
  1669. package/dist/server/bounded-read-cache.d.ts +10 -0
  1670. package/dist/server/bounded-read-cache.js +54 -0
  1671. package/dist/server/bounded-read-cache.js.map +1 -0
  1672. package/dist/server/brand-file-routes.d.ts +7 -0
  1673. package/dist/server/brand-file-routes.js +19 -0
  1674. package/dist/server/brand-file-routes.js.map +1 -0
  1675. package/dist/server/capabilities.d.ts +4 -7
  1676. package/dist/server/capabilities.js +2 -5
  1677. package/dist/server/capabilities.js.map +1 -1
  1678. package/dist/server/checkout.js +7 -6
  1679. package/dist/server/checkout.js.map +1 -1
  1680. package/dist/server/cockpit-ownership.d.ts +2 -59
  1681. package/dist/server/cockpit-ownership.js +4 -143
  1682. package/dist/server/cockpit-ownership.js.map +1 -1
  1683. package/dist/server/completion-actions.js +8 -8
  1684. package/dist/server/completion-actions.js.map +1 -1
  1685. package/dist/server/config-merge.js +7 -6
  1686. package/dist/server/config-merge.js.map +1 -1
  1687. package/dist/server/create-project.js +10 -10
  1688. package/dist/server/create-project.js.map +1 -1
  1689. package/dist/server/forge/draft-pr.d.ts +1 -1
  1690. package/dist/server/forge/draft-pr.js +45 -30
  1691. package/dist/server/forge/draft-pr.js.map +1 -1
  1692. package/dist/server/forge/github-checks.d.ts +31 -0
  1693. package/dist/server/forge/github-checks.js +155 -0
  1694. package/dist/server/forge/github-checks.js.map +1 -0
  1695. package/dist/server/forge/github-cli.d.ts +14 -0
  1696. package/dist/server/forge/github-cli.js +25 -0
  1697. package/dist/server/forge/github-cli.js.map +1 -0
  1698. package/dist/server/forge/github-comments.d.ts +25 -0
  1699. package/dist/server/forge/github-comments.js +486 -0
  1700. package/dist/server/forge/github-comments.js.map +1 -0
  1701. package/dist/server/forge/github-filters.js +2 -3
  1702. package/dist/server/forge/github-filters.js.map +1 -1
  1703. package/dist/server/forge/github-list.d.ts +77 -0
  1704. package/dist/server/forge/github-list.js +541 -0
  1705. package/dist/server/forge/github-list.js.map +1 -0
  1706. package/dist/server/forge/github-merge-state.d.ts +1 -1
  1707. package/dist/server/forge/github-merge-state.js +4 -9
  1708. package/dist/server/forge/github-merge-state.js.map +1 -1
  1709. package/dist/server/forge/github-merged-pr-chunk.d.ts +5 -0
  1710. package/dist/server/forge/github-merged-pr-chunk.js +45 -0
  1711. package/dist/server/forge/github-merged-pr-chunk.js.map +1 -0
  1712. package/dist/server/forge/github-mutations.d.ts +19 -0
  1713. package/dist/server/forge/github-mutations.js +295 -0
  1714. package/dist/server/forge/github-mutations.js.map +1 -0
  1715. package/dist/server/forge/github-pr-diff.d.ts +10 -0
  1716. package/dist/server/forge/github-pr-diff.js +126 -0
  1717. package/dist/server/forge/github-pr-diff.js.map +1 -0
  1718. package/dist/server/forge/github-ref-status-derive.d.ts +54 -0
  1719. package/dist/server/forge/github-ref-status-derive.js +202 -0
  1720. package/dist/server/forge/github-ref-status-derive.js.map +1 -0
  1721. package/dist/server/forge/github-ref-status-query.d.ts +5 -0
  1722. package/dist/server/forge/github-ref-status-query.js +11 -0
  1723. package/dist/server/forge/github-ref-status-query.js.map +1 -0
  1724. package/dist/server/forge/github-ref-status.d.ts +23 -0
  1725. package/dist/server/forge/github-ref-status.js +224 -0
  1726. package/dist/server/forge/github-ref-status.js.map +1 -0
  1727. package/dist/server/forge/github-repo-handle.d.ts +43 -0
  1728. package/dist/server/forge/github-repo-handle.js +161 -0
  1729. package/dist/server/forge/github-repo-handle.js.map +1 -0
  1730. package/dist/server/forge/github-request-gate.d.ts +64 -0
  1731. package/dist/server/forge/github-request-gate.js +152 -0
  1732. package/dist/server/forge/github-request-gate.js.map +1 -0
  1733. package/dist/server/forge/github-reviewer-ref.d.ts +11 -0
  1734. package/dist/server/forge/github-reviewer-ref.js +17 -0
  1735. package/dist/server/forge/github-reviewer-ref.js.map +1 -0
  1736. package/dist/server/forge/github-shared.d.ts +119 -0
  1737. package/dist/server/forge/github-shared.js +225 -0
  1738. package/dist/server/forge/github-shared.js.map +1 -0
  1739. package/dist/server/forge/github.d.ts +15 -386
  1740. package/dist/server/forge/github.js +29 -2789
  1741. package/dist/server/forge/github.js.map +1 -1
  1742. package/dist/server/forge/types.d.ts +3 -3
  1743. package/dist/server/fs-browse.d.ts +1 -1
  1744. package/dist/server/fs-browse.js +3 -5
  1745. package/dist/server/fs-browse.js.map +1 -1
  1746. package/dist/server/git-changes.d.ts +19 -1
  1747. package/dist/server/git-changes.js +23 -18
  1748. package/dist/server/git-changes.js.map +1 -1
  1749. package/dist/server/git-dir-stamp.d.ts +35 -0
  1750. package/dist/server/git-dir-stamp.js +158 -0
  1751. package/dist/server/git-dir-stamp.js.map +1 -0
  1752. package/dist/server/git.d.ts +7 -1
  1753. package/dist/server/git.js +72 -10
  1754. package/dist/server/git.js.map +1 -1
  1755. package/dist/server/github-routes.d.ts +733 -0
  1756. package/dist/server/github-routes.js +140 -0
  1757. package/dist/server/github-routes.js.map +1 -0
  1758. package/dist/server/health-cache.d.ts +39 -0
  1759. package/dist/server/health-cache.js +66 -0
  1760. package/dist/server/health-cache.js.map +1 -0
  1761. package/dist/server/home-recovery-routes.d.ts +2 -3
  1762. package/dist/server/home-recovery-routes.js +12 -12
  1763. package/dist/server/home-recovery-routes.js.map +1 -1
  1764. package/dist/server/host-authority.d.ts +20 -0
  1765. package/dist/server/host-authority.js +46 -0
  1766. package/dist/server/host-authority.js.map +1 -0
  1767. package/dist/server/live-routes.d.ts +13 -6
  1768. package/dist/server/live-routes.js +1 -0
  1769. package/dist/server/live-routes.js.map +1 -1
  1770. package/dist/server/models-routes.d.ts +60 -0
  1771. package/dist/server/models-routes.js +24 -0
  1772. package/dist/server/models-routes.js.map +1 -0
  1773. package/dist/server/open-in-app.d.ts +5 -3
  1774. package/dist/server/open-in-app.js +14 -18
  1775. package/dist/server/open-in-app.js.map +1 -1
  1776. package/dist/server/open-in-targets.d.ts +6 -6
  1777. package/dist/server/open-in-targets.js +20 -26
  1778. package/dist/server/open-in-targets.js.map +1 -1
  1779. package/dist/server/open-in-terminal.d.ts +3 -3
  1780. package/dist/server/open-in-terminal.js +3 -3
  1781. package/dist/server/preview-cdp-socket.js +1 -1
  1782. package/dist/server/preview-cdp-socket.js.map +1 -1
  1783. package/dist/server/preview-socket.js +1 -1
  1784. package/dist/server/preview-socket.js.map +1 -1
  1785. package/dist/server/probe-writable-dir.d.ts +5 -0
  1786. package/dist/server/probe-writable-dir.js +25 -0
  1787. package/dist/server/probe-writable-dir.js.map +1 -0
  1788. package/dist/server/project-context.d.ts +40 -26
  1789. package/dist/server/project-context.js +75 -78
  1790. package/dist/server/project-context.js.map +1 -1
  1791. package/dist/server/project-run-files.d.ts +4 -2
  1792. package/dist/server/project-run-files.js +4 -4
  1793. package/dist/server/project-run-files.js.map +1 -1
  1794. package/dist/server/project-settings-routes.d.ts +985 -0
  1795. package/dist/server/project-settings-routes.js +346 -0
  1796. package/dist/server/project-settings-routes.js.map +1 -0
  1797. package/dist/server/projects-routes.d.ts +833 -0
  1798. package/dist/server/projects-routes.js +423 -0
  1799. package/dist/server/projects-routes.js.map +1 -0
  1800. package/dist/server/provider-action-gate.d.ts +22 -3
  1801. package/dist/server/provider-action-gate.js +40 -14
  1802. package/dist/server/provider-action-gate.js.map +1 -1
  1803. package/dist/server/provider-auth-runtime.d.ts +2 -1
  1804. package/dist/server/provider-auth-runtime.js +11 -8
  1805. package/dist/server/provider-auth-runtime.js.map +1 -1
  1806. package/dist/server/provider-sign-in-routes.d.ts +231 -0
  1807. package/dist/server/provider-sign-in-routes.js +61 -0
  1808. package/dist/server/provider-sign-in-routes.js.map +1 -0
  1809. package/dist/server/provider-sign-ins.d.ts +12 -0
  1810. package/dist/server/provider-sign-ins.js +61 -0
  1811. package/dist/server/provider-sign-ins.js.map +1 -0
  1812. package/dist/server/providers-routes.d.ts +666 -0
  1813. package/dist/server/providers-routes.js +373 -0
  1814. package/dist/server/providers-routes.js.map +1 -0
  1815. package/dist/server/repo-branch-forge.js +38 -10
  1816. package/dist/server/repo-branch-forge.js.map +1 -1
  1817. package/dist/server/repo-branch-sweep.d.ts +23 -1
  1818. package/dist/server/repo-branch-sweep.js +9 -1
  1819. package/dist/server/repo-branch-sweep.js.map +1 -1
  1820. package/dist/server/repo-branches.d.ts +18 -3
  1821. package/dist/server/repo-branches.js +119 -53
  1822. package/dist/server/repo-branches.js.map +1 -1
  1823. package/dist/server/repo-pull.js +3 -6
  1824. package/dist/server/repo-pull.js.map +1 -1
  1825. package/dist/server/repo-read-cache.d.ts +22 -0
  1826. package/dist/server/repo-read-cache.js +51 -0
  1827. package/dist/server/repo-read-cache.js.map +1 -0
  1828. package/dist/server/repo-routes.d.ts +509 -0
  1829. package/dist/server/repo-routes.js +243 -0
  1830. package/dist/server/repo-routes.js.map +1 -0
  1831. package/dist/server/reports-api.js +4 -3
  1832. package/dist/server/reports-api.js.map +1 -1
  1833. package/dist/server/reports-topic.d.ts +1 -1
  1834. package/dist/server/reports-topic.js +2 -1
  1835. package/dist/server/reports-topic.js.map +1 -1
  1836. package/dist/server/run-accounts.d.ts +47 -0
  1837. package/dist/server/run-accounts.js +89 -0
  1838. package/dist/server/run-accounts.js.map +1 -0
  1839. package/dist/server/run-checkout.d.ts +9 -2
  1840. package/dist/server/run-checkout.js +50 -18
  1841. package/dist/server/run-checkout.js.map +1 -1
  1842. package/dist/server/run-event-feed.d.ts +7 -1
  1843. package/dist/server/run-event-feed.js +87 -30
  1844. package/dist/server/run-event-feed.js.map +1 -1
  1845. package/dist/server/run-relationships.d.ts +19 -0
  1846. package/dist/server/run-relationships.js +47 -0
  1847. package/dist/server/run-relationships.js.map +1 -0
  1848. package/dist/server/runner-install-routes.d.ts +106 -0
  1849. package/dist/server/runner-install-routes.js +52 -0
  1850. package/dist/server/runner-install-routes.js.map +1 -0
  1851. package/dist/server/runner-skills.d.ts +13 -0
  1852. package/dist/server/runner-skills.js +21 -0
  1853. package/dist/server/runner-skills.js.map +1 -0
  1854. package/dist/server/runners-routes.d.ts +156 -0
  1855. package/dist/server/runners-routes.js +29 -0
  1856. package/dist/server/runners-routes.js.map +1 -0
  1857. package/dist/server/runs-routes.d.ts +13066 -0
  1858. package/dist/server/runs-routes.js +834 -0
  1859. package/dist/server/runs-routes.js.map +1 -0
  1860. package/dist/server/server-deps.d.ts +8 -5
  1861. package/dist/server/server-deps.js +25 -12
  1862. package/dist/server/server-deps.js.map +1 -1
  1863. package/dist/server/server-types.d.ts +40 -0
  1864. package/dist/server/server-types.js +34 -0
  1865. package/dist/server/server-types.js.map +1 -0
  1866. package/dist/server/server.d.ts +6281 -4782
  1867. package/dist/server/server.js +220 -4493
  1868. package/dist/server/server.js.map +1 -1
  1869. package/dist/server/session-context-routes.d.ts +108 -0
  1870. package/dist/server/session-context-routes.js +26 -0
  1871. package/dist/server/session-context-routes.js.map +1 -0
  1872. package/dist/server/start-run-options.d.ts +15 -8
  1873. package/dist/server/start-run-options.js +17 -7
  1874. package/dist/server/start-run-options.js.map +1 -1
  1875. package/dist/server/start-server.d.ts +6 -0
  1876. package/dist/server/start-server.js +345 -0
  1877. package/dist/server/start-server.js.map +1 -0
  1878. package/dist/server/static-assets.d.ts +5 -0
  1879. package/dist/server/static-assets.js +109 -0
  1880. package/dist/server/static-assets.js.map +1 -0
  1881. package/dist/server/static-ui.d.ts +1 -1
  1882. package/dist/server/static-ui.js +8 -6
  1883. package/dist/server/static-ui.js.map +1 -1
  1884. package/dist/server/validators.d.ts +6 -3
  1885. package/dist/server/validators.js +22 -13
  1886. package/dist/server/validators.js.map +1 -1
  1887. package/dist/server/web-app-manifest.d.ts +23 -0
  1888. package/dist/server/web-app-manifest.js +27 -0
  1889. package/dist/server/web-app-manifest.js.map +1 -0
  1890. package/dist/server/workspace-config-patch.js +3 -3
  1891. package/dist/server/workspace-config-patch.js.map +1 -1
  1892. package/dist/server/workspace-live-routes.d.ts +7 -0
  1893. package/dist/server/workspace-projects.d.ts +3 -8
  1894. package/dist/server/workspace-projects.js +5 -17
  1895. package/dist/server/workspace-projects.js.map +1 -1
  1896. package/dist/server/workspace-routes.d.ts +713 -0
  1897. package/dist/server/workspace-routes.js +262 -0
  1898. package/dist/server/workspace-routes.js.map +1 -0
  1899. package/dist/server/workspace-run-feed.d.ts +15 -5
  1900. package/dist/server/workspace-run-feed.js +14 -11
  1901. package/dist/server/workspace-run-feed.js.map +1 -1
  1902. package/dist/server/worktree-size-cache.d.ts +3 -0
  1903. package/dist/server/worktree-size-cache.js +8 -0
  1904. package/dist/server/worktree-size-cache.js.map +1 -0
  1905. package/dist/server/ws.js +22 -9
  1906. package/dist/server/ws.js.map +1 -1
  1907. package/dist/server/wsl.js +1 -1
  1908. package/dist/server-command.js +1 -2
  1909. package/dist/server-command.js.map +1 -1
  1910. package/dist/server-install/engine.d.ts +2 -2
  1911. package/dist/server-install/engine.js +4 -5
  1912. package/dist/server-install/engine.js.map +1 -1
  1913. package/dist/server-install/group-migrate.js +35 -24
  1914. package/dist/server-install/group-migrate.js.map +1 -1
  1915. package/dist/server-install/migrate-journal.d.ts +1 -0
  1916. package/dist/server-install/migrate-journal.js +4 -4
  1917. package/dist/server-install/migrate-journal.js.map +1 -1
  1918. package/dist/server-install/npx-cache.d.ts +1 -1
  1919. package/dist/server-install/npx-cache.js +4 -5
  1920. package/dist/server-install/npx-cache.js.map +1 -1
  1921. package/dist/server-install/platforms/macosx-migration.d.ts +2 -2
  1922. package/dist/server-install/platforms/macosx-migration.js +3 -7
  1923. package/dist/server-install/platforms/macosx-migration.js.map +1 -1
  1924. package/dist/server-install/platforms/macosx-ngrok.d.ts +6 -8
  1925. package/dist/server-install/platforms/macosx-ngrok.js +64 -67
  1926. package/dist/server-install/platforms/macosx-ngrok.js.map +1 -1
  1927. package/dist/server-install/platforms/ubuntu-vps-migration.d.ts +6 -6
  1928. package/dist/server-install/platforms/ubuntu-vps-migration.js +22 -39
  1929. package/dist/server-install/platforms/ubuntu-vps-migration.js.map +1 -1
  1930. package/dist/server-install/platforms/ubuntu-vps-names.d.ts +13 -11
  1931. package/dist/server-install/platforms/ubuntu-vps-names.js +15 -17
  1932. package/dist/server-install/platforms/ubuntu-vps-names.js.map +1 -1
  1933. package/dist/server-install/platforms/ubuntu-vps-redeploy.d.ts +1 -1
  1934. package/dist/server-install/platforms/ubuntu-vps-redeploy.js +2 -3
  1935. package/dist/server-install/platforms/ubuntu-vps-redeploy.js.map +1 -1
  1936. package/dist/server-install/platforms/ubuntu-vps.d.ts +9 -13
  1937. package/dist/server-install/platforms/ubuntu-vps.js +95 -99
  1938. package/dist/server-install/platforms/ubuntu-vps.js.map +1 -1
  1939. package/dist/server-install/state.js +2 -3
  1940. package/dist/server-install/state.js.map +1 -1
  1941. package/dist/server-install/steps.js +29 -24
  1942. package/dist/server-install/steps.js.map +1 -1
  1943. package/dist/server-install/types.d.ts +9 -6
  1944. package/dist/server-install/types.js +10 -7
  1945. package/dist/server-install/types.js.map +1 -1
  1946. package/dist/session-context-file.d.ts +11 -0
  1947. package/dist/session-context-file.js +173 -0
  1948. package/dist/session-context-file.js.map +1 -0
  1949. package/dist/session-context.d.ts +61 -4
  1950. package/dist/session-context.js +268 -36
  1951. package/dist/session-context.js.map +1 -1
  1952. package/dist/skills.d.ts +0 -69
  1953. package/dist/skills.js +0 -205
  1954. package/dist/skills.js.map +1 -1
  1955. package/dist/subcommands.d.ts +8 -10
  1956. package/dist/subcommands.js +23 -54
  1957. package/dist/subcommands.js.map +1 -1
  1958. package/dist/task-branch-head.d.ts +7 -0
  1959. package/dist/task-branch-head.js +32 -0
  1960. package/dist/task-branch-head.js.map +1 -0
  1961. package/dist/task-cli/cli.js +64 -211
  1962. package/dist/task-cli/cli.js.map +1 -1
  1963. package/dist/task-cli/discovery.d.ts +22 -1
  1964. package/dist/task-cli/discovery.js +79 -29
  1965. package/dist/task-cli/discovery.js.map +1 -1
  1966. package/dist/task-cli/http.d.ts +15 -16
  1967. package/dist/task-cli/http.js +17 -7
  1968. package/dist/task-cli/http.js.map +1 -1
  1969. package/dist/task-cli/operations.d.ts +156 -0
  1970. package/dist/task-cli/operations.js +388 -0
  1971. package/dist/task-cli/operations.js.map +1 -0
  1972. package/dist/task-cli/projections.d.ts +4 -2
  1973. package/dist/task-cli/projections.js +2 -2
  1974. package/dist/task-cli/projections.js.map +1 -1
  1975. package/dist/task-cli/watch.d.ts +31 -8
  1976. package/dist/task-cli/watch.js +159 -91
  1977. package/dist/task-cli/watch.js.map +1 -1
  1978. package/dist/ui-state.d.ts +11 -10
  1979. package/dist/ui-state.js +36 -11
  1980. package/dist/ui-state.js.map +1 -1
  1981. package/dist/update-check.d.ts +1 -1
  1982. package/dist/update-check.js +3 -4
  1983. package/dist/update-check.js.map +1 -1
  1984. package/dist/webhooks/cli.d.ts +2 -0
  1985. package/dist/webhooks/cli.js +5 -2
  1986. package/dist/webhooks/cli.js.map +1 -1
  1987. package/dist/worker-scope/cgroup.d.ts +7 -0
  1988. package/dist/worker-scope/cgroup.js +17 -0
  1989. package/dist/worker-scope/cgroup.js.map +1 -0
  1990. package/dist/worker-scope/groups.d.ts +15 -0
  1991. package/dist/worker-scope/groups.js +45 -0
  1992. package/dist/worker-scope/groups.js.map +1 -0
  1993. package/dist/worker-scope/job.d.ts +7 -0
  1994. package/dist/worker-scope/job.js +10 -0
  1995. package/dist/worker-scope/job.js.map +1 -0
  1996. package/dist/worker-scope/scope.d.ts +38 -0
  1997. package/dist/worker-scope/scope.js +20 -0
  1998. package/dist/worker-scope/scope.js.map +1 -0
  1999. package/dist/worker-scope/worker-scopes.d.ts +75 -0
  2000. package/dist/worker-scope/worker-scopes.js +254 -0
  2001. package/dist/worker-scope/worker-scopes.js.map +1 -0
  2002. package/dist/workflows/active-run.d.ts +2 -2
  2003. package/dist/workflows/active-run.js +2 -2
  2004. package/dist/workflows/attachment-path.d.ts +2 -0
  2005. package/dist/workflows/attachment-path.js +23 -1
  2006. package/dist/workflows/attachment-path.js.map +1 -1
  2007. package/dist/workflows/completion-policy.d.ts +11 -3
  2008. package/dist/workflows/completion-policy.js +13 -3
  2009. package/dist/workflows/completion-policy.js.map +1 -1
  2010. package/dist/workflows/continuation-admission.d.ts +183 -41
  2011. package/dist/workflows/continuation-admission.js +77 -42
  2012. package/dist/workflows/continuation-admission.js.map +1 -1
  2013. package/dist/workflows/execution-account.d.ts +2 -3
  2014. package/dist/workflows/execution-account.js +6 -4
  2015. package/dist/workflows/execution-account.js.map +1 -1
  2016. package/dist/workflows/grouped-command.d.ts +3 -0
  2017. package/dist/workflows/grouped-command.js +42 -6
  2018. package/dist/workflows/grouped-command.js.map +1 -1
  2019. package/dist/workflows/input-acknowledgement.d.ts +23 -3
  2020. package/dist/workflows/input-acknowledgement.js.map +1 -1
  2021. package/dist/workflows/load.js +15 -0
  2022. package/dist/workflows/load.js.map +1 -1
  2023. package/dist/workflows/outcome-batches.d.ts +5 -4
  2024. package/dist/workflows/outcome-batches.js +4 -3
  2025. package/dist/workflows/outcome-batches.js.map +1 -1
  2026. package/dist/workflows/question-routing.d.ts +3 -1
  2027. package/dist/workflows/question-routing.js +9 -3
  2028. package/dist/workflows/question-routing.js.map +1 -1
  2029. package/dist/workflows/run/attachment-writer.d.ts +5 -4
  2030. package/dist/workflows/run/attachment-writer.js +12 -9
  2031. package/dist/workflows/run/attachment-writer.js.map +1 -1
  2032. package/dist/workflows/run/auto-resume.d.ts +38 -16
  2033. package/dist/workflows/run/auto-resume.js +106 -68
  2034. package/dist/workflows/run/auto-resume.js.map +1 -1
  2035. package/dist/workflows/run/completion-gate.d.ts +4 -0
  2036. package/dist/workflows/run/completion-gate.js +20 -16
  2037. package/dist/workflows/run/completion-gate.js.map +1 -1
  2038. package/dist/workflows/run/compose.d.ts +27 -21
  2039. package/dist/workflows/run/compose.js +55 -46
  2040. package/dist/workflows/run/compose.js.map +1 -1
  2041. package/dist/workflows/run/constants.d.ts +2 -2
  2042. package/dist/workflows/run/constants.js +2 -2
  2043. package/dist/workflows/run/constants.js.map +1 -1
  2044. package/dist/workflows/run/continuation-acceptance.d.ts +14 -11
  2045. package/dist/workflows/run/continuation-acceptance.js +113 -36
  2046. package/dist/workflows/run/continuation-acceptance.js.map +1 -1
  2047. package/dist/workflows/run/continuation-session.d.ts +10 -12
  2048. package/dist/workflows/run/continuation-session.js +110 -154
  2049. package/dist/workflows/run/continuation-session.js.map +1 -1
  2050. package/dist/workflows/run/cut-off-work.d.ts +41 -0
  2051. package/dist/workflows/run/cut-off-work.js +96 -0
  2052. package/dist/workflows/run/cut-off-work.js.map +1 -0
  2053. package/dist/workflows/run/done-accepted.d.ts +42 -0
  2054. package/dist/workflows/run/done-accepted.js +142 -0
  2055. package/dist/workflows/run/done-accepted.js.map +1 -0
  2056. package/dist/workflows/run/family-reconciler.d.ts +26 -12
  2057. package/dist/workflows/run/family-reconciler.js +76 -59
  2058. package/dist/workflows/run/family-reconciler.js.map +1 -1
  2059. package/dist/workflows/run/human-waits.d.ts +32 -12
  2060. package/dist/workflows/run/human-waits.js +77 -31
  2061. package/dist/workflows/run/human-waits.js.map +1 -1
  2062. package/dist/workflows/run/inbox-claims.d.ts +3 -2
  2063. package/dist/workflows/run/inbox-claims.js +8 -17
  2064. package/dist/workflows/run/inbox-claims.js.map +1 -1
  2065. package/dist/workflows/run/input-batch.d.ts +4 -2
  2066. package/dist/workflows/run/input-batch.js +7 -6
  2067. package/dist/workflows/run/input-batch.js.map +1 -1
  2068. package/dist/workflows/run/input-delivery.d.ts +81 -12
  2069. package/dist/workflows/run/input-delivery.js +275 -117
  2070. package/dist/workflows/run/input-delivery.js.map +1 -1
  2071. package/dist/workflows/run/input-receipts.d.ts +15 -7
  2072. package/dist/workflows/run/input-receipts.js +21 -20
  2073. package/dist/workflows/run/input-receipts.js.map +1 -1
  2074. package/dist/workflows/run/input-timers.js +3 -2
  2075. package/dist/workflows/run/input-timers.js.map +1 -1
  2076. package/dist/workflows/run/launch-context.d.ts +7 -14
  2077. package/dist/workflows/run/launch-context.js +17 -41
  2078. package/dist/workflows/run/launch-context.js.map +1 -1
  2079. package/dist/workflows/run/launch-read-resolver.d.ts +107 -54
  2080. package/dist/workflows/run/launch-read-resolver.js +138 -79
  2081. package/dist/workflows/run/launch-read-resolver.js.map +1 -1
  2082. package/dist/workflows/run/launch-settings.d.ts +2 -2
  2083. package/dist/workflows/run/launch-settings.js.map +1 -1
  2084. package/dist/workflows/run/live-session-state.d.ts +8 -0
  2085. package/dist/workflows/run/live-session-state.js +9 -0
  2086. package/dist/workflows/run/live-session-state.js.map +1 -1
  2087. package/dist/workflows/run/liveness-timers.d.ts +105 -0
  2088. package/dist/workflows/run/liveness-timers.js +134 -0
  2089. package/dist/workflows/run/liveness-timers.js.map +1 -0
  2090. package/dist/workflows/run/maintenance-claims.d.ts +15 -1
  2091. package/dist/workflows/run/maintenance-claims.js +57 -10
  2092. package/dist/workflows/run/maintenance-claims.js.map +1 -1
  2093. package/dist/workflows/run/memory-guard.d.ts +6 -6
  2094. package/dist/workflows/run/memory-guard.js +10 -10
  2095. package/dist/workflows/run/memory-guard.js.map +1 -1
  2096. package/dist/workflows/run/native-skill-input-queue.d.ts +59 -0
  2097. package/dist/workflows/run/native-skill-input-queue.js +157 -0
  2098. package/dist/workflows/run/native-skill-input-queue.js.map +1 -0
  2099. package/dist/workflows/run/opening.d.ts +2 -2
  2100. package/dist/workflows/run/pending-ask-facts.d.ts +2 -2
  2101. package/dist/workflows/run/pending-ask-facts.js.map +1 -1
  2102. package/dist/workflows/run/prompts.d.ts +3 -42
  2103. package/dist/workflows/run/prompts.js +18 -88
  2104. package/dist/workflows/run/prompts.js.map +1 -1
  2105. package/dist/workflows/run/queued-input.d.ts +12 -10
  2106. package/dist/workflows/run/queued-input.js +28 -17
  2107. package/dist/workflows/run/queued-input.js.map +1 -1
  2108. package/dist/workflows/run/queued-revival.d.ts +5 -4
  2109. package/dist/workflows/run/queued-revival.js +38 -18
  2110. package/dist/workflows/run/queued-revival.js.map +1 -1
  2111. package/dist/workflows/run/run-cancel.d.ts +12 -2
  2112. package/dist/workflows/run/run-cancel.js +43 -21
  2113. package/dist/workflows/run/run-cancel.js.map +1 -1
  2114. package/dist/workflows/run/run-finish.d.ts +16 -11
  2115. package/dist/workflows/run/run-finish.js +52 -28
  2116. package/dist/workflows/run/run-finish.js.map +1 -1
  2117. package/dist/workflows/run/run-guards.d.ts +8 -7
  2118. package/dist/workflows/run/run-guards.js.map +1 -1
  2119. package/dist/workflows/run/run-line.d.ts +11 -10
  2120. package/dist/workflows/run/run-line.js +32 -22
  2121. package/dist/workflows/run/run-line.js.map +1 -1
  2122. package/dist/workflows/run/run-memory.d.ts +65 -0
  2123. package/dist/workflows/run/run-memory.js +84 -0
  2124. package/dist/workflows/run/run-memory.js.map +1 -0
  2125. package/dist/workflows/run/run-recovery.d.ts +6 -4
  2126. package/dist/workflows/run/run-recovery.js +48 -33
  2127. package/dist/workflows/run/run-recovery.js.map +1 -1
  2128. package/dist/workflows/run/run-settlement.d.ts +29 -12
  2129. package/dist/workflows/run/run-settlement.js +120 -59
  2130. package/dist/workflows/run/run-settlement.js.map +1 -1
  2131. package/dist/workflows/run/run-skills.d.ts +23 -105
  2132. package/dist/workflows/run/run-skills.js +83 -210
  2133. package/dist/workflows/run/run-skills.js.map +1 -1
  2134. package/dist/workflows/run/run-start.d.ts +5 -4
  2135. package/dist/workflows/run/run-start.js +1 -1
  2136. package/dist/workflows/run/run-start.js.map +1 -1
  2137. package/dist/workflows/run/run-workspace.d.ts +11 -7
  2138. package/dist/workflows/run/run-workspace.js +25 -21
  2139. package/dist/workflows/run/run-workspace.js.map +1 -1
  2140. package/dist/workflows/run/session-events.d.ts +40 -22
  2141. package/dist/workflows/run/session-events.js +57 -38
  2142. package/dist/workflows/run/session-events.js.map +1 -1
  2143. package/dist/workflows/run/squawk-tools.d.ts +43 -0
  2144. package/dist/workflows/run/squawk-tools.js +113 -0
  2145. package/dist/workflows/run/squawk-tools.js.map +1 -0
  2146. package/dist/workflows/run/step-decisions.js +4 -3
  2147. package/dist/workflows/run/step-decisions.js.map +1 -1
  2148. package/dist/workflows/run/step-loop.d.ts +13 -7
  2149. package/dist/workflows/run/step-loop.js +81 -47
  2150. package/dist/workflows/run/step-loop.js.map +1 -1
  2151. package/dist/workflows/run/step-session.d.ts +7 -5
  2152. package/dist/workflows/run/step-session.js +70 -55
  2153. package/dist/workflows/run/step-session.js.map +1 -1
  2154. package/dist/workflows/run/steps.d.ts +1 -1
  2155. package/dist/workflows/run/subagent-waits.d.ts +22 -12
  2156. package/dist/workflows/run/subagent-waits.js +60 -43
  2157. package/dist/workflows/run/subagent-waits.js.map +1 -1
  2158. package/dist/workflows/run/turn-bookkeeping.d.ts +7 -7
  2159. package/dist/workflows/run/turn-bookkeeping.js +13 -13
  2160. package/dist/workflows/run/turn-bookkeeping.js.map +1 -1
  2161. package/dist/workflows/run/turn-boundary.d.ts +25 -9
  2162. package/dist/workflows/run/turn-boundary.js +14 -23
  2163. package/dist/workflows/run/turn-boundary.js.map +1 -1
  2164. package/dist/workflows/run/turn-markers.d.ts +3 -6
  2165. package/dist/workflows/run/turn-markers.js +0 -11
  2166. package/dist/workflows/run/turn-markers.js.map +1 -1
  2167. package/dist/workflows/run/turn-nudges.d.ts +68 -22
  2168. package/dist/workflows/run/turn-nudges.js +144 -30
  2169. package/dist/workflows/run/turn-nudges.js.map +1 -1
  2170. package/dist/workflows/run/turn-settler.d.ts +72 -12
  2171. package/dist/workflows/run/turn-settler.js +165 -58
  2172. package/dist/workflows/run/turn-settler.js.map +1 -1
  2173. package/dist/workflows/run/types.d.ts +19 -15
  2174. package/dist/workflows/run/usage-accounting.d.ts +4 -4
  2175. package/dist/workflows/run/usage-accounting.js +15 -11
  2176. package/dist/workflows/run/usage-accounting.js.map +1 -1
  2177. package/dist/workflows/run/wait-engine.d.ts +143 -48
  2178. package/dist/workflows/run/wait-engine.js +134 -195
  2179. package/dist/workflows/run/wait-engine.js.map +1 -1
  2180. package/dist/workflows/run/wait-input-descriptors.d.ts +3 -0
  2181. package/dist/workflows/run/wait-input-descriptors.js +40 -0
  2182. package/dist/workflows/run/wait-input-descriptors.js.map +1 -0
  2183. package/dist/workflows/run/wait-kind-registry.d.ts +151 -0
  2184. package/dist/workflows/run/wait-kind-registry.js +40 -0
  2185. package/dist/workflows/run/wait-kind-registry.js.map +1 -0
  2186. package/dist/workflows/run/wait-kinds.d.ts +545 -130
  2187. package/dist/workflows/run/wait-kinds.js +160 -205
  2188. package/dist/workflows/run/wait-kinds.js.map +1 -1
  2189. package/dist/workflows/run/wait-registration-tool.d.ts +3 -3
  2190. package/dist/workflows/run/wait-registration-tool.js +6 -5
  2191. package/dist/workflows/run/wait-registration-tool.js.map +1 -1
  2192. package/dist/workflows/run/wait-registration.d.ts +10 -2
  2193. package/dist/workflows/run/wait-registration.js +18 -10
  2194. package/dist/workflows/run/wait-registration.js.map +1 -1
  2195. package/dist/workflows/run/wait-registry.d.ts +34 -35
  2196. package/dist/workflows/run/wait-registry.js +122 -160
  2197. package/dist/workflows/run/wait-registry.js.map +1 -1
  2198. package/dist/workflows/run/wake-admission.d.ts +19 -6
  2199. package/dist/workflows/run/wake-admission.js +49 -15
  2200. package/dist/workflows/run/wake-admission.js.map +1 -1
  2201. package/dist/workflows/run/wake-ledger.d.ts +12 -5
  2202. package/dist/workflows/run/wake-ledger.js +19 -9
  2203. package/dist/workflows/run/wake-ledger.js.map +1 -1
  2204. package/dist/workflows/run/wake-retries.d.ts +10 -8
  2205. package/dist/workflows/run/wake-retries.js +26 -47
  2206. package/dist/workflows/run/wake-retries.js.map +1 -1
  2207. package/dist/workflows/run/worker-executions.d.ts +18 -5
  2208. package/dist/workflows/run/worker-executions.js +52 -20
  2209. package/dist/workflows/run/worker-executions.js.map +1 -1
  2210. package/dist/workflows/run/worker-orphans.d.ts +19 -37
  2211. package/dist/workflows/run/worker-orphans.js +78 -130
  2212. package/dist/workflows/run/worker-orphans.js.map +1 -1
  2213. package/dist/workflows/run/worker-questions.d.ts +36 -23
  2214. package/dist/workflows/run/worker-questions.js +140 -84
  2215. package/dist/workflows/run/worker-questions.js.map +1 -1
  2216. package/dist/workflows/run/worker-workspace-port.d.ts +35 -0
  2217. package/dist/workflows/run/worker-workspace-port.js +7 -0
  2218. package/dist/workflows/run/worker-workspace-port.js.map +1 -0
  2219. package/dist/workflows/run/workflow-position.d.ts +9 -6
  2220. package/dist/workflows/run/workflow-position.js +1 -0
  2221. package/dist/workflows/run/workflow-position.js.map +1 -1
  2222. package/dist/workflows/run/worktree-autosave.d.ts +4 -3
  2223. package/dist/workflows/run/worktree-autosave.js +9 -8
  2224. package/dist/workflows/run/worktree-autosave.js.map +1 -1
  2225. package/dist/workflows/run-scheduling.d.ts +24 -12
  2226. package/dist/workflows/run-scheduling.js +84 -15
  2227. package/dist/workflows/run-scheduling.js.map +1 -1
  2228. package/dist/workflows/run-states.d.ts +2 -9
  2229. package/dist/workflows/run-states.js +54 -60
  2230. package/dist/workflows/run-states.js.map +1 -1
  2231. package/dist/workflows/run.d.ts +57 -25
  2232. package/dist/workflows/run.js +95 -44
  2233. package/dist/workflows/run.js.map +1 -1
  2234. package/dist/workflows/step-kind-ids.d.ts +9 -0
  2235. package/dist/workflows/step-kind-ids.js +10 -0
  2236. package/dist/workflows/step-kind-ids.js.map +1 -0
  2237. package/dist/workflows/step-kind-registry.d.ts +45 -0
  2238. package/dist/workflows/step-kind-registry.js +48 -0
  2239. package/dist/workflows/step-kind-registry.js.map +1 -0
  2240. package/dist/workflows/turn-end.d.ts +17 -8
  2241. package/dist/workflows/turn-end.js +11 -3
  2242. package/dist/workflows/turn-end.js.map +1 -1
  2243. package/dist/workflows/types.d.ts +7 -8
  2244. package/dist/workflows/types.js +6 -19
  2245. package/dist/workflows/types.js.map +1 -1
  2246. package/dist/workflows/wait-kind-ids.d.ts +11 -0
  2247. package/dist/workflows/wait-kind-ids.js +34 -0
  2248. package/dist/workflows/wait-kind-ids.js.map +1 -0
  2249. package/dist/workflows/wait-scope.d.ts +9 -10
  2250. package/dist/workflows/wait-scope.js +20 -18
  2251. package/dist/workflows/wait-scope.js.map +1 -1
  2252. package/dist/workflows/waits.d.ts +12 -19
  2253. package/dist/workflows/waits.js +21 -32
  2254. package/dist/workflows/waits.js.map +1 -1
  2255. package/dist/workspace/agent-accounts.d.ts +18 -45
  2256. package/dist/workspace/agent-accounts.js +115 -55
  2257. package/dist/workspace/agent-accounts.js.map +1 -1
  2258. package/dist/workspace/agent-profiles.d.ts +6 -40
  2259. package/dist/workspace/agent-profiles.js +7 -76
  2260. package/dist/workspace/agent-profiles.js.map +1 -1
  2261. package/dist/workspace/backup-cli.d.ts +1 -1
  2262. package/dist/workspace/backup-cli.js +14 -17
  2263. package/dist/workspace/backup-cli.js.map +1 -1
  2264. package/dist/workspace/backups.d.ts +1 -18
  2265. package/dist/workspace/backups.js +9 -42
  2266. package/dist/workspace/backups.js.map +1 -1
  2267. package/dist/workspace/config.d.ts +19 -24
  2268. package/dist/workspace/config.js +50 -35
  2269. package/dist/workspace/config.js.map +1 -1
  2270. package/dist/workspace/migrations.js +2 -3
  2271. package/dist/workspace/migrations.js.map +1 -1
  2272. package/dist/workspace/projects-cli.d.ts +10 -8
  2273. package/dist/workspace/projects-cli.js +21 -45
  2274. package/dist/workspace/projects-cli.js.map +1 -1
  2275. package/dist/workspace/projects.d.ts +4 -7
  2276. package/dist/workspace/projects.js +13 -12
  2277. package/dist/workspace/projects.js.map +1 -1
  2278. package/dist/workspace/registry-entry.d.ts +4 -0
  2279. package/dist/workspace/registry-entry.js +11 -0
  2280. package/dist/workspace/registry-entry.js.map +1 -0
  2281. package/dist/workspace/semaphore.js +1 -1
  2282. package/dist/workspace/ui-state.js +1 -1
  2283. package/dist/workspace/ui-state.js.map +1 -1
  2284. package/dist/worktree-manifest.d.ts +14 -14
  2285. package/dist/worktree-manifest.js +22 -25
  2286. package/dist/worktree-manifest.js.map +1 -1
  2287. package/dist/worktree-paths.d.ts +3 -0
  2288. package/dist/worktree-paths.js +52 -0
  2289. package/dist/worktree-paths.js.map +1 -0
  2290. package/dist/worktree-setup.d.ts +12 -1
  2291. package/dist/worktree-setup.js +14 -5
  2292. package/dist/worktree-setup.js.map +1 -1
  2293. package/dist/worktree-skill-cleanup.d.ts +11 -0
  2294. package/dist/worktree-skill-cleanup.js +53 -0
  2295. package/dist/worktree-skill-cleanup.js.map +1 -0
  2296. package/package.json +15 -6
  2297. package/scripts/benchmark-automation-lookups.ts +97 -0
  2298. package/scripts/benchmark-conversation-lookup.ts +105 -0
  2299. package/scripts/benchmark-family-reconcile.ts +8 -7
  2300. package/scripts/benchmark-home.ts +3 -3
  2301. package/scripts/benchmark-project-probes.mjs +1 -1
  2302. package/scripts/benchmark-project.ts +41 -0
  2303. package/scripts/benchmark-run-store.ts +10 -9
  2304. package/scripts/benchmark-runtime.ts +30 -0
  2305. package/scripts/benchmark-store-fixture.ts +43 -0
  2306. package/scripts/benchmark-stuck-destroys.ts +25 -42
  2307. package/scripts/benchmark-worker-lifecycle.ts +156 -0
  2308. package/scripts/benchmark-workspace-events.ts +10 -9
  2309. package/scripts/benchmark-worktree-retention.ts +133 -0
  2310. package/scripts/check-pack.mjs +11 -2
  2311. package/scripts/copy-runner-assets.d.mts +2 -0
  2312. package/scripts/copy-runner-assets.mjs +69 -0
  2313. package/scripts/inline-contract.mjs +63 -5
  2314. package/scripts/measure-transcript-facts-health.mjs +93 -15
  2315. package/scripts/measure-transcript-facts-lag.mjs +16 -7
  2316. package/scripts/mock-acp-login.mjs +20 -0
  2317. package/scripts/mock-acp-sessions.mjs +30 -0
  2318. package/scripts/mock-acp.mjs +589 -0
  2319. package/scripts/mock-antigravity-auth.mjs +62 -0
  2320. package/scripts/mock-ask-answer.d.mts +2 -0
  2321. package/scripts/mock-ask-answer.mjs +19 -0
  2322. package/scripts/mock-autonomous.mjs +8 -1
  2323. package/scripts/mock-ci-tool.mjs +79 -34
  2324. package/scripts/mock-claude-subagents.mjs +1 -1
  2325. package/scripts/mock-claude.mjs +56 -25
  2326. package/scripts/mock-codex-app-server.mjs +69 -23
  2327. package/scripts/mock-codex-subagents.mjs +1 -1
  2328. package/scripts/mock-deferred-turn-start.mjs +1 -1
  2329. package/scripts/mock-fixture-runner.mjs +184 -0
  2330. package/scripts/mock-lifecycle.d.mts +2 -0
  2331. package/scripts/mock-lifecycle.mjs +6 -2
  2332. package/scripts/mock-nudge.mjs +6 -4
  2333. package/scripts/mock-omp-rpc.mjs +52 -19
  2334. package/scripts/mock-opencode-questions.d.mts +14 -0
  2335. package/scripts/mock-opencode-questions.mjs +89 -0
  2336. package/scripts/mock-opencode-serve.mjs +68 -89
  2337. package/scripts/mock-pi-rpc.mjs +39 -16
  2338. package/scripts/mock-provider-failures.mjs +51 -0
  2339. package/scripts/mock-scenario.d.mts +6 -2
  2340. package/scripts/mock-scenario.mjs +58 -23
  2341. package/scripts/mock-silent-tail.mjs +2 -10
  2342. package/scripts/mock-skill-data/antigravity.mjs +66 -0
  2343. package/scripts/mock-skill-data/claude.mjs +83 -0
  2344. package/scripts/mock-skill-data/codex.mjs +73 -0
  2345. package/scripts/mock-skill-data/omp.mjs +59 -0
  2346. package/scripts/mock-skill-data/opencode.mjs +82 -0
  2347. package/scripts/mock-skill-data/pi.mjs +64 -0
  2348. package/scripts/mock-skill-data.mjs +13 -0
  2349. package/scripts/mock-skill-fixtures.d.mts +11 -0
  2350. package/scripts/mock-skill-fixtures.mjs +62 -0
  2351. package/scripts/mock-skill-list-data.d.mts +1 -0
  2352. package/scripts/mock-skill-list-data.mjs +4 -0
  2353. package/scripts/mock-skill-list.d.mts +1 -0
  2354. package/scripts/mock-skill-list.mjs +14 -0
  2355. package/scripts/mock-skill-trigger-data.mjs +4 -0
  2356. package/scripts/mock-skill-trigger.mjs +34 -0
  2357. package/scripts/mock-wire-evidence.config.mjs +10 -0
  2358. package/scripts/mock-wire-tools.mjs +7 -1
  2359. package/scripts/parity-rows.ts +9 -3
  2360. package/scripts/profile-lint-compare.ts +101 -0
  2361. package/scripts/profile-lint.ts +234 -0
  2362. package/scripts/record-wait-oracle.ts +68 -0
  2363. package/scripts/seed-archive-profile.ts +4 -2
  2364. package/scripts/transcript-facts-fixture.mjs +1 -1
  2365. package/scripts/transcript-facts-timing.mjs +165 -9
  2366. package/scripts/windows-worker-job.cs +221 -0
  2367. package/scripts/windows-worker-job.ps1 +41 -0
  2368. package/web/dist/app-icon.png +0 -0
  2369. package/web/dist/assets/accounts-section-COizLyTO.js +1 -0
  2370. package/web/dist/assets/activity-motion-DcKVM8fM.css +1 -0
  2371. package/web/dist/assets/activity-motion-DfI5xoMG.js +2 -0
  2372. package/web/dist/assets/activity-route-BQs2vBeo.js +1 -0
  2373. package/web/dist/assets/agent-config-section-BwBo-HRw.js +7 -0
  2374. package/web/dist/assets/agent-defaults-section-h-Gjb_gh.js +1 -0
  2375. package/web/dist/assets/agents-settings-path-7X6_cvUg.js +1 -0
  2376. package/web/dist/assets/appearance-Bcl2amXv.js +1 -0
  2377. package/web/dist/assets/archive-on-merge-field-Bm8miJjt.js +1 -0
  2378. package/web/dist/assets/attention-8bNiiAFt.js +1 -0
  2379. package/web/dist/assets/automation-format-DB34jUyF.js +1 -0
  2380. package/web/dist/assets/automations-route-CutF-cGn.css +1 -0
  2381. package/web/dist/assets/automations-route-rSezHxBp.js +2 -0
  2382. package/web/dist/assets/badge-DQ3U69Ht.js +1 -0
  2383. package/web/dist/assets/bot-TkDIw4y-.js +1 -0
  2384. package/web/dist/assets/bundle-mjs-rHxsej31.js +1 -0
  2385. package/web/dist/assets/button-B7MKxYjT.js +1 -0
  2386. package/web/dist/assets/centered-state-V15AR_qo.js +1 -0
  2387. package/web/dist/assets/cez-idle-CdswdDRd.js +1 -0
  2388. package/web/dist/assets/change-counts-CW7O8g5Y.js +1 -0
  2389. package/web/dist/assets/check-OP-CVgZG.js +1 -0
  2390. package/web/dist/assets/chevron-down-CHGyCDBH.js +1 -0
  2391. package/web/dist/assets/chevron-right-BENZ-1ZN.js +1 -0
  2392. package/web/dist/assets/chunk-BO2N2NFS-DQrpGzb-.js +131 -0
  2393. package/web/dist/assets/chunk-KS7C4IRE-Cg8l-LDN.js +3 -0
  2394. package/web/dist/assets/circle-x-7nTlobAF.js +1 -0
  2395. package/web/dist/assets/code-editor-B4baSOhz.js +4 -0
  2396. package/web/dist/assets/collapsible-BEV4FO-1.js +1 -0
  2397. package/web/dist/assets/command-KdW7aO0N.js +1 -0
  2398. package/web/dist/assets/commit-list-DtEqtn9o.js +1 -0
  2399. package/web/dist/assets/core-DzoyrHjB.js +12 -0
  2400. package/web/dist/assets/design-icons-CzEoMH9c.js +1 -0
  2401. package/web/dist/assets/dialog-B531GGAo.js +1 -0
  2402. package/web/dist/assets/diff-BK789dS0.js +3 -0
  2403. package/web/dist/assets/diff-controls-BFqQNxRu.js +1 -0
  2404. package/web/dist/assets/diff-view-BEgQ7jZV.js +11 -0
  2405. package/web/dist/assets/dist-BAoXdNsT.js +1 -0
  2406. package/web/dist/assets/dist-BW234Kg5.js +1 -0
  2407. package/web/dist/assets/dist-C5mlVBmd.js +1 -0
  2408. package/web/dist/assets/dist-Czz3Y5qH.js +1 -0
  2409. package/web/dist/assets/dist-DXO3xwbC.js +1 -0
  2410. package/web/dist/assets/dist-Da4ckcJG.js +1 -0
  2411. package/web/dist/assets/dropdown-menu-4e2iKSMT.js +1 -0
  2412. package/web/dist/assets/es2015-CQth82uv.js +41 -0
  2413. package/web/dist/assets/external-link-BE6y205O.js +1 -0
  2414. package/web/dist/assets/file-preview-CDWTFZ4P.js +2 -0
  2415. package/web/dist/assets/folder-browser-BfclRPcX.js +1 -0
  2416. package/web/dist/assets/folder-o-AvL3y3.js +1 -0
  2417. package/web/dist/assets/format-BU7D3IfE.js +1 -0
  2418. package/web/dist/assets/git-toolbar-Pugtjt-9.js +1 -0
  2419. package/web/dist/assets/github-CvpaGHe6.js +1 -0
  2420. package/web/dist/assets/global-activity-route-Di_ICsRI.js +1 -0
  2421. package/web/dist/assets/highlighted-body-OFNGDK62-Cx8MiNVZ.js +1 -0
  2422. package/web/dist/assets/highlighter-DvLzHjjY.js +3 -0
  2423. package/web/dist/assets/hourglass-CikYdGGQ.js +1 -0
  2424. package/web/dist/assets/image-preview-Dx2w5oIn.js +1 -0
  2425. package/web/dist/assets/index-CGjknHnV.css +1 -0
  2426. package/web/dist/assets/index-CJFT0IZP.js +21 -0
  2427. package/web/dist/assets/label-DEH7fJN4.js +1 -0
  2428. package/web/dist/assets/lib-DrPFkMXk.js +1 -0
  2429. package/web/dist/assets/live-protocol-DMhTnCmf.js +64 -0
  2430. package/web/dist/assets/live-reads-BJ9eDISf.js +1 -0
  2431. package/web/dist/assets/live-refetch-VoLPvzhe.js +1 -0
  2432. package/web/dist/assets/live-worker-DBw-5jVE.ts +36 -0
  2433. package/web/dist/assets/loader-circle-CPBhhDbB.js +1 -0
  2434. package/web/dist/assets/markdown-Dv0r75AX.js +4 -0
  2435. package/web/dist/assets/mermaid-GHXKKRXX-lTc_AjAC.js +1 -0
  2436. package/web/dist/assets/moon-CRE9nU5R.js +1 -0
  2437. package/web/dist/assets/nav-row-styles-DqKjMToI.js +1 -0
  2438. package/web/dist/assets/notifications-section-DCiqPl3M.js +1 -0
  2439. package/web/dist/assets/open-in-menu-HM5l7Bwk.js +1 -0
  2440. package/web/dist/assets/own-lookup-DS54wXvD.js +1 -0
  2441. package/web/dist/assets/play-CmVAj_fu.js +1 -0
  2442. package/web/dist/assets/plus-CxRU2X8C.js +1 -0
  2443. package/web/dist/assets/popover-BPgUYFyu.js +1 -0
  2444. package/web/dist/assets/preload-helper-Czpn1I53.js +1 -0
  2445. package/web/dist/assets/preview-pane-connected-WV9oolnn.js +3 -0
  2446. package/web/dist/assets/project-location-CfJLc6aJ.js +1 -0
  2447. package/web/dist/assets/project-order-AcHI4Dcl.js +1 -0
  2448. package/web/dist/assets/project-rail-sortable-BmVI4_-T.js +1 -0
  2449. package/web/dist/assets/project-router-Bii3ofOk.js +1 -0
  2450. package/web/dist/assets/project-scope-context-BdqKyBHa.js +4 -0
  2451. package/web/dist/assets/projects-section-D2cACaaG.js +1 -0
  2452. package/web/dist/assets/prompt-templates-section-toLPd5u2.js +1 -0
  2453. package/web/dist/assets/queries-C7VNk-nW.js +1 -0
  2454. package/web/dist/assets/reference-chip-rylFalfg.js +1 -0
  2455. package/web/dist/assets/remote-settings-notice-N9vtBTIK.js +1 -0
  2456. package/web/dist/assets/repo-git-DJym0aRY.js +1 -0
  2457. package/web/dist/assets/report-reader-CjskGtxS.js +1 -0
  2458. package/web/dist/assets/reports-B-G9HA48.js +1 -0
  2459. package/web/dist/assets/reports-CNFNb36Z.css +1 -0
  2460. package/web/dist/assets/resources-section-B88h1y0Q.js +1 -0
  2461. package/web/dist/assets/run-header-B-olCSdg.js +2 -0
  2462. package/web/dist/assets/run-header-Ccnr9k0X.css +1 -0
  2463. package/web/dist/assets/save-cue-Cd3ZAPBS.js +1 -0
  2464. package/web/dist/assets/saved-draft-BwzBc-_Y.js +1 -0
  2465. package/web/dist/assets/select-BaydzE-I.js +1 -0
  2466. package/web/dist/assets/session-context-section-BJKRXbss.js +119 -0
  2467. package/web/dist/assets/settings-agent-picker-6xZMIC_D.js +1 -0
  2468. package/web/dist/assets/settings-field-DP9sYv5a.js +1 -0
  2469. package/web/dist/assets/settings-select-CCIMGnyA.js +1 -0
  2470. package/web/dist/assets/settings-shell-BkTgs1S9.js +1 -0
  2471. package/web/dist/assets/settings-shell-iSd4xMWS.css +1 -0
  2472. package/web/dist/assets/sidebar-section-B57HIEgv.js +1 -0
  2473. package/web/dist/assets/skills-pBrfwrKF.js +1 -0
  2474. package/web/dist/assets/skills-pM_PouEs.js +1 -0
  2475. package/web/dist/assets/smartphone-Lr8Ug2z_.js +1 -0
  2476. package/web/dist/assets/sortable.esm-CAVTYaA3.js +5 -0
  2477. package/web/dist/assets/square-terminal-B6RYYieR.js +1 -0
  2478. package/web/dist/assets/status-dot-BRzVlF2X.js +1 -0
  2479. package/web/dist/assets/switch-SP8pw5uU.js +1 -0
  2480. package/web/dist/assets/tab-link-B1CULYRs.js +1 -0
  2481. package/web/dist/assets/task-changes-CXldTh93.js +1 -0
  2482. package/web/dist/assets/task-commits-BZ3B_GPB.js +1 -0
  2483. package/web/dist/assets/task-files-BSfmCkJc.js +1 -0
  2484. package/web/dist/assets/task-github-item-v2bygvdO.js +1 -0
  2485. package/web/dist/assets/task-groups-BbnYlkYj.js +1 -0
  2486. package/web/dist/assets/task-thread-BPWnJ7Qx.js +9 -0
  2487. package/web/dist/assets/task-thread-DzADOhZd.css +1 -0
  2488. package/web/dist/assets/tasks-table-Cx7AM7lZ.js +1 -0
  2489. package/web/dist/assets/textarea-vJt9undk.js +1 -0
  2490. package/web/dist/assets/thread-state-R0MTvwlo.js +4 -0
  2491. package/web/dist/assets/toaster-Bo5vCbz-.js +1 -0
  2492. package/web/dist/assets/use-hand-to-agent-state-B6h6kcQg.css +1 -0
  2493. package/web/dist/assets/use-hand-to-agent-state-BckHuhr8.js +1 -0
  2494. package/web/dist/assets/useInfiniteQuery--iQKfpUQ.js +1 -0
  2495. package/web/dist/assets/useQuery-BSyhc3l3.js +1 -0
  2496. package/web/dist/assets/utils-DSMR_WLb.js +1 -0
  2497. package/web/dist/assets/workflows-BBc2PFDB.js +7 -0
  2498. package/web/dist/assets/workflows-C6suai0L.css +1 -0
  2499. package/web/dist/assets/workspace-tools-CiTG-ArW.js +1 -0
  2500. package/web/dist/assets/worktrees-section-C07tNayi.js +4 -0
  2501. package/web/dist/assets/zoomable-image-CIQl1Wpe.js +1 -0
  2502. package/web/dist/index.html +68 -32
  2503. package/web/dist/live-worker.js +2 -2
  2504. package/dist/agent-config/account-identity.d.ts +0 -28
  2505. package/dist/agent-config/account-identity.js +0 -132
  2506. package/dist/agent-config/account-identity.js.map +0 -1
  2507. package/dist/agent-config/model-settings/claude.d.ts +0 -2
  2508. package/dist/agent-config/model-settings/claude.js +0 -11
  2509. package/dist/agent-config/model-settings/claude.js.map +0 -1
  2510. package/dist/agent-config/model-settings/codex.d.ts +0 -2
  2511. package/dist/agent-config/model-settings/codex.js +0 -16
  2512. package/dist/agent-config/model-settings/codex.js.map +0 -1
  2513. package/dist/agent-config/model-settings/opencode.d.ts +0 -2
  2514. package/dist/agent-config/model-settings/opencode.js +0 -8
  2515. package/dist/agent-config/model-settings/opencode.js.map +0 -1
  2516. package/dist/agent-config/model-settings/pi.d.ts +0 -2
  2517. package/dist/agent-config/model-settings/pi.js +0 -38
  2518. package/dist/agent-config/model-settings/pi.js.map +0 -1
  2519. package/dist/agent-config/model-settings/types.d.ts +0 -9
  2520. package/dist/agent-config/model-settings/types.js +0 -2
  2521. package/dist/agent-config/model-settings/types.js.map +0 -1
  2522. package/dist/application-update/bin-recovery.d.ts +0 -5
  2523. package/dist/application-update/bin-recovery.js +0 -96
  2524. package/dist/application-update/bin-recovery.js.map +0 -1
  2525. package/dist/application-update/discovery.d.ts +0 -23
  2526. package/dist/application-update/discovery.js +0 -139
  2527. package/dist/application-update/discovery.js.map +0 -1
  2528. package/dist/application-update/helper.d.ts +0 -58
  2529. package/dist/application-update/helper.js +0 -363
  2530. package/dist/application-update/helper.js.map +0 -1
  2531. package/dist/application-update/launcher.d.ts +0 -12
  2532. package/dist/application-update/launcher.js +0 -61
  2533. package/dist/application-update/launcher.js.map +0 -1
  2534. package/dist/application-update/lock.d.ts +0 -4
  2535. package/dist/application-update/lock.js +0 -70
  2536. package/dist/application-update/lock.js.map +0 -1
  2537. package/dist/application-update/npm-process.d.ts +0 -17
  2538. package/dist/application-update/npm-process.js +0 -156
  2539. package/dist/application-update/npm-process.js.map +0 -1
  2540. package/dist/application-update/runtime-layout.d.ts +0 -20
  2541. package/dist/application-update/runtime-layout.js +0 -91
  2542. package/dist/application-update/runtime-layout.js.map +0 -1
  2543. package/dist/application-update/scoped-recovery.d.ts +0 -32
  2544. package/dist/application-update/scoped-recovery.js +0 -210
  2545. package/dist/application-update/scoped-recovery.js.map +0 -1
  2546. package/dist/application-update/service.d.ts +0 -86
  2547. package/dist/application-update/service.js +0 -523
  2548. package/dist/application-update/service.js.map +0 -1
  2549. package/dist/automations/builtin-skill.d.ts +0 -7
  2550. package/dist/automations/builtin-skill.js +0 -14
  2551. package/dist/automations/builtin-skill.js.map +0 -1
  2552. package/dist/ci-wait/injection.d.ts +0 -3
  2553. package/dist/ci-wait/injection.js +0 -13
  2554. package/dist/ci-wait/injection.js.map +0 -1
  2555. package/dist/contract/application-update.d.ts +0 -32
  2556. package/dist/contract/self-update.d.ts +0 -255
  2557. package/dist/contract/skill-sources.d.ts +0 -125
  2558. package/dist/contract/team-skill-ref.d.ts +0 -10
  2559. package/dist/contract/voice.d.ts +0 -213
  2560. package/dist/core/claude-cli-runner.d.ts +0 -85
  2561. package/dist/core/claude-cli-runner.js +0 -899
  2562. package/dist/core/claude-cli-runner.js.map +0 -1
  2563. package/dist/core/claude-executable.js +0 -15
  2564. package/dist/core/claude-executable.js.map +0 -1
  2565. package/dist/core/claude-model-catalog.d.ts +0 -16
  2566. package/dist/core/claude-model-catalog.js +0 -198
  2567. package/dist/core/claude-model-catalog.js.map +0 -1
  2568. package/dist/core/claude-stream.d.ts +0 -38
  2569. package/dist/core/claude-stream.js +0 -77
  2570. package/dist/core/claude-stream.js.map +0 -1
  2571. package/dist/core/claude-ui-mapper.d.ts +0 -88
  2572. package/dist/core/claude-ui-mapper.js +0 -851
  2573. package/dist/core/claude-ui-mapper.js.map +0 -1
  2574. package/dist/core/codex-app-server-runner.d.ts +0 -76
  2575. package/dist/core/codex-app-server-runner.js +0 -1271
  2576. package/dist/core/codex-app-server-runner.js.map +0 -1
  2577. package/dist/core/codex-app-server-transport.d.ts +0 -52
  2578. package/dist/core/codex-app-server-transport.js +0 -200
  2579. package/dist/core/codex-app-server-transport.js.map +0 -1
  2580. package/dist/core/codex-approvals.d.ts +0 -12
  2581. package/dist/core/codex-approvals.js +0 -180
  2582. package/dist/core/codex-approvals.js.map +0 -1
  2583. package/dist/core/codex-hook-mapper.d.ts +0 -15
  2584. package/dist/core/codex-hook-mapper.js +0 -73
  2585. package/dist/core/codex-hook-mapper.js.map +0 -1
  2586. package/dist/core/codex-model-catalog.d.ts +0 -10
  2587. package/dist/core/codex-model-catalog.js +0 -110
  2588. package/dist/core/codex-model-catalog.js.map +0 -1
  2589. package/dist/core/codex-native-frames.d.ts +0 -35
  2590. package/dist/core/codex-native-frames.js +0 -80
  2591. package/dist/core/codex-native-frames.js.map +0 -1
  2592. package/dist/core/codex-permissions.d.ts +0 -6
  2593. package/dist/core/codex-permissions.js +0 -27
  2594. package/dist/core/codex-permissions.js.map +0 -1
  2595. package/dist/core/codex-stream-error.js.map +0 -1
  2596. package/dist/core/codex-turn-outcome.d.ts +0 -10
  2597. package/dist/core/codex-turn-outcome.js +0 -35
  2598. package/dist/core/codex-turn-outcome.js.map +0 -1
  2599. package/dist/core/codex-ui-mapper-state.d.ts +0 -84
  2600. package/dist/core/codex-ui-mapper-state.js.map +0 -1
  2601. package/dist/core/codex-ui-mapper.d.ts +0 -44
  2602. package/dist/core/codex-ui-mapper.js +0 -799
  2603. package/dist/core/codex-ui-mapper.js.map +0 -1
  2604. package/dist/core/cursor-cli-flags.d.ts +0 -19
  2605. package/dist/core/cursor-cli-flags.js +0 -47
  2606. package/dist/core/cursor-cli-flags.js.map +0 -1
  2607. package/dist/core/cursor-config-options.d.ts +0 -18
  2608. package/dist/core/cursor-config-options.js +0 -31
  2609. package/dist/core/cursor-config-options.js.map +0 -1
  2610. package/dist/core/cursor-model-catalog.d.ts +0 -50
  2611. package/dist/core/cursor-model-catalog.js +0 -306
  2612. package/dist/core/cursor-model-catalog.js.map +0 -1
  2613. package/dist/core/cursor-print-capabilities.d.ts +0 -14
  2614. package/dist/core/cursor-print-capabilities.js +0 -169
  2615. package/dist/core/cursor-print-capabilities.js.map +0 -1
  2616. package/dist/core/cursor-print-process.d.ts +0 -31
  2617. package/dist/core/cursor-print-process.js +0 -117
  2618. package/dist/core/cursor-print-process.js.map +0 -1
  2619. package/dist/core/cursor-print-runner.d.ts +0 -43
  2620. package/dist/core/cursor-print-runner.js +0 -574
  2621. package/dist/core/cursor-print-runner.js.map +0 -1
  2622. package/dist/core/cursor-print-tool-catalog.d.ts +0 -3
  2623. package/dist/core/cursor-print-tool-catalog.js +0 -13
  2624. package/dist/core/cursor-print-tool-catalog.js.map +0 -1
  2625. package/dist/core/cursor-print-ui-mapper.d.ts +0 -47
  2626. package/dist/core/cursor-print-ui-mapper.js +0 -574
  2627. package/dist/core/cursor-print-ui-mapper.js.map +0 -1
  2628. package/dist/core/cursor-provider-error.d.ts +0 -9
  2629. package/dist/core/cursor-provider-error.js +0 -15
  2630. package/dist/core/cursor-provider-error.js.map +0 -1
  2631. package/dist/core/cursor-runner.d.ts +0 -46
  2632. package/dist/core/cursor-runner.js +0 -144
  2633. package/dist/core/cursor-runner.js.map +0 -1
  2634. package/dist/core/disclaim-spawn.d.ts +0 -11
  2635. package/dist/core/disclaim-spawn.js +0 -60
  2636. package/dist/core/disclaim-spawn.js.map +0 -1
  2637. package/dist/core/omp-model-catalog.d.ts +0 -39
  2638. package/dist/core/omp-model-catalog.js +0 -183
  2639. package/dist/core/omp-model-catalog.js.map +0 -1
  2640. package/dist/core/omp-runner.d.ts +0 -86
  2641. package/dist/core/omp-runner.js +0 -818
  2642. package/dist/core/omp-runner.js.map +0 -1
  2643. package/dist/core/omp-subagent-rows.d.ts +0 -21
  2644. package/dist/core/omp-subagent-rows.js +0 -99
  2645. package/dist/core/omp-subagent-rows.js.map +0 -1
  2646. package/dist/core/omp-ui-mapper.d.ts +0 -112
  2647. package/dist/core/omp-ui-mapper.js +0 -807
  2648. package/dist/core/omp-ui-mapper.js.map +0 -1
  2649. package/dist/core/opencode-model-catalog.d.ts +0 -27
  2650. package/dist/core/opencode-model-catalog.js +0 -189
  2651. package/dist/core/opencode-model-catalog.js.map +0 -1
  2652. package/dist/core/opencode-permissions.d.ts +0 -52
  2653. package/dist/core/opencode-permissions.js +0 -101
  2654. package/dist/core/opencode-permissions.js.map +0 -1
  2655. package/dist/core/opencode-runtime-config.d.ts +0 -9
  2656. package/dist/core/opencode-runtime-config.js +0 -26
  2657. package/dist/core/opencode-runtime-config.js.map +0 -1
  2658. package/dist/core/opencode-server-runner.d.ts +0 -75
  2659. package/dist/core/opencode-server-runner.js +0 -1690
  2660. package/dist/core/opencode-server-runner.js.map +0 -1
  2661. package/dist/core/opencode-session-error.d.ts +0 -19
  2662. package/dist/core/opencode-session-error.js +0 -42
  2663. package/dist/core/opencode-session-error.js.map +0 -1
  2664. package/dist/core/opencode-task-scope.js +0 -19
  2665. package/dist/core/opencode-task-scope.js.map +0 -1
  2666. package/dist/core/opencode-ui-mapper-state.d.ts +0 -82
  2667. package/dist/core/opencode-ui-mapper-state.js.map +0 -1
  2668. package/dist/core/opencode-ui-mapper.d.ts +0 -59
  2669. package/dist/core/opencode-ui-mapper.js +0 -724
  2670. package/dist/core/opencode-ui-mapper.js.map +0 -1
  2671. package/dist/core/opencode-usage.d.ts +0 -32
  2672. package/dist/core/opencode-usage.js.map +0 -1
  2673. package/dist/core/pi-model-catalog.d.ts +0 -34
  2674. package/dist/core/pi-model-catalog.js +0 -247
  2675. package/dist/core/pi-model-catalog.js.map +0 -1
  2676. package/dist/core/pi-runner.d.ts +0 -58
  2677. package/dist/core/pi-runner.js +0 -587
  2678. package/dist/core/pi-runner.js.map +0 -1
  2679. package/dist/core/pi-ui-mapper.d.ts +0 -52
  2680. package/dist/core/pi-ui-mapper.js +0 -408
  2681. package/dist/core/pi-ui-mapper.js.map +0 -1
  2682. package/dist/core/runner-factory.d.ts +0 -11
  2683. package/dist/core/runner-factory.js +0 -36
  2684. package/dist/core/runner-factory.js.map +0 -1
  2685. package/dist/delegation/destroy-observation.d.ts +0 -42
  2686. package/dist/delegation/destroy-observation.js +0 -115
  2687. package/dist/delegation/destroy-observation.js.map +0 -1
  2688. package/dist/delegation/idle-test-app.d.ts +0 -4
  2689. package/dist/delegation/idle-test-app.js +0 -186
  2690. package/dist/delegation/idle-test-app.js.map +0 -1
  2691. package/dist/delegation/windows-test-app.d.ts +0 -5
  2692. package/dist/delegation/windows-test-app.js +0 -64
  2693. package/dist/delegation/windows-test-app.js.map +0 -1
  2694. package/dist/home/display.d.ts +0 -4
  2695. package/dist/home/display.js +0 -11
  2696. package/dist/home/display.js.map +0 -1
  2697. package/dist/home/switch.d.ts +0 -2
  2698. package/dist/home/switch.js +0 -3
  2699. package/dist/home/switch.js.map +0 -1
  2700. package/dist/jobs/cli.d.ts +0 -2
  2701. package/dist/jobs/cli.js +0 -53
  2702. package/dist/jobs/cli.js.map +0 -1
  2703. package/dist/jobs/command.d.ts +0 -9
  2704. package/dist/jobs/command.js +0 -19
  2705. package/dist/jobs/command.js.map +0 -1
  2706. package/dist/jobs/job.d.ts +0 -77
  2707. package/dist/jobs/job.js +0 -252
  2708. package/dist/jobs/job.js.map +0 -1
  2709. package/dist/runs/worker-deletion-proof.d.ts +0 -13
  2710. package/dist/runs/worker-deletion-proof.js.map +0 -1
  2711. package/dist/runs/worker-resource-holders.d.ts +0 -17
  2712. package/dist/runs/worker-resource-holders.js +0 -34
  2713. package/dist/runs/worker-resource-holders.js.map +0 -1
  2714. package/dist/self-update/checkouts.d.ts +0 -46
  2715. package/dist/self-update/checkouts.js +0 -284
  2716. package/dist/self-update/checkouts.js.map +0 -1
  2717. package/dist/self-update/cli.d.ts +0 -19
  2718. package/dist/self-update/cli.js +0 -243
  2719. package/dist/self-update/cli.js.map +0 -1
  2720. package/dist/self-update/installer.d.ts +0 -24
  2721. package/dist/self-update/installer.js +0 -139
  2722. package/dist/self-update/installer.js.map +0 -1
  2723. package/dist/self-update/launcher.d.ts +0 -30
  2724. package/dist/self-update/launcher.js +0 -172
  2725. package/dist/self-update/launcher.js.map +0 -1
  2726. package/dist/self-update/layout.d.ts +0 -108
  2727. package/dist/self-update/layout.js +0 -276
  2728. package/dist/self-update/layout.js.map +0 -1
  2729. package/dist/self-update/pulls.d.ts +0 -30
  2730. package/dist/self-update/pulls.js +0 -128
  2731. package/dist/self-update/pulls.js.map +0 -1
  2732. package/dist/self-update/registry.d.ts +0 -37
  2733. package/dist/self-update/registry.js +0 -86
  2734. package/dist/self-update/registry.js.map +0 -1
  2735. package/dist/self-update/restart.d.ts +0 -25
  2736. package/dist/self-update/restart.js +0 -79
  2737. package/dist/self-update/restart.js.map +0 -1
  2738. package/dist/self-update/semver.d.ts +0 -19
  2739. package/dist/self-update/semver.js +0 -79
  2740. package/dist/self-update/semver.js.map +0 -1
  2741. package/dist/self-update/service.d.ts +0 -115
  2742. package/dist/self-update/service.js +0 -332
  2743. package/dist/self-update/service.js.map +0 -1
  2744. package/dist/self-update/supervisor.d.ts +0 -10
  2745. package/dist/self-update/supervisor.js +0 -52
  2746. package/dist/self-update/supervisor.js.map +0 -1
  2747. package/dist/server/launch-key.d.ts +0 -5
  2748. package/dist/server/launch-key.js +0 -35
  2749. package/dist/server/launch-key.js.map +0 -1
  2750. package/dist/server/self-update-routes.d.ts +0 -308
  2751. package/dist/server/self-update-routes.js +0 -80
  2752. package/dist/server/self-update-routes.js.map +0 -1
  2753. package/dist/server/skill-sources.d.ts +0 -264
  2754. package/dist/server/skill-sources.js +0 -130
  2755. package/dist/server/skill-sources.js.map +0 -1
  2756. package/dist/skills-provision.d.ts +0 -64
  2757. package/dist/skills-provision.js +0 -325
  2758. package/dist/skills-provision.js.map +0 -1
  2759. package/dist/skills-remote.d.ts +0 -144
  2760. package/dist/skills-remote.js +0 -847
  2761. package/dist/skills-remote.js.map +0 -1
  2762. package/dist/voice/decide.d.ts +0 -35
  2763. package/dist/voice/decide.js +0 -329
  2764. package/dist/voice/decide.js.map +0 -1
  2765. package/dist/voice/decision-log.d.ts +0 -48
  2766. package/dist/voice/decision-log.js +0 -117
  2767. package/dist/voice/decision-log.js.map +0 -1
  2768. package/dist/voice/engine.d.ts +0 -119
  2769. package/dist/voice/engine.js +0 -61
  2770. package/dist/voice/engine.js.map +0 -1
  2771. package/dist/voice/fake-engine.d.ts +0 -10
  2772. package/dist/voice/fake-engine.js +0 -192
  2773. package/dist/voice/fake-engine.js.map +0 -1
  2774. package/dist/voice/jev-engine.d.ts +0 -17
  2775. package/dist/voice/jev-engine.js +0 -110
  2776. package/dist/voice/jev-engine.js.map +0 -1
  2777. package/dist/voice/pending-ask.d.ts +0 -17
  2778. package/dist/voice/pending-ask.js +0 -51
  2779. package/dist/voice/pending-ask.js.map +0 -1
  2780. package/dist/voice/routes.d.ts +0 -115
  2781. package/dist/voice/routes.js +0 -92
  2782. package/dist/voice/routes.js.map +0 -1
  2783. package/dist/voice/sentence.d.ts +0 -21
  2784. package/dist/voice/sentence.js +0 -61
  2785. package/dist/voice/sentence.js.map +0 -1
  2786. package/dist/voice/thresholds.d.ts +0 -28
  2787. package/dist/voice/thresholds.js +0 -29
  2788. package/dist/voice/thresholds.js.map +0 -1
  2789. package/dist/workflows/run/cezar-tools.d.ts +0 -45
  2790. package/dist/workflows/run/cezar-tools.js +0 -117
  2791. package/dist/workflows/run/cezar-tools.js.map +0 -1
  2792. package/scripts/mock-cursor-hang-stdin-late.mjs +0 -35
  2793. package/scripts/mock-cursor-hang-stdin.mjs +0 -30
  2794. package/scripts/mock-cursor-print.mjs +0 -237
  2795. package/scripts/omp-ci-wait.mjs +0 -29
  2796. package/scripts/opencode-task-scope.d.mts +0 -18
  2797. package/scripts/opencode-task-scope.mjs +0 -59
  2798. package/scripts/pi-ci-wait.mjs +0 -17
  2799. package/scripts/pi-default-tools.mjs +0 -22
  2800. package/scripts/pi-retry-degraded-service.mjs +0 -16
  2801. package/scripts/probe-cursor-print.mjs +0 -699
  2802. package/scripts/voice-replay.ts +0 -50
  2803. package/web/dist/assets/activity-motion-0wHCeUs7.css +0 -1
  2804. package/web/dist/assets/activity-motion-hhx0e841.js +0 -2
  2805. package/web/dist/assets/activity-route-De0BnSrc.js +0 -1
  2806. package/web/dist/assets/agent-accounts-BCg-578Q.js +0 -18
  2807. package/web/dist/assets/alert-dialog-Dj464rjk.js +0 -1
  2808. package/web/dist/assets/bundle-mjs-BT31bpU6.js +0 -1
  2809. package/web/dist/assets/button-CHUAMTHK.js +0 -3
  2810. package/web/dist/assets/centered-state-DGyy0SuA.js +0 -1
  2811. package/web/dist/assets/cez-idle-BT0U4GN_.js +0 -1
  2812. package/web/dist/assets/chunk-BO2N2NFS-DE6qKn3r.js +0 -131
  2813. package/web/dist/assets/commit-diff-panel-DYtYc_dH.js +0 -1
  2814. package/web/dist/assets/control-locations-CA9TMupq.js +0 -1
  2815. package/web/dist/assets/core-BCsw8oQw.js +0 -12
  2816. package/web/dist/assets/design-icons-DmYTv2r1.js +0 -1
  2817. package/web/dist/assets/diff-controls-BR2uqhwG.js +0 -1
  2818. package/web/dist/assets/diff-tVGVhYyc.js +0 -3
  2819. package/web/dist/assets/diff-view-CNM3u77o.js +0 -11
  2820. package/web/dist/assets/dropdown-menu-DhrBcVgr.js +0 -1
  2821. package/web/dist/assets/es2015-D345RR4o.js +0 -41
  2822. package/web/dist/assets/file-preview-C1eTdJLJ.js +0 -2
  2823. package/web/dist/assets/git-toolbar-Dwz8p8GW.js +0 -1
  2824. package/web/dist/assets/github-BSezqH6f.js +0 -1
  2825. package/web/dist/assets/github-sidebar-model-Ct0DltOv.js +0 -1
  2826. package/web/dist/assets/global-activity-route-BZiYz-B0.js +0 -1
  2827. package/web/dist/assets/highlighted-body-OFNGDK62-BL-MfFgl.js +0 -1
  2828. package/web/dist/assets/hourglass-B0lPAJvT.js +0 -1
  2829. package/web/dist/assets/image-preview-Cq1vDiEo.js +0 -1
  2830. package/web/dist/assets/index-B18AqW0Z.css +0 -1
  2831. package/web/dist/assets/index-D489J7QW.js +0 -14
  2832. package/web/dist/assets/lib-BxQXEXDF.js +0 -1
  2833. package/web/dist/assets/live-protocol-BDY7JJpT.js +0 -64
  2834. package/web/dist/assets/live-refetch-C0kQc3-z.js +0 -1
  2835. package/web/dist/assets/live-worker-BWdeGzQX.ts +0 -34
  2836. package/web/dist/assets/loader-circle-CZkGEdoI.js +0 -1
  2837. package/web/dist/assets/markdown-D7DUNWcJ.js +0 -6
  2838. package/web/dist/assets/mermaid-GHXKKRXX-C4jxqUUb.js +0 -1
  2839. package/web/dist/assets/nav-row-styles-BZUUavOF.js +0 -1
  2840. package/web/dist/assets/popover-DRcRI46x.js +0 -1
  2841. package/web/dist/assets/preview-pane-connected-DGkEs_L3.js +0 -3
  2842. package/web/dist/assets/project-router-1m_VlC22.js +0 -1
  2843. package/web/dist/assets/project-scope-context-CaUqlAd7.js +0 -4
  2844. package/web/dist/assets/queries-DYfIpJ-d.js +0 -1
  2845. package/web/dist/assets/repo-git-CU1S5P-y.js +0 -1
  2846. package/web/dist/assets/report-reader-DlZol2Ux.js +0 -1
  2847. package/web/dist/assets/reports-B7QAzibP.css +0 -1
  2848. package/web/dist/assets/reports-DIGGjk7C.js +0 -1
  2849. package/web/dist/assets/run-header-CC7VUTg9.css +0 -1
  2850. package/web/dist/assets/run-header-DPjiPKRe.js +0 -2
  2851. package/web/dist/assets/skill-empty-hint-YDmkqgo-.js +0 -1
  2852. package/web/dist/assets/skills-BMwanop_.js +0 -1
  2853. package/web/dist/assets/skills-DFBiAuJG.js +0 -1
  2854. package/web/dist/assets/skills-workflows-C21NystW.css +0 -1
  2855. package/web/dist/assets/sortable.esm-zp_qkYGV.js +0 -5
  2856. package/web/dist/assets/tab-link-DCUifQ46.js +0 -1
  2857. package/web/dist/assets/task-changes-BZXWvQN3.js +0 -1
  2858. package/web/dist/assets/task-commits-ByI9MSfc.js +0 -1
  2859. package/web/dist/assets/task-files-LJbenpiH.js +0 -1
  2860. package/web/dist/assets/task-github-item-B0CU9lGR.js +0 -1
  2861. package/web/dist/assets/task-thread-CXCN__1a.js +0 -9
  2862. package/web/dist/assets/task-thread-DtQ6uGfQ.css +0 -1
  2863. package/web/dist/assets/textarea-DlVUfdWG.js +0 -1
  2864. package/web/dist/assets/thread-state-BLaCzqeX.js +0 -4
  2865. package/web/dist/assets/toaster-B1MyeHiE.js +0 -1
  2866. package/web/dist/assets/use-hand-to-agent-state-BkmKad8x.js +0 -1
  2867. package/web/dist/assets/use-hand-to-agent-state-C7esPJ-N.css +0 -1
  2868. package/web/dist/assets/useInfiniteQuery-qEY8OhKb.js +0 -1
  2869. package/web/dist/assets/useQuery-DOJQOEBO.js +0 -1
  2870. package/web/dist/assets/workflows-Dbxb-d-6.js +0 -7
  2871. package/web/dist/assets/ws-DvGmrP4z.js +0 -1
  2872. package/web/dist/assets/zoomable-image-5pOUaPEg.js +0 -1
  2873. /package/dist/{runs → delegation}/worker-deletion-proof.js +0 -0
  2874. /package/dist/{core → runners/claude}/claude-executable.d.ts +0 -0
  2875. /package/dist/{core → runners/codex}/codex-stream-error.d.ts +0 -0
  2876. /package/dist/{core → runners/codex}/codex-stream-error.js +0 -0
  2877. /package/dist/{core → runners/codex}/codex-ui-mapper-state.js +0 -0
  2878. /package/dist/{core → runners/opencode}/opencode-task-scope.d.ts +0 -0
  2879. /package/dist/{core → runners/opencode}/opencode-ui-mapper-state.js +0 -0
  2880. /package/dist/{core → runners/opencode}/opencode-usage.js +0 -0
  2881. /package/{scripts → dist/runners/pi/extensions}/pi-project-skills.mjs +0 -0
@@ -15,7 +15,7 @@
15
15
  * the test setup fails the test after it ran. Outside strict mode each violation is one
16
16
  * `console.warn` and nothing is recorded.
17
17
  */
18
- import type { RunRecord, RunStatus, StepState } from '../contract/index.js';
18
+ import type { RunRecord, RunStatus, StepState, WorkflowCursor } from '../contract/index.js';
19
19
  import { isUsageLimitHold } from '../contract/index.js';
20
20
  /** The fields a write that applies a run exit patches beside it: never the status, which the exit
21
21
  * writes (`RunStore.move`). */
@@ -25,10 +25,12 @@ export type RunPatch = Partial<Omit<RunRecord, 'id' | 'steps' | 'status' | 'wait
25
25
  lastWaits?: never;
26
26
  };
27
27
  /** What a caller names beside an exit's extras: the step the exit settles apart from the others,
28
- * and the text of the lifecycle event the exit writes, when the caller's says more. */
28
+ * the text of the lifecycle event the exit writes, when the caller's says more, and, on an exit
29
+ * that records the workflow cursor (`cursorFields`), how the workflow goes on from that step. */
29
30
  export type ExitCall = {
30
31
  stepId?: string | undefined;
31
32
  event?: string | undefined;
33
+ cursor?: WorkflowCursor['mode'] | undefined;
32
34
  };
33
35
  /** What an exit reads beside the record: one time for every field it stamps, and the step the
34
36
  * caller names. */
@@ -45,7 +47,7 @@ export type StepSettlement = ExitSettlement & {
45
47
  * which is best-effort, so a locked database cannot stop cleanup (Decision 4). */
46
48
  export type ExitDurability = 'debounced' | 'committed';
47
49
  /** What an exit's `fields` and `steps` read off the record a write applies it to. */
48
- export type ExitRead = Pick<RunRecord, 'status' | 'delegation'> & Partial<Pick<RunRecord, 'finishedAt' | 'currentStepId' | 'error'>> & {
50
+ export type ExitRead = Pick<RunRecord, 'status' | 'delegation'> & Partial<Pick<RunRecord, 'finishedAt' | 'currentStepId' | 'error' | 'workflowCursor'>> & {
49
51
  steps?: readonly StepState[];
50
52
  };
51
53
  /**
@@ -73,10 +75,12 @@ export type RunExitSpec = {
73
75
  export declare function retiredFinishPatch(run: Pick<RunRecord, 'delegation'>): Pick<RunPatch, 'delegation'>;
74
76
  /** Whether `exit` settles a run: it writes done, review, failed or cancelled. */
75
77
  export declare function settlesRun(exit: RunExitId): boolean;
76
- /** A run that succeeded: its resume counter and the legacy `activity` retired. A run that got all
77
- * the way to a settled turn is not in a usage-limit loop, so its resume counter starts over
78
- * instead of creeping toward the cap. */
78
+ /** A run that succeeded: its resume counter, its workflow cursor and the legacy `activity` retired.
79
+ * A run that got all the way to a settled turn is not in a usage-limit loop, so its resume counter
80
+ * starts over instead of creeping toward the cap. */
79
81
  declare const succeeded: () => RunPatch;
82
+ /** The step loop entered the cursor's step: the run is on it now, so the cursor is spent. */
83
+ declare const enteredStep: (run: ExitRead, { stepId }: ExitSettlement) => RunPatch;
80
84
  /** A run that succeeded settles its running and waiting steps done at its time (B5). A worker's
81
85
  * incomplete earlier step, the one the caller names, stays waiting: a parent resume re-enters it
82
86
  * (hearsay-tools/cezarion#1620). */
@@ -103,6 +107,7 @@ export declare const RUN_EXITS: {
103
107
  readonly durability: 'debounced';
104
108
  readonly from: readonly ["queued", "running", "waiting"];
105
109
  readonly to: 'running';
110
+ readonly fields: typeof enteredStep;
106
111
  };
107
112
  readonly 'start-held': {
108
113
  readonly durability: 'debounced';
@@ -113,8 +118,711 @@ export declare const RUN_EXITS: {
113
118
  readonly durability: 'debounced';
114
119
  readonly from: readonly ["queued", "running", "failed"];
115
120
  readonly to: 'queued';
116
- readonly fields: () => {
117
- currentStepId: undefined;
121
+ readonly fields: (_run: ExitRead, at: ExitSettlement) => {
122
+ archiveWhenDone?: boolean | undefined;
123
+ autoMergePr?: boolean | undefined;
124
+ allowWorkers?: boolean | undefined;
125
+ allowMessaging?: boolean | undefined;
126
+ title?: string;
127
+ titleSummary?: string | undefined;
128
+ diffStat?: {
129
+ adds: number;
130
+ dels: number;
131
+ files: number;
132
+ repointed?: boolean | undefined;
133
+ } | undefined;
134
+ workflow?: string;
135
+ task?: string;
136
+ queuedMessages?: {
137
+ replayAfterOpen?: true | undefined;
138
+ id: string;
139
+ text: string;
140
+ images?: string[] | undefined;
141
+ createdAt: string;
142
+ }[] | undefined;
143
+ stopping?: boolean | undefined;
144
+ continuationMessage?: {
145
+ replayAfterOpen?: true | undefined;
146
+ id: string;
147
+ text: string;
148
+ images?: string[] | undefined;
149
+ createdAt: string;
150
+ origin?: "human" | "lifecycle" | undefined;
151
+ agentInputId?: string | undefined;
152
+ task?: string | undefined;
153
+ resumeContext?: {
154
+ failure?: {
155
+ stepId?: string | undefined;
156
+ error: string;
157
+ } | undefined;
158
+ restarted?: true | undefined;
159
+ cutOff?: {
160
+ tools?: string[] | undefined;
161
+ subagents?: string[] | undefined;
162
+ } | undefined;
163
+ } | undefined;
164
+ } | undefined;
165
+ workflowCursor?: {
166
+ stepId: string;
167
+ mode: "resume" | "start";
168
+ } | undefined;
169
+ doneAccepted?: {
170
+ session: string;
171
+ at: string;
172
+ seq: number;
173
+ openWaits: string[];
174
+ settledWaits: string[];
175
+ lastInput?: string | undefined;
176
+ summary?: string | undefined;
177
+ freeTurn?: true | undefined;
178
+ } | undefined;
179
+ invalidAsk?: boolean | undefined;
180
+ delegation?: {
181
+ role: "root";
182
+ conversation?: {
183
+ messages: {
184
+ senderRunId: string;
185
+ recipientRunId: string;
186
+ kind: "follow-up" | "progress" | "reply" | "request";
187
+ requestId?: string | undefined;
188
+ relationship?: "family" | "peer" | undefined;
189
+ id: string;
190
+ text: string;
191
+ createdAt: string;
192
+ deadline?: string | undefined;
193
+ requestHash: string;
194
+ state: "accepted" | "continuation-required" | "destroyed" | "late";
195
+ resumed?: true | undefined;
196
+ instruction?: string | undefined;
197
+ question?: {
198
+ context?: string | undefined;
199
+ questions: {
200
+ id?: string | undefined;
201
+ header: string;
202
+ question: string;
203
+ options?: {
204
+ label: string;
205
+ description?: string | undefined;
206
+ }[] | undefined;
207
+ multiSelect?: boolean | undefined;
208
+ allowFreeText?: boolean | undefined;
209
+ }[];
210
+ } | undefined;
211
+ }[];
212
+ outcomes: {
213
+ requestId: string;
214
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
215
+ observedAt: string;
216
+ replyId?: string | undefined;
217
+ }[];
218
+ } | undefined;
219
+ permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
220
+ spawnGrant?: {
221
+ kinds: ("owned-isolated" | "shared")[];
222
+ live: number;
223
+ children?: /*elided*/ any | undefined;
224
+ } | undefined;
225
+ receipts: {
226
+ requestId: string;
227
+ workerId: string;
228
+ requestHash: string;
229
+ supervisorRunId?: string | undefined;
230
+ deletion?: {
231
+ phase: "complete" | "pending";
232
+ revision: number;
233
+ resourceId: string;
234
+ generation: string;
235
+ } | undefined;
236
+ }[];
237
+ wait?: {
238
+ id: string;
239
+ workerIds: string[];
240
+ requestIds?: string[] | undefined;
241
+ requestOutcomes?: {
242
+ requestId: string;
243
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
244
+ observedAt: string;
245
+ replyId?: string | undefined;
246
+ }[] | undefined;
247
+ deadline: string;
248
+ mode?: "all" | "any" | "one" | undefined;
249
+ revisions?: {
250
+ workerId: string;
251
+ revision: number;
252
+ }[] | undefined;
253
+ reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
254
+ phase: "parked" | "registered" | "wake-pending";
255
+ outcomes: {
256
+ workerId: string;
257
+ status: "cancelled" | "done" | "failed" | "review";
258
+ observedAt: string;
259
+ summary?: string | undefined;
260
+ revision?: number | undefined;
261
+ }[];
262
+ wakeId?: string | undefined;
263
+ } | undefined;
264
+ lastWait?: {
265
+ id: string;
266
+ workerIds: string[];
267
+ requestIds?: string[] | undefined;
268
+ requestOutcomes?: {
269
+ requestId: string;
270
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
271
+ observedAt: string;
272
+ replyId?: string | undefined;
273
+ }[] | undefined;
274
+ deadline: string;
275
+ mode?: "all" | "any" | "one" | undefined;
276
+ revisions?: {
277
+ workerId: string;
278
+ revision: number;
279
+ }[] | undefined;
280
+ reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
281
+ phase: "parked" | "registered" | "wake-pending";
282
+ outcomes: {
283
+ workerId: string;
284
+ status: "cancelled" | "done" | "failed" | "review";
285
+ observedAt: string;
286
+ summary?: string | undefined;
287
+ revision?: number | undefined;
288
+ }[];
289
+ wakeId?: string | undefined;
290
+ } | undefined;
291
+ results?: {
292
+ workerId: string;
293
+ revision: number;
294
+ snapshotId: string;
295
+ observedAt: string;
296
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
297
+ previous?: {
298
+ revision: number;
299
+ observedAt: string;
300
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
301
+ } | undefined;
302
+ }[] | undefined;
303
+ finishRequestedAt?: string | undefined;
304
+ historyDeletion?: "pending" | undefined;
305
+ completion?: {
306
+ phase: "attention" | "waiting";
307
+ waitId?: string | undefined;
308
+ } | undefined;
309
+ } | {
310
+ role: "worker";
311
+ wait?: {
312
+ id: string;
313
+ workerIds: string[];
314
+ requestIds?: string[] | undefined;
315
+ requestOutcomes?: {
316
+ requestId: string;
317
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
318
+ observedAt: string;
319
+ replyId?: string | undefined;
320
+ }[] | undefined;
321
+ deadline: string;
322
+ mode?: "all" | "any" | "one" | undefined;
323
+ revisions?: {
324
+ workerId: string;
325
+ revision: number;
326
+ }[] | undefined;
327
+ reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
328
+ phase: "parked" | "registered" | "wake-pending";
329
+ outcomes: {
330
+ workerId: string;
331
+ status: "cancelled" | "done" | "failed" | "review";
332
+ observedAt: string;
333
+ summary?: string | undefined;
334
+ revision?: number | undefined;
335
+ }[];
336
+ wakeId?: string | undefined;
337
+ } | undefined;
338
+ lastWait?: {
339
+ id: string;
340
+ workerIds: string[];
341
+ requestIds?: string[] | undefined;
342
+ requestOutcomes?: {
343
+ requestId: string;
344
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
345
+ observedAt: string;
346
+ replyId?: string | undefined;
347
+ }[] | undefined;
348
+ deadline: string;
349
+ mode?: "all" | "any" | "one" | undefined;
350
+ revisions?: {
351
+ workerId: string;
352
+ revision: number;
353
+ }[] | undefined;
354
+ reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
355
+ phase: "parked" | "registered" | "wake-pending";
356
+ outcomes: {
357
+ workerId: string;
358
+ status: "cancelled" | "done" | "failed" | "review";
359
+ observedAt: string;
360
+ summary?: string | undefined;
361
+ revision?: number | undefined;
362
+ }[];
363
+ wakeId?: string | undefined;
364
+ } | undefined;
365
+ permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
366
+ spawnGrant?: {
367
+ kinds: ("owned-isolated" | "shared")[];
368
+ live: number;
369
+ children?: any | undefined;
370
+ } | undefined;
371
+ parentRunId: string;
372
+ supervisorRunId?: string | undefined;
373
+ workspace: {
374
+ ownerRunId: string;
375
+ resourceId: string;
376
+ kind: "owned-isolated";
377
+ path: string;
378
+ branch: string;
379
+ baselineSha: string;
380
+ } | {
381
+ ownerRunId: string;
382
+ resourceId: string;
383
+ kind: "shared";
384
+ path: string;
385
+ hostRunId: string;
386
+ baselineSha: string;
387
+ };
388
+ destroy?: {
389
+ requestedAt: string;
390
+ phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
391
+ remaining: ("branch" | "process" | "worktree")[];
392
+ error?: string | undefined;
393
+ discardWork?: true | undefined;
394
+ } | undefined;
395
+ context?: {
396
+ text?: string | undefined;
397
+ inputs: {
398
+ source: {
399
+ kind: "parent-file";
400
+ path: string;
401
+ } | {
402
+ kind: "baseline-file";
403
+ path: string;
404
+ } | {
405
+ kind: "parent-attachment";
406
+ id: string;
407
+ };
408
+ path: string;
409
+ sha256: string;
410
+ bytes: number;
411
+ }[];
412
+ } | undefined;
413
+ executionRevision?: number | undefined;
414
+ executionStartSeq?: number | undefined;
415
+ } | {
416
+ role: "invalid";
417
+ } | undefined;
418
+ agentInputs?: {
419
+ conversation?: {
420
+ senderRunId: string;
421
+ recipientRunId: string;
422
+ kind: "follow-up" | "progress" | "reply" | "request";
423
+ requestId?: string | undefined;
424
+ relationship?: "family" | "peer" | undefined;
425
+ } | undefined;
426
+ id: string;
427
+ source: "agent" | "lifecycle";
428
+ parentRunId: string;
429
+ text: string;
430
+ createdAt: string;
431
+ deliveredAt?: string | undefined;
432
+ consumedAt?: string | undefined;
433
+ awaitingRead?: true | undefined;
434
+ inboxClaim?: {
435
+ receiptId: string;
436
+ generation: string;
437
+ expiresAt: string;
438
+ acknowledgedAt?: string | undefined;
439
+ memberIds?: string[] | undefined;
440
+ } | undefined;
441
+ purpose?: "completion-refusal" | "undelivered-question" | undefined;
442
+ requestHash?: string | undefined;
443
+ deadline?: string | undefined;
444
+ }[] | undefined;
445
+ waitRegistrations?: {
446
+ operationId: string;
447
+ requestHash: string;
448
+ wait: {
449
+ prUrl: string;
450
+ repository: string;
451
+ prNumber: number;
452
+ headSha: string;
453
+ id: string;
454
+ source: "agent" | "cezar";
455
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
456
+ registeredAt: string;
457
+ phase: "cancelled" | "delivered" | "open" | "resolved";
458
+ resolvedAt?: string | undefined;
459
+ deliveredAt?: string | undefined;
460
+ cancelledAt?: string | undefined;
461
+ turnId: string;
462
+ kind: "pr";
463
+ deadline: string;
464
+ generation: string;
465
+ timeoutSeconds: number;
466
+ until: "checks" | "merge" | "merge_or_blocked";
467
+ wakeOnConflict: boolean;
468
+ checks?: "all" | "required" | undefined;
469
+ callerHead?: true | undefined;
470
+ result?: {
471
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
472
+ headSha: string;
473
+ observedHeadSha?: string | undefined;
474
+ mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
475
+ mergeStateStatus?: string | undefined;
476
+ mergedAt?: string | undefined;
477
+ mergeCommitSha?: string | undefined;
478
+ mergeBlock?: {
479
+ reason: "conflict" | "no_pending_merge";
480
+ isInMergeQueue: boolean;
481
+ autoMergeEnabled: boolean;
482
+ event?: {
483
+ kind: "auto_merge_disabled" | "queue_removal";
484
+ createdAt: string;
485
+ reason?: string | undefined;
486
+ reasonCode?: string | undefined;
487
+ } | undefined;
488
+ } | undefined;
489
+ observedAt: string;
490
+ checks: {
491
+ name: string;
492
+ state: string;
493
+ link: string;
494
+ }[];
495
+ totalChecks: number;
496
+ truncated: boolean;
497
+ diagnostic?: string | undefined;
498
+ } | undefined;
499
+ } | {
500
+ id: string;
501
+ source: "agent" | "cezar";
502
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
503
+ registeredAt: string;
504
+ phase: "cancelled" | "delivered" | "open" | "resolved";
505
+ resolvedAt?: string | undefined;
506
+ deliveredAt?: string | undefined;
507
+ cancelledAt?: string | undefined;
508
+ turnId: string;
509
+ kind: "timer";
510
+ deadline: string;
511
+ seconds: number;
512
+ note?: string | undefined;
513
+ } | {
514
+ id: string;
515
+ source: "agent" | "cezar";
516
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
517
+ registeredAt: string;
518
+ phase: "cancelled" | "delivered" | "open" | "resolved";
519
+ resolvedAt?: string | undefined;
520
+ deliveredAt?: string | undefined;
521
+ cancelledAt?: string | undefined;
522
+ turnId: string;
523
+ kind: "human";
524
+ questions?: {
525
+ id?: string | undefined;
526
+ header: string;
527
+ question: string;
528
+ options?: {
529
+ label: string;
530
+ description?: string | undefined;
531
+ }[] | undefined;
532
+ multiSelect?: boolean | undefined;
533
+ allowFreeText?: boolean | undefined;
534
+ }[] | undefined;
535
+ context?: string | undefined;
536
+ askSeq?: number | undefined;
537
+ } | {
538
+ id: string;
539
+ source: "agent" | "cezar";
540
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
541
+ registeredAt: string;
542
+ phase: "cancelled" | "delivered" | "open" | "resolved";
543
+ resolvedAt?: string | undefined;
544
+ deliveredAt?: string | undefined;
545
+ cancelledAt?: string | undefined;
546
+ turnId: string;
547
+ kind: "worker";
548
+ deadline?: string | undefined;
549
+ timeoutSeconds?: number | undefined;
550
+ mode?: "all" | "any" | "one" | undefined;
551
+ workerIds?: string[] | undefined;
552
+ revisions?: {
553
+ workerId: string;
554
+ revision: number;
555
+ }[] | undefined;
556
+ outcomes?: {
557
+ workerId: string;
558
+ status: "cancelled" | "done" | "failed" | "review";
559
+ observedAt: string;
560
+ summary?: string | undefined;
561
+ revision?: number | undefined;
562
+ }[] | undefined;
563
+ requestIds?: string[] | undefined;
564
+ requestOutcomes?: {
565
+ requestId: string;
566
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
567
+ observedAt: string;
568
+ replyId?: string | undefined;
569
+ }[] | undefined;
570
+ result?: {
571
+ reason: "outcome" | "timeout";
572
+ } | undefined;
573
+ wakeInputId?: string | undefined;
574
+ } | {
575
+ id: string;
576
+ source: "agent" | "cezar";
577
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
578
+ registeredAt: string;
579
+ phase: "cancelled" | "delivered" | "open" | "resolved";
580
+ resolvedAt?: string | undefined;
581
+ deliveredAt?: string | undefined;
582
+ cancelledAt?: string | undefined;
583
+ turnId: string;
584
+ kind: "process";
585
+ deadline: string;
586
+ timeoutSeconds: number;
587
+ pid: number;
588
+ startToken?: string | undefined;
589
+ exitFile?: string | undefined;
590
+ note?: string | undefined;
591
+ result?: {
592
+ outcome: "deadline" | "error" | "exit_file" | "exited";
593
+ observedAt: string;
594
+ exitCode?: number | undefined;
595
+ exitFileNote?: "not-an-exit-code" | undefined;
596
+ diagnostic?: string | undefined;
597
+ } | undefined;
598
+ } | {
599
+ id: string;
600
+ source: "agent" | "cezar";
601
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
602
+ registeredAt: string;
603
+ phase: "cancelled" | "delivered" | "open" | "resolved";
604
+ resolvedAt?: string | undefined;
605
+ deliveredAt?: string | undefined;
606
+ cancelledAt?: string | undefined;
607
+ turnId: string;
608
+ kind: "peer";
609
+ deadline: string;
610
+ timeoutSeconds: number;
611
+ peerIds: string[];
612
+ result?: {
613
+ reason: "message";
614
+ peerRunId: string;
615
+ messageId: string;
616
+ } | {
617
+ reason: "settled";
618
+ peerRunId: string;
619
+ } | {
620
+ reason: "timeout";
621
+ } | undefined;
622
+ } | {
623
+ id: string;
624
+ registeredAt: string;
625
+ phase: "cancelled" | "delivered" | "open" | "resolved";
626
+ resolvedAt?: string | undefined;
627
+ deliveredAt?: string | undefined;
628
+ cancelledAt?: string | undefined;
629
+ turnId: string;
630
+ kind: "subagent";
631
+ source: "cezar";
632
+ via: "native-subagents";
633
+ deadline: string;
634
+ children: {
635
+ id: string;
636
+ status: "cancelled" | "completed" | "failed" | "running";
637
+ }[];
638
+ result?: {
639
+ reason: "interrupted" | "settled" | "superseded" | "timeout";
640
+ } | undefined;
641
+ } | {
642
+ id: string;
643
+ source: "agent" | "cezar";
644
+ registeredAt: string;
645
+ phase: "cancelled" | "delivered" | "open" | "resolved";
646
+ resolvedAt?: string | undefined;
647
+ deliveredAt?: string | undefined;
648
+ cancelledAt?: string | undefined;
649
+ turnId: string;
650
+ via: string;
651
+ kind: "plugin";
652
+ pluginKind: string;
653
+ deadline?: string | undefined;
654
+ summary: string;
655
+ payload: Record<string, unknown>;
656
+ result?: Record<string, unknown> | undefined;
657
+ };
658
+ deduplicated: boolean;
659
+ }[] | undefined;
660
+ lastWaitsError?: string | undefined;
661
+ automaticWakes?: number | undefined;
662
+ waitDeliveryFailures?: number | undefined;
663
+ previewServers?: {
664
+ port: number;
665
+ command: string;
666
+ cwd?: string | undefined;
667
+ label: string;
668
+ path?: string | undefined;
669
+ registeredAt: string;
670
+ answeredAtRegistration: boolean;
671
+ }[] | undefined;
672
+ taskImages?: string[] | undefined;
673
+ model?: string | undefined;
674
+ effort?: string | undefined;
675
+ modelIdentity?: string | undefined;
676
+ runner?: string | undefined;
677
+ removedRunner?: string | undefined;
678
+ agentProfile?: string | undefined;
679
+ systemPrompt?: string | undefined;
680
+ generateFollowups?: boolean | undefined;
681
+ autonomous?: boolean | undefined;
682
+ completionAction?: {
683
+ id: string;
684
+ phase: "blocked" | "complete" | "pending";
685
+ message?: string | undefined;
686
+ } | undefined;
687
+ archiveBlocker?: {
688
+ message: string;
689
+ runId?: string | undefined;
690
+ pullRequestUrl?: string | undefined;
691
+ } | undefined;
692
+ automation?: {
693
+ automationId: string;
694
+ automationRevision: number;
695
+ receiptId: string;
696
+ event: string;
697
+ githubUrl: string;
698
+ } | undefined;
699
+ automationTrigger?: {
700
+ automationId: string;
701
+ automationRevision: number;
702
+ receiptId: string;
703
+ trigger: "catch-up" | "manual" | "schedule";
704
+ occurrenceAt: string;
705
+ } | undefined;
706
+ destroyRetry?: {
707
+ attempts: number;
708
+ nextAt: string;
709
+ needsAttention?: true | undefined;
710
+ } | undefined;
711
+ notify?: boolean | undefined;
712
+ webhook?: {
713
+ lastDeliveredAt?: string | undefined;
714
+ lastError?: string | undefined;
715
+ lastErrorWebhookId?: string | undefined;
716
+ } | undefined;
717
+ hasPendingPermission?: boolean | undefined;
718
+ autoResumeAt?: string | undefined;
719
+ autoResumeAttempts?: number | undefined;
720
+ autoResumeReason?: "provider-error" | "usage-limit" | undefined;
721
+ parkReason?: "closing-wakes" | "hold" | "turn" | undefined;
722
+ createdAt?: string;
723
+ startedAt?: string | undefined;
724
+ finishedAt?: string | undefined;
725
+ tokensUsed?: number;
726
+ inputTokens?: number | undefined;
727
+ outputTokens?: number | undefined;
728
+ costUsd?: number | undefined;
729
+ pullRequestUrl?: string | undefined;
730
+ pullRequests?: {
731
+ number: number;
732
+ url?: string | undefined;
733
+ source: "created" | "declared";
734
+ }[] | undefined;
735
+ referencedPullRequestUrl?: string | undefined;
736
+ prNumber?: number | undefined;
737
+ issueNumber?: number | undefined;
738
+ referencedIssueNumberSeeded?: boolean | undefined;
739
+ titleOrigin?: "auto" | "marker" | "user" | undefined;
740
+ markerRefs?: {
741
+ pr?: number | undefined;
742
+ issue?: number | undefined;
743
+ } | undefined;
744
+ referencedPrCandidates?: string[] | undefined;
745
+ referencedIssueUrl?: string | undefined;
746
+ referencedIssueCandidates?: string[] | undefined;
747
+ worktree?: false | undefined;
748
+ worktreePath?: string | undefined;
749
+ branch?: string | undefined;
750
+ baseBranch?: string | undefined;
751
+ worktreeReclaimedAt?: string | undefined;
752
+ worktreeSetup?: {
753
+ status: "done" | "failed" | "running";
754
+ startedAt: string;
755
+ finishedAt?: string | undefined;
756
+ durationMs?: number | undefined;
757
+ error?: string | undefined;
758
+ } | undefined;
759
+ groupId?: string | undefined;
760
+ variant?: string | undefined;
761
+ clientRequestId?: string | undefined;
762
+ clientRequestHash?: string | undefined;
763
+ peakRssBytes?: number | undefined;
764
+ peakProcCount?: number | undefined;
765
+ archived?: boolean;
766
+ archivedAt?: string | undefined;
767
+ autoArchive?: {
768
+ reason: "pull-requests-merged";
769
+ archivedAt: string;
770
+ fingerprint: string;
771
+ pullRequests: {
772
+ owner: string;
773
+ repo: string;
774
+ number: number;
775
+ mergedAt: string;
776
+ }[];
777
+ } | undefined;
778
+ manualUnarchivedAt?: string | undefined;
779
+ pinned?: boolean | undefined;
780
+ pinnedAt?: string | undefined;
781
+ seenAt?: string | undefined;
782
+ error?: string | undefined;
783
+ workflowDef?: {
784
+ name: string;
785
+ description?: string | undefined;
786
+ steps: {
787
+ id: string;
788
+ name?: string | undefined;
789
+ prompt?: string | undefined;
790
+ skill?: string | undefined;
791
+ model?: string | undefined;
792
+ effort?: string | undefined;
793
+ timeoutMs?: number | undefined;
794
+ runner?: string | undefined;
795
+ agentProfile?: string | undefined;
796
+ allowedTools?: string[] | undefined;
797
+ bashAllowlist?: string[] | undefined;
798
+ kind?: "plugin" | undefined;
799
+ pluginKind?: string | undefined;
800
+ config?: Record<string, unknown> | undefined;
801
+ command?: string | undefined;
802
+ onFail?: {
803
+ retry: string;
804
+ max: number;
805
+ } | undefined;
806
+ }[];
807
+ source: "built-in" | "file";
808
+ path?: string | undefined;
809
+ } | undefined;
810
+ handoffRecords?: {
811
+ autosave: {
812
+ at: string;
813
+ note: string;
814
+ periodic?: {
815
+ branch: string | null;
816
+ count: number;
817
+ first: string | null;
818
+ latest: string | null;
819
+ } | undefined;
820
+ }[];
821
+ } | undefined;
822
+ status?: never;
823
+ waits?: never;
824
+ lastWaits?: never;
825
+ currentStepId: string | undefined;
118
826
  };
119
827
  };
120
828
  readonly 'continue-line': {
@@ -140,15 +848,24 @@ export declare const RUN_EXITS: {
140
848
  readonly durability: 'debounced';
141
849
  readonly from: readonly ["running", "queued", "waiting"];
142
850
  readonly to: 'waiting';
851
+ readonly fields: (run: ExitRead) => RunPatch;
143
852
  readonly steps: typeof parkedStep;
144
853
  };
145
854
  readonly 'park-release': {
146
855
  readonly durability: 'committed';
147
856
  readonly from: readonly ["running", "queued", "waiting"];
148
857
  readonly to: 'waiting';
858
+ readonly fields: (run: ExitRead) => RunPatch;
149
859
  readonly settle: typeof settleParkRelease;
150
860
  readonly steps: typeof parkedStep;
151
861
  };
862
+ readonly 'park-closing-wakes': {
863
+ readonly durability: 'debounced';
864
+ readonly from: readonly ["running", "queued", "waiting"];
865
+ readonly to: 'waiting';
866
+ readonly fields: (run: ExitRead) => RunPatch;
867
+ readonly steps: typeof parkedStep;
868
+ };
152
869
  readonly 'park-for-wake': {
153
870
  readonly durability: 'debounced';
154
871
  readonly from: readonly ["queued", "waiting"];
@@ -158,9 +875,719 @@ export declare const RUN_EXITS: {
158
875
  readonly durability: 'debounced';
159
876
  readonly from: readonly ["failed", "waiting"];
160
877
  readonly to: 'waiting';
161
- readonly fields: () => {
162
- finishedAt: undefined;
878
+ readonly fields: () => RunPatch;
879
+ };
880
+ readonly 'hold-failure': {
881
+ readonly durability: 'debounced';
882
+ readonly from: readonly ["running", "waiting"];
883
+ readonly to: 'waiting';
884
+ readonly fields: (_run: ExitRead, at: ExitSettlement) => {
885
+ archiveWhenDone?: boolean | undefined;
886
+ autoMergePr?: boolean | undefined;
887
+ allowWorkers?: boolean | undefined;
888
+ allowMessaging?: boolean | undefined;
889
+ title?: string;
890
+ titleSummary?: string | undefined;
891
+ diffStat?: {
892
+ adds: number;
893
+ dels: number;
894
+ files: number;
895
+ repointed?: boolean | undefined;
896
+ } | undefined;
897
+ workflow?: string;
898
+ task?: string;
899
+ queuedMessages?: {
900
+ replayAfterOpen?: true | undefined;
901
+ id: string;
902
+ text: string;
903
+ images?: string[] | undefined;
904
+ createdAt: string;
905
+ }[] | undefined;
906
+ stopping?: boolean | undefined;
907
+ continuationMessage?: {
908
+ replayAfterOpen?: true | undefined;
909
+ id: string;
910
+ text: string;
911
+ images?: string[] | undefined;
912
+ createdAt: string;
913
+ origin?: "human" | "lifecycle" | undefined;
914
+ agentInputId?: string | undefined;
915
+ task?: string | undefined;
916
+ resumeContext?: {
917
+ failure?: {
918
+ stepId?: string | undefined;
919
+ error: string;
920
+ } | undefined;
921
+ restarted?: true | undefined;
922
+ cutOff?: {
923
+ tools?: string[] | undefined;
924
+ subagents?: string[] | undefined;
925
+ } | undefined;
926
+ } | undefined;
927
+ } | undefined;
928
+ workflowCursor?: {
929
+ stepId: string;
930
+ mode: "resume" | "start";
931
+ } | undefined;
932
+ doneAccepted?: {
933
+ session: string;
934
+ at: string;
935
+ seq: number;
936
+ openWaits: string[];
937
+ settledWaits: string[];
938
+ lastInput?: string | undefined;
939
+ summary?: string | undefined;
940
+ freeTurn?: true | undefined;
941
+ } | undefined;
942
+ invalidAsk?: boolean | undefined;
943
+ delegation?: {
944
+ role: "root";
945
+ conversation?: {
946
+ messages: {
947
+ senderRunId: string;
948
+ recipientRunId: string;
949
+ kind: "follow-up" | "progress" | "reply" | "request";
950
+ requestId?: string | undefined;
951
+ relationship?: "family" | "peer" | undefined;
952
+ id: string;
953
+ text: string;
954
+ createdAt: string;
955
+ deadline?: string | undefined;
956
+ requestHash: string;
957
+ state: "accepted" | "continuation-required" | "destroyed" | "late";
958
+ resumed?: true | undefined;
959
+ instruction?: string | undefined;
960
+ question?: {
961
+ context?: string | undefined;
962
+ questions: {
963
+ id?: string | undefined;
964
+ header: string;
965
+ question: string;
966
+ options?: {
967
+ label: string;
968
+ description?: string | undefined;
969
+ }[] | undefined;
970
+ multiSelect?: boolean | undefined;
971
+ allowFreeText?: boolean | undefined;
972
+ }[];
973
+ } | undefined;
974
+ }[];
975
+ outcomes: {
976
+ requestId: string;
977
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
978
+ observedAt: string;
979
+ replyId?: string | undefined;
980
+ }[];
981
+ } | undefined;
982
+ permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
983
+ spawnGrant?: {
984
+ kinds: ("owned-isolated" | "shared")[];
985
+ live: number;
986
+ children?: /*elided*/ any | undefined;
987
+ } | undefined;
988
+ receipts: {
989
+ requestId: string;
990
+ workerId: string;
991
+ requestHash: string;
992
+ supervisorRunId?: string | undefined;
993
+ deletion?: {
994
+ phase: "complete" | "pending";
995
+ revision: number;
996
+ resourceId: string;
997
+ generation: string;
998
+ } | undefined;
999
+ }[];
1000
+ wait?: {
1001
+ id: string;
1002
+ workerIds: string[];
1003
+ requestIds?: string[] | undefined;
1004
+ requestOutcomes?: {
1005
+ requestId: string;
1006
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1007
+ observedAt: string;
1008
+ replyId?: string | undefined;
1009
+ }[] | undefined;
1010
+ deadline: string;
1011
+ mode?: "all" | "any" | "one" | undefined;
1012
+ revisions?: {
1013
+ workerId: string;
1014
+ revision: number;
1015
+ }[] | undefined;
1016
+ reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1017
+ phase: "parked" | "registered" | "wake-pending";
1018
+ outcomes: {
1019
+ workerId: string;
1020
+ status: "cancelled" | "done" | "failed" | "review";
1021
+ observedAt: string;
1022
+ summary?: string | undefined;
1023
+ revision?: number | undefined;
1024
+ }[];
1025
+ wakeId?: string | undefined;
1026
+ } | undefined;
1027
+ lastWait?: {
1028
+ id: string;
1029
+ workerIds: string[];
1030
+ requestIds?: string[] | undefined;
1031
+ requestOutcomes?: {
1032
+ requestId: string;
1033
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1034
+ observedAt: string;
1035
+ replyId?: string | undefined;
1036
+ }[] | undefined;
1037
+ deadline: string;
1038
+ mode?: "all" | "any" | "one" | undefined;
1039
+ revisions?: {
1040
+ workerId: string;
1041
+ revision: number;
1042
+ }[] | undefined;
1043
+ reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1044
+ phase: "parked" | "registered" | "wake-pending";
1045
+ outcomes: {
1046
+ workerId: string;
1047
+ status: "cancelled" | "done" | "failed" | "review";
1048
+ observedAt: string;
1049
+ summary?: string | undefined;
1050
+ revision?: number | undefined;
1051
+ }[];
1052
+ wakeId?: string | undefined;
1053
+ } | undefined;
1054
+ results?: {
1055
+ workerId: string;
1056
+ revision: number;
1057
+ snapshotId: string;
1058
+ observedAt: string;
1059
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
1060
+ previous?: {
1061
+ revision: number;
1062
+ observedAt: string;
1063
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
1064
+ } | undefined;
1065
+ }[] | undefined;
1066
+ finishRequestedAt?: string | undefined;
1067
+ historyDeletion?: "pending" | undefined;
1068
+ completion?: {
1069
+ phase: "attention" | "waiting";
1070
+ waitId?: string | undefined;
1071
+ } | undefined;
1072
+ } | {
1073
+ role: "worker";
1074
+ wait?: {
1075
+ id: string;
1076
+ workerIds: string[];
1077
+ requestIds?: string[] | undefined;
1078
+ requestOutcomes?: {
1079
+ requestId: string;
1080
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1081
+ observedAt: string;
1082
+ replyId?: string | undefined;
1083
+ }[] | undefined;
1084
+ deadline: string;
1085
+ mode?: "all" | "any" | "one" | undefined;
1086
+ revisions?: {
1087
+ workerId: string;
1088
+ revision: number;
1089
+ }[] | undefined;
1090
+ reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1091
+ phase: "parked" | "registered" | "wake-pending";
1092
+ outcomes: {
1093
+ workerId: string;
1094
+ status: "cancelled" | "done" | "failed" | "review";
1095
+ observedAt: string;
1096
+ summary?: string | undefined;
1097
+ revision?: number | undefined;
1098
+ }[];
1099
+ wakeId?: string | undefined;
1100
+ } | undefined;
1101
+ lastWait?: {
1102
+ id: string;
1103
+ workerIds: string[];
1104
+ requestIds?: string[] | undefined;
1105
+ requestOutcomes?: {
1106
+ requestId: string;
1107
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1108
+ observedAt: string;
1109
+ replyId?: string | undefined;
1110
+ }[] | undefined;
1111
+ deadline: string;
1112
+ mode?: "all" | "any" | "one" | undefined;
1113
+ revisions?: {
1114
+ workerId: string;
1115
+ revision: number;
1116
+ }[] | undefined;
1117
+ reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1118
+ phase: "parked" | "registered" | "wake-pending";
1119
+ outcomes: {
1120
+ workerId: string;
1121
+ status: "cancelled" | "done" | "failed" | "review";
1122
+ observedAt: string;
1123
+ summary?: string | undefined;
1124
+ revision?: number | undefined;
1125
+ }[];
1126
+ wakeId?: string | undefined;
1127
+ } | undefined;
1128
+ permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
1129
+ spawnGrant?: {
1130
+ kinds: ("owned-isolated" | "shared")[];
1131
+ live: number;
1132
+ children?: any | undefined;
1133
+ } | undefined;
1134
+ parentRunId: string;
1135
+ supervisorRunId?: string | undefined;
1136
+ workspace: {
1137
+ ownerRunId: string;
1138
+ resourceId: string;
1139
+ kind: "owned-isolated";
1140
+ path: string;
1141
+ branch: string;
1142
+ baselineSha: string;
1143
+ } | {
1144
+ ownerRunId: string;
1145
+ resourceId: string;
1146
+ kind: "shared";
1147
+ path: string;
1148
+ hostRunId: string;
1149
+ baselineSha: string;
1150
+ };
1151
+ destroy?: {
1152
+ requestedAt: string;
1153
+ phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
1154
+ remaining: ("branch" | "process" | "worktree")[];
1155
+ error?: string | undefined;
1156
+ discardWork?: true | undefined;
1157
+ } | undefined;
1158
+ context?: {
1159
+ text?: string | undefined;
1160
+ inputs: {
1161
+ source: {
1162
+ kind: "parent-file";
1163
+ path: string;
1164
+ } | {
1165
+ kind: "baseline-file";
1166
+ path: string;
1167
+ } | {
1168
+ kind: "parent-attachment";
1169
+ id: string;
1170
+ };
1171
+ path: string;
1172
+ sha256: string;
1173
+ bytes: number;
1174
+ }[];
1175
+ } | undefined;
1176
+ executionRevision?: number | undefined;
1177
+ executionStartSeq?: number | undefined;
1178
+ } | {
1179
+ role: "invalid";
1180
+ } | undefined;
1181
+ agentInputs?: {
1182
+ conversation?: {
1183
+ senderRunId: string;
1184
+ recipientRunId: string;
1185
+ kind: "follow-up" | "progress" | "reply" | "request";
1186
+ requestId?: string | undefined;
1187
+ relationship?: "family" | "peer" | undefined;
1188
+ } | undefined;
1189
+ id: string;
1190
+ source: "agent" | "lifecycle";
1191
+ parentRunId: string;
1192
+ text: string;
1193
+ createdAt: string;
1194
+ deliveredAt?: string | undefined;
1195
+ consumedAt?: string | undefined;
1196
+ awaitingRead?: true | undefined;
1197
+ inboxClaim?: {
1198
+ receiptId: string;
1199
+ generation: string;
1200
+ expiresAt: string;
1201
+ acknowledgedAt?: string | undefined;
1202
+ memberIds?: string[] | undefined;
1203
+ } | undefined;
1204
+ purpose?: "completion-refusal" | "undelivered-question" | undefined;
1205
+ requestHash?: string | undefined;
1206
+ deadline?: string | undefined;
1207
+ }[] | undefined;
1208
+ waitRegistrations?: {
1209
+ operationId: string;
1210
+ requestHash: string;
1211
+ wait: {
1212
+ prUrl: string;
1213
+ repository: string;
1214
+ prNumber: number;
1215
+ headSha: string;
1216
+ id: string;
1217
+ source: "agent" | "cezar";
1218
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
1219
+ registeredAt: string;
1220
+ phase: "cancelled" | "delivered" | "open" | "resolved";
1221
+ resolvedAt?: string | undefined;
1222
+ deliveredAt?: string | undefined;
1223
+ cancelledAt?: string | undefined;
1224
+ turnId: string;
1225
+ kind: "pr";
1226
+ deadline: string;
1227
+ generation: string;
1228
+ timeoutSeconds: number;
1229
+ until: "checks" | "merge" | "merge_or_blocked";
1230
+ wakeOnConflict: boolean;
1231
+ checks?: "all" | "required" | undefined;
1232
+ callerHead?: true | undefined;
1233
+ result?: {
1234
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
1235
+ headSha: string;
1236
+ observedHeadSha?: string | undefined;
1237
+ mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
1238
+ mergeStateStatus?: string | undefined;
1239
+ mergedAt?: string | undefined;
1240
+ mergeCommitSha?: string | undefined;
1241
+ mergeBlock?: {
1242
+ reason: "conflict" | "no_pending_merge";
1243
+ isInMergeQueue: boolean;
1244
+ autoMergeEnabled: boolean;
1245
+ event?: {
1246
+ kind: "auto_merge_disabled" | "queue_removal";
1247
+ createdAt: string;
1248
+ reason?: string | undefined;
1249
+ reasonCode?: string | undefined;
1250
+ } | undefined;
1251
+ } | undefined;
1252
+ observedAt: string;
1253
+ checks: {
1254
+ name: string;
1255
+ state: string;
1256
+ link: string;
1257
+ }[];
1258
+ totalChecks: number;
1259
+ truncated: boolean;
1260
+ diagnostic?: string | undefined;
1261
+ } | undefined;
1262
+ } | {
1263
+ id: string;
1264
+ source: "agent" | "cezar";
1265
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
1266
+ registeredAt: string;
1267
+ phase: "cancelled" | "delivered" | "open" | "resolved";
1268
+ resolvedAt?: string | undefined;
1269
+ deliveredAt?: string | undefined;
1270
+ cancelledAt?: string | undefined;
1271
+ turnId: string;
1272
+ kind: "timer";
1273
+ deadline: string;
1274
+ seconds: number;
1275
+ note?: string | undefined;
1276
+ } | {
1277
+ id: string;
1278
+ source: "agent" | "cezar";
1279
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
1280
+ registeredAt: string;
1281
+ phase: "cancelled" | "delivered" | "open" | "resolved";
1282
+ resolvedAt?: string | undefined;
1283
+ deliveredAt?: string | undefined;
1284
+ cancelledAt?: string | undefined;
1285
+ turnId: string;
1286
+ kind: "human";
1287
+ questions?: {
1288
+ id?: string | undefined;
1289
+ header: string;
1290
+ question: string;
1291
+ options?: {
1292
+ label: string;
1293
+ description?: string | undefined;
1294
+ }[] | undefined;
1295
+ multiSelect?: boolean | undefined;
1296
+ allowFreeText?: boolean | undefined;
1297
+ }[] | undefined;
1298
+ context?: string | undefined;
1299
+ askSeq?: number | undefined;
1300
+ } | {
1301
+ id: string;
1302
+ source: "agent" | "cezar";
1303
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
1304
+ registeredAt: string;
1305
+ phase: "cancelled" | "delivered" | "open" | "resolved";
1306
+ resolvedAt?: string | undefined;
1307
+ deliveredAt?: string | undefined;
1308
+ cancelledAt?: string | undefined;
1309
+ turnId: string;
1310
+ kind: "worker";
1311
+ deadline?: string | undefined;
1312
+ timeoutSeconds?: number | undefined;
1313
+ mode?: "all" | "any" | "one" | undefined;
1314
+ workerIds?: string[] | undefined;
1315
+ revisions?: {
1316
+ workerId: string;
1317
+ revision: number;
1318
+ }[] | undefined;
1319
+ outcomes?: {
1320
+ workerId: string;
1321
+ status: "cancelled" | "done" | "failed" | "review";
1322
+ observedAt: string;
1323
+ summary?: string | undefined;
1324
+ revision?: number | undefined;
1325
+ }[] | undefined;
1326
+ requestIds?: string[] | undefined;
1327
+ requestOutcomes?: {
1328
+ requestId: string;
1329
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1330
+ observedAt: string;
1331
+ replyId?: string | undefined;
1332
+ }[] | undefined;
1333
+ result?: {
1334
+ reason: "outcome" | "timeout";
1335
+ } | undefined;
1336
+ wakeInputId?: string | undefined;
1337
+ } | {
1338
+ id: string;
1339
+ source: "agent" | "cezar";
1340
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
1341
+ registeredAt: string;
1342
+ phase: "cancelled" | "delivered" | "open" | "resolved";
1343
+ resolvedAt?: string | undefined;
1344
+ deliveredAt?: string | undefined;
1345
+ cancelledAt?: string | undefined;
1346
+ turnId: string;
1347
+ kind: "process";
1348
+ deadline: string;
1349
+ timeoutSeconds: number;
1350
+ pid: number;
1351
+ startToken?: string | undefined;
1352
+ exitFile?: string | undefined;
1353
+ note?: string | undefined;
1354
+ result?: {
1355
+ outcome: "deadline" | "error" | "exit_file" | "exited";
1356
+ observedAt: string;
1357
+ exitCode?: number | undefined;
1358
+ exitFileNote?: "not-an-exit-code" | undefined;
1359
+ diagnostic?: string | undefined;
1360
+ } | undefined;
1361
+ } | {
1362
+ id: string;
1363
+ source: "agent" | "cezar";
1364
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
1365
+ registeredAt: string;
1366
+ phase: "cancelled" | "delivered" | "open" | "resolved";
1367
+ resolvedAt?: string | undefined;
1368
+ deliveredAt?: string | undefined;
1369
+ cancelledAt?: string | undefined;
1370
+ turnId: string;
1371
+ kind: "peer";
1372
+ deadline: string;
1373
+ timeoutSeconds: number;
1374
+ peerIds: string[];
1375
+ result?: {
1376
+ reason: "message";
1377
+ peerRunId: string;
1378
+ messageId: string;
1379
+ } | {
1380
+ reason: "settled";
1381
+ peerRunId: string;
1382
+ } | {
1383
+ reason: "timeout";
1384
+ } | undefined;
1385
+ } | {
1386
+ id: string;
1387
+ registeredAt: string;
1388
+ phase: "cancelled" | "delivered" | "open" | "resolved";
1389
+ resolvedAt?: string | undefined;
1390
+ deliveredAt?: string | undefined;
1391
+ cancelledAt?: string | undefined;
1392
+ turnId: string;
1393
+ kind: "subagent";
1394
+ source: "cezar";
1395
+ via: "native-subagents";
1396
+ deadline: string;
1397
+ children: {
1398
+ id: string;
1399
+ status: "cancelled" | "completed" | "failed" | "running";
1400
+ }[];
1401
+ result?: {
1402
+ reason: "interrupted" | "settled" | "superseded" | "timeout";
1403
+ } | undefined;
1404
+ } | {
1405
+ id: string;
1406
+ source: "agent" | "cezar";
1407
+ registeredAt: string;
1408
+ phase: "cancelled" | "delivered" | "open" | "resolved";
1409
+ resolvedAt?: string | undefined;
1410
+ deliveredAt?: string | undefined;
1411
+ cancelledAt?: string | undefined;
1412
+ turnId: string;
1413
+ via: string;
1414
+ kind: "plugin";
1415
+ pluginKind: string;
1416
+ deadline?: string | undefined;
1417
+ summary: string;
1418
+ payload: Record<string, unknown>;
1419
+ result?: Record<string, unknown> | undefined;
1420
+ };
1421
+ deduplicated: boolean;
1422
+ }[] | undefined;
1423
+ lastWaitsError?: string | undefined;
1424
+ automaticWakes?: number | undefined;
1425
+ waitDeliveryFailures?: number | undefined;
1426
+ previewServers?: {
1427
+ port: number;
1428
+ command: string;
1429
+ cwd?: string | undefined;
1430
+ label: string;
1431
+ path?: string | undefined;
1432
+ registeredAt: string;
1433
+ answeredAtRegistration: boolean;
1434
+ }[] | undefined;
1435
+ taskImages?: string[] | undefined;
1436
+ model?: string | undefined;
1437
+ effort?: string | undefined;
1438
+ modelIdentity?: string | undefined;
1439
+ runner?: string | undefined;
1440
+ removedRunner?: string | undefined;
1441
+ agentProfile?: string | undefined;
1442
+ systemPrompt?: string | undefined;
1443
+ generateFollowups?: boolean | undefined;
1444
+ autonomous?: boolean | undefined;
1445
+ completionAction?: {
1446
+ id: string;
1447
+ phase: "blocked" | "complete" | "pending";
1448
+ message?: string | undefined;
1449
+ } | undefined;
1450
+ archiveBlocker?: {
1451
+ message: string;
1452
+ runId?: string | undefined;
1453
+ pullRequestUrl?: string | undefined;
1454
+ } | undefined;
1455
+ automation?: {
1456
+ automationId: string;
1457
+ automationRevision: number;
1458
+ receiptId: string;
1459
+ event: string;
1460
+ githubUrl: string;
1461
+ } | undefined;
1462
+ automationTrigger?: {
1463
+ automationId: string;
1464
+ automationRevision: number;
1465
+ receiptId: string;
1466
+ trigger: "catch-up" | "manual" | "schedule";
1467
+ occurrenceAt: string;
1468
+ } | undefined;
1469
+ destroyRetry?: {
1470
+ attempts: number;
1471
+ nextAt: string;
1472
+ needsAttention?: true | undefined;
1473
+ } | undefined;
1474
+ notify?: boolean | undefined;
1475
+ webhook?: {
1476
+ lastDeliveredAt?: string | undefined;
1477
+ lastError?: string | undefined;
1478
+ lastErrorWebhookId?: string | undefined;
1479
+ } | undefined;
1480
+ hasPendingPermission?: boolean | undefined;
1481
+ autoResumeAt?: string | undefined;
1482
+ autoResumeAttempts?: number | undefined;
1483
+ autoResumeReason?: "provider-error" | "usage-limit" | undefined;
1484
+ parkReason?: "closing-wakes" | "hold" | "turn" | undefined;
1485
+ createdAt?: string;
1486
+ startedAt?: string | undefined;
1487
+ finishedAt?: string | undefined;
1488
+ tokensUsed?: number;
1489
+ inputTokens?: number | undefined;
1490
+ outputTokens?: number | undefined;
1491
+ costUsd?: number | undefined;
1492
+ pullRequestUrl?: string | undefined;
1493
+ pullRequests?: {
1494
+ number: number;
1495
+ url?: string | undefined;
1496
+ source: "created" | "declared";
1497
+ }[] | undefined;
1498
+ referencedPullRequestUrl?: string | undefined;
1499
+ prNumber?: number | undefined;
1500
+ issueNumber?: number | undefined;
1501
+ referencedIssueNumberSeeded?: boolean | undefined;
1502
+ titleOrigin?: "auto" | "marker" | "user" | undefined;
1503
+ markerRefs?: {
1504
+ pr?: number | undefined;
1505
+ issue?: number | undefined;
1506
+ } | undefined;
1507
+ referencedPrCandidates?: string[] | undefined;
1508
+ referencedIssueUrl?: string | undefined;
1509
+ referencedIssueCandidates?: string[] | undefined;
1510
+ worktree?: false | undefined;
1511
+ worktreePath?: string | undefined;
1512
+ branch?: string | undefined;
1513
+ baseBranch?: string | undefined;
1514
+ worktreeReclaimedAt?: string | undefined;
1515
+ worktreeSetup?: {
1516
+ status: "done" | "failed" | "running";
1517
+ startedAt: string;
1518
+ finishedAt?: string | undefined;
1519
+ durationMs?: number | undefined;
1520
+ error?: string | undefined;
1521
+ } | undefined;
1522
+ groupId?: string | undefined;
1523
+ variant?: string | undefined;
1524
+ clientRequestId?: string | undefined;
1525
+ clientRequestHash?: string | undefined;
1526
+ peakRssBytes?: number | undefined;
1527
+ peakProcCount?: number | undefined;
1528
+ archived?: boolean;
1529
+ archivedAt?: string | undefined;
1530
+ autoArchive?: {
1531
+ reason: "pull-requests-merged";
1532
+ archivedAt: string;
1533
+ fingerprint: string;
1534
+ pullRequests: {
1535
+ owner: string;
1536
+ repo: string;
1537
+ number: number;
1538
+ mergedAt: string;
1539
+ }[];
1540
+ } | undefined;
1541
+ manualUnarchivedAt?: string | undefined;
1542
+ pinned?: boolean | undefined;
1543
+ pinnedAt?: string | undefined;
1544
+ seenAt?: string | undefined;
1545
+ currentStepId?: string | undefined;
1546
+ error?: string | undefined;
1547
+ workflowDef?: {
1548
+ name: string;
1549
+ description?: string | undefined;
1550
+ steps: {
1551
+ id: string;
1552
+ name?: string | undefined;
1553
+ prompt?: string | undefined;
1554
+ skill?: string | undefined;
1555
+ model?: string | undefined;
1556
+ effort?: string | undefined;
1557
+ timeoutMs?: number | undefined;
1558
+ runner?: string | undefined;
1559
+ agentProfile?: string | undefined;
1560
+ allowedTools?: string[] | undefined;
1561
+ bashAllowlist?: string[] | undefined;
1562
+ kind?: "plugin" | undefined;
1563
+ pluginKind?: string | undefined;
1564
+ config?: Record<string, unknown> | undefined;
1565
+ command?: string | undefined;
1566
+ onFail?: {
1567
+ retry: string;
1568
+ max: number;
1569
+ } | undefined;
1570
+ }[];
1571
+ source: "built-in" | "file";
1572
+ path?: string | undefined;
1573
+ } | undefined;
1574
+ handoffRecords?: {
1575
+ autosave: {
1576
+ at: string;
1577
+ note: string;
1578
+ periodic?: {
1579
+ branch: string | null;
1580
+ count: number;
1581
+ first: string | null;
1582
+ latest: string | null;
1583
+ } | undefined;
1584
+ }[];
1585
+ } | undefined;
1586
+ status?: never;
1587
+ waits?: never;
1588
+ lastWaits?: never;
163
1589
  };
1590
+ readonly steps: typeof failedStep;
164
1591
  };
165
1592
  readonly resume: {
166
1593
  readonly durability: 'debounced';
@@ -219,6 +1646,18 @@ export declare const RUN_EXITS: {
219
1646
  readonly to: 'failed';
220
1647
  readonly steps: typeof failedStep;
221
1648
  };
1649
+ readonly 'fail-attempt': {
1650
+ readonly durability: 'debounced';
1651
+ readonly from: readonly ["running"];
1652
+ readonly to: 'running';
1653
+ readonly fields: (_run: ExitRead, at: ExitSettlement) => RunPatch;
1654
+ };
1655
+ readonly 'fail-attempt-parked': {
1656
+ readonly durability: 'debounced';
1657
+ readonly from: readonly ["waiting"];
1658
+ readonly to: 'waiting';
1659
+ readonly fields: (_run: ExitRead, at: ExitSettlement) => RunPatch;
1660
+ };
222
1661
  readonly 'fail-continue': {
223
1662
  readonly durability: 'debounced';
224
1663
  readonly from: readonly ["running", "waiting", "cancelled"];
@@ -262,6 +1701,7 @@ export declare const RUN_EXITS: {
262
1701
  workflow: string;
263
1702
  task: string;
264
1703
  queuedMessages?: {
1704
+ replayAfterOpen?: true | undefined;
265
1705
  id: string;
266
1706
  text: string;
267
1707
  images?: string[] | undefined;
@@ -269,21 +1709,40 @@ export declare const RUN_EXITS: {
269
1709
  }[] | undefined;
270
1710
  stopping?: boolean | undefined;
271
1711
  continuationMessage?: {
1712
+ replayAfterOpen?: true | undefined;
272
1713
  id: string;
273
1714
  text: string;
274
1715
  images?: string[] | undefined;
275
1716
  createdAt: string;
276
1717
  origin?: "human" | "lifecycle" | undefined;
277
1718
  agentInputId?: string | undefined;
1719
+ task?: string | undefined;
278
1720
  resumeContext?: {
279
1721
  failure?: {
280
1722
  stepId?: string | undefined;
281
1723
  error: string;
282
1724
  } | undefined;
283
1725
  restarted?: true | undefined;
1726
+ cutOff?: {
1727
+ tools?: string[] | undefined;
1728
+ subagents?: string[] | undefined;
1729
+ } | undefined;
284
1730
  } | undefined;
285
1731
  } | undefined;
286
- workflowResumeStepId?: string | undefined;
1732
+ workflowCursor?: {
1733
+ stepId: string;
1734
+ mode: "resume" | "start";
1735
+ } | undefined;
1736
+ doneAccepted?: {
1737
+ session: string;
1738
+ at: string;
1739
+ seq: number;
1740
+ openWaits: string[];
1741
+ settledWaits: string[];
1742
+ lastInput?: string | undefined;
1743
+ summary?: string | undefined;
1744
+ freeTurn?: true | undefined;
1745
+ } | undefined;
287
1746
  invalidAsk?: boolean | undefined;
288
1747
  delegation?: {
289
1748
  role: "root";
@@ -313,6 +1772,7 @@ export declare const RUN_EXITS: {
313
1772
  description?: string | undefined;
314
1773
  }[] | undefined;
315
1774
  multiSelect?: boolean | undefined;
1775
+ allowFreeText?: boolean | undefined;
316
1776
  }[];
317
1777
  } | undefined;
318
1778
  }[];
@@ -324,10 +1784,16 @@ export declare const RUN_EXITS: {
324
1784
  }[];
325
1785
  } | undefined;
326
1786
  permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
1787
+ spawnGrant?: {
1788
+ kinds: ("owned-isolated" | "shared")[];
1789
+ live: number;
1790
+ children?: /*elided*/ any | undefined;
1791
+ } | undefined;
327
1792
  receipts: {
328
1793
  requestId: string;
329
1794
  workerId: string;
330
1795
  requestHash: string;
1796
+ supervisorRunId?: string | undefined;
331
1797
  deletion?: {
332
1798
  phase: "complete" | "pending";
333
1799
  revision: number;
@@ -464,7 +1930,13 @@ export declare const RUN_EXITS: {
464
1930
  wakeId?: string | undefined;
465
1931
  } | undefined;
466
1932
  permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
1933
+ spawnGrant?: {
1934
+ kinds: ("owned-isolated" | "shared")[];
1935
+ live: number;
1936
+ children?: any | undefined;
1937
+ } | undefined;
467
1938
  parentRunId: string;
1939
+ supervisorRunId?: string | undefined;
468
1940
  workspace: {
469
1941
  ownerRunId: string;
470
1942
  resourceId: string;
@@ -472,12 +1944,20 @@ export declare const RUN_EXITS: {
472
1944
  path: string;
473
1945
  branch: string;
474
1946
  baselineSha: string;
1947
+ } | {
1948
+ ownerRunId: string;
1949
+ resourceId: string;
1950
+ kind: "shared";
1951
+ path: string;
1952
+ hostRunId: string;
1953
+ baselineSha: string;
475
1954
  };
476
1955
  destroy?: {
477
1956
  requestedAt: string;
478
1957
  phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
479
1958
  remaining: ("branch" | "process" | "worktree")[];
480
1959
  error?: string | undefined;
1960
+ discardWork?: true | undefined;
481
1961
  } | undefined;
482
1962
  context?: {
483
1963
  text?: string | undefined;
@@ -549,8 +2029,10 @@ export declare const RUN_EXITS: {
549
2029
  timeoutSeconds: number;
550
2030
  until: "checks" | "merge" | "merge_or_blocked";
551
2031
  wakeOnConflict: boolean;
2032
+ checks?: "all" | "required" | undefined;
2033
+ callerHead?: true | undefined;
552
2034
  result?: {
553
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
2035
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
554
2036
  headSha: string;
555
2037
  observedHeadSha?: string | undefined;
556
2038
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -612,6 +2094,7 @@ export declare const RUN_EXITS: {
612
2094
  description?: string | undefined;
613
2095
  }[] | undefined;
614
2096
  multiSelect?: boolean | undefined;
2097
+ allowFreeText?: boolean | undefined;
615
2098
  }[] | undefined;
616
2099
  context?: string | undefined;
617
2100
  askSeq?: number | undefined;
@@ -719,6 +2202,22 @@ export declare const RUN_EXITS: {
719
2202
  result?: {
720
2203
  reason: "interrupted" | "settled" | "superseded" | "timeout";
721
2204
  } | undefined;
2205
+ } | {
2206
+ id: string;
2207
+ source: "agent" | "cezar";
2208
+ registeredAt: string;
2209
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2210
+ resolvedAt?: string | undefined;
2211
+ deliveredAt?: string | undefined;
2212
+ cancelledAt?: string | undefined;
2213
+ turnId: string;
2214
+ via: string;
2215
+ kind: "plugin";
2216
+ pluginKind: string;
2217
+ deadline?: string | undefined;
2218
+ summary: string;
2219
+ payload: Record<string, unknown>;
2220
+ result?: Record<string, unknown> | undefined;
722
2221
  })[] | undefined;
723
2222
  waitRegistrations?: {
724
2223
  operationId: string;
@@ -743,8 +2242,10 @@ export declare const RUN_EXITS: {
743
2242
  timeoutSeconds: number;
744
2243
  until: "checks" | "merge" | "merge_or_blocked";
745
2244
  wakeOnConflict: boolean;
2245
+ checks?: "all" | "required" | undefined;
2246
+ callerHead?: true | undefined;
746
2247
  result?: {
747
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
2248
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
748
2249
  headSha: string;
749
2250
  observedHeadSha?: string | undefined;
750
2251
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -806,6 +2307,7 @@ export declare const RUN_EXITS: {
806
2307
  description?: string | undefined;
807
2308
  }[] | undefined;
808
2309
  multiSelect?: boolean | undefined;
2310
+ allowFreeText?: boolean | undefined;
809
2311
  }[] | undefined;
810
2312
  context?: string | undefined;
811
2313
  askSeq?: number | undefined;
@@ -913,6 +2415,22 @@ export declare const RUN_EXITS: {
913
2415
  result?: {
914
2416
  reason: "interrupted" | "settled" | "superseded" | "timeout";
915
2417
  } | undefined;
2418
+ } | {
2419
+ id: string;
2420
+ source: "agent" | "cezar";
2421
+ registeredAt: string;
2422
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2423
+ resolvedAt?: string | undefined;
2424
+ deliveredAt?: string | undefined;
2425
+ cancelledAt?: string | undefined;
2426
+ turnId: string;
2427
+ via: string;
2428
+ kind: "plugin";
2429
+ pluginKind: string;
2430
+ deadline?: string | undefined;
2431
+ summary: string;
2432
+ payload: Record<string, unknown>;
2433
+ result?: Record<string, unknown> | undefined;
916
2434
  };
917
2435
  deduplicated: boolean;
918
2436
  }[] | undefined;
@@ -936,8 +2454,10 @@ export declare const RUN_EXITS: {
936
2454
  timeoutSeconds: number;
937
2455
  until: "checks" | "merge" | "merge_or_blocked";
938
2456
  wakeOnConflict: boolean;
2457
+ checks?: "all" | "required" | undefined;
2458
+ callerHead?: true | undefined;
939
2459
  result?: {
940
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
2460
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
941
2461
  headSha: string;
942
2462
  observedHeadSha?: string | undefined;
943
2463
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -999,6 +2519,7 @@ export declare const RUN_EXITS: {
999
2519
  description?: string | undefined;
1000
2520
  }[] | undefined;
1001
2521
  multiSelect?: boolean | undefined;
2522
+ allowFreeText?: boolean | undefined;
1002
2523
  }[] | undefined;
1003
2524
  context?: string | undefined;
1004
2525
  askSeq?: number | undefined;
@@ -1106,6 +2627,22 @@ export declare const RUN_EXITS: {
1106
2627
  result?: {
1107
2628
  reason: "interrupted" | "settled" | "superseded" | "timeout";
1108
2629
  } | undefined;
2630
+ } | {
2631
+ id: string;
2632
+ source: "agent" | "cezar";
2633
+ registeredAt: string;
2634
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2635
+ resolvedAt?: string | undefined;
2636
+ deliveredAt?: string | undefined;
2637
+ cancelledAt?: string | undefined;
2638
+ turnId: string;
2639
+ via: string;
2640
+ kind: "plugin";
2641
+ pluginKind: string;
2642
+ deadline?: string | undefined;
2643
+ summary: string;
2644
+ payload: Record<string, unknown>;
2645
+ result?: Record<string, unknown> | undefined;
1109
2646
  })[] | undefined;
1110
2647
  lastWaitsError?: string | undefined;
1111
2648
  automaticWakes?: number | undefined;
@@ -1123,7 +2660,8 @@ export declare const RUN_EXITS: {
1123
2660
  model?: string | undefined;
1124
2661
  effort?: string | undefined;
1125
2662
  modelIdentity?: string | undefined;
1126
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
2663
+ runner?: string | undefined;
2664
+ removedRunner?: string | undefined;
1127
2665
  agentProfile?: string | undefined;
1128
2666
  systemPrompt?: string | undefined;
1129
2667
  generateFollowups?: boolean | undefined;
@@ -1167,6 +2705,8 @@ export declare const RUN_EXITS: {
1167
2705
  hasPendingPermission?: boolean | undefined;
1168
2706
  autoResumeAt?: string | undefined;
1169
2707
  autoResumeAttempts?: number | undefined;
2708
+ autoResumeReason?: "provider-error" | "usage-limit" | undefined;
2709
+ parkReason?: "closing-wakes" | "hold" | "turn" | undefined;
1170
2710
  createdAt: string;
1171
2711
  startedAt?: string | undefined;
1172
2712
  finishedAt?: string | undefined;
@@ -1232,7 +2772,8 @@ export declare const RUN_EXITS: {
1232
2772
  steps: {
1233
2773
  id: string;
1234
2774
  name: string;
1235
- kind: "agent" | "check";
2775
+ kind: "agent" | "check" | "plugin";
2776
+ pluginKind?: string | undefined;
1236
2777
  status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
1237
2778
  iterations: number;
1238
2779
  retriesUsed?: number | undefined;
@@ -1248,11 +2789,13 @@ export declare const RUN_EXITS: {
1248
2789
  finishedAt?: string | undefined;
1249
2790
  error?: string | undefined;
1250
2791
  sessionId?: string | undefined;
1251
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
1252
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
2792
+ backend?: string | undefined;
2793
+ removedBackend?: string | undefined;
1253
2794
  profileId?: string | undefined;
2795
+ skillPath?: string | undefined;
1254
2796
  costUsd?: number | undefined;
1255
2797
  synthetic?: "continuation" | undefined;
2798
+ continuesStepId?: string | undefined;
1256
2799
  }[];
1257
2800
  workflowDef?: {
1258
2801
  name: string;
@@ -1265,10 +2808,13 @@ export declare const RUN_EXITS: {
1265
2808
  model?: string | undefined;
1266
2809
  effort?: string | undefined;
1267
2810
  timeoutMs?: number | undefined;
1268
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
2811
+ runner?: string | undefined;
1269
2812
  agentProfile?: string | undefined;
1270
2813
  allowedTools?: string[] | undefined;
1271
2814
  bashAllowlist?: string[] | undefined;
2815
+ kind?: "plugin" | undefined;
2816
+ pluginKind?: string | undefined;
2817
+ config?: Record<string, unknown> | undefined;
1272
2818
  command?: string | undefined;
1273
2819
  onFail?: {
1274
2820
  retry: string;
@@ -1307,6 +2853,7 @@ export declare const RUN_EXITS: {
1307
2853
  workflow: string;
1308
2854
  task: string;
1309
2855
  queuedMessages?: {
2856
+ replayAfterOpen?: true | undefined;
1310
2857
  id: string;
1311
2858
  text: string;
1312
2859
  images?: string[] | undefined;
@@ -1314,21 +2861,40 @@ export declare const RUN_EXITS: {
1314
2861
  }[] | undefined;
1315
2862
  stopping?: boolean | undefined;
1316
2863
  continuationMessage?: {
2864
+ replayAfterOpen?: true | undefined;
1317
2865
  id: string;
1318
2866
  text: string;
1319
2867
  images?: string[] | undefined;
1320
2868
  createdAt: string;
1321
2869
  origin?: "human" | "lifecycle" | undefined;
1322
2870
  agentInputId?: string | undefined;
2871
+ task?: string | undefined;
1323
2872
  resumeContext?: {
1324
2873
  failure?: {
1325
2874
  stepId?: string | undefined;
1326
2875
  error: string;
1327
2876
  } | undefined;
1328
2877
  restarted?: true | undefined;
2878
+ cutOff?: {
2879
+ tools?: string[] | undefined;
2880
+ subagents?: string[] | undefined;
2881
+ } | undefined;
1329
2882
  } | undefined;
1330
2883
  } | undefined;
1331
- workflowResumeStepId?: string | undefined;
2884
+ workflowCursor?: {
2885
+ stepId: string;
2886
+ mode: "resume" | "start";
2887
+ } | undefined;
2888
+ doneAccepted?: {
2889
+ session: string;
2890
+ at: string;
2891
+ seq: number;
2892
+ openWaits: string[];
2893
+ settledWaits: string[];
2894
+ lastInput?: string | undefined;
2895
+ summary?: string | undefined;
2896
+ freeTurn?: true | undefined;
2897
+ } | undefined;
1332
2898
  invalidAsk?: boolean | undefined;
1333
2899
  delegation?: {
1334
2900
  role: "root";
@@ -1358,6 +2924,7 @@ export declare const RUN_EXITS: {
1358
2924
  description?: string | undefined;
1359
2925
  }[] | undefined;
1360
2926
  multiSelect?: boolean | undefined;
2927
+ allowFreeText?: boolean | undefined;
1361
2928
  }[];
1362
2929
  } | undefined;
1363
2930
  }[];
@@ -1369,10 +2936,16 @@ export declare const RUN_EXITS: {
1369
2936
  }[];
1370
2937
  } | undefined;
1371
2938
  permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
2939
+ spawnGrant?: {
2940
+ kinds: ("owned-isolated" | "shared")[];
2941
+ live: number;
2942
+ children?: any | undefined;
2943
+ } | undefined;
1372
2944
  receipts: {
1373
2945
  requestId: string;
1374
2946
  workerId: string;
1375
2947
  requestHash: string;
2948
+ supervisorRunId?: string | undefined;
1376
2949
  deletion?: {
1377
2950
  phase: "complete" | "pending";
1378
2951
  revision: number;
@@ -1509,7 +3082,13 @@ export declare const RUN_EXITS: {
1509
3082
  wakeId?: string | undefined;
1510
3083
  } | undefined;
1511
3084
  permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
3085
+ spawnGrant?: {
3086
+ kinds: ("owned-isolated" | "shared")[];
3087
+ live: number;
3088
+ children?: any | undefined;
3089
+ } | undefined;
1512
3090
  parentRunId: string;
3091
+ supervisorRunId?: string | undefined;
1513
3092
  workspace: {
1514
3093
  ownerRunId: string;
1515
3094
  resourceId: string;
@@ -1517,12 +3096,20 @@ export declare const RUN_EXITS: {
1517
3096
  path: string;
1518
3097
  branch: string;
1519
3098
  baselineSha: string;
3099
+ } | {
3100
+ ownerRunId: string;
3101
+ resourceId: string;
3102
+ kind: "shared";
3103
+ path: string;
3104
+ hostRunId: string;
3105
+ baselineSha: string;
1520
3106
  };
1521
3107
  destroy?: {
1522
3108
  requestedAt: string;
1523
3109
  phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
1524
3110
  remaining: ("branch" | "process" | "worktree")[];
1525
3111
  error?: string | undefined;
3112
+ discardWork?: true | undefined;
1526
3113
  } | undefined;
1527
3114
  context?: {
1528
3115
  text?: string | undefined;
@@ -1594,8 +3181,10 @@ export declare const RUN_EXITS: {
1594
3181
  timeoutSeconds: number;
1595
3182
  until: "checks" | "merge" | "merge_or_blocked";
1596
3183
  wakeOnConflict: boolean;
3184
+ checks?: "all" | "required" | undefined;
3185
+ callerHead?: true | undefined;
1597
3186
  result?: {
1598
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
3187
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
1599
3188
  headSha: string;
1600
3189
  observedHeadSha?: string | undefined;
1601
3190
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -1657,6 +3246,7 @@ export declare const RUN_EXITS: {
1657
3246
  description?: string | undefined;
1658
3247
  }[] | undefined;
1659
3248
  multiSelect?: boolean | undefined;
3249
+ allowFreeText?: boolean | undefined;
1660
3250
  }[] | undefined;
1661
3251
  context?: string | undefined;
1662
3252
  askSeq?: number | undefined;
@@ -1764,6 +3354,22 @@ export declare const RUN_EXITS: {
1764
3354
  result?: {
1765
3355
  reason: "interrupted" | "settled" | "superseded" | "timeout";
1766
3356
  } | undefined;
3357
+ } | {
3358
+ id: string;
3359
+ source: "agent" | "cezar";
3360
+ registeredAt: string;
3361
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3362
+ resolvedAt?: string | undefined;
3363
+ deliveredAt?: string | undefined;
3364
+ cancelledAt?: string | undefined;
3365
+ turnId: string;
3366
+ via: string;
3367
+ kind: "plugin";
3368
+ pluginKind: string;
3369
+ deadline?: string | undefined;
3370
+ summary: string;
3371
+ payload: Record<string, unknown>;
3372
+ result?: Record<string, unknown> | undefined;
1767
3373
  })[] | undefined;
1768
3374
  waitRegistrations?: {
1769
3375
  operationId: string;
@@ -1788,8 +3394,10 @@ export declare const RUN_EXITS: {
1788
3394
  timeoutSeconds: number;
1789
3395
  until: "checks" | "merge" | "merge_or_blocked";
1790
3396
  wakeOnConflict: boolean;
3397
+ checks?: "all" | "required" | undefined;
3398
+ callerHead?: true | undefined;
1791
3399
  result?: {
1792
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
3400
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
1793
3401
  headSha: string;
1794
3402
  observedHeadSha?: string | undefined;
1795
3403
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -1851,6 +3459,7 @@ export declare const RUN_EXITS: {
1851
3459
  description?: string | undefined;
1852
3460
  }[] | undefined;
1853
3461
  multiSelect?: boolean | undefined;
3462
+ allowFreeText?: boolean | undefined;
1854
3463
  }[] | undefined;
1855
3464
  context?: string | undefined;
1856
3465
  askSeq?: number | undefined;
@@ -1958,6 +3567,22 @@ export declare const RUN_EXITS: {
1958
3567
  result?: {
1959
3568
  reason: "interrupted" | "settled" | "superseded" | "timeout";
1960
3569
  } | undefined;
3570
+ } | {
3571
+ id: string;
3572
+ source: "agent" | "cezar";
3573
+ registeredAt: string;
3574
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3575
+ resolvedAt?: string | undefined;
3576
+ deliveredAt?: string | undefined;
3577
+ cancelledAt?: string | undefined;
3578
+ turnId: string;
3579
+ via: string;
3580
+ kind: "plugin";
3581
+ pluginKind: string;
3582
+ deadline?: string | undefined;
3583
+ summary: string;
3584
+ payload: Record<string, unknown>;
3585
+ result?: Record<string, unknown> | undefined;
1961
3586
  };
1962
3587
  deduplicated: boolean;
1963
3588
  }[] | undefined;
@@ -1981,8 +3606,10 @@ export declare const RUN_EXITS: {
1981
3606
  timeoutSeconds: number;
1982
3607
  until: "checks" | "merge" | "merge_or_blocked";
1983
3608
  wakeOnConflict: boolean;
3609
+ checks?: "all" | "required" | undefined;
3610
+ callerHead?: true | undefined;
1984
3611
  result?: {
1985
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
3612
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
1986
3613
  headSha: string;
1987
3614
  observedHeadSha?: string | undefined;
1988
3615
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -2044,6 +3671,7 @@ export declare const RUN_EXITS: {
2044
3671
  description?: string | undefined;
2045
3672
  }[] | undefined;
2046
3673
  multiSelect?: boolean | undefined;
3674
+ allowFreeText?: boolean | undefined;
2047
3675
  }[] | undefined;
2048
3676
  context?: string | undefined;
2049
3677
  askSeq?: number | undefined;
@@ -2151,6 +3779,22 @@ export declare const RUN_EXITS: {
2151
3779
  result?: {
2152
3780
  reason: "interrupted" | "settled" | "superseded" | "timeout";
2153
3781
  } | undefined;
3782
+ } | {
3783
+ id: string;
3784
+ source: "agent" | "cezar";
3785
+ registeredAt: string;
3786
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3787
+ resolvedAt?: string | undefined;
3788
+ deliveredAt?: string | undefined;
3789
+ cancelledAt?: string | undefined;
3790
+ turnId: string;
3791
+ via: string;
3792
+ kind: "plugin";
3793
+ pluginKind: string;
3794
+ deadline?: string | undefined;
3795
+ summary: string;
3796
+ payload: Record<string, unknown>;
3797
+ result?: Record<string, unknown> | undefined;
2154
3798
  })[] | undefined;
2155
3799
  lastWaitsError?: string | undefined;
2156
3800
  automaticWakes?: number | undefined;
@@ -2168,7 +3812,8 @@ export declare const RUN_EXITS: {
2168
3812
  model?: string | undefined;
2169
3813
  effort?: string | undefined;
2170
3814
  modelIdentity?: string | undefined;
2171
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
3815
+ runner?: string | undefined;
3816
+ removedRunner?: string | undefined;
2172
3817
  agentProfile?: string | undefined;
2173
3818
  systemPrompt?: string | undefined;
2174
3819
  generateFollowups?: boolean | undefined;
@@ -2210,6 +3855,7 @@ export declare const RUN_EXITS: {
2210
3855
  } | undefined;
2211
3856
  status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
2212
3857
  hasPendingPermission?: boolean | undefined;
3858
+ parkReason?: "closing-wakes" | "hold" | "turn" | undefined;
2213
3859
  createdAt: string;
2214
3860
  startedAt?: string | undefined;
2215
3861
  finishedAt?: string | undefined;
@@ -2275,7 +3921,8 @@ export declare const RUN_EXITS: {
2275
3921
  steps: {
2276
3922
  id: string;
2277
3923
  name: string;
2278
- kind: "agent" | "check";
3924
+ kind: "agent" | "check" | "plugin";
3925
+ pluginKind?: string | undefined;
2279
3926
  status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
2280
3927
  iterations: number;
2281
3928
  retriesUsed?: number | undefined;
@@ -2291,11 +3938,13 @@ export declare const RUN_EXITS: {
2291
3938
  finishedAt?: string | undefined;
2292
3939
  error?: string | undefined;
2293
3940
  sessionId?: string | undefined;
2294
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
2295
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
3941
+ backend?: string | undefined;
3942
+ removedBackend?: string | undefined;
2296
3943
  profileId?: string | undefined;
3944
+ skillPath?: string | undefined;
2297
3945
  costUsd?: number | undefined;
2298
3946
  synthetic?: "continuation" | undefined;
3947
+ continuesStepId?: string | undefined;
2299
3948
  }[];
2300
3949
  workflowDef?: {
2301
3950
  name: string;
@@ -2308,10 +3957,13 @@ export declare const RUN_EXITS: {
2308
3957
  model?: string | undefined;
2309
3958
  effort?: string | undefined;
2310
3959
  timeoutMs?: number | undefined;
2311
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
3960
+ runner?: string | undefined;
2312
3961
  agentProfile?: string | undefined;
2313
3962
  allowedTools?: string[] | undefined;
2314
3963
  bashAllowlist?: string[] | undefined;
3964
+ kind?: "plugin" | undefined;
3965
+ pluginKind?: string | undefined;
3966
+ config?: Record<string, unknown> | undefined;
2315
3967
  command?: string | undefined;
2316
3968
  onFail?: {
2317
3969
  retry: string;
@@ -2335,6 +3987,7 @@ export declare const RUN_EXITS: {
2335
3987
  } | undefined;
2336
3988
  autoResumeAt: undefined;
2337
3989
  autoResumeAttempts: undefined;
3990
+ autoResumeReason: undefined;
2338
3991
  };
2339
3992
  readonly steps: typeof failedStep;
2340
3993
  };
@@ -2366,6 +4019,7 @@ export declare const RUN_EXITS: {
2366
4019
  workflow: string;
2367
4020
  task: string;
2368
4021
  queuedMessages?: {
4022
+ replayAfterOpen?: true | undefined;
2369
4023
  id: string;
2370
4024
  text: string;
2371
4025
  images?: string[] | undefined;
@@ -2373,21 +4027,40 @@ export declare const RUN_EXITS: {
2373
4027
  }[] | undefined;
2374
4028
  stopping?: boolean | undefined;
2375
4029
  continuationMessage?: {
4030
+ replayAfterOpen?: true | undefined;
2376
4031
  id: string;
2377
4032
  text: string;
2378
4033
  images?: string[] | undefined;
2379
4034
  createdAt: string;
2380
4035
  origin?: "human" | "lifecycle" | undefined;
2381
4036
  agentInputId?: string | undefined;
4037
+ task?: string | undefined;
2382
4038
  resumeContext?: {
2383
4039
  failure?: {
2384
4040
  stepId?: string | undefined;
2385
4041
  error: string;
2386
4042
  } | undefined;
2387
4043
  restarted?: true | undefined;
4044
+ cutOff?: {
4045
+ tools?: string[] | undefined;
4046
+ subagents?: string[] | undefined;
4047
+ } | undefined;
2388
4048
  } | undefined;
2389
4049
  } | undefined;
2390
- workflowResumeStepId?: string | undefined;
4050
+ workflowCursor?: {
4051
+ stepId: string;
4052
+ mode: "resume" | "start";
4053
+ } | undefined;
4054
+ doneAccepted?: {
4055
+ session: string;
4056
+ at: string;
4057
+ seq: number;
4058
+ openWaits: string[];
4059
+ settledWaits: string[];
4060
+ lastInput?: string | undefined;
4061
+ summary?: string | undefined;
4062
+ freeTurn?: true | undefined;
4063
+ } | undefined;
2391
4064
  invalidAsk?: boolean | undefined;
2392
4065
  delegation?: {
2393
4066
  role: "root";
@@ -2417,6 +4090,7 @@ export declare const RUN_EXITS: {
2417
4090
  description?: string | undefined;
2418
4091
  }[] | undefined;
2419
4092
  multiSelect?: boolean | undefined;
4093
+ allowFreeText?: boolean | undefined;
2420
4094
  }[];
2421
4095
  } | undefined;
2422
4096
  }[];
@@ -2428,10 +4102,16 @@ export declare const RUN_EXITS: {
2428
4102
  }[];
2429
4103
  } | undefined;
2430
4104
  permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
4105
+ spawnGrant?: {
4106
+ kinds: ("owned-isolated" | "shared")[];
4107
+ live: number;
4108
+ children?: /*elided*/ any | undefined;
4109
+ } | undefined;
2431
4110
  receipts: {
2432
4111
  requestId: string;
2433
4112
  workerId: string;
2434
4113
  requestHash: string;
4114
+ supervisorRunId?: string | undefined;
2435
4115
  deletion?: {
2436
4116
  phase: "complete" | "pending";
2437
4117
  revision: number;
@@ -2568,7 +4248,13 @@ export declare const RUN_EXITS: {
2568
4248
  wakeId?: string | undefined;
2569
4249
  } | undefined;
2570
4250
  permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
4251
+ spawnGrant?: {
4252
+ kinds: ("owned-isolated" | "shared")[];
4253
+ live: number;
4254
+ children?: any | undefined;
4255
+ } | undefined;
2571
4256
  parentRunId: string;
4257
+ supervisorRunId?: string | undefined;
2572
4258
  workspace: {
2573
4259
  ownerRunId: string;
2574
4260
  resourceId: string;
@@ -2576,12 +4262,20 @@ export declare const RUN_EXITS: {
2576
4262
  path: string;
2577
4263
  branch: string;
2578
4264
  baselineSha: string;
4265
+ } | {
4266
+ ownerRunId: string;
4267
+ resourceId: string;
4268
+ kind: "shared";
4269
+ path: string;
4270
+ hostRunId: string;
4271
+ baselineSha: string;
2579
4272
  };
2580
4273
  destroy?: {
2581
4274
  requestedAt: string;
2582
4275
  phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
2583
4276
  remaining: ("branch" | "process" | "worktree")[];
2584
4277
  error?: string | undefined;
4278
+ discardWork?: true | undefined;
2585
4279
  } | undefined;
2586
4280
  context?: {
2587
4281
  text?: string | undefined;
@@ -2653,8 +4347,10 @@ export declare const RUN_EXITS: {
2653
4347
  timeoutSeconds: number;
2654
4348
  until: "checks" | "merge" | "merge_or_blocked";
2655
4349
  wakeOnConflict: boolean;
4350
+ checks?: "all" | "required" | undefined;
4351
+ callerHead?: true | undefined;
2656
4352
  result?: {
2657
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
4353
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
2658
4354
  headSha: string;
2659
4355
  observedHeadSha?: string | undefined;
2660
4356
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -2716,6 +4412,7 @@ export declare const RUN_EXITS: {
2716
4412
  description?: string | undefined;
2717
4413
  }[] | undefined;
2718
4414
  multiSelect?: boolean | undefined;
4415
+ allowFreeText?: boolean | undefined;
2719
4416
  }[] | undefined;
2720
4417
  context?: string | undefined;
2721
4418
  askSeq?: number | undefined;
@@ -2823,6 +4520,22 @@ export declare const RUN_EXITS: {
2823
4520
  result?: {
2824
4521
  reason: "interrupted" | "settled" | "superseded" | "timeout";
2825
4522
  } | undefined;
4523
+ } | {
4524
+ id: string;
4525
+ source: "agent" | "cezar";
4526
+ registeredAt: string;
4527
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4528
+ resolvedAt?: string | undefined;
4529
+ deliveredAt?: string | undefined;
4530
+ cancelledAt?: string | undefined;
4531
+ turnId: string;
4532
+ via: string;
4533
+ kind: "plugin";
4534
+ pluginKind: string;
4535
+ deadline?: string | undefined;
4536
+ summary: string;
4537
+ payload: Record<string, unknown>;
4538
+ result?: Record<string, unknown> | undefined;
2826
4539
  })[] | undefined;
2827
4540
  waitRegistrations?: {
2828
4541
  operationId: string;
@@ -2847,8 +4560,10 @@ export declare const RUN_EXITS: {
2847
4560
  timeoutSeconds: number;
2848
4561
  until: "checks" | "merge" | "merge_or_blocked";
2849
4562
  wakeOnConflict: boolean;
4563
+ checks?: "all" | "required" | undefined;
4564
+ callerHead?: true | undefined;
2850
4565
  result?: {
2851
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
4566
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
2852
4567
  headSha: string;
2853
4568
  observedHeadSha?: string | undefined;
2854
4569
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -2910,6 +4625,7 @@ export declare const RUN_EXITS: {
2910
4625
  description?: string | undefined;
2911
4626
  }[] | undefined;
2912
4627
  multiSelect?: boolean | undefined;
4628
+ allowFreeText?: boolean | undefined;
2913
4629
  }[] | undefined;
2914
4630
  context?: string | undefined;
2915
4631
  askSeq?: number | undefined;
@@ -3017,6 +4733,22 @@ export declare const RUN_EXITS: {
3017
4733
  result?: {
3018
4734
  reason: "interrupted" | "settled" | "superseded" | "timeout";
3019
4735
  } | undefined;
4736
+ } | {
4737
+ id: string;
4738
+ source: "agent" | "cezar";
4739
+ registeredAt: string;
4740
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4741
+ resolvedAt?: string | undefined;
4742
+ deliveredAt?: string | undefined;
4743
+ cancelledAt?: string | undefined;
4744
+ turnId: string;
4745
+ via: string;
4746
+ kind: "plugin";
4747
+ pluginKind: string;
4748
+ deadline?: string | undefined;
4749
+ summary: string;
4750
+ payload: Record<string, unknown>;
4751
+ result?: Record<string, unknown> | undefined;
3020
4752
  };
3021
4753
  deduplicated: boolean;
3022
4754
  }[] | undefined;
@@ -3040,8 +4772,10 @@ export declare const RUN_EXITS: {
3040
4772
  timeoutSeconds: number;
3041
4773
  until: "checks" | "merge" | "merge_or_blocked";
3042
4774
  wakeOnConflict: boolean;
4775
+ checks?: "all" | "required" | undefined;
4776
+ callerHead?: true | undefined;
3043
4777
  result?: {
3044
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
4778
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
3045
4779
  headSha: string;
3046
4780
  observedHeadSha?: string | undefined;
3047
4781
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -3103,6 +4837,7 @@ export declare const RUN_EXITS: {
3103
4837
  description?: string | undefined;
3104
4838
  }[] | undefined;
3105
4839
  multiSelect?: boolean | undefined;
4840
+ allowFreeText?: boolean | undefined;
3106
4841
  }[] | undefined;
3107
4842
  context?: string | undefined;
3108
4843
  askSeq?: number | undefined;
@@ -3210,6 +4945,22 @@ export declare const RUN_EXITS: {
3210
4945
  result?: {
3211
4946
  reason: "interrupted" | "settled" | "superseded" | "timeout";
3212
4947
  } | undefined;
4948
+ } | {
4949
+ id: string;
4950
+ source: "agent" | "cezar";
4951
+ registeredAt: string;
4952
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4953
+ resolvedAt?: string | undefined;
4954
+ deliveredAt?: string | undefined;
4955
+ cancelledAt?: string | undefined;
4956
+ turnId: string;
4957
+ via: string;
4958
+ kind: "plugin";
4959
+ pluginKind: string;
4960
+ deadline?: string | undefined;
4961
+ summary: string;
4962
+ payload: Record<string, unknown>;
4963
+ result?: Record<string, unknown> | undefined;
3213
4964
  })[] | undefined;
3214
4965
  lastWaitsError?: string | undefined;
3215
4966
  automaticWakes?: number | undefined;
@@ -3227,7 +4978,8 @@ export declare const RUN_EXITS: {
3227
4978
  model?: string | undefined;
3228
4979
  effort?: string | undefined;
3229
4980
  modelIdentity?: string | undefined;
3230
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
4981
+ runner?: string | undefined;
4982
+ removedRunner?: string | undefined;
3231
4983
  agentProfile?: string | undefined;
3232
4984
  systemPrompt?: string | undefined;
3233
4985
  generateFollowups?: boolean | undefined;
@@ -3271,6 +5023,8 @@ export declare const RUN_EXITS: {
3271
5023
  hasPendingPermission?: boolean | undefined;
3272
5024
  autoResumeAt?: string | undefined;
3273
5025
  autoResumeAttempts?: number | undefined;
5026
+ autoResumeReason?: "provider-error" | "usage-limit" | undefined;
5027
+ parkReason?: "closing-wakes" | "hold" | "turn" | undefined;
3274
5028
  createdAt: string;
3275
5029
  startedAt?: string | undefined;
3276
5030
  finishedAt?: string | undefined;
@@ -3336,7 +5090,8 @@ export declare const RUN_EXITS: {
3336
5090
  steps: {
3337
5091
  id: string;
3338
5092
  name: string;
3339
- kind: "agent" | "check";
5093
+ kind: "agent" | "check" | "plugin";
5094
+ pluginKind?: string | undefined;
3340
5095
  status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
3341
5096
  iterations: number;
3342
5097
  retriesUsed?: number | undefined;
@@ -3352,11 +5107,13 @@ export declare const RUN_EXITS: {
3352
5107
  finishedAt?: string | undefined;
3353
5108
  error?: string | undefined;
3354
5109
  sessionId?: string | undefined;
3355
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
3356
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5110
+ backend?: string | undefined;
5111
+ removedBackend?: string | undefined;
3357
5112
  profileId?: string | undefined;
5113
+ skillPath?: string | undefined;
3358
5114
  costUsd?: number | undefined;
3359
5115
  synthetic?: "continuation" | undefined;
5116
+ continuesStepId?: string | undefined;
3360
5117
  }[];
3361
5118
  workflowDef?: {
3362
5119
  name: string;
@@ -3369,10 +5126,13 @@ export declare const RUN_EXITS: {
3369
5126
  model?: string | undefined;
3370
5127
  effort?: string | undefined;
3371
5128
  timeoutMs?: number | undefined;
3372
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5129
+ runner?: string | undefined;
3373
5130
  agentProfile?: string | undefined;
3374
5131
  allowedTools?: string[] | undefined;
3375
5132
  bashAllowlist?: string[] | undefined;
5133
+ kind?: "plugin" | undefined;
5134
+ pluginKind?: string | undefined;
5135
+ config?: Record<string, unknown> | undefined;
3376
5136
  command?: string | undefined;
3377
5137
  onFail?: {
3378
5138
  retry: string;
@@ -3419,6 +5179,7 @@ export declare const RUN_EXITS: {
3419
5179
  workflow: string;
3420
5180
  task: string;
3421
5181
  queuedMessages?: {
5182
+ replayAfterOpen?: true | undefined;
3422
5183
  id: string;
3423
5184
  text: string;
3424
5185
  images?: string[] | undefined;
@@ -3426,21 +5187,40 @@ export declare const RUN_EXITS: {
3426
5187
  }[] | undefined;
3427
5188
  stopping?: boolean | undefined;
3428
5189
  continuationMessage?: {
5190
+ replayAfterOpen?: true | undefined;
3429
5191
  id: string;
3430
5192
  text: string;
3431
5193
  images?: string[] | undefined;
3432
5194
  createdAt: string;
3433
5195
  origin?: "human" | "lifecycle" | undefined;
3434
5196
  agentInputId?: string | undefined;
5197
+ task?: string | undefined;
3435
5198
  resumeContext?: {
3436
5199
  failure?: {
3437
5200
  stepId?: string | undefined;
3438
5201
  error: string;
3439
5202
  } | undefined;
3440
5203
  restarted?: true | undefined;
5204
+ cutOff?: {
5205
+ tools?: string[] | undefined;
5206
+ subagents?: string[] | undefined;
5207
+ } | undefined;
3441
5208
  } | undefined;
3442
5209
  } | undefined;
3443
- workflowResumeStepId?: string | undefined;
5210
+ workflowCursor?: {
5211
+ stepId: string;
5212
+ mode: "resume" | "start";
5213
+ } | undefined;
5214
+ doneAccepted?: {
5215
+ session: string;
5216
+ at: string;
5217
+ seq: number;
5218
+ openWaits: string[];
5219
+ settledWaits: string[];
5220
+ lastInput?: string | undefined;
5221
+ summary?: string | undefined;
5222
+ freeTurn?: true | undefined;
5223
+ } | undefined;
3444
5224
  invalidAsk?: boolean | undefined;
3445
5225
  delegation?: {
3446
5226
  role: "root";
@@ -3470,6 +5250,7 @@ export declare const RUN_EXITS: {
3470
5250
  description?: string | undefined;
3471
5251
  }[] | undefined;
3472
5252
  multiSelect?: boolean | undefined;
5253
+ allowFreeText?: boolean | undefined;
3473
5254
  }[];
3474
5255
  } | undefined;
3475
5256
  }[];
@@ -3481,10 +5262,16 @@ export declare const RUN_EXITS: {
3481
5262
  }[];
3482
5263
  } | undefined;
3483
5264
  permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
5265
+ spawnGrant?: {
5266
+ kinds: ("owned-isolated" | "shared")[];
5267
+ live: number;
5268
+ children?: /*elided*/ any | undefined;
5269
+ } | undefined;
3484
5270
  receipts: {
3485
5271
  requestId: string;
3486
5272
  workerId: string;
3487
5273
  requestHash: string;
5274
+ supervisorRunId?: string | undefined;
3488
5275
  deletion?: {
3489
5276
  phase: "complete" | "pending";
3490
5277
  revision: number;
@@ -3621,7 +5408,13 @@ export declare const RUN_EXITS: {
3621
5408
  wakeId?: string | undefined;
3622
5409
  } | undefined;
3623
5410
  permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
5411
+ spawnGrant?: {
5412
+ kinds: ("owned-isolated" | "shared")[];
5413
+ live: number;
5414
+ children?: any | undefined;
5415
+ } | undefined;
3624
5416
  parentRunId: string;
5417
+ supervisorRunId?: string | undefined;
3625
5418
  workspace: {
3626
5419
  ownerRunId: string;
3627
5420
  resourceId: string;
@@ -3629,12 +5422,20 @@ export declare const RUN_EXITS: {
3629
5422
  path: string;
3630
5423
  branch: string;
3631
5424
  baselineSha: string;
5425
+ } | {
5426
+ ownerRunId: string;
5427
+ resourceId: string;
5428
+ kind: "shared";
5429
+ path: string;
5430
+ hostRunId: string;
5431
+ baselineSha: string;
3632
5432
  };
3633
5433
  destroy?: {
3634
5434
  requestedAt: string;
3635
5435
  phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
3636
5436
  remaining: ("branch" | "process" | "worktree")[];
3637
5437
  error?: string | undefined;
5438
+ discardWork?: true | undefined;
3638
5439
  } | undefined;
3639
5440
  context?: {
3640
5441
  text?: string | undefined;
@@ -3706,8 +5507,10 @@ export declare const RUN_EXITS: {
3706
5507
  timeoutSeconds: number;
3707
5508
  until: "checks" | "merge" | "merge_or_blocked";
3708
5509
  wakeOnConflict: boolean;
5510
+ checks?: "all" | "required" | undefined;
5511
+ callerHead?: true | undefined;
3709
5512
  result?: {
3710
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
5513
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
3711
5514
  headSha: string;
3712
5515
  observedHeadSha?: string | undefined;
3713
5516
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -3769,6 +5572,7 @@ export declare const RUN_EXITS: {
3769
5572
  description?: string | undefined;
3770
5573
  }[] | undefined;
3771
5574
  multiSelect?: boolean | undefined;
5575
+ allowFreeText?: boolean | undefined;
3772
5576
  }[] | undefined;
3773
5577
  context?: string | undefined;
3774
5578
  askSeq?: number | undefined;
@@ -3876,6 +5680,22 @@ export declare const RUN_EXITS: {
3876
5680
  result?: {
3877
5681
  reason: "interrupted" | "settled" | "superseded" | "timeout";
3878
5682
  } | undefined;
5683
+ } | {
5684
+ id: string;
5685
+ source: "agent" | "cezar";
5686
+ registeredAt: string;
5687
+ phase: "cancelled" | "delivered" | "open" | "resolved";
5688
+ resolvedAt?: string | undefined;
5689
+ deliveredAt?: string | undefined;
5690
+ cancelledAt?: string | undefined;
5691
+ turnId: string;
5692
+ via: string;
5693
+ kind: "plugin";
5694
+ pluginKind: string;
5695
+ deadline?: string | undefined;
5696
+ summary: string;
5697
+ payload: Record<string, unknown>;
5698
+ result?: Record<string, unknown> | undefined;
3879
5699
  })[] | undefined;
3880
5700
  waitRegistrations?: {
3881
5701
  operationId: string;
@@ -3900,8 +5720,10 @@ export declare const RUN_EXITS: {
3900
5720
  timeoutSeconds: number;
3901
5721
  until: "checks" | "merge" | "merge_or_blocked";
3902
5722
  wakeOnConflict: boolean;
5723
+ checks?: "all" | "required" | undefined;
5724
+ callerHead?: true | undefined;
3903
5725
  result?: {
3904
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
5726
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
3905
5727
  headSha: string;
3906
5728
  observedHeadSha?: string | undefined;
3907
5729
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -3963,6 +5785,7 @@ export declare const RUN_EXITS: {
3963
5785
  description?: string | undefined;
3964
5786
  }[] | undefined;
3965
5787
  multiSelect?: boolean | undefined;
5788
+ allowFreeText?: boolean | undefined;
3966
5789
  }[] | undefined;
3967
5790
  context?: string | undefined;
3968
5791
  askSeq?: number | undefined;
@@ -4070,6 +5893,22 @@ export declare const RUN_EXITS: {
4070
5893
  result?: {
4071
5894
  reason: "interrupted" | "settled" | "superseded" | "timeout";
4072
5895
  } | undefined;
5896
+ } | {
5897
+ id: string;
5898
+ source: "agent" | "cezar";
5899
+ registeredAt: string;
5900
+ phase: "cancelled" | "delivered" | "open" | "resolved";
5901
+ resolvedAt?: string | undefined;
5902
+ deliveredAt?: string | undefined;
5903
+ cancelledAt?: string | undefined;
5904
+ turnId: string;
5905
+ via: string;
5906
+ kind: "plugin";
5907
+ pluginKind: string;
5908
+ deadline?: string | undefined;
5909
+ summary: string;
5910
+ payload: Record<string, unknown>;
5911
+ result?: Record<string, unknown> | undefined;
4073
5912
  };
4074
5913
  deduplicated: boolean;
4075
5914
  }[] | undefined;
@@ -4093,8 +5932,10 @@ export declare const RUN_EXITS: {
4093
5932
  timeoutSeconds: number;
4094
5933
  until: "checks" | "merge" | "merge_or_blocked";
4095
5934
  wakeOnConflict: boolean;
5935
+ checks?: "all" | "required" | undefined;
5936
+ callerHead?: true | undefined;
4096
5937
  result?: {
4097
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
5938
+ outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
4098
5939
  headSha: string;
4099
5940
  observedHeadSha?: string | undefined;
4100
5941
  mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
@@ -4156,6 +5997,7 @@ export declare const RUN_EXITS: {
4156
5997
  description?: string | undefined;
4157
5998
  }[] | undefined;
4158
5999
  multiSelect?: boolean | undefined;
6000
+ allowFreeText?: boolean | undefined;
4159
6001
  }[] | undefined;
4160
6002
  context?: string | undefined;
4161
6003
  askSeq?: number | undefined;
@@ -4263,6 +6105,22 @@ export declare const RUN_EXITS: {
4263
6105
  result?: {
4264
6106
  reason: "interrupted" | "settled" | "superseded" | "timeout";
4265
6107
  } | undefined;
6108
+ } | {
6109
+ id: string;
6110
+ source: "agent" | "cezar";
6111
+ registeredAt: string;
6112
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6113
+ resolvedAt?: string | undefined;
6114
+ deliveredAt?: string | undefined;
6115
+ cancelledAt?: string | undefined;
6116
+ turnId: string;
6117
+ via: string;
6118
+ kind: "plugin";
6119
+ pluginKind: string;
6120
+ deadline?: string | undefined;
6121
+ summary: string;
6122
+ payload: Record<string, unknown>;
6123
+ result?: Record<string, unknown> | undefined;
4266
6124
  })[] | undefined;
4267
6125
  lastWaitsError?: string | undefined;
4268
6126
  automaticWakes?: number | undefined;
@@ -4280,7 +6138,8 @@ export declare const RUN_EXITS: {
4280
6138
  model?: string | undefined;
4281
6139
  effort?: string | undefined;
4282
6140
  modelIdentity?: string | undefined;
4283
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6141
+ runner?: string | undefined;
6142
+ removedRunner?: string | undefined;
4284
6143
  agentProfile?: string | undefined;
4285
6144
  systemPrompt?: string | undefined;
4286
6145
  generateFollowups?: boolean | undefined;
@@ -4324,6 +6183,8 @@ export declare const RUN_EXITS: {
4324
6183
  hasPendingPermission?: boolean | undefined;
4325
6184
  autoResumeAt?: string | undefined;
4326
6185
  autoResumeAttempts?: number | undefined;
6186
+ autoResumeReason?: "provider-error" | "usage-limit" | undefined;
6187
+ parkReason?: "closing-wakes" | "hold" | "turn" | undefined;
4327
6188
  createdAt: string;
4328
6189
  startedAt?: string | undefined;
4329
6190
  finishedAt?: string | undefined;
@@ -4389,7 +6250,8 @@ export declare const RUN_EXITS: {
4389
6250
  steps: {
4390
6251
  id: string;
4391
6252
  name: string;
4392
- kind: "agent" | "check";
6253
+ kind: "agent" | "check" | "plugin";
6254
+ pluginKind?: string | undefined;
4393
6255
  status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
4394
6256
  iterations: number;
4395
6257
  retriesUsed?: number | undefined;
@@ -4405,11 +6267,13 @@ export declare const RUN_EXITS: {
4405
6267
  finishedAt?: string | undefined;
4406
6268
  error?: string | undefined;
4407
6269
  sessionId?: string | undefined;
4408
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
4409
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6270
+ backend?: string | undefined;
6271
+ removedBackend?: string | undefined;
4410
6272
  profileId?: string | undefined;
6273
+ skillPath?: string | undefined;
4411
6274
  costUsd?: number | undefined;
4412
6275
  synthetic?: "continuation" | undefined;
6276
+ continuesStepId?: string | undefined;
4413
6277
  }[];
4414
6278
  workflowDef?: {
4415
6279
  name: string;
@@ -4422,10 +6286,13 @@ export declare const RUN_EXITS: {
4422
6286
  model?: string | undefined;
4423
6287
  effort?: string | undefined;
4424
6288
  timeoutMs?: number | undefined;
4425
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6289
+ runner?: string | undefined;
4426
6290
  agentProfile?: string | undefined;
4427
6291
  allowedTools?: string[] | undefined;
4428
6292
  bashAllowlist?: string[] | undefined;
6293
+ kind?: "plugin" | undefined;
6294
+ pluginKind?: string | undefined;
6295
+ config?: Record<string, unknown> | undefined;
4429
6296
  command?: string | undefined;
4430
6297
  onFail?: {
4431
6298
  retry: string;