@wjarka/cezarion 0.17.0-pr848.3486 → 0.18.0-dev.5793

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 (1392) 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 +2 -0
  5. package/dist/cezarion.js +2 -0
  6. package/dist/hsq.js +2 -0
  7. package/dist/index.js +1 -781
  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 +20 -59
  12. package/web/dist/assets/activity-motion-0wHCeUs7.css +1 -0
  13. package/web/dist/assets/activity-motion-2nE59DAT.js +2 -0
  14. package/web/dist/assets/activity-route-R9lPc2jy.js +1 -0
  15. package/web/dist/assets/agent-accounts-f1cxwgfz.js +18 -0
  16. package/web/dist/assets/alert-dialog-Dj464rjk.js +1 -0
  17. package/web/dist/assets/arrow-right-Dh_Lx3um.js +1 -0
  18. package/web/dist/assets/button-CHUAMTHK.js +3 -0
  19. package/web/dist/assets/centered-state-DGyy0SuA.js +1 -0
  20. package/web/dist/assets/cez-idle-EVoUsgU3.js +1 -0
  21. package/web/dist/assets/commit-diff-panel-BJyNYmCY.js +1 -0
  22. package/web/dist/assets/control-locations-C9II3kPz.js +1 -0
  23. package/web/dist/assets/design-icons-DmYTv2r1.js +1 -0
  24. package/web/dist/assets/diff-D_9MtICR.js +3 -0
  25. package/web/dist/assets/diff-controls-BR2uqhwG.js +1 -0
  26. package/web/dist/assets/diff-view-xRPxXHXl.js +11 -0
  27. package/web/dist/assets/dropdown-menu-DhrBcVgr.js +1 -0
  28. package/web/dist/assets/es2015-D345RR4o.js +41 -0
  29. package/web/dist/assets/file-preview-D08Kq15E.js +2 -0
  30. package/web/dist/assets/git-toolbar-D9taioU5.js +1 -0
  31. package/web/dist/assets/github-bv_pBGc5.js +1 -0
  32. package/web/dist/assets/github-sidebar-model-B0Ufci5S.js +1 -0
  33. package/web/dist/assets/global-activity-route-QxTPDyx-.js +1 -0
  34. package/web/dist/assets/hourglass-B0lPAJvT.js +1 -0
  35. package/web/dist/assets/{image-preview-C_t9q45f.js → image-preview-Cq1vDiEo.js} +1 -1
  36. package/web/dist/assets/index-B18AqW0Z.css +1 -0
  37. package/web/dist/assets/index-DgU3yYUl.js +14 -0
  38. package/web/dist/assets/index.global-D3Ga_D3Y.js +1 -0
  39. package/web/dist/assets/live-protocol-BVn0UA_g.js +64 -0
  40. package/web/dist/assets/live-refetch-BdnmTJ_8.js +1 -0
  41. package/web/dist/assets/{live-worker-BizfZSoh.ts → live-worker-BWdeGzQX.ts} +2 -1
  42. package/web/dist/assets/loader-circle-CZkGEdoI.js +1 -0
  43. package/web/dist/assets/markdown-D7DUNWcJ.js +6 -0
  44. package/web/dist/assets/mermaid.min-3O9YjB2l.js +1 -0
  45. package/web/dist/assets/message-square-B-MD-8rD.js +1 -0
  46. package/web/dist/assets/{nav-row-styles-AoIhhIwf.js → nav-row-styles-BZUUavOF.js} +1 -1
  47. package/web/dist/assets/popover-DRcRI46x.js +1 -0
  48. package/web/dist/assets/preview-pane-connected-cD-MTiVN.js +3 -0
  49. package/web/dist/assets/project-router-MMOk9VbW.js +1 -0
  50. package/web/dist/assets/project-scope-context-B3M-u8R0.js +4 -0
  51. package/web/dist/assets/queries-DORTKwyN.js +1 -0
  52. package/web/dist/assets/repo-git-E_4Ighvg.js +1 -0
  53. package/web/dist/assets/report-reader-XVNQsXB4.js +1 -0
  54. package/web/dist/assets/report-title-D4Mbu2Er.js +1 -0
  55. package/web/dist/assets/reports-B7QAzibP.css +1 -0
  56. package/web/dist/assets/reports-B_PVTBzP.js +1 -0
  57. package/web/dist/assets/run-header-wm0gSs6X.js +2 -0
  58. package/web/dist/assets/skill-empty-hint-YDmkqgo-.js +1 -0
  59. package/web/dist/assets/skills-D2RLxUIc.js +1 -0
  60. package/web/dist/assets/skills-DFBiAuJG.js +1 -0
  61. package/web/dist/assets/skills-workflows-C21NystW.css +1 -0
  62. package/web/dist/assets/sortable.esm-zp_qkYGV.js +5 -0
  63. package/web/dist/assets/tab-link-BvoGfK8S.js +1 -0
  64. package/web/dist/assets/task-changes-DNtkfFzQ.js +1 -0
  65. package/web/dist/assets/task-commits-CivO-OrN.js +1 -0
  66. package/web/dist/assets/task-files-dczkxV_G.js +1 -0
  67. package/web/dist/assets/task-github-item-DKV4yrcf.js +1 -0
  68. package/web/dist/assets/task-thread-DIaTTGEF.js +9 -0
  69. package/web/dist/assets/textarea-DlVUfdWG.js +1 -0
  70. package/web/dist/assets/thread-state-DIozHuHb.js +4 -0
  71. package/web/dist/assets/toaster-B1MyeHiE.js +1 -0
  72. package/web/dist/assets/use-hand-to-agent-state-D58ayxI4.js +1 -0
  73. package/web/dist/assets/useInfiniteQuery-BbYMWe23.js +1 -0
  74. package/web/dist/assets/useQuery-CqqnAJvu.js +1 -0
  75. package/web/dist/assets/workflows-YMEsGXeB.js +7 -0
  76. package/web/dist/assets/ws-BtSVmivO.js +1 -0
  77. package/web/dist/assets/zoomable-image-5pOUaPEg.js +1 -0
  78. package/web/dist/index.html +31 -15
  79. package/web/dist/live-worker.js +2 -2
  80. package/LICENSE +0 -22
  81. package/README.md +0 -1745
  82. package/dist/agent-config/account-identity.d.ts +0 -28
  83. package/dist/agent-config/account-identity.js +0 -131
  84. package/dist/agent-config/account-identity.js.map +0 -1
  85. package/dist/agent-config/catalog.d.ts +0 -70
  86. package/dist/agent-config/catalog.js +0 -383
  87. package/dist/agent-config/catalog.js.map +0 -1
  88. package/dist/agent-config/files.d.ts +0 -42
  89. package/dist/agent-config/files.js +0 -115
  90. package/dist/agent-config/files.js.map +0 -1
  91. package/dist/agent-config/model-settings/claude.d.ts +0 -2
  92. package/dist/agent-config/model-settings/claude.js +0 -11
  93. package/dist/agent-config/model-settings/claude.js.map +0 -1
  94. package/dist/agent-config/model-settings/codex.d.ts +0 -2
  95. package/dist/agent-config/model-settings/codex.js +0 -16
  96. package/dist/agent-config/model-settings/codex.js.map +0 -1
  97. package/dist/agent-config/model-settings/opencode.d.ts +0 -2
  98. package/dist/agent-config/model-settings/opencode.js +0 -8
  99. package/dist/agent-config/model-settings/opencode.js.map +0 -1
  100. package/dist/agent-config/model-settings/pi.d.ts +0 -2
  101. package/dist/agent-config/model-settings/pi.js +0 -38
  102. package/dist/agent-config/model-settings/pi.js.map +0 -1
  103. package/dist/agent-config/model-settings/shared.d.ts +0 -12
  104. package/dist/agent-config/model-settings/shared.js +0 -100
  105. package/dist/agent-config/model-settings/shared.js.map +0 -1
  106. package/dist/agent-config/model-settings/types.d.ts +0 -9
  107. package/dist/agent-config/model-settings/types.js +0 -2
  108. package/dist/agent-config/model-settings/types.js.map +0 -1
  109. package/dist/agent-config/models.d.ts +0 -9
  110. package/dist/agent-config/models.js +0 -40
  111. package/dist/agent-config/models.js.map +0 -1
  112. package/dist/agent-config/seed.d.ts +0 -15
  113. package/dist/agent-config/seed.js +0 -94
  114. package/dist/agent-config/seed.js.map +0 -1
  115. package/dist/agent-config/service.d.ts +0 -44
  116. package/dist/agent-config/service.js +0 -72
  117. package/dist/agent-config/service.js.map +0 -1
  118. package/dist/agent-config/validate.d.ts +0 -18
  119. package/dist/agent-config/validate.js +0 -82
  120. package/dist/agent-config/validate.js.map +0 -1
  121. package/dist/application-update/bin-recovery.d.ts +0 -5
  122. package/dist/application-update/bin-recovery.js +0 -96
  123. package/dist/application-update/bin-recovery.js.map +0 -1
  124. package/dist/application-update/discovery.d.ts +0 -22
  125. package/dist/application-update/discovery.js +0 -91
  126. package/dist/application-update/discovery.js.map +0 -1
  127. package/dist/application-update/helper.d.ts +0 -57
  128. package/dist/application-update/helper.js +0 -369
  129. package/dist/application-update/helper.js.map +0 -1
  130. package/dist/application-update/launcher.d.ts +0 -12
  131. package/dist/application-update/launcher.js +0 -59
  132. package/dist/application-update/launcher.js.map +0 -1
  133. package/dist/application-update/lock.d.ts +0 -4
  134. package/dist/application-update/lock.js +0 -70
  135. package/dist/application-update/lock.js.map +0 -1
  136. package/dist/application-update/npm-process.d.ts +0 -17
  137. package/dist/application-update/npm-process.js +0 -133
  138. package/dist/application-update/npm-process.js.map +0 -1
  139. package/dist/application-update/service.d.ts +0 -69
  140. package/dist/application-update/service.js +0 -456
  141. package/dist/application-update/service.js.map +0 -1
  142. package/dist/archive-on-merge-setting.d.ts +0 -15
  143. package/dist/archive-on-merge-setting.js +0 -14
  144. package/dist/archive-on-merge-setting.js.map +0 -1
  145. package/dist/artifacts/cli.d.ts +0 -9
  146. package/dist/artifacts/cli.js +0 -59
  147. package/dist/artifacts/cli.js.map +0 -1
  148. package/dist/artifacts/lifecycle.d.ts +0 -4
  149. package/dist/artifacts/lifecycle.js +0 -42
  150. package/dist/artifacts/lifecycle.js.map +0 -1
  151. package/dist/artifacts/resolve.d.ts +0 -18
  152. package/dist/artifacts/resolve.js +0 -103
  153. package/dist/artifacts/resolve.js.map +0 -1
  154. package/dist/artifacts/store.d.ts +0 -8
  155. package/dist/artifacts/store.js +0 -323
  156. package/dist/artifacts/store.js.map +0 -1
  157. package/dist/automations/automation-cli.d.ts +0 -59
  158. package/dist/automations/automation-cli.js +0 -509
  159. package/dist/automations/automation-cli.js.map +0 -1
  160. package/dist/automations/builtin-skill.d.ts +0 -7
  161. package/dist/automations/builtin-skill.js +0 -14
  162. package/dist/automations/builtin-skill.js.map +0 -1
  163. package/dist/automations/coordinator.d.ts +0 -33
  164. package/dist/automations/coordinator.js +0 -86
  165. package/dist/automations/coordinator.js.map +0 -1
  166. package/dist/automations/github-baseline.d.ts +0 -3
  167. package/dist/automations/github-baseline.js +0 -17
  168. package/dist/automations/github-baseline.js.map +0 -1
  169. package/dist/automations/github-poller.d.ts +0 -93
  170. package/dist/automations/github-poller.js +0 -303
  171. package/dist/automations/github-poller.js.map +0 -1
  172. package/dist/automations/prompts.d.ts +0 -12
  173. package/dist/automations/prompts.js +0 -160
  174. package/dist/automations/prompts.js.map +0 -1
  175. package/dist/automations/schedule-runner.d.ts +0 -149
  176. package/dist/automations/schedule-runner.js +0 -513
  177. package/dist/automations/schedule-runner.js.map +0 -1
  178. package/dist/automations/scheduler.d.ts +0 -87
  179. package/dist/automations/scheduler.js +0 -434
  180. package/dist/automations/scheduler.js.map +0 -1
  181. package/dist/automations/service.d.ts +0 -777
  182. package/dist/automations/service.js +0 -444
  183. package/dist/automations/service.js.map +0 -1
  184. package/dist/automations/store.d.ts +0 -160
  185. package/dist/automations/store.js +0 -738
  186. package/dist/automations/store.js.map +0 -1
  187. package/dist/automations/task-template.d.ts +0 -59
  188. package/dist/automations/task-template.js +0 -273
  189. package/dist/automations/task-template.js.map +0 -1
  190. package/dist/automations/tool-adapter.d.ts +0 -6
  191. package/dist/automations/tool-adapter.js +0 -108
  192. package/dist/automations/tool-adapter.js.map +0 -1
  193. package/dist/automations/types.d.ts +0 -1
  194. package/dist/automations/types.js +0 -2
  195. package/dist/automations/types.js.map +0 -1
  196. package/dist/autosave-cleanup.d.ts +0 -26
  197. package/dist/autosave-cleanup.js +0 -87
  198. package/dist/autosave-cleanup.js.map +0 -1
  199. package/dist/autosave-git.d.ts +0 -21
  200. package/dist/autosave-git.js +0 -204
  201. package/dist/autosave-git.js.map +0 -1
  202. package/dist/autosave-group.d.ts +0 -8
  203. package/dist/autosave-group.js +0 -61
  204. package/dist/autosave-group.js.map +0 -1
  205. package/dist/autosave-holders.d.ts +0 -34
  206. package/dist/autosave-holders.js +0 -204
  207. package/dist/autosave-holders.js.map +0 -1
  208. package/dist/autosave-windows.d.ts +0 -25
  209. package/dist/autosave-windows.js +0 -156
  210. package/dist/autosave-windows.js.map +0 -1
  211. package/dist/ci-wait/client.d.ts +0 -28
  212. package/dist/ci-wait/client.js +0 -105
  213. package/dist/ci-wait/client.js.map +0 -1
  214. package/dist/ci-wait/controller.d.ts +0 -780
  215. package/dist/ci-wait/controller.js +0 -334
  216. package/dist/ci-wait/controller.js.map +0 -1
  217. package/dist/ci-wait/errors.d.ts +0 -27
  218. package/dist/ci-wait/errors.js +0 -253
  219. package/dist/ci-wait/errors.js.map +0 -1
  220. package/dist/ci-wait/github.d.ts +0 -87
  221. package/dist/ci-wait/github.js +0 -278
  222. package/dist/ci-wait/github.js.map +0 -1
  223. package/dist/ci-wait/injection.d.ts +0 -3
  224. package/dist/ci-wait/injection.js +0 -26
  225. package/dist/ci-wait/injection.js.map +0 -1
  226. package/dist/ci-wait/mcp.d.ts +0 -3
  227. package/dist/ci-wait/mcp.js +0 -30
  228. package/dist/ci-wait/mcp.js.map +0 -1
  229. package/dist/ci-wait/resources.d.ts +0 -7
  230. package/dist/ci-wait/resources.js +0 -32
  231. package/dist/ci-wait/resources.js.map +0 -1
  232. package/dist/ci-wait/supervisor.d.ts +0 -29
  233. package/dist/ci-wait/supervisor.js +0 -260
  234. package/dist/ci-wait/supervisor.js.map +0 -1
  235. package/dist/ci-wait/tools.d.ts +0 -830
  236. package/dist/ci-wait/tools.js +0 -209
  237. package/dist/ci-wait/tools.js.map +0 -1
  238. package/dist/config.d.ts +0 -68
  239. package/dist/config.js +0 -209
  240. package/dist/config.js.map +0 -1
  241. package/dist/contract/active-provider.d.ts +0 -12
  242. package/dist/contract/agent-config.d.ts +0 -160
  243. package/dist/contract/agent-profiles.d.ts +0 -369
  244. package/dist/contract/application-update.d.ts +0 -32
  245. package/dist/contract/artifacts.d.ts +0 -83
  246. package/dist/contract/ask-schema.d.ts +0 -50
  247. package/dist/contract/ask.d.ts +0 -9
  248. package/dist/contract/attachments.d.ts +0 -35
  249. package/dist/contract/attention.d.ts +0 -91
  250. package/dist/contract/automation-requests.d.ts +0 -308
  251. package/dist/contract/automation-schedule.d.ts +0 -89
  252. package/dist/contract/automation-storage.d.ts +0 -512
  253. package/dist/contract/automations.d.ts +0 -1542
  254. package/dist/contract/ci-wait.d.ts +0 -222
  255. package/dist/contract/config-requests.d.ts +0 -36
  256. package/dist/contract/conversations.d.ts +0 -401
  257. package/dist/contract/defined.d.ts +0 -8
  258. package/dist/contract/delegation.d.ts +0 -2165
  259. package/dist/contract/discovery.d.ts +0 -228
  260. package/dist/contract/effort.d.ts +0 -18
  261. package/dist/contract/events.d.ts +0 -303
  262. package/dist/contract/github-requests.d.ts +0 -26
  263. package/dist/contract/github.d.ts +0 -732
  264. package/dist/contract/handoff.d.ts +0 -43
  265. package/dist/contract/health.d.ts +0 -124
  266. package/dist/contract/image-path.d.ts +0 -6
  267. package/dist/contract/index.d.ts +0 -59
  268. package/dist/contract/index.js +0 -6035
  269. package/dist/contract/live-coordination.d.ts +0 -158
  270. package/dist/contract/live-limits.d.ts +0 -8
  271. package/dist/contract/live.d.ts +0 -123
  272. package/dist/contract/pending-ask.d.ts +0 -58
  273. package/dist/contract/permissions.d.ts +0 -54
  274. package/dist/contract/preview.d.ts +0 -560
  275. package/dist/contract/project-limits.d.ts +0 -33
  276. package/dist/contract/projects.d.ts +0 -716
  277. package/dist/contract/provider-requests.d.ts +0 -77
  278. package/dist/contract/query-requests.d.ts +0 -52
  279. package/dist/contract/repo-requests.d.ts +0 -12
  280. package/dist/contract/repo.d.ts +0 -515
  281. package/dist/contract/run-labels.d.ts +0 -8
  282. package/dist/contract/run-limits.d.ts +0 -8
  283. package/dist/contract/run-predicates.d.ts +0 -32
  284. package/dist/contract/run-requests.d.ts +0 -33
  285. package/dist/contract/run-search.d.ts +0 -193
  286. package/dist/contract/runs.d.ts +0 -5711
  287. package/dist/contract/scheduled-tasks.d.ts +0 -187
  288. package/dist/contract/skills.d.ts +0 -56
  289. package/dist/contract/team-skill-ref.d.ts +0 -10
  290. package/dist/contract/tool-display.d.ts +0 -25
  291. package/dist/contract/ui-state-requests.d.ts +0 -60
  292. package/dist/contract/version.d.ts +0 -3
  293. package/dist/contract/voice.d.ts +0 -213
  294. package/dist/contract/waits.d.ts +0 -1367
  295. package/dist/contract/workflow-file.d.ts +0 -37
  296. package/dist/contract/workflow-requests.d.ts +0 -7
  297. package/dist/contract/workflows.d.ts +0 -250
  298. package/dist/contract/workspace.d.ts +0 -631
  299. package/dist/contract/zoned-time.d.ts +0 -26
  300. package/dist/core/agent-env.d.ts +0 -30
  301. package/dist/core/agent-env.js +0 -400
  302. package/dist/core/agent-env.js.map +0 -1
  303. package/dist/core/agent-model-policy.d.ts +0 -10
  304. package/dist/core/agent-model-policy.js +0 -36
  305. package/dist/core/agent-model-policy.js.map +0 -1
  306. package/dist/core/agent-profiles.d.ts +0 -50
  307. package/dist/core/agent-profiles.js +0 -105
  308. package/dist/core/agent-profiles.js.map +0 -1
  309. package/dist/core/agent-runner.d.ts +0 -394
  310. package/dist/core/agent-runner.js +0 -96
  311. package/dist/core/agent-runner.js.map +0 -1
  312. package/dist/core/ask.d.ts +0 -79
  313. package/dist/core/ask.js +0 -232
  314. package/dist/core/ask.js.map +0 -1
  315. package/dist/core/backend-detect.d.ts +0 -17
  316. package/dist/core/backend-detect.js +0 -209
  317. package/dist/core/backend-detect.js.map +0 -1
  318. package/dist/core/claude-cli-runner.d.ts +0 -72
  319. package/dist/core/claude-cli-runner.js +0 -910
  320. package/dist/core/claude-cli-runner.js.map +0 -1
  321. package/dist/core/claude-model-catalog.d.ts +0 -16
  322. package/dist/core/claude-model-catalog.js +0 -198
  323. package/dist/core/claude-model-catalog.js.map +0 -1
  324. package/dist/core/claude-stream.d.ts +0 -31
  325. package/dist/core/claude-stream.js +0 -68
  326. package/dist/core/claude-stream.js.map +0 -1
  327. package/dist/core/claude-ui-mapper.d.ts +0 -80
  328. package/dist/core/claude-ui-mapper.js +0 -696
  329. package/dist/core/claude-ui-mapper.js.map +0 -1
  330. package/dist/core/codex-app-server-runner.d.ts +0 -61
  331. package/dist/core/codex-app-server-runner.js +0 -1269
  332. package/dist/core/codex-app-server-runner.js.map +0 -1
  333. package/dist/core/codex-app-server-transport.d.ts +0 -52
  334. package/dist/core/codex-app-server-transport.js +0 -199
  335. package/dist/core/codex-app-server-transport.js.map +0 -1
  336. package/dist/core/codex-approvals.d.ts +0 -12
  337. package/dist/core/codex-approvals.js +0 -161
  338. package/dist/core/codex-approvals.js.map +0 -1
  339. package/dist/core/codex-model-catalog.d.ts +0 -10
  340. package/dist/core/codex-model-catalog.js +0 -110
  341. package/dist/core/codex-model-catalog.js.map +0 -1
  342. package/dist/core/codex-native-frames.d.ts +0 -10
  343. package/dist/core/codex-native-frames.js +0 -47
  344. package/dist/core/codex-native-frames.js.map +0 -1
  345. package/dist/core/codex-permissions.d.ts +0 -6
  346. package/dist/core/codex-permissions.js +0 -27
  347. package/dist/core/codex-permissions.js.map +0 -1
  348. package/dist/core/codex-stream-error.d.ts +0 -2
  349. package/dist/core/codex-stream-error.js +0 -12
  350. package/dist/core/codex-stream-error.js.map +0 -1
  351. package/dist/core/codex-turn-outcome.d.ts +0 -8
  352. package/dist/core/codex-turn-outcome.js +0 -30
  353. package/dist/core/codex-turn-outcome.js.map +0 -1
  354. package/dist/core/codex-ui-mapper.d.ts +0 -112
  355. package/dist/core/codex-ui-mapper.js +0 -808
  356. package/dist/core/codex-ui-mapper.js.map +0 -1
  357. package/dist/core/cursor-acp-runner.d.ts +0 -34
  358. package/dist/core/cursor-acp-runner.js +0 -777
  359. package/dist/core/cursor-acp-runner.js.map +0 -1
  360. package/dist/core/cursor-cli-flags.d.ts +0 -19
  361. package/dist/core/cursor-cli-flags.js +0 -47
  362. package/dist/core/cursor-cli-flags.js.map +0 -1
  363. package/dist/core/cursor-config-options.d.ts +0 -18
  364. package/dist/core/cursor-config-options.js +0 -31
  365. package/dist/core/cursor-config-options.js.map +0 -1
  366. package/dist/core/cursor-model-catalog.d.ts +0 -45
  367. package/dist/core/cursor-model-catalog.js +0 -300
  368. package/dist/core/cursor-model-catalog.js.map +0 -1
  369. package/dist/core/cursor-print-capabilities.d.ts +0 -16
  370. package/dist/core/cursor-print-capabilities.js +0 -141
  371. package/dist/core/cursor-print-capabilities.js.map +0 -1
  372. package/dist/core/cursor-print-process.d.ts +0 -31
  373. package/dist/core/cursor-print-process.js +0 -117
  374. package/dist/core/cursor-print-process.js.map +0 -1
  375. package/dist/core/cursor-print-runner.d.ts +0 -31
  376. package/dist/core/cursor-print-runner.js +0 -555
  377. package/dist/core/cursor-print-runner.js.map +0 -1
  378. package/dist/core/cursor-print-tool-catalog.d.ts +0 -10
  379. package/dist/core/cursor-print-tool-catalog.js +0 -91
  380. package/dist/core/cursor-print-tool-catalog.js.map +0 -1
  381. package/dist/core/cursor-print-ui-mapper.d.ts +0 -47
  382. package/dist/core/cursor-print-ui-mapper.js +0 -553
  383. package/dist/core/cursor-print-ui-mapper.js.map +0 -1
  384. package/dist/core/cursor-provider-error.d.ts +0 -33
  385. package/dist/core/cursor-provider-error.js +0 -68
  386. package/dist/core/cursor-provider-error.js.map +0 -1
  387. package/dist/core/cursor-runner.d.ts +0 -24
  388. package/dist/core/cursor-runner.js +0 -149
  389. package/dist/core/cursor-runner.js.map +0 -1
  390. package/dist/core/cursor-ui-mapper.d.ts +0 -29
  391. package/dist/core/cursor-ui-mapper.js +0 -275
  392. package/dist/core/cursor-ui-mapper.js.map +0 -1
  393. package/dist/core/defined.d.ts +0 -1
  394. package/dist/core/defined.js +0 -2
  395. package/dist/core/defined.js.map +0 -1
  396. package/dist/core/hook-items.d.ts +0 -14
  397. package/dist/core/hook-items.js +0 -13
  398. package/dist/core/hook-items.js.map +0 -1
  399. package/dist/core/host-model-catalog.d.ts +0 -7
  400. package/dist/core/host-model-catalog.js +0 -21
  401. package/dist/core/host-model-catalog.js.map +0 -1
  402. package/dist/core/input-submissions.d.ts +0 -14
  403. package/dist/core/input-submissions.js +0 -26
  404. package/dist/core/input-submissions.js.map +0 -1
  405. package/dist/core/managed-session.d.ts +0 -6
  406. package/dist/core/managed-session.js +0 -116
  407. package/dist/core/managed-session.js.map +0 -1
  408. package/dist/core/model-identity.d.ts +0 -108
  409. package/dist/core/model-identity.js +0 -137
  410. package/dist/core/model-identity.js.map +0 -1
  411. package/dist/core/model-presets.d.ts +0 -10
  412. package/dist/core/model-presets.js +0 -77
  413. package/dist/core/model-presets.js.map +0 -1
  414. package/dist/core/ndjson.d.ts +0 -6
  415. package/dist/core/ndjson.js +0 -23
  416. package/dist/core/ndjson.js.map +0 -1
  417. package/dist/core/omp-model-catalog.d.ts +0 -43
  418. package/dist/core/omp-model-catalog.js +0 -205
  419. package/dist/core/omp-model-catalog.js.map +0 -1
  420. package/dist/core/omp-runner.d.ts +0 -72
  421. package/dist/core/omp-runner.js +0 -832
  422. package/dist/core/omp-runner.js.map +0 -1
  423. package/dist/core/omp-ui-mapper.d.ts +0 -106
  424. package/dist/core/omp-ui-mapper.js +0 -856
  425. package/dist/core/omp-ui-mapper.js.map +0 -1
  426. package/dist/core/opencode-model-catalog.d.ts +0 -32
  427. package/dist/core/opencode-model-catalog.js +0 -215
  428. package/dist/core/opencode-model-catalog.js.map +0 -1
  429. package/dist/core/opencode-permissions.d.ts +0 -52
  430. package/dist/core/opencode-permissions.js +0 -101
  431. package/dist/core/opencode-permissions.js.map +0 -1
  432. package/dist/core/opencode-server-runner.d.ts +0 -61
  433. package/dist/core/opencode-server-runner.js +0 -1692
  434. package/dist/core/opencode-server-runner.js.map +0 -1
  435. package/dist/core/opencode-session-error.d.ts +0 -19
  436. package/dist/core/opencode-session-error.js +0 -42
  437. package/dist/core/opencode-session-error.js.map +0 -1
  438. package/dist/core/opencode-ui-mapper.d.ts +0 -137
  439. package/dist/core/opencode-ui-mapper.js +0 -768
  440. package/dist/core/opencode-ui-mapper.js.map +0 -1
  441. package/dist/core/pi-model-catalog.d.ts +0 -38
  442. package/dist/core/pi-model-catalog.js +0 -249
  443. package/dist/core/pi-model-catalog.js.map +0 -1
  444. package/dist/core/pi-rpc-turn.d.ts +0 -184
  445. package/dist/core/pi-rpc-turn.js +0 -380
  446. package/dist/core/pi-rpc-turn.js.map +0 -1
  447. package/dist/core/pi-rpc-wire.d.ts +0 -31
  448. package/dist/core/pi-rpc-wire.js +0 -88
  449. package/dist/core/pi-rpc-wire.js.map +0 -1
  450. package/dist/core/pi-runner.d.ts +0 -43
  451. package/dist/core/pi-runner.js +0 -592
  452. package/dist/core/pi-runner.js.map +0 -1
  453. package/dist/core/pi-ui-mapper.d.ts +0 -52
  454. package/dist/core/pi-ui-mapper.js +0 -373
  455. package/dist/core/pi-ui-mapper.js.map +0 -1
  456. package/dist/core/process-usage.d.ts +0 -74
  457. package/dist/core/process-usage.js +0 -218
  458. package/dist/core/process-usage.js.map +0 -1
  459. package/dist/core/provider-auth.d.ts +0 -168
  460. package/dist/core/provider-auth.js +0 -660
  461. package/dist/core/provider-auth.js.map +0 -1
  462. package/dist/core/provider-availability.d.ts +0 -3
  463. package/dist/core/provider-availability.js +0 -14
  464. package/dist/core/provider-availability.js.map +0 -1
  465. package/dist/core/runner-factory.d.ts +0 -11
  466. package/dist/core/runner-factory.js +0 -31
  467. package/dist/core/runner-factory.js.map +0 -1
  468. package/dist/core/runner-model-catalog.d.ts +0 -34
  469. package/dist/core/runner-model-catalog.js +0 -109
  470. package/dist/core/runner-model-catalog.js.map +0 -1
  471. package/dist/core/runner-runtime.d.ts +0 -40
  472. package/dist/core/runner-runtime.js +0 -88
  473. package/dist/core/runner-runtime.js.map +0 -1
  474. package/dist/core/runner-stderr.d.ts +0 -2
  475. package/dist/core/runner-stderr.js +0 -20
  476. package/dist/core/runner-stderr.js.map +0 -1
  477. package/dist/core/runner-tool-grants.d.ts +0 -21
  478. package/dist/core/runner-tool-grants.js +0 -64
  479. package/dist/core/runner-tool-grants.js.map +0 -1
  480. package/dist/core/secret-redaction.d.ts +0 -20
  481. package/dist/core/secret-redaction.js +0 -98
  482. package/dist/core/secret-redaction.js.map +0 -1
  483. package/dist/core/session-process.d.ts +0 -42
  484. package/dist/core/session-process.js +0 -360
  485. package/dist/core/session-process.js.map +0 -1
  486. package/dist/core/shell-env.d.ts +0 -17
  487. package/dist/core/shell-env.js +0 -51
  488. package/dist/core/shell-env.js.map +0 -1
  489. package/dist/core/ui-events.d.ts +0 -348
  490. package/dist/core/ui-events.js +0 -2
  491. package/dist/core/ui-events.js.map +0 -1
  492. package/dist/core/usage-limit.d.ts +0 -42
  493. package/dist/core/usage-limit.js +0 -152
  494. package/dist/core/usage-limit.js.map +0 -1
  495. package/dist/core/usage.d.ts +0 -11
  496. package/dist/core/usage.js +0 -15
  497. package/dist/core/usage.js.map +0 -1
  498. package/dist/core/v1-text-coalescer.d.ts +0 -36
  499. package/dist/core/v1-text-coalescer.js +0 -72
  500. package/dist/core/v1-text-coalescer.js.map +0 -1
  501. package/dist/data-gitignore.d.ts +0 -6
  502. package/dist/data-gitignore.js +0 -59
  503. package/dist/data-gitignore.js.map +0 -1
  504. package/dist/delegation/capacity.d.ts +0 -15
  505. package/dist/delegation/capacity.js +0 -30
  506. package/dist/delegation/capacity.js.map +0 -1
  507. package/dist/delegation/cli.d.ts +0 -5
  508. package/dist/delegation/cli.js +0 -559
  509. package/dist/delegation/cli.js.map +0 -1
  510. package/dist/delegation/context.d.ts +0 -40
  511. package/dist/delegation/context.js +0 -383
  512. package/dist/delegation/context.js.map +0 -1
  513. package/dist/delegation/conversation-send.d.ts +0 -63
  514. package/dist/delegation/conversation-send.js +0 -60
  515. package/dist/delegation/conversation-send.js.map +0 -1
  516. package/dist/delegation/conversations.d.ts +0 -1670
  517. package/dist/delegation/conversations.js +0 -277
  518. package/dist/delegation/conversations.js.map +0 -1
  519. package/dist/delegation/credentials.d.ts +0 -21
  520. package/dist/delegation/credentials.js +0 -66
  521. package/dist/delegation/credentials.js.map +0 -1
  522. package/dist/delegation/destroy-observation.d.ts +0 -42
  523. package/dist/delegation/destroy-observation.js +0 -115
  524. package/dist/delegation/destroy-observation.js.map +0 -1
  525. package/dist/delegation/effort.d.ts +0 -1
  526. package/dist/delegation/effort.js +0 -11
  527. package/dist/delegation/effort.js.map +0 -1
  528. package/dist/delegation/execution-identity.d.ts +0 -254
  529. package/dist/delegation/execution-identity.js +0 -250
  530. package/dist/delegation/execution-identity.js.map +0 -1
  531. package/dist/delegation/execution-settings.d.ts +0 -10
  532. package/dist/delegation/execution-settings.js +0 -65
  533. package/dist/delegation/execution-settings.js.map +0 -1
  534. package/dist/delegation/idle-test-app.d.ts +0 -4
  535. package/dist/delegation/idle-test-app.js +0 -185
  536. package/dist/delegation/idle-test-app.js.map +0 -1
  537. package/dist/delegation/input.d.ts +0 -12
  538. package/dist/delegation/input.js +0 -50
  539. package/dist/delegation/input.js.map +0 -1
  540. package/dist/delegation/park-notice.d.ts +0 -45
  541. package/dist/delegation/park-notice.js +0 -79
  542. package/dist/delegation/park-notice.js.map +0 -1
  543. package/dist/delegation/policy.d.ts +0 -22
  544. package/dist/delegation/policy.js +0 -95
  545. package/dist/delegation/policy.js.map +0 -1
  546. package/dist/delegation/process-liveness.d.ts +0 -98
  547. package/dist/delegation/process-liveness.js +0 -213
  548. package/dist/delegation/process-liveness.js.map +0 -1
  549. package/dist/delegation/provision.d.ts +0 -35
  550. package/dist/delegation/provision.js +0 -178
  551. package/dist/delegation/provision.js.map +0 -1
  552. package/dist/delegation/questions.d.ts +0 -24
  553. package/dist/delegation/questions.js +0 -55
  554. package/dist/delegation/questions.js.map +0 -1
  555. package/dist/delegation/readiness.d.ts +0 -13
  556. package/dist/delegation/readiness.js +0 -19
  557. package/dist/delegation/readiness.js.map +0 -1
  558. package/dist/delegation/results.d.ts +0 -13
  559. package/dist/delegation/results.js +0 -154
  560. package/dist/delegation/results.js.map +0 -1
  561. package/dist/delegation/retry-backoff.d.ts +0 -31
  562. package/dist/delegation/retry-backoff.js +0 -26
  563. package/dist/delegation/retry-backoff.js.map +0 -1
  564. package/dist/delegation/routes.d.ts +0 -1014
  565. package/dist/delegation/routes.js +0 -77
  566. package/dist/delegation/routes.js.map +0 -1
  567. package/dist/delegation/scratch-cleanup.d.ts +0 -28
  568. package/dist/delegation/scratch-cleanup.js +0 -145
  569. package/dist/delegation/scratch-cleanup.js.map +0 -1
  570. package/dist/delegation/service.d.ts +0 -284
  571. package/dist/delegation/service.js +0 -1046
  572. package/dist/delegation/service.js.map +0 -1
  573. package/dist/delegation/task-discovery.d.ts +0 -6
  574. package/dist/delegation/task-discovery.js +0 -23
  575. package/dist/delegation/task-discovery.js.map +0 -1
  576. package/dist/delegation/transport.d.ts +0 -992
  577. package/dist/delegation/transport.js +0 -22
  578. package/dist/delegation/transport.js.map +0 -1
  579. package/dist/delegation/wait.d.ts +0 -14
  580. package/dist/delegation/wait.js +0 -72
  581. package/dist/delegation/wait.js.map +0 -1
  582. package/dist/delegation/windows-test-app.d.ts +0 -5
  583. package/dist/delegation/windows-test-app.js +0 -63
  584. package/dist/delegation/windows-test-app.js.map +0 -1
  585. package/dist/delegation/windows-workspace-identity.d.ts +0 -3
  586. package/dist/delegation/windows-workspace-identity.js +0 -22
  587. package/dist/delegation/windows-workspace-identity.js.map +0 -1
  588. package/dist/delegation/workspace.d.ts +0 -33
  589. package/dist/delegation/workspace.js +0 -560
  590. package/dist/delegation/workspace.js.map +0 -1
  591. package/dist/detached-process.d.ts +0 -125
  592. package/dist/detached-process.js +0 -448
  593. package/dist/detached-process.js.map +0 -1
  594. package/dist/discovery/catalog.d.ts +0 -15
  595. package/dist/discovery/catalog.js +0 -31
  596. package/dist/discovery/catalog.js.map +0 -1
  597. package/dist/discovery/cli.d.ts +0 -8
  598. package/dist/discovery/cli.js +0 -106
  599. package/dist/discovery/cli.js.map +0 -1
  600. package/dist/git-diff-base.d.ts +0 -41
  601. package/dist/git-diff-base.js +0 -116
  602. package/dist/git-diff-base.js.map +0 -1
  603. package/dist/git-index-copy.d.ts +0 -4
  604. package/dist/git-index-copy.js +0 -10
  605. package/dist/git-index-copy.js.map +0 -1
  606. package/dist/git-refs.d.ts +0 -11
  607. package/dist/git-refs.js +0 -14
  608. package/dist/git-refs.js.map +0 -1
  609. package/dist/git-worktree-lock-helper.d.ts +0 -7
  610. package/dist/git-worktree-lock-helper.js +0 -158
  611. package/dist/git-worktree-lock-helper.js.map +0 -1
  612. package/dist/git-worktree-lock.d.ts +0 -17
  613. package/dist/git-worktree-lock.js +0 -90
  614. package/dist/git-worktree-lock.js.map +0 -1
  615. package/dist/git-worktree-release.d.ts +0 -20
  616. package/dist/git-worktree-release.js +0 -27
  617. package/dist/git-worktree-release.js.map +0 -1
  618. package/dist/git-worktree.d.ts +0 -154
  619. package/dist/git-worktree.js +0 -858
  620. package/dist/git-worktree.js.map +0 -1
  621. package/dist/handoff.d.ts +0 -72
  622. package/dist/handoff.js +0 -209
  623. package/dist/handoff.js.map +0 -1
  624. package/dist/index.d.ts +0 -2
  625. package/dist/index.js.map +0 -1
  626. package/dist/install-as-command.d.ts +0 -40
  627. package/dist/install-as-command.js +0 -52
  628. package/dist/install-as-command.js.map +0 -1
  629. package/dist/merge-observations.d.ts +0 -13
  630. package/dist/merge-observations.js +0 -55
  631. package/dist/merge-observations.js.map +0 -1
  632. package/dist/open-url.d.ts +0 -2
  633. package/dist/open-url.js +0 -10
  634. package/dist/open-url.js.map +0 -1
  635. package/dist/pack-check.d.ts +0 -17
  636. package/dist/pack-check.js +0 -27
  637. package/dist/pack-check.js.map +0 -1
  638. package/dist/paths.d.ts +0 -138
  639. package/dist/paths.js +0 -220
  640. package/dist/paths.js.map +0 -1
  641. package/dist/planner.d.ts +0 -28
  642. package/dist/planner.js +0 -271
  643. package/dist/planner.js.map +0 -1
  644. package/dist/preview/agent-address.d.ts +0 -34
  645. package/dist/preview/agent-address.js +0 -51
  646. package/dist/preview/agent-address.js.map +0 -1
  647. package/dist/preview/agent-marker.d.ts +0 -17
  648. package/dist/preview/agent-marker.js +0 -71
  649. package/dist/preview/agent-marker.js.map +0 -1
  650. package/dist/preview/browser-launch.d.ts +0 -27
  651. package/dist/preview/browser-launch.js +0 -53
  652. package/dist/preview/browser-launch.js.map +0 -1
  653. package/dist/preview/cdp-proxy.d.ts +0 -54
  654. package/dist/preview/cdp-proxy.js +0 -151
  655. package/dist/preview/cdp-proxy.js.map +0 -1
  656. package/dist/preview/cdp.d.ts +0 -49
  657. package/dist/preview/cdp.js +0 -167
  658. package/dist/preview/cdp.js.map +0 -1
  659. package/dist/preview/chromium.d.ts +0 -88
  660. package/dist/preview/chromium.js +0 -482
  661. package/dist/preview/chromium.js.map +0 -1
  662. package/dist/preview/dev-server.d.ts +0 -68
  663. package/dist/preview/dev-server.js +0 -317
  664. package/dist/preview/dev-server.js.map +0 -1
  665. package/dist/preview/host.d.ts +0 -206
  666. package/dist/preview/host.js +0 -929
  667. package/dist/preview/host.js.map +0 -1
  668. package/dist/preview/registration.d.ts +0 -68
  669. package/dist/preview/registration.js +0 -111
  670. package/dist/preview/registration.js.map +0 -1
  671. package/dist/preview/run-tools.d.ts +0 -9
  672. package/dist/preview/run-tools.js +0 -72
  673. package/dist/preview/run-tools.js.map +0 -1
  674. package/dist/preview/session.d.ts +0 -87
  675. package/dist/preview/session.js +0 -378
  676. package/dist/preview/session.js.map +0 -1
  677. package/dist/preview/url.d.ts +0 -6
  678. package/dist/preview/url.js +0 -17
  679. package/dist/preview/url.js.map +0 -1
  680. package/dist/process-wait/exit-file.d.ts +0 -29
  681. package/dist/process-wait/exit-file.js +0 -67
  682. package/dist/process-wait/exit-file.js.map +0 -1
  683. package/dist/process-wait/supervisor.d.ts +0 -30
  684. package/dist/process-wait/supervisor.js +0 -71
  685. package/dist/process-wait/supervisor.js.map +0 -1
  686. package/dist/release/manifests.d.ts +0 -103
  687. package/dist/release/manifests.js +0 -90
  688. package/dist/release/manifests.js.map +0 -1
  689. package/dist/release/snapshot.d.ts +0 -67
  690. package/dist/release/snapshot.js +0 -97
  691. package/dist/release/snapshot.js.map +0 -1
  692. package/dist/release/stable.d.ts +0 -38
  693. package/dist/release/stable.js +0 -55
  694. package/dist/release/stable.js.map +0 -1
  695. package/dist/runs/agent-tmpdir-removal.d.ts +0 -15
  696. package/dist/runs/agent-tmpdir-removal.js +0 -60
  697. package/dist/runs/agent-tmpdir-removal.js.map +0 -1
  698. package/dist/runs/agent-tmpdir.d.ts +0 -119
  699. package/dist/runs/agent-tmpdir.js +0 -829
  700. package/dist/runs/agent-tmpdir.js.map +0 -1
  701. package/dist/runs/arm-repo-handle.d.ts +0 -9
  702. package/dist/runs/arm-repo-handle.js +0 -45
  703. package/dist/runs/arm-repo-handle.js.map +0 -1
  704. package/dist/runs/auto-name.d.ts +0 -75
  705. package/dist/runs/auto-name.js +0 -179
  706. package/dist/runs/auto-name.js.map +0 -1
  707. package/dist/runs/client-request.d.ts +0 -11
  708. package/dist/runs/client-request.js +0 -26
  709. package/dist/runs/client-request.js.map +0 -1
  710. package/dist/runs/conversation-identity.d.ts +0 -19
  711. package/dist/runs/conversation-identity.js +0 -31
  712. package/dist/runs/conversation-identity.js.map +0 -1
  713. package/dist/runs/delegation-state.d.ts +0 -409
  714. package/dist/runs/delegation-state.js +0 -22
  715. package/dist/runs/delegation-state.js.map +0 -1
  716. package/dist/runs/event-history-agent-context.d.ts +0 -14
  717. package/dist/runs/event-history-agent-context.js +0 -105
  718. package/dist/runs/event-history-agent-context.js.map +0 -1
  719. package/dist/runs/event-history-context.d.ts +0 -15
  720. package/dist/runs/event-history-context.js +0 -109
  721. package/dist/runs/event-history-context.js.map +0 -1
  722. package/dist/runs/event-history.d.ts +0 -53
  723. package/dist/runs/event-history.js +0 -535
  724. package/dist/runs/event-history.js.map +0 -1
  725. package/dist/runs/history-compressor.d.ts +0 -29
  726. package/dist/runs/history-compressor.js +0 -116
  727. package/dist/runs/history-compressor.js.map +0 -1
  728. package/dist/runs/history-file.d.ts +0 -36
  729. package/dist/runs/history-file.js +0 -463
  730. package/dist/runs/history-file.js.map +0 -1
  731. package/dist/runs/history-stream.d.ts +0 -2
  732. package/dist/runs/history-stream.js +0 -62
  733. package/dist/runs/history-stream.js.map +0 -1
  734. package/dist/runs/legacy-index.d.ts +0 -49
  735. package/dist/runs/legacy-index.js +0 -155
  736. package/dist/runs/legacy-index.js.map +0 -1
  737. package/dist/runs/live-item-snapshots.d.ts +0 -13
  738. package/dist/runs/live-item-snapshots.js +0 -79
  739. package/dist/runs/live-item-snapshots.js.map +0 -1
  740. package/dist/runs/loaded-run-healing.d.ts +0 -3
  741. package/dist/runs/loaded-run-healing.js +0 -17
  742. package/dist/runs/loaded-run-healing.js.map +0 -1
  743. package/dist/runs/outcome-commit.d.ts +0 -98
  744. package/dist/runs/outcome-commit.js +0 -132
  745. package/dist/runs/outcome-commit.js.map +0 -1
  746. package/dist/runs/pull-requests.d.ts +0 -14
  747. package/dist/runs/pull-requests.js +0 -96
  748. package/dist/runs/pull-requests.js.map +0 -1
  749. package/dist/runs/raw-record.d.ts +0 -40
  750. package/dist/runs/raw-record.js +0 -133
  751. package/dist/runs/raw-record.js.map +0 -1
  752. package/dist/runs/retention.d.ts +0 -91
  753. package/dist/runs/retention.js +0 -182
  754. package/dist/runs/retention.js.map +0 -1
  755. package/dist/runs/review-gate.d.ts +0 -18
  756. package/dist/runs/review-gate.js +0 -21
  757. package/dist/runs/review-gate.js.map +0 -1
  758. package/dist/runs/run-claims.d.ts +0 -16
  759. package/dist/runs/run-claims.js +0 -24
  760. package/dist/runs/run-claims.js.map +0 -1
  761. package/dist/runs/run-database-peer-page.d.ts +0 -12
  762. package/dist/runs/run-database-peer-page.js +0 -25
  763. package/dist/runs/run-database-peer-page.js.map +0 -1
  764. package/dist/runs/run-database.d.ts +0 -383
  765. package/dist/runs/run-database.js +0 -1004
  766. package/dist/runs/run-database.js.map +0 -1
  767. package/dist/runs/run-index.d.ts +0 -26
  768. package/dist/runs/run-index.js +0 -212
  769. package/dist/runs/run-index.js.map +0 -1
  770. package/dist/runs/run-row.d.ts +0 -15
  771. package/dist/runs/run-row.js +0 -59
  772. package/dist/runs/run-row.js.map +0 -1
  773. package/dist/runs/run-summary-page.d.ts +0 -36
  774. package/dist/runs/run-summary-page.js +0 -46
  775. package/dist/runs/run-summary-page.js.map +0 -1
  776. package/dist/runs/run-title.d.ts +0 -8
  777. package/dist/runs/run-title.js +0 -28
  778. package/dist/runs/run-title.js.map +0 -1
  779. package/dist/runs/store-open-error.d.ts +0 -24
  780. package/dist/runs/store-open-error.js +0 -61
  781. package/dist/runs/store-open-error.js.map +0 -1
  782. package/dist/runs/store.d.ts +0 -3263
  783. package/dist/runs/store.js +0 -4647
  784. package/dist/runs/store.js.map +0 -1
  785. package/dist/runs/task-markers.d.ts +0 -29
  786. package/dist/runs/task-markers.js +0 -78
  787. package/dist/runs/task-markers.js.map +0 -1
  788. package/dist/runs/task-refs.d.ts +0 -39
  789. package/dist/runs/task-refs.js +0 -107
  790. package/dist/runs/task-refs.js.map +0 -1
  791. package/dist/runs/transcript-facts-fold.d.ts +0 -64
  792. package/dist/runs/transcript-facts-fold.js +0 -109
  793. package/dist/runs/transcript-facts-fold.js.map +0 -1
  794. package/dist/runs/transcript-facts-load.d.ts +0 -11
  795. package/dist/runs/transcript-facts-load.js +0 -66
  796. package/dist/runs/transcript-facts-load.js.map +0 -1
  797. package/dist/runs/transcript-facts-queue.d.ts +0 -30
  798. package/dist/runs/transcript-facts-queue.js +0 -227
  799. package/dist/runs/transcript-facts-queue.js.map +0 -1
  800. package/dist/runs/transcript-facts-worker.d.ts +0 -15
  801. package/dist/runs/transcript-facts-worker.js +0 -26
  802. package/dist/runs/transcript-facts-worker.js.map +0 -1
  803. package/dist/runs/transcript-facts.d.ts +0 -39
  804. package/dist/runs/transcript-facts.js +0 -186
  805. package/dist/runs/transcript-facts.js.map +0 -1
  806. package/dist/runs/ui-event-sink.d.ts +0 -56
  807. package/dist/runs/ui-event-sink.js +0 -188
  808. package/dist/runs/ui-event-sink.js.map +0 -1
  809. package/dist/runs/webhook.d.ts +0 -191
  810. package/dist/runs/webhook.js +0 -360
  811. package/dist/runs/webhook.js.map +0 -1
  812. package/dist/runs/worker-deletion-proof.d.ts +0 -13
  813. package/dist/runs/worker-deletion-proof.js +0 -13
  814. package/dist/runs/worker-deletion-proof.js.map +0 -1
  815. package/dist/runs/worker-execution.d.ts +0 -22
  816. package/dist/runs/worker-execution.js +0 -30
  817. package/dist/runs/worker-execution.js.map +0 -1
  818. package/dist/serve-boot.d.ts +0 -27
  819. package/dist/serve-boot.js +0 -85
  820. package/dist/serve-boot.js.map +0 -1
  821. package/dist/server/app-type.js.map +0 -1
  822. package/dist/server/archive-on-merge.d.ts +0 -35
  823. package/dist/server/archive-on-merge.js +0 -202
  824. package/dist/server/archive-on-merge.js.map +0 -1
  825. package/dist/server/capabilities.d.ts +0 -59
  826. package/dist/server/capabilities.js +0 -141
  827. package/dist/server/capabilities.js.map +0 -1
  828. package/dist/server/checkout-progress.d.ts +0 -10
  829. package/dist/server/checkout-progress.js +0 -27
  830. package/dist/server/checkout-progress.js.map +0 -1
  831. package/dist/server/checkout.d.ts +0 -129
  832. package/dist/server/checkout.js +0 -304
  833. package/dist/server/checkout.js.map +0 -1
  834. package/dist/server/cockpit-ownership.d.ts +0 -31
  835. package/dist/server/cockpit-ownership.js +0 -191
  836. package/dist/server/cockpit-ownership.js.map +0 -1
  837. package/dist/server/cold-repo-handles.d.ts +0 -14
  838. package/dist/server/cold-repo-handles.js +0 -78
  839. package/dist/server/cold-repo-handles.js.map +0 -1
  840. package/dist/server/completion-actions.d.ts +0 -30
  841. package/dist/server/completion-actions.js +0 -204
  842. package/dist/server/completion-actions.js.map +0 -1
  843. package/dist/server/create-project.d.ts +0 -71
  844. package/dist/server/create-project.js +0 -448
  845. package/dist/server/create-project.js.map +0 -1
  846. package/dist/server/forge/github-filters.d.ts +0 -22
  847. package/dist/server/forge/github-filters.js +0 -127
  848. package/dist/server/forge/github-filters.js.map +0 -1
  849. package/dist/server/forge/github-merge-requirements.d.ts +0 -18
  850. package/dist/server/forge/github-merge-requirements.js +0 -137
  851. package/dist/server/forge/github-merge-requirements.js.map +0 -1
  852. package/dist/server/forge/github.d.ts +0 -535
  853. package/dist/server/forge/github.js +0 -3200
  854. package/dist/server/forge/github.js.map +0 -1
  855. package/dist/server/forge/index.d.ts +0 -40
  856. package/dist/server/forge/index.js +0 -72
  857. package/dist/server/forge/index.js.map +0 -1
  858. package/dist/server/forge/types.d.ts +0 -244
  859. package/dist/server/forge/types.js +0 -2
  860. package/dist/server/forge/types.js.map +0 -1
  861. package/dist/server/fs-browse.d.ts +0 -80
  862. package/dist/server/fs-browse.js +0 -182
  863. package/dist/server/fs-browse.js.map +0 -1
  864. package/dist/server/git-changes.d.ts +0 -203
  865. package/dist/server/git-changes.js +0 -508
  866. package/dist/server/git-changes.js.map +0 -1
  867. package/dist/server/git.d.ts +0 -52
  868. package/dist/server/git.js +0 -170
  869. package/dist/server/git.js.map +0 -1
  870. package/dist/server/github.d.ts +0 -9
  871. package/dist/server/github.js +0 -8
  872. package/dist/server/github.js.map +0 -1
  873. package/dist/server/launch-key.d.ts +0 -5
  874. package/dist/server/launch-key.js +0 -31
  875. package/dist/server/launch-key.js.map +0 -1
  876. package/dist/server/live-routes.d.ts +0 -68
  877. package/dist/server/live-routes.js +0 -147
  878. package/dist/server/live-routes.js.map +0 -1
  879. package/dist/server/open-in-app.d.ts +0 -57
  880. package/dist/server/open-in-app.js +0 -177
  881. package/dist/server/open-in-app.js.map +0 -1
  882. package/dist/server/open-in-targets.d.ts +0 -42
  883. package/dist/server/open-in-targets.js +0 -110
  884. package/dist/server/open-in-targets.js.map +0 -1
  885. package/dist/server/open-in-terminal.d.ts +0 -73
  886. package/dist/server/open-in-terminal.js +0 -159
  887. package/dist/server/open-in-terminal.js.map +0 -1
  888. package/dist/server/pr.d.ts +0 -7
  889. package/dist/server/pr.js +0 -7
  890. package/dist/server/pr.js.map +0 -1
  891. package/dist/server/preview-cdp-socket.d.ts +0 -21
  892. package/dist/server/preview-cdp-socket.js +0 -112
  893. package/dist/server/preview-cdp-socket.js.map +0 -1
  894. package/dist/server/preview-socket.d.ts +0 -36
  895. package/dist/server/preview-socket.js +0 -126
  896. package/dist/server/preview-socket.js.map +0 -1
  897. package/dist/server/preview-sockets.d.ts +0 -14
  898. package/dist/server/preview-sockets.js +0 -18
  899. package/dist/server/preview-sockets.js.map +0 -1
  900. package/dist/server/project-context.d.ts +0 -192
  901. package/dist/server/project-context.js +0 -452
  902. package/dist/server/project-context.js.map +0 -1
  903. package/dist/server/provider-action-gate.d.ts +0 -5
  904. package/dist/server/provider-action-gate.js +0 -27
  905. package/dist/server/provider-action-gate.js.map +0 -1
  906. package/dist/server/provider-auth-runtime.d.ts +0 -32
  907. package/dist/server/provider-auth-runtime.js +0 -116
  908. package/dist/server/provider-auth-runtime.js.map +0 -1
  909. package/dist/server/repo-branch-forge.d.ts +0 -59
  910. package/dist/server/repo-branch-forge.js +0 -157
  911. package/dist/server/repo-branch-forge.js.map +0 -1
  912. package/dist/server/repo-branch-sweep.d.ts +0 -21
  913. package/dist/server/repo-branch-sweep.js +0 -64
  914. package/dist/server/repo-branch-sweep.js.map +0 -1
  915. package/dist/server/repo-branches.d.ts +0 -101
  916. package/dist/server/repo-branches.js +0 -803
  917. package/dist/server/repo-branches.js.map +0 -1
  918. package/dist/server/repo-pull.d.ts +0 -18
  919. package/dist/server/repo-pull.js +0 -96
  920. package/dist/server/repo-pull.js.map +0 -1
  921. package/dist/server/run-event-feed.d.ts +0 -20
  922. package/dist/server/run-event-feed.js +0 -190
  923. package/dist/server/run-event-feed.js.map +0 -1
  924. package/dist/server/server-deps.d.ts +0 -37
  925. package/dist/server/server-deps.js +0 -114
  926. package/dist/server/server-deps.js.map +0 -1
  927. package/dist/server/server.d.ts +0 -29583
  928. package/dist/server/server.js +0 -5456
  929. package/dist/server/server.js.map +0 -1
  930. package/dist/server/start-run-options.d.ts +0 -83
  931. package/dist/server/start-run-options.js +0 -111
  932. package/dist/server/start-run-options.js.map +0 -1
  933. package/dist/server/static-ui.d.ts +0 -49
  934. package/dist/server/static-ui.js +0 -98
  935. package/dist/server/static-ui.js.map +0 -1
  936. package/dist/server/upgrade-router.d.ts +0 -23
  937. package/dist/server/upgrade-router.js +0 -53
  938. package/dist/server/upgrade-router.js.map +0 -1
  939. package/dist/server/validators.d.ts +0 -80
  940. package/dist/server/validators.js +0 -85
  941. package/dist/server/validators.js.map +0 -1
  942. package/dist/server/ws.d.ts +0 -65
  943. package/dist/server/ws.js +0 -200
  944. package/dist/server/ws.js.map +0 -1
  945. package/dist/server/wsl.d.ts +0 -25
  946. package/dist/server/wsl.js +0 -92
  947. package/dist/server/wsl.js.map +0 -1
  948. package/dist/server-install/engine.d.ts +0 -47
  949. package/dist/server-install/engine.js +0 -317
  950. package/dist/server-install/engine.js.map +0 -1
  951. package/dist/server-install/npx-cache.d.ts +0 -36
  952. package/dist/server-install/npx-cache.js +0 -104
  953. package/dist/server-install/npx-cache.js.map +0 -1
  954. package/dist/server-install/platforms/macosx-ngrok.d.ts +0 -6
  955. package/dist/server-install/platforms/macosx-ngrok.js +0 -371
  956. package/dist/server-install/platforms/macosx-ngrok.js.map +0 -1
  957. package/dist/server-install/platforms/ubuntu-vps.d.ts +0 -54
  958. package/dist/server-install/platforms/ubuntu-vps.js +0 -1066
  959. package/dist/server-install/platforms/ubuntu-vps.js.map +0 -1
  960. package/dist/server-install/state.d.ts +0 -50
  961. package/dist/server-install/state.js +0 -180
  962. package/dist/server-install/state.js.map +0 -1
  963. package/dist/server-install/steps.d.ts +0 -108
  964. package/dist/server-install/steps.js +0 -332
  965. package/dist/server-install/steps.js.map +0 -1
  966. package/dist/server-install/strategies.d.ts +0 -4
  967. package/dist/server-install/strategies.js +0 -20
  968. package/dist/server-install/strategies.js.map +0 -1
  969. package/dist/server-install/types.d.ts +0 -284
  970. package/dist/server-install/types.js +0 -118
  971. package/dist/server-install/types.js.map +0 -1
  972. package/dist/server-install/ui.d.ts +0 -36
  973. package/dist/server-install/ui.js +0 -130
  974. package/dist/server-install/ui.js.map +0 -1
  975. package/dist/session-context.d.ts +0 -64
  976. package/dist/session-context.js +0 -264
  977. package/dist/session-context.js.map +0 -1
  978. package/dist/skills-provision.d.ts +0 -62
  979. package/dist/skills-provision.js +0 -325
  980. package/dist/skills-provision.js.map +0 -1
  981. package/dist/skills-remote.d.ts +0 -129
  982. package/dist/skills-remote.js +0 -782
  983. package/dist/skills-remote.js.map +0 -1
  984. package/dist/skills.d.ts +0 -71
  985. package/dist/skills.js +0 -249
  986. package/dist/skills.js.map +0 -1
  987. package/dist/subcommands.d.ts +0 -11
  988. package/dist/subcommands.js +0 -25
  989. package/dist/subcommands.js.map +0 -1
  990. package/dist/task-cli/cli.d.ts +0 -39
  991. package/dist/task-cli/cli.js +0 -721
  992. package/dist/task-cli/cli.js.map +0 -1
  993. package/dist/task-cli/discovery.d.ts +0 -25
  994. package/dist/task-cli/discovery.js +0 -98
  995. package/dist/task-cli/discovery.js.map +0 -1
  996. package/dist/task-cli/hint.d.ts +0 -20
  997. package/dist/task-cli/hint.js +0 -14
  998. package/dist/task-cli/hint.js.map +0 -1
  999. package/dist/task-cli/http.d.ts +0 -49
  1000. package/dist/task-cli/http.js +0 -109
  1001. package/dist/task-cli/http.js.map +0 -1
  1002. package/dist/task-cli/projections.d.ts +0 -68
  1003. package/dist/task-cli/projections.js +0 -76
  1004. package/dist/task-cli/projections.js.map +0 -1
  1005. package/dist/task-cli/watch.d.ts +0 -119
  1006. package/dist/task-cli/watch.js +0 -475
  1007. package/dist/task-cli/watch.js.map +0 -1
  1008. package/dist/ui-state.d.ts +0 -41
  1009. package/dist/ui-state.js +0 -90
  1010. package/dist/ui-state.js.map +0 -1
  1011. package/dist/update-check.d.ts +0 -2
  1012. package/dist/update-check.js +0 -26
  1013. package/dist/update-check.js.map +0 -1
  1014. package/dist/voice/decide.d.ts +0 -32
  1015. package/dist/voice/decide.js +0 -297
  1016. package/dist/voice/decide.js.map +0 -1
  1017. package/dist/voice/decision-log.d.ts +0 -52
  1018. package/dist/voice/decision-log.js +0 -107
  1019. package/dist/voice/decision-log.js.map +0 -1
  1020. package/dist/voice/engine.d.ts +0 -119
  1021. package/dist/voice/engine.js +0 -60
  1022. package/dist/voice/engine.js.map +0 -1
  1023. package/dist/voice/fake-engine.d.ts +0 -10
  1024. package/dist/voice/fake-engine.js +0 -192
  1025. package/dist/voice/fake-engine.js.map +0 -1
  1026. package/dist/voice/jev-engine.d.ts +0 -17
  1027. package/dist/voice/jev-engine.js +0 -110
  1028. package/dist/voice/jev-engine.js.map +0 -1
  1029. package/dist/voice/pending-ask.d.ts +0 -17
  1030. package/dist/voice/pending-ask.js +0 -50
  1031. package/dist/voice/pending-ask.js.map +0 -1
  1032. package/dist/voice/routes.d.ts +0 -115
  1033. package/dist/voice/routes.js +0 -91
  1034. package/dist/voice/routes.js.map +0 -1
  1035. package/dist/voice/sentence.d.ts +0 -21
  1036. package/dist/voice/sentence.js +0 -61
  1037. package/dist/voice/sentence.js.map +0 -1
  1038. package/dist/voice/thresholds.d.ts +0 -28
  1039. package/dist/voice/thresholds.js +0 -29
  1040. package/dist/voice/thresholds.js.map +0 -1
  1041. package/dist/webhooks/cli.d.ts +0 -18
  1042. package/dist/webhooks/cli.js +0 -145
  1043. package/dist/webhooks/cli.js.map +0 -1
  1044. package/dist/webhooks/prompt.d.ts +0 -5
  1045. package/dist/webhooks/prompt.js +0 -26
  1046. package/dist/webhooks/prompt.js.map +0 -1
  1047. package/dist/workflows/active-run.d.ts +0 -170
  1048. package/dist/workflows/active-run.js +0 -21
  1049. package/dist/workflows/active-run.js.map +0 -1
  1050. package/dist/workflows/attachment-path.d.ts +0 -6
  1051. package/dist/workflows/attachment-path.js +0 -40
  1052. package/dist/workflows/attachment-path.js.map +0 -1
  1053. package/dist/workflows/completion-policy.d.ts +0 -98
  1054. package/dist/workflows/completion-policy.js +0 -87
  1055. package/dist/workflows/completion-policy.js.map +0 -1
  1056. package/dist/workflows/continuation-admission.d.ts +0 -965
  1057. package/dist/workflows/continuation-admission.js +0 -265
  1058. package/dist/workflows/continuation-admission.js.map +0 -1
  1059. package/dist/workflows/execution-account.d.ts +0 -13
  1060. package/dist/workflows/execution-account.js +0 -18
  1061. package/dist/workflows/execution-account.js.map +0 -1
  1062. package/dist/workflows/grouped-command.d.ts +0 -31
  1063. package/dist/workflows/grouped-command.js +0 -143
  1064. package/dist/workflows/grouped-command.js.map +0 -1
  1065. package/dist/workflows/input-acknowledgement.d.ts +0 -203
  1066. package/dist/workflows/input-acknowledgement.js +0 -41
  1067. package/dist/workflows/input-acknowledgement.js.map +0 -1
  1068. package/dist/workflows/line-order.d.ts +0 -5
  1069. package/dist/workflows/line-order.js +0 -25
  1070. package/dist/workflows/line-order.js.map +0 -1
  1071. package/dist/workflows/load.d.ts +0 -17
  1072. package/dist/workflows/load.js +0 -61
  1073. package/dist/workflows/load.js.map +0 -1
  1074. package/dist/workflows/outcome-batches.d.ts +0 -32
  1075. package/dist/workflows/outcome-batches.js +0 -55
  1076. package/dist/workflows/outcome-batches.js.map +0 -1
  1077. package/dist/workflows/pasted-content.d.ts +0 -60
  1078. package/dist/workflows/pasted-content.js +0 -69
  1079. package/dist/workflows/pasted-content.js.map +0 -1
  1080. package/dist/workflows/question-routing.d.ts +0 -8
  1081. package/dist/workflows/question-routing.js +0 -20
  1082. package/dist/workflows/question-routing.js.map +0 -1
  1083. package/dist/workflows/run/attachment-writer.d.ts +0 -34
  1084. package/dist/workflows/run/attachment-writer.js +0 -98
  1085. package/dist/workflows/run/attachment-writer.js.map +0 -1
  1086. package/dist/workflows/run/auto-resume.d.ts +0 -91
  1087. package/dist/workflows/run/auto-resume.js +0 -248
  1088. package/dist/workflows/run/auto-resume.js.map +0 -1
  1089. package/dist/workflows/run/cezar-tools.d.ts +0 -45
  1090. package/dist/workflows/run/cezar-tools.js +0 -129
  1091. package/dist/workflows/run/cezar-tools.js.map +0 -1
  1092. package/dist/workflows/run/completion-gate.d.ts +0 -77
  1093. package/dist/workflows/run/completion-gate.js +0 -90
  1094. package/dist/workflows/run/completion-gate.js.map +0 -1
  1095. package/dist/workflows/run/compose.d.ts +0 -174
  1096. package/dist/workflows/run/compose.js +0 -391
  1097. package/dist/workflows/run/compose.js.map +0 -1
  1098. package/dist/workflows/run/constants.d.ts +0 -48
  1099. package/dist/workflows/run/constants.js +0 -49
  1100. package/dist/workflows/run/constants.js.map +0 -1
  1101. package/dist/workflows/run/continuation-acceptance.d.ts +0 -70
  1102. package/dist/workflows/run/continuation-acceptance.js +0 -198
  1103. package/dist/workflows/run/continuation-acceptance.js.map +0 -1
  1104. package/dist/workflows/run/continuation-session.d.ts +0 -128
  1105. package/dist/workflows/run/continuation-session.js +0 -581
  1106. package/dist/workflows/run/continuation-session.js.map +0 -1
  1107. package/dist/workflows/run/drop-active.d.ts +0 -4
  1108. package/dist/workflows/run/drop-active.js +0 -11
  1109. package/dist/workflows/run/drop-active.js.map +0 -1
  1110. package/dist/workflows/run/family-reconciler.d.ts +0 -74
  1111. package/dist/workflows/run/family-reconciler.js +0 -310
  1112. package/dist/workflows/run/family-reconciler.js.map +0 -1
  1113. package/dist/workflows/run/human-waits.d.ts +0 -91
  1114. package/dist/workflows/run/human-waits.js +0 -192
  1115. package/dist/workflows/run/human-waits.js.map +0 -1
  1116. package/dist/workflows/run/inbox-claims.d.ts +0 -38
  1117. package/dist/workflows/run/inbox-claims.js +0 -107
  1118. package/dist/workflows/run/inbox-claims.js.map +0 -1
  1119. package/dist/workflows/run/input-batch.d.ts +0 -15
  1120. package/dist/workflows/run/input-batch.js +0 -31
  1121. package/dist/workflows/run/input-batch.js.map +0 -1
  1122. package/dist/workflows/run/input-delivery.d.ts +0 -122
  1123. package/dist/workflows/run/input-delivery.js +0 -661
  1124. package/dist/workflows/run/input-delivery.js.map +0 -1
  1125. package/dist/workflows/run/input-receipts.d.ts +0 -65
  1126. package/dist/workflows/run/input-receipts.js +0 -222
  1127. package/dist/workflows/run/input-receipts.js.map +0 -1
  1128. package/dist/workflows/run/input-timers.d.ts +0 -10
  1129. package/dist/workflows/run/input-timers.js +0 -42
  1130. package/dist/workflows/run/input-timers.js.map +0 -1
  1131. package/dist/workflows/run/launch-context.d.ts +0 -64
  1132. package/dist/workflows/run/launch-context.js +0 -145
  1133. package/dist/workflows/run/launch-context.js.map +0 -1
  1134. package/dist/workflows/run/launch-settings.d.ts +0 -49
  1135. package/dist/workflows/run/launch-settings.js +0 -125
  1136. package/dist/workflows/run/launch-settings.js.map +0 -1
  1137. package/dist/workflows/run/maintenance-claims.d.ts +0 -47
  1138. package/dist/workflows/run/maintenance-claims.js +0 -83
  1139. package/dist/workflows/run/maintenance-claims.js.map +0 -1
  1140. package/dist/workflows/run/memory-guard.d.ts +0 -25
  1141. package/dist/workflows/run/memory-guard.js +0 -63
  1142. package/dist/workflows/run/memory-guard.js.map +0 -1
  1143. package/dist/workflows/run/opening.d.ts +0 -41
  1144. package/dist/workflows/run/opening.js +0 -92
  1145. package/dist/workflows/run/opening.js.map +0 -1
  1146. package/dist/workflows/run/pending-ask-facts.d.ts +0 -10
  1147. package/dist/workflows/run/pending-ask-facts.js +0 -19
  1148. package/dist/workflows/run/pending-ask-facts.js.map +0 -1
  1149. package/dist/workflows/run/prompts.d.ts +0 -74
  1150. package/dist/workflows/run/prompts.js +0 -140
  1151. package/dist/workflows/run/prompts.js.map +0 -1
  1152. package/dist/workflows/run/queued-input.d.ts +0 -108
  1153. package/dist/workflows/run/queued-input.js +0 -321
  1154. package/dist/workflows/run/queued-input.js.map +0 -1
  1155. package/dist/workflows/run/queued-revival.d.ts +0 -44
  1156. package/dist/workflows/run/queued-revival.js +0 -157
  1157. package/dist/workflows/run/queued-revival.js.map +0 -1
  1158. package/dist/workflows/run/repo-root-lease.d.ts +0 -34
  1159. package/dist/workflows/run/repo-root-lease.js +0 -70
  1160. package/dist/workflows/run/repo-root-lease.js.map +0 -1
  1161. package/dist/workflows/run/resolved-wait-input-batch.d.ts +0 -7
  1162. package/dist/workflows/run/resolved-wait-input-batch.js +0 -25
  1163. package/dist/workflows/run/resolved-wait-input-batch.js.map +0 -1
  1164. package/dist/workflows/run/run-cancel.d.ts +0 -36
  1165. package/dist/workflows/run/run-cancel.js +0 -126
  1166. package/dist/workflows/run/run-cancel.js.map +0 -1
  1167. package/dist/workflows/run/run-finish.d.ts +0 -68
  1168. package/dist/workflows/run/run-finish.js +0 -239
  1169. package/dist/workflows/run/run-finish.js.map +0 -1
  1170. package/dist/workflows/run/run-guards.d.ts +0 -14
  1171. package/dist/workflows/run/run-guards.js +0 -34
  1172. package/dist/workflows/run/run-guards.js.map +0 -1
  1173. package/dist/workflows/run/run-line.d.ts +0 -179
  1174. package/dist/workflows/run/run-line.js +0 -429
  1175. package/dist/workflows/run/run-line.js.map +0 -1
  1176. package/dist/workflows/run/run-recovery.d.ts +0 -117
  1177. package/dist/workflows/run/run-recovery.js +0 -442
  1178. package/dist/workflows/run/run-recovery.js.map +0 -1
  1179. package/dist/workflows/run/run-settlement.d.ts +0 -163
  1180. package/dist/workflows/run/run-settlement.js +0 -535
  1181. package/dist/workflows/run/run-settlement.js.map +0 -1
  1182. package/dist/workflows/run/run-skills.d.ts +0 -81
  1183. package/dist/workflows/run/run-skills.js +0 -178
  1184. package/dist/workflows/run/run-skills.js.map +0 -1
  1185. package/dist/workflows/run/run-start.d.ts +0 -64
  1186. package/dist/workflows/run/run-start.js +0 -177
  1187. package/dist/workflows/run/run-start.js.map +0 -1
  1188. package/dist/workflows/run/run-workspace.d.ts +0 -25
  1189. package/dist/workflows/run/run-workspace.js +0 -65
  1190. package/dist/workflows/run/run-workspace.js.map +0 -1
  1191. package/dist/workflows/run/session-events.d.ts +0 -144
  1192. package/dist/workflows/run/session-events.js +0 -262
  1193. package/dist/workflows/run/session-events.js.map +0 -1
  1194. package/dist/workflows/run/step-decisions.d.ts +0 -37
  1195. package/dist/workflows/run/step-decisions.js +0 -42
  1196. package/dist/workflows/run/step-decisions.js.map +0 -1
  1197. package/dist/workflows/run/step-loop.d.ts +0 -140
  1198. package/dist/workflows/run/step-loop.js +0 -490
  1199. package/dist/workflows/run/step-loop.js.map +0 -1
  1200. package/dist/workflows/run/step-session.d.ts +0 -64
  1201. package/dist/workflows/run/step-session.js +0 -280
  1202. package/dist/workflows/run/step-session.js.map +0 -1
  1203. package/dist/workflows/run/steps.d.ts +0 -13
  1204. package/dist/workflows/run/steps.js +0 -14
  1205. package/dist/workflows/run/steps.js.map +0 -1
  1206. package/dist/workflows/run/tracked-work.d.ts +0 -12
  1207. package/dist/workflows/run/tracked-work.js +0 -29
  1208. package/dist/workflows/run/tracked-work.js.map +0 -1
  1209. package/dist/workflows/run/turn-bookkeeping.d.ts +0 -67
  1210. package/dist/workflows/run/turn-bookkeeping.js +0 -174
  1211. package/dist/workflows/run/turn-bookkeeping.js.map +0 -1
  1212. package/dist/workflows/run/turn-markers.d.ts +0 -85
  1213. package/dist/workflows/run/turn-markers.js +0 -262
  1214. package/dist/workflows/run/turn-markers.js.map +0 -1
  1215. package/dist/workflows/run/turn-nudges.d.ts +0 -101
  1216. package/dist/workflows/run/turn-nudges.js +0 -245
  1217. package/dist/workflows/run/turn-nudges.js.map +0 -1
  1218. package/dist/workflows/run/turn-settler.d.ts +0 -166
  1219. package/dist/workflows/run/turn-settler.js +0 -492
  1220. package/dist/workflows/run/turn-settler.js.map +0 -1
  1221. package/dist/workflows/run/types.d.ts +0 -280
  1222. package/dist/workflows/run/types.js +0 -2
  1223. package/dist/workflows/run/types.js.map +0 -1
  1224. package/dist/workflows/run/usage-accounting.d.ts +0 -28
  1225. package/dist/workflows/run/usage-accounting.js +0 -158
  1226. package/dist/workflows/run/usage-accounting.js.map +0 -1
  1227. package/dist/workflows/run/wait-registry.d.ts +0 -132
  1228. package/dist/workflows/run/wait-registry.js +0 -405
  1229. package/dist/workflows/run/wait-registry.js.map +0 -1
  1230. package/dist/workflows/run/wait-watches.d.ts +0 -855
  1231. package/dist/workflows/run/wait-watches.js +0 -221
  1232. package/dist/workflows/run/wait-watches.js.map +0 -1
  1233. package/dist/workflows/run/wake-admission.d.ts +0 -160
  1234. package/dist/workflows/run/wake-admission.js +0 -404
  1235. package/dist/workflows/run/wake-admission.js.map +0 -1
  1236. package/dist/workflows/run/wake-ledger.d.ts +0 -61
  1237. package/dist/workflows/run/wake-ledger.js +0 -77
  1238. package/dist/workflows/run/wake-ledger.js.map +0 -1
  1239. package/dist/workflows/run/wake-retries.d.ts +0 -31
  1240. package/dist/workflows/run/wake-retries.js +0 -93
  1241. package/dist/workflows/run/wake-retries.js.map +0 -1
  1242. package/dist/workflows/run/worker-executions.d.ts +0 -54
  1243. package/dist/workflows/run/worker-executions.js +0 -149
  1244. package/dist/workflows/run/worker-executions.js.map +0 -1
  1245. package/dist/workflows/run/worker-orphans.d.ts +0 -91
  1246. package/dist/workflows/run/worker-orphans.js +0 -275
  1247. package/dist/workflows/run/worker-orphans.js.map +0 -1
  1248. package/dist/workflows/run/worker-questions.d.ts +0 -122
  1249. package/dist/workflows/run/worker-questions.js +0 -309
  1250. package/dist/workflows/run/worker-questions.js.map +0 -1
  1251. package/dist/workflows/run/workflow-position.d.ts +0 -18
  1252. package/dist/workflows/run/workflow-position.js +0 -88
  1253. package/dist/workflows/run/workflow-position.js.map +0 -1
  1254. package/dist/workflows/run/worktree-autosave.d.ts +0 -39
  1255. package/dist/workflows/run/worktree-autosave.js +0 -156
  1256. package/dist/workflows/run/worktree-autosave.js.map +0 -1
  1257. package/dist/workflows/run-scheduling.d.ts +0 -40
  1258. package/dist/workflows/run-scheduling.js +0 -84
  1259. package/dist/workflows/run-scheduling.js.map +0 -1
  1260. package/dist/workflows/run-states.d.ts +0 -191
  1261. package/dist/workflows/run-states.js +0 -318
  1262. package/dist/workflows/run-states.js.map +0 -1
  1263. package/dist/workflows/run.d.ts +0 -334
  1264. package/dist/workflows/run.js +0 -603
  1265. package/dist/workflows/run.js.map +0 -1
  1266. package/dist/workflows/turn-end.d.ts +0 -126
  1267. package/dist/workflows/turn-end.js +0 -78
  1268. package/dist/workflows/turn-end.js.map +0 -1
  1269. package/dist/workflows/types.d.ts +0 -83
  1270. package/dist/workflows/types.js +0 -192
  1271. package/dist/workflows/types.js.map +0 -1
  1272. package/dist/workflows/wait-scope.d.ts +0 -80
  1273. package/dist/workflows/wait-scope.js +0 -110
  1274. package/dist/workflows/wait-scope.js.map +0 -1
  1275. package/dist/workflows/waits.d.ts +0 -188
  1276. package/dist/workflows/waits.js +0 -287
  1277. package/dist/workflows/waits.js.map +0 -1
  1278. package/dist/workspace/agent-accounts.d.ts +0 -128
  1279. package/dist/workspace/agent-accounts.js +0 -280
  1280. package/dist/workspace/agent-accounts.js.map +0 -1
  1281. package/dist/workspace/agent-profiles.d.ts +0 -124
  1282. package/dist/workspace/agent-profiles.js +0 -190
  1283. package/dist/workspace/agent-profiles.js.map +0 -1
  1284. package/dist/workspace/config.d.ts +0 -181
  1285. package/dist/workspace/config.js +0 -389
  1286. package/dist/workspace/config.js.map +0 -1
  1287. package/dist/workspace/migrations.d.ts +0 -35
  1288. package/dist/workspace/migrations.js +0 -147
  1289. package/dist/workspace/migrations.js.map +0 -1
  1290. package/dist/workspace/projects-cli.d.ts +0 -25
  1291. package/dist/workspace/projects-cli.js +0 -172
  1292. package/dist/workspace/projects-cli.js.map +0 -1
  1293. package/dist/workspace/projects.d.ts +0 -129
  1294. package/dist/workspace/projects.js +0 -267
  1295. package/dist/workspace/projects.js.map +0 -1
  1296. package/dist/workspace/semaphore.d.ts +0 -145
  1297. package/dist/workspace/semaphore.js +0 -196
  1298. package/dist/workspace/semaphore.js.map +0 -1
  1299. package/dist/workspace/ui-state.d.ts +0 -36
  1300. package/dist/workspace/ui-state.js +0 -55
  1301. package/dist/workspace/ui-state.js.map +0 -1
  1302. package/dist/workspace/webhooks.d.ts +0 -40
  1303. package/dist/workspace/webhooks.js +0 -146
  1304. package/dist/workspace/webhooks.js.map +0 -1
  1305. package/dist/worktree-manifest.d.ts +0 -165
  1306. package/dist/worktree-manifest.js +0 -530
  1307. package/dist/worktree-manifest.js.map +0 -1
  1308. package/dist/worktree-setup.d.ts +0 -85
  1309. package/dist/worktree-setup.js +0 -164
  1310. package/dist/worktree-setup.js.map +0 -1
  1311. package/scripts/benchmark-run-store-fixture.ts +0 -432
  1312. package/scripts/benchmark-run-store.ts +0 -743
  1313. package/scripts/benchmark-stuck-destroys.ts +0 -143
  1314. package/scripts/check-pack.mjs +0 -48
  1315. package/scripts/inline-contract.mjs +0 -165
  1316. package/scripts/install-as-command.mjs +0 -122
  1317. package/scripts/measure-transcript-facts-health.mjs +0 -87
  1318. package/scripts/measure-transcript-facts-lag.mjs +0 -68
  1319. package/scripts/mock-autonomous.mjs +0 -11
  1320. package/scripts/mock-ci-tool.mjs +0 -111
  1321. package/scripts/mock-claude-model-refusal.mjs +0 -42
  1322. package/scripts/mock-claude.mjs +0 -1065
  1323. package/scripts/mock-codex-app-server.mjs +0 -905
  1324. package/scripts/mock-codex-coalesce-steer.mjs +0 -59
  1325. package/scripts/mock-codex-reverse-steer.mjs +0 -130
  1326. package/scripts/mock-cursor-acp.mjs +0 -423
  1327. package/scripts/mock-cursor-hang-stdin-late.mjs +0 -35
  1328. package/scripts/mock-cursor-hang-stdin.mjs +0 -30
  1329. package/scripts/mock-cursor-print.mjs +0 -256
  1330. package/scripts/mock-deferred-turn-start.mjs +0 -16
  1331. package/scripts/mock-delivery-control.d.mts +0 -23
  1332. package/scripts/mock-delivery-control.mjs +0 -80
  1333. package/scripts/mock-env-record.mjs +0 -11
  1334. package/scripts/mock-failure-control.d.mts +0 -13
  1335. package/scripts/mock-failure-control.mjs +0 -68
  1336. package/scripts/mock-multi-pr.mjs +0 -7
  1337. package/scripts/mock-nudge.mjs +0 -45
  1338. package/scripts/mock-omp-rpc.mjs +0 -779
  1339. package/scripts/mock-opencode-serve.mjs +0 -1230
  1340. package/scripts/mock-pi-rpc.mjs +0 -698
  1341. package/scripts/mock-runner-crash.mjs +0 -58
  1342. package/scripts/mock-session-context.d.mts +0 -5
  1343. package/scripts/mock-session-context.mjs +0 -56
  1344. package/scripts/mock-silent-tail.mjs +0 -85
  1345. package/scripts/mock-turn-messages.mjs +0 -5
  1346. package/scripts/omp-ci-wait.mjs +0 -29
  1347. package/scripts/omp-restrict-delegation.yml +0 -4
  1348. package/scripts/pi-ci-wait.mjs +0 -17
  1349. package/scripts/pi-default-tools.mjs +0 -22
  1350. package/scripts/pi-project-skills.mjs +0 -59
  1351. package/scripts/pi-retry-degraded-service.mjs +0 -16
  1352. package/scripts/probe-cursor-print.mjs +0 -627
  1353. package/scripts/seed-archive-profile.ts +0 -53
  1354. package/scripts/sync-readme.mjs +0 -20
  1355. package/scripts/test-process-usage.mjs +0 -47
  1356. package/scripts/transcript-facts-fixture.mjs +0 -53
  1357. package/scripts/voice-replay.ts +0 -50
  1358. package/scripts/windows-workspace-identity.cs +0 -208
  1359. package/scripts/windows-workspace-identity.ps1 +0 -10
  1360. package/web/dist/assets/alert-dialog-DfctKUMw.js +0 -1
  1361. package/web/dist/assets/button-CeupvoKG.js +0 -41
  1362. package/web/dist/assets/centered-state-DRV994qx.js +0 -1
  1363. package/web/dist/assets/cez-idle-D3aj_9lp.js +0 -1
  1364. package/web/dist/assets/diff-CMvwOEAq2.js +0 -3
  1365. package/web/dist/assets/diff-controls-DOUOXMFa.js +0 -1
  1366. package/web/dist/assets/diff-view-CeyiYVO0.js +0 -11
  1367. package/web/dist/assets/dropdown-menu-o5TscAn1.js +0 -6
  1368. package/web/dist/assets/git-toolbar-BXqnQi8K.js +0 -1
  1369. package/web/dist/assets/github-BK1vJWfx.js +0 -1
  1370. package/web/dist/assets/index-C3hy-aA5.css +0 -1
  1371. package/web/dist/assets/index-CvfFqahx.js +0 -34
  1372. package/web/dist/assets/lib-BQXq3kEf.js +0 -1
  1373. package/web/dist/assets/live-protocol-DhRssvhp.js +0 -64
  1374. package/web/dist/assets/play-CmVAj_fu.js +0 -1
  1375. package/web/dist/assets/popover-BhkASzoh.js +0 -1
  1376. package/web/dist/assets/preview-pane-connected-DYEO_KU8.js +0 -3
  1377. package/web/dist/assets/reference-chip-CwVbHR5t.js +0 -1
  1378. package/web/dist/assets/repo-git-CHmWZuZU.js +0 -1
  1379. package/web/dist/assets/run-header-BaMbZXjb.js +0 -2
  1380. package/web/dist/assets/skill-empty-hint-oOtzR3v0.js +0 -1
  1381. package/web/dist/assets/skills-DviK76JU.js +0 -1
  1382. package/web/dist/assets/status-dot-B_zxTP5h.js +0 -1
  1383. package/web/dist/assets/tab-link-I2OzEyyp.js +0 -1
  1384. package/web/dist/assets/task-changes--tIcV2If.js +0 -1
  1385. package/web/dist/assets/task-commits-BkgYMsVZ.js +0 -1
  1386. package/web/dist/assets/task-files-CfqI5Pd4.js +0 -2
  1387. package/web/dist/assets/task-github-item-CXv13eJx.js +0 -1
  1388. package/web/dist/assets/task-thread-DJfpoqYU.js +0 -9
  1389. package/web/dist/assets/thread-state-C_J5glQD.js +0 -4
  1390. package/web/dist/assets/use-hand-to-agent-state-C-_lVGuC.js +0 -1
  1391. package/web/dist/assets/workflows-9xLAxVoB.js +0 -7
  1392. package/web/dist/assets/zoomable-image-CxQSsfcn.js +0 -1
@@ -1,1670 +0,0 @@
1
- import type { AgentInput, ConversationMessage, ConversationSendRequest, ConversationState, DelegationState, RequestOutcome } from '../contract/index.js';
2
- import { type RunRecord, type RunStore } from '../runs/store.ts';
3
- /**
4
- * First durable request settlement wins, with the defined late-reply timeout amendment handled
5
- * by send. Review is not completion for a worker, which its parent can resume; a peer recipient at
6
- * review settles `completed-without-reply` at once, because no peer can resume it, and a deleted
7
- * one settles `deleted` (spec 2026-10-27-task-communication-protocol § 5, § 7). Lookup only the
8
- * named sender/recipient runs.
9
- */
10
- export declare function reconcileConversationState(root: RunRecord, lookup: (id: string) => RunRecord | undefined, now: string, isSettled: (run: RunRecord) => boolean, unreadable?: (id: string) => boolean): ConversationState | undefined;
11
- /** Repair observation only; replay never inserts agent inputs or starts execution. A ledger whose
12
- * history is being deleted projects nothing: its events would recreate deleted transcripts
13
- * (hearsay-tools/cezarion#1990 review). */
14
- export declare function projectConversationEvents(store: import('../runs/store.ts').RunStore, root: RunRecord): void;
15
- /** The record that makes a run a root task: every worker operation, no receipts yet. */
16
- export declare const rootDelegation: () => DelegationState;
17
- /** A root task: a root delegation record, or a top-level run with no record yet, which has not
18
- * opened a session under `CEZ_DELEGATION=1` (spec 2026-10-27-task-communication-protocol § 2). */
19
- export declare function isRootTask(run: RunRecord | undefined): run is RunRecord;
20
- /** Two root tasks of one project (spec § 2), neither family deleting its history; a sender of a new
21
- * message is live. Undefined when the two are not both root tasks. */
22
- export declare function peerPair(sender: RunRecord | undefined, recipient: RunRecord | undefined, send: boolean): {
23
- relationship: 'peer';
24
- sender: {
25
- id: string;
26
- title: string;
27
- titleSummary?: string | undefined;
28
- diffStat?: {
29
- adds: number;
30
- dels: number;
31
- files: number;
32
- repointed?: boolean | undefined;
33
- } | undefined;
34
- workflow: string;
35
- task: string;
36
- queuedMessages?: {
37
- id: string;
38
- text: string;
39
- images?: string[] | undefined;
40
- createdAt: string;
41
- }[] | undefined;
42
- continuationMessage?: {
43
- id: string;
44
- text: string;
45
- images?: string[] | undefined;
46
- createdAt: string;
47
- origin?: "human" | "lifecycle" | undefined;
48
- agentInputId?: string | undefined;
49
- resumeContext?: {
50
- failure?: {
51
- stepId?: string | undefined;
52
- error: string;
53
- } | undefined;
54
- restarted?: true | undefined;
55
- } | undefined;
56
- } | undefined;
57
- workflowResumeStepId?: string | undefined;
58
- invalidAsk?: boolean | undefined;
59
- agentInputs?: {
60
- conversation?: {
61
- senderRunId: string;
62
- recipientRunId: string;
63
- kind: "follow-up" | "progress" | "reply" | "request";
64
- requestId?: string | undefined;
65
- relationship?: "family" | "peer" | undefined;
66
- } | undefined;
67
- id: string;
68
- source: "agent" | "lifecycle";
69
- parentRunId: string;
70
- text: string;
71
- createdAt: string;
72
- deliveredAt?: string | undefined;
73
- consumedAt?: string | undefined;
74
- awaitingRead?: true | undefined;
75
- inboxClaim?: {
76
- receiptId: string;
77
- generation: string;
78
- expiresAt: string;
79
- acknowledgedAt?: string | undefined;
80
- memberIds?: string[] | undefined;
81
- } | undefined;
82
- purpose?: "completion-refusal" | undefined;
83
- requestHash?: string | undefined;
84
- deadline?: string | undefined;
85
- }[] | undefined;
86
- waits?: ({
87
- prUrl: string;
88
- repository: string;
89
- prNumber: number;
90
- headSha: string;
91
- id: string;
92
- source: "agent" | "cezar";
93
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
94
- registeredAt: string;
95
- phase: "cancelled" | "delivered" | "open" | "resolved";
96
- resolvedAt?: string | undefined;
97
- deliveredAt?: string | undefined;
98
- cancelledAt?: string | undefined;
99
- turnId: string;
100
- kind: "pr";
101
- deadline: string;
102
- generation: string;
103
- timeoutSeconds: number;
104
- until: "checks" | "merge";
105
- wakeOnConflict: boolean;
106
- result?: {
107
- outcome: "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
108
- headSha: string;
109
- observedHeadSha?: string | undefined;
110
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
111
- mergeStateStatus?: string | undefined;
112
- mergedAt?: string | undefined;
113
- mergeCommitSha?: string | undefined;
114
- observedAt: string;
115
- checks: {
116
- name: string;
117
- state: string;
118
- link: string;
119
- }[];
120
- totalChecks: number;
121
- truncated: boolean;
122
- diagnostic?: string | undefined;
123
- } | undefined;
124
- } | {
125
- id: string;
126
- source: "agent" | "cezar";
127
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
128
- registeredAt: string;
129
- phase: "cancelled" | "delivered" | "open" | "resolved";
130
- resolvedAt?: string | undefined;
131
- deliveredAt?: string | undefined;
132
- cancelledAt?: string | undefined;
133
- turnId: string;
134
- kind: "timer";
135
- deadline: string;
136
- seconds: number;
137
- note?: string | undefined;
138
- } | {
139
- id: string;
140
- source: "agent" | "cezar";
141
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
142
- registeredAt: string;
143
- phase: "cancelled" | "delivered" | "open" | "resolved";
144
- resolvedAt?: string | undefined;
145
- deliveredAt?: string | undefined;
146
- cancelledAt?: string | undefined;
147
- turnId: string;
148
- kind: "human";
149
- questions?: {
150
- id?: string | undefined;
151
- header: string;
152
- question: string;
153
- options?: {
154
- label: string;
155
- description?: string | undefined;
156
- }[] | undefined;
157
- multiSelect?: boolean | undefined;
158
- }[] | undefined;
159
- context?: string | undefined;
160
- askSeq?: number | undefined;
161
- } | {
162
- id: string;
163
- source: "agent" | "cezar";
164
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
165
- registeredAt: string;
166
- phase: "cancelled" | "delivered" | "open" | "resolved";
167
- resolvedAt?: string | undefined;
168
- deliveredAt?: string | undefined;
169
- cancelledAt?: string | undefined;
170
- turnId: string;
171
- kind: "worker";
172
- deadline?: string | undefined;
173
- timeoutSeconds?: number | undefined;
174
- mode?: "all" | "any" | "one" | undefined;
175
- workerIds?: string[] | undefined;
176
- revisions?: {
177
- workerId: string;
178
- revision: number;
179
- }[] | undefined;
180
- outcomes?: {
181
- workerId: string;
182
- status: "cancelled" | "done" | "failed" | "review";
183
- observedAt: string;
184
- summary?: string | undefined;
185
- revision?: number | undefined;
186
- }[] | undefined;
187
- requestIds?: string[] | undefined;
188
- requestOutcomes?: {
189
- requestId: string;
190
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
191
- observedAt: string;
192
- replyId?: string | undefined;
193
- }[] | undefined;
194
- result?: {
195
- reason: "outcome" | "timeout";
196
- } | undefined;
197
- wakeInputId?: string | undefined;
198
- } | {
199
- id: string;
200
- source: "agent" | "cezar";
201
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
202
- registeredAt: string;
203
- phase: "cancelled" | "delivered" | "open" | "resolved";
204
- resolvedAt?: string | undefined;
205
- deliveredAt?: string | undefined;
206
- cancelledAt?: string | undefined;
207
- turnId: string;
208
- kind: "process";
209
- deadline: string;
210
- timeoutSeconds: number;
211
- pid: number;
212
- startToken?: string | undefined;
213
- exitFile?: string | undefined;
214
- note?: string | undefined;
215
- result?: {
216
- outcome: "deadline" | "error" | "exit_file" | "exited";
217
- observedAt: string;
218
- exitCode?: number | undefined;
219
- exitFileNote?: "not-an-exit-code" | undefined;
220
- diagnostic?: string | undefined;
221
- } | undefined;
222
- } | {
223
- id: string;
224
- source: "agent" | "cezar";
225
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
226
- registeredAt: string;
227
- phase: "cancelled" | "delivered" | "open" | "resolved";
228
- resolvedAt?: string | undefined;
229
- deliveredAt?: string | undefined;
230
- cancelledAt?: string | undefined;
231
- turnId: string;
232
- kind: "peer";
233
- deadline: string;
234
- timeoutSeconds: number;
235
- peerIds: string[];
236
- result?: {
237
- reason: "message";
238
- peerRunId: string;
239
- messageId: string;
240
- } | {
241
- reason: "settled";
242
- peerRunId: string;
243
- } | {
244
- reason: "timeout";
245
- } | undefined;
246
- })[] | undefined;
247
- lastWaits?: ({
248
- prUrl: string;
249
- repository: string;
250
- prNumber: number;
251
- headSha: string;
252
- id: string;
253
- source: "agent" | "cezar";
254
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
255
- registeredAt: string;
256
- phase: "cancelled" | "delivered" | "open" | "resolved";
257
- resolvedAt?: string | undefined;
258
- deliveredAt?: string | undefined;
259
- cancelledAt?: string | undefined;
260
- turnId: string;
261
- kind: "pr";
262
- deadline: string;
263
- generation: string;
264
- timeoutSeconds: number;
265
- until: "checks" | "merge";
266
- wakeOnConflict: boolean;
267
- result?: {
268
- outcome: "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
269
- headSha: string;
270
- observedHeadSha?: string | undefined;
271
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
272
- mergeStateStatus?: string | undefined;
273
- mergedAt?: string | undefined;
274
- mergeCommitSha?: string | undefined;
275
- observedAt: string;
276
- checks: {
277
- name: string;
278
- state: string;
279
- link: string;
280
- }[];
281
- totalChecks: number;
282
- truncated: boolean;
283
- diagnostic?: string | undefined;
284
- } | undefined;
285
- } | {
286
- id: string;
287
- source: "agent" | "cezar";
288
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
289
- registeredAt: string;
290
- phase: "cancelled" | "delivered" | "open" | "resolved";
291
- resolvedAt?: string | undefined;
292
- deliveredAt?: string | undefined;
293
- cancelledAt?: string | undefined;
294
- turnId: string;
295
- kind: "timer";
296
- deadline: string;
297
- seconds: number;
298
- note?: string | undefined;
299
- } | {
300
- id: string;
301
- source: "agent" | "cezar";
302
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
303
- registeredAt: string;
304
- phase: "cancelled" | "delivered" | "open" | "resolved";
305
- resolvedAt?: string | undefined;
306
- deliveredAt?: string | undefined;
307
- cancelledAt?: string | undefined;
308
- turnId: string;
309
- kind: "human";
310
- questions?: {
311
- id?: string | undefined;
312
- header: string;
313
- question: string;
314
- options?: {
315
- label: string;
316
- description?: string | undefined;
317
- }[] | undefined;
318
- multiSelect?: boolean | undefined;
319
- }[] | undefined;
320
- context?: string | undefined;
321
- askSeq?: number | undefined;
322
- } | {
323
- id: string;
324
- source: "agent" | "cezar";
325
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
326
- registeredAt: string;
327
- phase: "cancelled" | "delivered" | "open" | "resolved";
328
- resolvedAt?: string | undefined;
329
- deliveredAt?: string | undefined;
330
- cancelledAt?: string | undefined;
331
- turnId: string;
332
- kind: "worker";
333
- deadline?: string | undefined;
334
- timeoutSeconds?: number | undefined;
335
- mode?: "all" | "any" | "one" | undefined;
336
- workerIds?: string[] | undefined;
337
- revisions?: {
338
- workerId: string;
339
- revision: number;
340
- }[] | undefined;
341
- outcomes?: {
342
- workerId: string;
343
- status: "cancelled" | "done" | "failed" | "review";
344
- observedAt: string;
345
- summary?: string | undefined;
346
- revision?: number | undefined;
347
- }[] | undefined;
348
- requestIds?: string[] | undefined;
349
- requestOutcomes?: {
350
- requestId: string;
351
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
352
- observedAt: string;
353
- replyId?: string | undefined;
354
- }[] | undefined;
355
- result?: {
356
- reason: "outcome" | "timeout";
357
- } | undefined;
358
- wakeInputId?: string | undefined;
359
- } | {
360
- id: string;
361
- source: "agent" | "cezar";
362
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
363
- registeredAt: string;
364
- phase: "cancelled" | "delivered" | "open" | "resolved";
365
- resolvedAt?: string | undefined;
366
- deliveredAt?: string | undefined;
367
- cancelledAt?: string | undefined;
368
- turnId: string;
369
- kind: "process";
370
- deadline: string;
371
- timeoutSeconds: number;
372
- pid: number;
373
- startToken?: string | undefined;
374
- exitFile?: string | undefined;
375
- note?: string | undefined;
376
- result?: {
377
- outcome: "deadline" | "error" | "exit_file" | "exited";
378
- observedAt: string;
379
- exitCode?: number | undefined;
380
- exitFileNote?: "not-an-exit-code" | undefined;
381
- diagnostic?: string | undefined;
382
- } | undefined;
383
- } | {
384
- id: string;
385
- source: "agent" | "cezar";
386
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
387
- registeredAt: string;
388
- phase: "cancelled" | "delivered" | "open" | "resolved";
389
- resolvedAt?: string | undefined;
390
- deliveredAt?: string | undefined;
391
- cancelledAt?: string | undefined;
392
- turnId: string;
393
- kind: "peer";
394
- deadline: string;
395
- timeoutSeconds: number;
396
- peerIds: string[];
397
- result?: {
398
- reason: "message";
399
- peerRunId: string;
400
- messageId: string;
401
- } | {
402
- reason: "settled";
403
- peerRunId: string;
404
- } | {
405
- reason: "timeout";
406
- } | undefined;
407
- })[] | undefined;
408
- previewServers?: {
409
- port: number;
410
- command: string;
411
- cwd?: string | undefined;
412
- label: string;
413
- path?: string | undefined;
414
- registeredAt: string;
415
- answeredAtRegistration: boolean;
416
- }[] | undefined;
417
- taskImages?: string[] | undefined;
418
- model?: string | undefined;
419
- effort?: string | undefined;
420
- modelIdentity?: string | undefined;
421
- agentProfile?: string | undefined;
422
- systemPrompt?: string | undefined;
423
- generateFollowups?: boolean | undefined;
424
- autonomous?: boolean | undefined;
425
- archiveWhenDone?: boolean | undefined;
426
- autoMergePr?: boolean | undefined;
427
- completionAction?: {
428
- id: string;
429
- phase: "blocked" | "complete" | "pending";
430
- message?: string | undefined;
431
- } | undefined;
432
- archiveBlocker?: {
433
- message: string;
434
- runId?: string | undefined;
435
- pullRequestUrl?: string | undefined;
436
- } | undefined;
437
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
438
- createdAt: string;
439
- startedAt?: string | undefined;
440
- finishedAt?: string | undefined;
441
- tokensUsed: number;
442
- inputTokens?: number | undefined;
443
- outputTokens?: number | undefined;
444
- costUsd?: number | undefined;
445
- pullRequestUrl?: string | undefined;
446
- referencedPullRequestUrl?: string | undefined;
447
- prNumber?: number | undefined;
448
- issueNumber?: number | undefined;
449
- referencedIssueNumberSeeded?: boolean | undefined;
450
- titleOrigin?: "auto" | "marker" | "user" | undefined;
451
- markerRefs?: {
452
- pr?: number | undefined;
453
- issue?: number | undefined;
454
- } | undefined;
455
- referencedPrCandidates?: string[] | undefined;
456
- referencedIssueUrl?: string | undefined;
457
- referencedIssueCandidates?: string[] | undefined;
458
- worktree?: false | undefined;
459
- worktreePath?: string | undefined;
460
- branch?: string | undefined;
461
- baseBranch?: string | undefined;
462
- worktreeReclaimedAt?: string | undefined;
463
- groupId?: string | undefined;
464
- variant?: string | undefined;
465
- clientRequestId?: string | undefined;
466
- clientRequestHash?: string | undefined;
467
- peakRssBytes?: number | undefined;
468
- peakProcCount?: number | undefined;
469
- archivedAt?: string | undefined;
470
- autoArchive?: {
471
- reason: "pull-requests-merged";
472
- archivedAt: string;
473
- fingerprint: string;
474
- pullRequests: {
475
- owner: string;
476
- repo: string;
477
- number: number;
478
- mergedAt: string;
479
- }[];
480
- } | undefined;
481
- manualUnarchivedAt?: string | undefined;
482
- pinned?: boolean | undefined;
483
- pinnedAt?: string | undefined;
484
- seenAt?: string | undefined;
485
- currentStepId?: string | undefined;
486
- error?: string | undefined;
487
- delegation?: {
488
- role: "root";
489
- conversation?: {
490
- messages: {
491
- senderRunId: string;
492
- recipientRunId: string;
493
- kind: "follow-up" | "progress" | "reply" | "request";
494
- requestId?: string | undefined;
495
- relationship?: "family" | "peer" | undefined;
496
- id: string;
497
- text: string;
498
- createdAt: string;
499
- deadline?: string | undefined;
500
- requestHash: string;
501
- state: "accepted" | "continuation-required" | "destroyed" | "late";
502
- resumed?: true | undefined;
503
- instruction?: string | undefined;
504
- question?: {
505
- context?: string | undefined;
506
- questions: {
507
- id?: string | undefined;
508
- header: string;
509
- question: string;
510
- options?: {
511
- label: string;
512
- description?: string | undefined;
513
- }[] | undefined;
514
- multiSelect?: boolean | undefined;
515
- }[];
516
- } | undefined;
517
- }[];
518
- outcomes: {
519
- requestId: string;
520
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
521
- observedAt: string;
522
- replyId?: string | undefined;
523
- }[];
524
- } | undefined;
525
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
526
- receipts: {
527
- requestId: string;
528
- workerId: string;
529
- requestHash: string;
530
- deletion?: {
531
- phase: "complete" | "pending";
532
- revision: number;
533
- resourceId: string;
534
- generation: string;
535
- } | undefined;
536
- }[];
537
- wait?: {
538
- id: string;
539
- workerIds: string[];
540
- requestIds?: string[] | undefined;
541
- requestOutcomes?: {
542
- requestId: string;
543
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
544
- observedAt: string;
545
- replyId?: string | undefined;
546
- }[] | undefined;
547
- deadline: string;
548
- mode?: "all" | "any" | "one" | undefined;
549
- revisions?: {
550
- workerId: string;
551
- revision: number;
552
- }[] | undefined;
553
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
554
- phase: "parked" | "registered" | "wake-pending";
555
- outcomes: {
556
- workerId: string;
557
- status: "cancelled" | "done" | "failed" | "review";
558
- observedAt: string;
559
- summary?: string | undefined;
560
- revision?: number | undefined;
561
- }[];
562
- wakeId?: string | undefined;
563
- } | undefined;
564
- lastWait?: {
565
- id: string;
566
- workerIds: string[];
567
- requestIds?: string[] | undefined;
568
- requestOutcomes?: {
569
- requestId: string;
570
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
571
- observedAt: string;
572
- replyId?: string | undefined;
573
- }[] | undefined;
574
- deadline: string;
575
- mode?: "all" | "any" | "one" | undefined;
576
- revisions?: {
577
- workerId: string;
578
- revision: number;
579
- }[] | undefined;
580
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
581
- phase: "parked" | "registered" | "wake-pending";
582
- outcomes: {
583
- workerId: string;
584
- status: "cancelled" | "done" | "failed" | "review";
585
- observedAt: string;
586
- summary?: string | undefined;
587
- revision?: number | undefined;
588
- }[];
589
- wakeId?: string | undefined;
590
- } | undefined;
591
- results?: {
592
- workerId: string;
593
- revision: number;
594
- snapshotId: string;
595
- observedAt: string;
596
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
597
- previous?: {
598
- revision: number;
599
- observedAt: string;
600
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
601
- } | undefined;
602
- }[] | undefined;
603
- finishRequestedAt?: string | undefined;
604
- historyDeletion?: "pending" | undefined;
605
- completion?: {
606
- phase: "attention" | "waiting";
607
- waitId?: string | undefined;
608
- } | undefined;
609
- } | {
610
- role: "worker";
611
- wait?: {
612
- id: string;
613
- workerIds: string[];
614
- requestIds?: string[] | undefined;
615
- requestOutcomes?: {
616
- requestId: string;
617
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
618
- observedAt: string;
619
- replyId?: string | undefined;
620
- }[] | undefined;
621
- deadline: string;
622
- mode?: "all" | "any" | "one" | undefined;
623
- revisions?: {
624
- workerId: string;
625
- revision: number;
626
- }[] | undefined;
627
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
628
- phase: "parked" | "registered" | "wake-pending";
629
- outcomes: {
630
- workerId: string;
631
- status: "cancelled" | "done" | "failed" | "review";
632
- observedAt: string;
633
- summary?: string | undefined;
634
- revision?: number | undefined;
635
- }[];
636
- wakeId?: string | undefined;
637
- } | undefined;
638
- lastWait?: {
639
- id: string;
640
- workerIds: string[];
641
- requestIds?: string[] | undefined;
642
- requestOutcomes?: {
643
- requestId: string;
644
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
645
- observedAt: string;
646
- replyId?: string | undefined;
647
- }[] | undefined;
648
- deadline: string;
649
- mode?: "all" | "any" | "one" | undefined;
650
- revisions?: {
651
- workerId: string;
652
- revision: number;
653
- }[] | undefined;
654
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
655
- phase: "parked" | "registered" | "wake-pending";
656
- outcomes: {
657
- workerId: string;
658
- status: "cancelled" | "done" | "failed" | "review";
659
- observedAt: string;
660
- summary?: string | undefined;
661
- revision?: number | undefined;
662
- }[];
663
- wakeId?: string | undefined;
664
- } | undefined;
665
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
666
- parentRunId: string;
667
- workspace: {
668
- ownerRunId: string;
669
- resourceId: string;
670
- kind: "owned-isolated";
671
- path: string;
672
- branch: string;
673
- baselineSha: string;
674
- };
675
- destroy?: {
676
- requestedAt: string;
677
- phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
678
- remaining: ("branch" | "process" | "worktree")[];
679
- error?: string | undefined;
680
- } | undefined;
681
- context?: {
682
- text?: string | undefined;
683
- inputs: {
684
- source: {
685
- kind: "parent-file";
686
- path: string;
687
- } | {
688
- kind: "baseline-file";
689
- path: string;
690
- } | {
691
- kind: "parent-attachment";
692
- id: string;
693
- };
694
- path: string;
695
- sha256: string;
696
- bytes: number;
697
- }[];
698
- } | undefined;
699
- executionRevision?: number | undefined;
700
- executionStartSeq?: number | undefined;
701
- } | {
702
- role: "invalid";
703
- } | undefined;
704
- lastWaitsError?: string | undefined;
705
- automaticWakes?: number | undefined;
706
- waitDeliveryFailures?: number | undefined;
707
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
708
- notify?: boolean | undefined;
709
- webhook?: {
710
- lastDeliveredAt?: string | undefined;
711
- lastError?: string | undefined;
712
- lastErrorWebhookId?: string | undefined;
713
- } | undefined;
714
- destroyRetry?: {
715
- attempts: number;
716
- nextAt: string;
717
- needsAttention?: true | undefined;
718
- } | undefined;
719
- stopping?: boolean | undefined;
720
- hasPendingPermission?: boolean | undefined;
721
- autoResumeAt?: string | undefined;
722
- autoResumeAttempts?: number | undefined;
723
- pullRequests?: {
724
- number: number;
725
- url?: string | undefined;
726
- source: "created" | "declared";
727
- }[] | undefined;
728
- worktreeSetup?: {
729
- status: "done" | "failed" | "running";
730
- startedAt: string;
731
- finishedAt?: string | undefined;
732
- durationMs?: number | undefined;
733
- error?: string | undefined;
734
- } | undefined;
735
- archived: boolean;
736
- workflowDef?: {
737
- name: string;
738
- description?: string | undefined;
739
- steps: {
740
- id: string;
741
- name?: string | undefined;
742
- prompt?: string | undefined;
743
- skill?: string | undefined;
744
- model?: string | undefined;
745
- effort?: string | undefined;
746
- timeoutMs?: number | undefined;
747
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
748
- agentProfile?: string | undefined;
749
- allowedTools?: string[] | undefined;
750
- bashAllowlist?: string[] | undefined;
751
- command?: string | undefined;
752
- onFail?: {
753
- retry: string;
754
- max: number;
755
- } | undefined;
756
- }[];
757
- source: "built-in" | "file";
758
- path?: string | undefined;
759
- } | undefined;
760
- steps: {
761
- id: string;
762
- name: string;
763
- kind: "agent" | "check";
764
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
765
- iterations: number;
766
- retriesUsed?: number | undefined;
767
- tokensUsed: number;
768
- inputTokens?: number | undefined;
769
- outputTokens?: number | undefined;
770
- usageInvocationsStarted?: number | undefined;
771
- usageInvocationsObserved?: number | undefined;
772
- usageTurnsStarted?: number | undefined;
773
- usageTurnsRecorded?: number | undefined;
774
- usageInvocationEpoch?: number | undefined;
775
- startedAt?: string | undefined;
776
- finishedAt?: string | undefined;
777
- error?: string | undefined;
778
- sessionId?: string | undefined;
779
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
780
- profileId?: string | undefined;
781
- costUsd?: number | undefined;
782
- synthetic?: "continuation" | undefined;
783
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
784
- }[];
785
- automation?: {
786
- automationId: string;
787
- receiptId: string;
788
- event: string;
789
- automationRevision: number;
790
- githubUrl: string;
791
- } | undefined;
792
- automationTrigger?: {
793
- automationId: string;
794
- receiptId: string;
795
- trigger: "catch-up" | "manual" | "schedule";
796
- occurrenceAt: string;
797
- automationRevision: number;
798
- } | undefined;
799
- handoffRecords?: {
800
- autosave: {
801
- at: string;
802
- note: string;
803
- periodic?: {
804
- branch: string | null;
805
- count: number;
806
- first: string | null;
807
- latest: string | null;
808
- } | undefined;
809
- }[];
810
- } | undefined;
811
- };
812
- recipient: {
813
- id: string;
814
- title: string;
815
- titleSummary?: string | undefined;
816
- diffStat?: {
817
- adds: number;
818
- dels: number;
819
- files: number;
820
- repointed?: boolean | undefined;
821
- } | undefined;
822
- workflow: string;
823
- task: string;
824
- queuedMessages?: {
825
- id: string;
826
- text: string;
827
- images?: string[] | undefined;
828
- createdAt: string;
829
- }[] | undefined;
830
- continuationMessage?: {
831
- id: string;
832
- text: string;
833
- images?: string[] | undefined;
834
- createdAt: string;
835
- origin?: "human" | "lifecycle" | undefined;
836
- agentInputId?: string | undefined;
837
- resumeContext?: {
838
- failure?: {
839
- stepId?: string | undefined;
840
- error: string;
841
- } | undefined;
842
- restarted?: true | undefined;
843
- } | undefined;
844
- } | undefined;
845
- workflowResumeStepId?: string | undefined;
846
- invalidAsk?: boolean | undefined;
847
- agentInputs?: {
848
- conversation?: {
849
- senderRunId: string;
850
- recipientRunId: string;
851
- kind: "follow-up" | "progress" | "reply" | "request";
852
- requestId?: string | undefined;
853
- relationship?: "family" | "peer" | undefined;
854
- } | undefined;
855
- id: string;
856
- source: "agent" | "lifecycle";
857
- parentRunId: string;
858
- text: string;
859
- createdAt: string;
860
- deliveredAt?: string | undefined;
861
- consumedAt?: string | undefined;
862
- awaitingRead?: true | undefined;
863
- inboxClaim?: {
864
- receiptId: string;
865
- generation: string;
866
- expiresAt: string;
867
- acknowledgedAt?: string | undefined;
868
- memberIds?: string[] | undefined;
869
- } | undefined;
870
- purpose?: "completion-refusal" | undefined;
871
- requestHash?: string | undefined;
872
- deadline?: string | undefined;
873
- }[] | undefined;
874
- waits?: ({
875
- prUrl: string;
876
- repository: string;
877
- prNumber: number;
878
- headSha: string;
879
- id: string;
880
- source: "agent" | "cezar";
881
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
882
- registeredAt: string;
883
- phase: "cancelled" | "delivered" | "open" | "resolved";
884
- resolvedAt?: string | undefined;
885
- deliveredAt?: string | undefined;
886
- cancelledAt?: string | undefined;
887
- turnId: string;
888
- kind: "pr";
889
- deadline: string;
890
- generation: string;
891
- timeoutSeconds: number;
892
- until: "checks" | "merge";
893
- wakeOnConflict: boolean;
894
- result?: {
895
- outcome: "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
896
- headSha: string;
897
- observedHeadSha?: string | undefined;
898
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
899
- mergeStateStatus?: string | undefined;
900
- mergedAt?: string | undefined;
901
- mergeCommitSha?: string | undefined;
902
- observedAt: string;
903
- checks: {
904
- name: string;
905
- state: string;
906
- link: string;
907
- }[];
908
- totalChecks: number;
909
- truncated: boolean;
910
- diagnostic?: string | undefined;
911
- } | undefined;
912
- } | {
913
- id: string;
914
- source: "agent" | "cezar";
915
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
916
- registeredAt: string;
917
- phase: "cancelled" | "delivered" | "open" | "resolved";
918
- resolvedAt?: string | undefined;
919
- deliveredAt?: string | undefined;
920
- cancelledAt?: string | undefined;
921
- turnId: string;
922
- kind: "timer";
923
- deadline: string;
924
- seconds: number;
925
- note?: string | undefined;
926
- } | {
927
- id: string;
928
- source: "agent" | "cezar";
929
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
930
- registeredAt: string;
931
- phase: "cancelled" | "delivered" | "open" | "resolved";
932
- resolvedAt?: string | undefined;
933
- deliveredAt?: string | undefined;
934
- cancelledAt?: string | undefined;
935
- turnId: string;
936
- kind: "human";
937
- questions?: {
938
- id?: string | undefined;
939
- header: string;
940
- question: string;
941
- options?: {
942
- label: string;
943
- description?: string | undefined;
944
- }[] | undefined;
945
- multiSelect?: boolean | undefined;
946
- }[] | undefined;
947
- context?: string | undefined;
948
- askSeq?: number | undefined;
949
- } | {
950
- id: string;
951
- source: "agent" | "cezar";
952
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
953
- registeredAt: string;
954
- phase: "cancelled" | "delivered" | "open" | "resolved";
955
- resolvedAt?: string | undefined;
956
- deliveredAt?: string | undefined;
957
- cancelledAt?: string | undefined;
958
- turnId: string;
959
- kind: "worker";
960
- deadline?: string | undefined;
961
- timeoutSeconds?: number | undefined;
962
- mode?: "all" | "any" | "one" | undefined;
963
- workerIds?: string[] | undefined;
964
- revisions?: {
965
- workerId: string;
966
- revision: number;
967
- }[] | undefined;
968
- outcomes?: {
969
- workerId: string;
970
- status: "cancelled" | "done" | "failed" | "review";
971
- observedAt: string;
972
- summary?: string | undefined;
973
- revision?: number | undefined;
974
- }[] | undefined;
975
- requestIds?: string[] | undefined;
976
- requestOutcomes?: {
977
- requestId: string;
978
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
979
- observedAt: string;
980
- replyId?: string | undefined;
981
- }[] | undefined;
982
- result?: {
983
- reason: "outcome" | "timeout";
984
- } | undefined;
985
- wakeInputId?: string | undefined;
986
- } | {
987
- id: string;
988
- source: "agent" | "cezar";
989
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
990
- registeredAt: string;
991
- phase: "cancelled" | "delivered" | "open" | "resolved";
992
- resolvedAt?: string | undefined;
993
- deliveredAt?: string | undefined;
994
- cancelledAt?: string | undefined;
995
- turnId: string;
996
- kind: "process";
997
- deadline: string;
998
- timeoutSeconds: number;
999
- pid: number;
1000
- startToken?: string | undefined;
1001
- exitFile?: string | undefined;
1002
- note?: string | undefined;
1003
- result?: {
1004
- outcome: "deadline" | "error" | "exit_file" | "exited";
1005
- observedAt: string;
1006
- exitCode?: number | undefined;
1007
- exitFileNote?: "not-an-exit-code" | undefined;
1008
- diagnostic?: string | undefined;
1009
- } | undefined;
1010
- } | {
1011
- id: string;
1012
- source: "agent" | "cezar";
1013
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
1014
- registeredAt: string;
1015
- phase: "cancelled" | "delivered" | "open" | "resolved";
1016
- resolvedAt?: string | undefined;
1017
- deliveredAt?: string | undefined;
1018
- cancelledAt?: string | undefined;
1019
- turnId: string;
1020
- kind: "peer";
1021
- deadline: string;
1022
- timeoutSeconds: number;
1023
- peerIds: string[];
1024
- result?: {
1025
- reason: "message";
1026
- peerRunId: string;
1027
- messageId: string;
1028
- } | {
1029
- reason: "settled";
1030
- peerRunId: string;
1031
- } | {
1032
- reason: "timeout";
1033
- } | undefined;
1034
- })[] | undefined;
1035
- lastWaits?: ({
1036
- prUrl: string;
1037
- repository: string;
1038
- prNumber: number;
1039
- headSha: string;
1040
- id: string;
1041
- source: "agent" | "cezar";
1042
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
1043
- registeredAt: string;
1044
- phase: "cancelled" | "delivered" | "open" | "resolved";
1045
- resolvedAt?: string | undefined;
1046
- deliveredAt?: string | undefined;
1047
- cancelledAt?: string | undefined;
1048
- turnId: string;
1049
- kind: "pr";
1050
- deadline: string;
1051
- generation: string;
1052
- timeoutSeconds: number;
1053
- until: "checks" | "merge";
1054
- wakeOnConflict: boolean;
1055
- result?: {
1056
- outcome: "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
1057
- headSha: string;
1058
- observedHeadSha?: string | undefined;
1059
- mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
1060
- mergeStateStatus?: string | undefined;
1061
- mergedAt?: string | undefined;
1062
- mergeCommitSha?: string | undefined;
1063
- observedAt: string;
1064
- checks: {
1065
- name: string;
1066
- state: string;
1067
- link: string;
1068
- }[];
1069
- totalChecks: number;
1070
- truncated: boolean;
1071
- diagnostic?: string | undefined;
1072
- } | undefined;
1073
- } | {
1074
- id: string;
1075
- source: "agent" | "cezar";
1076
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
1077
- registeredAt: string;
1078
- phase: "cancelled" | "delivered" | "open" | "resolved";
1079
- resolvedAt?: string | undefined;
1080
- deliveredAt?: string | undefined;
1081
- cancelledAt?: string | undefined;
1082
- turnId: string;
1083
- kind: "timer";
1084
- deadline: string;
1085
- seconds: number;
1086
- note?: string | undefined;
1087
- } | {
1088
- id: string;
1089
- source: "agent" | "cezar";
1090
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
1091
- registeredAt: string;
1092
- phase: "cancelled" | "delivered" | "open" | "resolved";
1093
- resolvedAt?: string | undefined;
1094
- deliveredAt?: string | undefined;
1095
- cancelledAt?: string | undefined;
1096
- turnId: string;
1097
- kind: "human";
1098
- questions?: {
1099
- id?: string | undefined;
1100
- header: string;
1101
- question: string;
1102
- options?: {
1103
- label: string;
1104
- description?: string | undefined;
1105
- }[] | undefined;
1106
- multiSelect?: boolean | undefined;
1107
- }[] | undefined;
1108
- context?: string | undefined;
1109
- askSeq?: number | undefined;
1110
- } | {
1111
- id: string;
1112
- source: "agent" | "cezar";
1113
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
1114
- registeredAt: string;
1115
- phase: "cancelled" | "delivered" | "open" | "resolved";
1116
- resolvedAt?: string | undefined;
1117
- deliveredAt?: string | undefined;
1118
- cancelledAt?: string | undefined;
1119
- turnId: string;
1120
- kind: "worker";
1121
- deadline?: string | undefined;
1122
- timeoutSeconds?: number | undefined;
1123
- mode?: "all" | "any" | "one" | undefined;
1124
- workerIds?: string[] | undefined;
1125
- revisions?: {
1126
- workerId: string;
1127
- revision: number;
1128
- }[] | undefined;
1129
- outcomes?: {
1130
- workerId: string;
1131
- status: "cancelled" | "done" | "failed" | "review";
1132
- observedAt: string;
1133
- summary?: string | undefined;
1134
- revision?: number | undefined;
1135
- }[] | undefined;
1136
- requestIds?: string[] | undefined;
1137
- requestOutcomes?: {
1138
- requestId: string;
1139
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1140
- observedAt: string;
1141
- replyId?: string | undefined;
1142
- }[] | undefined;
1143
- result?: {
1144
- reason: "outcome" | "timeout";
1145
- } | undefined;
1146
- wakeInputId?: string | undefined;
1147
- } | {
1148
- id: string;
1149
- source: "agent" | "cezar";
1150
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
1151
- registeredAt: string;
1152
- phase: "cancelled" | "delivered" | "open" | "resolved";
1153
- resolvedAt?: string | undefined;
1154
- deliveredAt?: string | undefined;
1155
- cancelledAt?: string | undefined;
1156
- turnId: string;
1157
- kind: "process";
1158
- deadline: string;
1159
- timeoutSeconds: number;
1160
- pid: number;
1161
- startToken?: string | undefined;
1162
- exitFile?: string | undefined;
1163
- note?: string | undefined;
1164
- result?: {
1165
- outcome: "deadline" | "error" | "exit_file" | "exited";
1166
- observedAt: string;
1167
- exitCode?: number | undefined;
1168
- exitFileNote?: "not-an-exit-code" | undefined;
1169
- diagnostic?: string | undefined;
1170
- } | undefined;
1171
- } | {
1172
- id: string;
1173
- source: "agent" | "cezar";
1174
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "no-wait" | "schedule-wakeup";
1175
- registeredAt: string;
1176
- phase: "cancelled" | "delivered" | "open" | "resolved";
1177
- resolvedAt?: string | undefined;
1178
- deliveredAt?: string | undefined;
1179
- cancelledAt?: string | undefined;
1180
- turnId: string;
1181
- kind: "peer";
1182
- deadline: string;
1183
- timeoutSeconds: number;
1184
- peerIds: string[];
1185
- result?: {
1186
- reason: "message";
1187
- peerRunId: string;
1188
- messageId: string;
1189
- } | {
1190
- reason: "settled";
1191
- peerRunId: string;
1192
- } | {
1193
- reason: "timeout";
1194
- } | undefined;
1195
- })[] | undefined;
1196
- previewServers?: {
1197
- port: number;
1198
- command: string;
1199
- cwd?: string | undefined;
1200
- label: string;
1201
- path?: string | undefined;
1202
- registeredAt: string;
1203
- answeredAtRegistration: boolean;
1204
- }[] | undefined;
1205
- taskImages?: string[] | undefined;
1206
- model?: string | undefined;
1207
- effort?: string | undefined;
1208
- modelIdentity?: string | undefined;
1209
- agentProfile?: string | undefined;
1210
- systemPrompt?: string | undefined;
1211
- generateFollowups?: boolean | undefined;
1212
- autonomous?: boolean | undefined;
1213
- archiveWhenDone?: boolean | undefined;
1214
- autoMergePr?: boolean | undefined;
1215
- completionAction?: {
1216
- id: string;
1217
- phase: "blocked" | "complete" | "pending";
1218
- message?: string | undefined;
1219
- } | undefined;
1220
- archiveBlocker?: {
1221
- message: string;
1222
- runId?: string | undefined;
1223
- pullRequestUrl?: string | undefined;
1224
- } | undefined;
1225
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
1226
- createdAt: string;
1227
- startedAt?: string | undefined;
1228
- finishedAt?: string | undefined;
1229
- tokensUsed: number;
1230
- inputTokens?: number | undefined;
1231
- outputTokens?: number | undefined;
1232
- costUsd?: number | undefined;
1233
- pullRequestUrl?: string | undefined;
1234
- referencedPullRequestUrl?: string | undefined;
1235
- prNumber?: number | undefined;
1236
- issueNumber?: number | undefined;
1237
- referencedIssueNumberSeeded?: boolean | undefined;
1238
- titleOrigin?: "auto" | "marker" | "user" | undefined;
1239
- markerRefs?: {
1240
- pr?: number | undefined;
1241
- issue?: number | undefined;
1242
- } | undefined;
1243
- referencedPrCandidates?: string[] | undefined;
1244
- referencedIssueUrl?: string | undefined;
1245
- referencedIssueCandidates?: string[] | undefined;
1246
- worktree?: false | undefined;
1247
- worktreePath?: string | undefined;
1248
- branch?: string | undefined;
1249
- baseBranch?: string | undefined;
1250
- worktreeReclaimedAt?: string | undefined;
1251
- groupId?: string | undefined;
1252
- variant?: string | undefined;
1253
- clientRequestId?: string | undefined;
1254
- clientRequestHash?: string | undefined;
1255
- peakRssBytes?: number | undefined;
1256
- peakProcCount?: number | undefined;
1257
- archivedAt?: string | undefined;
1258
- autoArchive?: {
1259
- reason: "pull-requests-merged";
1260
- archivedAt: string;
1261
- fingerprint: string;
1262
- pullRequests: {
1263
- owner: string;
1264
- repo: string;
1265
- number: number;
1266
- mergedAt: string;
1267
- }[];
1268
- } | undefined;
1269
- manualUnarchivedAt?: string | undefined;
1270
- pinned?: boolean | undefined;
1271
- pinnedAt?: string | undefined;
1272
- seenAt?: string | undefined;
1273
- currentStepId?: string | undefined;
1274
- error?: string | undefined;
1275
- delegation?: {
1276
- role: "root";
1277
- conversation?: {
1278
- messages: {
1279
- senderRunId: string;
1280
- recipientRunId: string;
1281
- kind: "follow-up" | "progress" | "reply" | "request";
1282
- requestId?: string | undefined;
1283
- relationship?: "family" | "peer" | undefined;
1284
- id: string;
1285
- text: string;
1286
- createdAt: string;
1287
- deadline?: string | undefined;
1288
- requestHash: string;
1289
- state: "accepted" | "continuation-required" | "destroyed" | "late";
1290
- resumed?: true | undefined;
1291
- instruction?: string | undefined;
1292
- question?: {
1293
- context?: string | undefined;
1294
- questions: {
1295
- id?: string | undefined;
1296
- header: string;
1297
- question: string;
1298
- options?: {
1299
- label: string;
1300
- description?: string | undefined;
1301
- }[] | undefined;
1302
- multiSelect?: boolean | undefined;
1303
- }[];
1304
- } | undefined;
1305
- }[];
1306
- outcomes: {
1307
- requestId: string;
1308
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1309
- observedAt: string;
1310
- replyId?: string | undefined;
1311
- }[];
1312
- } | undefined;
1313
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
1314
- receipts: {
1315
- requestId: string;
1316
- workerId: string;
1317
- requestHash: string;
1318
- deletion?: {
1319
- phase: "complete" | "pending";
1320
- revision: number;
1321
- resourceId: string;
1322
- generation: string;
1323
- } | undefined;
1324
- }[];
1325
- wait?: {
1326
- id: string;
1327
- workerIds: string[];
1328
- requestIds?: string[] | undefined;
1329
- requestOutcomes?: {
1330
- requestId: string;
1331
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1332
- observedAt: string;
1333
- replyId?: string | undefined;
1334
- }[] | undefined;
1335
- deadline: string;
1336
- mode?: "all" | "any" | "one" | undefined;
1337
- revisions?: {
1338
- workerId: string;
1339
- revision: number;
1340
- }[] | undefined;
1341
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1342
- phase: "parked" | "registered" | "wake-pending";
1343
- outcomes: {
1344
- workerId: string;
1345
- status: "cancelled" | "done" | "failed" | "review";
1346
- observedAt: string;
1347
- summary?: string | undefined;
1348
- revision?: number | undefined;
1349
- }[];
1350
- wakeId?: string | undefined;
1351
- } | undefined;
1352
- lastWait?: {
1353
- id: string;
1354
- workerIds: string[];
1355
- requestIds?: string[] | undefined;
1356
- requestOutcomes?: {
1357
- requestId: string;
1358
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1359
- observedAt: string;
1360
- replyId?: string | undefined;
1361
- }[] | undefined;
1362
- deadline: string;
1363
- mode?: "all" | "any" | "one" | undefined;
1364
- revisions?: {
1365
- workerId: string;
1366
- revision: number;
1367
- }[] | undefined;
1368
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1369
- phase: "parked" | "registered" | "wake-pending";
1370
- outcomes: {
1371
- workerId: string;
1372
- status: "cancelled" | "done" | "failed" | "review";
1373
- observedAt: string;
1374
- summary?: string | undefined;
1375
- revision?: number | undefined;
1376
- }[];
1377
- wakeId?: string | undefined;
1378
- } | undefined;
1379
- results?: {
1380
- workerId: string;
1381
- revision: number;
1382
- snapshotId: string;
1383
- observedAt: string;
1384
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
1385
- previous?: {
1386
- revision: number;
1387
- observedAt: string;
1388
- lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
1389
- } | undefined;
1390
- }[] | undefined;
1391
- finishRequestedAt?: string | undefined;
1392
- historyDeletion?: "pending" | undefined;
1393
- completion?: {
1394
- phase: "attention" | "waiting";
1395
- waitId?: string | undefined;
1396
- } | undefined;
1397
- } | {
1398
- role: "worker";
1399
- wait?: {
1400
- id: string;
1401
- workerIds: string[];
1402
- requestIds?: string[] | undefined;
1403
- requestOutcomes?: {
1404
- requestId: string;
1405
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1406
- observedAt: string;
1407
- replyId?: string | undefined;
1408
- }[] | undefined;
1409
- deadline: string;
1410
- mode?: "all" | "any" | "one" | undefined;
1411
- revisions?: {
1412
- workerId: string;
1413
- revision: number;
1414
- }[] | undefined;
1415
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1416
- phase: "parked" | "registered" | "wake-pending";
1417
- outcomes: {
1418
- workerId: string;
1419
- status: "cancelled" | "done" | "failed" | "review";
1420
- observedAt: string;
1421
- summary?: string | undefined;
1422
- revision?: number | undefined;
1423
- }[];
1424
- wakeId?: string | undefined;
1425
- } | undefined;
1426
- lastWait?: {
1427
- id: string;
1428
- workerIds: string[];
1429
- requestIds?: string[] | undefined;
1430
- requestOutcomes?: {
1431
- requestId: string;
1432
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
1433
- observedAt: string;
1434
- replyId?: string | undefined;
1435
- }[] | undefined;
1436
- deadline: string;
1437
- mode?: "all" | "any" | "one" | undefined;
1438
- revisions?: {
1439
- workerId: string;
1440
- revision: number;
1441
- }[] | undefined;
1442
- reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
1443
- phase: "parked" | "registered" | "wake-pending";
1444
- outcomes: {
1445
- workerId: string;
1446
- status: "cancelled" | "done" | "failed" | "review";
1447
- observedAt: string;
1448
- summary?: string | undefined;
1449
- revision?: number | undefined;
1450
- }[];
1451
- wakeId?: string | undefined;
1452
- } | undefined;
1453
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
1454
- parentRunId: string;
1455
- workspace: {
1456
- ownerRunId: string;
1457
- resourceId: string;
1458
- kind: "owned-isolated";
1459
- path: string;
1460
- branch: string;
1461
- baselineSha: string;
1462
- };
1463
- destroy?: {
1464
- requestedAt: string;
1465
- phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
1466
- remaining: ("branch" | "process" | "worktree")[];
1467
- error?: string | undefined;
1468
- } | undefined;
1469
- context?: {
1470
- text?: string | undefined;
1471
- inputs: {
1472
- source: {
1473
- kind: "parent-file";
1474
- path: string;
1475
- } | {
1476
- kind: "baseline-file";
1477
- path: string;
1478
- } | {
1479
- kind: "parent-attachment";
1480
- id: string;
1481
- };
1482
- path: string;
1483
- sha256: string;
1484
- bytes: number;
1485
- }[];
1486
- } | undefined;
1487
- executionRevision?: number | undefined;
1488
- executionStartSeq?: number | undefined;
1489
- } | {
1490
- role: "invalid";
1491
- } | undefined;
1492
- lastWaitsError?: string | undefined;
1493
- automaticWakes?: number | undefined;
1494
- waitDeliveryFailures?: number | undefined;
1495
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1496
- notify?: boolean | undefined;
1497
- webhook?: {
1498
- lastDeliveredAt?: string | undefined;
1499
- lastError?: string | undefined;
1500
- lastErrorWebhookId?: string | undefined;
1501
- } | undefined;
1502
- destroyRetry?: {
1503
- attempts: number;
1504
- nextAt: string;
1505
- needsAttention?: true | undefined;
1506
- } | undefined;
1507
- stopping?: boolean | undefined;
1508
- hasPendingPermission?: boolean | undefined;
1509
- autoResumeAt?: string | undefined;
1510
- autoResumeAttempts?: number | undefined;
1511
- pullRequests?: {
1512
- number: number;
1513
- url?: string | undefined;
1514
- source: "created" | "declared";
1515
- }[] | undefined;
1516
- worktreeSetup?: {
1517
- status: "done" | "failed" | "running";
1518
- startedAt: string;
1519
- finishedAt?: string | undefined;
1520
- durationMs?: number | undefined;
1521
- error?: string | undefined;
1522
- } | undefined;
1523
- archived: boolean;
1524
- workflowDef?: {
1525
- name: string;
1526
- description?: string | undefined;
1527
- steps: {
1528
- id: string;
1529
- name?: string | undefined;
1530
- prompt?: string | undefined;
1531
- skill?: string | undefined;
1532
- model?: string | undefined;
1533
- effort?: string | undefined;
1534
- timeoutMs?: number | undefined;
1535
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1536
- agentProfile?: string | undefined;
1537
- allowedTools?: string[] | undefined;
1538
- bashAllowlist?: string[] | undefined;
1539
- command?: string | undefined;
1540
- onFail?: {
1541
- retry: string;
1542
- max: number;
1543
- } | undefined;
1544
- }[];
1545
- source: "built-in" | "file";
1546
- path?: string | undefined;
1547
- } | undefined;
1548
- steps: {
1549
- id: string;
1550
- name: string;
1551
- kind: "agent" | "check";
1552
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
1553
- iterations: number;
1554
- retriesUsed?: number | undefined;
1555
- tokensUsed: number;
1556
- inputTokens?: number | undefined;
1557
- outputTokens?: number | undefined;
1558
- usageInvocationsStarted?: number | undefined;
1559
- usageInvocationsObserved?: number | undefined;
1560
- usageTurnsStarted?: number | undefined;
1561
- usageTurnsRecorded?: number | undefined;
1562
- usageInvocationEpoch?: number | undefined;
1563
- startedAt?: string | undefined;
1564
- finishedAt?: string | undefined;
1565
- error?: string | undefined;
1566
- sessionId?: string | undefined;
1567
- sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
1568
- profileId?: string | undefined;
1569
- costUsd?: number | undefined;
1570
- synthetic?: "continuation" | undefined;
1571
- backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1572
- }[];
1573
- automation?: {
1574
- automationId: string;
1575
- receiptId: string;
1576
- event: string;
1577
- automationRevision: number;
1578
- githubUrl: string;
1579
- } | undefined;
1580
- automationTrigger?: {
1581
- automationId: string;
1582
- receiptId: string;
1583
- trigger: "catch-up" | "manual" | "schedule";
1584
- occurrenceAt: string;
1585
- automationRevision: number;
1586
- } | undefined;
1587
- handoffRecords?: {
1588
- autosave: {
1589
- at: string;
1590
- note: string;
1591
- periodic?: {
1592
- branch: string | null;
1593
- count: number;
1594
- first: string | null;
1595
- latest: string | null;
1596
- } | undefined;
1597
- }[];
1598
- } | undefined;
1599
- };
1600
- } | undefined;
1601
- /** A root and its direct owned worker, in either direction; anything else is `denied_scope`. */
1602
- export declare function familyPair(sender: RunRecord | undefined, recipient: RunRecord | undefined): {
1603
- root: RunRecord;
1604
- worker: RunRecord;
1605
- };
1606
- /** A family sender of a new message: a parent holding `steer`, live and not finishing; a worker live and not being destroyed. */
1607
- export declare function assertFamilySender(sender: RunRecord, root: RunRecord, send: boolean): void;
1608
- /** A root whose human pressed Finish, which has not settled yet. */
1609
- export declare function finishing(run: RunRecord): boolean;
1610
- /** Why a send to a run that cannot take it now was not delivered, and the next step. */
1611
- export declare function notDeliveredInstruction(pair: {
1612
- relationship: 'family' | 'peer';
1613
- sender: RunRecord;
1614
- recipient: RunRecord;
1615
- }, root: RunRecord): string;
1616
- /** The ledger's 1,024 messages, where every open request holds room for its reply and a new
1617
- * request needs room for its own; its 32 open requests; and 32 inbox slots per run, which hold its
1618
- * undelivered inputs and one slot for each open peer request it sent (`inboxSlotsUsed`). A new
1619
- * peer request needs a free slot in its sender's inbox; its reply then spends that slot, so it is
1620
- * always admitted and no inbox passes 32. An answer to a worker question passes the inbox bound,
1621
- * as it always did (hearsay-tools/cezarion#505). */
1622
- export declare function assertConversationCapacity(state: ConversationState, pair: {
1623
- relationship: 'family' | 'peer';
1624
- sender: RunRecord;
1625
- recipient: RunRecord;
1626
- }, kind: ConversationSendRequest['kind'], enqueue: boolean, replying: boolean, answering: boolean): void;
1627
- /** A run's inbox slots in use: its undelivered inputs, and one for each open peer request it sent,
1628
- * which its reply will fill. */
1629
- export declare function inboxSlotsUsed(run: RunRecord): number;
1630
- /** A reply settles its request, or amends a deadline expiry to `replied-late`. Cancellation,
1631
- * lifecycle settlement and an earlier reply still win; the request never becomes pending again. */
1632
- export declare function replyOutcomes(state: ConversationState, request: ConversationSendRequest, settled: RequestOutcome | undefined, now: string): RequestOutcome[];
1633
- /** One write for the message, its ledger and the recipient's input; a message ID already in use
1634
- * there refuses the whole write. A peer that has not opened a session yet becomes a root task
1635
- * with its first message (spec § 2). */
1636
- export declare function commitAccepted(store: RunStore, ledgerId: string, next: ConversationState, input: AgentInput | undefined, provision: boolean): void;
1637
- export type InboxEntry = {
1638
- message: ConversationMessage;
1639
- outcome?: RequestOutcome | undefined;
1640
- };
1641
- /** The accepted message an input carries, as its ledger holds it, with its request's outcome. */
1642
- export declare function inboxEntryIn(state: ConversationState, input: AgentInput, recipientId: string): InboxEntry | undefined;
1643
- /** The merged history order: `createdAt`, then `id`, a total order a cursor can name. */
1644
- export declare function byCreatedAtAndId(a: {
1645
- createdAt: string;
1646
- id: string;
1647
- }, b: {
1648
- createdAt: string;
1649
- id: string;
1650
- }): number;
1651
- /** A peer message whose sender's ledger was deleted with the sender: the recipient's own input
1652
- * still carries it, so its inbox can return it (spec § 5). */
1653
- export declare function orphanedPeerMessage(input: AgentInput): ConversationMessage | undefined;
1654
- /** A Cezar-written message (a routed question, a park notice) whose deterministic ID a peer
1655
- * already took: nothing is written, and `onConflict` says what happens instead. */
1656
- export declare function commitNewMessage(store: Pick<RunStore, 'commitConversation'>, rootId: string, conversation: ConversationState, delivery: {
1657
- recipientRunId: string;
1658
- input: AgentInput;
1659
- }, onConflict: () => void): boolean;
1660
- /** The caller took part in a peer conversation with `otherId`: a peer message between them in
1661
- * either ledger while it exists, or, after the peer's deletion, a peer input from it that the
1662
- * caller still holds (spec 2026-10-27-task-communication-protocol § 2, records level). */
1663
- export declare function takesPart(self: RunRecord, other: RunRecord | undefined, otherId: string): boolean;
1664
- /** Every conversation root, live or settled, with an open peer request to `runId`: the peer's
1665
- * settlement or deletion settles each at once (spec § 5, R17). Roots another process owns are its
1666
- * own to settle. */
1667
- export declare function rootsAwaitingPeer(store: Pick<RunStore, 'listConversationRootIds' | 'getRun' | 'writeRefusal'>, runId: string): string[];
1668
- /** The families a settled run's reconcile covers: a worker's parent, or a root's own family and
1669
- * every root that awaits it as a peer (`rootsAwaitingPeer`). */
1670
- export declare function settledRunFamilies(store: Pick<RunStore, 'listConversationRootIds' | 'getRun' | 'writeRefusal'>, run: RunRecord): string[];