@wjarka/cezarion 0.17.0-dev.5680 → 0.17.0-dev.5734

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 (1903) hide show
  1. package/bin.js +2 -0
  2. package/cez.js +2 -0
  3. package/cezarion.js +2 -0
  4. package/dist/cez.js +1 -2
  5. package/dist/cezarion.js +1 -2
  6. package/dist/hsq.js +1 -2
  7. package/dist/index.js +1 -121
  8. package/dist/server/app-type.d.ts +1 -6
  9. package/dist/server/app-type.js +1 -2
  10. package/hsq.js +2 -0
  11. package/package.json +18 -64
  12. package/web/dist/assets/{activity-motion-CtVYvdRc.js → activity-motion-hhx0e841.js} +1 -1
  13. package/web/dist/assets/{activity-route-BEZr6b9Y.js → activity-route-De0BnSrc.js} +1 -1
  14. package/web/dist/assets/{agent-accounts-Ce9Q2wTj.js → agent-accounts-BCg-578Q.js} +1 -1
  15. package/web/dist/assets/{alert-dialog-BJlarNJS.js → alert-dialog-Dj464rjk.js} +1 -1
  16. package/web/dist/assets/{button-DRCTAIzF.js → button-CHUAMTHK.js} +1 -1
  17. package/web/dist/assets/{centered-state-xPENgUmo.js → centered-state-DGyy0SuA.js} +1 -1
  18. package/web/dist/assets/{commit-diff-panel-B30oa25e.js → commit-diff-panel-DYtYc_dH.js} +1 -1
  19. package/web/dist/assets/{control-locations-Cv_zRDaS.js → control-locations-CA9TMupq.js} +1 -1
  20. package/web/dist/assets/{diff-controls-DGsiUDJ0.js → diff-controls-BR2uqhwG.js} +1 -1
  21. package/web/dist/assets/{diff-CpkTjlLm.js → diff-tVGVhYyc.js} +2 -2
  22. package/web/dist/assets/{diff-view-Bf7YEIF1.js → diff-view-CNM3u77o.js} +1 -1
  23. package/web/dist/assets/{dropdown-menu-C2_BT6YH.js → dropdown-menu-DhrBcVgr.js} +1 -1
  24. package/web/dist/assets/{es2015-Ba_E31c-.js → es2015-D345RR4o.js} +1 -1
  25. package/web/dist/assets/{file-preview-Bdw0qHJB.js → file-preview-C1eTdJLJ.js} +1 -1
  26. package/web/dist/assets/{git-toolbar-DJi8-Bfp.js → git-toolbar-Dwz8p8GW.js} +1 -1
  27. package/web/dist/assets/{github-DPa3UFus.js → github-BSezqH6f.js} +1 -1
  28. package/web/dist/assets/{github-sidebar-model-DcgyXEtm.js → github-sidebar-model-Ct0DltOv.js} +1 -1
  29. package/web/dist/assets/{global-activity-route-CijiH9Gc.js → global-activity-route-BZiYz-B0.js} +1 -1
  30. package/web/dist/assets/{image-preview-Dawt8eiK.js → image-preview-Cq1vDiEo.js} +1 -1
  31. package/web/dist/assets/{index-BDNQ4NIe.js → index-D489J7QW.js} +5 -5
  32. package/web/dist/assets/{live-refetch-XCxoSAGq.js → live-refetch-C0kQc3-z.js} +1 -1
  33. package/web/dist/assets/{markdown-BiGKaTG5.js → markdown-D7DUNWcJ.js} +1 -1
  34. package/web/dist/assets/{nav-row-styles-rWMZ9e0U.js → nav-row-styles-BZUUavOF.js} +1 -1
  35. package/web/dist/assets/{popover-CiVpqps-.js → popover-DRcRI46x.js} +1 -1
  36. package/web/dist/assets/{preview-pane-connected-DJ3e7KtI.js → preview-pane-connected-DGkEs_L3.js} +1 -1
  37. package/web/dist/assets/{project-router-DudcMzJa.js → project-router-1m_VlC22.js} +1 -1
  38. package/web/dist/assets/{project-scope-context-DDZVS0W-.js → project-scope-context-CaUqlAd7.js} +1 -1
  39. package/web/dist/assets/{queries-C6in05vw.js → queries-DYfIpJ-d.js} +1 -1
  40. package/web/dist/assets/{repo-git-DwFyXJVP.js → repo-git-CU1S5P-y.js} +1 -1
  41. package/web/dist/assets/{report-reader-DiG_FZRc.js → report-reader-DlZol2Ux.js} +1 -1
  42. package/web/dist/assets/{reports-CDhnbSD0.js → reports-DIGGjk7C.js} +1 -1
  43. package/web/dist/assets/{run-header-DGWkKFX-.js → run-header-DPjiPKRe.js} +1 -1
  44. package/web/dist/assets/{skills-BvfGIWap.js → skills-BMwanop_.js} +1 -1
  45. package/web/dist/assets/{tab-link-ACcEPANz.js → tab-link-DCUifQ46.js} +1 -1
  46. package/web/dist/assets/{task-changes-Duy_yoTa.js → task-changes-BZXWvQN3.js} +1 -1
  47. package/web/dist/assets/{task-commits-DsZjecLb.js → task-commits-ByI9MSfc.js} +1 -1
  48. package/web/dist/assets/{task-files-WSwRMISh.js → task-files-LJbenpiH.js} +1 -1
  49. package/web/dist/assets/{task-github-item-B89c4yDz.js → task-github-item-B0CU9lGR.js} +1 -1
  50. package/web/dist/assets/{task-thread-BMa8FQJC.js → task-thread-CXCN__1a.js} +1 -1
  51. package/web/dist/assets/{textarea-ffrAeHUi.js → textarea-DlVUfdWG.js} +1 -1
  52. package/web/dist/assets/{thread-state-D_1f2_nG.js → thread-state-BLaCzqeX.js} +1 -1
  53. package/web/dist/assets/{toaster-Dk0xOpec.js → toaster-B1MyeHiE.js} +1 -1
  54. package/web/dist/assets/{use-hand-to-agent-state-eVuuwFpt.js → use-hand-to-agent-state-BkmKad8x.js} +1 -1
  55. package/web/dist/assets/{useInfiniteQuery-DpLjNcbu.js → useInfiniteQuery-qEY8OhKb.js} +1 -1
  56. package/web/dist/assets/useQuery-DOJQOEBO.js +1 -0
  57. package/web/dist/assets/{workflows-iby-hm0Z.js → workflows-Dbxb-d-6.js} +1 -1
  58. package/web/dist/assets/{ws-DKkrIJ6v.js → ws-DvGmrP4z.js} +1 -1
  59. package/web/dist/assets/{zoomable-image-DJmOaz4D.js → zoomable-image-5pOUaPEg.js} +1 -1
  60. package/web/dist/index.html +22 -22
  61. package/LICENSE +0 -22
  62. package/README.md +0 -1832
  63. package/dist/activity/demand.d.ts +0 -21
  64. package/dist/activity/demand.js +0 -49
  65. package/dist/activity/demand.js.map +0 -1
  66. package/dist/activity/publisher.d.ts +0 -48
  67. package/dist/activity/publisher.js +0 -175
  68. package/dist/activity/publisher.js.map +0 -1
  69. package/dist/activity/read-model.d.ts +0 -50
  70. package/dist/activity/read-model.js +0 -142
  71. package/dist/activity/read-model.js.map +0 -1
  72. package/dist/activity/requests.d.ts +0 -27
  73. package/dist/activity/requests.js +0 -81
  74. package/dist/activity/requests.js.map +0 -1
  75. package/dist/activity/text.d.ts +0 -4
  76. package/dist/activity/text.js +0 -13
  77. package/dist/activity/text.js.map +0 -1
  78. package/dist/activity/tool-activity.d.ts +0 -87
  79. package/dist/activity/tool-activity.js +0 -250
  80. package/dist/activity/tool-activity.js.map +0 -1
  81. package/dist/activity/wait.d.ts +0 -19
  82. package/dist/activity/wait.js +0 -91
  83. package/dist/activity/wait.js.map +0 -1
  84. package/dist/agent-config/account-identity.d.ts +0 -28
  85. package/dist/agent-config/account-identity.js +0 -132
  86. package/dist/agent-config/account-identity.js.map +0 -1
  87. package/dist/agent-config/catalog.d.ts +0 -70
  88. package/dist/agent-config/catalog.js +0 -384
  89. package/dist/agent-config/catalog.js.map +0 -1
  90. package/dist/agent-config/files.d.ts +0 -42
  91. package/dist/agent-config/files.js +0 -115
  92. package/dist/agent-config/files.js.map +0 -1
  93. package/dist/agent-config/model-settings/claude.d.ts +0 -2
  94. package/dist/agent-config/model-settings/claude.js +0 -11
  95. package/dist/agent-config/model-settings/claude.js.map +0 -1
  96. package/dist/agent-config/model-settings/codex.d.ts +0 -2
  97. package/dist/agent-config/model-settings/codex.js +0 -16
  98. package/dist/agent-config/model-settings/codex.js.map +0 -1
  99. package/dist/agent-config/model-settings/opencode.d.ts +0 -2
  100. package/dist/agent-config/model-settings/opencode.js +0 -8
  101. package/dist/agent-config/model-settings/opencode.js.map +0 -1
  102. package/dist/agent-config/model-settings/pi.d.ts +0 -2
  103. package/dist/agent-config/model-settings/pi.js +0 -38
  104. package/dist/agent-config/model-settings/pi.js.map +0 -1
  105. package/dist/agent-config/model-settings/shared.d.ts +0 -12
  106. package/dist/agent-config/model-settings/shared.js +0 -100
  107. package/dist/agent-config/model-settings/shared.js.map +0 -1
  108. package/dist/agent-config/model-settings/types.d.ts +0 -9
  109. package/dist/agent-config/model-settings/types.js +0 -2
  110. package/dist/agent-config/model-settings/types.js.map +0 -1
  111. package/dist/agent-config/models.d.ts +0 -9
  112. package/dist/agent-config/models.js +0 -40
  113. package/dist/agent-config/models.js.map +0 -1
  114. package/dist/agent-config/seed.d.ts +0 -15
  115. package/dist/agent-config/seed.js +0 -94
  116. package/dist/agent-config/seed.js.map +0 -1
  117. package/dist/agent-config/service.d.ts +0 -44
  118. package/dist/agent-config/service.js +0 -73
  119. package/dist/agent-config/service.js.map +0 -1
  120. package/dist/agent-config/validate.d.ts +0 -18
  121. package/dist/agent-config/validate.js +0 -82
  122. package/dist/agent-config/validate.js.map +0 -1
  123. package/dist/application-update/bin-recovery.d.ts +0 -5
  124. package/dist/application-update/bin-recovery.js +0 -96
  125. package/dist/application-update/bin-recovery.js.map +0 -1
  126. package/dist/application-update/discovery.d.ts +0 -23
  127. package/dist/application-update/discovery.js +0 -131
  128. package/dist/application-update/discovery.js.map +0 -1
  129. package/dist/application-update/helper.d.ts +0 -58
  130. package/dist/application-update/helper.js +0 -363
  131. package/dist/application-update/helper.js.map +0 -1
  132. package/dist/application-update/launcher.d.ts +0 -12
  133. package/dist/application-update/launcher.js +0 -61
  134. package/dist/application-update/launcher.js.map +0 -1
  135. package/dist/application-update/lock.d.ts +0 -4
  136. package/dist/application-update/lock.js +0 -70
  137. package/dist/application-update/lock.js.map +0 -1
  138. package/dist/application-update/npm-process.d.ts +0 -17
  139. package/dist/application-update/npm-process.js +0 -156
  140. package/dist/application-update/npm-process.js.map +0 -1
  141. package/dist/application-update/runtime-layout.d.ts +0 -20
  142. package/dist/application-update/runtime-layout.js +0 -91
  143. package/dist/application-update/runtime-layout.js.map +0 -1
  144. package/dist/application-update/scoped-recovery.d.ts +0 -32
  145. package/dist/application-update/scoped-recovery.js +0 -210
  146. package/dist/application-update/scoped-recovery.js.map +0 -1
  147. package/dist/application-update/service.d.ts +0 -86
  148. package/dist/application-update/service.js +0 -523
  149. package/dist/application-update/service.js.map +0 -1
  150. package/dist/archive-on-merge-setting.d.ts +0 -15
  151. package/dist/archive-on-merge-setting.js +0 -15
  152. package/dist/archive-on-merge-setting.js.map +0 -1
  153. package/dist/artifacts/cli.d.ts +0 -1
  154. package/dist/artifacts/cli.js +0 -54
  155. package/dist/artifacts/cli.js.map +0 -1
  156. package/dist/artifacts/lifecycle.d.ts +0 -4
  157. package/dist/artifacts/lifecycle.js +0 -42
  158. package/dist/artifacts/lifecycle.js.map +0 -1
  159. package/dist/artifacts/reports-index.d.ts +0 -46
  160. package/dist/artifacts/reports-index.js +0 -278
  161. package/dist/artifacts/reports-index.js.map +0 -1
  162. package/dist/artifacts/reports-watch.d.ts +0 -43
  163. package/dist/artifacts/reports-watch.js +0 -128
  164. package/dist/artifacts/reports-watch.js.map +0 -1
  165. package/dist/artifacts/resolve.d.ts +0 -18
  166. package/dist/artifacts/resolve.js +0 -128
  167. package/dist/artifacts/resolve.js.map +0 -1
  168. package/dist/artifacts/store.d.ts +0 -40
  169. package/dist/artifacts/store.js +0 -513
  170. package/dist/artifacts/store.js.map +0 -1
  171. package/dist/automations/automation-cli.d.ts +0 -61
  172. package/dist/automations/automation-cli.js +0 -519
  173. package/dist/automations/automation-cli.js.map +0 -1
  174. package/dist/automations/builtin-skill.d.ts +0 -7
  175. package/dist/automations/builtin-skill.js +0 -14
  176. package/dist/automations/builtin-skill.js.map +0 -1
  177. package/dist/automations/coordinator.d.ts +0 -53
  178. package/dist/automations/coordinator.js +0 -135
  179. package/dist/automations/coordinator.js.map +0 -1
  180. package/dist/automations/github-baseline.d.ts +0 -3
  181. package/dist/automations/github-baseline.js +0 -17
  182. package/dist/automations/github-baseline.js.map +0 -1
  183. package/dist/automations/github-poller.d.ts +0 -93
  184. package/dist/automations/github-poller.js +0 -303
  185. package/dist/automations/github-poller.js.map +0 -1
  186. package/dist/automations/project-files.d.ts +0 -6
  187. package/dist/automations/project-files.js +0 -43
  188. package/dist/automations/project-files.js.map +0 -1
  189. package/dist/automations/prompts.d.ts +0 -12
  190. package/dist/automations/prompts.js +0 -162
  191. package/dist/automations/prompts.js.map +0 -1
  192. package/dist/automations/schedule-runner.d.ts +0 -153
  193. package/dist/automations/schedule-runner.js +0 -529
  194. package/dist/automations/schedule-runner.js.map +0 -1
  195. package/dist/automations/scheduler.d.ts +0 -95
  196. package/dist/automations/scheduler.js +0 -462
  197. package/dist/automations/scheduler.js.map +0 -1
  198. package/dist/automations/service.d.ts +0 -793
  199. package/dist/automations/service.js +0 -444
  200. package/dist/automations/service.js.map +0 -1
  201. package/dist/automations/store.d.ts +0 -168
  202. package/dist/automations/store.js +0 -805
  203. package/dist/automations/store.js.map +0 -1
  204. package/dist/automations/task-template.d.ts +0 -59
  205. package/dist/automations/task-template.js +0 -285
  206. package/dist/automations/task-template.js.map +0 -1
  207. package/dist/automations/tool-adapter.d.ts +0 -6
  208. package/dist/automations/tool-adapter.js +0 -115
  209. package/dist/automations/tool-adapter.js.map +0 -1
  210. package/dist/automations/types.d.ts +0 -1
  211. package/dist/automations/types.js +0 -2
  212. package/dist/automations/types.js.map +0 -1
  213. package/dist/autosave-cleanup.d.ts +0 -26
  214. package/dist/autosave-cleanup.js +0 -87
  215. package/dist/autosave-cleanup.js.map +0 -1
  216. package/dist/autosave-git.d.ts +0 -23
  217. package/dist/autosave-git.js +0 -210
  218. package/dist/autosave-git.js.map +0 -1
  219. package/dist/autosave-group.d.ts +0 -8
  220. package/dist/autosave-group.js +0 -61
  221. package/dist/autosave-group.js.map +0 -1
  222. package/dist/autosave-holders.d.ts +0 -34
  223. package/dist/autosave-holders.js +0 -228
  224. package/dist/autosave-holders.js.map +0 -1
  225. package/dist/autosave-windows.d.ts +0 -25
  226. package/dist/autosave-windows.js +0 -169
  227. package/dist/autosave-windows.js.map +0 -1
  228. package/dist/cez.d.ts +0 -2
  229. package/dist/cez.js.map +0 -1
  230. package/dist/cezarion.d.ts +0 -2
  231. package/dist/cezarion.js.map +0 -1
  232. package/dist/ci-wait/client.d.ts +0 -28
  233. package/dist/ci-wait/client.js +0 -123
  234. package/dist/ci-wait/client.js.map +0 -1
  235. package/dist/ci-wait/controller.d.ts +0 -824
  236. package/dist/ci-wait/controller.js +0 -305
  237. package/dist/ci-wait/controller.js.map +0 -1
  238. package/dist/ci-wait/errors.d.ts +0 -35
  239. package/dist/ci-wait/errors.js +0 -273
  240. package/dist/ci-wait/errors.js.map +0 -1
  241. package/dist/ci-wait/github.d.ts +0 -105
  242. package/dist/ci-wait/github.js +0 -324
  243. package/dist/ci-wait/github.js.map +0 -1
  244. package/dist/ci-wait/injection.d.ts +0 -3
  245. package/dist/ci-wait/injection.js +0 -13
  246. package/dist/ci-wait/injection.js.map +0 -1
  247. package/dist/ci-wait/mcp.d.ts +0 -3
  248. package/dist/ci-wait/mcp.js +0 -30
  249. package/dist/ci-wait/mcp.js.map +0 -1
  250. package/dist/ci-wait/merge-progress.d.ts +0 -84
  251. package/dist/ci-wait/merge-progress.js +0 -50
  252. package/dist/ci-wait/merge-progress.js.map +0 -1
  253. package/dist/ci-wait/progress.d.ts +0 -56
  254. package/dist/ci-wait/progress.js +0 -100
  255. package/dist/ci-wait/progress.js.map +0 -1
  256. package/dist/ci-wait/resources.d.ts +0 -9
  257. package/dist/ci-wait/resources.js +0 -45
  258. package/dist/ci-wait/resources.js.map +0 -1
  259. package/dist/ci-wait/supervisor.d.ts +0 -47
  260. package/dist/ci-wait/supervisor.js +0 -334
  261. package/dist/ci-wait/supervisor.js.map +0 -1
  262. package/dist/ci-wait/text.d.ts +0 -2
  263. package/dist/ci-wait/text.js +0 -5
  264. package/dist/ci-wait/text.js.map +0 -1
  265. package/dist/ci-wait/tools.d.ts +0 -845
  266. package/dist/ci-wait/tools.js +0 -232
  267. package/dist/ci-wait/tools.js.map +0 -1
  268. package/dist/cli-dispatch.d.ts +0 -33
  269. package/dist/cli-dispatch.js +0 -235
  270. package/dist/cli-dispatch.js.map +0 -1
  271. package/dist/config.d.ts +0 -117
  272. package/dist/config.js +0 -341
  273. package/dist/config.js.map +0 -1
  274. package/dist/contract/active-provider.d.ts +0 -12
  275. package/dist/contract/activity.d.ts +0 -1478
  276. package/dist/contract/agent-config.d.ts +0 -160
  277. package/dist/contract/agent-profiles.d.ts +0 -369
  278. package/dist/contract/application-update.d.ts +0 -32
  279. package/dist/contract/artifacts.d.ts +0 -100
  280. package/dist/contract/ask-schema.d.ts +0 -50
  281. package/dist/contract/ask.d.ts +0 -11
  282. package/dist/contract/attachments.d.ts +0 -35
  283. package/dist/contract/attention.d.ts +0 -99
  284. package/dist/contract/automation-requests.d.ts +0 -314
  285. package/dist/contract/automation-schedule.d.ts +0 -89
  286. package/dist/contract/automation-storage.d.ts +0 -518
  287. package/dist/contract/automations.d.ts +0 -1560
  288. package/dist/contract/ci-wait.d.ts +0 -281
  289. package/dist/contract/config-requests.d.ts +0 -36
  290. package/dist/contract/control-locations.d.ts +0 -10
  291. package/dist/contract/conversations.d.ts +0 -415
  292. package/dist/contract/defined.d.ts +0 -8
  293. package/dist/contract/delegation.d.ts +0 -2168
  294. package/dist/contract/discovery.d.ts +0 -228
  295. package/dist/contract/effort.d.ts +0 -18
  296. package/dist/contract/events.d.ts +0 -324
  297. package/dist/contract/github-requests.d.ts +0 -26
  298. package/dist/contract/github.d.ts +0 -732
  299. package/dist/contract/handoff.d.ts +0 -43
  300. package/dist/contract/health.d.ts +0 -128
  301. package/dist/contract/home-recovery.d.ts +0 -71
  302. package/dist/contract/image-path.d.ts +0 -6
  303. package/dist/contract/index.d.ts +0 -68
  304. package/dist/contract/index.js +0 -6709
  305. package/dist/contract/live-coordination.d.ts +0 -164
  306. package/dist/contract/live-limits.d.ts +0 -8
  307. package/dist/contract/live.d.ts +0 -123
  308. package/dist/contract/pending-ask.d.ts +0 -58
  309. package/dist/contract/per-runner-optional-strings.d.ts +0 -10
  310. package/dist/contract/permissions.d.ts +0 -54
  311. package/dist/contract/preview.d.ts +0 -568
  312. package/dist/contract/project-limits.d.ts +0 -35
  313. package/dist/contract/projects.d.ts +0 -716
  314. package/dist/contract/provider-requests.d.ts +0 -77
  315. package/dist/contract/query-requests.d.ts +0 -52
  316. package/dist/contract/repo-requests.d.ts +0 -12
  317. package/dist/contract/repo.d.ts +0 -515
  318. package/dist/contract/report-title.d.ts +0 -3
  319. package/dist/contract/reports.d.ts +0 -101
  320. package/dist/contract/run-labels.d.ts +0 -8
  321. package/dist/contract/run-limits.d.ts +0 -8
  322. package/dist/contract/run-predicates.d.ts +0 -87
  323. package/dist/contract/run-requests.d.ts +0 -33
  324. package/dist/contract/run-search.d.ts +0 -193
  325. package/dist/contract/runs.d.ts +0 -7108
  326. package/dist/contract/scheduled-tasks.d.ts +0 -188
  327. package/dist/contract/self-update.d.ts +0 -255
  328. package/dist/contract/skill-sources.d.ts +0 -125
  329. package/dist/contract/skills.d.ts +0 -56
  330. package/dist/contract/task-options.d.ts +0 -18
  331. package/dist/contract/team-skill-ref.d.ts +0 -10
  332. package/dist/contract/tool-display.d.ts +0 -25
  333. package/dist/contract/ui-state-requests.d.ts +0 -60
  334. package/dist/contract/version.d.ts +0 -3
  335. package/dist/contract/voice.d.ts +0 -213
  336. package/dist/contract/waits.d.ts +0 -1996
  337. package/dist/contract/workflow-file.d.ts +0 -37
  338. package/dist/contract/workflow-requests.d.ts +0 -7
  339. package/dist/contract/workflows.d.ts +0 -250
  340. package/dist/contract/workspace-events.d.ts +0 -410
  341. package/dist/contract/workspace.d.ts +0 -631
  342. package/dist/contract/zoned-time.d.ts +0 -26
  343. package/dist/core/agent-env.d.ts +0 -34
  344. package/dist/core/agent-env.js +0 -411
  345. package/dist/core/agent-env.js.map +0 -1
  346. package/dist/core/agent-model-policy.d.ts +0 -11
  347. package/dist/core/agent-model-policy.js +0 -38
  348. package/dist/core/agent-model-policy.js.map +0 -1
  349. package/dist/core/agent-profiles.d.ts +0 -50
  350. package/dist/core/agent-profiles.js +0 -105
  351. package/dist/core/agent-profiles.js.map +0 -1
  352. package/dist/core/agent-runner.d.ts +0 -425
  353. package/dist/core/agent-runner.js +0 -98
  354. package/dist/core/agent-runner.js.map +0 -1
  355. package/dist/core/ask.d.ts +0 -26
  356. package/dist/core/ask.js +0 -35
  357. package/dist/core/ask.js.map +0 -1
  358. package/dist/core/backend-detect.d.ts +0 -18
  359. package/dist/core/backend-detect.js +0 -216
  360. package/dist/core/backend-detect.js.map +0 -1
  361. package/dist/core/claude-cli-runner.d.ts +0 -85
  362. package/dist/core/claude-cli-runner.js +0 -899
  363. package/dist/core/claude-cli-runner.js.map +0 -1
  364. package/dist/core/claude-executable.d.ts +0 -2
  365. package/dist/core/claude-executable.js +0 -15
  366. package/dist/core/claude-executable.js.map +0 -1
  367. package/dist/core/claude-model-catalog.d.ts +0 -16
  368. package/dist/core/claude-model-catalog.js +0 -198
  369. package/dist/core/claude-model-catalog.js.map +0 -1
  370. package/dist/core/claude-stream.d.ts +0 -38
  371. package/dist/core/claude-stream.js +0 -77
  372. package/dist/core/claude-stream.js.map +0 -1
  373. package/dist/core/claude-ui-mapper.d.ts +0 -88
  374. package/dist/core/claude-ui-mapper.js +0 -851
  375. package/dist/core/claude-ui-mapper.js.map +0 -1
  376. package/dist/core/codex-app-server-runner.d.ts +0 -76
  377. package/dist/core/codex-app-server-runner.js +0 -1271
  378. package/dist/core/codex-app-server-runner.js.map +0 -1
  379. package/dist/core/codex-app-server-transport.d.ts +0 -52
  380. package/dist/core/codex-app-server-transport.js +0 -200
  381. package/dist/core/codex-app-server-transport.js.map +0 -1
  382. package/dist/core/codex-approvals.d.ts +0 -12
  383. package/dist/core/codex-approvals.js +0 -180
  384. package/dist/core/codex-approvals.js.map +0 -1
  385. package/dist/core/codex-hook-mapper.d.ts +0 -15
  386. package/dist/core/codex-hook-mapper.js +0 -73
  387. package/dist/core/codex-hook-mapper.js.map +0 -1
  388. package/dist/core/codex-model-catalog.d.ts +0 -10
  389. package/dist/core/codex-model-catalog.js +0 -110
  390. package/dist/core/codex-model-catalog.js.map +0 -1
  391. package/dist/core/codex-native-frames.d.ts +0 -35
  392. package/dist/core/codex-native-frames.js +0 -80
  393. package/dist/core/codex-native-frames.js.map +0 -1
  394. package/dist/core/codex-permissions.d.ts +0 -6
  395. package/dist/core/codex-permissions.js +0 -27
  396. package/dist/core/codex-permissions.js.map +0 -1
  397. package/dist/core/codex-stream-error.d.ts +0 -2
  398. package/dist/core/codex-stream-error.js +0 -12
  399. package/dist/core/codex-stream-error.js.map +0 -1
  400. package/dist/core/codex-turn-outcome.d.ts +0 -10
  401. package/dist/core/codex-turn-outcome.js +0 -35
  402. package/dist/core/codex-turn-outcome.js.map +0 -1
  403. package/dist/core/codex-ui-mapper-state.d.ts +0 -84
  404. package/dist/core/codex-ui-mapper-state.js +0 -8
  405. package/dist/core/codex-ui-mapper-state.js.map +0 -1
  406. package/dist/core/codex-ui-mapper.d.ts +0 -44
  407. package/dist/core/codex-ui-mapper.js +0 -799
  408. package/dist/core/codex-ui-mapper.js.map +0 -1
  409. package/dist/core/cursor-cli-flags.d.ts +0 -19
  410. package/dist/core/cursor-cli-flags.js +0 -47
  411. package/dist/core/cursor-cli-flags.js.map +0 -1
  412. package/dist/core/cursor-config-options.d.ts +0 -18
  413. package/dist/core/cursor-config-options.js +0 -31
  414. package/dist/core/cursor-config-options.js.map +0 -1
  415. package/dist/core/cursor-model-catalog.d.ts +0 -50
  416. package/dist/core/cursor-model-catalog.js +0 -306
  417. package/dist/core/cursor-model-catalog.js.map +0 -1
  418. package/dist/core/cursor-print-capabilities.d.ts +0 -14
  419. package/dist/core/cursor-print-capabilities.js +0 -169
  420. package/dist/core/cursor-print-capabilities.js.map +0 -1
  421. package/dist/core/cursor-print-process.d.ts +0 -31
  422. package/dist/core/cursor-print-process.js +0 -117
  423. package/dist/core/cursor-print-process.js.map +0 -1
  424. package/dist/core/cursor-print-runner.d.ts +0 -43
  425. package/dist/core/cursor-print-runner.js +0 -574
  426. package/dist/core/cursor-print-runner.js.map +0 -1
  427. package/dist/core/cursor-print-tool-catalog.d.ts +0 -3
  428. package/dist/core/cursor-print-tool-catalog.js +0 -13
  429. package/dist/core/cursor-print-tool-catalog.js.map +0 -1
  430. package/dist/core/cursor-print-ui-mapper.d.ts +0 -47
  431. package/dist/core/cursor-print-ui-mapper.js +0 -574
  432. package/dist/core/cursor-print-ui-mapper.js.map +0 -1
  433. package/dist/core/cursor-provider-error.d.ts +0 -9
  434. package/dist/core/cursor-provider-error.js +0 -15
  435. package/dist/core/cursor-provider-error.js.map +0 -1
  436. package/dist/core/cursor-runner.d.ts +0 -46
  437. package/dist/core/cursor-runner.js +0 -144
  438. package/dist/core/cursor-runner.js.map +0 -1
  439. package/dist/core/defined.d.ts +0 -1
  440. package/dist/core/defined.js +0 -2
  441. package/dist/core/defined.js.map +0 -1
  442. package/dist/core/disclaim-spawn.d.ts +0 -11
  443. package/dist/core/disclaim-spawn.js +0 -60
  444. package/dist/core/disclaim-spawn.js.map +0 -1
  445. package/dist/core/edit-write-key.d.ts +0 -2
  446. package/dist/core/edit-write-key.js +0 -6
  447. package/dist/core/edit-write-key.js.map +0 -1
  448. package/dist/core/hook-items.d.ts +0 -14
  449. package/dist/core/hook-items.js +0 -13
  450. package/dist/core/hook-items.js.map +0 -1
  451. package/dist/core/host-model-catalog.d.ts +0 -7
  452. package/dist/core/host-model-catalog.js +0 -21
  453. package/dist/core/host-model-catalog.js.map +0 -1
  454. package/dist/core/input-submissions.d.ts +0 -14
  455. package/dist/core/input-submissions.js +0 -26
  456. package/dist/core/input-submissions.js.map +0 -1
  457. package/dist/core/managed-session.d.ts +0 -6
  458. package/dist/core/managed-session.js +0 -116
  459. package/dist/core/managed-session.js.map +0 -1
  460. package/dist/core/model-discovery-options.d.ts +0 -8
  461. package/dist/core/model-discovery-options.js +0 -2
  462. package/dist/core/model-discovery-options.js.map +0 -1
  463. package/dist/core/model-identity.d.ts +0 -108
  464. package/dist/core/model-identity.js +0 -137
  465. package/dist/core/model-identity.js.map +0 -1
  466. package/dist/core/model-presets.d.ts +0 -10
  467. package/dist/core/model-presets.js +0 -77
  468. package/dist/core/model-presets.js.map +0 -1
  469. package/dist/core/model-probe-teardown.d.ts +0 -4
  470. package/dist/core/model-probe-teardown.js +0 -20
  471. package/dist/core/model-probe-teardown.js.map +0 -1
  472. package/dist/core/ndjson.d.ts +0 -6
  473. package/dist/core/ndjson.js +0 -23
  474. package/dist/core/ndjson.js.map +0 -1
  475. package/dist/core/omp-model-catalog.d.ts +0 -39
  476. package/dist/core/omp-model-catalog.js +0 -182
  477. package/dist/core/omp-model-catalog.js.map +0 -1
  478. package/dist/core/omp-runner.d.ts +0 -86
  479. package/dist/core/omp-runner.js +0 -818
  480. package/dist/core/omp-runner.js.map +0 -1
  481. package/dist/core/omp-subagent-rows.d.ts +0 -21
  482. package/dist/core/omp-subagent-rows.js +0 -99
  483. package/dist/core/omp-subagent-rows.js.map +0 -1
  484. package/dist/core/omp-ui-mapper.d.ts +0 -112
  485. package/dist/core/omp-ui-mapper.js +0 -807
  486. package/dist/core/omp-ui-mapper.js.map +0 -1
  487. package/dist/core/opencode-model-catalog.d.ts +0 -27
  488. package/dist/core/opencode-model-catalog.js +0 -189
  489. package/dist/core/opencode-model-catalog.js.map +0 -1
  490. package/dist/core/opencode-permissions.d.ts +0 -52
  491. package/dist/core/opencode-permissions.js +0 -101
  492. package/dist/core/opencode-permissions.js.map +0 -1
  493. package/dist/core/opencode-runtime-config.d.ts +0 -9
  494. package/dist/core/opencode-runtime-config.js +0 -26
  495. package/dist/core/opencode-runtime-config.js.map +0 -1
  496. package/dist/core/opencode-server-runner.d.ts +0 -75
  497. package/dist/core/opencode-server-runner.js +0 -1690
  498. package/dist/core/opencode-server-runner.js.map +0 -1
  499. package/dist/core/opencode-session-error.d.ts +0 -19
  500. package/dist/core/opencode-session-error.js +0 -42
  501. package/dist/core/opencode-session-error.js.map +0 -1
  502. package/dist/core/opencode-task-scope.d.ts +0 -9
  503. package/dist/core/opencode-task-scope.js +0 -19
  504. package/dist/core/opencode-task-scope.js.map +0 -1
  505. package/dist/core/opencode-ui-mapper-state.d.ts +0 -82
  506. package/dist/core/opencode-ui-mapper-state.js +0 -7
  507. package/dist/core/opencode-ui-mapper-state.js.map +0 -1
  508. package/dist/core/opencode-ui-mapper.d.ts +0 -59
  509. package/dist/core/opencode-ui-mapper.js +0 -724
  510. package/dist/core/opencode-ui-mapper.js.map +0 -1
  511. package/dist/core/opencode-usage.d.ts +0 -32
  512. package/dist/core/opencode-usage.js +0 -105
  513. package/dist/core/opencode-usage.js.map +0 -1
  514. package/dist/core/pi-model-catalog.d.ts +0 -34
  515. package/dist/core/pi-model-catalog.js +0 -247
  516. package/dist/core/pi-model-catalog.js.map +0 -1
  517. package/dist/core/pi-rpc-turn.d.ts +0 -179
  518. package/dist/core/pi-rpc-turn.js +0 -370
  519. package/dist/core/pi-rpc-turn.js.map +0 -1
  520. package/dist/core/pi-rpc-wire.d.ts +0 -31
  521. package/dist/core/pi-rpc-wire.js +0 -88
  522. package/dist/core/pi-rpc-wire.js.map +0 -1
  523. package/dist/core/pi-runner.d.ts +0 -58
  524. package/dist/core/pi-runner.js +0 -587
  525. package/dist/core/pi-runner.js.map +0 -1
  526. package/dist/core/pi-ui-mapper.d.ts +0 -52
  527. package/dist/core/pi-ui-mapper.js +0 -408
  528. package/dist/core/pi-ui-mapper.js.map +0 -1
  529. package/dist/core/process-usage.d.ts +0 -74
  530. package/dist/core/process-usage.js +0 -218
  531. package/dist/core/process-usage.js.map +0 -1
  532. package/dist/core/product-env.d.ts +0 -21
  533. package/dist/core/product-env.js +0 -38
  534. package/dist/core/product-env.js.map +0 -1
  535. package/dist/core/provider-auth.d.ts +0 -168
  536. package/dist/core/provider-auth.js +0 -661
  537. package/dist/core/provider-auth.js.map +0 -1
  538. package/dist/core/provider-availability.d.ts +0 -3
  539. package/dist/core/provider-availability.js +0 -14
  540. package/dist/core/provider-availability.js.map +0 -1
  541. package/dist/core/runner-factory.d.ts +0 -11
  542. package/dist/core/runner-factory.js +0 -36
  543. package/dist/core/runner-factory.js.map +0 -1
  544. package/dist/core/runner-facts.d.ts +0 -135
  545. package/dist/core/runner-facts.js +0 -59
  546. package/dist/core/runner-facts.js.map +0 -1
  547. package/dist/core/runner-model-catalog.d.ts +0 -34
  548. package/dist/core/runner-model-catalog.js +0 -109
  549. package/dist/core/runner-model-catalog.js.map +0 -1
  550. package/dist/core/runner-runtime.d.ts +0 -40
  551. package/dist/core/runner-runtime.js +0 -88
  552. package/dist/core/runner-runtime.js.map +0 -1
  553. package/dist/core/runner-stderr.d.ts +0 -2
  554. package/dist/core/runner-stderr.js +0 -20
  555. package/dist/core/runner-stderr.js.map +0 -1
  556. package/dist/core/runner-tool-grants.d.ts +0 -19
  557. package/dist/core/runner-tool-grants.js +0 -54
  558. package/dist/core/runner-tool-grants.js.map +0 -1
  559. package/dist/core/secret-redaction.d.ts +0 -20
  560. package/dist/core/secret-redaction.js +0 -95
  561. package/dist/core/secret-redaction.js.map +0 -1
  562. package/dist/core/session-process.d.ts +0 -43
  563. package/dist/core/session-process.js +0 -363
  564. package/dist/core/session-process.js.map +0 -1
  565. package/dist/core/shell-env.d.ts +0 -17
  566. package/dist/core/shell-env.js +0 -51
  567. package/dist/core/shell-env.js.map +0 -1
  568. package/dist/core/ui-events.d.ts +0 -356
  569. package/dist/core/ui-events.js +0 -13
  570. package/dist/core/ui-events.js.map +0 -1
  571. package/dist/core/usage-limit.d.ts +0 -42
  572. package/dist/core/usage-limit.js +0 -152
  573. package/dist/core/usage-limit.js.map +0 -1
  574. package/dist/core/usage.d.ts +0 -11
  575. package/dist/core/usage.js +0 -15
  576. package/dist/core/usage.js.map +0 -1
  577. package/dist/core/v1-text-coalescer.d.ts +0 -36
  578. package/dist/core/v1-text-coalescer.js +0 -72
  579. package/dist/core/v1-text-coalescer.js.map +0 -1
  580. package/dist/data-gitignore.d.ts +0 -6
  581. package/dist/data-gitignore.js +0 -80
  582. package/dist/data-gitignore.js.map +0 -1
  583. package/dist/delegation/capacity.d.ts +0 -15
  584. package/dist/delegation/capacity.js +0 -30
  585. package/dist/delegation/capacity.js.map +0 -1
  586. package/dist/delegation/cli.d.ts +0 -5
  587. package/dist/delegation/cli.js +0 -572
  588. package/dist/delegation/cli.js.map +0 -1
  589. package/dist/delegation/context.d.ts +0 -40
  590. package/dist/delegation/context.js +0 -398
  591. package/dist/delegation/context.js.map +0 -1
  592. package/dist/delegation/conversation-send.d.ts +0 -64
  593. package/dist/delegation/conversation-send.js +0 -73
  594. package/dist/delegation/conversation-send.js.map +0 -1
  595. package/dist/delegation/conversations.d.ts +0 -2186
  596. package/dist/delegation/conversations.js +0 -285
  597. package/dist/delegation/conversations.js.map +0 -1
  598. package/dist/delegation/credentials.d.ts +0 -21
  599. package/dist/delegation/credentials.js +0 -66
  600. package/dist/delegation/credentials.js.map +0 -1
  601. package/dist/delegation/destroy-observation.d.ts +0 -42
  602. package/dist/delegation/destroy-observation.js +0 -115
  603. package/dist/delegation/destroy-observation.js.map +0 -1
  604. package/dist/delegation/effort.d.ts +0 -1
  605. package/dist/delegation/effort.js +0 -11
  606. package/dist/delegation/effort.js.map +0 -1
  607. package/dist/delegation/execution-identity.d.ts +0 -257
  608. package/dist/delegation/execution-identity.js +0 -253
  609. package/dist/delegation/execution-identity.js.map +0 -1
  610. package/dist/delegation/execution-settings.d.ts +0 -11
  611. package/dist/delegation/execution-settings.js +0 -65
  612. package/dist/delegation/execution-settings.js.map +0 -1
  613. package/dist/delegation/idle-test-app.d.ts +0 -4
  614. package/dist/delegation/idle-test-app.js +0 -185
  615. package/dist/delegation/idle-test-app.js.map +0 -1
  616. package/dist/delegation/input.d.ts +0 -12
  617. package/dist/delegation/input.js +0 -50
  618. package/dist/delegation/input.js.map +0 -1
  619. package/dist/delegation/park-notice.d.ts +0 -45
  620. package/dist/delegation/park-notice.js +0 -80
  621. package/dist/delegation/park-notice.js.map +0 -1
  622. package/dist/delegation/policy.d.ts +0 -27
  623. package/dist/delegation/policy.js +0 -110
  624. package/dist/delegation/policy.js.map +0 -1
  625. package/dist/delegation/process-liveness.d.ts +0 -98
  626. package/dist/delegation/process-liveness.js +0 -213
  627. package/dist/delegation/process-liveness.js.map +0 -1
  628. package/dist/delegation/provision.d.ts +0 -36
  629. package/dist/delegation/provision.js +0 -217
  630. package/dist/delegation/provision.js.map +0 -1
  631. package/dist/delegation/questions.d.ts +0 -24
  632. package/dist/delegation/questions.js +0 -55
  633. package/dist/delegation/questions.js.map +0 -1
  634. package/dist/delegation/readiness.d.ts +0 -13
  635. package/dist/delegation/readiness.js +0 -19
  636. package/dist/delegation/readiness.js.map +0 -1
  637. package/dist/delegation/results.d.ts +0 -13
  638. package/dist/delegation/results.js +0 -153
  639. package/dist/delegation/results.js.map +0 -1
  640. package/dist/delegation/retry-backoff.d.ts +0 -31
  641. package/dist/delegation/retry-backoff.js +0 -26
  642. package/dist/delegation/retry-backoff.js.map +0 -1
  643. package/dist/delegation/routes.d.ts +0 -1017
  644. package/dist/delegation/routes.js +0 -85
  645. package/dist/delegation/routes.js.map +0 -1
  646. package/dist/delegation/scratch-cleanup.d.ts +0 -33
  647. package/dist/delegation/scratch-cleanup.js +0 -155
  648. package/dist/delegation/scratch-cleanup.js.map +0 -1
  649. package/dist/delegation/service.d.ts +0 -264
  650. package/dist/delegation/service.js +0 -806
  651. package/dist/delegation/service.js.map +0 -1
  652. package/dist/delegation/task-discovery.d.ts +0 -6
  653. package/dist/delegation/task-discovery.js +0 -27
  654. package/dist/delegation/task-discovery.js.map +0 -1
  655. package/dist/delegation/transport.d.ts +0 -995
  656. package/dist/delegation/transport.js +0 -22
  657. package/dist/delegation/transport.js.map +0 -1
  658. package/dist/delegation/wait.d.ts +0 -7
  659. package/dist/delegation/wait.js +0 -44
  660. package/dist/delegation/wait.js.map +0 -1
  661. package/dist/delegation/windows-test-app.d.ts +0 -5
  662. package/dist/delegation/windows-test-app.js +0 -63
  663. package/dist/delegation/windows-test-app.js.map +0 -1
  664. package/dist/delegation/windows-workspace-identity.d.ts +0 -3
  665. package/dist/delegation/windows-workspace-identity.js +0 -22
  666. package/dist/delegation/windows-workspace-identity.js.map +0 -1
  667. package/dist/delegation/worker-cleanup.d.ts +0 -53
  668. package/dist/delegation/worker-cleanup.js +0 -330
  669. package/dist/delegation/worker-cleanup.js.map +0 -1
  670. package/dist/delegation/workspace.d.ts +0 -40
  671. package/dist/delegation/workspace.js +0 -592
  672. package/dist/delegation/workspace.js.map +0 -1
  673. package/dist/detached-process.d.ts +0 -125
  674. package/dist/detached-process.js +0 -448
  675. package/dist/detached-process.js.map +0 -1
  676. package/dist/discovery/catalog.d.ts +0 -16
  677. package/dist/discovery/catalog.js +0 -31
  678. package/dist/discovery/catalog.js.map +0 -1
  679. package/dist/discovery/cli.d.ts +0 -8
  680. package/dist/discovery/cli.js +0 -122
  681. package/dist/discovery/cli.js.map +0 -1
  682. package/dist/git-command.d.ts +0 -7
  683. package/dist/git-command.js +0 -8
  684. package/dist/git-command.js.map +0 -1
  685. package/dist/git-diff-base.d.ts +0 -41
  686. package/dist/git-diff-base.js +0 -116
  687. package/dist/git-diff-base.js.map +0 -1
  688. package/dist/git-index-copy.d.ts +0 -4
  689. package/dist/git-index-copy.js +0 -10
  690. package/dist/git-index-copy.js.map +0 -1
  691. package/dist/git-private-index.d.ts +0 -11
  692. package/dist/git-private-index.js +0 -51
  693. package/dist/git-private-index.js.map +0 -1
  694. package/dist/git-refs.d.ts +0 -11
  695. package/dist/git-refs.js +0 -14
  696. package/dist/git-refs.js.map +0 -1
  697. package/dist/git-worktree-lock-helper.d.ts +0 -7
  698. package/dist/git-worktree-lock-helper.js +0 -178
  699. package/dist/git-worktree-lock-helper.js.map +0 -1
  700. package/dist/git-worktree-lock.d.ts +0 -17
  701. package/dist/git-worktree-lock.js +0 -90
  702. package/dist/git-worktree-lock.js.map +0 -1
  703. package/dist/git-worktree-release.d.ts +0 -20
  704. package/dist/git-worktree-release.js +0 -27
  705. package/dist/git-worktree-release.js.map +0 -1
  706. package/dist/git-worktree.d.ts +0 -148
  707. package/dist/git-worktree.js +0 -857
  708. package/dist/git-worktree.js.map +0 -1
  709. package/dist/handoff.d.ts +0 -72
  710. package/dist/handoff.js +0 -212
  711. package/dist/handoff.js.map +0 -1
  712. package/dist/headless-run.d.ts +0 -48
  713. package/dist/headless-run.js +0 -158
  714. package/dist/headless-run.js.map +0 -1
  715. package/dist/home/boundary.d.ts +0 -5
  716. package/dist/home/boundary.js +0 -76
  717. package/dist/home/boundary.js.map +0 -1
  718. package/dist/home/changes.d.ts +0 -3
  719. package/dist/home/changes.js +0 -11
  720. package/dist/home/changes.js.map +0 -1
  721. package/dist/home/command.d.ts +0 -9
  722. package/dist/home/command.js +0 -37
  723. package/dist/home/command.js.map +0 -1
  724. package/dist/home/deprecation.d.ts +0 -9
  725. package/dist/home/deprecation.js +0 -17
  726. package/dist/home/deprecation.js.map +0 -1
  727. package/dist/home/display.d.ts +0 -2
  728. package/dist/home/display.js +0 -7
  729. package/dist/home/display.js.map +0 -1
  730. package/dist/home/entry-authorization.d.ts +0 -17
  731. package/dist/home/entry-authorization.js +0 -39
  732. package/dist/home/entry-authorization.js.map +0 -1
  733. package/dist/home/entry.d.ts +0 -16
  734. package/dist/home/entry.js +0 -95
  735. package/dist/home/entry.js.map +0 -1
  736. package/dist/home/file-location.d.ts +0 -14
  737. package/dist/home/file-location.js +0 -24
  738. package/dist/home/file-location.js.map +0 -1
  739. package/dist/home/home.d.ts +0 -42
  740. package/dist/home/home.js +0 -70
  741. package/dist/home/home.js.map +0 -1
  742. package/dist/home/identity.d.ts +0 -22
  743. package/dist/home/identity.js +0 -25
  744. package/dist/home/identity.js.map +0 -1
  745. package/dist/home/install-marker.d.ts +0 -27
  746. package/dist/home/install-marker.js +0 -77
  747. package/dist/home/install-marker.js.map +0 -1
  748. package/dist/home/kind-roots.d.ts +0 -10
  749. package/dist/home/kind-roots.js +0 -36
  750. package/dist/home/kind-roots.js.map +0 -1
  751. package/dist/home/leases.d.ts +0 -14
  752. package/dist/home/leases.js +0 -55
  753. package/dist/home/leases.js.map +0 -1
  754. package/dist/home/legacy-account-paths.d.ts +0 -4
  755. package/dist/home/legacy-account-paths.js +0 -41
  756. package/dist/home/legacy-account-paths.js.map +0 -1
  757. package/dist/home/legacy-merge.d.ts +0 -3
  758. package/dist/home/legacy-merge.js +0 -45
  759. package/dist/home/legacy-merge.js.map +0 -1
  760. package/dist/home/legacy-recovery.d.ts +0 -5
  761. package/dist/home/legacy-recovery.js +0 -154
  762. package/dist/home/legacy-recovery.js.map +0 -1
  763. package/dist/home/legacy-source.d.ts +0 -15
  764. package/dist/home/legacy-source.js +0 -57
  765. package/dist/home/legacy-source.js.map +0 -1
  766. package/dist/home/migrate.d.ts +0 -19
  767. package/dist/home/migrate.js +0 -321
  768. package/dist/home/migrate.js.map +0 -1
  769. package/dist/home/migration-account-source.d.ts +0 -2
  770. package/dist/home/migration-account-source.js +0 -17
  771. package/dist/home/migration-account-source.js.map +0 -1
  772. package/dist/home/migration-accounts.d.ts +0 -23
  773. package/dist/home/migration-accounts.js +0 -173
  774. package/dist/home/migration-accounts.js.map +0 -1
  775. package/dist/home/migration-boot.d.ts +0 -23
  776. package/dist/home/migration-boot.js +0 -61
  777. package/dist/home/migration-boot.js.map +0 -1
  778. package/dist/home/migration-claim.d.ts +0 -4
  779. package/dist/home/migration-claim.js +0 -69
  780. package/dist/home/migration-claim.js.map +0 -1
  781. package/dist/home/migration-cli.d.ts +0 -3
  782. package/dist/home/migration-cli.js +0 -64
  783. package/dist/home/migration-cli.js.map +0 -1
  784. package/dist/home/migration-files.d.ts +0 -14
  785. package/dist/home/migration-files.js +0 -192
  786. package/dist/home/migration-files.js.map +0 -1
  787. package/dist/home/migration-guard.d.ts +0 -2
  788. package/dist/home/migration-guard.js +0 -19
  789. package/dist/home/migration-guard.js.map +0 -1
  790. package/dist/home/migration-plan.d.ts +0 -20
  791. package/dist/home/migration-plan.js +0 -71
  792. package/dist/home/migration-plan.js.map +0 -1
  793. package/dist/home/migration-record.d.ts +0 -79
  794. package/dist/home/migration-record.js +0 -39
  795. package/dist/home/migration-record.js.map +0 -1
  796. package/dist/home/private-files.d.ts +0 -13
  797. package/dist/home/private-files.js +0 -101
  798. package/dist/home/private-files.js.map +0 -1
  799. package/dist/home/process-identity.d.ts +0 -2
  800. package/dist/home/process-identity.js +0 -8
  801. package/dist/home/process-identity.js.map +0 -1
  802. package/dist/home/protected-roots.d.ts +0 -25
  803. package/dist/home/protected-roots.js +0 -90
  804. package/dist/home/protected-roots.js.map +0 -1
  805. package/dist/home/recovery-watch.d.ts +0 -3
  806. package/dist/home/recovery-watch.js +0 -75
  807. package/dist/home/recovery-watch.js.map +0 -1
  808. package/dist/home/recovery.d.ts +0 -10
  809. package/dist/home/recovery.js +0 -94
  810. package/dist/home/recovery.js.map +0 -1
  811. package/dist/home/registry-content.d.ts +0 -2
  812. package/dist/home/registry-content.js +0 -17
  813. package/dist/home/registry-content.js.map +0 -1
  814. package/dist/home/reset-detection.d.ts +0 -5
  815. package/dist/home/reset-detection.js +0 -22
  816. package/dist/home/reset-detection.js.map +0 -1
  817. package/dist/home/resolve.d.ts +0 -10
  818. package/dist/home/resolve.js +0 -28
  819. package/dist/home/resolve.js.map +0 -1
  820. package/dist/home/store.d.ts +0 -48
  821. package/dist/home/store.js +0 -324
  822. package/dist/home/store.js.map +0 -1
  823. package/dist/home/switch.d.ts +0 -2
  824. package/dist/home/switch.js +0 -3
  825. package/dist/home/switch.js.map +0 -1
  826. package/dist/home/version-log.d.ts +0 -48
  827. package/dist/home/version-log.js +0 -216
  828. package/dist/home/version-log.js.map +0 -1
  829. package/dist/home/write-lock.d.ts +0 -6
  830. package/dist/home/write-lock.js +0 -96
  831. package/dist/home/write-lock.js.map +0 -1
  832. package/dist/hsq.d.ts +0 -2
  833. package/dist/hsq.js.map +0 -1
  834. package/dist/index.d.ts +0 -2
  835. package/dist/index.js.map +0 -1
  836. package/dist/install-as-command.d.ts +0 -32
  837. package/dist/install-as-command.js +0 -55
  838. package/dist/install-as-command.js.map +0 -1
  839. package/dist/jobs/cli.d.ts +0 -2
  840. package/dist/jobs/cli.js +0 -53
  841. package/dist/jobs/cli.js.map +0 -1
  842. package/dist/jobs/command.d.ts +0 -9
  843. package/dist/jobs/command.js +0 -19
  844. package/dist/jobs/command.js.map +0 -1
  845. package/dist/jobs/job.d.ts +0 -77
  846. package/dist/jobs/job.js +0 -252
  847. package/dist/jobs/job.js.map +0 -1
  848. package/dist/merge-observations.d.ts +0 -13
  849. package/dist/merge-observations.js +0 -55
  850. package/dist/merge-observations.js.map +0 -1
  851. package/dist/merged-streams.d.ts +0 -13
  852. package/dist/merged-streams.js +0 -33
  853. package/dist/merged-streams.js.map +0 -1
  854. package/dist/open-url.d.ts +0 -2
  855. package/dist/open-url.js +0 -10
  856. package/dist/open-url.js.map +0 -1
  857. package/dist/pack-check.d.ts +0 -17
  858. package/dist/pack-check.js +0 -27
  859. package/dist/pack-check.js.map +0 -1
  860. package/dist/paths.d.ts +0 -118
  861. package/dist/paths.js +0 -191
  862. package/dist/paths.js.map +0 -1
  863. package/dist/planner.d.ts +0 -30
  864. package/dist/planner.js +0 -270
  865. package/dist/planner.js.map +0 -1
  866. package/dist/preview/agent-address.d.ts +0 -34
  867. package/dist/preview/agent-address.js +0 -52
  868. package/dist/preview/agent-address.js.map +0 -1
  869. package/dist/preview/agent-marker.d.ts +0 -17
  870. package/dist/preview/agent-marker.js +0 -71
  871. package/dist/preview/agent-marker.js.map +0 -1
  872. package/dist/preview/browser-launch.d.ts +0 -28
  873. package/dist/preview/browser-launch.js +0 -64
  874. package/dist/preview/browser-launch.js.map +0 -1
  875. package/dist/preview/cdp-proxy.d.ts +0 -54
  876. package/dist/preview/cdp-proxy.js +0 -152
  877. package/dist/preview/cdp-proxy.js.map +0 -1
  878. package/dist/preview/cdp.d.ts +0 -49
  879. package/dist/preview/cdp.js +0 -167
  880. package/dist/preview/cdp.js.map +0 -1
  881. package/dist/preview/chromium-launch-progress.d.ts +0 -10
  882. package/dist/preview/chromium-launch-progress.js +0 -48
  883. package/dist/preview/chromium-launch-progress.js.map +0 -1
  884. package/dist/preview/chromium.d.ts +0 -91
  885. package/dist/preview/chromium.js +0 -500
  886. package/dist/preview/chromium.js.map +0 -1
  887. package/dist/preview/density.d.ts +0 -17
  888. package/dist/preview/density.js +0 -62
  889. package/dist/preview/density.js.map +0 -1
  890. package/dist/preview/dev-server.d.ts +0 -68
  891. package/dist/preview/dev-server.js +0 -318
  892. package/dist/preview/dev-server.js.map +0 -1
  893. package/dist/preview/host.d.ts +0 -215
  894. package/dist/preview/host.js +0 -954
  895. package/dist/preview/host.js.map +0 -1
  896. package/dist/preview/registration.d.ts +0 -68
  897. package/dist/preview/registration.js +0 -111
  898. package/dist/preview/registration.js.map +0 -1
  899. package/dist/preview/run-tools.d.ts +0 -9
  900. package/dist/preview/run-tools.js +0 -72
  901. package/dist/preview/run-tools.js.map +0 -1
  902. package/dist/preview/session.d.ts +0 -139
  903. package/dist/preview/session.js +0 -479
  904. package/dist/preview/session.js.map +0 -1
  905. package/dist/preview/url.d.ts +0 -6
  906. package/dist/preview/url.js +0 -17
  907. package/dist/preview/url.js.map +0 -1
  908. package/dist/process-wait/exit-file.d.ts +0 -29
  909. package/dist/process-wait/exit-file.js +0 -67
  910. package/dist/process-wait/exit-file.js.map +0 -1
  911. package/dist/process-wait/supervisor.d.ts +0 -30
  912. package/dist/process-wait/supervisor.js +0 -71
  913. package/dist/process-wait/supervisor.js.map +0 -1
  914. package/dist/project-commands.d.ts +0 -14
  915. package/dist/project-commands.js +0 -91
  916. package/dist/project-commands.js.map +0 -1
  917. package/dist/project-migration/answer.d.ts +0 -23
  918. package/dist/project-migration/answer.js +0 -37
  919. package/dist/project-migration/answer.js.map +0 -1
  920. package/dist/project-migration/auto.d.ts +0 -73
  921. package/dist/project-migration/auto.js +0 -161
  922. package/dist/project-migration/auto.js.map +0 -1
  923. package/dist/project-migration/cli.d.ts +0 -18
  924. package/dist/project-migration/cli.js +0 -57
  925. package/dist/project-migration/cli.js.map +0 -1
  926. package/dist/project-migration/containment.d.ts +0 -52
  927. package/dist/project-migration/containment.js +0 -200
  928. package/dist/project-migration/containment.js.map +0 -1
  929. package/dist/project-migration/durable.d.ts +0 -25
  930. package/dist/project-migration/durable.js +0 -69
  931. package/dist/project-migration/durable.js.map +0 -1
  932. package/dist/project-migration/engine.d.ts +0 -47
  933. package/dist/project-migration/engine.js +0 -103
  934. package/dist/project-migration/engine.js.map +0 -1
  935. package/dist/project-migration/fresh.d.ts +0 -4
  936. package/dist/project-migration/fresh.js +0 -25
  937. package/dist/project-migration/fresh.js.map +0 -1
  938. package/dist/project-migration/journal.d.ts +0 -139
  939. package/dist/project-migration/journal.js +0 -69
  940. package/dist/project-migration/journal.js.map +0 -1
  941. package/dist/project-migration/live.d.ts +0 -48
  942. package/dist/project-migration/live.js +0 -148
  943. package/dist/project-migration/live.js.map +0 -1
  944. package/dist/project-migration/offline.d.ts +0 -25
  945. package/dist/project-migration/offline.js +0 -54
  946. package/dist/project-migration/offline.js.map +0 -1
  947. package/dist/project-migration/plan.d.ts +0 -91
  948. package/dist/project-migration/plan.js +0 -466
  949. package/dist/project-migration/plan.js.map +0 -1
  950. package/dist/project-migration/recovery.d.ts +0 -28
  951. package/dist/project-migration/recovery.js +0 -78
  952. package/dist/project-migration/recovery.js.map +0 -1
  953. package/dist/project-migration/steps.d.ts +0 -18
  954. package/dist/project-migration/steps.js +0 -312
  955. package/dist/project-migration/steps.js.map +0 -1
  956. package/dist/project-paths.d.ts +0 -61
  957. package/dist/project-paths.js +0 -185
  958. package/dist/project-paths.js.map +0 -1
  959. package/dist/release/compatibility.d.ts +0 -12
  960. package/dist/release/compatibility.js +0 -62
  961. package/dist/release/compatibility.js.map +0 -1
  962. package/dist/release/manifests.d.ts +0 -112
  963. package/dist/release/manifests.js +0 -104
  964. package/dist/release/manifests.js.map +0 -1
  965. package/dist/release/publication.d.ts +0 -3
  966. package/dist/release/publication.js +0 -34
  967. package/dist/release/publication.js.map +0 -1
  968. package/dist/release/snapshot.d.ts +0 -67
  969. package/dist/release/snapshot.js +0 -97
  970. package/dist/release/snapshot.js.map +0 -1
  971. package/dist/release/stable.d.ts +0 -38
  972. package/dist/release/stable.js +0 -55
  973. package/dist/release/stable.js.map +0 -1
  974. package/dist/remote-settings-cli.d.ts +0 -24
  975. package/dist/remote-settings-cli.js +0 -156
  976. package/dist/remote-settings-cli.js.map +0 -1
  977. package/dist/remote-settings.d.ts +0 -41
  978. package/dist/remote-settings.js +0 -110
  979. package/dist/remote-settings.js.map +0 -1
  980. package/dist/runs/agent-tmpdir-removal.d.ts +0 -15
  981. package/dist/runs/agent-tmpdir-removal.js +0 -60
  982. package/dist/runs/agent-tmpdir-removal.js.map +0 -1
  983. package/dist/runs/agent-tmpdir.d.ts +0 -119
  984. package/dist/runs/agent-tmpdir.js +0 -855
  985. package/dist/runs/agent-tmpdir.js.map +0 -1
  986. package/dist/runs/archive-family.d.ts +0 -33
  987. package/dist/runs/archive-family.js +0 -90
  988. package/dist/runs/archive-family.js.map +0 -1
  989. package/dist/runs/arm-repo-handle.d.ts +0 -10
  990. package/dist/runs/arm-repo-handle.js +0 -45
  991. package/dist/runs/arm-repo-handle.js.map +0 -1
  992. package/dist/runs/auto-name.d.ts +0 -77
  993. package/dist/runs/auto-name.js +0 -179
  994. package/dist/runs/auto-name.js.map +0 -1
  995. package/dist/runs/claim-families.d.ts +0 -37
  996. package/dist/runs/claim-families.js +0 -101
  997. package/dist/runs/claim-families.js.map +0 -1
  998. package/dist/runs/client-request.d.ts +0 -11
  999. package/dist/runs/client-request.js +0 -26
  1000. package/dist/runs/client-request.js.map +0 -1
  1001. package/dist/runs/cold-reads.d.ts +0 -40
  1002. package/dist/runs/cold-reads.js +0 -56
  1003. package/dist/runs/cold-reads.js.map +0 -1
  1004. package/dist/runs/conversation-identity.d.ts +0 -19
  1005. package/dist/runs/conversation-identity.js +0 -31
  1006. package/dist/runs/conversation-identity.js.map +0 -1
  1007. package/dist/runs/delegation-state.d.ts +0 -409
  1008. package/dist/runs/delegation-state.js +0 -22
  1009. package/dist/runs/delegation-state.js.map +0 -1
  1010. package/dist/runs/event-history-agent-context.d.ts +0 -15
  1011. package/dist/runs/event-history-agent-context.js +0 -119
  1012. package/dist/runs/event-history-agent-context.js.map +0 -1
  1013. package/dist/runs/event-history-context.d.ts +0 -15
  1014. package/dist/runs/event-history-context.js +0 -109
  1015. package/dist/runs/event-history-context.js.map +0 -1
  1016. package/dist/runs/event-history.d.ts +0 -53
  1017. package/dist/runs/event-history.js +0 -563
  1018. package/dist/runs/event-history.js.map +0 -1
  1019. package/dist/runs/exit-events.d.ts +0 -32
  1020. package/dist/runs/exit-events.js +0 -40
  1021. package/dist/runs/exit-events.js.map +0 -1
  1022. package/dist/runs/history-compressor.d.ts +0 -29
  1023. package/dist/runs/history-compressor.js +0 -116
  1024. package/dist/runs/history-compressor.js.map +0 -1
  1025. package/dist/runs/history-file.d.ts +0 -36
  1026. package/dist/runs/history-file.js +0 -463
  1027. package/dist/runs/history-file.js.map +0 -1
  1028. package/dist/runs/history-stream.d.ts +0 -2
  1029. package/dist/runs/history-stream.js +0 -62
  1030. package/dist/runs/history-stream.js.map +0 -1
  1031. package/dist/runs/legacy-index.d.ts +0 -49
  1032. package/dist/runs/legacy-index.js +0 -156
  1033. package/dist/runs/legacy-index.js.map +0 -1
  1034. package/dist/runs/legacy-run-rows.d.ts +0 -12
  1035. package/dist/runs/legacy-run-rows.js +0 -33
  1036. package/dist/runs/legacy-run-rows.js.map +0 -1
  1037. package/dist/runs/legacy-waits.d.ts +0 -64
  1038. package/dist/runs/legacy-waits.js +0 -335
  1039. package/dist/runs/legacy-waits.js.map +0 -1
  1040. package/dist/runs/live-item-snapshots.d.ts +0 -15
  1041. package/dist/runs/live-item-snapshots.js +0 -95
  1042. package/dist/runs/live-item-snapshots.js.map +0 -1
  1043. package/dist/runs/loaded-run-exits.d.ts +0 -6
  1044. package/dist/runs/loaded-run-exits.js +0 -32
  1045. package/dist/runs/loaded-run-exits.js.map +0 -1
  1046. package/dist/runs/loaded-run-healing.d.ts +0 -3
  1047. package/dist/runs/loaded-run-healing.js +0 -17
  1048. package/dist/runs/loaded-run-healing.js.map +0 -1
  1049. package/dist/runs/outcome-commit.d.ts +0 -119
  1050. package/dist/runs/outcome-commit.js +0 -155
  1051. package/dist/runs/outcome-commit.js.map +0 -1
  1052. package/dist/runs/owned-run-create.d.ts +0 -33
  1053. package/dist/runs/owned-run-create.js +0 -98
  1054. package/dist/runs/owned-run-create.js.map +0 -1
  1055. package/dist/runs/project-run-connection.d.ts +0 -76
  1056. package/dist/runs/project-run-connection.js +0 -287
  1057. package/dist/runs/project-run-connection.js.map +0 -1
  1058. package/dist/runs/project-run-sources.d.ts +0 -21
  1059. package/dist/runs/project-run-sources.js +0 -85
  1060. package/dist/runs/project-run-sources.js.map +0 -1
  1061. package/dist/runs/pull-requests.d.ts +0 -14
  1062. package/dist/runs/pull-requests.js +0 -96
  1063. package/dist/runs/pull-requests.js.map +0 -1
  1064. package/dist/runs/raw-record.d.ts +0 -40
  1065. package/dist/runs/raw-record.js +0 -133
  1066. package/dist/runs/raw-record.js.map +0 -1
  1067. package/dist/runs/record-write-rules.d.ts +0 -129
  1068. package/dist/runs/record-write-rules.js +0 -326
  1069. package/dist/runs/record-write-rules.js.map +0 -1
  1070. package/dist/runs/report-rows.d.ts +0 -36
  1071. package/dist/runs/report-rows.js +0 -102
  1072. package/dist/runs/report-rows.js.map +0 -1
  1073. package/dist/runs/retention.d.ts +0 -91
  1074. package/dist/runs/retention.js +0 -192
  1075. package/dist/runs/retention.js.map +0 -1
  1076. package/dist/runs/review-gate.d.ts +0 -18
  1077. package/dist/runs/review-gate.js +0 -22
  1078. package/dist/runs/review-gate.js.map +0 -1
  1079. package/dist/runs/run-claims.d.ts +0 -30
  1080. package/dist/runs/run-claims.js +0 -52
  1081. package/dist/runs/run-claims.js.map +0 -1
  1082. package/dist/runs/run-database-peer-page.d.ts +0 -12
  1083. package/dist/runs/run-database-peer-page.js +0 -25
  1084. package/dist/runs/run-database-peer-page.js.map +0 -1
  1085. package/dist/runs/run-database-row.d.ts +0 -39
  1086. package/dist/runs/run-database-row.js +0 -83
  1087. package/dist/runs/run-database-row.js.map +0 -1
  1088. package/dist/runs/run-database-version.d.ts +0 -14
  1089. package/dist/runs/run-database-version.js +0 -19
  1090. package/dist/runs/run-database-version.js.map +0 -1
  1091. package/dist/runs/run-database.d.ts +0 -389
  1092. package/dist/runs/run-database.js +0 -957
  1093. package/dist/runs/run-database.js.map +0 -1
  1094. package/dist/runs/run-exits.d.ts +0 -4510
  1095. package/dist/runs/run-exits.js +0 -191
  1096. package/dist/runs/run-exits.js.map +0 -1
  1097. package/dist/runs/run-index.d.ts +0 -36
  1098. package/dist/runs/run-index.js +0 -261
  1099. package/dist/runs/run-index.js.map +0 -1
  1100. package/dist/runs/run-references.d.ts +0 -61
  1101. package/dist/runs/run-references.js +0 -421
  1102. package/dist/runs/run-references.js.map +0 -1
  1103. package/dist/runs/run-row.d.ts +0 -14
  1104. package/dist/runs/run-row.js +0 -56
  1105. package/dist/runs/run-row.js.map +0 -1
  1106. package/dist/runs/run-summary-page.d.ts +0 -36
  1107. package/dist/runs/run-summary-page.js +0 -46
  1108. package/dist/runs/run-summary-page.js.map +0 -1
  1109. package/dist/runs/run-title.d.ts +0 -8
  1110. package/dist/runs/run-title.js +0 -28
  1111. package/dist/runs/run-title.js.map +0 -1
  1112. package/dist/runs/store-open-error.d.ts +0 -24
  1113. package/dist/runs/store-open-error.js +0 -62
  1114. package/dist/runs/store-open-error.js.map +0 -1
  1115. package/dist/runs/store.d.ts +0 -3974
  1116. package/dist/runs/store.js +0 -3516
  1117. package/dist/runs/store.js.map +0 -1
  1118. package/dist/runs/task-markers.d.ts +0 -29
  1119. package/dist/runs/task-markers.js +0 -78
  1120. package/dist/runs/task-markers.js.map +0 -1
  1121. package/dist/runs/task-refs.d.ts +0 -39
  1122. package/dist/runs/task-refs.js +0 -107
  1123. package/dist/runs/task-refs.js.map +0 -1
  1124. package/dist/runs/transcript-facts-fold.d.ts +0 -64
  1125. package/dist/runs/transcript-facts-fold.js +0 -109
  1126. package/dist/runs/transcript-facts-fold.js.map +0 -1
  1127. package/dist/runs/transcript-facts-load.d.ts +0 -11
  1128. package/dist/runs/transcript-facts-load.js +0 -66
  1129. package/dist/runs/transcript-facts-load.js.map +0 -1
  1130. package/dist/runs/transcript-facts-queue.d.ts +0 -30
  1131. package/dist/runs/transcript-facts-queue.js +0 -227
  1132. package/dist/runs/transcript-facts-queue.js.map +0 -1
  1133. package/dist/runs/transcript-facts-worker.d.ts +0 -15
  1134. package/dist/runs/transcript-facts-worker.js +0 -26
  1135. package/dist/runs/transcript-facts-worker.js.map +0 -1
  1136. package/dist/runs/transcript-facts.d.ts +0 -40
  1137. package/dist/runs/transcript-facts.js +0 -192
  1138. package/dist/runs/transcript-facts.js.map +0 -1
  1139. package/dist/runs/ui-event-sink.d.ts +0 -59
  1140. package/dist/runs/ui-event-sink.js +0 -197
  1141. package/dist/runs/ui-event-sink.js.map +0 -1
  1142. package/dist/runs/wait-capacity.d.ts +0 -8
  1143. package/dist/runs/wait-capacity.js +0 -28
  1144. package/dist/runs/wait-capacity.js.map +0 -1
  1145. package/dist/runs/wait-phases.d.ts +0 -4
  1146. package/dist/runs/wait-phases.js +0 -11
  1147. package/dist/runs/wait-phases.js.map +0 -1
  1148. package/dist/runs/wait-registration-write.d.ts +0 -5
  1149. package/dist/runs/wait-registration-write.js +0 -35
  1150. package/dist/runs/wait-registration-write.js.map +0 -1
  1151. package/dist/runs/webhook.d.ts +0 -193
  1152. package/dist/runs/webhook.js +0 -362
  1153. package/dist/runs/webhook.js.map +0 -1
  1154. package/dist/runs/worker-deletion-proof.d.ts +0 -13
  1155. package/dist/runs/worker-deletion-proof.js +0 -13
  1156. package/dist/runs/worker-deletion-proof.js.map +0 -1
  1157. package/dist/runs/worker-execution.d.ts +0 -22
  1158. package/dist/runs/worker-execution.js +0 -30
  1159. package/dist/runs/worker-execution.js.map +0 -1
  1160. package/dist/runs/worker-resource-holders.d.ts +0 -17
  1161. package/dist/runs/worker-resource-holders.js +0 -34
  1162. package/dist/runs/worker-resource-holders.js.map +0 -1
  1163. package/dist/runs/worker-result-commit.d.ts +0 -26
  1164. package/dist/runs/worker-result-commit.js +0 -121
  1165. package/dist/runs/worker-result-commit.js.map +0 -1
  1166. package/dist/self-update/checkouts.d.ts +0 -46
  1167. package/dist/self-update/checkouts.js +0 -284
  1168. package/dist/self-update/checkouts.js.map +0 -1
  1169. package/dist/self-update/cli.d.ts +0 -19
  1170. package/dist/self-update/cli.js +0 -243
  1171. package/dist/self-update/cli.js.map +0 -1
  1172. package/dist/self-update/installer.d.ts +0 -24
  1173. package/dist/self-update/installer.js +0 -139
  1174. package/dist/self-update/installer.js.map +0 -1
  1175. package/dist/self-update/launcher.d.ts +0 -30
  1176. package/dist/self-update/launcher.js +0 -172
  1177. package/dist/self-update/launcher.js.map +0 -1
  1178. package/dist/self-update/layout.d.ts +0 -108
  1179. package/dist/self-update/layout.js +0 -276
  1180. package/dist/self-update/layout.js.map +0 -1
  1181. package/dist/self-update/pulls.d.ts +0 -30
  1182. package/dist/self-update/pulls.js +0 -128
  1183. package/dist/self-update/pulls.js.map +0 -1
  1184. package/dist/self-update/registry.d.ts +0 -37
  1185. package/dist/self-update/registry.js +0 -86
  1186. package/dist/self-update/registry.js.map +0 -1
  1187. package/dist/self-update/restart.d.ts +0 -25
  1188. package/dist/self-update/restart.js +0 -79
  1189. package/dist/self-update/restart.js.map +0 -1
  1190. package/dist/self-update/semver.d.ts +0 -19
  1191. package/dist/self-update/semver.js +0 -79
  1192. package/dist/self-update/semver.js.map +0 -1
  1193. package/dist/self-update/service.d.ts +0 -115
  1194. package/dist/self-update/service.js +0 -332
  1195. package/dist/self-update/service.js.map +0 -1
  1196. package/dist/self-update/supervisor.d.ts +0 -10
  1197. package/dist/self-update/supervisor.js +0 -52
  1198. package/dist/self-update/supervisor.js.map +0 -1
  1199. package/dist/serve-boot.d.ts +0 -60
  1200. package/dist/serve-boot.js +0 -142
  1201. package/dist/serve-boot.js.map +0 -1
  1202. package/dist/serve-command.d.ts +0 -71
  1203. package/dist/serve-command.js +0 -168
  1204. package/dist/serve-command.js.map +0 -1
  1205. package/dist/serve-listener.d.ts +0 -12
  1206. package/dist/serve-listener.js +0 -52
  1207. package/dist/serve-listener.js.map +0 -1
  1208. package/dist/server/activity-project-topic.d.ts +0 -44
  1209. package/dist/server/activity-project-topic.js +0 -137
  1210. package/dist/server/activity-project-topic.js.map +0 -1
  1211. package/dist/server/activity-routes.d.ts +0 -317
  1212. package/dist/server/activity-routes.js +0 -116
  1213. package/dist/server/activity-routes.js.map +0 -1
  1214. package/dist/server/activity-sources.d.ts +0 -26
  1215. package/dist/server/activity-sources.js +0 -45
  1216. package/dist/server/activity-sources.js.map +0 -1
  1217. package/dist/server/activity-topic.d.ts +0 -33
  1218. package/dist/server/activity-topic.js +0 -48
  1219. package/dist/server/activity-topic.js.map +0 -1
  1220. package/dist/server/app-type.js.map +0 -1
  1221. package/dist/server/archive-on-merge.d.ts +0 -45
  1222. package/dist/server/archive-on-merge.js +0 -242
  1223. package/dist/server/archive-on-merge.js.map +0 -1
  1224. package/dist/server/automation-log-retry.d.ts +0 -27
  1225. package/dist/server/automation-log-retry.js +0 -88
  1226. package/dist/server/automation-log-retry.js.map +0 -1
  1227. package/dist/server/capabilities.d.ts +0 -69
  1228. package/dist/server/capabilities.js +0 -111
  1229. package/dist/server/capabilities.js.map +0 -1
  1230. package/dist/server/checkout-progress.d.ts +0 -10
  1231. package/dist/server/checkout-progress.js +0 -27
  1232. package/dist/server/checkout-progress.js.map +0 -1
  1233. package/dist/server/checkout.d.ts +0 -153
  1234. package/dist/server/checkout.js +0 -323
  1235. package/dist/server/checkout.js.map +0 -1
  1236. package/dist/server/cockpit-ownership.d.ts +0 -112
  1237. package/dist/server/cockpit-ownership.js +0 -419
  1238. package/dist/server/cockpit-ownership.js.map +0 -1
  1239. package/dist/server/cold-repo-handles.d.ts +0 -17
  1240. package/dist/server/cold-repo-handles.js +0 -82
  1241. package/dist/server/cold-repo-handles.js.map +0 -1
  1242. package/dist/server/completion-actions.d.ts +0 -37
  1243. package/dist/server/completion-actions.js +0 -261
  1244. package/dist/server/completion-actions.js.map +0 -1
  1245. package/dist/server/config-merge.d.ts +0 -11
  1246. package/dist/server/config-merge.js +0 -74
  1247. package/dist/server/config-merge.js.map +0 -1
  1248. package/dist/server/create-project.d.ts +0 -71
  1249. package/dist/server/create-project.js +0 -466
  1250. package/dist/server/create-project.js.map +0 -1
  1251. package/dist/server/forge/draft-pr.d.ts +0 -8
  1252. package/dist/server/forge/draft-pr.js +0 -123
  1253. package/dist/server/forge/draft-pr.js.map +0 -1
  1254. package/dist/server/forge/github-filters.d.ts +0 -22
  1255. package/dist/server/forge/github-filters.js +0 -128
  1256. package/dist/server/forge/github-filters.js.map +0 -1
  1257. package/dist/server/forge/github-merge-requirements.d.ts +0 -18
  1258. package/dist/server/forge/github-merge-requirements.js +0 -148
  1259. package/dist/server/forge/github-merge-requirements.js.map +0 -1
  1260. package/dist/server/forge/github-merge-state.d.ts +0 -27
  1261. package/dist/server/forge/github-merge-state.js +0 -248
  1262. package/dist/server/forge/github-merge-state.js.map +0 -1
  1263. package/dist/server/forge/github-timeline.d.ts +0 -117
  1264. package/dist/server/forge/github-timeline.js +0 -273
  1265. package/dist/server/forge/github-timeline.js.map +0 -1
  1266. package/dist/server/forge/github.d.ts +0 -393
  1267. package/dist/server/forge/github.js +0 -2881
  1268. package/dist/server/forge/github.js.map +0 -1
  1269. package/dist/server/forge/index.d.ts +0 -47
  1270. package/dist/server/forge/index.js +0 -81
  1271. package/dist/server/forge/index.js.map +0 -1
  1272. package/dist/server/forge/repo-handle-discovery.d.ts +0 -16
  1273. package/dist/server/forge/repo-handle-discovery.js +0 -2
  1274. package/dist/server/forge/repo-handle-discovery.js.map +0 -1
  1275. package/dist/server/forge/types.d.ts +0 -278
  1276. package/dist/server/forge/types.js +0 -2
  1277. package/dist/server/forge/types.js.map +0 -1
  1278. package/dist/server/fs-browse.d.ts +0 -82
  1279. package/dist/server/fs-browse.js +0 -217
  1280. package/dist/server/fs-browse.js.map +0 -1
  1281. package/dist/server/git-changes.d.ts +0 -205
  1282. package/dist/server/git-changes.js +0 -531
  1283. package/dist/server/git-changes.js.map +0 -1
  1284. package/dist/server/git.d.ts +0 -52
  1285. package/dist/server/git.js +0 -174
  1286. package/dist/server/git.js.map +0 -1
  1287. package/dist/server/home-recovery-routes.d.ts +0 -171
  1288. package/dist/server/home-recovery-routes.js +0 -56
  1289. package/dist/server/home-recovery-routes.js.map +0 -1
  1290. package/dist/server/launch-key.d.ts +0 -5
  1291. package/dist/server/launch-key.js +0 -35
  1292. package/dist/server/launch-key.js.map +0 -1
  1293. package/dist/server/live-routes.d.ts +0 -73
  1294. package/dist/server/live-routes.js +0 -161
  1295. package/dist/server/live-routes.js.map +0 -1
  1296. package/dist/server/open-in-app.d.ts +0 -57
  1297. package/dist/server/open-in-app.js +0 -178
  1298. package/dist/server/open-in-app.js.map +0 -1
  1299. package/dist/server/open-in-targets.d.ts +0 -53
  1300. package/dist/server/open-in-targets.js +0 -112
  1301. package/dist/server/open-in-targets.js.map +0 -1
  1302. package/dist/server/open-in-terminal.d.ts +0 -73
  1303. package/dist/server/open-in-terminal.js +0 -160
  1304. package/dist/server/open-in-terminal.js.map +0 -1
  1305. package/dist/server/preview-cdp-socket.d.ts +0 -21
  1306. package/dist/server/preview-cdp-socket.js +0 -112
  1307. package/dist/server/preview-cdp-socket.js.map +0 -1
  1308. package/dist/server/preview-socket.d.ts +0 -36
  1309. package/dist/server/preview-socket.js +0 -142
  1310. package/dist/server/preview-socket.js.map +0 -1
  1311. package/dist/server/preview-sockets.d.ts +0 -14
  1312. package/dist/server/preview-sockets.js +0 -18
  1313. package/dist/server/preview-sockets.js.map +0 -1
  1314. package/dist/server/project-context.d.ts +0 -218
  1315. package/dist/server/project-context.js +0 -524
  1316. package/dist/server/project-context.js.map +0 -1
  1317. package/dist/server/project-run-files.d.ts +0 -13
  1318. package/dist/server/project-run-files.js +0 -52
  1319. package/dist/server/project-run-files.js.map +0 -1
  1320. package/dist/server/provider-action-gate.d.ts +0 -5
  1321. package/dist/server/provider-action-gate.js +0 -28
  1322. package/dist/server/provider-action-gate.js.map +0 -1
  1323. package/dist/server/provider-auth-runtime.d.ts +0 -34
  1324. package/dist/server/provider-auth-runtime.js +0 -118
  1325. package/dist/server/provider-auth-runtime.js.map +0 -1
  1326. package/dist/server/repo-branch-forge.d.ts +0 -61
  1327. package/dist/server/repo-branch-forge.js +0 -158
  1328. package/dist/server/repo-branch-forge.js.map +0 -1
  1329. package/dist/server/repo-branch-sweep.d.ts +0 -21
  1330. package/dist/server/repo-branch-sweep.js +0 -64
  1331. package/dist/server/repo-branch-sweep.js.map +0 -1
  1332. package/dist/server/repo-branches.d.ts +0 -103
  1333. package/dist/server/repo-branches.js +0 -804
  1334. package/dist/server/repo-branches.js.map +0 -1
  1335. package/dist/server/repo-pull.d.ts +0 -18
  1336. package/dist/server/repo-pull.js +0 -97
  1337. package/dist/server/repo-pull.js.map +0 -1
  1338. package/dist/server/reports-api.d.ts +0 -90
  1339. package/dist/server/reports-api.js +0 -21
  1340. package/dist/server/reports-api.js.map +0 -1
  1341. package/dist/server/reports-topic.d.ts +0 -5
  1342. package/dist/server/reports-topic.js +0 -37
  1343. package/dist/server/reports-topic.js.map +0 -1
  1344. package/dist/server/run-checkout.d.ts +0 -56
  1345. package/dist/server/run-checkout.js +0 -141
  1346. package/dist/server/run-checkout.js.map +0 -1
  1347. package/dist/server/run-event-feed.d.ts +0 -20
  1348. package/dist/server/run-event-feed.js +0 -203
  1349. package/dist/server/run-event-feed.js.map +0 -1
  1350. package/dist/server/self-update-routes.d.ts +0 -308
  1351. package/dist/server/self-update-routes.js +0 -80
  1352. package/dist/server/self-update-routes.js.map +0 -1
  1353. package/dist/server/server-deps.d.ts +0 -40
  1354. package/dist/server/server-deps.js +0 -132
  1355. package/dist/server/server-deps.js.map +0 -1
  1356. package/dist/server/server.d.ts +0 -35332
  1357. package/dist/server/server.js +0 -5046
  1358. package/dist/server/server.js.map +0 -1
  1359. package/dist/server/skill-sources.d.ts +0 -264
  1360. package/dist/server/skill-sources.js +0 -130
  1361. package/dist/server/skill-sources.js.map +0 -1
  1362. package/dist/server/start-run-options.d.ts +0 -84
  1363. package/dist/server/start-run-options.js +0 -114
  1364. package/dist/server/start-run-options.js.map +0 -1
  1365. package/dist/server/static-ui.d.ts +0 -49
  1366. package/dist/server/static-ui.js +0 -99
  1367. package/dist/server/static-ui.js.map +0 -1
  1368. package/dist/server/upgrade-router.d.ts +0 -23
  1369. package/dist/server/upgrade-router.js +0 -53
  1370. package/dist/server/upgrade-router.js.map +0 -1
  1371. package/dist/server/validators.d.ts +0 -80
  1372. package/dist/server/validators.js +0 -85
  1373. package/dist/server/validators.js.map +0 -1
  1374. package/dist/server/workflow-files.d.ts +0 -9
  1375. package/dist/server/workflow-files.js +0 -27
  1376. package/dist/server/workflow-files.js.map +0 -1
  1377. package/dist/server/workspace-config-patch.d.ts +0 -11
  1378. package/dist/server/workspace-config-patch.js +0 -75
  1379. package/dist/server/workspace-config-patch.js.map +0 -1
  1380. package/dist/server/workspace-live-routes.d.ts +0 -222
  1381. package/dist/server/workspace-live-routes.js +0 -8
  1382. package/dist/server/workspace-live-routes.js.map +0 -1
  1383. package/dist/server/workspace-projects.d.ts +0 -51
  1384. package/dist/server/workspace-projects.js +0 -160
  1385. package/dist/server/workspace-projects.js.map +0 -1
  1386. package/dist/server/workspace-run-feed.d.ts +0 -66
  1387. package/dist/server/workspace-run-feed.js +0 -171
  1388. package/dist/server/workspace-run-feed.js.map +0 -1
  1389. package/dist/server/ws.d.ts +0 -80
  1390. package/dist/server/ws.js +0 -280
  1391. package/dist/server/ws.js.map +0 -1
  1392. package/dist/server/wsl.d.ts +0 -25
  1393. package/dist/server/wsl.js +0 -92
  1394. package/dist/server/wsl.js.map +0 -1
  1395. package/dist/server-command.d.ts +0 -53
  1396. package/dist/server-command.js +0 -180
  1397. package/dist/server-command.js.map +0 -1
  1398. package/dist/server-install/engine.d.ts +0 -51
  1399. package/dist/server-install/engine.js +0 -358
  1400. package/dist/server-install/engine.js.map +0 -1
  1401. package/dist/server-install/group-migrate.d.ts +0 -26
  1402. package/dist/server-install/group-migrate.js +0 -241
  1403. package/dist/server-install/group-migrate.js.map +0 -1
  1404. package/dist/server-install/migrate-cli.d.ts +0 -12
  1405. package/dist/server-install/migrate-cli.js +0 -44
  1406. package/dist/server-install/migrate-cli.js.map +0 -1
  1407. package/dist/server-install/migrate-journal.d.ts +0 -15
  1408. package/dist/server-install/migrate-journal.js +0 -48
  1409. package/dist/server-install/migrate-journal.js.map +0 -1
  1410. package/dist/server-install/migration-report.d.ts +0 -3
  1411. package/dist/server-install/migration-report.js +0 -21
  1412. package/dist/server-install/migration-report.js.map +0 -1
  1413. package/dist/server-install/npx-cache.d.ts +0 -34
  1414. package/dist/server-install/npx-cache.js +0 -142
  1415. package/dist/server-install/npx-cache.js.map +0 -1
  1416. package/dist/server-install/platforms/macosx-launchd-files.d.ts +0 -11
  1417. package/dist/server-install/platforms/macosx-launchd-files.js +0 -60
  1418. package/dist/server-install/platforms/macosx-launchd-files.js.map +0 -1
  1419. package/dist/server-install/platforms/macosx-migration.d.ts +0 -17
  1420. package/dist/server-install/platforms/macosx-migration.js +0 -239
  1421. package/dist/server-install/platforms/macosx-migration.js.map +0 -1
  1422. package/dist/server-install/platforms/macosx-ngrok.d.ts +0 -12
  1423. package/dist/server-install/platforms/macosx-ngrok.js +0 -490
  1424. package/dist/server-install/platforms/macosx-ngrok.js.map +0 -1
  1425. package/dist/server-install/platforms/service-env.d.ts +0 -4
  1426. package/dist/server-install/platforms/service-env.js +0 -17
  1427. package/dist/server-install/platforms/service-env.js.map +0 -1
  1428. package/dist/server-install/platforms/ubuntu-vps-files.d.ts +0 -18
  1429. package/dist/server-install/platforms/ubuntu-vps-files.js +0 -43
  1430. package/dist/server-install/platforms/ubuntu-vps-files.js.map +0 -1
  1431. package/dist/server-install/platforms/ubuntu-vps-migration.d.ts +0 -26
  1432. package/dist/server-install/platforms/ubuntu-vps-migration.js +0 -391
  1433. package/dist/server-install/platforms/ubuntu-vps-migration.js.map +0 -1
  1434. package/dist/server-install/platforms/ubuntu-vps-names.d.ts +0 -30
  1435. package/dist/server-install/platforms/ubuntu-vps-names.js +0 -50
  1436. package/dist/server-install/platforms/ubuntu-vps-names.js.map +0 -1
  1437. package/dist/server-install/platforms/ubuntu-vps-redeploy.d.ts +0 -42
  1438. package/dist/server-install/platforms/ubuntu-vps-redeploy.js +0 -127
  1439. package/dist/server-install/platforms/ubuntu-vps-redeploy.js.map +0 -1
  1440. package/dist/server-install/platforms/ubuntu-vps.d.ts +0 -57
  1441. package/dist/server-install/platforms/ubuntu-vps.js +0 -945
  1442. package/dist/server-install/platforms/ubuntu-vps.js.map +0 -1
  1443. package/dist/server-install/state.d.ts +0 -51
  1444. package/dist/server-install/state.js +0 -177
  1445. package/dist/server-install/state.js.map +0 -1
  1446. package/dist/server-install/steps.d.ts +0 -108
  1447. package/dist/server-install/steps.js +0 -348
  1448. package/dist/server-install/steps.js.map +0 -1
  1449. package/dist/server-install/strategies.d.ts +0 -6
  1450. package/dist/server-install/strategies.js +0 -24
  1451. package/dist/server-install/strategies.js.map +0 -1
  1452. package/dist/server-install/types.d.ts +0 -316
  1453. package/dist/server-install/types.js +0 -118
  1454. package/dist/server-install/types.js.map +0 -1
  1455. package/dist/server-install/ui.d.ts +0 -36
  1456. package/dist/server-install/ui.js +0 -130
  1457. package/dist/server-install/ui.js.map +0 -1
  1458. package/dist/session-context.d.ts +0 -66
  1459. package/dist/session-context.js +0 -266
  1460. package/dist/session-context.js.map +0 -1
  1461. package/dist/skills-provision.d.ts +0 -64
  1462. package/dist/skills-provision.js +0 -325
  1463. package/dist/skills-provision.js.map +0 -1
  1464. package/dist/skills-remote.d.ts +0 -144
  1465. package/dist/skills-remote.js +0 -847
  1466. package/dist/skills-remote.js.map +0 -1
  1467. package/dist/skills.d.ts +0 -81
  1468. package/dist/skills.js +0 -288
  1469. package/dist/skills.js.map +0 -1
  1470. package/dist/subcommands.d.ts +0 -12
  1471. package/dist/subcommands.js +0 -59
  1472. package/dist/subcommands.js.map +0 -1
  1473. package/dist/task-cli/cli.d.ts +0 -39
  1474. package/dist/task-cli/cli.js +0 -773
  1475. package/dist/task-cli/cli.js.map +0 -1
  1476. package/dist/task-cli/discovery.d.ts +0 -32
  1477. package/dist/task-cli/discovery.js +0 -133
  1478. package/dist/task-cli/discovery.js.map +0 -1
  1479. package/dist/task-cli/hint.d.ts +0 -20
  1480. package/dist/task-cli/hint.js +0 -15
  1481. package/dist/task-cli/hint.js.map +0 -1
  1482. package/dist/task-cli/http.d.ts +0 -42
  1483. package/dist/task-cli/http.js +0 -110
  1484. package/dist/task-cli/http.js.map +0 -1
  1485. package/dist/task-cli/projections.d.ts +0 -68
  1486. package/dist/task-cli/projections.js +0 -76
  1487. package/dist/task-cli/projections.js.map +0 -1
  1488. package/dist/task-cli/watch.d.ts +0 -119
  1489. package/dist/task-cli/watch.js +0 -494
  1490. package/dist/task-cli/watch.js.map +0 -1
  1491. package/dist/ui-state.d.ts +0 -41
  1492. package/dist/ui-state.js +0 -93
  1493. package/dist/ui-state.js.map +0 -1
  1494. package/dist/update-check.d.ts +0 -2
  1495. package/dist/update-check.js +0 -28
  1496. package/dist/update-check.js.map +0 -1
  1497. package/dist/use-command-notice.d.ts +0 -1
  1498. package/dist/use-command-notice.js +0 -6
  1499. package/dist/use-command-notice.js.map +0 -1
  1500. package/dist/voice/decide.d.ts +0 -35
  1501. package/dist/voice/decide.js +0 -329
  1502. package/dist/voice/decide.js.map +0 -1
  1503. package/dist/voice/decision-log.d.ts +0 -48
  1504. package/dist/voice/decision-log.js +0 -117
  1505. package/dist/voice/decision-log.js.map +0 -1
  1506. package/dist/voice/engine.d.ts +0 -119
  1507. package/dist/voice/engine.js +0 -61
  1508. package/dist/voice/engine.js.map +0 -1
  1509. package/dist/voice/fake-engine.d.ts +0 -10
  1510. package/dist/voice/fake-engine.js +0 -192
  1511. package/dist/voice/fake-engine.js.map +0 -1
  1512. package/dist/voice/jev-engine.d.ts +0 -17
  1513. package/dist/voice/jev-engine.js +0 -110
  1514. package/dist/voice/jev-engine.js.map +0 -1
  1515. package/dist/voice/pending-ask.d.ts +0 -17
  1516. package/dist/voice/pending-ask.js +0 -51
  1517. package/dist/voice/pending-ask.js.map +0 -1
  1518. package/dist/voice/routes.d.ts +0 -115
  1519. package/dist/voice/routes.js +0 -92
  1520. package/dist/voice/routes.js.map +0 -1
  1521. package/dist/voice/sentence.d.ts +0 -21
  1522. package/dist/voice/sentence.js +0 -61
  1523. package/dist/voice/sentence.js.map +0 -1
  1524. package/dist/voice/thresholds.d.ts +0 -28
  1525. package/dist/voice/thresholds.js +0 -29
  1526. package/dist/voice/thresholds.js.map +0 -1
  1527. package/dist/webhooks/cli.d.ts +0 -18
  1528. package/dist/webhooks/cli.js +0 -127
  1529. package/dist/webhooks/cli.js.map +0 -1
  1530. package/dist/webhooks/prompt.d.ts +0 -5
  1531. package/dist/webhooks/prompt.js +0 -26
  1532. package/dist/webhooks/prompt.js.map +0 -1
  1533. package/dist/workflows/active-run.d.ts +0 -46
  1534. package/dist/workflows/active-run.js +0 -46
  1535. package/dist/workflows/active-run.js.map +0 -1
  1536. package/dist/workflows/attachment-path.d.ts +0 -6
  1537. package/dist/workflows/attachment-path.js +0 -40
  1538. package/dist/workflows/attachment-path.js.map +0 -1
  1539. package/dist/workflows/completion-policy.d.ts +0 -98
  1540. package/dist/workflows/completion-policy.js +0 -76
  1541. package/dist/workflows/completion-policy.js.map +0 -1
  1542. package/dist/workflows/continuation-admission.d.ts +0 -1229
  1543. package/dist/workflows/continuation-admission.js +0 -277
  1544. package/dist/workflows/continuation-admission.js.map +0 -1
  1545. package/dist/workflows/execution-account.d.ts +0 -13
  1546. package/dist/workflows/execution-account.js +0 -18
  1547. package/dist/workflows/execution-account.js.map +0 -1
  1548. package/dist/workflows/grouped-command.d.ts +0 -31
  1549. package/dist/workflows/grouped-command.js +0 -147
  1550. package/dist/workflows/grouped-command.js.map +0 -1
  1551. package/dist/workflows/input-acknowledgement.d.ts +0 -233
  1552. package/dist/workflows/input-acknowledgement.js +0 -41
  1553. package/dist/workflows/input-acknowledgement.js.map +0 -1
  1554. package/dist/workflows/line-order.d.ts +0 -5
  1555. package/dist/workflows/line-order.js +0 -25
  1556. package/dist/workflows/line-order.js.map +0 -1
  1557. package/dist/workflows/load.d.ts +0 -19
  1558. package/dist/workflows/load.js +0 -74
  1559. package/dist/workflows/load.js.map +0 -1
  1560. package/dist/workflows/outcome-batches.d.ts +0 -32
  1561. package/dist/workflows/outcome-batches.js +0 -55
  1562. package/dist/workflows/outcome-batches.js.map +0 -1
  1563. package/dist/workflows/pasted-content.d.ts +0 -60
  1564. package/dist/workflows/pasted-content.js +0 -69
  1565. package/dist/workflows/pasted-content.js.map +0 -1
  1566. package/dist/workflows/question-routing.d.ts +0 -16
  1567. package/dist/workflows/question-routing.js +0 -28
  1568. package/dist/workflows/question-routing.js.map +0 -1
  1569. package/dist/workflows/run/attachment-writer.d.ts +0 -34
  1570. package/dist/workflows/run/attachment-writer.js +0 -98
  1571. package/dist/workflows/run/attachment-writer.js.map +0 -1
  1572. package/dist/workflows/run/auto-resume.d.ts +0 -91
  1573. package/dist/workflows/run/auto-resume.js +0 -247
  1574. package/dist/workflows/run/auto-resume.js.map +0 -1
  1575. package/dist/workflows/run/cezar-tools.d.ts +0 -45
  1576. package/dist/workflows/run/cezar-tools.js +0 -117
  1577. package/dist/workflows/run/cezar-tools.js.map +0 -1
  1578. package/dist/workflows/run/completion-gate.d.ts +0 -77
  1579. package/dist/workflows/run/completion-gate.js +0 -93
  1580. package/dist/workflows/run/completion-gate.js.map +0 -1
  1581. package/dist/workflows/run/compose.d.ts +0 -181
  1582. package/dist/workflows/run/compose.js +0 -413
  1583. package/dist/workflows/run/compose.js.map +0 -1
  1584. package/dist/workflows/run/constants.d.ts +0 -48
  1585. package/dist/workflows/run/constants.js +0 -49
  1586. package/dist/workflows/run/constants.js.map +0 -1
  1587. package/dist/workflows/run/continuation-acceptance.d.ts +0 -70
  1588. package/dist/workflows/run/continuation-acceptance.js +0 -188
  1589. package/dist/workflows/run/continuation-acceptance.js.map +0 -1
  1590. package/dist/workflows/run/continuation-session.d.ts +0 -130
  1591. package/dist/workflows/run/continuation-session.js +0 -597
  1592. package/dist/workflows/run/continuation-session.js.map +0 -1
  1593. package/dist/workflows/run/drop-active.d.ts +0 -4
  1594. package/dist/workflows/run/drop-active.js +0 -11
  1595. package/dist/workflows/run/drop-active.js.map +0 -1
  1596. package/dist/workflows/run/family-reconciler.d.ts +0 -78
  1597. package/dist/workflows/run/family-reconciler.js +0 -308
  1598. package/dist/workflows/run/family-reconciler.js.map +0 -1
  1599. package/dist/workflows/run/human-waits.d.ts +0 -85
  1600. package/dist/workflows/run/human-waits.js +0 -162
  1601. package/dist/workflows/run/human-waits.js.map +0 -1
  1602. package/dist/workflows/run/inbox-claims.d.ts +0 -38
  1603. package/dist/workflows/run/inbox-claims.js +0 -107
  1604. package/dist/workflows/run/inbox-claims.js.map +0 -1
  1605. package/dist/workflows/run/input-batch.d.ts +0 -15
  1606. package/dist/workflows/run/input-batch.js +0 -32
  1607. package/dist/workflows/run/input-batch.js.map +0 -1
  1608. package/dist/workflows/run/input-delivery.d.ts +0 -202
  1609. package/dist/workflows/run/input-delivery.js +0 -817
  1610. package/dist/workflows/run/input-delivery.js.map +0 -1
  1611. package/dist/workflows/run/input-receipts.d.ts +0 -65
  1612. package/dist/workflows/run/input-receipts.js +0 -220
  1613. package/dist/workflows/run/input-receipts.js.map +0 -1
  1614. package/dist/workflows/run/input-timers.d.ts +0 -10
  1615. package/dist/workflows/run/input-timers.js +0 -32
  1616. package/dist/workflows/run/input-timers.js.map +0 -1
  1617. package/dist/workflows/run/launch-context.d.ts +0 -62
  1618. package/dist/workflows/run/launch-context.js +0 -119
  1619. package/dist/workflows/run/launch-context.js.map +0 -1
  1620. package/dist/workflows/run/launch-read-resolver.d.ts +0 -510
  1621. package/dist/workflows/run/launch-read-resolver.js +0 -658
  1622. package/dist/workflows/run/launch-read-resolver.js.map +0 -1
  1623. package/dist/workflows/run/launch-settings.d.ts +0 -10
  1624. package/dist/workflows/run/launch-settings.js +0 -11
  1625. package/dist/workflows/run/launch-settings.js.map +0 -1
  1626. package/dist/workflows/run/live-session-state.d.ts +0 -49
  1627. package/dist/workflows/run/live-session-state.js +0 -83
  1628. package/dist/workflows/run/live-session-state.js.map +0 -1
  1629. package/dist/workflows/run/maintenance-claims.d.ts +0 -47
  1630. package/dist/workflows/run/maintenance-claims.js +0 -83
  1631. package/dist/workflows/run/maintenance-claims.js.map +0 -1
  1632. package/dist/workflows/run/memory-guard.d.ts +0 -25
  1633. package/dist/workflows/run/memory-guard.js +0 -64
  1634. package/dist/workflows/run/memory-guard.js.map +0 -1
  1635. package/dist/workflows/run/opening.d.ts +0 -30
  1636. package/dist/workflows/run/opening.js +0 -6
  1637. package/dist/workflows/run/opening.js.map +0 -1
  1638. package/dist/workflows/run/pending-ask-facts.d.ts +0 -10
  1639. package/dist/workflows/run/pending-ask-facts.js +0 -19
  1640. package/dist/workflows/run/pending-ask-facts.js.map +0 -1
  1641. package/dist/workflows/run/prompts.d.ts +0 -74
  1642. package/dist/workflows/run/prompts.js +0 -140
  1643. package/dist/workflows/run/prompts.js.map +0 -1
  1644. package/dist/workflows/run/queued-input.d.ts +0 -108
  1645. package/dist/workflows/run/queued-input.js +0 -249
  1646. package/dist/workflows/run/queued-input.js.map +0 -1
  1647. package/dist/workflows/run/queued-revival.d.ts +0 -44
  1648. package/dist/workflows/run/queued-revival.js +0 -124
  1649. package/dist/workflows/run/queued-revival.js.map +0 -1
  1650. package/dist/workflows/run/readonly-collections.d.ts +0 -24
  1651. package/dist/workflows/run/readonly-collections.js +0 -33
  1652. package/dist/workflows/run/readonly-collections.js.map +0 -1
  1653. package/dist/workflows/run/repo-root-lease.d.ts +0 -34
  1654. package/dist/workflows/run/repo-root-lease.js +0 -71
  1655. package/dist/workflows/run/repo-root-lease.js.map +0 -1
  1656. package/dist/workflows/run/resolved-wait-input-batch.d.ts +0 -7
  1657. package/dist/workflows/run/resolved-wait-input-batch.js +0 -23
  1658. package/dist/workflows/run/resolved-wait-input-batch.js.map +0 -1
  1659. package/dist/workflows/run/run-cancel.d.ts +0 -36
  1660. package/dist/workflows/run/run-cancel.js +0 -130
  1661. package/dist/workflows/run/run-cancel.js.map +0 -1
  1662. package/dist/workflows/run/run-finish.d.ts +0 -72
  1663. package/dist/workflows/run/run-finish.js +0 -255
  1664. package/dist/workflows/run/run-finish.js.map +0 -1
  1665. package/dist/workflows/run/run-guards.d.ts +0 -15
  1666. package/dist/workflows/run/run-guards.js +0 -39
  1667. package/dist/workflows/run/run-guards.js.map +0 -1
  1668. package/dist/workflows/run/run-line.d.ts +0 -187
  1669. package/dist/workflows/run/run-line.js +0 -437
  1670. package/dist/workflows/run/run-line.js.map +0 -1
  1671. package/dist/workflows/run/run-recovery.d.ts +0 -116
  1672. package/dist/workflows/run/run-recovery.js +0 -421
  1673. package/dist/workflows/run/run-recovery.js.map +0 -1
  1674. package/dist/workflows/run/run-settlement.d.ts +0 -177
  1675. package/dist/workflows/run/run-settlement.js +0 -504
  1676. package/dist/workflows/run/run-settlement.js.map +0 -1
  1677. package/dist/workflows/run/run-skills.d.ts +0 -114
  1678. package/dist/workflows/run/run-skills.js +0 -233
  1679. package/dist/workflows/run/run-skills.js.map +0 -1
  1680. package/dist/workflows/run/run-start.d.ts +0 -64
  1681. package/dist/workflows/run/run-start.js +0 -126
  1682. package/dist/workflows/run/run-start.js.map +0 -1
  1683. package/dist/workflows/run/run-workspace.d.ts +0 -25
  1684. package/dist/workflows/run/run-workspace.js +0 -66
  1685. package/dist/workflows/run/run-workspace.js.map +0 -1
  1686. package/dist/workflows/run/session-events.d.ts +0 -155
  1687. package/dist/workflows/run/session-events.js +0 -282
  1688. package/dist/workflows/run/session-events.js.map +0 -1
  1689. package/dist/workflows/run/step-decisions.d.ts +0 -37
  1690. package/dist/workflows/run/step-decisions.js +0 -43
  1691. package/dist/workflows/run/step-decisions.js.map +0 -1
  1692. package/dist/workflows/run/step-loop.d.ts +0 -143
  1693. package/dist/workflows/run/step-loop.js +0 -488
  1694. package/dist/workflows/run/step-loop.js.map +0 -1
  1695. package/dist/workflows/run/step-session.d.ts +0 -65
  1696. package/dist/workflows/run/step-session.js +0 -280
  1697. package/dist/workflows/run/step-session.js.map +0 -1
  1698. package/dist/workflows/run/steps.d.ts +0 -13
  1699. package/dist/workflows/run/steps.js +0 -14
  1700. package/dist/workflows/run/steps.js.map +0 -1
  1701. package/dist/workflows/run/subagent-waits.d.ts +0 -138
  1702. package/dist/workflows/run/subagent-waits.js +0 -304
  1703. package/dist/workflows/run/subagent-waits.js.map +0 -1
  1704. package/dist/workflows/run/tracked-work.d.ts +0 -12
  1705. package/dist/workflows/run/tracked-work.js +0 -29
  1706. package/dist/workflows/run/tracked-work.js.map +0 -1
  1707. package/dist/workflows/run/turn-bookkeeping.d.ts +0 -67
  1708. package/dist/workflows/run/turn-bookkeeping.js +0 -173
  1709. package/dist/workflows/run/turn-bookkeeping.js.map +0 -1
  1710. package/dist/workflows/run/turn-boundary.d.ts +0 -215
  1711. package/dist/workflows/run/turn-boundary.js +0 -329
  1712. package/dist/workflows/run/turn-boundary.js.map +0 -1
  1713. package/dist/workflows/run/turn-markers.d.ts +0 -62
  1714. package/dist/workflows/run/turn-markers.js +0 -86
  1715. package/dist/workflows/run/turn-markers.js.map +0 -1
  1716. package/dist/workflows/run/turn-nudges.d.ts +0 -104
  1717. package/dist/workflows/run/turn-nudges.js +0 -243
  1718. package/dist/workflows/run/turn-nudges.js.map +0 -1
  1719. package/dist/workflows/run/turn-settler.d.ts +0 -161
  1720. package/dist/workflows/run/turn-settler.js +0 -468
  1721. package/dist/workflows/run/turn-settler.js.map +0 -1
  1722. package/dist/workflows/run/types.d.ts +0 -293
  1723. package/dist/workflows/run/types.js +0 -2
  1724. package/dist/workflows/run/types.js.map +0 -1
  1725. package/dist/workflows/run/usage-accounting.d.ts +0 -49
  1726. package/dist/workflows/run/usage-accounting.js +0 -213
  1727. package/dist/workflows/run/usage-accounting.js.map +0 -1
  1728. package/dist/workflows/run/wait-engine.d.ts +0 -1210
  1729. package/dist/workflows/run/wait-engine.js +0 -455
  1730. package/dist/workflows/run/wait-engine.js.map +0 -1
  1731. package/dist/workflows/run/wait-kinds.d.ts +0 -336
  1732. package/dist/workflows/run/wait-kinds.js +0 -470
  1733. package/dist/workflows/run/wait-kinds.js.map +0 -1
  1734. package/dist/workflows/run/wait-registration-tool.d.ts +0 -3
  1735. package/dist/workflows/run/wait-registration-tool.js +0 -68
  1736. package/dist/workflows/run/wait-registration-tool.js.map +0 -1
  1737. package/dist/workflows/run/wait-registration.d.ts +0 -7
  1738. package/dist/workflows/run/wait-registration.js +0 -39
  1739. package/dist/workflows/run/wait-registration.js.map +0 -1
  1740. package/dist/workflows/run/wait-registry.d.ts +0 -120
  1741. package/dist/workflows/run/wait-registry.js +0 -365
  1742. package/dist/workflows/run/wait-registry.js.map +0 -1
  1743. package/dist/workflows/run/wait-watches.d.ts +0 -13
  1744. package/dist/workflows/run/wait-watches.js +0 -12
  1745. package/dist/workflows/run/wait-watches.js.map +0 -1
  1746. package/dist/workflows/run/wake-admission.d.ts +0 -150
  1747. package/dist/workflows/run/wake-admission.js +0 -397
  1748. package/dist/workflows/run/wake-admission.js.map +0 -1
  1749. package/dist/workflows/run/wake-ledger.d.ts +0 -61
  1750. package/dist/workflows/run/wake-ledger.js +0 -78
  1751. package/dist/workflows/run/wake-ledger.js.map +0 -1
  1752. package/dist/workflows/run/wake-retries.d.ts +0 -31
  1753. package/dist/workflows/run/wake-retries.js +0 -93
  1754. package/dist/workflows/run/wake-retries.js.map +0 -1
  1755. package/dist/workflows/run/worker-executions.d.ts +0 -54
  1756. package/dist/workflows/run/worker-executions.js +0 -148
  1757. package/dist/workflows/run/worker-executions.js.map +0 -1
  1758. package/dist/workflows/run/worker-orphans.d.ts +0 -91
  1759. package/dist/workflows/run/worker-orphans.js +0 -275
  1760. package/dist/workflows/run/worker-orphans.js.map +0 -1
  1761. package/dist/workflows/run/worker-questions.d.ts +0 -169
  1762. package/dist/workflows/run/worker-questions.js +0 -462
  1763. package/dist/workflows/run/worker-questions.js.map +0 -1
  1764. package/dist/workflows/run/workflow-position.d.ts +0 -7
  1765. package/dist/workflows/run/workflow-position.js +0 -9
  1766. package/dist/workflows/run/workflow-position.js.map +0 -1
  1767. package/dist/workflows/run/worktree-autosave.d.ts +0 -48
  1768. package/dist/workflows/run/worktree-autosave.js +0 -175
  1769. package/dist/workflows/run/worktree-autosave.js.map +0 -1
  1770. package/dist/workflows/run-scheduling.d.ts +0 -38
  1771. package/dist/workflows/run-scheduling.js +0 -76
  1772. package/dist/workflows/run-scheduling.js.map +0 -1
  1773. package/dist/workflows/run-states.d.ts +0 -73
  1774. package/dist/workflows/run-states.js +0 -233
  1775. package/dist/workflows/run-states.js.map +0 -1
  1776. package/dist/workflows/run.d.ts +0 -275
  1777. package/dist/workflows/run.js +0 -626
  1778. package/dist/workflows/run.js.map +0 -1
  1779. package/dist/workflows/turn-end.d.ts +0 -119
  1780. package/dist/workflows/turn-end.js +0 -74
  1781. package/dist/workflows/turn-end.js.map +0 -1
  1782. package/dist/workflows/types.d.ts +0 -83
  1783. package/dist/workflows/types.js +0 -192
  1784. package/dist/workflows/types.js.map +0 -1
  1785. package/dist/workflows/wait-scope.d.ts +0 -75
  1786. package/dist/workflows/wait-scope.js +0 -115
  1787. package/dist/workflows/wait-scope.js.map +0 -1
  1788. package/dist/workflows/waits.d.ts +0 -58
  1789. package/dist/workflows/waits.js +0 -89
  1790. package/dist/workflows/waits.js.map +0 -1
  1791. package/dist/workspace/agent-accounts.d.ts +0 -135
  1792. package/dist/workspace/agent-accounts.js +0 -352
  1793. package/dist/workspace/agent-accounts.js.map +0 -1
  1794. package/dist/workspace/agent-profiles.d.ts +0 -125
  1795. package/dist/workspace/agent-profiles.js +0 -190
  1796. package/dist/workspace/agent-profiles.js.map +0 -1
  1797. package/dist/workspace/backup-cli.d.ts +0 -9
  1798. package/dist/workspace/backup-cli.js +0 -146
  1799. package/dist/workspace/backup-cli.js.map +0 -1
  1800. package/dist/workspace/backups.d.ts +0 -36
  1801. package/dist/workspace/backups.js +0 -248
  1802. package/dist/workspace/backups.js.map +0 -1
  1803. package/dist/workspace/config.d.ts +0 -179
  1804. package/dist/workspace/config.js +0 -395
  1805. package/dist/workspace/config.js.map +0 -1
  1806. package/dist/workspace/migrations.d.ts +0 -37
  1807. package/dist/workspace/migrations.js +0 -148
  1808. package/dist/workspace/migrations.js.map +0 -1
  1809. package/dist/workspace/projects-cli.d.ts +0 -27
  1810. package/dist/workspace/projects-cli.js +0 -175
  1811. package/dist/workspace/projects-cli.js.map +0 -1
  1812. package/dist/workspace/projects.d.ts +0 -131
  1813. package/dist/workspace/projects.js +0 -274
  1814. package/dist/workspace/projects.js.map +0 -1
  1815. package/dist/workspace/root-probe-cache.d.ts +0 -10
  1816. package/dist/workspace/root-probe-cache.js +0 -43
  1817. package/dist/workspace/root-probe-cache.js.map +0 -1
  1818. package/dist/workspace/semaphore.d.ts +0 -147
  1819. package/dist/workspace/semaphore.js +0 -196
  1820. package/dist/workspace/semaphore.js.map +0 -1
  1821. package/dist/workspace/ui-state.d.ts +0 -17
  1822. package/dist/workspace/ui-state.js +0 -59
  1823. package/dist/workspace/ui-state.js.map +0 -1
  1824. package/dist/workspace/webhooks.d.ts +0 -40
  1825. package/dist/workspace/webhooks.js +0 -146
  1826. package/dist/workspace/webhooks.js.map +0 -1
  1827. package/dist/worktree-manifest.d.ts +0 -165
  1828. package/dist/worktree-manifest.js +0 -535
  1829. package/dist/worktree-manifest.js.map +0 -1
  1830. package/dist/worktree-setup.d.ts +0 -88
  1831. package/dist/worktree-setup.js +0 -170
  1832. package/dist/worktree-setup.js.map +0 -1
  1833. package/scripts/benchmark-family-reconcile.ts +0 -119
  1834. package/scripts/benchmark-home.ts +0 -32
  1835. package/scripts/benchmark-project-probes.mjs +0 -158
  1836. package/scripts/benchmark-run-store-fixture.ts +0 -432
  1837. package/scripts/benchmark-run-store.ts +0 -767
  1838. package/scripts/benchmark-stuck-destroys.ts +0 -144
  1839. package/scripts/benchmark-workspace-events.ts +0 -339
  1840. package/scripts/check-pack.mjs +0 -48
  1841. package/scripts/inline-contract.mjs +0 -165
  1842. package/scripts/install-as-command.mjs +0 -125
  1843. package/scripts/measure-transcript-facts-health.mjs +0 -100
  1844. package/scripts/measure-transcript-facts-lag.mjs +0 -69
  1845. package/scripts/mock-autonomous.mjs +0 -13
  1846. package/scripts/mock-ci-tool.mjs +0 -159
  1847. package/scripts/mock-claude-model-refusal.mjs +0 -76
  1848. package/scripts/mock-claude-subagents.mjs +0 -54
  1849. package/scripts/mock-claude.mjs +0 -800
  1850. package/scripts/mock-codex-app-server.mjs +0 -767
  1851. package/scripts/mock-codex-coalesce-steer.mjs +0 -59
  1852. package/scripts/mock-codex-reverse-steer.mjs +0 -143
  1853. package/scripts/mock-codex-subagents.mjs +0 -52
  1854. package/scripts/mock-controls.d.mts +0 -11
  1855. package/scripts/mock-controls.mjs +0 -13
  1856. package/scripts/mock-cursor-hang-stdin-late.mjs +0 -35
  1857. package/scripts/mock-cursor-hang-stdin.mjs +0 -30
  1858. package/scripts/mock-cursor-print.mjs +0 -237
  1859. package/scripts/mock-deferred-turn-start.mjs +0 -16
  1860. package/scripts/mock-delivery-control.d.mts +0 -23
  1861. package/scripts/mock-delivery-control.mjs +0 -80
  1862. package/scripts/mock-env-record.mjs +0 -11
  1863. package/scripts/mock-failure-control.d.mts +0 -13
  1864. package/scripts/mock-failure-control.mjs +0 -68
  1865. package/scripts/mock-lifecycle.mjs +0 -51
  1866. package/scripts/mock-multi-pr.mjs +0 -10
  1867. package/scripts/mock-nudge.mjs +0 -43
  1868. package/scripts/mock-omp-rpc.mjs +0 -536
  1869. package/scripts/mock-opencode-serve.mjs +0 -1000
  1870. package/scripts/mock-pi-rpc.mjs +0 -421
  1871. package/scripts/mock-publish.mjs +0 -13
  1872. package/scripts/mock-runner-crash.mjs +0 -64
  1873. package/scripts/mock-scenario.d.mts +0 -71
  1874. package/scripts/mock-scenario.mjs +0 -295
  1875. package/scripts/mock-session-context.d.mts +0 -5
  1876. package/scripts/mock-session-context.mjs +0 -56
  1877. package/scripts/mock-silent-tail.mjs +0 -93
  1878. package/scripts/mock-turn-messages.mjs +0 -5
  1879. package/scripts/mock-wire-evidence.config.mjs +0 -12
  1880. package/scripts/mock-wire-recorder.mjs +0 -66
  1881. package/scripts/mock-wire-tools.mjs +0 -7
  1882. package/scripts/omp-ci-wait.mjs +0 -29
  1883. package/scripts/opencode-task-scope.d.mts +0 -18
  1884. package/scripts/opencode-task-scope.mjs +0 -59
  1885. package/scripts/parity-rows.ts +0 -160
  1886. package/scripts/pi-ci-wait.mjs +0 -17
  1887. package/scripts/pi-default-tools.mjs +0 -22
  1888. package/scripts/pi-project-skills.mjs +0 -59
  1889. package/scripts/pi-retry-degraded-service.mjs +0 -16
  1890. package/scripts/probe-cursor-print.mjs +0 -699
  1891. package/scripts/probe-session-env.ts +0 -8
  1892. package/scripts/product-env.mjs +0 -6
  1893. package/scripts/product-identity.mjs +0 -12
  1894. package/scripts/record-mock-wires.mjs +0 -16
  1895. package/scripts/seed-archive-profile.ts +0 -53
  1896. package/scripts/sync-readme.mjs +0 -20
  1897. package/scripts/test-process-usage.mjs +0 -47
  1898. package/scripts/transcript-facts-fixture.mjs +0 -53
  1899. package/scripts/transcript-facts-timing.mjs +0 -42
  1900. package/scripts/voice-replay.ts +0 -50
  1901. package/scripts/windows-workspace-identity.cs +0 -208
  1902. package/scripts/windows-workspace-identity.ps1 +0 -10
  1903. package/web/dist/assets/useQuery-DSoTrqQG.js +0 -1
@@ -1,4510 +0,0 @@
1
- /**
2
- * The run exit table (ADR 0056, .ai/specs/2026-11-03-run-store-owns-exits.md). An exit
3
- * (`RUN_EXITS`) is one kind of status write, with the statuses it may leave from. The trigger
4
- * rows in `workflows/run-states.ts` name the exit they take; this module imports nothing from
5
- * `workflows/`.
6
- *
7
- * The store writes every run status by applying an exit: `RunStore.move`, `applyExit` on a record
8
- * it reconciles at load or stages for archive, or the `exit` of `commitOutcome` and
9
- * `commitWorkerContinuation`. Each checks the status of the record its write
10
- * changes against the exit's `from` (`exitStatus`). An exit with `fields` settles them on every
11
- * write that applies it, under the caller's extras (slice S5). An exit with a `settle` is a guarded exit
12
- * (Decision 5): `RunStore.move` commits it at once, with the record `settle` returns, only when
13
- * its `guard` passes. An undeclared transition is written as before and reported as a violation;
14
- * nothing throws in the write path. Strict mode (`vitest.setup.ts`) records each violation, and
15
- * the test setup fails the test after it ran. Outside strict mode each violation is one
16
- * `console.warn` and nothing is recorded.
17
- */
18
- import type { RunRecord, RunStatus, StepState } from '../contract/index.js';
19
- import { isUsageLimitHold } from '../contract/index.js';
20
- /** The fields a write that applies a run exit patches beside it: never the status, which the exit
21
- * writes (`RunStore.move`). */
22
- export type RunPatch = Partial<Omit<RunRecord, 'id' | 'steps' | 'status' | 'waits' | 'lastWaits'>> & {
23
- status?: never;
24
- waits?: never;
25
- lastWaits?: never;
26
- };
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. */
29
- export type ExitCall = {
30
- stepId?: string | undefined;
31
- event?: string | undefined;
32
- };
33
- /** What an exit reads beside the record: one time for every field it stamps, and the step the
34
- * caller names. */
35
- export type ExitSettlement = ExitCall & {
36
- now: string;
37
- };
38
- /** What an exit's `steps` read beside the step: the time the run settles at, and the error it
39
- * keeps. */
40
- export type StepSettlement = ExitSettlement & {
41
- finishedAt: string;
42
- error?: string | undefined;
43
- };
44
- /** How a write that applies an exit persists: `committed` at once, or `debounced` to the next save,
45
- * which is best-effort, so a locked database cannot stop cleanup (Decision 4). */
46
- export type ExitDurability = 'debounced' | 'committed';
47
- /** 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'>> & {
49
- steps?: readonly StepState[];
50
- };
51
- /**
52
- * One kind of status write: the statuses it may leave from and the one it writes. `fields` are
53
- * the fields every site of the exit writes alike; a caller's extras override them. `steps` settles
54
- * each step of the run in the same write (Table B targets B5, B8, B10, B11). `event` is the
55
- * lifecycle event the store writes once, when the exit moves a run into its status (B12). A guarded exit
56
- * declares a `guard`, a `settle`, or both: the store commits it at once, with the record `settle`
57
- * returns (the store writes the exit's fields and `to` over it). Its `guard` decides whether the run may take it: a failed guard writes nothing, and the store
58
- * returns undefined, or throws `refused` when the exit names one. `durability` is how a write that
59
- * applies the exit persists, unless a rule raises it (`exitDurability`); a guarded exit commits.
60
- */
61
- export type RunExitSpec = {
62
- from: readonly RunStatus[];
63
- to: RunStatus;
64
- durability: ExitDurability;
65
- fields?: (run: ExitRead, at: ExitSettlement) => RunPatch;
66
- steps?: (step: StepState, run: ExitRead, at: StepSettlement) => StepState;
67
- event?: string;
68
- guard?: (run: RunRecord) => boolean;
69
- refused?: string;
70
- settle?: (run: RunRecord, at: ExitSettlement) => RunRecord;
71
- };
72
- /** The root's pending Finish intent, retired as a patch (SRF): nothing when the run holds none. */
73
- export declare function retiredFinishPatch(run: Pick<RunRecord, 'delegation'>): Pick<RunPatch, 'delegation'>;
74
- /** Whether `exit` settles a run: it writes done, review, failed or cancelled. */
75
- 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. */
79
- declare const succeeded: () => RunPatch;
80
- /** A run that succeeded settles its running and waiting steps done at its time (B5). A worker's
81
- * incomplete earlier step, the one the caller names, stays waiting: a parent resume re-enters it
82
- * (hearsay-tools/cezarion#1620). */
83
- declare const succeededStep: (step: StepState, _run: ExitRead, { finishedAt, stepId }: StepSettlement) => StepState;
84
- /** A cancelled run has no live step (B10): its running and waiting steps settle cancelled at the
85
- * run's time. */
86
- declare const cancelledStep: (step: StepState, _run: ExitRead, { finishedAt }: StepSettlement) => StepState;
87
- /** A failed run has no live step (B11): its running steps fail at the run's time, each keeping an
88
- * error of its own, else taking the run's. A waiting step stays waiting: it is the cursor a
89
- * Continue resumes, a root's (`settleIncompleteStep`) and an owned worker's alike
90
- * (hearsay-tools/cezarion#1620). */
91
- declare const failedStep: (step: StepState, _run: ExitRead, { finishedAt, error }: StepSettlement) => StepState;
92
- /** A park settles its step waiting in the same write (B8): the step the caller names, else the
93
- * run's current step. A step that already ended (a failed attempt a park keeps for its wakes)
94
- * stays as it is. */
95
- declare const parkedStep: (step: StepState, run: ExitRead, { stepId }: StepSettlement) => StepState;
96
- /** A released park: the legacy `activity` cleared. */
97
- declare function settleParkRelease(run: RunRecord): RunRecord;
98
- /** The lifecycle event of a cancellation: one for each run a cancel exit moves into cancelled (B12). */
99
- export declare const RUN_CANCELLED = "run cancelled";
100
- declare const rootFinishWaiting: (run: RunRecord) => boolean;
101
- export declare const RUN_EXITS: {
102
- readonly start: {
103
- readonly durability: 'debounced';
104
- readonly from: readonly ["queued", "running", "waiting"];
105
- readonly to: 'running';
106
- };
107
- readonly 'start-held': {
108
- readonly durability: 'debounced';
109
- readonly from: readonly ["queued"];
110
- readonly to: 'queued';
111
- };
112
- readonly requeue: {
113
- readonly durability: 'debounced';
114
- readonly from: readonly ["queued", "running", "failed"];
115
- readonly to: 'queued';
116
- readonly fields: () => {
117
- currentStepId: undefined;
118
- };
119
- };
120
- readonly 'continue-line': {
121
- readonly durability: 'debounced';
122
- readonly from: readonly ["waiting", "review", "done", "failed", "cancelled"];
123
- readonly to: 'queued';
124
- readonly fields: () => {
125
- error: undefined;
126
- finishedAt: undefined;
127
- currentStepId: undefined;
128
- };
129
- };
130
- readonly 'continue-now': {
131
- readonly durability: 'debounced';
132
- readonly from: readonly ["waiting", "review", "done", "failed", "cancelled"];
133
- readonly to: 'running';
134
- readonly fields: () => {
135
- error: undefined;
136
- finishedAt: undefined;
137
- };
138
- };
139
- readonly park: {
140
- readonly durability: 'debounced';
141
- readonly from: readonly ["running", "queued", "waiting"];
142
- readonly to: 'waiting';
143
- readonly steps: typeof parkedStep;
144
- };
145
- readonly 'park-release': {
146
- readonly durability: 'committed';
147
- readonly from: readonly ["running", "queued", "waiting"];
148
- readonly to: 'waiting';
149
- readonly settle: typeof settleParkRelease;
150
- readonly steps: typeof parkedStep;
151
- };
152
- readonly 'park-for-wake': {
153
- readonly durability: 'debounced';
154
- readonly from: readonly ["queued", "waiting"];
155
- readonly to: 'waiting';
156
- };
157
- readonly hold: {
158
- readonly durability: 'debounced';
159
- readonly from: readonly ["failed", "waiting"];
160
- readonly to: 'waiting';
161
- readonly fields: () => {
162
- finishedAt: undefined;
163
- };
164
- };
165
- readonly resume: {
166
- readonly durability: 'debounced';
167
- readonly from: readonly ["waiting"];
168
- readonly to: 'running';
169
- };
170
- readonly succeed: {
171
- readonly durability: 'debounced';
172
- readonly from: readonly ["running", "waiting"];
173
- readonly to: 'done';
174
- readonly fields: typeof succeeded;
175
- readonly steps: typeof succeededStep;
176
- };
177
- readonly 'succeed-review': {
178
- readonly durability: 'debounced';
179
- readonly from: readonly ["running", "waiting"];
180
- readonly to: 'review';
181
- readonly fields: typeof succeeded;
182
- readonly steps: typeof succeededStep;
183
- };
184
- readonly 'succeed-root': {
185
- readonly durability: 'committed';
186
- readonly from: readonly ["waiting"];
187
- readonly to: 'done';
188
- readonly guard: typeof rootFinishWaiting;
189
- readonly fields: typeof succeeded;
190
- readonly steps: typeof succeededStep;
191
- };
192
- readonly 'succeed-root-review': {
193
- readonly durability: 'committed';
194
- readonly from: readonly ["waiting"];
195
- readonly to: 'review';
196
- readonly guard: typeof rootFinishWaiting;
197
- readonly fields: typeof succeeded;
198
- readonly steps: typeof succeededStep;
199
- };
200
- readonly 'accept-review': {
201
- readonly durability: 'debounced';
202
- readonly from: readonly ["review"];
203
- readonly to: 'done';
204
- };
205
- readonly 'draft-pr': {
206
- readonly durability: 'debounced';
207
- readonly from: readonly ["review", "done", "failed", "cancelled"];
208
- readonly to: 'done';
209
- };
210
- readonly 'fail-start': {
211
- readonly durability: 'debounced';
212
- readonly from: readonly ["queued", "running"];
213
- readonly to: 'failed';
214
- readonly steps: typeof failedStep;
215
- };
216
- readonly fail: {
217
- readonly durability: 'debounced';
218
- readonly from: readonly ["running", "waiting"];
219
- readonly to: 'failed';
220
- readonly steps: typeof failedStep;
221
- };
222
- readonly 'fail-continue': {
223
- readonly durability: 'debounced';
224
- readonly from: readonly ["running", "waiting", "cancelled"];
225
- readonly to: 'failed';
226
- readonly steps: typeof failedStep;
227
- };
228
- readonly 'fail-interrupted': {
229
- readonly durability: 'debounced';
230
- readonly from: readonly ["queued", "running", "waiting"];
231
- readonly to: 'failed';
232
- readonly fields: () => {
233
- error: string;
234
- };
235
- readonly steps: typeof failedStep;
236
- };
237
- readonly 'fail-crash': {
238
- readonly durability: 'debounced';
239
- readonly from: readonly ["queued", "running", "waiting"];
240
- readonly to: 'failed';
241
- readonly steps: typeof failedStep;
242
- };
243
- readonly 'withdraw-hold': {
244
- readonly durability: 'committed';
245
- readonly from: readonly ["waiting"];
246
- readonly to: 'failed';
247
- readonly guard: typeof isUsageLimitHold;
248
- readonly settle: (run: {
249
- archiveWhenDone?: boolean | undefined;
250
- autoMergePr?: boolean | undefined;
251
- allowWorkers?: boolean | undefined;
252
- allowMessaging?: boolean | undefined;
253
- id: string;
254
- title: string;
255
- titleSummary?: string | undefined;
256
- diffStat?: {
257
- adds: number;
258
- dels: number;
259
- files: number;
260
- repointed?: boolean | undefined;
261
- } | undefined;
262
- workflow: string;
263
- task: string;
264
- queuedMessages?: {
265
- id: string;
266
- text: string;
267
- images?: string[] | undefined;
268
- createdAt: string;
269
- }[] | undefined;
270
- stopping?: boolean | undefined;
271
- continuationMessage?: {
272
- id: string;
273
- text: string;
274
- images?: string[] | undefined;
275
- createdAt: string;
276
- origin?: "human" | "lifecycle" | undefined;
277
- agentInputId?: string | undefined;
278
- resumeContext?: {
279
- failure?: {
280
- stepId?: string | undefined;
281
- error: string;
282
- } | undefined;
283
- restarted?: true | undefined;
284
- } | undefined;
285
- } | undefined;
286
- workflowResumeStepId?: string | undefined;
287
- invalidAsk?: boolean | undefined;
288
- delegation?: {
289
- role: "root";
290
- conversation?: {
291
- messages: {
292
- senderRunId: string;
293
- recipientRunId: string;
294
- kind: "follow-up" | "progress" | "reply" | "request";
295
- requestId?: string | undefined;
296
- relationship?: "family" | "peer" | undefined;
297
- id: string;
298
- text: string;
299
- createdAt: string;
300
- deadline?: string | undefined;
301
- requestHash: string;
302
- state: "accepted" | "continuation-required" | "destroyed" | "late";
303
- resumed?: true | undefined;
304
- instruction?: string | undefined;
305
- question?: {
306
- context?: string | undefined;
307
- questions: {
308
- id?: string | undefined;
309
- header: string;
310
- question: string;
311
- options?: {
312
- label: string;
313
- description?: string | undefined;
314
- }[] | undefined;
315
- multiSelect?: boolean | undefined;
316
- }[];
317
- } | undefined;
318
- }[];
319
- outcomes: {
320
- requestId: string;
321
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
322
- observedAt: string;
323
- replyId?: string | undefined;
324
- }[];
325
- } | undefined;
326
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
327
- receipts: {
328
- requestId: string;
329
- workerId: string;
330
- requestHash: string;
331
- deletion?: {
332
- phase: "complete" | "pending";
333
- revision: number;
334
- resourceId: string;
335
- generation: string;
336
- } | undefined;
337
- }[];
338
- wait?: {
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
- lastWait?: {
366
- id: string;
367
- workerIds: string[];
368
- requestIds?: string[] | undefined;
369
- requestOutcomes?: {
370
- requestId: string;
371
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
372
- observedAt: string;
373
- replyId?: string | undefined;
374
- }[] | undefined;
375
- deadline: string;
376
- mode?: "all" | "any" | "one" | undefined;
377
- revisions?: {
378
- workerId: string;
379
- revision: number;
380
- }[] | undefined;
381
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
382
- phase: "parked" | "registered" | "wake-pending";
383
- outcomes: {
384
- workerId: string;
385
- status: "cancelled" | "done" | "failed" | "review";
386
- observedAt: string;
387
- summary?: string | undefined;
388
- revision?: number | undefined;
389
- }[];
390
- wakeId?: string | undefined;
391
- } | undefined;
392
- results?: {
393
- workerId: string;
394
- revision: number;
395
- snapshotId: string;
396
- observedAt: string;
397
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
398
- previous?: {
399
- revision: number;
400
- observedAt: string;
401
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
402
- } | undefined;
403
- }[] | undefined;
404
- finishRequestedAt?: string | undefined;
405
- historyDeletion?: "pending" | undefined;
406
- completion?: {
407
- phase: "attention" | "waiting";
408
- waitId?: string | undefined;
409
- } | undefined;
410
- } | {
411
- role: "worker";
412
- wait?: {
413
- id: string;
414
- workerIds: string[];
415
- requestIds?: string[] | undefined;
416
- requestOutcomes?: {
417
- requestId: string;
418
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
419
- observedAt: string;
420
- replyId?: string | undefined;
421
- }[] | undefined;
422
- deadline: string;
423
- mode?: "all" | "any" | "one" | undefined;
424
- revisions?: {
425
- workerId: string;
426
- revision: number;
427
- }[] | undefined;
428
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
429
- phase: "parked" | "registered" | "wake-pending";
430
- outcomes: {
431
- workerId: string;
432
- status: "cancelled" | "done" | "failed" | "review";
433
- observedAt: string;
434
- summary?: string | undefined;
435
- revision?: number | undefined;
436
- }[];
437
- wakeId?: string | undefined;
438
- } | undefined;
439
- lastWait?: {
440
- id: string;
441
- workerIds: string[];
442
- requestIds?: string[] | undefined;
443
- requestOutcomes?: {
444
- requestId: string;
445
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
446
- observedAt: string;
447
- replyId?: string | undefined;
448
- }[] | undefined;
449
- deadline: string;
450
- mode?: "all" | "any" | "one" | undefined;
451
- revisions?: {
452
- workerId: string;
453
- revision: number;
454
- }[] | undefined;
455
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
456
- phase: "parked" | "registered" | "wake-pending";
457
- outcomes: {
458
- workerId: string;
459
- status: "cancelled" | "done" | "failed" | "review";
460
- observedAt: string;
461
- summary?: string | undefined;
462
- revision?: number | undefined;
463
- }[];
464
- wakeId?: string | undefined;
465
- } | undefined;
466
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
467
- parentRunId: string;
468
- workspace: {
469
- ownerRunId: string;
470
- resourceId: string;
471
- kind: "owned-isolated";
472
- path: string;
473
- branch: string;
474
- baselineSha: string;
475
- };
476
- destroy?: {
477
- requestedAt: string;
478
- phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
479
- remaining: ("branch" | "process" | "worktree")[];
480
- error?: string | undefined;
481
- } | undefined;
482
- context?: {
483
- text?: string | undefined;
484
- inputs: {
485
- source: {
486
- kind: "parent-file";
487
- path: string;
488
- } | {
489
- kind: "baseline-file";
490
- path: string;
491
- } | {
492
- kind: "parent-attachment";
493
- id: string;
494
- };
495
- path: string;
496
- sha256: string;
497
- bytes: number;
498
- }[];
499
- } | undefined;
500
- executionRevision?: number | undefined;
501
- executionStartSeq?: number | undefined;
502
- } | {
503
- role: "invalid";
504
- } | undefined;
505
- agentInputs?: {
506
- conversation?: {
507
- senderRunId: string;
508
- recipientRunId: string;
509
- kind: "follow-up" | "progress" | "reply" | "request";
510
- requestId?: string | undefined;
511
- relationship?: "family" | "peer" | undefined;
512
- } | undefined;
513
- id: string;
514
- source: "agent" | "lifecycle";
515
- parentRunId: string;
516
- text: string;
517
- createdAt: string;
518
- deliveredAt?: string | undefined;
519
- consumedAt?: string | undefined;
520
- awaitingRead?: true | undefined;
521
- inboxClaim?: {
522
- receiptId: string;
523
- generation: string;
524
- expiresAt: string;
525
- acknowledgedAt?: string | undefined;
526
- memberIds?: string[] | undefined;
527
- } | undefined;
528
- purpose?: "completion-refusal" | "undelivered-question" | undefined;
529
- requestHash?: string | undefined;
530
- deadline?: string | undefined;
531
- }[] | undefined;
532
- waits?: ({
533
- prUrl: string;
534
- repository: string;
535
- prNumber: number;
536
- headSha: string;
537
- id: string;
538
- source: "agent" | "cezar";
539
- 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";
540
- registeredAt: string;
541
- phase: "cancelled" | "delivered" | "open" | "resolved";
542
- resolvedAt?: string | undefined;
543
- deliveredAt?: string | undefined;
544
- cancelledAt?: string | undefined;
545
- turnId: string;
546
- kind: "pr";
547
- deadline: string;
548
- generation: string;
549
- timeoutSeconds: number;
550
- until: "checks" | "merge" | "merge_or_blocked";
551
- wakeOnConflict: boolean;
552
- result?: {
553
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
554
- headSha: string;
555
- observedHeadSha?: string | undefined;
556
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
557
- mergeStateStatus?: string | undefined;
558
- mergedAt?: string | undefined;
559
- mergeCommitSha?: string | undefined;
560
- mergeBlock?: {
561
- reason: "conflict" | "no_pending_merge";
562
- isInMergeQueue: boolean;
563
- autoMergeEnabled: boolean;
564
- event?: {
565
- kind: "auto_merge_disabled" | "queue_removal";
566
- createdAt: string;
567
- reason?: string | undefined;
568
- reasonCode?: string | undefined;
569
- } | undefined;
570
- } | undefined;
571
- observedAt: string;
572
- checks: {
573
- name: string;
574
- state: string;
575
- link: string;
576
- }[];
577
- totalChecks: number;
578
- truncated: boolean;
579
- diagnostic?: string | undefined;
580
- } | undefined;
581
- } | {
582
- id: string;
583
- source: "agent" | "cezar";
584
- 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";
585
- registeredAt: string;
586
- phase: "cancelled" | "delivered" | "open" | "resolved";
587
- resolvedAt?: string | undefined;
588
- deliveredAt?: string | undefined;
589
- cancelledAt?: string | undefined;
590
- turnId: string;
591
- kind: "timer";
592
- deadline: string;
593
- seconds: number;
594
- note?: string | undefined;
595
- } | {
596
- id: string;
597
- source: "agent" | "cezar";
598
- 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";
599
- registeredAt: string;
600
- phase: "cancelled" | "delivered" | "open" | "resolved";
601
- resolvedAt?: string | undefined;
602
- deliveredAt?: string | undefined;
603
- cancelledAt?: string | undefined;
604
- turnId: string;
605
- kind: "human";
606
- questions?: {
607
- id?: string | undefined;
608
- header: string;
609
- question: string;
610
- options?: {
611
- label: string;
612
- description?: string | undefined;
613
- }[] | undefined;
614
- multiSelect?: boolean | undefined;
615
- }[] | undefined;
616
- context?: string | undefined;
617
- askSeq?: number | undefined;
618
- } | {
619
- id: string;
620
- source: "agent" | "cezar";
621
- 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";
622
- registeredAt: string;
623
- phase: "cancelled" | "delivered" | "open" | "resolved";
624
- resolvedAt?: string | undefined;
625
- deliveredAt?: string | undefined;
626
- cancelledAt?: string | undefined;
627
- turnId: string;
628
- kind: "worker";
629
- deadline?: string | undefined;
630
- timeoutSeconds?: number | undefined;
631
- mode?: "all" | "any" | "one" | undefined;
632
- workerIds?: string[] | undefined;
633
- revisions?: {
634
- workerId: string;
635
- revision: number;
636
- }[] | undefined;
637
- outcomes?: {
638
- workerId: string;
639
- status: "cancelled" | "done" | "failed" | "review";
640
- observedAt: string;
641
- summary?: string | undefined;
642
- revision?: number | undefined;
643
- }[] | undefined;
644
- requestIds?: string[] | undefined;
645
- requestOutcomes?: {
646
- requestId: string;
647
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
648
- observedAt: string;
649
- replyId?: string | undefined;
650
- }[] | undefined;
651
- result?: {
652
- reason: "outcome" | "timeout";
653
- } | undefined;
654
- wakeInputId?: string | undefined;
655
- } | {
656
- id: string;
657
- source: "agent" | "cezar";
658
- 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";
659
- registeredAt: string;
660
- phase: "cancelled" | "delivered" | "open" | "resolved";
661
- resolvedAt?: string | undefined;
662
- deliveredAt?: string | undefined;
663
- cancelledAt?: string | undefined;
664
- turnId: string;
665
- kind: "process";
666
- deadline: string;
667
- timeoutSeconds: number;
668
- pid: number;
669
- startToken?: string | undefined;
670
- exitFile?: string | undefined;
671
- note?: string | undefined;
672
- result?: {
673
- outcome: "deadline" | "error" | "exit_file" | "exited";
674
- observedAt: string;
675
- exitCode?: number | undefined;
676
- exitFileNote?: "not-an-exit-code" | undefined;
677
- diagnostic?: string | undefined;
678
- } | undefined;
679
- } | {
680
- id: string;
681
- source: "agent" | "cezar";
682
- 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";
683
- registeredAt: string;
684
- phase: "cancelled" | "delivered" | "open" | "resolved";
685
- resolvedAt?: string | undefined;
686
- deliveredAt?: string | undefined;
687
- cancelledAt?: string | undefined;
688
- turnId: string;
689
- kind: "peer";
690
- deadline: string;
691
- timeoutSeconds: number;
692
- peerIds: string[];
693
- result?: {
694
- reason: "message";
695
- peerRunId: string;
696
- messageId: string;
697
- } | {
698
- reason: "settled";
699
- peerRunId: string;
700
- } | {
701
- reason: "timeout";
702
- } | undefined;
703
- } | {
704
- id: string;
705
- registeredAt: string;
706
- phase: "cancelled" | "delivered" | "open" | "resolved";
707
- resolvedAt?: string | undefined;
708
- deliveredAt?: string | undefined;
709
- cancelledAt?: string | undefined;
710
- turnId: string;
711
- kind: "subagent";
712
- source: "cezar";
713
- via: "native-subagents";
714
- deadline: string;
715
- children: {
716
- id: string;
717
- status: "cancelled" | "completed" | "failed" | "running";
718
- }[];
719
- result?: {
720
- reason: "interrupted" | "settled" | "superseded" | "timeout";
721
- } | undefined;
722
- })[] | undefined;
723
- waitRegistrations?: {
724
- operationId: string;
725
- requestHash: string;
726
- wait: {
727
- prUrl: string;
728
- repository: string;
729
- prNumber: number;
730
- headSha: string;
731
- id: string;
732
- source: "agent" | "cezar";
733
- 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";
734
- registeredAt: string;
735
- phase: "cancelled" | "delivered" | "open" | "resolved";
736
- resolvedAt?: string | undefined;
737
- deliveredAt?: string | undefined;
738
- cancelledAt?: string | undefined;
739
- turnId: string;
740
- kind: "pr";
741
- deadline: string;
742
- generation: string;
743
- timeoutSeconds: number;
744
- until: "checks" | "merge" | "merge_or_blocked";
745
- wakeOnConflict: boolean;
746
- result?: {
747
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
748
- headSha: string;
749
- observedHeadSha?: string | undefined;
750
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
751
- mergeStateStatus?: string | undefined;
752
- mergedAt?: string | undefined;
753
- mergeCommitSha?: string | undefined;
754
- mergeBlock?: {
755
- reason: "conflict" | "no_pending_merge";
756
- isInMergeQueue: boolean;
757
- autoMergeEnabled: boolean;
758
- event?: {
759
- kind: "auto_merge_disabled" | "queue_removal";
760
- createdAt: string;
761
- reason?: string | undefined;
762
- reasonCode?: string | undefined;
763
- } | undefined;
764
- } | undefined;
765
- observedAt: string;
766
- checks: {
767
- name: string;
768
- state: string;
769
- link: string;
770
- }[];
771
- totalChecks: number;
772
- truncated: boolean;
773
- diagnostic?: string | undefined;
774
- } | undefined;
775
- } | {
776
- id: string;
777
- source: "agent" | "cezar";
778
- 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";
779
- registeredAt: string;
780
- phase: "cancelled" | "delivered" | "open" | "resolved";
781
- resolvedAt?: string | undefined;
782
- deliveredAt?: string | undefined;
783
- cancelledAt?: string | undefined;
784
- turnId: string;
785
- kind: "timer";
786
- deadline: string;
787
- seconds: number;
788
- note?: string | undefined;
789
- } | {
790
- id: string;
791
- source: "agent" | "cezar";
792
- 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";
793
- registeredAt: string;
794
- phase: "cancelled" | "delivered" | "open" | "resolved";
795
- resolvedAt?: string | undefined;
796
- deliveredAt?: string | undefined;
797
- cancelledAt?: string | undefined;
798
- turnId: string;
799
- kind: "human";
800
- questions?: {
801
- id?: string | undefined;
802
- header: string;
803
- question: string;
804
- options?: {
805
- label: string;
806
- description?: string | undefined;
807
- }[] | undefined;
808
- multiSelect?: boolean | undefined;
809
- }[] | undefined;
810
- context?: string | undefined;
811
- askSeq?: number | undefined;
812
- } | {
813
- id: string;
814
- source: "agent" | "cezar";
815
- 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";
816
- registeredAt: string;
817
- phase: "cancelled" | "delivered" | "open" | "resolved";
818
- resolvedAt?: string | undefined;
819
- deliveredAt?: string | undefined;
820
- cancelledAt?: string | undefined;
821
- turnId: string;
822
- kind: "worker";
823
- deadline?: string | undefined;
824
- timeoutSeconds?: number | undefined;
825
- mode?: "all" | "any" | "one" | undefined;
826
- workerIds?: string[] | undefined;
827
- revisions?: {
828
- workerId: string;
829
- revision: number;
830
- }[] | undefined;
831
- outcomes?: {
832
- workerId: string;
833
- status: "cancelled" | "done" | "failed" | "review";
834
- observedAt: string;
835
- summary?: string | undefined;
836
- revision?: number | undefined;
837
- }[] | undefined;
838
- requestIds?: string[] | undefined;
839
- requestOutcomes?: {
840
- requestId: string;
841
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
842
- observedAt: string;
843
- replyId?: string | undefined;
844
- }[] | undefined;
845
- result?: {
846
- reason: "outcome" | "timeout";
847
- } | undefined;
848
- wakeInputId?: string | undefined;
849
- } | {
850
- id: string;
851
- source: "agent" | "cezar";
852
- 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";
853
- registeredAt: string;
854
- phase: "cancelled" | "delivered" | "open" | "resolved";
855
- resolvedAt?: string | undefined;
856
- deliveredAt?: string | undefined;
857
- cancelledAt?: string | undefined;
858
- turnId: string;
859
- kind: "process";
860
- deadline: string;
861
- timeoutSeconds: number;
862
- pid: number;
863
- startToken?: string | undefined;
864
- exitFile?: string | undefined;
865
- note?: string | undefined;
866
- result?: {
867
- outcome: "deadline" | "error" | "exit_file" | "exited";
868
- observedAt: string;
869
- exitCode?: number | undefined;
870
- exitFileNote?: "not-an-exit-code" | undefined;
871
- diagnostic?: string | undefined;
872
- } | undefined;
873
- } | {
874
- id: string;
875
- source: "agent" | "cezar";
876
- 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";
877
- registeredAt: string;
878
- phase: "cancelled" | "delivered" | "open" | "resolved";
879
- resolvedAt?: string | undefined;
880
- deliveredAt?: string | undefined;
881
- cancelledAt?: string | undefined;
882
- turnId: string;
883
- kind: "peer";
884
- deadline: string;
885
- timeoutSeconds: number;
886
- peerIds: string[];
887
- result?: {
888
- reason: "message";
889
- peerRunId: string;
890
- messageId: string;
891
- } | {
892
- reason: "settled";
893
- peerRunId: string;
894
- } | {
895
- reason: "timeout";
896
- } | undefined;
897
- } | {
898
- id: string;
899
- registeredAt: string;
900
- phase: "cancelled" | "delivered" | "open" | "resolved";
901
- resolvedAt?: string | undefined;
902
- deliveredAt?: string | undefined;
903
- cancelledAt?: string | undefined;
904
- turnId: string;
905
- kind: "subagent";
906
- source: "cezar";
907
- via: "native-subagents";
908
- deadline: string;
909
- children: {
910
- id: string;
911
- status: "cancelled" | "completed" | "failed" | "running";
912
- }[];
913
- result?: {
914
- reason: "interrupted" | "settled" | "superseded" | "timeout";
915
- } | undefined;
916
- };
917
- deduplicated: boolean;
918
- }[] | undefined;
919
- lastWaits?: ({
920
- prUrl: string;
921
- repository: string;
922
- prNumber: number;
923
- headSha: string;
924
- id: string;
925
- source: "agent" | "cezar";
926
- 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";
927
- registeredAt: string;
928
- phase: "cancelled" | "delivered" | "open" | "resolved";
929
- resolvedAt?: string | undefined;
930
- deliveredAt?: string | undefined;
931
- cancelledAt?: string | undefined;
932
- turnId: string;
933
- kind: "pr";
934
- deadline: string;
935
- generation: string;
936
- timeoutSeconds: number;
937
- until: "checks" | "merge" | "merge_or_blocked";
938
- wakeOnConflict: boolean;
939
- result?: {
940
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
941
- headSha: string;
942
- observedHeadSha?: string | undefined;
943
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
944
- mergeStateStatus?: string | undefined;
945
- mergedAt?: string | undefined;
946
- mergeCommitSha?: string | undefined;
947
- mergeBlock?: {
948
- reason: "conflict" | "no_pending_merge";
949
- isInMergeQueue: boolean;
950
- autoMergeEnabled: boolean;
951
- event?: {
952
- kind: "auto_merge_disabled" | "queue_removal";
953
- createdAt: string;
954
- reason?: string | undefined;
955
- reasonCode?: string | undefined;
956
- } | undefined;
957
- } | undefined;
958
- observedAt: string;
959
- checks: {
960
- name: string;
961
- state: string;
962
- link: string;
963
- }[];
964
- totalChecks: number;
965
- truncated: boolean;
966
- diagnostic?: string | undefined;
967
- } | undefined;
968
- } | {
969
- id: string;
970
- source: "agent" | "cezar";
971
- 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";
972
- registeredAt: string;
973
- phase: "cancelled" | "delivered" | "open" | "resolved";
974
- resolvedAt?: string | undefined;
975
- deliveredAt?: string | undefined;
976
- cancelledAt?: string | undefined;
977
- turnId: string;
978
- kind: "timer";
979
- deadline: string;
980
- seconds: number;
981
- note?: string | undefined;
982
- } | {
983
- id: string;
984
- source: "agent" | "cezar";
985
- 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";
986
- registeredAt: string;
987
- phase: "cancelled" | "delivered" | "open" | "resolved";
988
- resolvedAt?: string | undefined;
989
- deliveredAt?: string | undefined;
990
- cancelledAt?: string | undefined;
991
- turnId: string;
992
- kind: "human";
993
- questions?: {
994
- id?: string | undefined;
995
- header: string;
996
- question: string;
997
- options?: {
998
- label: string;
999
- description?: string | undefined;
1000
- }[] | undefined;
1001
- multiSelect?: boolean | undefined;
1002
- }[] | undefined;
1003
- context?: string | undefined;
1004
- askSeq?: number | undefined;
1005
- } | {
1006
- id: string;
1007
- source: "agent" | "cezar";
1008
- 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";
1009
- registeredAt: string;
1010
- phase: "cancelled" | "delivered" | "open" | "resolved";
1011
- resolvedAt?: string | undefined;
1012
- deliveredAt?: string | undefined;
1013
- cancelledAt?: string | undefined;
1014
- turnId: string;
1015
- kind: "worker";
1016
- deadline?: string | undefined;
1017
- timeoutSeconds?: number | undefined;
1018
- mode?: "all" | "any" | "one" | undefined;
1019
- workerIds?: string[] | undefined;
1020
- revisions?: {
1021
- workerId: string;
1022
- revision: number;
1023
- }[] | undefined;
1024
- outcomes?: {
1025
- workerId: string;
1026
- status: "cancelled" | "done" | "failed" | "review";
1027
- observedAt: string;
1028
- summary?: string | undefined;
1029
- revision?: number | undefined;
1030
- }[] | undefined;
1031
- requestIds?: string[] | undefined;
1032
- requestOutcomes?: {
1033
- requestId: string;
1034
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1035
- observedAt: string;
1036
- replyId?: string | undefined;
1037
- }[] | undefined;
1038
- result?: {
1039
- reason: "outcome" | "timeout";
1040
- } | undefined;
1041
- wakeInputId?: string | undefined;
1042
- } | {
1043
- id: string;
1044
- source: "agent" | "cezar";
1045
- 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";
1046
- registeredAt: string;
1047
- phase: "cancelled" | "delivered" | "open" | "resolved";
1048
- resolvedAt?: string | undefined;
1049
- deliveredAt?: string | undefined;
1050
- cancelledAt?: string | undefined;
1051
- turnId: string;
1052
- kind: "process";
1053
- deadline: string;
1054
- timeoutSeconds: number;
1055
- pid: number;
1056
- startToken?: string | undefined;
1057
- exitFile?: string | undefined;
1058
- note?: string | undefined;
1059
- result?: {
1060
- outcome: "deadline" | "error" | "exit_file" | "exited";
1061
- observedAt: string;
1062
- exitCode?: number | undefined;
1063
- exitFileNote?: "not-an-exit-code" | undefined;
1064
- diagnostic?: string | undefined;
1065
- } | undefined;
1066
- } | {
1067
- id: string;
1068
- source: "agent" | "cezar";
1069
- 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";
1070
- registeredAt: string;
1071
- phase: "cancelled" | "delivered" | "open" | "resolved";
1072
- resolvedAt?: string | undefined;
1073
- deliveredAt?: string | undefined;
1074
- cancelledAt?: string | undefined;
1075
- turnId: string;
1076
- kind: "peer";
1077
- deadline: string;
1078
- timeoutSeconds: number;
1079
- peerIds: string[];
1080
- result?: {
1081
- reason: "message";
1082
- peerRunId: string;
1083
- messageId: string;
1084
- } | {
1085
- reason: "settled";
1086
- peerRunId: string;
1087
- } | {
1088
- reason: "timeout";
1089
- } | undefined;
1090
- } | {
1091
- id: string;
1092
- registeredAt: string;
1093
- phase: "cancelled" | "delivered" | "open" | "resolved";
1094
- resolvedAt?: string | undefined;
1095
- deliveredAt?: string | undefined;
1096
- cancelledAt?: string | undefined;
1097
- turnId: string;
1098
- kind: "subagent";
1099
- source: "cezar";
1100
- via: "native-subagents";
1101
- deadline: string;
1102
- children: {
1103
- id: string;
1104
- status: "cancelled" | "completed" | "failed" | "running";
1105
- }[];
1106
- result?: {
1107
- reason: "interrupted" | "settled" | "superseded" | "timeout";
1108
- } | undefined;
1109
- })[] | undefined;
1110
- lastWaitsError?: string | undefined;
1111
- automaticWakes?: number | undefined;
1112
- waitDeliveryFailures?: number | undefined;
1113
- previewServers?: {
1114
- port: number;
1115
- command: string;
1116
- cwd?: string | undefined;
1117
- label: string;
1118
- path?: string | undefined;
1119
- registeredAt: string;
1120
- answeredAtRegistration: boolean;
1121
- }[] | undefined;
1122
- taskImages?: string[] | undefined;
1123
- model?: string | undefined;
1124
- effort?: string | undefined;
1125
- modelIdentity?: string | undefined;
1126
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1127
- agentProfile?: string | undefined;
1128
- systemPrompt?: string | undefined;
1129
- generateFollowups?: boolean | undefined;
1130
- autonomous?: boolean | undefined;
1131
- completionAction?: {
1132
- id: string;
1133
- phase: "blocked" | "complete" | "pending";
1134
- message?: string | undefined;
1135
- } | undefined;
1136
- archiveBlocker?: {
1137
- message: string;
1138
- runId?: string | undefined;
1139
- pullRequestUrl?: string | undefined;
1140
- } | undefined;
1141
- automation?: {
1142
- automationId: string;
1143
- automationRevision: number;
1144
- receiptId: string;
1145
- event: string;
1146
- githubUrl: string;
1147
- } | undefined;
1148
- automationTrigger?: {
1149
- automationId: string;
1150
- automationRevision: number;
1151
- receiptId: string;
1152
- trigger: "catch-up" | "manual" | "schedule";
1153
- occurrenceAt: string;
1154
- } | undefined;
1155
- destroyRetry?: {
1156
- attempts: number;
1157
- nextAt: string;
1158
- needsAttention?: true | undefined;
1159
- } | undefined;
1160
- notify?: boolean | undefined;
1161
- webhook?: {
1162
- lastDeliveredAt?: string | undefined;
1163
- lastError?: string | undefined;
1164
- lastErrorWebhookId?: string | undefined;
1165
- } | undefined;
1166
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
1167
- hasPendingPermission?: boolean | undefined;
1168
- autoResumeAt?: string | undefined;
1169
- autoResumeAttempts?: number | undefined;
1170
- createdAt: string;
1171
- startedAt?: string | undefined;
1172
- finishedAt?: string | undefined;
1173
- tokensUsed: number;
1174
- inputTokens?: number | undefined;
1175
- outputTokens?: number | undefined;
1176
- costUsd?: number | undefined;
1177
- pullRequestUrl?: string | undefined;
1178
- pullRequests?: {
1179
- number: number;
1180
- url?: string | undefined;
1181
- source: "created" | "declared";
1182
- }[] | undefined;
1183
- referencedPullRequestUrl?: string | undefined;
1184
- prNumber?: number | undefined;
1185
- issueNumber?: number | undefined;
1186
- referencedIssueNumberSeeded?: boolean | undefined;
1187
- titleOrigin?: "auto" | "marker" | "user" | undefined;
1188
- markerRefs?: {
1189
- pr?: number | undefined;
1190
- issue?: number | undefined;
1191
- } | undefined;
1192
- referencedPrCandidates?: string[] | undefined;
1193
- referencedIssueUrl?: string | undefined;
1194
- referencedIssueCandidates?: string[] | undefined;
1195
- worktree?: false | undefined;
1196
- worktreePath?: string | undefined;
1197
- branch?: string | undefined;
1198
- baseBranch?: string | undefined;
1199
- worktreeReclaimedAt?: string | undefined;
1200
- worktreeSetup?: {
1201
- status: "done" | "failed" | "running";
1202
- startedAt: string;
1203
- finishedAt?: string | undefined;
1204
- durationMs?: number | undefined;
1205
- error?: string | undefined;
1206
- } | undefined;
1207
- groupId?: string | undefined;
1208
- variant?: string | undefined;
1209
- clientRequestId?: string | undefined;
1210
- clientRequestHash?: string | undefined;
1211
- peakRssBytes?: number | undefined;
1212
- peakProcCount?: number | undefined;
1213
- archived: boolean;
1214
- archivedAt?: string | undefined;
1215
- autoArchive?: {
1216
- reason: "pull-requests-merged";
1217
- archivedAt: string;
1218
- fingerprint: string;
1219
- pullRequests: {
1220
- owner: string;
1221
- repo: string;
1222
- number: number;
1223
- mergedAt: string;
1224
- }[];
1225
- } | undefined;
1226
- manualUnarchivedAt?: string | undefined;
1227
- pinned?: boolean | undefined;
1228
- pinnedAt?: string | undefined;
1229
- seenAt?: string | undefined;
1230
- currentStepId?: string | undefined;
1231
- error?: string | undefined;
1232
- steps: {
1233
- id: string;
1234
- name: string;
1235
- kind: "agent" | "check";
1236
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
1237
- iterations: number;
1238
- retriesUsed?: number | undefined;
1239
- tokensUsed: number;
1240
- inputTokens?: number | undefined;
1241
- outputTokens?: number | undefined;
1242
- usageInvocationsStarted?: number | undefined;
1243
- usageInvocationsObserved?: number | undefined;
1244
- usageTurnsStarted?: number | undefined;
1245
- usageTurnsRecorded?: number | undefined;
1246
- usageInvocationEpoch?: number | undefined;
1247
- startedAt?: string | undefined;
1248
- finishedAt?: string | undefined;
1249
- error?: string | undefined;
1250
- sessionId?: string | undefined;
1251
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
1252
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1253
- profileId?: string | undefined;
1254
- costUsd?: number | undefined;
1255
- synthetic?: "continuation" | undefined;
1256
- }[];
1257
- workflowDef?: {
1258
- name: string;
1259
- description?: string | undefined;
1260
- steps: {
1261
- id: string;
1262
- name?: string | undefined;
1263
- prompt?: string | undefined;
1264
- skill?: string | undefined;
1265
- model?: string | undefined;
1266
- effort?: string | undefined;
1267
- timeoutMs?: number | undefined;
1268
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1269
- agentProfile?: string | undefined;
1270
- allowedTools?: string[] | undefined;
1271
- bashAllowlist?: string[] | undefined;
1272
- command?: string | undefined;
1273
- onFail?: {
1274
- retry: string;
1275
- max: number;
1276
- } | undefined;
1277
- }[];
1278
- source: "built-in" | "file";
1279
- path?: string | undefined;
1280
- } | undefined;
1281
- handoffRecords?: {
1282
- autosave: {
1283
- at: string;
1284
- note: string;
1285
- periodic?: {
1286
- branch: string | null;
1287
- count: number;
1288
- first: string | null;
1289
- latest: string | null;
1290
- } | undefined;
1291
- }[];
1292
- } | undefined;
1293
- }) => {
1294
- archiveWhenDone?: boolean | undefined;
1295
- autoMergePr?: boolean | undefined;
1296
- allowWorkers?: boolean | undefined;
1297
- allowMessaging?: boolean | undefined;
1298
- id: string;
1299
- title: string;
1300
- titleSummary?: string | undefined;
1301
- diffStat?: {
1302
- adds: number;
1303
- dels: number;
1304
- files: number;
1305
- repointed?: boolean | undefined;
1306
- } | undefined;
1307
- workflow: string;
1308
- task: string;
1309
- queuedMessages?: {
1310
- id: string;
1311
- text: string;
1312
- images?: string[] | undefined;
1313
- createdAt: string;
1314
- }[] | undefined;
1315
- stopping?: boolean | undefined;
1316
- continuationMessage?: {
1317
- id: string;
1318
- text: string;
1319
- images?: string[] | undefined;
1320
- createdAt: string;
1321
- origin?: "human" | "lifecycle" | undefined;
1322
- agentInputId?: string | undefined;
1323
- resumeContext?: {
1324
- failure?: {
1325
- stepId?: string | undefined;
1326
- error: string;
1327
- } | undefined;
1328
- restarted?: true | undefined;
1329
- } | undefined;
1330
- } | undefined;
1331
- workflowResumeStepId?: string | undefined;
1332
- invalidAsk?: boolean | undefined;
1333
- delegation?: {
1334
- role: "root";
1335
- conversation?: {
1336
- messages: {
1337
- senderRunId: string;
1338
- recipientRunId: string;
1339
- kind: "follow-up" | "progress" | "reply" | "request";
1340
- requestId?: string | undefined;
1341
- relationship?: "family" | "peer" | undefined;
1342
- id: string;
1343
- text: string;
1344
- createdAt: string;
1345
- deadline?: string | undefined;
1346
- requestHash: string;
1347
- state: "accepted" | "continuation-required" | "destroyed" | "late";
1348
- resumed?: true | undefined;
1349
- instruction?: string | undefined;
1350
- question?: {
1351
- context?: string | undefined;
1352
- questions: {
1353
- id?: string | undefined;
1354
- header: string;
1355
- question: string;
1356
- options?: {
1357
- label: string;
1358
- description?: string | undefined;
1359
- }[] | undefined;
1360
- multiSelect?: boolean | undefined;
1361
- }[];
1362
- } | undefined;
1363
- }[];
1364
- outcomes: {
1365
- requestId: string;
1366
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1367
- observedAt: string;
1368
- replyId?: string | undefined;
1369
- }[];
1370
- } | undefined;
1371
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
1372
- receipts: {
1373
- requestId: string;
1374
- workerId: string;
1375
- requestHash: string;
1376
- deletion?: {
1377
- phase: "complete" | "pending";
1378
- revision: number;
1379
- resourceId: string;
1380
- generation: string;
1381
- } | undefined;
1382
- }[];
1383
- wait?: {
1384
- id: string;
1385
- workerIds: string[];
1386
- requestIds?: string[] | undefined;
1387
- requestOutcomes?: {
1388
- requestId: string;
1389
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1390
- observedAt: string;
1391
- replyId?: string | undefined;
1392
- }[] | undefined;
1393
- deadline: string;
1394
- mode?: "all" | "any" | "one" | undefined;
1395
- revisions?: {
1396
- workerId: string;
1397
- revision: number;
1398
- }[] | undefined;
1399
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1400
- phase: "parked" | "registered" | "wake-pending";
1401
- outcomes: {
1402
- workerId: string;
1403
- status: "cancelled" | "done" | "failed" | "review";
1404
- observedAt: string;
1405
- summary?: string | undefined;
1406
- revision?: number | undefined;
1407
- }[];
1408
- wakeId?: string | undefined;
1409
- } | undefined;
1410
- lastWait?: {
1411
- id: string;
1412
- workerIds: string[];
1413
- requestIds?: string[] | undefined;
1414
- requestOutcomes?: {
1415
- requestId: string;
1416
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1417
- observedAt: string;
1418
- replyId?: string | undefined;
1419
- }[] | undefined;
1420
- deadline: string;
1421
- mode?: "all" | "any" | "one" | undefined;
1422
- revisions?: {
1423
- workerId: string;
1424
- revision: number;
1425
- }[] | undefined;
1426
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1427
- phase: "parked" | "registered" | "wake-pending";
1428
- outcomes: {
1429
- workerId: string;
1430
- status: "cancelled" | "done" | "failed" | "review";
1431
- observedAt: string;
1432
- summary?: string | undefined;
1433
- revision?: number | undefined;
1434
- }[];
1435
- wakeId?: string | undefined;
1436
- } | undefined;
1437
- results?: {
1438
- workerId: string;
1439
- revision: number;
1440
- snapshotId: string;
1441
- observedAt: string;
1442
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
1443
- previous?: {
1444
- revision: number;
1445
- observedAt: string;
1446
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
1447
- } | undefined;
1448
- }[] | undefined;
1449
- finishRequestedAt?: string | undefined;
1450
- historyDeletion?: "pending" | undefined;
1451
- completion?: {
1452
- phase: "attention" | "waiting";
1453
- waitId?: string | undefined;
1454
- } | undefined;
1455
- } | {
1456
- role: "worker";
1457
- wait?: {
1458
- id: string;
1459
- workerIds: string[];
1460
- requestIds?: string[] | undefined;
1461
- requestOutcomes?: {
1462
- requestId: string;
1463
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1464
- observedAt: string;
1465
- replyId?: string | undefined;
1466
- }[] | undefined;
1467
- deadline: string;
1468
- mode?: "all" | "any" | "one" | undefined;
1469
- revisions?: {
1470
- workerId: string;
1471
- revision: number;
1472
- }[] | undefined;
1473
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1474
- phase: "parked" | "registered" | "wake-pending";
1475
- outcomes: {
1476
- workerId: string;
1477
- status: "cancelled" | "done" | "failed" | "review";
1478
- observedAt: string;
1479
- summary?: string | undefined;
1480
- revision?: number | undefined;
1481
- }[];
1482
- wakeId?: string | undefined;
1483
- } | undefined;
1484
- lastWait?: {
1485
- id: string;
1486
- workerIds: string[];
1487
- requestIds?: string[] | undefined;
1488
- requestOutcomes?: {
1489
- requestId: string;
1490
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1491
- observedAt: string;
1492
- replyId?: string | undefined;
1493
- }[] | undefined;
1494
- deadline: string;
1495
- mode?: "all" | "any" | "one" | undefined;
1496
- revisions?: {
1497
- workerId: string;
1498
- revision: number;
1499
- }[] | undefined;
1500
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1501
- phase: "parked" | "registered" | "wake-pending";
1502
- outcomes: {
1503
- workerId: string;
1504
- status: "cancelled" | "done" | "failed" | "review";
1505
- observedAt: string;
1506
- summary?: string | undefined;
1507
- revision?: number | undefined;
1508
- }[];
1509
- wakeId?: string | undefined;
1510
- } | undefined;
1511
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
1512
- parentRunId: string;
1513
- workspace: {
1514
- ownerRunId: string;
1515
- resourceId: string;
1516
- kind: "owned-isolated";
1517
- path: string;
1518
- branch: string;
1519
- baselineSha: string;
1520
- };
1521
- destroy?: {
1522
- requestedAt: string;
1523
- phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
1524
- remaining: ("branch" | "process" | "worktree")[];
1525
- error?: string | undefined;
1526
- } | undefined;
1527
- context?: {
1528
- text?: string | undefined;
1529
- inputs: {
1530
- source: {
1531
- kind: "parent-file";
1532
- path: string;
1533
- } | {
1534
- kind: "baseline-file";
1535
- path: string;
1536
- } | {
1537
- kind: "parent-attachment";
1538
- id: string;
1539
- };
1540
- path: string;
1541
- sha256: string;
1542
- bytes: number;
1543
- }[];
1544
- } | undefined;
1545
- executionRevision?: number | undefined;
1546
- executionStartSeq?: number | undefined;
1547
- } | {
1548
- role: "invalid";
1549
- } | undefined;
1550
- agentInputs?: {
1551
- conversation?: {
1552
- senderRunId: string;
1553
- recipientRunId: string;
1554
- kind: "follow-up" | "progress" | "reply" | "request";
1555
- requestId?: string | undefined;
1556
- relationship?: "family" | "peer" | undefined;
1557
- } | undefined;
1558
- id: string;
1559
- source: "agent" | "lifecycle";
1560
- parentRunId: string;
1561
- text: string;
1562
- createdAt: string;
1563
- deliveredAt?: string | undefined;
1564
- consumedAt?: string | undefined;
1565
- awaitingRead?: true | undefined;
1566
- inboxClaim?: {
1567
- receiptId: string;
1568
- generation: string;
1569
- expiresAt: string;
1570
- acknowledgedAt?: string | undefined;
1571
- memberIds?: string[] | undefined;
1572
- } | undefined;
1573
- purpose?: "completion-refusal" | "undelivered-question" | undefined;
1574
- requestHash?: string | undefined;
1575
- deadline?: string | undefined;
1576
- }[] | undefined;
1577
- waits?: ({
1578
- prUrl: string;
1579
- repository: string;
1580
- prNumber: number;
1581
- headSha: string;
1582
- id: string;
1583
- source: "agent" | "cezar";
1584
- 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";
1585
- registeredAt: string;
1586
- phase: "cancelled" | "delivered" | "open" | "resolved";
1587
- resolvedAt?: string | undefined;
1588
- deliveredAt?: string | undefined;
1589
- cancelledAt?: string | undefined;
1590
- turnId: string;
1591
- kind: "pr";
1592
- deadline: string;
1593
- generation: string;
1594
- timeoutSeconds: number;
1595
- until: "checks" | "merge" | "merge_or_blocked";
1596
- wakeOnConflict: boolean;
1597
- result?: {
1598
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
1599
- headSha: string;
1600
- observedHeadSha?: string | undefined;
1601
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
1602
- mergeStateStatus?: string | undefined;
1603
- mergedAt?: string | undefined;
1604
- mergeCommitSha?: string | undefined;
1605
- mergeBlock?: {
1606
- reason: "conflict" | "no_pending_merge";
1607
- isInMergeQueue: boolean;
1608
- autoMergeEnabled: boolean;
1609
- event?: {
1610
- kind: "auto_merge_disabled" | "queue_removal";
1611
- createdAt: string;
1612
- reason?: string | undefined;
1613
- reasonCode?: string | undefined;
1614
- } | undefined;
1615
- } | undefined;
1616
- observedAt: string;
1617
- checks: {
1618
- name: string;
1619
- state: string;
1620
- link: string;
1621
- }[];
1622
- totalChecks: number;
1623
- truncated: boolean;
1624
- diagnostic?: string | undefined;
1625
- } | undefined;
1626
- } | {
1627
- id: string;
1628
- source: "agent" | "cezar";
1629
- 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";
1630
- registeredAt: string;
1631
- phase: "cancelled" | "delivered" | "open" | "resolved";
1632
- resolvedAt?: string | undefined;
1633
- deliveredAt?: string | undefined;
1634
- cancelledAt?: string | undefined;
1635
- turnId: string;
1636
- kind: "timer";
1637
- deadline: string;
1638
- seconds: number;
1639
- note?: string | undefined;
1640
- } | {
1641
- id: string;
1642
- source: "agent" | "cezar";
1643
- 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";
1644
- registeredAt: string;
1645
- phase: "cancelled" | "delivered" | "open" | "resolved";
1646
- resolvedAt?: string | undefined;
1647
- deliveredAt?: string | undefined;
1648
- cancelledAt?: string | undefined;
1649
- turnId: string;
1650
- kind: "human";
1651
- questions?: {
1652
- id?: string | undefined;
1653
- header: string;
1654
- question: string;
1655
- options?: {
1656
- label: string;
1657
- description?: string | undefined;
1658
- }[] | undefined;
1659
- multiSelect?: boolean | undefined;
1660
- }[] | undefined;
1661
- context?: string | undefined;
1662
- askSeq?: number | undefined;
1663
- } | {
1664
- id: string;
1665
- source: "agent" | "cezar";
1666
- 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";
1667
- registeredAt: string;
1668
- phase: "cancelled" | "delivered" | "open" | "resolved";
1669
- resolvedAt?: string | undefined;
1670
- deliveredAt?: string | undefined;
1671
- cancelledAt?: string | undefined;
1672
- turnId: string;
1673
- kind: "worker";
1674
- deadline?: string | undefined;
1675
- timeoutSeconds?: number | undefined;
1676
- mode?: "all" | "any" | "one" | undefined;
1677
- workerIds?: string[] | undefined;
1678
- revisions?: {
1679
- workerId: string;
1680
- revision: number;
1681
- }[] | undefined;
1682
- outcomes?: {
1683
- workerId: string;
1684
- status: "cancelled" | "done" | "failed" | "review";
1685
- observedAt: string;
1686
- summary?: string | undefined;
1687
- revision?: number | undefined;
1688
- }[] | undefined;
1689
- requestIds?: string[] | undefined;
1690
- requestOutcomes?: {
1691
- requestId: string;
1692
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1693
- observedAt: string;
1694
- replyId?: string | undefined;
1695
- }[] | undefined;
1696
- result?: {
1697
- reason: "outcome" | "timeout";
1698
- } | undefined;
1699
- wakeInputId?: string | undefined;
1700
- } | {
1701
- id: string;
1702
- source: "agent" | "cezar";
1703
- 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";
1704
- registeredAt: string;
1705
- phase: "cancelled" | "delivered" | "open" | "resolved";
1706
- resolvedAt?: string | undefined;
1707
- deliveredAt?: string | undefined;
1708
- cancelledAt?: string | undefined;
1709
- turnId: string;
1710
- kind: "process";
1711
- deadline: string;
1712
- timeoutSeconds: number;
1713
- pid: number;
1714
- startToken?: string | undefined;
1715
- exitFile?: string | undefined;
1716
- note?: string | undefined;
1717
- result?: {
1718
- outcome: "deadline" | "error" | "exit_file" | "exited";
1719
- observedAt: string;
1720
- exitCode?: number | undefined;
1721
- exitFileNote?: "not-an-exit-code" | undefined;
1722
- diagnostic?: string | undefined;
1723
- } | undefined;
1724
- } | {
1725
- id: string;
1726
- source: "agent" | "cezar";
1727
- 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";
1728
- registeredAt: string;
1729
- phase: "cancelled" | "delivered" | "open" | "resolved";
1730
- resolvedAt?: string | undefined;
1731
- deliveredAt?: string | undefined;
1732
- cancelledAt?: string | undefined;
1733
- turnId: string;
1734
- kind: "peer";
1735
- deadline: string;
1736
- timeoutSeconds: number;
1737
- peerIds: string[];
1738
- result?: {
1739
- reason: "message";
1740
- peerRunId: string;
1741
- messageId: string;
1742
- } | {
1743
- reason: "settled";
1744
- peerRunId: string;
1745
- } | {
1746
- reason: "timeout";
1747
- } | undefined;
1748
- } | {
1749
- id: string;
1750
- registeredAt: string;
1751
- phase: "cancelled" | "delivered" | "open" | "resolved";
1752
- resolvedAt?: string | undefined;
1753
- deliveredAt?: string | undefined;
1754
- cancelledAt?: string | undefined;
1755
- turnId: string;
1756
- kind: "subagent";
1757
- source: "cezar";
1758
- via: "native-subagents";
1759
- deadline: string;
1760
- children: {
1761
- id: string;
1762
- status: "cancelled" | "completed" | "failed" | "running";
1763
- }[];
1764
- result?: {
1765
- reason: "interrupted" | "settled" | "superseded" | "timeout";
1766
- } | undefined;
1767
- })[] | undefined;
1768
- waitRegistrations?: {
1769
- operationId: string;
1770
- requestHash: string;
1771
- wait: {
1772
- prUrl: string;
1773
- repository: string;
1774
- prNumber: number;
1775
- headSha: string;
1776
- id: string;
1777
- source: "agent" | "cezar";
1778
- 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";
1779
- registeredAt: string;
1780
- phase: "cancelled" | "delivered" | "open" | "resolved";
1781
- resolvedAt?: string | undefined;
1782
- deliveredAt?: string | undefined;
1783
- cancelledAt?: string | undefined;
1784
- turnId: string;
1785
- kind: "pr";
1786
- deadline: string;
1787
- generation: string;
1788
- timeoutSeconds: number;
1789
- until: "checks" | "merge" | "merge_or_blocked";
1790
- wakeOnConflict: boolean;
1791
- result?: {
1792
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
1793
- headSha: string;
1794
- observedHeadSha?: string | undefined;
1795
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
1796
- mergeStateStatus?: string | undefined;
1797
- mergedAt?: string | undefined;
1798
- mergeCommitSha?: string | undefined;
1799
- mergeBlock?: {
1800
- reason: "conflict" | "no_pending_merge";
1801
- isInMergeQueue: boolean;
1802
- autoMergeEnabled: boolean;
1803
- event?: {
1804
- kind: "auto_merge_disabled" | "queue_removal";
1805
- createdAt: string;
1806
- reason?: string | undefined;
1807
- reasonCode?: string | undefined;
1808
- } | undefined;
1809
- } | undefined;
1810
- observedAt: string;
1811
- checks: {
1812
- name: string;
1813
- state: string;
1814
- link: string;
1815
- }[];
1816
- totalChecks: number;
1817
- truncated: boolean;
1818
- diagnostic?: string | undefined;
1819
- } | undefined;
1820
- } | {
1821
- id: string;
1822
- source: "agent" | "cezar";
1823
- 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";
1824
- registeredAt: string;
1825
- phase: "cancelled" | "delivered" | "open" | "resolved";
1826
- resolvedAt?: string | undefined;
1827
- deliveredAt?: string | undefined;
1828
- cancelledAt?: string | undefined;
1829
- turnId: string;
1830
- kind: "timer";
1831
- deadline: string;
1832
- seconds: number;
1833
- note?: string | undefined;
1834
- } | {
1835
- id: string;
1836
- source: "agent" | "cezar";
1837
- 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";
1838
- registeredAt: string;
1839
- phase: "cancelled" | "delivered" | "open" | "resolved";
1840
- resolvedAt?: string | undefined;
1841
- deliveredAt?: string | undefined;
1842
- cancelledAt?: string | undefined;
1843
- turnId: string;
1844
- kind: "human";
1845
- questions?: {
1846
- id?: string | undefined;
1847
- header: string;
1848
- question: string;
1849
- options?: {
1850
- label: string;
1851
- description?: string | undefined;
1852
- }[] | undefined;
1853
- multiSelect?: boolean | undefined;
1854
- }[] | undefined;
1855
- context?: string | undefined;
1856
- askSeq?: number | undefined;
1857
- } | {
1858
- id: string;
1859
- source: "agent" | "cezar";
1860
- 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";
1861
- registeredAt: string;
1862
- phase: "cancelled" | "delivered" | "open" | "resolved";
1863
- resolvedAt?: string | undefined;
1864
- deliveredAt?: string | undefined;
1865
- cancelledAt?: string | undefined;
1866
- turnId: string;
1867
- kind: "worker";
1868
- deadline?: string | undefined;
1869
- timeoutSeconds?: number | undefined;
1870
- mode?: "all" | "any" | "one" | undefined;
1871
- workerIds?: string[] | undefined;
1872
- revisions?: {
1873
- workerId: string;
1874
- revision: number;
1875
- }[] | undefined;
1876
- outcomes?: {
1877
- workerId: string;
1878
- status: "cancelled" | "done" | "failed" | "review";
1879
- observedAt: string;
1880
- summary?: string | undefined;
1881
- revision?: number | undefined;
1882
- }[] | undefined;
1883
- requestIds?: string[] | undefined;
1884
- requestOutcomes?: {
1885
- requestId: string;
1886
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1887
- observedAt: string;
1888
- replyId?: string | undefined;
1889
- }[] | undefined;
1890
- result?: {
1891
- reason: "outcome" | "timeout";
1892
- } | undefined;
1893
- wakeInputId?: string | undefined;
1894
- } | {
1895
- id: string;
1896
- source: "agent" | "cezar";
1897
- 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";
1898
- registeredAt: string;
1899
- phase: "cancelled" | "delivered" | "open" | "resolved";
1900
- resolvedAt?: string | undefined;
1901
- deliveredAt?: string | undefined;
1902
- cancelledAt?: string | undefined;
1903
- turnId: string;
1904
- kind: "process";
1905
- deadline: string;
1906
- timeoutSeconds: number;
1907
- pid: number;
1908
- startToken?: string | undefined;
1909
- exitFile?: string | undefined;
1910
- note?: string | undefined;
1911
- result?: {
1912
- outcome: "deadline" | "error" | "exit_file" | "exited";
1913
- observedAt: string;
1914
- exitCode?: number | undefined;
1915
- exitFileNote?: "not-an-exit-code" | undefined;
1916
- diagnostic?: string | undefined;
1917
- } | undefined;
1918
- } | {
1919
- id: string;
1920
- source: "agent" | "cezar";
1921
- 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";
1922
- registeredAt: string;
1923
- phase: "cancelled" | "delivered" | "open" | "resolved";
1924
- resolvedAt?: string | undefined;
1925
- deliveredAt?: string | undefined;
1926
- cancelledAt?: string | undefined;
1927
- turnId: string;
1928
- kind: "peer";
1929
- deadline: string;
1930
- timeoutSeconds: number;
1931
- peerIds: string[];
1932
- result?: {
1933
- reason: "message";
1934
- peerRunId: string;
1935
- messageId: string;
1936
- } | {
1937
- reason: "settled";
1938
- peerRunId: string;
1939
- } | {
1940
- reason: "timeout";
1941
- } | undefined;
1942
- } | {
1943
- id: string;
1944
- registeredAt: string;
1945
- phase: "cancelled" | "delivered" | "open" | "resolved";
1946
- resolvedAt?: string | undefined;
1947
- deliveredAt?: string | undefined;
1948
- cancelledAt?: string | undefined;
1949
- turnId: string;
1950
- kind: "subagent";
1951
- source: "cezar";
1952
- via: "native-subagents";
1953
- deadline: string;
1954
- children: {
1955
- id: string;
1956
- status: "cancelled" | "completed" | "failed" | "running";
1957
- }[];
1958
- result?: {
1959
- reason: "interrupted" | "settled" | "superseded" | "timeout";
1960
- } | undefined;
1961
- };
1962
- deduplicated: boolean;
1963
- }[] | undefined;
1964
- lastWaits?: ({
1965
- prUrl: string;
1966
- repository: string;
1967
- prNumber: number;
1968
- headSha: string;
1969
- id: string;
1970
- source: "agent" | "cezar";
1971
- 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";
1972
- registeredAt: string;
1973
- phase: "cancelled" | "delivered" | "open" | "resolved";
1974
- resolvedAt?: string | undefined;
1975
- deliveredAt?: string | undefined;
1976
- cancelledAt?: string | undefined;
1977
- turnId: string;
1978
- kind: "pr";
1979
- deadline: string;
1980
- generation: string;
1981
- timeoutSeconds: number;
1982
- until: "checks" | "merge" | "merge_or_blocked";
1983
- wakeOnConflict: boolean;
1984
- result?: {
1985
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
1986
- headSha: string;
1987
- observedHeadSha?: string | undefined;
1988
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
1989
- mergeStateStatus?: string | undefined;
1990
- mergedAt?: string | undefined;
1991
- mergeCommitSha?: string | undefined;
1992
- mergeBlock?: {
1993
- reason: "conflict" | "no_pending_merge";
1994
- isInMergeQueue: boolean;
1995
- autoMergeEnabled: boolean;
1996
- event?: {
1997
- kind: "auto_merge_disabled" | "queue_removal";
1998
- createdAt: string;
1999
- reason?: string | undefined;
2000
- reasonCode?: string | undefined;
2001
- } | undefined;
2002
- } | undefined;
2003
- observedAt: string;
2004
- checks: {
2005
- name: string;
2006
- state: string;
2007
- link: string;
2008
- }[];
2009
- totalChecks: number;
2010
- truncated: boolean;
2011
- diagnostic?: string | undefined;
2012
- } | undefined;
2013
- } | {
2014
- id: string;
2015
- source: "agent" | "cezar";
2016
- 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";
2017
- registeredAt: string;
2018
- phase: "cancelled" | "delivered" | "open" | "resolved";
2019
- resolvedAt?: string | undefined;
2020
- deliveredAt?: string | undefined;
2021
- cancelledAt?: string | undefined;
2022
- turnId: string;
2023
- kind: "timer";
2024
- deadline: string;
2025
- seconds: number;
2026
- note?: string | undefined;
2027
- } | {
2028
- id: string;
2029
- source: "agent" | "cezar";
2030
- 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";
2031
- registeredAt: string;
2032
- phase: "cancelled" | "delivered" | "open" | "resolved";
2033
- resolvedAt?: string | undefined;
2034
- deliveredAt?: string | undefined;
2035
- cancelledAt?: string | undefined;
2036
- turnId: string;
2037
- kind: "human";
2038
- questions?: {
2039
- id?: string | undefined;
2040
- header: string;
2041
- question: string;
2042
- options?: {
2043
- label: string;
2044
- description?: string | undefined;
2045
- }[] | undefined;
2046
- multiSelect?: boolean | undefined;
2047
- }[] | undefined;
2048
- context?: string | undefined;
2049
- askSeq?: number | undefined;
2050
- } | {
2051
- id: string;
2052
- source: "agent" | "cezar";
2053
- 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";
2054
- registeredAt: string;
2055
- phase: "cancelled" | "delivered" | "open" | "resolved";
2056
- resolvedAt?: string | undefined;
2057
- deliveredAt?: string | undefined;
2058
- cancelledAt?: string | undefined;
2059
- turnId: string;
2060
- kind: "worker";
2061
- deadline?: string | undefined;
2062
- timeoutSeconds?: number | undefined;
2063
- mode?: "all" | "any" | "one" | undefined;
2064
- workerIds?: string[] | undefined;
2065
- revisions?: {
2066
- workerId: string;
2067
- revision: number;
2068
- }[] | undefined;
2069
- outcomes?: {
2070
- workerId: string;
2071
- status: "cancelled" | "done" | "failed" | "review";
2072
- observedAt: string;
2073
- summary?: string | undefined;
2074
- revision?: number | undefined;
2075
- }[] | undefined;
2076
- requestIds?: string[] | undefined;
2077
- requestOutcomes?: {
2078
- requestId: string;
2079
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
2080
- observedAt: string;
2081
- replyId?: string | undefined;
2082
- }[] | undefined;
2083
- result?: {
2084
- reason: "outcome" | "timeout";
2085
- } | undefined;
2086
- wakeInputId?: string | undefined;
2087
- } | {
2088
- id: string;
2089
- source: "agent" | "cezar";
2090
- 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";
2091
- registeredAt: string;
2092
- phase: "cancelled" | "delivered" | "open" | "resolved";
2093
- resolvedAt?: string | undefined;
2094
- deliveredAt?: string | undefined;
2095
- cancelledAt?: string | undefined;
2096
- turnId: string;
2097
- kind: "process";
2098
- deadline: string;
2099
- timeoutSeconds: number;
2100
- pid: number;
2101
- startToken?: string | undefined;
2102
- exitFile?: string | undefined;
2103
- note?: string | undefined;
2104
- result?: {
2105
- outcome: "deadline" | "error" | "exit_file" | "exited";
2106
- observedAt: string;
2107
- exitCode?: number | undefined;
2108
- exitFileNote?: "not-an-exit-code" | undefined;
2109
- diagnostic?: string | undefined;
2110
- } | undefined;
2111
- } | {
2112
- id: string;
2113
- source: "agent" | "cezar";
2114
- 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";
2115
- registeredAt: string;
2116
- phase: "cancelled" | "delivered" | "open" | "resolved";
2117
- resolvedAt?: string | undefined;
2118
- deliveredAt?: string | undefined;
2119
- cancelledAt?: string | undefined;
2120
- turnId: string;
2121
- kind: "peer";
2122
- deadline: string;
2123
- timeoutSeconds: number;
2124
- peerIds: string[];
2125
- result?: {
2126
- reason: "message";
2127
- peerRunId: string;
2128
- messageId: string;
2129
- } | {
2130
- reason: "settled";
2131
- peerRunId: string;
2132
- } | {
2133
- reason: "timeout";
2134
- } | undefined;
2135
- } | {
2136
- id: string;
2137
- registeredAt: string;
2138
- phase: "cancelled" | "delivered" | "open" | "resolved";
2139
- resolvedAt?: string | undefined;
2140
- deliveredAt?: string | undefined;
2141
- cancelledAt?: string | undefined;
2142
- turnId: string;
2143
- kind: "subagent";
2144
- source: "cezar";
2145
- via: "native-subagents";
2146
- deadline: string;
2147
- children: {
2148
- id: string;
2149
- status: "cancelled" | "completed" | "failed" | "running";
2150
- }[];
2151
- result?: {
2152
- reason: "interrupted" | "settled" | "superseded" | "timeout";
2153
- } | undefined;
2154
- })[] | undefined;
2155
- lastWaitsError?: string | undefined;
2156
- automaticWakes?: number | undefined;
2157
- waitDeliveryFailures?: number | undefined;
2158
- previewServers?: {
2159
- port: number;
2160
- command: string;
2161
- cwd?: string | undefined;
2162
- label: string;
2163
- path?: string | undefined;
2164
- registeredAt: string;
2165
- answeredAtRegistration: boolean;
2166
- }[] | undefined;
2167
- taskImages?: string[] | undefined;
2168
- model?: string | undefined;
2169
- effort?: string | undefined;
2170
- modelIdentity?: string | undefined;
2171
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
2172
- agentProfile?: string | undefined;
2173
- systemPrompt?: string | undefined;
2174
- generateFollowups?: boolean | undefined;
2175
- autonomous?: boolean | undefined;
2176
- completionAction?: {
2177
- id: string;
2178
- phase: "blocked" | "complete" | "pending";
2179
- message?: string | undefined;
2180
- } | undefined;
2181
- archiveBlocker?: {
2182
- message: string;
2183
- runId?: string | undefined;
2184
- pullRequestUrl?: string | undefined;
2185
- } | undefined;
2186
- automation?: {
2187
- automationId: string;
2188
- automationRevision: number;
2189
- receiptId: string;
2190
- event: string;
2191
- githubUrl: string;
2192
- } | undefined;
2193
- automationTrigger?: {
2194
- automationId: string;
2195
- automationRevision: number;
2196
- receiptId: string;
2197
- trigger: "catch-up" | "manual" | "schedule";
2198
- occurrenceAt: string;
2199
- } | undefined;
2200
- destroyRetry?: {
2201
- attempts: number;
2202
- nextAt: string;
2203
- needsAttention?: true | undefined;
2204
- } | undefined;
2205
- notify?: boolean | undefined;
2206
- webhook?: {
2207
- lastDeliveredAt?: string | undefined;
2208
- lastError?: string | undefined;
2209
- lastErrorWebhookId?: string | undefined;
2210
- } | undefined;
2211
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
2212
- hasPendingPermission?: boolean | undefined;
2213
- createdAt: string;
2214
- startedAt?: string | undefined;
2215
- finishedAt?: string | undefined;
2216
- tokensUsed: number;
2217
- inputTokens?: number | undefined;
2218
- outputTokens?: number | undefined;
2219
- costUsd?: number | undefined;
2220
- pullRequestUrl?: string | undefined;
2221
- pullRequests?: {
2222
- number: number;
2223
- url?: string | undefined;
2224
- source: "created" | "declared";
2225
- }[] | undefined;
2226
- referencedPullRequestUrl?: string | undefined;
2227
- prNumber?: number | undefined;
2228
- issueNumber?: number | undefined;
2229
- referencedIssueNumberSeeded?: boolean | undefined;
2230
- titleOrigin?: "auto" | "marker" | "user" | undefined;
2231
- markerRefs?: {
2232
- pr?: number | undefined;
2233
- issue?: number | undefined;
2234
- } | undefined;
2235
- referencedPrCandidates?: string[] | undefined;
2236
- referencedIssueUrl?: string | undefined;
2237
- referencedIssueCandidates?: string[] | undefined;
2238
- worktree?: false | undefined;
2239
- worktreePath?: string | undefined;
2240
- branch?: string | undefined;
2241
- baseBranch?: string | undefined;
2242
- worktreeReclaimedAt?: string | undefined;
2243
- worktreeSetup?: {
2244
- status: "done" | "failed" | "running";
2245
- startedAt: string;
2246
- finishedAt?: string | undefined;
2247
- durationMs?: number | undefined;
2248
- error?: string | undefined;
2249
- } | undefined;
2250
- groupId?: string | undefined;
2251
- variant?: string | undefined;
2252
- clientRequestId?: string | undefined;
2253
- clientRequestHash?: string | undefined;
2254
- peakRssBytes?: number | undefined;
2255
- peakProcCount?: number | undefined;
2256
- archived: boolean;
2257
- archivedAt?: string | undefined;
2258
- autoArchive?: {
2259
- reason: "pull-requests-merged";
2260
- archivedAt: string;
2261
- fingerprint: string;
2262
- pullRequests: {
2263
- owner: string;
2264
- repo: string;
2265
- number: number;
2266
- mergedAt: string;
2267
- }[];
2268
- } | undefined;
2269
- manualUnarchivedAt?: string | undefined;
2270
- pinned?: boolean | undefined;
2271
- pinnedAt?: string | undefined;
2272
- seenAt?: string | undefined;
2273
- currentStepId?: string | undefined;
2274
- error?: string | undefined;
2275
- steps: {
2276
- id: string;
2277
- name: string;
2278
- kind: "agent" | "check";
2279
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
2280
- iterations: number;
2281
- retriesUsed?: number | undefined;
2282
- tokensUsed: number;
2283
- inputTokens?: number | undefined;
2284
- outputTokens?: number | undefined;
2285
- usageInvocationsStarted?: number | undefined;
2286
- usageInvocationsObserved?: number | undefined;
2287
- usageTurnsStarted?: number | undefined;
2288
- usageTurnsRecorded?: number | undefined;
2289
- usageInvocationEpoch?: number | undefined;
2290
- startedAt?: string | undefined;
2291
- finishedAt?: string | undefined;
2292
- error?: string | undefined;
2293
- sessionId?: string | undefined;
2294
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
2295
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
2296
- profileId?: string | undefined;
2297
- costUsd?: number | undefined;
2298
- synthetic?: "continuation" | undefined;
2299
- }[];
2300
- workflowDef?: {
2301
- name: string;
2302
- description?: string | undefined;
2303
- steps: {
2304
- id: string;
2305
- name?: string | undefined;
2306
- prompt?: string | undefined;
2307
- skill?: string | undefined;
2308
- model?: string | undefined;
2309
- effort?: string | undefined;
2310
- timeoutMs?: number | undefined;
2311
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
2312
- agentProfile?: string | undefined;
2313
- allowedTools?: string[] | undefined;
2314
- bashAllowlist?: string[] | undefined;
2315
- command?: string | undefined;
2316
- onFail?: {
2317
- retry: string;
2318
- max: number;
2319
- } | undefined;
2320
- }[];
2321
- source: "built-in" | "file";
2322
- path?: string | undefined;
2323
- } | undefined;
2324
- handoffRecords?: {
2325
- autosave: {
2326
- at: string;
2327
- note: string;
2328
- periodic?: {
2329
- branch: string | null;
2330
- count: number;
2331
- first: string | null;
2332
- latest: string | null;
2333
- } | undefined;
2334
- }[];
2335
- } | undefined;
2336
- autoResumeAt: undefined;
2337
- autoResumeAttempts: undefined;
2338
- };
2339
- readonly steps: typeof failedStep;
2340
- };
2341
- readonly cancel: {
2342
- readonly durability: 'debounced';
2343
- readonly from: readonly ["queued", "running", "waiting"];
2344
- readonly to: 'cancelled';
2345
- readonly steps: typeof cancelledStep;
2346
- readonly event: "run cancelled";
2347
- };
2348
- readonly 'cancel-root': {
2349
- readonly durability: 'committed';
2350
- readonly from: readonly ["waiting", "cancelled"];
2351
- readonly to: 'cancelled';
2352
- readonly guard: (run: {
2353
- archiveWhenDone?: boolean | undefined;
2354
- autoMergePr?: boolean | undefined;
2355
- allowWorkers?: boolean | undefined;
2356
- allowMessaging?: boolean | undefined;
2357
- id: string;
2358
- title: string;
2359
- titleSummary?: string | undefined;
2360
- diffStat?: {
2361
- adds: number;
2362
- dels: number;
2363
- files: number;
2364
- repointed?: boolean | undefined;
2365
- } | undefined;
2366
- workflow: string;
2367
- task: string;
2368
- queuedMessages?: {
2369
- id: string;
2370
- text: string;
2371
- images?: string[] | undefined;
2372
- createdAt: string;
2373
- }[] | undefined;
2374
- stopping?: boolean | undefined;
2375
- continuationMessage?: {
2376
- id: string;
2377
- text: string;
2378
- images?: string[] | undefined;
2379
- createdAt: string;
2380
- origin?: "human" | "lifecycle" | undefined;
2381
- agentInputId?: string | undefined;
2382
- resumeContext?: {
2383
- failure?: {
2384
- stepId?: string | undefined;
2385
- error: string;
2386
- } | undefined;
2387
- restarted?: true | undefined;
2388
- } | undefined;
2389
- } | undefined;
2390
- workflowResumeStepId?: string | undefined;
2391
- invalidAsk?: boolean | undefined;
2392
- delegation?: {
2393
- role: "root";
2394
- conversation?: {
2395
- messages: {
2396
- senderRunId: string;
2397
- recipientRunId: string;
2398
- kind: "follow-up" | "progress" | "reply" | "request";
2399
- requestId?: string | undefined;
2400
- relationship?: "family" | "peer" | undefined;
2401
- id: string;
2402
- text: string;
2403
- createdAt: string;
2404
- deadline?: string | undefined;
2405
- requestHash: string;
2406
- state: "accepted" | "continuation-required" | "destroyed" | "late";
2407
- resumed?: true | undefined;
2408
- instruction?: string | undefined;
2409
- question?: {
2410
- context?: string | undefined;
2411
- questions: {
2412
- id?: string | undefined;
2413
- header: string;
2414
- question: string;
2415
- options?: {
2416
- label: string;
2417
- description?: string | undefined;
2418
- }[] | undefined;
2419
- multiSelect?: boolean | undefined;
2420
- }[];
2421
- } | undefined;
2422
- }[];
2423
- outcomes: {
2424
- requestId: string;
2425
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
2426
- observedAt: string;
2427
- replyId?: string | undefined;
2428
- }[];
2429
- } | undefined;
2430
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
2431
- receipts: {
2432
- requestId: string;
2433
- workerId: string;
2434
- requestHash: string;
2435
- deletion?: {
2436
- phase: "complete" | "pending";
2437
- revision: number;
2438
- resourceId: string;
2439
- generation: string;
2440
- } | undefined;
2441
- }[];
2442
- wait?: {
2443
- id: string;
2444
- workerIds: string[];
2445
- requestIds?: string[] | undefined;
2446
- requestOutcomes?: {
2447
- requestId: string;
2448
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
2449
- observedAt: string;
2450
- replyId?: string | undefined;
2451
- }[] | undefined;
2452
- deadline: string;
2453
- mode?: "all" | "any" | "one" | undefined;
2454
- revisions?: {
2455
- workerId: string;
2456
- revision: number;
2457
- }[] | undefined;
2458
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
2459
- phase: "parked" | "registered" | "wake-pending";
2460
- outcomes: {
2461
- workerId: string;
2462
- status: "cancelled" | "done" | "failed" | "review";
2463
- observedAt: string;
2464
- summary?: string | undefined;
2465
- revision?: number | undefined;
2466
- }[];
2467
- wakeId?: string | undefined;
2468
- } | undefined;
2469
- lastWait?: {
2470
- id: string;
2471
- workerIds: string[];
2472
- requestIds?: string[] | undefined;
2473
- requestOutcomes?: {
2474
- requestId: string;
2475
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
2476
- observedAt: string;
2477
- replyId?: string | undefined;
2478
- }[] | undefined;
2479
- deadline: string;
2480
- mode?: "all" | "any" | "one" | undefined;
2481
- revisions?: {
2482
- workerId: string;
2483
- revision: number;
2484
- }[] | undefined;
2485
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
2486
- phase: "parked" | "registered" | "wake-pending";
2487
- outcomes: {
2488
- workerId: string;
2489
- status: "cancelled" | "done" | "failed" | "review";
2490
- observedAt: string;
2491
- summary?: string | undefined;
2492
- revision?: number | undefined;
2493
- }[];
2494
- wakeId?: string | undefined;
2495
- } | undefined;
2496
- results?: {
2497
- workerId: string;
2498
- revision: number;
2499
- snapshotId: string;
2500
- observedAt: string;
2501
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
2502
- previous?: {
2503
- revision: number;
2504
- observedAt: string;
2505
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
2506
- } | undefined;
2507
- }[] | undefined;
2508
- finishRequestedAt?: string | undefined;
2509
- historyDeletion?: "pending" | undefined;
2510
- completion?: {
2511
- phase: "attention" | "waiting";
2512
- waitId?: string | undefined;
2513
- } | undefined;
2514
- } | {
2515
- role: "worker";
2516
- wait?: {
2517
- id: string;
2518
- workerIds: string[];
2519
- requestIds?: string[] | undefined;
2520
- requestOutcomes?: {
2521
- requestId: string;
2522
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
2523
- observedAt: string;
2524
- replyId?: string | undefined;
2525
- }[] | undefined;
2526
- deadline: string;
2527
- mode?: "all" | "any" | "one" | undefined;
2528
- revisions?: {
2529
- workerId: string;
2530
- revision: number;
2531
- }[] | undefined;
2532
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
2533
- phase: "parked" | "registered" | "wake-pending";
2534
- outcomes: {
2535
- workerId: string;
2536
- status: "cancelled" | "done" | "failed" | "review";
2537
- observedAt: string;
2538
- summary?: string | undefined;
2539
- revision?: number | undefined;
2540
- }[];
2541
- wakeId?: string | undefined;
2542
- } | undefined;
2543
- lastWait?: {
2544
- id: string;
2545
- workerIds: string[];
2546
- requestIds?: string[] | undefined;
2547
- requestOutcomes?: {
2548
- requestId: string;
2549
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
2550
- observedAt: string;
2551
- replyId?: string | undefined;
2552
- }[] | undefined;
2553
- deadline: string;
2554
- mode?: "all" | "any" | "one" | undefined;
2555
- revisions?: {
2556
- workerId: string;
2557
- revision: number;
2558
- }[] | undefined;
2559
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
2560
- phase: "parked" | "registered" | "wake-pending";
2561
- outcomes: {
2562
- workerId: string;
2563
- status: "cancelled" | "done" | "failed" | "review";
2564
- observedAt: string;
2565
- summary?: string | undefined;
2566
- revision?: number | undefined;
2567
- }[];
2568
- wakeId?: string | undefined;
2569
- } | undefined;
2570
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
2571
- parentRunId: string;
2572
- workspace: {
2573
- ownerRunId: string;
2574
- resourceId: string;
2575
- kind: "owned-isolated";
2576
- path: string;
2577
- branch: string;
2578
- baselineSha: string;
2579
- };
2580
- destroy?: {
2581
- requestedAt: string;
2582
- phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
2583
- remaining: ("branch" | "process" | "worktree")[];
2584
- error?: string | undefined;
2585
- } | undefined;
2586
- context?: {
2587
- text?: string | undefined;
2588
- inputs: {
2589
- source: {
2590
- kind: "parent-file";
2591
- path: string;
2592
- } | {
2593
- kind: "baseline-file";
2594
- path: string;
2595
- } | {
2596
- kind: "parent-attachment";
2597
- id: string;
2598
- };
2599
- path: string;
2600
- sha256: string;
2601
- bytes: number;
2602
- }[];
2603
- } | undefined;
2604
- executionRevision?: number | undefined;
2605
- executionStartSeq?: number | undefined;
2606
- } | {
2607
- role: "invalid";
2608
- } | undefined;
2609
- agentInputs?: {
2610
- conversation?: {
2611
- senderRunId: string;
2612
- recipientRunId: string;
2613
- kind: "follow-up" | "progress" | "reply" | "request";
2614
- requestId?: string | undefined;
2615
- relationship?: "family" | "peer" | undefined;
2616
- } | undefined;
2617
- id: string;
2618
- source: "agent" | "lifecycle";
2619
- parentRunId: string;
2620
- text: string;
2621
- createdAt: string;
2622
- deliveredAt?: string | undefined;
2623
- consumedAt?: string | undefined;
2624
- awaitingRead?: true | undefined;
2625
- inboxClaim?: {
2626
- receiptId: string;
2627
- generation: string;
2628
- expiresAt: string;
2629
- acknowledgedAt?: string | undefined;
2630
- memberIds?: string[] | undefined;
2631
- } | undefined;
2632
- purpose?: "completion-refusal" | "undelivered-question" | undefined;
2633
- requestHash?: string | undefined;
2634
- deadline?: string | undefined;
2635
- }[] | undefined;
2636
- waits?: ({
2637
- prUrl: string;
2638
- repository: string;
2639
- prNumber: number;
2640
- headSha: string;
2641
- id: string;
2642
- source: "agent" | "cezar";
2643
- 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";
2644
- registeredAt: string;
2645
- phase: "cancelled" | "delivered" | "open" | "resolved";
2646
- resolvedAt?: string | undefined;
2647
- deliveredAt?: string | undefined;
2648
- cancelledAt?: string | undefined;
2649
- turnId: string;
2650
- kind: "pr";
2651
- deadline: string;
2652
- generation: string;
2653
- timeoutSeconds: number;
2654
- until: "checks" | "merge" | "merge_or_blocked";
2655
- wakeOnConflict: boolean;
2656
- result?: {
2657
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
2658
- headSha: string;
2659
- observedHeadSha?: string | undefined;
2660
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
2661
- mergeStateStatus?: string | undefined;
2662
- mergedAt?: string | undefined;
2663
- mergeCommitSha?: string | undefined;
2664
- mergeBlock?: {
2665
- reason: "conflict" | "no_pending_merge";
2666
- isInMergeQueue: boolean;
2667
- autoMergeEnabled: boolean;
2668
- event?: {
2669
- kind: "auto_merge_disabled" | "queue_removal";
2670
- createdAt: string;
2671
- reason?: string | undefined;
2672
- reasonCode?: string | undefined;
2673
- } | undefined;
2674
- } | undefined;
2675
- observedAt: string;
2676
- checks: {
2677
- name: string;
2678
- state: string;
2679
- link: string;
2680
- }[];
2681
- totalChecks: number;
2682
- truncated: boolean;
2683
- diagnostic?: string | undefined;
2684
- } | undefined;
2685
- } | {
2686
- id: string;
2687
- source: "agent" | "cezar";
2688
- 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";
2689
- registeredAt: string;
2690
- phase: "cancelled" | "delivered" | "open" | "resolved";
2691
- resolvedAt?: string | undefined;
2692
- deliveredAt?: string | undefined;
2693
- cancelledAt?: string | undefined;
2694
- turnId: string;
2695
- kind: "timer";
2696
- deadline: string;
2697
- seconds: number;
2698
- note?: string | undefined;
2699
- } | {
2700
- id: string;
2701
- source: "agent" | "cezar";
2702
- 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";
2703
- registeredAt: string;
2704
- phase: "cancelled" | "delivered" | "open" | "resolved";
2705
- resolvedAt?: string | undefined;
2706
- deliveredAt?: string | undefined;
2707
- cancelledAt?: string | undefined;
2708
- turnId: string;
2709
- kind: "human";
2710
- questions?: {
2711
- id?: string | undefined;
2712
- header: string;
2713
- question: string;
2714
- options?: {
2715
- label: string;
2716
- description?: string | undefined;
2717
- }[] | undefined;
2718
- multiSelect?: boolean | undefined;
2719
- }[] | undefined;
2720
- context?: string | undefined;
2721
- askSeq?: number | undefined;
2722
- } | {
2723
- id: string;
2724
- source: "agent" | "cezar";
2725
- 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";
2726
- registeredAt: string;
2727
- phase: "cancelled" | "delivered" | "open" | "resolved";
2728
- resolvedAt?: string | undefined;
2729
- deliveredAt?: string | undefined;
2730
- cancelledAt?: string | undefined;
2731
- turnId: string;
2732
- kind: "worker";
2733
- deadline?: string | undefined;
2734
- timeoutSeconds?: number | undefined;
2735
- mode?: "all" | "any" | "one" | undefined;
2736
- workerIds?: string[] | undefined;
2737
- revisions?: {
2738
- workerId: string;
2739
- revision: number;
2740
- }[] | undefined;
2741
- outcomes?: {
2742
- workerId: string;
2743
- status: "cancelled" | "done" | "failed" | "review";
2744
- observedAt: string;
2745
- summary?: string | undefined;
2746
- revision?: number | undefined;
2747
- }[] | undefined;
2748
- requestIds?: string[] | undefined;
2749
- requestOutcomes?: {
2750
- requestId: string;
2751
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
2752
- observedAt: string;
2753
- replyId?: string | undefined;
2754
- }[] | undefined;
2755
- result?: {
2756
- reason: "outcome" | "timeout";
2757
- } | undefined;
2758
- wakeInputId?: string | undefined;
2759
- } | {
2760
- id: string;
2761
- source: "agent" | "cezar";
2762
- 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";
2763
- registeredAt: string;
2764
- phase: "cancelled" | "delivered" | "open" | "resolved";
2765
- resolvedAt?: string | undefined;
2766
- deliveredAt?: string | undefined;
2767
- cancelledAt?: string | undefined;
2768
- turnId: string;
2769
- kind: "process";
2770
- deadline: string;
2771
- timeoutSeconds: number;
2772
- pid: number;
2773
- startToken?: string | undefined;
2774
- exitFile?: string | undefined;
2775
- note?: string | undefined;
2776
- result?: {
2777
- outcome: "deadline" | "error" | "exit_file" | "exited";
2778
- observedAt: string;
2779
- exitCode?: number | undefined;
2780
- exitFileNote?: "not-an-exit-code" | undefined;
2781
- diagnostic?: string | undefined;
2782
- } | undefined;
2783
- } | {
2784
- id: string;
2785
- source: "agent" | "cezar";
2786
- 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";
2787
- registeredAt: string;
2788
- phase: "cancelled" | "delivered" | "open" | "resolved";
2789
- resolvedAt?: string | undefined;
2790
- deliveredAt?: string | undefined;
2791
- cancelledAt?: string | undefined;
2792
- turnId: string;
2793
- kind: "peer";
2794
- deadline: string;
2795
- timeoutSeconds: number;
2796
- peerIds: string[];
2797
- result?: {
2798
- reason: "message";
2799
- peerRunId: string;
2800
- messageId: string;
2801
- } | {
2802
- reason: "settled";
2803
- peerRunId: string;
2804
- } | {
2805
- reason: "timeout";
2806
- } | undefined;
2807
- } | {
2808
- id: string;
2809
- registeredAt: string;
2810
- phase: "cancelled" | "delivered" | "open" | "resolved";
2811
- resolvedAt?: string | undefined;
2812
- deliveredAt?: string | undefined;
2813
- cancelledAt?: string | undefined;
2814
- turnId: string;
2815
- kind: "subagent";
2816
- source: "cezar";
2817
- via: "native-subagents";
2818
- deadline: string;
2819
- children: {
2820
- id: string;
2821
- status: "cancelled" | "completed" | "failed" | "running";
2822
- }[];
2823
- result?: {
2824
- reason: "interrupted" | "settled" | "superseded" | "timeout";
2825
- } | undefined;
2826
- })[] | undefined;
2827
- waitRegistrations?: {
2828
- operationId: string;
2829
- requestHash: string;
2830
- wait: {
2831
- prUrl: string;
2832
- repository: string;
2833
- prNumber: number;
2834
- headSha: string;
2835
- id: string;
2836
- source: "agent" | "cezar";
2837
- 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";
2838
- registeredAt: string;
2839
- phase: "cancelled" | "delivered" | "open" | "resolved";
2840
- resolvedAt?: string | undefined;
2841
- deliveredAt?: string | undefined;
2842
- cancelledAt?: string | undefined;
2843
- turnId: string;
2844
- kind: "pr";
2845
- deadline: string;
2846
- generation: string;
2847
- timeoutSeconds: number;
2848
- until: "checks" | "merge" | "merge_or_blocked";
2849
- wakeOnConflict: boolean;
2850
- result?: {
2851
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
2852
- headSha: string;
2853
- observedHeadSha?: string | undefined;
2854
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
2855
- mergeStateStatus?: string | undefined;
2856
- mergedAt?: string | undefined;
2857
- mergeCommitSha?: string | undefined;
2858
- mergeBlock?: {
2859
- reason: "conflict" | "no_pending_merge";
2860
- isInMergeQueue: boolean;
2861
- autoMergeEnabled: boolean;
2862
- event?: {
2863
- kind: "auto_merge_disabled" | "queue_removal";
2864
- createdAt: string;
2865
- reason?: string | undefined;
2866
- reasonCode?: string | undefined;
2867
- } | undefined;
2868
- } | undefined;
2869
- observedAt: string;
2870
- checks: {
2871
- name: string;
2872
- state: string;
2873
- link: string;
2874
- }[];
2875
- totalChecks: number;
2876
- truncated: boolean;
2877
- diagnostic?: string | undefined;
2878
- } | undefined;
2879
- } | {
2880
- id: string;
2881
- source: "agent" | "cezar";
2882
- 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";
2883
- registeredAt: string;
2884
- phase: "cancelled" | "delivered" | "open" | "resolved";
2885
- resolvedAt?: string | undefined;
2886
- deliveredAt?: string | undefined;
2887
- cancelledAt?: string | undefined;
2888
- turnId: string;
2889
- kind: "timer";
2890
- deadline: string;
2891
- seconds: number;
2892
- note?: string | undefined;
2893
- } | {
2894
- id: string;
2895
- source: "agent" | "cezar";
2896
- 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";
2897
- registeredAt: string;
2898
- phase: "cancelled" | "delivered" | "open" | "resolved";
2899
- resolvedAt?: string | undefined;
2900
- deliveredAt?: string | undefined;
2901
- cancelledAt?: string | undefined;
2902
- turnId: string;
2903
- kind: "human";
2904
- questions?: {
2905
- id?: string | undefined;
2906
- header: string;
2907
- question: string;
2908
- options?: {
2909
- label: string;
2910
- description?: string | undefined;
2911
- }[] | undefined;
2912
- multiSelect?: boolean | undefined;
2913
- }[] | undefined;
2914
- context?: string | undefined;
2915
- askSeq?: number | undefined;
2916
- } | {
2917
- id: string;
2918
- source: "agent" | "cezar";
2919
- 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";
2920
- registeredAt: string;
2921
- phase: "cancelled" | "delivered" | "open" | "resolved";
2922
- resolvedAt?: string | undefined;
2923
- deliveredAt?: string | undefined;
2924
- cancelledAt?: string | undefined;
2925
- turnId: string;
2926
- kind: "worker";
2927
- deadline?: string | undefined;
2928
- timeoutSeconds?: number | undefined;
2929
- mode?: "all" | "any" | "one" | undefined;
2930
- workerIds?: string[] | undefined;
2931
- revisions?: {
2932
- workerId: string;
2933
- revision: number;
2934
- }[] | undefined;
2935
- outcomes?: {
2936
- workerId: string;
2937
- status: "cancelled" | "done" | "failed" | "review";
2938
- observedAt: string;
2939
- summary?: string | undefined;
2940
- revision?: number | undefined;
2941
- }[] | undefined;
2942
- requestIds?: string[] | undefined;
2943
- requestOutcomes?: {
2944
- requestId: string;
2945
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
2946
- observedAt: string;
2947
- replyId?: string | undefined;
2948
- }[] | undefined;
2949
- result?: {
2950
- reason: "outcome" | "timeout";
2951
- } | undefined;
2952
- wakeInputId?: string | undefined;
2953
- } | {
2954
- id: string;
2955
- source: "agent" | "cezar";
2956
- 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";
2957
- registeredAt: string;
2958
- phase: "cancelled" | "delivered" | "open" | "resolved";
2959
- resolvedAt?: string | undefined;
2960
- deliveredAt?: string | undefined;
2961
- cancelledAt?: string | undefined;
2962
- turnId: string;
2963
- kind: "process";
2964
- deadline: string;
2965
- timeoutSeconds: number;
2966
- pid: number;
2967
- startToken?: string | undefined;
2968
- exitFile?: string | undefined;
2969
- note?: string | undefined;
2970
- result?: {
2971
- outcome: "deadline" | "error" | "exit_file" | "exited";
2972
- observedAt: string;
2973
- exitCode?: number | undefined;
2974
- exitFileNote?: "not-an-exit-code" | undefined;
2975
- diagnostic?: string | undefined;
2976
- } | undefined;
2977
- } | {
2978
- id: string;
2979
- source: "agent" | "cezar";
2980
- 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";
2981
- registeredAt: string;
2982
- phase: "cancelled" | "delivered" | "open" | "resolved";
2983
- resolvedAt?: string | undefined;
2984
- deliveredAt?: string | undefined;
2985
- cancelledAt?: string | undefined;
2986
- turnId: string;
2987
- kind: "peer";
2988
- deadline: string;
2989
- timeoutSeconds: number;
2990
- peerIds: string[];
2991
- result?: {
2992
- reason: "message";
2993
- peerRunId: string;
2994
- messageId: string;
2995
- } | {
2996
- reason: "settled";
2997
- peerRunId: string;
2998
- } | {
2999
- reason: "timeout";
3000
- } | undefined;
3001
- } | {
3002
- id: string;
3003
- registeredAt: string;
3004
- phase: "cancelled" | "delivered" | "open" | "resolved";
3005
- resolvedAt?: string | undefined;
3006
- deliveredAt?: string | undefined;
3007
- cancelledAt?: string | undefined;
3008
- turnId: string;
3009
- kind: "subagent";
3010
- source: "cezar";
3011
- via: "native-subagents";
3012
- deadline: string;
3013
- children: {
3014
- id: string;
3015
- status: "cancelled" | "completed" | "failed" | "running";
3016
- }[];
3017
- result?: {
3018
- reason: "interrupted" | "settled" | "superseded" | "timeout";
3019
- } | undefined;
3020
- };
3021
- deduplicated: boolean;
3022
- }[] | undefined;
3023
- lastWaits?: ({
3024
- prUrl: string;
3025
- repository: string;
3026
- prNumber: number;
3027
- headSha: string;
3028
- id: string;
3029
- source: "agent" | "cezar";
3030
- 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";
3031
- registeredAt: string;
3032
- phase: "cancelled" | "delivered" | "open" | "resolved";
3033
- resolvedAt?: string | undefined;
3034
- deliveredAt?: string | undefined;
3035
- cancelledAt?: string | undefined;
3036
- turnId: string;
3037
- kind: "pr";
3038
- deadline: string;
3039
- generation: string;
3040
- timeoutSeconds: number;
3041
- until: "checks" | "merge" | "merge_or_blocked";
3042
- wakeOnConflict: boolean;
3043
- result?: {
3044
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
3045
- headSha: string;
3046
- observedHeadSha?: string | undefined;
3047
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
3048
- mergeStateStatus?: string | undefined;
3049
- mergedAt?: string | undefined;
3050
- mergeCommitSha?: string | undefined;
3051
- mergeBlock?: {
3052
- reason: "conflict" | "no_pending_merge";
3053
- isInMergeQueue: boolean;
3054
- autoMergeEnabled: boolean;
3055
- event?: {
3056
- kind: "auto_merge_disabled" | "queue_removal";
3057
- createdAt: string;
3058
- reason?: string | undefined;
3059
- reasonCode?: string | undefined;
3060
- } | undefined;
3061
- } | undefined;
3062
- observedAt: string;
3063
- checks: {
3064
- name: string;
3065
- state: string;
3066
- link: string;
3067
- }[];
3068
- totalChecks: number;
3069
- truncated: boolean;
3070
- diagnostic?: string | undefined;
3071
- } | undefined;
3072
- } | {
3073
- id: string;
3074
- source: "agent" | "cezar";
3075
- 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";
3076
- registeredAt: string;
3077
- phase: "cancelled" | "delivered" | "open" | "resolved";
3078
- resolvedAt?: string | undefined;
3079
- deliveredAt?: string | undefined;
3080
- cancelledAt?: string | undefined;
3081
- turnId: string;
3082
- kind: "timer";
3083
- deadline: string;
3084
- seconds: number;
3085
- note?: string | undefined;
3086
- } | {
3087
- id: string;
3088
- source: "agent" | "cezar";
3089
- 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";
3090
- registeredAt: string;
3091
- phase: "cancelled" | "delivered" | "open" | "resolved";
3092
- resolvedAt?: string | undefined;
3093
- deliveredAt?: string | undefined;
3094
- cancelledAt?: string | undefined;
3095
- turnId: string;
3096
- kind: "human";
3097
- questions?: {
3098
- id?: string | undefined;
3099
- header: string;
3100
- question: string;
3101
- options?: {
3102
- label: string;
3103
- description?: string | undefined;
3104
- }[] | undefined;
3105
- multiSelect?: boolean | undefined;
3106
- }[] | undefined;
3107
- context?: string | undefined;
3108
- askSeq?: number | undefined;
3109
- } | {
3110
- id: string;
3111
- source: "agent" | "cezar";
3112
- 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";
3113
- registeredAt: string;
3114
- phase: "cancelled" | "delivered" | "open" | "resolved";
3115
- resolvedAt?: string | undefined;
3116
- deliveredAt?: string | undefined;
3117
- cancelledAt?: string | undefined;
3118
- turnId: string;
3119
- kind: "worker";
3120
- deadline?: string | undefined;
3121
- timeoutSeconds?: number | undefined;
3122
- mode?: "all" | "any" | "one" | undefined;
3123
- workerIds?: string[] | undefined;
3124
- revisions?: {
3125
- workerId: string;
3126
- revision: number;
3127
- }[] | undefined;
3128
- outcomes?: {
3129
- workerId: string;
3130
- status: "cancelled" | "done" | "failed" | "review";
3131
- observedAt: string;
3132
- summary?: string | undefined;
3133
- revision?: number | undefined;
3134
- }[] | undefined;
3135
- requestIds?: string[] | undefined;
3136
- requestOutcomes?: {
3137
- requestId: string;
3138
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
3139
- observedAt: string;
3140
- replyId?: string | undefined;
3141
- }[] | undefined;
3142
- result?: {
3143
- reason: "outcome" | "timeout";
3144
- } | undefined;
3145
- wakeInputId?: string | undefined;
3146
- } | {
3147
- id: string;
3148
- source: "agent" | "cezar";
3149
- 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";
3150
- registeredAt: string;
3151
- phase: "cancelled" | "delivered" | "open" | "resolved";
3152
- resolvedAt?: string | undefined;
3153
- deliveredAt?: string | undefined;
3154
- cancelledAt?: string | undefined;
3155
- turnId: string;
3156
- kind: "process";
3157
- deadline: string;
3158
- timeoutSeconds: number;
3159
- pid: number;
3160
- startToken?: string | undefined;
3161
- exitFile?: string | undefined;
3162
- note?: string | undefined;
3163
- result?: {
3164
- outcome: "deadline" | "error" | "exit_file" | "exited";
3165
- observedAt: string;
3166
- exitCode?: number | undefined;
3167
- exitFileNote?: "not-an-exit-code" | undefined;
3168
- diagnostic?: string | undefined;
3169
- } | undefined;
3170
- } | {
3171
- id: string;
3172
- source: "agent" | "cezar";
3173
- 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";
3174
- registeredAt: string;
3175
- phase: "cancelled" | "delivered" | "open" | "resolved";
3176
- resolvedAt?: string | undefined;
3177
- deliveredAt?: string | undefined;
3178
- cancelledAt?: string | undefined;
3179
- turnId: string;
3180
- kind: "peer";
3181
- deadline: string;
3182
- timeoutSeconds: number;
3183
- peerIds: string[];
3184
- result?: {
3185
- reason: "message";
3186
- peerRunId: string;
3187
- messageId: string;
3188
- } | {
3189
- reason: "settled";
3190
- peerRunId: string;
3191
- } | {
3192
- reason: "timeout";
3193
- } | undefined;
3194
- } | {
3195
- id: string;
3196
- registeredAt: string;
3197
- phase: "cancelled" | "delivered" | "open" | "resolved";
3198
- resolvedAt?: string | undefined;
3199
- deliveredAt?: string | undefined;
3200
- cancelledAt?: string | undefined;
3201
- turnId: string;
3202
- kind: "subagent";
3203
- source: "cezar";
3204
- via: "native-subagents";
3205
- deadline: string;
3206
- children: {
3207
- id: string;
3208
- status: "cancelled" | "completed" | "failed" | "running";
3209
- }[];
3210
- result?: {
3211
- reason: "interrupted" | "settled" | "superseded" | "timeout";
3212
- } | undefined;
3213
- })[] | undefined;
3214
- lastWaitsError?: string | undefined;
3215
- automaticWakes?: number | undefined;
3216
- waitDeliveryFailures?: number | undefined;
3217
- previewServers?: {
3218
- port: number;
3219
- command: string;
3220
- cwd?: string | undefined;
3221
- label: string;
3222
- path?: string | undefined;
3223
- registeredAt: string;
3224
- answeredAtRegistration: boolean;
3225
- }[] | undefined;
3226
- taskImages?: string[] | undefined;
3227
- model?: string | undefined;
3228
- effort?: string | undefined;
3229
- modelIdentity?: string | undefined;
3230
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
3231
- agentProfile?: string | undefined;
3232
- systemPrompt?: string | undefined;
3233
- generateFollowups?: boolean | undefined;
3234
- autonomous?: boolean | undefined;
3235
- completionAction?: {
3236
- id: string;
3237
- phase: "blocked" | "complete" | "pending";
3238
- message?: string | undefined;
3239
- } | undefined;
3240
- archiveBlocker?: {
3241
- message: string;
3242
- runId?: string | undefined;
3243
- pullRequestUrl?: string | undefined;
3244
- } | undefined;
3245
- automation?: {
3246
- automationId: string;
3247
- automationRevision: number;
3248
- receiptId: string;
3249
- event: string;
3250
- githubUrl: string;
3251
- } | undefined;
3252
- automationTrigger?: {
3253
- automationId: string;
3254
- automationRevision: number;
3255
- receiptId: string;
3256
- trigger: "catch-up" | "manual" | "schedule";
3257
- occurrenceAt: string;
3258
- } | undefined;
3259
- destroyRetry?: {
3260
- attempts: number;
3261
- nextAt: string;
3262
- needsAttention?: true | undefined;
3263
- } | undefined;
3264
- notify?: boolean | undefined;
3265
- webhook?: {
3266
- lastDeliveredAt?: string | undefined;
3267
- lastError?: string | undefined;
3268
- lastErrorWebhookId?: string | undefined;
3269
- } | undefined;
3270
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3271
- hasPendingPermission?: boolean | undefined;
3272
- autoResumeAt?: string | undefined;
3273
- autoResumeAttempts?: number | undefined;
3274
- createdAt: string;
3275
- startedAt?: string | undefined;
3276
- finishedAt?: string | undefined;
3277
- tokensUsed: number;
3278
- inputTokens?: number | undefined;
3279
- outputTokens?: number | undefined;
3280
- costUsd?: number | undefined;
3281
- pullRequestUrl?: string | undefined;
3282
- pullRequests?: {
3283
- number: number;
3284
- url?: string | undefined;
3285
- source: "created" | "declared";
3286
- }[] | undefined;
3287
- referencedPullRequestUrl?: string | undefined;
3288
- prNumber?: number | undefined;
3289
- issueNumber?: number | undefined;
3290
- referencedIssueNumberSeeded?: boolean | undefined;
3291
- titleOrigin?: "auto" | "marker" | "user" | undefined;
3292
- markerRefs?: {
3293
- pr?: number | undefined;
3294
- issue?: number | undefined;
3295
- } | undefined;
3296
- referencedPrCandidates?: string[] | undefined;
3297
- referencedIssueUrl?: string | undefined;
3298
- referencedIssueCandidates?: string[] | undefined;
3299
- worktree?: false | undefined;
3300
- worktreePath?: string | undefined;
3301
- branch?: string | undefined;
3302
- baseBranch?: string | undefined;
3303
- worktreeReclaimedAt?: string | undefined;
3304
- worktreeSetup?: {
3305
- status: "done" | "failed" | "running";
3306
- startedAt: string;
3307
- finishedAt?: string | undefined;
3308
- durationMs?: number | undefined;
3309
- error?: string | undefined;
3310
- } | undefined;
3311
- groupId?: string | undefined;
3312
- variant?: string | undefined;
3313
- clientRequestId?: string | undefined;
3314
- clientRequestHash?: string | undefined;
3315
- peakRssBytes?: number | undefined;
3316
- peakProcCount?: number | undefined;
3317
- archived: boolean;
3318
- archivedAt?: string | undefined;
3319
- autoArchive?: {
3320
- reason: "pull-requests-merged";
3321
- archivedAt: string;
3322
- fingerprint: string;
3323
- pullRequests: {
3324
- owner: string;
3325
- repo: string;
3326
- number: number;
3327
- mergedAt: string;
3328
- }[];
3329
- } | undefined;
3330
- manualUnarchivedAt?: string | undefined;
3331
- pinned?: boolean | undefined;
3332
- pinnedAt?: string | undefined;
3333
- seenAt?: string | undefined;
3334
- currentStepId?: string | undefined;
3335
- error?: string | undefined;
3336
- steps: {
3337
- id: string;
3338
- name: string;
3339
- kind: "agent" | "check";
3340
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
3341
- iterations: number;
3342
- retriesUsed?: number | undefined;
3343
- tokensUsed: number;
3344
- inputTokens?: number | undefined;
3345
- outputTokens?: number | undefined;
3346
- usageInvocationsStarted?: number | undefined;
3347
- usageInvocationsObserved?: number | undefined;
3348
- usageTurnsStarted?: number | undefined;
3349
- usageTurnsRecorded?: number | undefined;
3350
- usageInvocationEpoch?: number | undefined;
3351
- startedAt?: string | undefined;
3352
- finishedAt?: string | undefined;
3353
- error?: string | undefined;
3354
- sessionId?: string | undefined;
3355
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
3356
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
3357
- profileId?: string | undefined;
3358
- costUsd?: number | undefined;
3359
- synthetic?: "continuation" | undefined;
3360
- }[];
3361
- workflowDef?: {
3362
- name: string;
3363
- description?: string | undefined;
3364
- steps: {
3365
- id: string;
3366
- name?: string | undefined;
3367
- prompt?: string | undefined;
3368
- skill?: string | undefined;
3369
- model?: string | undefined;
3370
- effort?: string | undefined;
3371
- timeoutMs?: number | undefined;
3372
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
3373
- agentProfile?: string | undefined;
3374
- allowedTools?: string[] | undefined;
3375
- bashAllowlist?: string[] | undefined;
3376
- command?: string | undefined;
3377
- onFail?: {
3378
- retry: string;
3379
- max: number;
3380
- } | undefined;
3381
- }[];
3382
- source: "built-in" | "file";
3383
- path?: string | undefined;
3384
- } | undefined;
3385
- handoffRecords?: {
3386
- autosave: {
3387
- at: string;
3388
- note: string;
3389
- periodic?: {
3390
- branch: string | null;
3391
- count: number;
3392
- first: string | null;
3393
- latest: string | null;
3394
- } | undefined;
3395
- }[];
3396
- } | undefined;
3397
- }) => boolean;
3398
- readonly steps: typeof cancelledStep;
3399
- readonly event: "run cancelled";
3400
- };
3401
- readonly 'stop-worker': {
3402
- readonly durability: 'committed';
3403
- readonly from: readonly ["queued", "running", "waiting", "review", "done", "failed"];
3404
- readonly to: 'cancelled';
3405
- readonly guard: (run: {
3406
- archiveWhenDone?: boolean | undefined;
3407
- autoMergePr?: boolean | undefined;
3408
- allowWorkers?: boolean | undefined;
3409
- allowMessaging?: boolean | undefined;
3410
- id: string;
3411
- title: string;
3412
- titleSummary?: string | undefined;
3413
- diffStat?: {
3414
- adds: number;
3415
- dels: number;
3416
- files: number;
3417
- repointed?: boolean | undefined;
3418
- } | undefined;
3419
- workflow: string;
3420
- task: string;
3421
- queuedMessages?: {
3422
- id: string;
3423
- text: string;
3424
- images?: string[] | undefined;
3425
- createdAt: string;
3426
- }[] | undefined;
3427
- stopping?: boolean | undefined;
3428
- continuationMessage?: {
3429
- id: string;
3430
- text: string;
3431
- images?: string[] | undefined;
3432
- createdAt: string;
3433
- origin?: "human" | "lifecycle" | undefined;
3434
- agentInputId?: string | undefined;
3435
- resumeContext?: {
3436
- failure?: {
3437
- stepId?: string | undefined;
3438
- error: string;
3439
- } | undefined;
3440
- restarted?: true | undefined;
3441
- } | undefined;
3442
- } | undefined;
3443
- workflowResumeStepId?: string | undefined;
3444
- invalidAsk?: boolean | undefined;
3445
- delegation?: {
3446
- role: "root";
3447
- conversation?: {
3448
- messages: {
3449
- senderRunId: string;
3450
- recipientRunId: string;
3451
- kind: "follow-up" | "progress" | "reply" | "request";
3452
- requestId?: string | undefined;
3453
- relationship?: "family" | "peer" | undefined;
3454
- id: string;
3455
- text: string;
3456
- createdAt: string;
3457
- deadline?: string | undefined;
3458
- requestHash: string;
3459
- state: "accepted" | "continuation-required" | "destroyed" | "late";
3460
- resumed?: true | undefined;
3461
- instruction?: string | undefined;
3462
- question?: {
3463
- context?: string | undefined;
3464
- questions: {
3465
- id?: string | undefined;
3466
- header: string;
3467
- question: string;
3468
- options?: {
3469
- label: string;
3470
- description?: string | undefined;
3471
- }[] | undefined;
3472
- multiSelect?: boolean | undefined;
3473
- }[];
3474
- } | undefined;
3475
- }[];
3476
- outcomes: {
3477
- requestId: string;
3478
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
3479
- observedAt: string;
3480
- replyId?: string | undefined;
3481
- }[];
3482
- } | undefined;
3483
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
3484
- receipts: {
3485
- requestId: string;
3486
- workerId: string;
3487
- requestHash: string;
3488
- deletion?: {
3489
- phase: "complete" | "pending";
3490
- revision: number;
3491
- resourceId: string;
3492
- generation: string;
3493
- } | undefined;
3494
- }[];
3495
- wait?: {
3496
- id: string;
3497
- workerIds: string[];
3498
- requestIds?: string[] | undefined;
3499
- requestOutcomes?: {
3500
- requestId: string;
3501
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
3502
- observedAt: string;
3503
- replyId?: string | undefined;
3504
- }[] | undefined;
3505
- deadline: string;
3506
- mode?: "all" | "any" | "one" | undefined;
3507
- revisions?: {
3508
- workerId: string;
3509
- revision: number;
3510
- }[] | undefined;
3511
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
3512
- phase: "parked" | "registered" | "wake-pending";
3513
- outcomes: {
3514
- workerId: string;
3515
- status: "cancelled" | "done" | "failed" | "review";
3516
- observedAt: string;
3517
- summary?: string | undefined;
3518
- revision?: number | undefined;
3519
- }[];
3520
- wakeId?: string | undefined;
3521
- } | undefined;
3522
- lastWait?: {
3523
- id: string;
3524
- workerIds: string[];
3525
- requestIds?: string[] | undefined;
3526
- requestOutcomes?: {
3527
- requestId: string;
3528
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
3529
- observedAt: string;
3530
- replyId?: string | undefined;
3531
- }[] | undefined;
3532
- deadline: string;
3533
- mode?: "all" | "any" | "one" | undefined;
3534
- revisions?: {
3535
- workerId: string;
3536
- revision: number;
3537
- }[] | undefined;
3538
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
3539
- phase: "parked" | "registered" | "wake-pending";
3540
- outcomes: {
3541
- workerId: string;
3542
- status: "cancelled" | "done" | "failed" | "review";
3543
- observedAt: string;
3544
- summary?: string | undefined;
3545
- revision?: number | undefined;
3546
- }[];
3547
- wakeId?: string | undefined;
3548
- } | undefined;
3549
- results?: {
3550
- workerId: string;
3551
- revision: number;
3552
- snapshotId: string;
3553
- observedAt: string;
3554
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
3555
- previous?: {
3556
- revision: number;
3557
- observedAt: string;
3558
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
3559
- } | undefined;
3560
- }[] | undefined;
3561
- finishRequestedAt?: string | undefined;
3562
- historyDeletion?: "pending" | undefined;
3563
- completion?: {
3564
- phase: "attention" | "waiting";
3565
- waitId?: string | undefined;
3566
- } | undefined;
3567
- } | {
3568
- role: "worker";
3569
- wait?: {
3570
- id: string;
3571
- workerIds: string[];
3572
- requestIds?: string[] | undefined;
3573
- requestOutcomes?: {
3574
- requestId: string;
3575
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
3576
- observedAt: string;
3577
- replyId?: string | undefined;
3578
- }[] | undefined;
3579
- deadline: string;
3580
- mode?: "all" | "any" | "one" | undefined;
3581
- revisions?: {
3582
- workerId: string;
3583
- revision: number;
3584
- }[] | undefined;
3585
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
3586
- phase: "parked" | "registered" | "wake-pending";
3587
- outcomes: {
3588
- workerId: string;
3589
- status: "cancelled" | "done" | "failed" | "review";
3590
- observedAt: string;
3591
- summary?: string | undefined;
3592
- revision?: number | undefined;
3593
- }[];
3594
- wakeId?: string | undefined;
3595
- } | undefined;
3596
- lastWait?: {
3597
- id: string;
3598
- workerIds: string[];
3599
- requestIds?: string[] | undefined;
3600
- requestOutcomes?: {
3601
- requestId: string;
3602
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
3603
- observedAt: string;
3604
- replyId?: string | undefined;
3605
- }[] | undefined;
3606
- deadline: string;
3607
- mode?: "all" | "any" | "one" | undefined;
3608
- revisions?: {
3609
- workerId: string;
3610
- revision: number;
3611
- }[] | undefined;
3612
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
3613
- phase: "parked" | "registered" | "wake-pending";
3614
- outcomes: {
3615
- workerId: string;
3616
- status: "cancelled" | "done" | "failed" | "review";
3617
- observedAt: string;
3618
- summary?: string | undefined;
3619
- revision?: number | undefined;
3620
- }[];
3621
- wakeId?: string | undefined;
3622
- } | undefined;
3623
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
3624
- parentRunId: string;
3625
- workspace: {
3626
- ownerRunId: string;
3627
- resourceId: string;
3628
- kind: "owned-isolated";
3629
- path: string;
3630
- branch: string;
3631
- baselineSha: string;
3632
- };
3633
- destroy?: {
3634
- requestedAt: string;
3635
- phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
3636
- remaining: ("branch" | "process" | "worktree")[];
3637
- error?: string | undefined;
3638
- } | undefined;
3639
- context?: {
3640
- text?: string | undefined;
3641
- inputs: {
3642
- source: {
3643
- kind: "parent-file";
3644
- path: string;
3645
- } | {
3646
- kind: "baseline-file";
3647
- path: string;
3648
- } | {
3649
- kind: "parent-attachment";
3650
- id: string;
3651
- };
3652
- path: string;
3653
- sha256: string;
3654
- bytes: number;
3655
- }[];
3656
- } | undefined;
3657
- executionRevision?: number | undefined;
3658
- executionStartSeq?: number | undefined;
3659
- } | {
3660
- role: "invalid";
3661
- } | undefined;
3662
- agentInputs?: {
3663
- conversation?: {
3664
- senderRunId: string;
3665
- recipientRunId: string;
3666
- kind: "follow-up" | "progress" | "reply" | "request";
3667
- requestId?: string | undefined;
3668
- relationship?: "family" | "peer" | undefined;
3669
- } | undefined;
3670
- id: string;
3671
- source: "agent" | "lifecycle";
3672
- parentRunId: string;
3673
- text: string;
3674
- createdAt: string;
3675
- deliveredAt?: string | undefined;
3676
- consumedAt?: string | undefined;
3677
- awaitingRead?: true | undefined;
3678
- inboxClaim?: {
3679
- receiptId: string;
3680
- generation: string;
3681
- expiresAt: string;
3682
- acknowledgedAt?: string | undefined;
3683
- memberIds?: string[] | undefined;
3684
- } | undefined;
3685
- purpose?: "completion-refusal" | "undelivered-question" | undefined;
3686
- requestHash?: string | undefined;
3687
- deadline?: string | undefined;
3688
- }[] | undefined;
3689
- waits?: ({
3690
- prUrl: string;
3691
- repository: string;
3692
- prNumber: number;
3693
- headSha: string;
3694
- id: string;
3695
- source: "agent" | "cezar";
3696
- 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";
3697
- registeredAt: string;
3698
- phase: "cancelled" | "delivered" | "open" | "resolved";
3699
- resolvedAt?: string | undefined;
3700
- deliveredAt?: string | undefined;
3701
- cancelledAt?: string | undefined;
3702
- turnId: string;
3703
- kind: "pr";
3704
- deadline: string;
3705
- generation: string;
3706
- timeoutSeconds: number;
3707
- until: "checks" | "merge" | "merge_or_blocked";
3708
- wakeOnConflict: boolean;
3709
- result?: {
3710
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
3711
- headSha: string;
3712
- observedHeadSha?: string | undefined;
3713
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
3714
- mergeStateStatus?: string | undefined;
3715
- mergedAt?: string | undefined;
3716
- mergeCommitSha?: string | undefined;
3717
- mergeBlock?: {
3718
- reason: "conflict" | "no_pending_merge";
3719
- isInMergeQueue: boolean;
3720
- autoMergeEnabled: boolean;
3721
- event?: {
3722
- kind: "auto_merge_disabled" | "queue_removal";
3723
- createdAt: string;
3724
- reason?: string | undefined;
3725
- reasonCode?: string | undefined;
3726
- } | undefined;
3727
- } | undefined;
3728
- observedAt: string;
3729
- checks: {
3730
- name: string;
3731
- state: string;
3732
- link: string;
3733
- }[];
3734
- totalChecks: number;
3735
- truncated: boolean;
3736
- diagnostic?: string | undefined;
3737
- } | undefined;
3738
- } | {
3739
- id: string;
3740
- source: "agent" | "cezar";
3741
- 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";
3742
- registeredAt: string;
3743
- phase: "cancelled" | "delivered" | "open" | "resolved";
3744
- resolvedAt?: string | undefined;
3745
- deliveredAt?: string | undefined;
3746
- cancelledAt?: string | undefined;
3747
- turnId: string;
3748
- kind: "timer";
3749
- deadline: string;
3750
- seconds: number;
3751
- note?: string | undefined;
3752
- } | {
3753
- id: string;
3754
- source: "agent" | "cezar";
3755
- 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";
3756
- registeredAt: string;
3757
- phase: "cancelled" | "delivered" | "open" | "resolved";
3758
- resolvedAt?: string | undefined;
3759
- deliveredAt?: string | undefined;
3760
- cancelledAt?: string | undefined;
3761
- turnId: string;
3762
- kind: "human";
3763
- questions?: {
3764
- id?: string | undefined;
3765
- header: string;
3766
- question: string;
3767
- options?: {
3768
- label: string;
3769
- description?: string | undefined;
3770
- }[] | undefined;
3771
- multiSelect?: boolean | undefined;
3772
- }[] | undefined;
3773
- context?: string | undefined;
3774
- askSeq?: number | undefined;
3775
- } | {
3776
- id: string;
3777
- source: "agent" | "cezar";
3778
- 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";
3779
- registeredAt: string;
3780
- phase: "cancelled" | "delivered" | "open" | "resolved";
3781
- resolvedAt?: string | undefined;
3782
- deliveredAt?: string | undefined;
3783
- cancelledAt?: string | undefined;
3784
- turnId: string;
3785
- kind: "worker";
3786
- deadline?: string | undefined;
3787
- timeoutSeconds?: number | undefined;
3788
- mode?: "all" | "any" | "one" | undefined;
3789
- workerIds?: string[] | undefined;
3790
- revisions?: {
3791
- workerId: string;
3792
- revision: number;
3793
- }[] | undefined;
3794
- outcomes?: {
3795
- workerId: string;
3796
- status: "cancelled" | "done" | "failed" | "review";
3797
- observedAt: string;
3798
- summary?: string | undefined;
3799
- revision?: number | undefined;
3800
- }[] | undefined;
3801
- requestIds?: string[] | undefined;
3802
- requestOutcomes?: {
3803
- requestId: string;
3804
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
3805
- observedAt: string;
3806
- replyId?: string | undefined;
3807
- }[] | undefined;
3808
- result?: {
3809
- reason: "outcome" | "timeout";
3810
- } | undefined;
3811
- wakeInputId?: string | undefined;
3812
- } | {
3813
- id: string;
3814
- source: "agent" | "cezar";
3815
- 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";
3816
- registeredAt: string;
3817
- phase: "cancelled" | "delivered" | "open" | "resolved";
3818
- resolvedAt?: string | undefined;
3819
- deliveredAt?: string | undefined;
3820
- cancelledAt?: string | undefined;
3821
- turnId: string;
3822
- kind: "process";
3823
- deadline: string;
3824
- timeoutSeconds: number;
3825
- pid: number;
3826
- startToken?: string | undefined;
3827
- exitFile?: string | undefined;
3828
- note?: string | undefined;
3829
- result?: {
3830
- outcome: "deadline" | "error" | "exit_file" | "exited";
3831
- observedAt: string;
3832
- exitCode?: number | undefined;
3833
- exitFileNote?: "not-an-exit-code" | undefined;
3834
- diagnostic?: string | undefined;
3835
- } | undefined;
3836
- } | {
3837
- id: string;
3838
- source: "agent" | "cezar";
3839
- 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";
3840
- registeredAt: string;
3841
- phase: "cancelled" | "delivered" | "open" | "resolved";
3842
- resolvedAt?: string | undefined;
3843
- deliveredAt?: string | undefined;
3844
- cancelledAt?: string | undefined;
3845
- turnId: string;
3846
- kind: "peer";
3847
- deadline: string;
3848
- timeoutSeconds: number;
3849
- peerIds: string[];
3850
- result?: {
3851
- reason: "message";
3852
- peerRunId: string;
3853
- messageId: string;
3854
- } | {
3855
- reason: "settled";
3856
- peerRunId: string;
3857
- } | {
3858
- reason: "timeout";
3859
- } | undefined;
3860
- } | {
3861
- id: string;
3862
- registeredAt: string;
3863
- phase: "cancelled" | "delivered" | "open" | "resolved";
3864
- resolvedAt?: string | undefined;
3865
- deliveredAt?: string | undefined;
3866
- cancelledAt?: string | undefined;
3867
- turnId: string;
3868
- kind: "subagent";
3869
- source: "cezar";
3870
- via: "native-subagents";
3871
- deadline: string;
3872
- children: {
3873
- id: string;
3874
- status: "cancelled" | "completed" | "failed" | "running";
3875
- }[];
3876
- result?: {
3877
- reason: "interrupted" | "settled" | "superseded" | "timeout";
3878
- } | undefined;
3879
- })[] | undefined;
3880
- waitRegistrations?: {
3881
- operationId: string;
3882
- requestHash: string;
3883
- wait: {
3884
- prUrl: string;
3885
- repository: string;
3886
- prNumber: number;
3887
- headSha: string;
3888
- id: string;
3889
- source: "agent" | "cezar";
3890
- 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";
3891
- registeredAt: string;
3892
- phase: "cancelled" | "delivered" | "open" | "resolved";
3893
- resolvedAt?: string | undefined;
3894
- deliveredAt?: string | undefined;
3895
- cancelledAt?: string | undefined;
3896
- turnId: string;
3897
- kind: "pr";
3898
- deadline: string;
3899
- generation: string;
3900
- timeoutSeconds: number;
3901
- until: "checks" | "merge" | "merge_or_blocked";
3902
- wakeOnConflict: boolean;
3903
- result?: {
3904
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
3905
- headSha: string;
3906
- observedHeadSha?: string | undefined;
3907
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
3908
- mergeStateStatus?: string | undefined;
3909
- mergedAt?: string | undefined;
3910
- mergeCommitSha?: string | undefined;
3911
- mergeBlock?: {
3912
- reason: "conflict" | "no_pending_merge";
3913
- isInMergeQueue: boolean;
3914
- autoMergeEnabled: boolean;
3915
- event?: {
3916
- kind: "auto_merge_disabled" | "queue_removal";
3917
- createdAt: string;
3918
- reason?: string | undefined;
3919
- reasonCode?: string | undefined;
3920
- } | undefined;
3921
- } | undefined;
3922
- observedAt: string;
3923
- checks: {
3924
- name: string;
3925
- state: string;
3926
- link: string;
3927
- }[];
3928
- totalChecks: number;
3929
- truncated: boolean;
3930
- diagnostic?: string | undefined;
3931
- } | undefined;
3932
- } | {
3933
- id: string;
3934
- source: "agent" | "cezar";
3935
- 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";
3936
- registeredAt: string;
3937
- phase: "cancelled" | "delivered" | "open" | "resolved";
3938
- resolvedAt?: string | undefined;
3939
- deliveredAt?: string | undefined;
3940
- cancelledAt?: string | undefined;
3941
- turnId: string;
3942
- kind: "timer";
3943
- deadline: string;
3944
- seconds: number;
3945
- note?: string | undefined;
3946
- } | {
3947
- id: string;
3948
- source: "agent" | "cezar";
3949
- 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";
3950
- registeredAt: string;
3951
- phase: "cancelled" | "delivered" | "open" | "resolved";
3952
- resolvedAt?: string | undefined;
3953
- deliveredAt?: string | undefined;
3954
- cancelledAt?: string | undefined;
3955
- turnId: string;
3956
- kind: "human";
3957
- questions?: {
3958
- id?: string | undefined;
3959
- header: string;
3960
- question: string;
3961
- options?: {
3962
- label: string;
3963
- description?: string | undefined;
3964
- }[] | undefined;
3965
- multiSelect?: boolean | undefined;
3966
- }[] | undefined;
3967
- context?: string | undefined;
3968
- askSeq?: number | undefined;
3969
- } | {
3970
- id: string;
3971
- source: "agent" | "cezar";
3972
- 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";
3973
- registeredAt: string;
3974
- phase: "cancelled" | "delivered" | "open" | "resolved";
3975
- resolvedAt?: string | undefined;
3976
- deliveredAt?: string | undefined;
3977
- cancelledAt?: string | undefined;
3978
- turnId: string;
3979
- kind: "worker";
3980
- deadline?: string | undefined;
3981
- timeoutSeconds?: number | undefined;
3982
- mode?: "all" | "any" | "one" | undefined;
3983
- workerIds?: string[] | undefined;
3984
- revisions?: {
3985
- workerId: string;
3986
- revision: number;
3987
- }[] | undefined;
3988
- outcomes?: {
3989
- workerId: string;
3990
- status: "cancelled" | "done" | "failed" | "review";
3991
- observedAt: string;
3992
- summary?: string | undefined;
3993
- revision?: number | undefined;
3994
- }[] | undefined;
3995
- requestIds?: string[] | undefined;
3996
- requestOutcomes?: {
3997
- requestId: string;
3998
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
3999
- observedAt: string;
4000
- replyId?: string | undefined;
4001
- }[] | undefined;
4002
- result?: {
4003
- reason: "outcome" | "timeout";
4004
- } | undefined;
4005
- wakeInputId?: string | undefined;
4006
- } | {
4007
- id: string;
4008
- source: "agent" | "cezar";
4009
- 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";
4010
- registeredAt: string;
4011
- phase: "cancelled" | "delivered" | "open" | "resolved";
4012
- resolvedAt?: string | undefined;
4013
- deliveredAt?: string | undefined;
4014
- cancelledAt?: string | undefined;
4015
- turnId: string;
4016
- kind: "process";
4017
- deadline: string;
4018
- timeoutSeconds: number;
4019
- pid: number;
4020
- startToken?: string | undefined;
4021
- exitFile?: string | undefined;
4022
- note?: string | undefined;
4023
- result?: {
4024
- outcome: "deadline" | "error" | "exit_file" | "exited";
4025
- observedAt: string;
4026
- exitCode?: number | undefined;
4027
- exitFileNote?: "not-an-exit-code" | undefined;
4028
- diagnostic?: string | undefined;
4029
- } | undefined;
4030
- } | {
4031
- id: string;
4032
- source: "agent" | "cezar";
4033
- 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";
4034
- registeredAt: string;
4035
- phase: "cancelled" | "delivered" | "open" | "resolved";
4036
- resolvedAt?: string | undefined;
4037
- deliveredAt?: string | undefined;
4038
- cancelledAt?: string | undefined;
4039
- turnId: string;
4040
- kind: "peer";
4041
- deadline: string;
4042
- timeoutSeconds: number;
4043
- peerIds: string[];
4044
- result?: {
4045
- reason: "message";
4046
- peerRunId: string;
4047
- messageId: string;
4048
- } | {
4049
- reason: "settled";
4050
- peerRunId: string;
4051
- } | {
4052
- reason: "timeout";
4053
- } | undefined;
4054
- } | {
4055
- id: string;
4056
- registeredAt: string;
4057
- phase: "cancelled" | "delivered" | "open" | "resolved";
4058
- resolvedAt?: string | undefined;
4059
- deliveredAt?: string | undefined;
4060
- cancelledAt?: string | undefined;
4061
- turnId: string;
4062
- kind: "subagent";
4063
- source: "cezar";
4064
- via: "native-subagents";
4065
- deadline: string;
4066
- children: {
4067
- id: string;
4068
- status: "cancelled" | "completed" | "failed" | "running";
4069
- }[];
4070
- result?: {
4071
- reason: "interrupted" | "settled" | "superseded" | "timeout";
4072
- } | undefined;
4073
- };
4074
- deduplicated: boolean;
4075
- }[] | undefined;
4076
- lastWaits?: ({
4077
- prUrl: string;
4078
- repository: string;
4079
- prNumber: number;
4080
- headSha: string;
4081
- id: string;
4082
- source: "agent" | "cezar";
4083
- 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";
4084
- registeredAt: string;
4085
- phase: "cancelled" | "delivered" | "open" | "resolved";
4086
- resolvedAt?: string | undefined;
4087
- deliveredAt?: string | undefined;
4088
- cancelledAt?: string | undefined;
4089
- turnId: string;
4090
- kind: "pr";
4091
- deadline: string;
4092
- generation: string;
4093
- timeoutSeconds: number;
4094
- until: "checks" | "merge" | "merge_or_blocked";
4095
- wakeOnConflict: boolean;
4096
- result?: {
4097
- outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
4098
- headSha: string;
4099
- observedHeadSha?: string | undefined;
4100
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
4101
- mergeStateStatus?: string | undefined;
4102
- mergedAt?: string | undefined;
4103
- mergeCommitSha?: string | undefined;
4104
- mergeBlock?: {
4105
- reason: "conflict" | "no_pending_merge";
4106
- isInMergeQueue: boolean;
4107
- autoMergeEnabled: boolean;
4108
- event?: {
4109
- kind: "auto_merge_disabled" | "queue_removal";
4110
- createdAt: string;
4111
- reason?: string | undefined;
4112
- reasonCode?: string | undefined;
4113
- } | undefined;
4114
- } | undefined;
4115
- observedAt: string;
4116
- checks: {
4117
- name: string;
4118
- state: string;
4119
- link: string;
4120
- }[];
4121
- totalChecks: number;
4122
- truncated: boolean;
4123
- diagnostic?: string | undefined;
4124
- } | undefined;
4125
- } | {
4126
- id: string;
4127
- source: "agent" | "cezar";
4128
- 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";
4129
- registeredAt: string;
4130
- phase: "cancelled" | "delivered" | "open" | "resolved";
4131
- resolvedAt?: string | undefined;
4132
- deliveredAt?: string | undefined;
4133
- cancelledAt?: string | undefined;
4134
- turnId: string;
4135
- kind: "timer";
4136
- deadline: string;
4137
- seconds: number;
4138
- note?: string | undefined;
4139
- } | {
4140
- id: string;
4141
- source: "agent" | "cezar";
4142
- 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";
4143
- registeredAt: string;
4144
- phase: "cancelled" | "delivered" | "open" | "resolved";
4145
- resolvedAt?: string | undefined;
4146
- deliveredAt?: string | undefined;
4147
- cancelledAt?: string | undefined;
4148
- turnId: string;
4149
- kind: "human";
4150
- questions?: {
4151
- id?: string | undefined;
4152
- header: string;
4153
- question: string;
4154
- options?: {
4155
- label: string;
4156
- description?: string | undefined;
4157
- }[] | undefined;
4158
- multiSelect?: boolean | undefined;
4159
- }[] | undefined;
4160
- context?: string | undefined;
4161
- askSeq?: number | undefined;
4162
- } | {
4163
- id: string;
4164
- source: "agent" | "cezar";
4165
- 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";
4166
- registeredAt: string;
4167
- phase: "cancelled" | "delivered" | "open" | "resolved";
4168
- resolvedAt?: string | undefined;
4169
- deliveredAt?: string | undefined;
4170
- cancelledAt?: string | undefined;
4171
- turnId: string;
4172
- kind: "worker";
4173
- deadline?: string | undefined;
4174
- timeoutSeconds?: number | undefined;
4175
- mode?: "all" | "any" | "one" | undefined;
4176
- workerIds?: string[] | undefined;
4177
- revisions?: {
4178
- workerId: string;
4179
- revision: number;
4180
- }[] | undefined;
4181
- outcomes?: {
4182
- workerId: string;
4183
- status: "cancelled" | "done" | "failed" | "review";
4184
- observedAt: string;
4185
- summary?: string | undefined;
4186
- revision?: number | undefined;
4187
- }[] | undefined;
4188
- requestIds?: string[] | undefined;
4189
- requestOutcomes?: {
4190
- requestId: string;
4191
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
4192
- observedAt: string;
4193
- replyId?: string | undefined;
4194
- }[] | undefined;
4195
- result?: {
4196
- reason: "outcome" | "timeout";
4197
- } | undefined;
4198
- wakeInputId?: string | undefined;
4199
- } | {
4200
- id: string;
4201
- source: "agent" | "cezar";
4202
- 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";
4203
- registeredAt: string;
4204
- phase: "cancelled" | "delivered" | "open" | "resolved";
4205
- resolvedAt?: string | undefined;
4206
- deliveredAt?: string | undefined;
4207
- cancelledAt?: string | undefined;
4208
- turnId: string;
4209
- kind: "process";
4210
- deadline: string;
4211
- timeoutSeconds: number;
4212
- pid: number;
4213
- startToken?: string | undefined;
4214
- exitFile?: string | undefined;
4215
- note?: string | undefined;
4216
- result?: {
4217
- outcome: "deadline" | "error" | "exit_file" | "exited";
4218
- observedAt: string;
4219
- exitCode?: number | undefined;
4220
- exitFileNote?: "not-an-exit-code" | undefined;
4221
- diagnostic?: string | undefined;
4222
- } | undefined;
4223
- } | {
4224
- id: string;
4225
- source: "agent" | "cezar";
4226
- 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";
4227
- registeredAt: string;
4228
- phase: "cancelled" | "delivered" | "open" | "resolved";
4229
- resolvedAt?: string | undefined;
4230
- deliveredAt?: string | undefined;
4231
- cancelledAt?: string | undefined;
4232
- turnId: string;
4233
- kind: "peer";
4234
- deadline: string;
4235
- timeoutSeconds: number;
4236
- peerIds: string[];
4237
- result?: {
4238
- reason: "message";
4239
- peerRunId: string;
4240
- messageId: string;
4241
- } | {
4242
- reason: "settled";
4243
- peerRunId: string;
4244
- } | {
4245
- reason: "timeout";
4246
- } | undefined;
4247
- } | {
4248
- id: string;
4249
- registeredAt: string;
4250
- phase: "cancelled" | "delivered" | "open" | "resolved";
4251
- resolvedAt?: string | undefined;
4252
- deliveredAt?: string | undefined;
4253
- cancelledAt?: string | undefined;
4254
- turnId: string;
4255
- kind: "subagent";
4256
- source: "cezar";
4257
- via: "native-subagents";
4258
- deadline: string;
4259
- children: {
4260
- id: string;
4261
- status: "cancelled" | "completed" | "failed" | "running";
4262
- }[];
4263
- result?: {
4264
- reason: "interrupted" | "settled" | "superseded" | "timeout";
4265
- } | undefined;
4266
- })[] | undefined;
4267
- lastWaitsError?: string | undefined;
4268
- automaticWakes?: number | undefined;
4269
- waitDeliveryFailures?: number | undefined;
4270
- previewServers?: {
4271
- port: number;
4272
- command: string;
4273
- cwd?: string | undefined;
4274
- label: string;
4275
- path?: string | undefined;
4276
- registeredAt: string;
4277
- answeredAtRegistration: boolean;
4278
- }[] | undefined;
4279
- taskImages?: string[] | undefined;
4280
- model?: string | undefined;
4281
- effort?: string | undefined;
4282
- modelIdentity?: string | undefined;
4283
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
4284
- agentProfile?: string | undefined;
4285
- systemPrompt?: string | undefined;
4286
- generateFollowups?: boolean | undefined;
4287
- autonomous?: boolean | undefined;
4288
- completionAction?: {
4289
- id: string;
4290
- phase: "blocked" | "complete" | "pending";
4291
- message?: string | undefined;
4292
- } | undefined;
4293
- archiveBlocker?: {
4294
- message: string;
4295
- runId?: string | undefined;
4296
- pullRequestUrl?: string | undefined;
4297
- } | undefined;
4298
- automation?: {
4299
- automationId: string;
4300
- automationRevision: number;
4301
- receiptId: string;
4302
- event: string;
4303
- githubUrl: string;
4304
- } | undefined;
4305
- automationTrigger?: {
4306
- automationId: string;
4307
- automationRevision: number;
4308
- receiptId: string;
4309
- trigger: "catch-up" | "manual" | "schedule";
4310
- occurrenceAt: string;
4311
- } | undefined;
4312
- destroyRetry?: {
4313
- attempts: number;
4314
- nextAt: string;
4315
- needsAttention?: true | undefined;
4316
- } | undefined;
4317
- notify?: boolean | undefined;
4318
- webhook?: {
4319
- lastDeliveredAt?: string | undefined;
4320
- lastError?: string | undefined;
4321
- lastErrorWebhookId?: string | undefined;
4322
- } | undefined;
4323
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
4324
- hasPendingPermission?: boolean | undefined;
4325
- autoResumeAt?: string | undefined;
4326
- autoResumeAttempts?: number | undefined;
4327
- createdAt: string;
4328
- startedAt?: string | undefined;
4329
- finishedAt?: string | undefined;
4330
- tokensUsed: number;
4331
- inputTokens?: number | undefined;
4332
- outputTokens?: number | undefined;
4333
- costUsd?: number | undefined;
4334
- pullRequestUrl?: string | undefined;
4335
- pullRequests?: {
4336
- number: number;
4337
- url?: string | undefined;
4338
- source: "created" | "declared";
4339
- }[] | undefined;
4340
- referencedPullRequestUrl?: string | undefined;
4341
- prNumber?: number | undefined;
4342
- issueNumber?: number | undefined;
4343
- referencedIssueNumberSeeded?: boolean | undefined;
4344
- titleOrigin?: "auto" | "marker" | "user" | undefined;
4345
- markerRefs?: {
4346
- pr?: number | undefined;
4347
- issue?: number | undefined;
4348
- } | undefined;
4349
- referencedPrCandidates?: string[] | undefined;
4350
- referencedIssueUrl?: string | undefined;
4351
- referencedIssueCandidates?: string[] | undefined;
4352
- worktree?: false | undefined;
4353
- worktreePath?: string | undefined;
4354
- branch?: string | undefined;
4355
- baseBranch?: string | undefined;
4356
- worktreeReclaimedAt?: string | undefined;
4357
- worktreeSetup?: {
4358
- status: "done" | "failed" | "running";
4359
- startedAt: string;
4360
- finishedAt?: string | undefined;
4361
- durationMs?: number | undefined;
4362
- error?: string | undefined;
4363
- } | undefined;
4364
- groupId?: string | undefined;
4365
- variant?: string | undefined;
4366
- clientRequestId?: string | undefined;
4367
- clientRequestHash?: string | undefined;
4368
- peakRssBytes?: number | undefined;
4369
- peakProcCount?: number | undefined;
4370
- archived: boolean;
4371
- archivedAt?: string | undefined;
4372
- autoArchive?: {
4373
- reason: "pull-requests-merged";
4374
- archivedAt: string;
4375
- fingerprint: string;
4376
- pullRequests: {
4377
- owner: string;
4378
- repo: string;
4379
- number: number;
4380
- mergedAt: string;
4381
- }[];
4382
- } | undefined;
4383
- manualUnarchivedAt?: string | undefined;
4384
- pinned?: boolean | undefined;
4385
- pinnedAt?: string | undefined;
4386
- seenAt?: string | undefined;
4387
- currentStepId?: string | undefined;
4388
- error?: string | undefined;
4389
- steps: {
4390
- id: string;
4391
- name: string;
4392
- kind: "agent" | "check";
4393
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
4394
- iterations: number;
4395
- retriesUsed?: number | undefined;
4396
- tokensUsed: number;
4397
- inputTokens?: number | undefined;
4398
- outputTokens?: number | undefined;
4399
- usageInvocationsStarted?: number | undefined;
4400
- usageInvocationsObserved?: number | undefined;
4401
- usageTurnsStarted?: number | undefined;
4402
- usageTurnsRecorded?: number | undefined;
4403
- usageInvocationEpoch?: number | undefined;
4404
- startedAt?: string | undefined;
4405
- finishedAt?: string | undefined;
4406
- error?: string | undefined;
4407
- sessionId?: string | undefined;
4408
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
4409
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
4410
- profileId?: string | undefined;
4411
- costUsd?: number | undefined;
4412
- synthetic?: "continuation" | undefined;
4413
- }[];
4414
- workflowDef?: {
4415
- name: string;
4416
- description?: string | undefined;
4417
- steps: {
4418
- id: string;
4419
- name?: string | undefined;
4420
- prompt?: string | undefined;
4421
- skill?: string | undefined;
4422
- model?: string | undefined;
4423
- effort?: string | undefined;
4424
- timeoutMs?: number | undefined;
4425
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
4426
- agentProfile?: string | undefined;
4427
- allowedTools?: string[] | undefined;
4428
- bashAllowlist?: string[] | undefined;
4429
- command?: string | undefined;
4430
- onFail?: {
4431
- retry: string;
4432
- max: number;
4433
- } | undefined;
4434
- }[];
4435
- source: "built-in" | "file";
4436
- path?: string | undefined;
4437
- } | undefined;
4438
- handoffRecords?: {
4439
- autosave: {
4440
- at: string;
4441
- note: string;
4442
- periodic?: {
4443
- branch: string | null;
4444
- count: number;
4445
- first: string | null;
4446
- latest: string | null;
4447
- } | undefined;
4448
- }[];
4449
- } | undefined;
4450
- }) => boolean;
4451
- readonly refused: 'Worker not found';
4452
- readonly steps: typeof cancelledStep;
4453
- readonly event: "run cancelled";
4454
- };
4455
- readonly 'cancel-late': {
4456
- readonly durability: 'debounced';
4457
- readonly from: readonly ["queued", "running", "waiting", "done", "review", "failed"];
4458
- readonly to: 'cancelled';
4459
- readonly steps: typeof cancelledStep;
4460
- readonly event: "run cancelled";
4461
- };
4462
- };
4463
- export type RunExitId = keyof typeof RUN_EXITS;
4464
- /** The lifecycle event a write that applies `exit` to a run at `from` writes: the exit's `event`,
4465
- * or the caller's text for it, when the exit moves the run into its status. A repeated write on a
4466
- * run already there writes none, so one cancellation reads as one event (B12). */
4467
- export declare function exitEvent(exit: RunExitId, from: RunStatus, call?: ExitCall): string | undefined;
4468
- /** The record rule: a Done commits at once on a run with a completion option, because its
4469
- * completion action and archive must be durable (hearsay-tools/cezarion#2324). */
4470
- export declare function doneCommits(run: Pick<RunRecord, 'archiveWhenDone' | 'autoMergePr'>): boolean;
4471
- /**
4472
- * How `RunStore.move` persists `exit` on `run`, the record before the write (Decision 4). First
4473
- * match wins: the record rule (an exit to `done` on a run with a completion option commits), then
4474
- * the exit's own `durability`. A rule only raises a debounced exit to committed. An exit applied
4475
- * inside another commit (`resume` in `commitOutcome`, `continue-*` in `commitWorkerContinuation`)
4476
- * commits with that commit, before either rule; the caller's extras never decide.
4477
- */
4478
- export declare function exitDurability(exit: RunExitId, run: Pick<RunRecord, 'archiveWhenDone' | 'autoMergePr'>): ExitDurability;
4479
- /** Tests only: `vitest.setup.ts` calls it, so a violation is recorded for `throwRunExitViolations`
4480
- * instead of logged. Returns the previous mode, so a test that changes it can put it back. */
4481
- export declare function strictRunExits(on?: boolean): boolean;
4482
- /** The violations recorded since the last call. */
4483
- export declare function takeRunExitViolations(): string[];
4484
- /** Throws the violations recorded since the last call: the test setup runs it after each test. */
4485
- export declare function throwRunExitViolations(): void;
4486
- /** Report run-exit and wait-phase violations without interrupting the write.
4487
- * Strict mode records them for the test setup; production warns once per violation. */
4488
- export declare function reportStoreViolation(message: string): void;
4489
- /** The fields a write that applies `exit` writes: `extras`, the steps it settles and the exit's
4490
- * status. */
4491
- export type ExitWrite<E extends RunExitId> = Omit<RunPatch, 'status'> & {
4492
- steps?: StepState[];
4493
- status: (typeof RUN_EXITS)[E]['to'];
4494
- };
4495
- /**
4496
- * Apply `exit` to `run`, a record in hand: check its status against the exit's `from` and return
4497
- * the fields to write: the exit's `fields`, then `extras` over them, then what a settling exit
4498
- * writes on every run (`settledRun`), then the steps its `steps` changed, then the exit's status. It
4499
- * neither runs a guard nor a guarded `settle`: a caller of a guarded exit checks its guard itself.
4500
- * `RunStore.move` writes through it, and the store's load-time and archive writers assign its
4501
- * result onto the record they change.
4502
- */
4503
- export declare function applyExit<E extends RunExitId>(run: ExitRead, exit: E, extras?: RunPatch, call?: ExitCall): ExitWrite<E>;
4504
- /**
4505
- * The status `exit` writes onto a run whose status is `from`. The store calls it inside the write
4506
- * that applies the exit, with the record that write changes. It reports an exit that does not
4507
- * leave from `from`, then returns the status all the same.
4508
- */
4509
- export declare function exitStatus<E extends RunExitId>(exit: E, from: RunStatus): (typeof RUN_EXITS)[E]['to'];
4510
- export {};