@hearsay-tools/squawk 0.19.0-dev.9220 → 0.19.0-dev.9235

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 (160) hide show
  1. package/dist/activity/read-model.js +5 -2
  2. package/dist/activity/read-model.js.map +1 -1
  3. package/dist/contract/hosts.d.ts +3 -0
  4. package/dist/contract/index.d.ts +1 -0
  5. package/dist/contract/index.js +2257 -1939
  6. package/dist/contract/projects.d.ts +6 -0
  7. package/dist/contract/runs.d.ts +117 -0
  8. package/dist/contract/task-result.d.ts +1075 -0
  9. package/dist/core/forge-registry.d.ts +8 -0
  10. package/dist/core/forge-registry.js +36 -13
  11. package/dist/core/forge-registry.js.map +1 -1
  12. package/dist/delegation/readiness.d.ts +8 -5
  13. package/dist/delegation/readiness.js +23 -9
  14. package/dist/delegation/readiness.js.map +1 -1
  15. package/dist/delegation/routes.d.ts +4 -4
  16. package/dist/delegation/service.js +4 -2
  17. package/dist/delegation/service.js.map +1 -1
  18. package/dist/delegation/worker-cleanup.js +1 -1
  19. package/dist/delegation/worker-cleanup.js.map +1 -1
  20. package/dist/features/hosts/routes.d.ts +2 -0
  21. package/dist/features/webhooks/routes.d.ts +3 -0
  22. package/dist/project-migration/journal.d.ts +2 -0
  23. package/dist/project-migration/journal.js +1 -1
  24. package/dist/project-migration/journal.js.map +1 -1
  25. package/dist/project-migration/plan.js +2 -0
  26. package/dist/project-migration/plan.js.map +1 -1
  27. package/dist/runs/legacy-run-rows.d.ts +1 -1
  28. package/dist/runs/legacy-run-rows.js +7 -3
  29. package/dist/runs/legacy-run-rows.js.map +1 -1
  30. package/dist/runs/ports.d.ts +16 -1
  31. package/dist/runs/project-run-connection.d.ts +3 -0
  32. package/dist/runs/project-run-connection.js +57 -10
  33. package/dist/runs/project-run-connection.js.map +1 -1
  34. package/dist/runs/project-run-sources.d.ts +6 -0
  35. package/dist/runs/project-run-sources.js +20 -0
  36. package/dist/runs/project-run-sources.js.map +1 -1
  37. package/dist/runs/run-archive.d.ts +19 -0
  38. package/dist/runs/run-decode.d.ts +58 -0
  39. package/dist/runs/run-decode.js +10 -0
  40. package/dist/runs/run-decode.js.map +1 -1
  41. package/dist/runs/run-exits.d.ts +114 -0
  42. package/dist/runs/run-retention.d.ts +2 -0
  43. package/dist/runs/run-retention.js +11 -2
  44. package/dist/runs/run-retention.js.map +1 -1
  45. package/dist/runs/store.d.ts +3 -0
  46. package/dist/runs/store.js +11 -5
  47. package/dist/runs/store.js.map +1 -1
  48. package/dist/runs/task-result-commit.d.ts +24 -0
  49. package/dist/runs/task-result-commit.js +114 -0
  50. package/dist/runs/task-result-commit.js.map +1 -0
  51. package/dist/runs/task-results.d.ts +61 -0
  52. package/dist/runs/task-results.js +220 -0
  53. package/dist/runs/task-results.js.map +1 -0
  54. package/dist/runs/worker-result-commit.d.ts +12 -12
  55. package/dist/runs/worker-result-commit.js +77 -55
  56. package/dist/runs/worker-result-commit.js.map +1 -1
  57. package/dist/runs/worker-results.d.ts +10 -26
  58. package/dist/runs/worker-results.js +11 -73
  59. package/dist/runs/worker-results.js.map +1 -1
  60. package/dist/server/projects-routes.d.ts +6 -0
  61. package/dist/server/runs-routes.d.ts +189 -18
  62. package/dist/server/server.d.ts +1666 -1318
  63. package/dist/workflows/continuation-admission.d.ts +91 -72
  64. package/dist/workflows/input-acknowledgement.d.ts +24 -24
  65. package/dist/workflows/run/completion-gate.js +10 -4
  66. package/dist/workflows/run/completion-gate.js.map +1 -1
  67. package/dist/workflows/run/wait-engine.d.ts +91 -72
  68. package/dist/workspace/projects.d.ts +5 -0
  69. package/dist/workspace/projects.js +8 -2
  70. package/dist/workspace/projects.js.map +1 -1
  71. package/package.json +4 -4
  72. package/web/dist/assets/accounts-section-BOZ9JyE6.js +1 -0
  73. package/web/dist/assets/{activity-motion-CXlbNrMI.js → activity-motion-D48R7Vry.js} +1 -1
  74. package/web/dist/assets/{activity-route-BL-QWLNp.js → activity-route-jcGRtnMT.js} +1 -1
  75. package/web/dist/assets/{agent-accounts-Du8CHfFX.js → agent-accounts-CUthX0Yh.js} +1 -1
  76. package/web/dist/assets/{agent-config-section-BzMSlPK0.js → agent-config-section-BvwoyNZb.js} +1 -1
  77. package/web/dist/assets/{agent-defaults-section-CqEVmRK0.js → agent-defaults-section-Hb-jy4TN.js} +1 -1
  78. package/web/dist/assets/{appearance-vI6ae_So.js → appearance-EXKzoghV.js} +1 -1
  79. package/web/dist/assets/{archive-on-merge-field-C4hrO55O.js → archive-on-merge-field-Ni7bKGkG.js} +1 -1
  80. package/web/dist/assets/{ask-card-hEb8IHjL.js → ask-card-CkE44gm3.js} +3 -3
  81. package/web/dist/assets/automations-route-3bhtdTy3.js +2 -0
  82. package/web/dist/assets/{commit-list-Jr1_04RS.js → commit-list-DSw7qvVY.js} +1 -1
  83. package/web/dist/assets/{diff-BOF9OXhn.js → diff-BidPzsVK.js} +2 -2
  84. package/web/dist/assets/{diff-controls-CkxtRrbB.js → diff-controls-DeMSGYln.js} +1 -1
  85. package/web/dist/assets/{diff-view-Chu6rn_i.js → diff-view-BqU4sJld.js} +1 -1
  86. package/web/dist/assets/{discard-changes-dialog-BB47RqdX.js → discard-changes-dialog-B1AO0GSt.js} +1 -1
  87. package/web/dist/assets/{file-preview-DNM-krBZ.js → file-preview-BIZXTzkp.js} +1 -1
  88. package/web/dist/assets/{folder-browser-TNWat5kt.js → folder-browser-C9Phl0rS.js} +1 -1
  89. package/web/dist/assets/{git-toolbar-CoKBTzNV.js → git-toolbar-BBon1yHh.js} +1 -1
  90. package/web/dist/assets/{github-t611QkCi.js → github-QOB5Qi4v.js} +1 -1
  91. package/web/dist/assets/{global-activity-route-B9DMoviv.js → global-activity-route-lSnYAZE9.js} +1 -1
  92. package/web/dist/assets/{host-context-iTMFRMT5.js → host-context-KsSKxKbI.js} +1 -1
  93. package/web/dist/assets/host-storage-BHtMSWBL.js +1 -0
  94. package/web/dist/assets/{hosts-rdWe_OBc.js → hosts-DDwDUxT9.js} +1 -1
  95. package/web/dist/assets/{image-preview-C_xACQXI.js → image-preview-CvcSCCBU.js} +1 -1
  96. package/web/dist/assets/index-BuR9xHfb.js +21 -0
  97. package/web/dist/assets/index-DZXi-K2N.css +1 -0
  98. package/web/dist/assets/{label-B_s8eiYA.js → label-D6vgq5lF.js} +1 -1
  99. package/web/dist/assets/{markdown-Bmdr6MIa.js → markdown-A6dvDky9.js} +1 -1
  100. package/web/dist/assets/{open-in-menu-DkFneOWr.js → open-in-menu-Bb_jc7pm.js} +1 -1
  101. package/web/dist/assets/{option-select-BxTmKg8G.js → option-select-CCpypHbW.js} +1 -1
  102. package/web/dist/assets/{preferences-section-B_yl_o-g.js → preferences-section-B75Zx0mY.js} +1 -1
  103. package/web/dist/assets/{preview-D3zYSmIA.js → preview-DiBpgf-5.js} +1 -1
  104. package/web/dist/assets/{preview-pane-connected-s9LvCVbp.js → preview-pane-connected-BVu2oO0V.js} +2 -2
  105. package/web/dist/assets/{project-location-BczZtNyO.js → project-location-D1etWKHg.js} +1 -1
  106. package/web/dist/assets/{project-router-CfEuKuz1.js → project-router-yoWCTDaT.js} +1 -1
  107. package/web/dist/assets/project-scope-context-hfRzPMZ4.js +4 -0
  108. package/web/dist/assets/{projects-section-C6DnyUa2.js → projects-section-BRnIJ47e.js} +1 -1
  109. package/web/dist/assets/{prompt-templates-section-BQvKWcaX.js → prompt-templates-section-D7JLM5BM.js} +2 -2
  110. package/web/dist/assets/queries-ChH9ctc-.js +1 -0
  111. package/web/dist/assets/{reference-chip-e-fG4-yW.js → reference-chip-BPRZm7Kb.js} +1 -1
  112. package/web/dist/assets/{remote-settings-notice-CUqI2DdF.js → remote-settings-notice-Ip6H5hLU.js} +1 -1
  113. package/web/dist/assets/{repo-git-NG_TxE7N.js → repo-git-Wf30akEt.js} +1 -1
  114. package/web/dist/assets/{report-reader-LYNHrAe-.js → report-reader-DhcZcNql.js} +1 -1
  115. package/web/dist/assets/{report-selection-nUbQVjJu.js → report-selection-CwPw7vbG.js} +1 -1
  116. package/web/dist/assets/{reports-DuT4m7i5.js → reports-DPKDwzxY.js} +1 -1
  117. package/web/dist/assets/{resources-section-CT48TCXY.js → resources-section-DaWcyqur.js} +1 -1
  118. package/web/dist/assets/{review-notes-drafts-C7HCRebB.js → review-notes-drafts-D7QuBuTL.js} +1 -1
  119. package/web/dist/assets/{review-panel-BffLSkRo.js → review-panel-Bpxl4TvO.js} +1 -1
  120. package/web/dist/assets/{review-strip-COa0ir6V.js → review-strip-Da5n1k8s.js} +1 -1
  121. package/web/dist/assets/{run-detail-refresh-Db5HOGMX.js → run-detail-refresh-CVSK_VKG.js} +1 -1
  122. package/web/dist/assets/{run-diff-DldSY8BJ.js → run-diff-CPuNFD3X.js} +1 -1
  123. package/web/dist/assets/run-header-B8EAOHFc.js +2 -0
  124. package/web/dist/assets/{select-Cd8wvwvm.js → select-xjUzLrk9.js} +1 -1
  125. package/web/dist/assets/{session-context-section-CW8DS0dW.js → session-context-section-C7OTexKU.js} +1 -1
  126. package/web/dist/assets/{settings-agent-picker-an3ysM1B.js → settings-agent-picker-mESK-hj4.js} +1 -1
  127. package/web/dist/assets/{settings-save-bar-BiHFQ4c0.js → settings-save-bar-BUaa1kHw.js} +1 -1
  128. package/web/dist/assets/{settings-shell-KZ801oLH.js → settings-shell-BKSsBxqQ.js} +1 -1
  129. package/web/dist/assets/{sidebar-section-BRMO7aY4.js → sidebar-section-BFBZlQ-x.js} +1 -1
  130. package/web/dist/assets/{skills-DHkLoxXb.js → skills-BSqszv5g.js} +1 -1
  131. package/web/dist/assets/{status-dot-Da1M54kK.js → status-dot-Fp5SnPHI.js} +1 -1
  132. package/web/dist/assets/{tab-link-DL1UtKVR.js → tab-link-j06AaWSU.js} +1 -1
  133. package/web/dist/assets/{task-changes-CQhwyj0L.js → task-changes-B4KFHxVa.js} +2 -2
  134. package/web/dist/assets/{task-commits-CTP8izpc.js → task-commits-D-UAUoZ5.js} +1 -1
  135. package/web/dist/assets/{task-file-scope-CDIfOvl-.js → task-file-scope-BhWG35a8.js} +1 -1
  136. package/web/dist/assets/{task-files-CGlRH86B.js → task-files-BOCx_Lp0.js} +1 -1
  137. package/web/dist/assets/{task-github-item-ChgjULzj.js → task-github-item-CZqaaxNv.js} +1 -1
  138. package/web/dist/assets/task-thread-D3d419VX.js +2 -0
  139. package/web/dist/assets/{thread-state-D2KJrZ1o.js → thread-state-B0pz2Y8K.js} +1 -1
  140. package/web/dist/assets/{use-finish-run-DifixlCM.js → use-finish-run-TX3pIPCS.js} +1 -1
  141. package/web/dist/assets/{use-hand-to-agent-state-Bjh1EnB3.js → use-hand-to-agent-state-D2oChRzw.js} +1 -1
  142. package/web/dist/assets/use-path-bases-DFxEHoyU.js +1 -0
  143. package/web/dist/assets/use-workspace-config-save-DR8brU5p.js +1 -0
  144. package/web/dist/assets/{workflows-BDc-MpiC.js → workflows-BwzNhxT0.js} +1 -1
  145. package/web/dist/assets/{workspace-tools-D7kUSb-0.js → workspace-tools-Be_j9oke.js} +1 -1
  146. package/web/dist/assets/{worktrees-section-Cv65NBgq.js → worktrees-section-cnibWU5-.js} +4 -4
  147. package/web/dist/assets/{zoomable-image-DJ1lJEMc.js → zoomable-image-Dv85Vr4A.js} +1 -1
  148. package/web/dist/index.html +17 -17
  149. package/web/dist/live-worker.js +1 -1
  150. package/web/dist/assets/accounts-section-s6sAdUT8.js +0 -1
  151. package/web/dist/assets/automations-route-Bd6crv15.js +0 -2
  152. package/web/dist/assets/host-storage-Cr_NKfWy.js +0 -1
  153. package/web/dist/assets/index-C3kap2_j.js +0 -21
  154. package/web/dist/assets/index-CWmMYQdT.css +0 -1
  155. package/web/dist/assets/project-scope-context-DNrHbqd2.js +0 -4
  156. package/web/dist/assets/queries-DD_9iITj.js +0 -1
  157. package/web/dist/assets/run-header-DxpN6yVQ.js +0 -2
  158. package/web/dist/assets/task-thread-Cj9B2ISO.js +0 -2
  159. package/web/dist/assets/use-path-bases-AV9YYh2B.js +0 -1
  160. package/web/dist/assets/use-workspace-config-save-02qlUK8v.js +0 -1
@@ -2116,6 +2116,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2116
2116
  branch?: string | undefined;
2117
2117
  forge?: string | undefined;
2118
2118
  repoUrl?: string | undefined;
2119
+ repoIdentity?: string | undefined;
2119
2120
  maxParallel?: number | undefined;
2120
2121
  tags?: string[] | undefined;
2121
2122
  webhook?: {
@@ -2168,6 +2169,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2168
2169
  branch?: string | undefined;
2169
2170
  forge?: string | undefined;
2170
2171
  repoUrl?: string | undefined;
2172
+ repoIdentity?: string | undefined;
2171
2173
  maxParallel?: number | undefined;
2172
2174
  tags?: string[] | undefined;
2173
2175
  webhook?: {
@@ -2208,6 +2210,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2208
2210
  branch?: string | undefined;
2209
2211
  forge?: string | undefined;
2210
2212
  repoUrl?: string | undefined;
2213
+ repoIdentity?: string | undefined;
2211
2214
  maxParallel?: number | undefined;
2212
2215
  tags?: string[] | undefined;
2213
2216
  webhook?: {
@@ -2377,6 +2380,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2377
2380
  branch?: string | undefined;
2378
2381
  forge?: string | undefined;
2379
2382
  repoUrl?: string | undefined;
2383
+ repoIdentity?: string | undefined;
2380
2384
  maxParallel?: number | undefined;
2381
2385
  tags?: string[] | undefined;
2382
2386
  webhook?: {
@@ -2464,6 +2468,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2464
2468
  branch?: string | undefined;
2465
2469
  forge?: string | undefined;
2466
2470
  repoUrl?: string | undefined;
2471
+ repoIdentity?: string | undefined;
2467
2472
  maxParallel?: number | undefined;
2468
2473
  tags?: string[] | undefined;
2469
2474
  webhook?: {
@@ -2546,6 +2551,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2546
2551
  branch?: string | undefined;
2547
2552
  forge?: string | undefined;
2548
2553
  repoUrl?: string | undefined;
2554
+ repoIdentity?: string | undefined;
2549
2555
  maxParallel?: number | undefined;
2550
2556
  tags?: string[] | undefined;
2551
2557
  webhook?: {
@@ -5724,6 +5730,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5724
5730
  deadline: string;
5725
5731
  seconds: number;
5726
5732
  note?: string | undefined;
5733
+ } | {
5734
+ id: string;
5735
+ source: "agent" | "cezar";
5736
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
5737
+ registeredAt: string;
5738
+ phase: "cancelled" | "delivered" | "open" | "resolved";
5739
+ resolvedAt?: string | undefined;
5740
+ deliveredAt?: string | undefined;
5741
+ cancelledAt?: string | undefined;
5742
+ turnId: string;
5743
+ kind: "process";
5744
+ deadline: string;
5745
+ timeoutSeconds: number;
5746
+ pid: number;
5747
+ startToken?: string | undefined;
5748
+ exitFile?: string | undefined;
5749
+ note?: string | undefined;
5750
+ result?: {
5751
+ outcome: "deadline" | "error" | "exit_file" | "exited";
5752
+ observedAt: string;
5753
+ exitCode?: number | undefined;
5754
+ exitFileNote?: "not-an-exit-code" | undefined;
5755
+ diagnostic?: string | undefined;
5756
+ } | undefined;
5727
5757
  } | {
5728
5758
  id: string;
5729
5759
  source: "agent" | "cezar";
@@ -5785,30 +5815,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5785
5815
  reason: "outcome" | "timeout";
5786
5816
  } | undefined;
5787
5817
  wakeInputId?: string | undefined;
5788
- } | {
5789
- id: string;
5790
- source: "agent" | "cezar";
5791
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
5792
- registeredAt: string;
5793
- phase: "cancelled" | "delivered" | "open" | "resolved";
5794
- resolvedAt?: string | undefined;
5795
- deliveredAt?: string | undefined;
5796
- cancelledAt?: string | undefined;
5797
- turnId: string;
5798
- kind: "process";
5799
- deadline: string;
5800
- timeoutSeconds: number;
5801
- pid: number;
5802
- startToken?: string | undefined;
5803
- exitFile?: string | undefined;
5804
- note?: string | undefined;
5805
- result?: {
5806
- outcome: "deadline" | "error" | "exit_file" | "exited";
5807
- observedAt: string;
5808
- exitCode?: number | undefined;
5809
- exitFileNote?: "not-an-exit-code" | undefined;
5810
- diagnostic?: string | undefined;
5811
- } | undefined;
5812
5818
  } | {
5813
5819
  id: string;
5814
5820
  source: "agent" | "cezar";
@@ -5941,6 +5947,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5941
5947
  deadline: string;
5942
5948
  seconds: number;
5943
5949
  note?: string | undefined;
5950
+ } | {
5951
+ id: string;
5952
+ source: "agent" | "cezar";
5953
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
5954
+ registeredAt: string;
5955
+ phase: "cancelled" | "delivered" | "open" | "resolved";
5956
+ resolvedAt?: string | undefined;
5957
+ deliveredAt?: string | undefined;
5958
+ cancelledAt?: string | undefined;
5959
+ turnId: string;
5960
+ kind: "process";
5961
+ deadline: string;
5962
+ timeoutSeconds: number;
5963
+ pid: number;
5964
+ startToken?: string | undefined;
5965
+ exitFile?: string | undefined;
5966
+ note?: string | undefined;
5967
+ result?: {
5968
+ outcome: "deadline" | "error" | "exit_file" | "exited";
5969
+ observedAt: string;
5970
+ exitCode?: number | undefined;
5971
+ exitFileNote?: "not-an-exit-code" | undefined;
5972
+ diagnostic?: string | undefined;
5973
+ } | undefined;
5944
5974
  } | {
5945
5975
  id: string;
5946
5976
  source: "agent" | "cezar";
@@ -6002,30 +6032,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6002
6032
  reason: "outcome" | "timeout";
6003
6033
  } | undefined;
6004
6034
  wakeInputId?: string | undefined;
6005
- } | {
6006
- id: string;
6007
- source: "agent" | "cezar";
6008
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
6009
- registeredAt: string;
6010
- phase: "cancelled" | "delivered" | "open" | "resolved";
6011
- resolvedAt?: string | undefined;
6012
- deliveredAt?: string | undefined;
6013
- cancelledAt?: string | undefined;
6014
- turnId: string;
6015
- kind: "process";
6016
- deadline: string;
6017
- timeoutSeconds: number;
6018
- pid: number;
6019
- startToken?: string | undefined;
6020
- exitFile?: string | undefined;
6021
- note?: string | undefined;
6022
- result?: {
6023
- outcome: "deadline" | "error" | "exit_file" | "exited";
6024
- observedAt: string;
6025
- exitCode?: number | undefined;
6026
- exitFileNote?: "not-an-exit-code" | undefined;
6027
- diagnostic?: string | undefined;
6028
- } | undefined;
6029
6035
  } | {
6030
6036
  id: string;
6031
6037
  source: "agent" | "cezar";
@@ -6157,6 +6163,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6157
6163
  deadline: string;
6158
6164
  seconds: number;
6159
6165
  note?: string | undefined;
6166
+ } | {
6167
+ id: string;
6168
+ source: "agent" | "cezar";
6169
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
6170
+ registeredAt: string;
6171
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6172
+ resolvedAt?: string | undefined;
6173
+ deliveredAt?: string | undefined;
6174
+ cancelledAt?: string | undefined;
6175
+ turnId: string;
6176
+ kind: "process";
6177
+ deadline: string;
6178
+ timeoutSeconds: number;
6179
+ pid: number;
6180
+ startToken?: string | undefined;
6181
+ exitFile?: string | undefined;
6182
+ note?: string | undefined;
6183
+ result?: {
6184
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6185
+ observedAt: string;
6186
+ exitCode?: number | undefined;
6187
+ exitFileNote?: "not-an-exit-code" | undefined;
6188
+ diagnostic?: string | undefined;
6189
+ } | undefined;
6160
6190
  } | {
6161
6191
  id: string;
6162
6192
  source: "agent" | "cezar";
@@ -6218,30 +6248,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6218
6248
  reason: "outcome" | "timeout";
6219
6249
  } | undefined;
6220
6250
  wakeInputId?: string | undefined;
6221
- } | {
6222
- id: string;
6223
- source: "agent" | "cezar";
6224
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
6225
- registeredAt: string;
6226
- phase: "cancelled" | "delivered" | "open" | "resolved";
6227
- resolvedAt?: string | undefined;
6228
- deliveredAt?: string | undefined;
6229
- cancelledAt?: string | undefined;
6230
- turnId: string;
6231
- kind: "process";
6232
- deadline: string;
6233
- timeoutSeconds: number;
6234
- pid: number;
6235
- startToken?: string | undefined;
6236
- exitFile?: string | undefined;
6237
- note?: string | undefined;
6238
- result?: {
6239
- outcome: "deadline" | "error" | "exit_file" | "exited";
6240
- observedAt: string;
6241
- exitCode?: number | undefined;
6242
- exitFileNote?: "not-an-exit-code" | undefined;
6243
- diagnostic?: string | undefined;
6244
- } | undefined;
6245
6251
  } | {
6246
6252
  id: string;
6247
6253
  source: "agent" | "cezar";
@@ -6357,6 +6363,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6357
6363
  nextAt: string;
6358
6364
  needsAttention?: true | undefined;
6359
6365
  } | undefined;
6366
+ result?: {
6367
+ revision: number;
6368
+ snapshotId: string;
6369
+ observedAt: string;
6370
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
6371
+ previous?: {
6372
+ revision: number;
6373
+ observedAt: string;
6374
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
6375
+ } | undefined;
6376
+ } | undefined;
6377
+ executionRevision?: number | undefined;
6378
+ executionStartSeq?: number | undefined;
6379
+ workerAcknowledgements?: {
6380
+ workerId: string;
6381
+ revision: number;
6382
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
6383
+ observedAt: string;
6384
+ }[] | undefined;
6360
6385
  notify?: boolean | undefined;
6361
6386
  webhook?: {
6362
6387
  lastDeliveredAt?: string | undefined;
@@ -7571,6 +7596,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7571
7596
  deadline: string;
7572
7597
  seconds: number;
7573
7598
  note?: string | undefined;
7599
+ } | {
7600
+ id: string;
7601
+ source: "agent" | "cezar";
7602
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7603
+ registeredAt: string;
7604
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7605
+ resolvedAt?: string | undefined;
7606
+ deliveredAt?: string | undefined;
7607
+ cancelledAt?: string | undefined;
7608
+ turnId: string;
7609
+ kind: "process";
7610
+ deadline: string;
7611
+ timeoutSeconds: number;
7612
+ pid: number;
7613
+ startToken?: string | undefined;
7614
+ exitFile?: string | undefined;
7615
+ note?: string | undefined;
7616
+ result?: {
7617
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7618
+ observedAt: string;
7619
+ exitCode?: number | undefined;
7620
+ exitFileNote?: "not-an-exit-code" | undefined;
7621
+ diagnostic?: string | undefined;
7622
+ } | undefined;
7574
7623
  } | {
7575
7624
  id: string;
7576
7625
  source: "agent" | "cezar";
@@ -7632,30 +7681,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7632
7681
  reason: "outcome" | "timeout";
7633
7682
  } | undefined;
7634
7683
  wakeInputId?: string | undefined;
7635
- } | {
7636
- id: string;
7637
- source: "agent" | "cezar";
7638
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7639
- registeredAt: string;
7640
- phase: "cancelled" | "delivered" | "open" | "resolved";
7641
- resolvedAt?: string | undefined;
7642
- deliveredAt?: string | undefined;
7643
- cancelledAt?: string | undefined;
7644
- turnId: string;
7645
- kind: "process";
7646
- deadline: string;
7647
- timeoutSeconds: number;
7648
- pid: number;
7649
- startToken?: string | undefined;
7650
- exitFile?: string | undefined;
7651
- note?: string | undefined;
7652
- result?: {
7653
- outcome: "deadline" | "error" | "exit_file" | "exited";
7654
- observedAt: string;
7655
- exitCode?: number | undefined;
7656
- exitFileNote?: "not-an-exit-code" | undefined;
7657
- diagnostic?: string | undefined;
7658
- } | undefined;
7659
7684
  } | {
7660
7685
  id: string;
7661
7686
  source: "agent" | "cezar";
@@ -7788,6 +7813,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7788
7813
  deadline: string;
7789
7814
  seconds: number;
7790
7815
  note?: string | undefined;
7816
+ } | {
7817
+ id: string;
7818
+ source: "agent" | "cezar";
7819
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7820
+ registeredAt: string;
7821
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7822
+ resolvedAt?: string | undefined;
7823
+ deliveredAt?: string | undefined;
7824
+ cancelledAt?: string | undefined;
7825
+ turnId: string;
7826
+ kind: "process";
7827
+ deadline: string;
7828
+ timeoutSeconds: number;
7829
+ pid: number;
7830
+ startToken?: string | undefined;
7831
+ exitFile?: string | undefined;
7832
+ note?: string | undefined;
7833
+ result?: {
7834
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7835
+ observedAt: string;
7836
+ exitCode?: number | undefined;
7837
+ exitFileNote?: "not-an-exit-code" | undefined;
7838
+ diagnostic?: string | undefined;
7839
+ } | undefined;
7791
7840
  } | {
7792
7841
  id: string;
7793
7842
  source: "agent" | "cezar";
@@ -7849,30 +7898,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7849
7898
  reason: "outcome" | "timeout";
7850
7899
  } | undefined;
7851
7900
  wakeInputId?: string | undefined;
7852
- } | {
7853
- id: string;
7854
- source: "agent" | "cezar";
7855
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7856
- registeredAt: string;
7857
- phase: "cancelled" | "delivered" | "open" | "resolved";
7858
- resolvedAt?: string | undefined;
7859
- deliveredAt?: string | undefined;
7860
- cancelledAt?: string | undefined;
7861
- turnId: string;
7862
- kind: "process";
7863
- deadline: string;
7864
- timeoutSeconds: number;
7865
- pid: number;
7866
- startToken?: string | undefined;
7867
- exitFile?: string | undefined;
7868
- note?: string | undefined;
7869
- result?: {
7870
- outcome: "deadline" | "error" | "exit_file" | "exited";
7871
- observedAt: string;
7872
- exitCode?: number | undefined;
7873
- exitFileNote?: "not-an-exit-code" | undefined;
7874
- diagnostic?: string | undefined;
7875
- } | undefined;
7876
7901
  } | {
7877
7902
  id: string;
7878
7903
  source: "agent" | "cezar";
@@ -8014,14 +8039,38 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8014
8039
  deliveredAt?: string | undefined;
8015
8040
  cancelledAt?: string | undefined;
8016
8041
  turnId: string;
8017
- kind: "human";
8018
- questions?: {
8019
- id?: string | undefined;
8020
- header: string;
8021
- question: string;
8022
- options?: {
8023
- label: string;
8024
- description?: string | undefined;
8042
+ kind: "process";
8043
+ deadline: string;
8044
+ timeoutSeconds: number;
8045
+ pid: number;
8046
+ startToken?: string | undefined;
8047
+ exitFile?: string | undefined;
8048
+ note?: string | undefined;
8049
+ result?: {
8050
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8051
+ observedAt: string;
8052
+ exitCode?: number | undefined;
8053
+ exitFileNote?: "not-an-exit-code" | undefined;
8054
+ diagnostic?: string | undefined;
8055
+ } | undefined;
8056
+ } | {
8057
+ id: string;
8058
+ source: "agent" | "cezar";
8059
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8060
+ registeredAt: string;
8061
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8062
+ resolvedAt?: string | undefined;
8063
+ deliveredAt?: string | undefined;
8064
+ cancelledAt?: string | undefined;
8065
+ turnId: string;
8066
+ kind: "human";
8067
+ questions?: {
8068
+ id?: string | undefined;
8069
+ header: string;
8070
+ question: string;
8071
+ options?: {
8072
+ label: string;
8073
+ description?: string | undefined;
8025
8074
  }[] | undefined;
8026
8075
  multiSelect?: boolean | undefined;
8027
8076
  allowFreeText?: boolean | undefined;
@@ -8065,30 +8114,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8065
8114
  reason: "outcome" | "timeout";
8066
8115
  } | undefined;
8067
8116
  wakeInputId?: string | undefined;
8068
- } | {
8069
- id: string;
8070
- source: "agent" | "cezar";
8071
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8072
- registeredAt: string;
8073
- phase: "cancelled" | "delivered" | "open" | "resolved";
8074
- resolvedAt?: string | undefined;
8075
- deliveredAt?: string | undefined;
8076
- cancelledAt?: string | undefined;
8077
- turnId: string;
8078
- kind: "process";
8079
- deadline: string;
8080
- timeoutSeconds: number;
8081
- pid: number;
8082
- startToken?: string | undefined;
8083
- exitFile?: string | undefined;
8084
- note?: string | undefined;
8085
- result?: {
8086
- outcome: "deadline" | "error" | "exit_file" | "exited";
8087
- observedAt: string;
8088
- exitCode?: number | undefined;
8089
- exitFileNote?: "not-an-exit-code" | undefined;
8090
- diagnostic?: string | undefined;
8091
- } | undefined;
8092
8117
  } | {
8093
8118
  id: string;
8094
8119
  source: "agent" | "cezar";
@@ -8204,6 +8229,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8204
8229
  nextAt: string;
8205
8230
  needsAttention?: true | undefined;
8206
8231
  } | undefined;
8232
+ result?: {
8233
+ revision: number;
8234
+ snapshotId: string;
8235
+ observedAt: string;
8236
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
8237
+ previous?: {
8238
+ revision: number;
8239
+ observedAt: string;
8240
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
8241
+ } | undefined;
8242
+ } | undefined;
8243
+ executionRevision?: number | undefined;
8244
+ executionStartSeq?: number | undefined;
8245
+ workerAcknowledgements?: {
8246
+ workerId: string;
8247
+ revision: number;
8248
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
8249
+ observedAt: string;
8250
+ }[] | undefined;
8207
8251
  notify?: boolean | undefined;
8208
8252
  webhook?: {
8209
8253
  lastDeliveredAt?: string | undefined;
@@ -8786,6 +8830,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8786
8830
  deadline: string;
8787
8831
  seconds: number;
8788
8832
  note?: string | undefined;
8833
+ } | {
8834
+ id: string;
8835
+ source: "agent" | "cezar";
8836
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8837
+ registeredAt: string;
8838
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8839
+ resolvedAt?: string | undefined;
8840
+ deliveredAt?: string | undefined;
8841
+ cancelledAt?: string | undefined;
8842
+ turnId: string;
8843
+ kind: "process";
8844
+ deadline: string;
8845
+ timeoutSeconds: number;
8846
+ pid: number;
8847
+ startToken?: string | undefined;
8848
+ exitFile?: string | undefined;
8849
+ note?: string | undefined;
8850
+ result?: {
8851
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8852
+ observedAt: string;
8853
+ exitCode?: number | undefined;
8854
+ exitFileNote?: "not-an-exit-code" | undefined;
8855
+ diagnostic?: string | undefined;
8856
+ } | undefined;
8789
8857
  } | {
8790
8858
  id: string;
8791
8859
  source: "agent" | "cezar";
@@ -8847,30 +8915,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8847
8915
  reason: "outcome" | "timeout";
8848
8916
  } | undefined;
8849
8917
  wakeInputId?: string | undefined;
8850
- } | {
8851
- id: string;
8852
- source: "agent" | "cezar";
8853
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8854
- registeredAt: string;
8855
- phase: "cancelled" | "delivered" | "open" | "resolved";
8856
- resolvedAt?: string | undefined;
8857
- deliveredAt?: string | undefined;
8858
- cancelledAt?: string | undefined;
8859
- turnId: string;
8860
- kind: "process";
8861
- deadline: string;
8862
- timeoutSeconds: number;
8863
- pid: number;
8864
- startToken?: string | undefined;
8865
- exitFile?: string | undefined;
8866
- note?: string | undefined;
8867
- result?: {
8868
- outcome: "deadline" | "error" | "exit_file" | "exited";
8869
- observedAt: string;
8870
- exitCode?: number | undefined;
8871
- exitFileNote?: "not-an-exit-code" | undefined;
8872
- diagnostic?: string | undefined;
8873
- } | undefined;
8874
8918
  } | {
8875
8919
  id: string;
8876
8920
  source: "agent" | "cezar";
@@ -9003,6 +9047,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9003
9047
  deadline: string;
9004
9048
  seconds: number;
9005
9049
  note?: string | undefined;
9050
+ } | {
9051
+ id: string;
9052
+ source: "agent" | "cezar";
9053
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9054
+ registeredAt: string;
9055
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9056
+ resolvedAt?: string | undefined;
9057
+ deliveredAt?: string | undefined;
9058
+ cancelledAt?: string | undefined;
9059
+ turnId: string;
9060
+ kind: "process";
9061
+ deadline: string;
9062
+ timeoutSeconds: number;
9063
+ pid: number;
9064
+ startToken?: string | undefined;
9065
+ exitFile?: string | undefined;
9066
+ note?: string | undefined;
9067
+ result?: {
9068
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9069
+ observedAt: string;
9070
+ exitCode?: number | undefined;
9071
+ exitFileNote?: "not-an-exit-code" | undefined;
9072
+ diagnostic?: string | undefined;
9073
+ } | undefined;
9006
9074
  } | {
9007
9075
  id: string;
9008
9076
  source: "agent" | "cezar";
@@ -9064,30 +9132,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9064
9132
  reason: "outcome" | "timeout";
9065
9133
  } | undefined;
9066
9134
  wakeInputId?: string | undefined;
9067
- } | {
9068
- id: string;
9069
- source: "agent" | "cezar";
9070
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9071
- registeredAt: string;
9072
- phase: "cancelled" | "delivered" | "open" | "resolved";
9073
- resolvedAt?: string | undefined;
9074
- deliveredAt?: string | undefined;
9075
- cancelledAt?: string | undefined;
9076
- turnId: string;
9077
- kind: "process";
9078
- deadline: string;
9079
- timeoutSeconds: number;
9080
- pid: number;
9081
- startToken?: string | undefined;
9082
- exitFile?: string | undefined;
9083
- note?: string | undefined;
9084
- result?: {
9085
- outcome: "deadline" | "error" | "exit_file" | "exited";
9086
- observedAt: string;
9087
- exitCode?: number | undefined;
9088
- exitFileNote?: "not-an-exit-code" | undefined;
9089
- diagnostic?: string | undefined;
9090
- } | undefined;
9091
9135
  } | {
9092
9136
  id: string;
9093
9137
  source: "agent" | "cezar";
@@ -9219,6 +9263,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9219
9263
  deadline: string;
9220
9264
  seconds: number;
9221
9265
  note?: string | undefined;
9266
+ } | {
9267
+ id: string;
9268
+ source: "agent" | "cezar";
9269
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9270
+ registeredAt: string;
9271
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9272
+ resolvedAt?: string | undefined;
9273
+ deliveredAt?: string | undefined;
9274
+ cancelledAt?: string | undefined;
9275
+ turnId: string;
9276
+ kind: "process";
9277
+ deadline: string;
9278
+ timeoutSeconds: number;
9279
+ pid: number;
9280
+ startToken?: string | undefined;
9281
+ exitFile?: string | undefined;
9282
+ note?: string | undefined;
9283
+ result?: {
9284
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9285
+ observedAt: string;
9286
+ exitCode?: number | undefined;
9287
+ exitFileNote?: "not-an-exit-code" | undefined;
9288
+ diagnostic?: string | undefined;
9289
+ } | undefined;
9222
9290
  } | {
9223
9291
  id: string;
9224
9292
  source: "agent" | "cezar";
@@ -9280,30 +9348,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9280
9348
  reason: "outcome" | "timeout";
9281
9349
  } | undefined;
9282
9350
  wakeInputId?: string | undefined;
9283
- } | {
9284
- id: string;
9285
- source: "agent" | "cezar";
9286
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9287
- registeredAt: string;
9288
- phase: "cancelled" | "delivered" | "open" | "resolved";
9289
- resolvedAt?: string | undefined;
9290
- deliveredAt?: string | undefined;
9291
- cancelledAt?: string | undefined;
9292
- turnId: string;
9293
- kind: "process";
9294
- deadline: string;
9295
- timeoutSeconds: number;
9296
- pid: number;
9297
- startToken?: string | undefined;
9298
- exitFile?: string | undefined;
9299
- note?: string | undefined;
9300
- result?: {
9301
- outcome: "deadline" | "error" | "exit_file" | "exited";
9302
- observedAt: string;
9303
- exitCode?: number | undefined;
9304
- exitFileNote?: "not-an-exit-code" | undefined;
9305
- diagnostic?: string | undefined;
9306
- } | undefined;
9307
9351
  } | {
9308
9352
  id: string;
9309
9353
  source: "agent" | "cezar";
@@ -9419,6 +9463,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9419
9463
  nextAt: string;
9420
9464
  needsAttention?: true | undefined;
9421
9465
  } | undefined;
9466
+ result?: {
9467
+ revision: number;
9468
+ snapshotId: string;
9469
+ observedAt: string;
9470
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
9471
+ previous?: {
9472
+ revision: number;
9473
+ observedAt: string;
9474
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
9475
+ } | undefined;
9476
+ } | undefined;
9477
+ executionRevision?: number | undefined;
9478
+ executionStartSeq?: number | undefined;
9479
+ workerAcknowledgements?: {
9480
+ workerId: string;
9481
+ revision: number;
9482
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
9483
+ observedAt: string;
9484
+ }[] | undefined;
9422
9485
  notify?: boolean | undefined;
9423
9486
  webhook?: {
9424
9487
  lastDeliveredAt?: string | undefined;
@@ -9765,6 +9828,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9765
9828
  deadline: string;
9766
9829
  seconds: number;
9767
9830
  note?: string | undefined;
9831
+ } | {
9832
+ id: string;
9833
+ source: "agent" | "cezar";
9834
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9835
+ registeredAt: string;
9836
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9837
+ resolvedAt?: string | undefined;
9838
+ deliveredAt?: string | undefined;
9839
+ cancelledAt?: string | undefined;
9840
+ turnId: string;
9841
+ kind: "process";
9842
+ deadline: string;
9843
+ timeoutSeconds: number;
9844
+ pid: number;
9845
+ startToken?: string | undefined;
9846
+ exitFile?: string | undefined;
9847
+ note?: string | undefined;
9848
+ result?: {
9849
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9850
+ observedAt: string;
9851
+ exitCode?: number | undefined;
9852
+ exitFileNote?: "not-an-exit-code" | undefined;
9853
+ diagnostic?: string | undefined;
9854
+ } | undefined;
9768
9855
  } | {
9769
9856
  id: string;
9770
9857
  source: "agent" | "cezar";
@@ -9836,34 +9923,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9836
9923
  deliveredAt?: string | undefined;
9837
9924
  cancelledAt?: string | undefined;
9838
9925
  turnId: string;
9839
- kind: "process";
9926
+ kind: "peer";
9840
9927
  deadline: string;
9841
9928
  timeoutSeconds: number;
9842
- pid: number;
9843
- startToken?: string | undefined;
9844
- exitFile?: string | undefined;
9845
- note?: string | undefined;
9846
- result?: {
9847
- outcome: "deadline" | "error" | "exit_file" | "exited";
9848
- observedAt: string;
9849
- exitCode?: number | undefined;
9850
- exitFileNote?: "not-an-exit-code" | undefined;
9851
- diagnostic?: string | undefined;
9852
- } | undefined;
9853
- } | {
9854
- id: string;
9855
- source: "agent" | "cezar";
9856
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9857
- registeredAt: string;
9858
- phase: "cancelled" | "delivered" | "open" | "resolved";
9859
- resolvedAt?: string | undefined;
9860
- deliveredAt?: string | undefined;
9861
- cancelledAt?: string | undefined;
9862
- turnId: string;
9863
- kind: "peer";
9864
- deadline: string;
9865
- timeoutSeconds: number;
9866
- peerIds: string[];
9929
+ peerIds: string[];
9867
9930
  result?: {
9868
9931
  reason: "message";
9869
9932
  peerRunId: string;
@@ -9982,6 +10045,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9982
10045
  deadline: string;
9983
10046
  seconds: number;
9984
10047
  note?: string | undefined;
10048
+ } | {
10049
+ id: string;
10050
+ source: "agent" | "cezar";
10051
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10052
+ registeredAt: string;
10053
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10054
+ resolvedAt?: string | undefined;
10055
+ deliveredAt?: string | undefined;
10056
+ cancelledAt?: string | undefined;
10057
+ turnId: string;
10058
+ kind: "process";
10059
+ deadline: string;
10060
+ timeoutSeconds: number;
10061
+ pid: number;
10062
+ startToken?: string | undefined;
10063
+ exitFile?: string | undefined;
10064
+ note?: string | undefined;
10065
+ result?: {
10066
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10067
+ observedAt: string;
10068
+ exitCode?: number | undefined;
10069
+ exitFileNote?: "not-an-exit-code" | undefined;
10070
+ diagnostic?: string | undefined;
10071
+ } | undefined;
9985
10072
  } | {
9986
10073
  id: string;
9987
10074
  source: "agent" | "cezar";
@@ -10043,30 +10130,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10043
10130
  reason: "outcome" | "timeout";
10044
10131
  } | undefined;
10045
10132
  wakeInputId?: string | undefined;
10046
- } | {
10047
- id: string;
10048
- source: "agent" | "cezar";
10049
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10050
- registeredAt: string;
10051
- phase: "cancelled" | "delivered" | "open" | "resolved";
10052
- resolvedAt?: string | undefined;
10053
- deliveredAt?: string | undefined;
10054
- cancelledAt?: string | undefined;
10055
- turnId: string;
10056
- kind: "process";
10057
- deadline: string;
10058
- timeoutSeconds: number;
10059
- pid: number;
10060
- startToken?: string | undefined;
10061
- exitFile?: string | undefined;
10062
- note?: string | undefined;
10063
- result?: {
10064
- outcome: "deadline" | "error" | "exit_file" | "exited";
10065
- observedAt: string;
10066
- exitCode?: number | undefined;
10067
- exitFileNote?: "not-an-exit-code" | undefined;
10068
- diagnostic?: string | undefined;
10069
- } | undefined;
10070
10133
  } | {
10071
10134
  id: string;
10072
10135
  source: "agent" | "cezar";
@@ -10198,6 +10261,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10198
10261
  deadline: string;
10199
10262
  seconds: number;
10200
10263
  note?: string | undefined;
10264
+ } | {
10265
+ id: string;
10266
+ source: "agent" | "cezar";
10267
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10268
+ registeredAt: string;
10269
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10270
+ resolvedAt?: string | undefined;
10271
+ deliveredAt?: string | undefined;
10272
+ cancelledAt?: string | undefined;
10273
+ turnId: string;
10274
+ kind: "process";
10275
+ deadline: string;
10276
+ timeoutSeconds: number;
10277
+ pid: number;
10278
+ startToken?: string | undefined;
10279
+ exitFile?: string | undefined;
10280
+ note?: string | undefined;
10281
+ result?: {
10282
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10283
+ observedAt: string;
10284
+ exitCode?: number | undefined;
10285
+ exitFileNote?: "not-an-exit-code" | undefined;
10286
+ diagnostic?: string | undefined;
10287
+ } | undefined;
10201
10288
  } | {
10202
10289
  id: string;
10203
10290
  source: "agent" | "cezar";
@@ -10259,30 +10346,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10259
10346
  reason: "outcome" | "timeout";
10260
10347
  } | undefined;
10261
10348
  wakeInputId?: string | undefined;
10262
- } | {
10263
- id: string;
10264
- source: "agent" | "cezar";
10265
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10266
- registeredAt: string;
10267
- phase: "cancelled" | "delivered" | "open" | "resolved";
10268
- resolvedAt?: string | undefined;
10269
- deliveredAt?: string | undefined;
10270
- cancelledAt?: string | undefined;
10271
- turnId: string;
10272
- kind: "process";
10273
- deadline: string;
10274
- timeoutSeconds: number;
10275
- pid: number;
10276
- startToken?: string | undefined;
10277
- exitFile?: string | undefined;
10278
- note?: string | undefined;
10279
- result?: {
10280
- outcome: "deadline" | "error" | "exit_file" | "exited";
10281
- observedAt: string;
10282
- exitCode?: number | undefined;
10283
- exitFileNote?: "not-an-exit-code" | undefined;
10284
- diagnostic?: string | undefined;
10285
- } | undefined;
10286
10349
  } | {
10287
10350
  id: string;
10288
10351
  source: "agent" | "cezar";
@@ -10679,6 +10742,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10679
10742
  nextAt: string;
10680
10743
  needsAttention?: true | undefined;
10681
10744
  } | undefined;
10745
+ result?: {
10746
+ revision: number;
10747
+ snapshotId: string;
10748
+ observedAt: string;
10749
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
10750
+ previous?: {
10751
+ revision: number;
10752
+ observedAt: string;
10753
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
10754
+ } | undefined;
10755
+ } | undefined;
10756
+ executionRevision?: number | undefined;
10757
+ executionStartSeq?: number | undefined;
10758
+ workerAcknowledgements?: {
10759
+ workerId: string;
10760
+ revision: number;
10761
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
10762
+ observedAt: string;
10763
+ }[] | undefined;
10682
10764
  stopping?: boolean | undefined;
10683
10765
  autoResumeAt?: string | undefined;
10684
10766
  autoResumeAttempts?: number | undefined;
@@ -11229,6 +11311,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11229
11311
  deadline: string;
11230
11312
  seconds: number;
11231
11313
  note?: string | undefined;
11314
+ } | {
11315
+ id: string;
11316
+ source: "agent" | "cezar";
11317
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
11318
+ registeredAt: string;
11319
+ phase: "cancelled" | "delivered" | "open" | "resolved";
11320
+ resolvedAt?: string | undefined;
11321
+ deliveredAt?: string | undefined;
11322
+ cancelledAt?: string | undefined;
11323
+ turnId: string;
11324
+ kind: "process";
11325
+ deadline: string;
11326
+ timeoutSeconds: number;
11327
+ pid: number;
11328
+ startToken?: string | undefined;
11329
+ exitFile?: string | undefined;
11330
+ note?: string | undefined;
11331
+ result?: {
11332
+ outcome: "deadline" | "error" | "exit_file" | "exited";
11333
+ observedAt: string;
11334
+ exitCode?: number | undefined;
11335
+ exitFileNote?: "not-an-exit-code" | undefined;
11336
+ diagnostic?: string | undefined;
11337
+ } | undefined;
11232
11338
  } | {
11233
11339
  id: string;
11234
11340
  source: "agent" | "cezar";
@@ -11290,30 +11396,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11290
11396
  reason: "outcome" | "timeout";
11291
11397
  } | undefined;
11292
11398
  wakeInputId?: string | undefined;
11293
- } | {
11294
- id: string;
11295
- source: "agent" | "cezar";
11296
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
11297
- registeredAt: string;
11298
- phase: "cancelled" | "delivered" | "open" | "resolved";
11299
- resolvedAt?: string | undefined;
11300
- deliveredAt?: string | undefined;
11301
- cancelledAt?: string | undefined;
11302
- turnId: string;
11303
- kind: "process";
11304
- deadline: string;
11305
- timeoutSeconds: number;
11306
- pid: number;
11307
- startToken?: string | undefined;
11308
- exitFile?: string | undefined;
11309
- note?: string | undefined;
11310
- result?: {
11311
- outcome: "deadline" | "error" | "exit_file" | "exited";
11312
- observedAt: string;
11313
- exitCode?: number | undefined;
11314
- exitFileNote?: "not-an-exit-code" | undefined;
11315
- diagnostic?: string | undefined;
11316
- } | undefined;
11317
11399
  } | {
11318
11400
  id: string;
11319
11401
  source: "agent" | "cezar";
@@ -11446,6 +11528,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11446
11528
  deadline: string;
11447
11529
  seconds: number;
11448
11530
  note?: string | undefined;
11531
+ } | {
11532
+ id: string;
11533
+ source: "agent" | "cezar";
11534
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
11535
+ registeredAt: string;
11536
+ phase: "cancelled" | "delivered" | "open" | "resolved";
11537
+ resolvedAt?: string | undefined;
11538
+ deliveredAt?: string | undefined;
11539
+ cancelledAt?: string | undefined;
11540
+ turnId: string;
11541
+ kind: "process";
11542
+ deadline: string;
11543
+ timeoutSeconds: number;
11544
+ pid: number;
11545
+ startToken?: string | undefined;
11546
+ exitFile?: string | undefined;
11547
+ note?: string | undefined;
11548
+ result?: {
11549
+ outcome: "deadline" | "error" | "exit_file" | "exited";
11550
+ observedAt: string;
11551
+ exitCode?: number | undefined;
11552
+ exitFileNote?: "not-an-exit-code" | undefined;
11553
+ diagnostic?: string | undefined;
11554
+ } | undefined;
11449
11555
  } | {
11450
11556
  id: string;
11451
11557
  source: "agent" | "cezar";
@@ -11507,30 +11613,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11507
11613
  reason: "outcome" | "timeout";
11508
11614
  } | undefined;
11509
11615
  wakeInputId?: string | undefined;
11510
- } | {
11511
- id: string;
11512
- source: "agent" | "cezar";
11513
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
11514
- registeredAt: string;
11515
- phase: "cancelled" | "delivered" | "open" | "resolved";
11516
- resolvedAt?: string | undefined;
11517
- deliveredAt?: string | undefined;
11518
- cancelledAt?: string | undefined;
11519
- turnId: string;
11520
- kind: "process";
11521
- deadline: string;
11522
- timeoutSeconds: number;
11523
- pid: number;
11524
- startToken?: string | undefined;
11525
- exitFile?: string | undefined;
11526
- note?: string | undefined;
11527
- result?: {
11528
- outcome: "deadline" | "error" | "exit_file" | "exited";
11529
- observedAt: string;
11530
- exitCode?: number | undefined;
11531
- exitFileNote?: "not-an-exit-code" | undefined;
11532
- diagnostic?: string | undefined;
11533
- } | undefined;
11534
11616
  } | {
11535
11617
  id: string;
11536
11618
  source: "agent" | "cezar";
@@ -11662,6 +11744,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11662
11744
  deadline: string;
11663
11745
  seconds: number;
11664
11746
  note?: string | undefined;
11747
+ } | {
11748
+ id: string;
11749
+ source: "agent" | "cezar";
11750
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
11751
+ registeredAt: string;
11752
+ phase: "cancelled" | "delivered" | "open" | "resolved";
11753
+ resolvedAt?: string | undefined;
11754
+ deliveredAt?: string | undefined;
11755
+ cancelledAt?: string | undefined;
11756
+ turnId: string;
11757
+ kind: "process";
11758
+ deadline: string;
11759
+ timeoutSeconds: number;
11760
+ pid: number;
11761
+ startToken?: string | undefined;
11762
+ exitFile?: string | undefined;
11763
+ note?: string | undefined;
11764
+ result?: {
11765
+ outcome: "deadline" | "error" | "exit_file" | "exited";
11766
+ observedAt: string;
11767
+ exitCode?: number | undefined;
11768
+ exitFileNote?: "not-an-exit-code" | undefined;
11769
+ diagnostic?: string | undefined;
11770
+ } | undefined;
11665
11771
  } | {
11666
11772
  id: string;
11667
11773
  source: "agent" | "cezar";
@@ -11733,43 +11839,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11733
11839
  deliveredAt?: string | undefined;
11734
11840
  cancelledAt?: string | undefined;
11735
11841
  turnId: string;
11736
- kind: "process";
11842
+ kind: "peer";
11737
11843
  deadline: string;
11738
11844
  timeoutSeconds: number;
11739
- pid: number;
11740
- startToken?: string | undefined;
11741
- exitFile?: string | undefined;
11742
- note?: string | undefined;
11845
+ peerIds: string[];
11743
11846
  result?: {
11744
- outcome: "deadline" | "error" | "exit_file" | "exited";
11745
- observedAt: string;
11746
- exitCode?: number | undefined;
11747
- exitFileNote?: "not-an-exit-code" | undefined;
11748
- diagnostic?: string | undefined;
11749
- } | undefined;
11750
- } | {
11751
- id: string;
11752
- source: "agent" | "cezar";
11753
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
11754
- registeredAt: string;
11755
- phase: "cancelled" | "delivered" | "open" | "resolved";
11756
- resolvedAt?: string | undefined;
11757
- deliveredAt?: string | undefined;
11758
- cancelledAt?: string | undefined;
11759
- turnId: string;
11760
- kind: "peer";
11761
- deadline: string;
11762
- timeoutSeconds: number;
11763
- peerIds: string[];
11764
- result?: {
11765
- reason: "message";
11766
- peerRunId: string;
11767
- messageId: string;
11768
- } | {
11769
- reason: "settled";
11770
- peerRunId: string;
11771
- } | {
11772
- reason: "timeout";
11847
+ reason: "message";
11848
+ peerRunId: string;
11849
+ messageId: string;
11850
+ } | {
11851
+ reason: "settled";
11852
+ peerRunId: string;
11853
+ } | {
11854
+ reason: "timeout";
11773
11855
  } | undefined;
11774
11856
  } | {
11775
11857
  id: string;
@@ -11862,6 +11944,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11862
11944
  nextAt: string;
11863
11945
  needsAttention?: true | undefined;
11864
11946
  } | undefined;
11947
+ result?: {
11948
+ revision: number;
11949
+ snapshotId: string;
11950
+ observedAt: string;
11951
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
11952
+ previous?: {
11953
+ revision: number;
11954
+ observedAt: string;
11955
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
11956
+ } | undefined;
11957
+ } | undefined;
11958
+ executionRevision?: number | undefined;
11959
+ executionStartSeq?: number | undefined;
11960
+ workerAcknowledgements?: {
11961
+ workerId: string;
11962
+ revision: number;
11963
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
11964
+ observedAt: string;
11965
+ }[] | undefined;
11865
11966
  notify?: boolean | undefined;
11866
11967
  webhook?: {
11867
11968
  lastDeliveredAt?: string | undefined;
@@ -12420,6 +12521,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12420
12521
  deadline: string;
12421
12522
  seconds: number;
12422
12523
  note?: string | undefined;
12524
+ } | {
12525
+ id: string;
12526
+ source: "agent" | "cezar";
12527
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
12528
+ registeredAt: string;
12529
+ phase: "cancelled" | "delivered" | "open" | "resolved";
12530
+ resolvedAt?: string | undefined;
12531
+ deliveredAt?: string | undefined;
12532
+ cancelledAt?: string | undefined;
12533
+ turnId: string;
12534
+ kind: "process";
12535
+ deadline: string;
12536
+ timeoutSeconds: number;
12537
+ pid: number;
12538
+ startToken?: string | undefined;
12539
+ exitFile?: string | undefined;
12540
+ note?: string | undefined;
12541
+ result?: {
12542
+ outcome: "deadline" | "error" | "exit_file" | "exited";
12543
+ observedAt: string;
12544
+ exitCode?: number | undefined;
12545
+ exitFileNote?: "not-an-exit-code" | undefined;
12546
+ diagnostic?: string | undefined;
12547
+ } | undefined;
12423
12548
  } | {
12424
12549
  id: string;
12425
12550
  source: "agent" | "cezar";
@@ -12481,30 +12606,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12481
12606
  reason: "outcome" | "timeout";
12482
12607
  } | undefined;
12483
12608
  wakeInputId?: string | undefined;
12484
- } | {
12485
- id: string;
12486
- source: "agent" | "cezar";
12487
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
12488
- registeredAt: string;
12489
- phase: "cancelled" | "delivered" | "open" | "resolved";
12490
- resolvedAt?: string | undefined;
12491
- deliveredAt?: string | undefined;
12492
- cancelledAt?: string | undefined;
12493
- turnId: string;
12494
- kind: "process";
12495
- deadline: string;
12496
- timeoutSeconds: number;
12497
- pid: number;
12498
- startToken?: string | undefined;
12499
- exitFile?: string | undefined;
12500
- note?: string | undefined;
12501
- result?: {
12502
- outcome: "deadline" | "error" | "exit_file" | "exited";
12503
- observedAt: string;
12504
- exitCode?: number | undefined;
12505
- exitFileNote?: "not-an-exit-code" | undefined;
12506
- diagnostic?: string | undefined;
12507
- } | undefined;
12508
12609
  } | {
12509
12610
  id: string;
12510
12611
  source: "agent" | "cezar";
@@ -12637,6 +12738,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12637
12738
  deadline: string;
12638
12739
  seconds: number;
12639
12740
  note?: string | undefined;
12741
+ } | {
12742
+ id: string;
12743
+ source: "agent" | "cezar";
12744
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
12745
+ registeredAt: string;
12746
+ phase: "cancelled" | "delivered" | "open" | "resolved";
12747
+ resolvedAt?: string | undefined;
12748
+ deliveredAt?: string | undefined;
12749
+ cancelledAt?: string | undefined;
12750
+ turnId: string;
12751
+ kind: "process";
12752
+ deadline: string;
12753
+ timeoutSeconds: number;
12754
+ pid: number;
12755
+ startToken?: string | undefined;
12756
+ exitFile?: string | undefined;
12757
+ note?: string | undefined;
12758
+ result?: {
12759
+ outcome: "deadline" | "error" | "exit_file" | "exited";
12760
+ observedAt: string;
12761
+ exitCode?: number | undefined;
12762
+ exitFileNote?: "not-an-exit-code" | undefined;
12763
+ diagnostic?: string | undefined;
12764
+ } | undefined;
12640
12765
  } | {
12641
12766
  id: string;
12642
12767
  source: "agent" | "cezar";
@@ -12698,30 +12823,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12698
12823
  reason: "outcome" | "timeout";
12699
12824
  } | undefined;
12700
12825
  wakeInputId?: string | undefined;
12701
- } | {
12702
- id: string;
12703
- source: "agent" | "cezar";
12704
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
12705
- registeredAt: string;
12706
- phase: "cancelled" | "delivered" | "open" | "resolved";
12707
- resolvedAt?: string | undefined;
12708
- deliveredAt?: string | undefined;
12709
- cancelledAt?: string | undefined;
12710
- turnId: string;
12711
- kind: "process";
12712
- deadline: string;
12713
- timeoutSeconds: number;
12714
- pid: number;
12715
- startToken?: string | undefined;
12716
- exitFile?: string | undefined;
12717
- note?: string | undefined;
12718
- result?: {
12719
- outcome: "deadline" | "error" | "exit_file" | "exited";
12720
- observedAt: string;
12721
- exitCode?: number | undefined;
12722
- exitFileNote?: "not-an-exit-code" | undefined;
12723
- diagnostic?: string | undefined;
12724
- } | undefined;
12725
12826
  } | {
12726
12827
  id: string;
12727
12828
  source: "agent" | "cezar";
@@ -12853,6 +12954,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12853
12954
  deadline: string;
12854
12955
  seconds: number;
12855
12956
  note?: string | undefined;
12957
+ } | {
12958
+ id: string;
12959
+ source: "agent" | "cezar";
12960
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
12961
+ registeredAt: string;
12962
+ phase: "cancelled" | "delivered" | "open" | "resolved";
12963
+ resolvedAt?: string | undefined;
12964
+ deliveredAt?: string | undefined;
12965
+ cancelledAt?: string | undefined;
12966
+ turnId: string;
12967
+ kind: "process";
12968
+ deadline: string;
12969
+ timeoutSeconds: number;
12970
+ pid: number;
12971
+ startToken?: string | undefined;
12972
+ exitFile?: string | undefined;
12973
+ note?: string | undefined;
12974
+ result?: {
12975
+ outcome: "deadline" | "error" | "exit_file" | "exited";
12976
+ observedAt: string;
12977
+ exitCode?: number | undefined;
12978
+ exitFileNote?: "not-an-exit-code" | undefined;
12979
+ diagnostic?: string | undefined;
12980
+ } | undefined;
12856
12981
  } | {
12857
12982
  id: string;
12858
12983
  source: "agent" | "cezar";
@@ -12914,30 +13039,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12914
13039
  reason: "outcome" | "timeout";
12915
13040
  } | undefined;
12916
13041
  wakeInputId?: string | undefined;
12917
- } | {
12918
- id: string;
12919
- source: "agent" | "cezar";
12920
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
12921
- registeredAt: string;
12922
- phase: "cancelled" | "delivered" | "open" | "resolved";
12923
- resolvedAt?: string | undefined;
12924
- deliveredAt?: string | undefined;
12925
- cancelledAt?: string | undefined;
12926
- turnId: string;
12927
- kind: "process";
12928
- deadline: string;
12929
- timeoutSeconds: number;
12930
- pid: number;
12931
- startToken?: string | undefined;
12932
- exitFile?: string | undefined;
12933
- note?: string | undefined;
12934
- result?: {
12935
- outcome: "deadline" | "error" | "exit_file" | "exited";
12936
- observedAt: string;
12937
- exitCode?: number | undefined;
12938
- exitFileNote?: "not-an-exit-code" | undefined;
12939
- diagnostic?: string | undefined;
12940
- } | undefined;
12941
13042
  } | {
12942
13043
  id: string;
12943
13044
  source: "agent" | "cezar";
@@ -13053,6 +13154,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13053
13154
  nextAt: string;
13054
13155
  needsAttention?: true | undefined;
13055
13156
  } | undefined;
13157
+ result?: {
13158
+ revision: number;
13159
+ snapshotId: string;
13160
+ observedAt: string;
13161
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
13162
+ previous?: {
13163
+ revision: number;
13164
+ observedAt: string;
13165
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
13166
+ } | undefined;
13167
+ } | undefined;
13168
+ executionRevision?: number | undefined;
13169
+ executionStartSeq?: number | undefined;
13170
+ workerAcknowledgements?: {
13171
+ workerId: string;
13172
+ revision: number;
13173
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
13174
+ observedAt: string;
13175
+ }[] | undefined;
13056
13176
  notify?: boolean | undefined;
13057
13177
  webhook?: {
13058
13178
  lastDeliveredAt?: string | undefined;
@@ -13358,6 +13478,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13358
13478
  deadline: string;
13359
13479
  seconds: number;
13360
13480
  note?: string | undefined;
13481
+ } | {
13482
+ id: string;
13483
+ source: "agent" | "cezar";
13484
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
13485
+ registeredAt: string;
13486
+ phase: "cancelled" | "delivered" | "open" | "resolved";
13487
+ resolvedAt?: string | undefined;
13488
+ deliveredAt?: string | undefined;
13489
+ cancelledAt?: string | undefined;
13490
+ turnId: string;
13491
+ kind: "process";
13492
+ deadline: string;
13493
+ timeoutSeconds: number;
13494
+ pid: number;
13495
+ startToken?: string | undefined;
13496
+ exitFile?: string | undefined;
13497
+ note?: string | undefined;
13498
+ result?: {
13499
+ outcome: "deadline" | "error" | "exit_file" | "exited";
13500
+ observedAt: string;
13501
+ exitCode?: number | undefined;
13502
+ exitFileNote?: "not-an-exit-code" | undefined;
13503
+ diagnostic?: string | undefined;
13504
+ } | undefined;
13361
13505
  } | {
13362
13506
  id: string;
13363
13507
  source: "agent" | "cezar";
@@ -13419,30 +13563,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13419
13563
  reason: "outcome" | "timeout";
13420
13564
  } | undefined;
13421
13565
  wakeInputId?: string | undefined;
13422
- } | {
13423
- id: string;
13424
- source: "agent" | "cezar";
13425
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
13426
- registeredAt: string;
13427
- phase: "cancelled" | "delivered" | "open" | "resolved";
13428
- resolvedAt?: string | undefined;
13429
- deliveredAt?: string | undefined;
13430
- cancelledAt?: string | undefined;
13431
- turnId: string;
13432
- kind: "process";
13433
- deadline: string;
13434
- timeoutSeconds: number;
13435
- pid: number;
13436
- startToken?: string | undefined;
13437
- exitFile?: string | undefined;
13438
- note?: string | undefined;
13439
- result?: {
13440
- outcome: "deadline" | "error" | "exit_file" | "exited";
13441
- observedAt: string;
13442
- exitCode?: number | undefined;
13443
- exitFileNote?: "not-an-exit-code" | undefined;
13444
- diagnostic?: string | undefined;
13445
- } | undefined;
13446
13566
  } | {
13447
13567
  id: string;
13448
13568
  source: "agent" | "cezar";
@@ -13575,6 +13695,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13575
13695
  deadline: string;
13576
13696
  seconds: number;
13577
13697
  note?: string | undefined;
13698
+ } | {
13699
+ id: string;
13700
+ source: "agent" | "cezar";
13701
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
13702
+ registeredAt: string;
13703
+ phase: "cancelled" | "delivered" | "open" | "resolved";
13704
+ resolvedAt?: string | undefined;
13705
+ deliveredAt?: string | undefined;
13706
+ cancelledAt?: string | undefined;
13707
+ turnId: string;
13708
+ kind: "process";
13709
+ deadline: string;
13710
+ timeoutSeconds: number;
13711
+ pid: number;
13712
+ startToken?: string | undefined;
13713
+ exitFile?: string | undefined;
13714
+ note?: string | undefined;
13715
+ result?: {
13716
+ outcome: "deadline" | "error" | "exit_file" | "exited";
13717
+ observedAt: string;
13718
+ exitCode?: number | undefined;
13719
+ exitFileNote?: "not-an-exit-code" | undefined;
13720
+ diagnostic?: string | undefined;
13721
+ } | undefined;
13578
13722
  } | {
13579
13723
  id: string;
13580
13724
  source: "agent" | "cezar";
@@ -13636,30 +13780,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13636
13780
  reason: "outcome" | "timeout";
13637
13781
  } | undefined;
13638
13782
  wakeInputId?: string | undefined;
13639
- } | {
13640
- id: string;
13641
- source: "agent" | "cezar";
13642
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
13643
- registeredAt: string;
13644
- phase: "cancelled" | "delivered" | "open" | "resolved";
13645
- resolvedAt?: string | undefined;
13646
- deliveredAt?: string | undefined;
13647
- cancelledAt?: string | undefined;
13648
- turnId: string;
13649
- kind: "process";
13650
- deadline: string;
13651
- timeoutSeconds: number;
13652
- pid: number;
13653
- startToken?: string | undefined;
13654
- exitFile?: string | undefined;
13655
- note?: string | undefined;
13656
- result?: {
13657
- outcome: "deadline" | "error" | "exit_file" | "exited";
13658
- observedAt: string;
13659
- exitCode?: number | undefined;
13660
- exitFileNote?: "not-an-exit-code" | undefined;
13661
- diagnostic?: string | undefined;
13662
- } | undefined;
13663
13783
  } | {
13664
13784
  id: string;
13665
13785
  source: "agent" | "cezar";
@@ -13791,6 +13911,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13791
13911
  deadline: string;
13792
13912
  seconds: number;
13793
13913
  note?: string | undefined;
13914
+ } | {
13915
+ id: string;
13916
+ source: "agent" | "cezar";
13917
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
13918
+ registeredAt: string;
13919
+ phase: "cancelled" | "delivered" | "open" | "resolved";
13920
+ resolvedAt?: string | undefined;
13921
+ deliveredAt?: string | undefined;
13922
+ cancelledAt?: string | undefined;
13923
+ turnId: string;
13924
+ kind: "process";
13925
+ deadline: string;
13926
+ timeoutSeconds: number;
13927
+ pid: number;
13928
+ startToken?: string | undefined;
13929
+ exitFile?: string | undefined;
13930
+ note?: string | undefined;
13931
+ result?: {
13932
+ outcome: "deadline" | "error" | "exit_file" | "exited";
13933
+ observedAt: string;
13934
+ exitCode?: number | undefined;
13935
+ exitFileNote?: "not-an-exit-code" | undefined;
13936
+ diagnostic?: string | undefined;
13937
+ } | undefined;
13794
13938
  } | {
13795
13939
  id: string;
13796
13940
  source: "agent" | "cezar";
@@ -13852,30 +13996,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13852
13996
  reason: "outcome" | "timeout";
13853
13997
  } | undefined;
13854
13998
  wakeInputId?: string | undefined;
13855
- } | {
13856
- id: string;
13857
- source: "agent" | "cezar";
13858
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
13859
- registeredAt: string;
13860
- phase: "cancelled" | "delivered" | "open" | "resolved";
13861
- resolvedAt?: string | undefined;
13862
- deliveredAt?: string | undefined;
13863
- cancelledAt?: string | undefined;
13864
- turnId: string;
13865
- kind: "process";
13866
- deadline: string;
13867
- timeoutSeconds: number;
13868
- pid: number;
13869
- startToken?: string | undefined;
13870
- exitFile?: string | undefined;
13871
- note?: string | undefined;
13872
- result?: {
13873
- outcome: "deadline" | "error" | "exit_file" | "exited";
13874
- observedAt: string;
13875
- exitCode?: number | undefined;
13876
- exitFileNote?: "not-an-exit-code" | undefined;
13877
- diagnostic?: string | undefined;
13878
- } | undefined;
13879
13999
  } | {
13880
14000
  id: string;
13881
14001
  source: "agent" | "cezar";
@@ -14272,6 +14392,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14272
14392
  nextAt: string;
14273
14393
  needsAttention?: true | undefined;
14274
14394
  } | undefined;
14395
+ result?: {
14396
+ revision: number;
14397
+ snapshotId: string;
14398
+ observedAt: string;
14399
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
14400
+ previous?: {
14401
+ revision: number;
14402
+ observedAt: string;
14403
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
14404
+ } | undefined;
14405
+ } | undefined;
14406
+ executionRevision?: number | undefined;
14407
+ executionStartSeq?: number | undefined;
14408
+ workerAcknowledgements?: {
14409
+ workerId: string;
14410
+ revision: number;
14411
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
14412
+ observedAt: string;
14413
+ }[] | undefined;
14275
14414
  stopping?: boolean | undefined;
14276
14415
  autoResumeAt?: string | undefined;
14277
14416
  autoResumeAttempts?: number | undefined;
@@ -14882,6 +15021,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14882
15021
  deadline: string;
14883
15022
  seconds: number;
14884
15023
  note?: string | undefined;
15024
+ } | {
15025
+ id: string;
15026
+ source: "agent" | "cezar";
15027
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
15028
+ registeredAt: string;
15029
+ phase: "cancelled" | "delivered" | "open" | "resolved";
15030
+ resolvedAt?: string | undefined;
15031
+ deliveredAt?: string | undefined;
15032
+ cancelledAt?: string | undefined;
15033
+ turnId: string;
15034
+ kind: "process";
15035
+ deadline: string;
15036
+ timeoutSeconds: number;
15037
+ pid: number;
15038
+ startToken?: string | undefined;
15039
+ exitFile?: string | undefined;
15040
+ note?: string | undefined;
15041
+ result?: {
15042
+ outcome: "deadline" | "error" | "exit_file" | "exited";
15043
+ observedAt: string;
15044
+ exitCode?: number | undefined;
15045
+ exitFileNote?: "not-an-exit-code" | undefined;
15046
+ diagnostic?: string | undefined;
15047
+ } | undefined;
14885
15048
  } | {
14886
15049
  id: string;
14887
15050
  source: "agent" | "cezar";
@@ -14943,30 +15106,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14943
15106
  reason: "outcome" | "timeout";
14944
15107
  } | undefined;
14945
15108
  wakeInputId?: string | undefined;
14946
- } | {
14947
- id: string;
14948
- source: "agent" | "cezar";
14949
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
14950
- registeredAt: string;
14951
- phase: "cancelled" | "delivered" | "open" | "resolved";
14952
- resolvedAt?: string | undefined;
14953
- deliveredAt?: string | undefined;
14954
- cancelledAt?: string | undefined;
14955
- turnId: string;
14956
- kind: "process";
14957
- deadline: string;
14958
- timeoutSeconds: number;
14959
- pid: number;
14960
- startToken?: string | undefined;
14961
- exitFile?: string | undefined;
14962
- note?: string | undefined;
14963
- result?: {
14964
- outcome: "deadline" | "error" | "exit_file" | "exited";
14965
- observedAt: string;
14966
- exitCode?: number | undefined;
14967
- exitFileNote?: "not-an-exit-code" | undefined;
14968
- diagnostic?: string | undefined;
14969
- } | undefined;
14970
15109
  } | {
14971
15110
  id: string;
14972
15111
  source: "agent" | "cezar";
@@ -15099,6 +15238,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15099
15238
  deadline: string;
15100
15239
  seconds: number;
15101
15240
  note?: string | undefined;
15241
+ } | {
15242
+ id: string;
15243
+ source: "agent" | "cezar";
15244
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
15245
+ registeredAt: string;
15246
+ phase: "cancelled" | "delivered" | "open" | "resolved";
15247
+ resolvedAt?: string | undefined;
15248
+ deliveredAt?: string | undefined;
15249
+ cancelledAt?: string | undefined;
15250
+ turnId: string;
15251
+ kind: "process";
15252
+ deadline: string;
15253
+ timeoutSeconds: number;
15254
+ pid: number;
15255
+ startToken?: string | undefined;
15256
+ exitFile?: string | undefined;
15257
+ note?: string | undefined;
15258
+ result?: {
15259
+ outcome: "deadline" | "error" | "exit_file" | "exited";
15260
+ observedAt: string;
15261
+ exitCode?: number | undefined;
15262
+ exitFileNote?: "not-an-exit-code" | undefined;
15263
+ diagnostic?: string | undefined;
15264
+ } | undefined;
15102
15265
  } | {
15103
15266
  id: string;
15104
15267
  source: "agent" | "cezar";
@@ -15160,30 +15323,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15160
15323
  reason: "outcome" | "timeout";
15161
15324
  } | undefined;
15162
15325
  wakeInputId?: string | undefined;
15163
- } | {
15164
- id: string;
15165
- source: "agent" | "cezar";
15166
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
15167
- registeredAt: string;
15168
- phase: "cancelled" | "delivered" | "open" | "resolved";
15169
- resolvedAt?: string | undefined;
15170
- deliveredAt?: string | undefined;
15171
- cancelledAt?: string | undefined;
15172
- turnId: string;
15173
- kind: "process";
15174
- deadline: string;
15175
- timeoutSeconds: number;
15176
- pid: number;
15177
- startToken?: string | undefined;
15178
- exitFile?: string | undefined;
15179
- note?: string | undefined;
15180
- result?: {
15181
- outcome: "deadline" | "error" | "exit_file" | "exited";
15182
- observedAt: string;
15183
- exitCode?: number | undefined;
15184
- exitFileNote?: "not-an-exit-code" | undefined;
15185
- diagnostic?: string | undefined;
15186
- } | undefined;
15187
15326
  } | {
15188
15327
  id: string;
15189
15328
  source: "agent" | "cezar";
@@ -15315,6 +15454,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15315
15454
  deadline: string;
15316
15455
  seconds: number;
15317
15456
  note?: string | undefined;
15457
+ } | {
15458
+ id: string;
15459
+ source: "agent" | "cezar";
15460
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
15461
+ registeredAt: string;
15462
+ phase: "cancelled" | "delivered" | "open" | "resolved";
15463
+ resolvedAt?: string | undefined;
15464
+ deliveredAt?: string | undefined;
15465
+ cancelledAt?: string | undefined;
15466
+ turnId: string;
15467
+ kind: "process";
15468
+ deadline: string;
15469
+ timeoutSeconds: number;
15470
+ pid: number;
15471
+ startToken?: string | undefined;
15472
+ exitFile?: string | undefined;
15473
+ note?: string | undefined;
15474
+ result?: {
15475
+ outcome: "deadline" | "error" | "exit_file" | "exited";
15476
+ observedAt: string;
15477
+ exitCode?: number | undefined;
15478
+ exitFileNote?: "not-an-exit-code" | undefined;
15479
+ diagnostic?: string | undefined;
15480
+ } | undefined;
15318
15481
  } | {
15319
15482
  id: string;
15320
15483
  source: "agent" | "cezar";
@@ -15376,30 +15539,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15376
15539
  reason: "outcome" | "timeout";
15377
15540
  } | undefined;
15378
15541
  wakeInputId?: string | undefined;
15379
- } | {
15380
- id: string;
15381
- source: "agent" | "cezar";
15382
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
15383
- registeredAt: string;
15384
- phase: "cancelled" | "delivered" | "open" | "resolved";
15385
- resolvedAt?: string | undefined;
15386
- deliveredAt?: string | undefined;
15387
- cancelledAt?: string | undefined;
15388
- turnId: string;
15389
- kind: "process";
15390
- deadline: string;
15391
- timeoutSeconds: number;
15392
- pid: number;
15393
- startToken?: string | undefined;
15394
- exitFile?: string | undefined;
15395
- note?: string | undefined;
15396
- result?: {
15397
- outcome: "deadline" | "error" | "exit_file" | "exited";
15398
- observedAt: string;
15399
- exitCode?: number | undefined;
15400
- exitFileNote?: "not-an-exit-code" | undefined;
15401
- diagnostic?: string | undefined;
15402
- } | undefined;
15403
15542
  } | {
15404
15543
  id: string;
15405
15544
  source: "agent" | "cezar";
@@ -15515,6 +15654,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15515
15654
  nextAt: string;
15516
15655
  needsAttention?: true | undefined;
15517
15656
  } | undefined;
15657
+ result?: {
15658
+ revision: number;
15659
+ snapshotId: string;
15660
+ observedAt: string;
15661
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
15662
+ previous?: {
15663
+ revision: number;
15664
+ observedAt: string;
15665
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
15666
+ } | undefined;
15667
+ } | undefined;
15668
+ executionRevision?: number | undefined;
15669
+ executionStartSeq?: number | undefined;
15670
+ workerAcknowledgements?: {
15671
+ workerId: string;
15672
+ revision: number;
15673
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
15674
+ observedAt: string;
15675
+ }[] | undefined;
15518
15676
  notify?: boolean | undefined;
15519
15677
  webhook?: {
15520
15678
  lastDeliveredAt?: string | undefined;
@@ -15950,6 +16108,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15950
16108
  deadline: string;
15951
16109
  seconds: number;
15952
16110
  note?: string | undefined;
16111
+ } | {
16112
+ id: string;
16113
+ source: "agent" | "cezar";
16114
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
16115
+ registeredAt: string;
16116
+ phase: "cancelled" | "delivered" | "open" | "resolved";
16117
+ resolvedAt?: string | undefined;
16118
+ deliveredAt?: string | undefined;
16119
+ cancelledAt?: string | undefined;
16120
+ turnId: string;
16121
+ kind: "process";
16122
+ deadline: string;
16123
+ timeoutSeconds: number;
16124
+ pid: number;
16125
+ startToken?: string | undefined;
16126
+ exitFile?: string | undefined;
16127
+ note?: string | undefined;
16128
+ result?: {
16129
+ outcome: "deadline" | "error" | "exit_file" | "exited";
16130
+ observedAt: string;
16131
+ exitCode?: number | undefined;
16132
+ exitFileNote?: "not-an-exit-code" | undefined;
16133
+ diagnostic?: string | undefined;
16134
+ } | undefined;
15953
16135
  } | {
15954
16136
  id: string;
15955
16137
  source: "agent" | "cezar";
@@ -16011,30 +16193,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16011
16193
  reason: "outcome" | "timeout";
16012
16194
  } | undefined;
16013
16195
  wakeInputId?: string | undefined;
16014
- } | {
16015
- id: string;
16016
- source: "agent" | "cezar";
16017
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
16018
- registeredAt: string;
16019
- phase: "cancelled" | "delivered" | "open" | "resolved";
16020
- resolvedAt?: string | undefined;
16021
- deliveredAt?: string | undefined;
16022
- cancelledAt?: string | undefined;
16023
- turnId: string;
16024
- kind: "process";
16025
- deadline: string;
16026
- timeoutSeconds: number;
16027
- pid: number;
16028
- startToken?: string | undefined;
16029
- exitFile?: string | undefined;
16030
- note?: string | undefined;
16031
- result?: {
16032
- outcome: "deadline" | "error" | "exit_file" | "exited";
16033
- observedAt: string;
16034
- exitCode?: number | undefined;
16035
- exitFileNote?: "not-an-exit-code" | undefined;
16036
- diagnostic?: string | undefined;
16037
- } | undefined;
16038
16196
  } | {
16039
16197
  id: string;
16040
16198
  source: "agent" | "cezar";
@@ -16167,6 +16325,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16167
16325
  deadline: string;
16168
16326
  seconds: number;
16169
16327
  note?: string | undefined;
16328
+ } | {
16329
+ id: string;
16330
+ source: "agent" | "cezar";
16331
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
16332
+ registeredAt: string;
16333
+ phase: "cancelled" | "delivered" | "open" | "resolved";
16334
+ resolvedAt?: string | undefined;
16335
+ deliveredAt?: string | undefined;
16336
+ cancelledAt?: string | undefined;
16337
+ turnId: string;
16338
+ kind: "process";
16339
+ deadline: string;
16340
+ timeoutSeconds: number;
16341
+ pid: number;
16342
+ startToken?: string | undefined;
16343
+ exitFile?: string | undefined;
16344
+ note?: string | undefined;
16345
+ result?: {
16346
+ outcome: "deadline" | "error" | "exit_file" | "exited";
16347
+ observedAt: string;
16348
+ exitCode?: number | undefined;
16349
+ exitFileNote?: "not-an-exit-code" | undefined;
16350
+ diagnostic?: string | undefined;
16351
+ } | undefined;
16170
16352
  } | {
16171
16353
  id: string;
16172
16354
  source: "agent" | "cezar";
@@ -16228,30 +16410,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16228
16410
  reason: "outcome" | "timeout";
16229
16411
  } | undefined;
16230
16412
  wakeInputId?: string | undefined;
16231
- } | {
16232
- id: string;
16233
- source: "agent" | "cezar";
16234
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
16235
- registeredAt: string;
16236
- phase: "cancelled" | "delivered" | "open" | "resolved";
16237
- resolvedAt?: string | undefined;
16238
- deliveredAt?: string | undefined;
16239
- cancelledAt?: string | undefined;
16240
- turnId: string;
16241
- kind: "process";
16242
- deadline: string;
16243
- timeoutSeconds: number;
16244
- pid: number;
16245
- startToken?: string | undefined;
16246
- exitFile?: string | undefined;
16247
- note?: string | undefined;
16248
- result?: {
16249
- outcome: "deadline" | "error" | "exit_file" | "exited";
16250
- observedAt: string;
16251
- exitCode?: number | undefined;
16252
- exitFileNote?: "not-an-exit-code" | undefined;
16253
- diagnostic?: string | undefined;
16254
- } | undefined;
16255
16413
  } | {
16256
16414
  id: string;
16257
16415
  source: "agent" | "cezar";
@@ -16383,6 +16541,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16383
16541
  deadline: string;
16384
16542
  seconds: number;
16385
16543
  note?: string | undefined;
16544
+ } | {
16545
+ id: string;
16546
+ source: "agent" | "cezar";
16547
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
16548
+ registeredAt: string;
16549
+ phase: "cancelled" | "delivered" | "open" | "resolved";
16550
+ resolvedAt?: string | undefined;
16551
+ deliveredAt?: string | undefined;
16552
+ cancelledAt?: string | undefined;
16553
+ turnId: string;
16554
+ kind: "process";
16555
+ deadline: string;
16556
+ timeoutSeconds: number;
16557
+ pid: number;
16558
+ startToken?: string | undefined;
16559
+ exitFile?: string | undefined;
16560
+ note?: string | undefined;
16561
+ result?: {
16562
+ outcome: "deadline" | "error" | "exit_file" | "exited";
16563
+ observedAt: string;
16564
+ exitCode?: number | undefined;
16565
+ exitFileNote?: "not-an-exit-code" | undefined;
16566
+ diagnostic?: string | undefined;
16567
+ } | undefined;
16386
16568
  } | {
16387
16569
  id: string;
16388
16570
  source: "agent" | "cezar";
@@ -16444,30 +16626,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16444
16626
  reason: "outcome" | "timeout";
16445
16627
  } | undefined;
16446
16628
  wakeInputId?: string | undefined;
16447
- } | {
16448
- id: string;
16449
- source: "agent" | "cezar";
16450
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
16451
- registeredAt: string;
16452
- phase: "cancelled" | "delivered" | "open" | "resolved";
16453
- resolvedAt?: string | undefined;
16454
- deliveredAt?: string | undefined;
16455
- cancelledAt?: string | undefined;
16456
- turnId: string;
16457
- kind: "process";
16458
- deadline: string;
16459
- timeoutSeconds: number;
16460
- pid: number;
16461
- startToken?: string | undefined;
16462
- exitFile?: string | undefined;
16463
- note?: string | undefined;
16464
- result?: {
16465
- outcome: "deadline" | "error" | "exit_file" | "exited";
16466
- observedAt: string;
16467
- exitCode?: number | undefined;
16468
- exitFileNote?: "not-an-exit-code" | undefined;
16469
- diagnostic?: string | undefined;
16470
- } | undefined;
16471
16629
  } | {
16472
16630
  id: string;
16473
16631
  source: "agent" | "cezar";
@@ -16864,6 +17022,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16864
17022
  nextAt: string;
16865
17023
  needsAttention?: true | undefined;
16866
17024
  } | undefined;
17025
+ result?: {
17026
+ revision: number;
17027
+ snapshotId: string;
17028
+ observedAt: string;
17029
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
17030
+ previous?: {
17031
+ revision: number;
17032
+ observedAt: string;
17033
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
17034
+ } | undefined;
17035
+ } | undefined;
17036
+ executionRevision?: number | undefined;
17037
+ executionStartSeq?: number | undefined;
17038
+ workerAcknowledgements?: {
17039
+ workerId: string;
17040
+ revision: number;
17041
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
17042
+ observedAt: string;
17043
+ }[] | undefined;
16867
17044
  stopping?: boolean | undefined;
16868
17045
  autoResumeAt?: string | undefined;
16869
17046
  autoResumeAttempts?: number | undefined;
@@ -21166,6 +21343,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21166
21343
  deadline: string;
21167
21344
  seconds: number;
21168
21345
  note?: string | undefined;
21346
+ } | {
21347
+ id: string;
21348
+ source: "agent" | "cezar";
21349
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
21350
+ registeredAt: string;
21351
+ phase: "cancelled" | "delivered" | "open" | "resolved";
21352
+ resolvedAt?: string | undefined;
21353
+ deliveredAt?: string | undefined;
21354
+ cancelledAt?: string | undefined;
21355
+ turnId: string;
21356
+ kind: "process";
21357
+ deadline: string;
21358
+ timeoutSeconds: number;
21359
+ pid: number;
21360
+ startToken?: string | undefined;
21361
+ exitFile?: string | undefined;
21362
+ note?: string | undefined;
21363
+ result?: {
21364
+ outcome: "deadline" | "error" | "exit_file" | "exited";
21365
+ observedAt: string;
21366
+ exitCode?: number | undefined;
21367
+ exitFileNote?: "not-an-exit-code" | undefined;
21368
+ diagnostic?: string | undefined;
21369
+ } | undefined;
21169
21370
  } | {
21170
21371
  id: string;
21171
21372
  source: "agent" | "cezar";
@@ -21227,30 +21428,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21227
21428
  reason: "outcome" | "timeout";
21228
21429
  } | undefined;
21229
21430
  wakeInputId?: string | undefined;
21230
- } | {
21231
- id: string;
21232
- source: "agent" | "cezar";
21233
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
21234
- registeredAt: string;
21235
- phase: "cancelled" | "delivered" | "open" | "resolved";
21236
- resolvedAt?: string | undefined;
21237
- deliveredAt?: string | undefined;
21238
- cancelledAt?: string | undefined;
21239
- turnId: string;
21240
- kind: "process";
21241
- deadline: string;
21242
- timeoutSeconds: number;
21243
- pid: number;
21244
- startToken?: string | undefined;
21245
- exitFile?: string | undefined;
21246
- note?: string | undefined;
21247
- result?: {
21248
- outcome: "deadline" | "error" | "exit_file" | "exited";
21249
- observedAt: string;
21250
- exitCode?: number | undefined;
21251
- exitFileNote?: "not-an-exit-code" | undefined;
21252
- diagnostic?: string | undefined;
21253
- } | undefined;
21254
21431
  } | {
21255
21432
  id: string;
21256
21433
  source: "agent" | "cezar";
@@ -21383,6 +21560,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21383
21560
  deadline: string;
21384
21561
  seconds: number;
21385
21562
  note?: string | undefined;
21563
+ } | {
21564
+ id: string;
21565
+ source: "agent" | "cezar";
21566
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
21567
+ registeredAt: string;
21568
+ phase: "cancelled" | "delivered" | "open" | "resolved";
21569
+ resolvedAt?: string | undefined;
21570
+ deliveredAt?: string | undefined;
21571
+ cancelledAt?: string | undefined;
21572
+ turnId: string;
21573
+ kind: "process";
21574
+ deadline: string;
21575
+ timeoutSeconds: number;
21576
+ pid: number;
21577
+ startToken?: string | undefined;
21578
+ exitFile?: string | undefined;
21579
+ note?: string | undefined;
21580
+ result?: {
21581
+ outcome: "deadline" | "error" | "exit_file" | "exited";
21582
+ observedAt: string;
21583
+ exitCode?: number | undefined;
21584
+ exitFileNote?: "not-an-exit-code" | undefined;
21585
+ diagnostic?: string | undefined;
21586
+ } | undefined;
21386
21587
  } | {
21387
21588
  id: string;
21388
21589
  source: "agent" | "cezar";
@@ -21444,30 +21645,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21444
21645
  reason: "outcome" | "timeout";
21445
21646
  } | undefined;
21446
21647
  wakeInputId?: string | undefined;
21447
- } | {
21448
- id: string;
21449
- source: "agent" | "cezar";
21450
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
21451
- registeredAt: string;
21452
- phase: "cancelled" | "delivered" | "open" | "resolved";
21453
- resolvedAt?: string | undefined;
21454
- deliveredAt?: string | undefined;
21455
- cancelledAt?: string | undefined;
21456
- turnId: string;
21457
- kind: "process";
21458
- deadline: string;
21459
- timeoutSeconds: number;
21460
- pid: number;
21461
- startToken?: string | undefined;
21462
- exitFile?: string | undefined;
21463
- note?: string | undefined;
21464
- result?: {
21465
- outcome: "deadline" | "error" | "exit_file" | "exited";
21466
- observedAt: string;
21467
- exitCode?: number | undefined;
21468
- exitFileNote?: "not-an-exit-code" | undefined;
21469
- diagnostic?: string | undefined;
21470
- } | undefined;
21471
21648
  } | {
21472
21649
  id: string;
21473
21650
  source: "agent" | "cezar";
@@ -21599,6 +21776,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21599
21776
  deadline: string;
21600
21777
  seconds: number;
21601
21778
  note?: string | undefined;
21779
+ } | {
21780
+ id: string;
21781
+ source: "agent" | "cezar";
21782
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
21783
+ registeredAt: string;
21784
+ phase: "cancelled" | "delivered" | "open" | "resolved";
21785
+ resolvedAt?: string | undefined;
21786
+ deliveredAt?: string | undefined;
21787
+ cancelledAt?: string | undefined;
21788
+ turnId: string;
21789
+ kind: "process";
21790
+ deadline: string;
21791
+ timeoutSeconds: number;
21792
+ pid: number;
21793
+ startToken?: string | undefined;
21794
+ exitFile?: string | undefined;
21795
+ note?: string | undefined;
21796
+ result?: {
21797
+ outcome: "deadline" | "error" | "exit_file" | "exited";
21798
+ observedAt: string;
21799
+ exitCode?: number | undefined;
21800
+ exitFileNote?: "not-an-exit-code" | undefined;
21801
+ diagnostic?: string | undefined;
21802
+ } | undefined;
21602
21803
  } | {
21603
21804
  id: string;
21604
21805
  source: "agent" | "cezar";
@@ -21670,34 +21871,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21670
21871
  deliveredAt?: string | undefined;
21671
21872
  cancelledAt?: string | undefined;
21672
21873
  turnId: string;
21673
- kind: "process";
21874
+ kind: "peer";
21674
21875
  deadline: string;
21675
21876
  timeoutSeconds: number;
21676
- pid: number;
21677
- startToken?: string | undefined;
21678
- exitFile?: string | undefined;
21679
- note?: string | undefined;
21680
- result?: {
21681
- outcome: "deadline" | "error" | "exit_file" | "exited";
21682
- observedAt: string;
21683
- exitCode?: number | undefined;
21684
- exitFileNote?: "not-an-exit-code" | undefined;
21685
- diagnostic?: string | undefined;
21686
- } | undefined;
21687
- } | {
21688
- id: string;
21689
- source: "agent" | "cezar";
21690
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
21691
- registeredAt: string;
21692
- phase: "cancelled" | "delivered" | "open" | "resolved";
21693
- resolvedAt?: string | undefined;
21694
- deliveredAt?: string | undefined;
21695
- cancelledAt?: string | undefined;
21696
- turnId: string;
21697
- kind: "peer";
21698
- deadline: string;
21699
- timeoutSeconds: number;
21700
- peerIds: string[];
21877
+ peerIds: string[];
21701
21878
  result?: {
21702
21879
  reason: "message";
21703
21880
  peerRunId: string;
@@ -21799,6 +21976,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21799
21976
  nextAt: string;
21800
21977
  needsAttention?: true | undefined;
21801
21978
  } | undefined;
21979
+ result?: {
21980
+ revision: number;
21981
+ snapshotId: string;
21982
+ observedAt: string;
21983
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
21984
+ previous?: {
21985
+ revision: number;
21986
+ observedAt: string;
21987
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
21988
+ } | undefined;
21989
+ } | undefined;
21990
+ executionRevision?: number | undefined;
21991
+ executionStartSeq?: number | undefined;
21992
+ workerAcknowledgements?: {
21993
+ workerId: string;
21994
+ revision: number;
21995
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
21996
+ observedAt: string;
21997
+ }[] | undefined;
21802
21998
  notify?: boolean | undefined;
21803
21999
  webhook?: {
21804
22000
  lastDeliveredAt?: string | undefined;
@@ -23013,6 +23209,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23013
23209
  deadline: string;
23014
23210
  seconds: number;
23015
23211
  note?: string | undefined;
23212
+ } | {
23213
+ id: string;
23214
+ source: "agent" | "cezar";
23215
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
23216
+ registeredAt: string;
23217
+ phase: "cancelled" | "delivered" | "open" | "resolved";
23218
+ resolvedAt?: string | undefined;
23219
+ deliveredAt?: string | undefined;
23220
+ cancelledAt?: string | undefined;
23221
+ turnId: string;
23222
+ kind: "process";
23223
+ deadline: string;
23224
+ timeoutSeconds: number;
23225
+ pid: number;
23226
+ startToken?: string | undefined;
23227
+ exitFile?: string | undefined;
23228
+ note?: string | undefined;
23229
+ result?: {
23230
+ outcome: "deadline" | "error" | "exit_file" | "exited";
23231
+ observedAt: string;
23232
+ exitCode?: number | undefined;
23233
+ exitFileNote?: "not-an-exit-code" | undefined;
23234
+ diagnostic?: string | undefined;
23235
+ } | undefined;
23016
23236
  } | {
23017
23237
  id: string;
23018
23238
  source: "agent" | "cezar";
@@ -23074,30 +23294,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23074
23294
  reason: "outcome" | "timeout";
23075
23295
  } | undefined;
23076
23296
  wakeInputId?: string | undefined;
23077
- } | {
23078
- id: string;
23079
- source: "agent" | "cezar";
23080
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
23081
- registeredAt: string;
23082
- phase: "cancelled" | "delivered" | "open" | "resolved";
23083
- resolvedAt?: string | undefined;
23084
- deliveredAt?: string | undefined;
23085
- cancelledAt?: string | undefined;
23086
- turnId: string;
23087
- kind: "process";
23088
- deadline: string;
23089
- timeoutSeconds: number;
23090
- pid: number;
23091
- startToken?: string | undefined;
23092
- exitFile?: string | undefined;
23093
- note?: string | undefined;
23094
- result?: {
23095
- outcome: "deadline" | "error" | "exit_file" | "exited";
23096
- observedAt: string;
23097
- exitCode?: number | undefined;
23098
- exitFileNote?: "not-an-exit-code" | undefined;
23099
- diagnostic?: string | undefined;
23100
- } | undefined;
23101
23297
  } | {
23102
23298
  id: string;
23103
23299
  source: "agent" | "cezar";
@@ -23230,6 +23426,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23230
23426
  deadline: string;
23231
23427
  seconds: number;
23232
23428
  note?: string | undefined;
23429
+ } | {
23430
+ id: string;
23431
+ source: "agent" | "cezar";
23432
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
23433
+ registeredAt: string;
23434
+ phase: "cancelled" | "delivered" | "open" | "resolved";
23435
+ resolvedAt?: string | undefined;
23436
+ deliveredAt?: string | undefined;
23437
+ cancelledAt?: string | undefined;
23438
+ turnId: string;
23439
+ kind: "process";
23440
+ deadline: string;
23441
+ timeoutSeconds: number;
23442
+ pid: number;
23443
+ startToken?: string | undefined;
23444
+ exitFile?: string | undefined;
23445
+ note?: string | undefined;
23446
+ result?: {
23447
+ outcome: "deadline" | "error" | "exit_file" | "exited";
23448
+ observedAt: string;
23449
+ exitCode?: number | undefined;
23450
+ exitFileNote?: "not-an-exit-code" | undefined;
23451
+ diagnostic?: string | undefined;
23452
+ } | undefined;
23233
23453
  } | {
23234
23454
  id: string;
23235
23455
  source: "agent" | "cezar";
@@ -23291,30 +23511,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23291
23511
  reason: "outcome" | "timeout";
23292
23512
  } | undefined;
23293
23513
  wakeInputId?: string | undefined;
23294
- } | {
23295
- id: string;
23296
- source: "agent" | "cezar";
23297
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
23298
- registeredAt: string;
23299
- phase: "cancelled" | "delivered" | "open" | "resolved";
23300
- resolvedAt?: string | undefined;
23301
- deliveredAt?: string | undefined;
23302
- cancelledAt?: string | undefined;
23303
- turnId: string;
23304
- kind: "process";
23305
- deadline: string;
23306
- timeoutSeconds: number;
23307
- pid: number;
23308
- startToken?: string | undefined;
23309
- exitFile?: string | undefined;
23310
- note?: string | undefined;
23311
- result?: {
23312
- outcome: "deadline" | "error" | "exit_file" | "exited";
23313
- observedAt: string;
23314
- exitCode?: number | undefined;
23315
- exitFileNote?: "not-an-exit-code" | undefined;
23316
- diagnostic?: string | undefined;
23317
- } | undefined;
23318
23514
  } | {
23319
23515
  id: string;
23320
23516
  source: "agent" | "cezar";
@@ -23446,6 +23642,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23446
23642
  deadline: string;
23447
23643
  seconds: number;
23448
23644
  note?: string | undefined;
23645
+ } | {
23646
+ id: string;
23647
+ source: "agent" | "cezar";
23648
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
23649
+ registeredAt: string;
23650
+ phase: "cancelled" | "delivered" | "open" | "resolved";
23651
+ resolvedAt?: string | undefined;
23652
+ deliveredAt?: string | undefined;
23653
+ cancelledAt?: string | undefined;
23654
+ turnId: string;
23655
+ kind: "process";
23656
+ deadline: string;
23657
+ timeoutSeconds: number;
23658
+ pid: number;
23659
+ startToken?: string | undefined;
23660
+ exitFile?: string | undefined;
23661
+ note?: string | undefined;
23662
+ result?: {
23663
+ outcome: "deadline" | "error" | "exit_file" | "exited";
23664
+ observedAt: string;
23665
+ exitCode?: number | undefined;
23666
+ exitFileNote?: "not-an-exit-code" | undefined;
23667
+ diagnostic?: string | undefined;
23668
+ } | undefined;
23449
23669
  } | {
23450
23670
  id: string;
23451
23671
  source: "agent" | "cezar";
@@ -23507,30 +23727,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23507
23727
  reason: "outcome" | "timeout";
23508
23728
  } | undefined;
23509
23729
  wakeInputId?: string | undefined;
23510
- } | {
23511
- id: string;
23512
- source: "agent" | "cezar";
23513
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
23514
- registeredAt: string;
23515
- phase: "cancelled" | "delivered" | "open" | "resolved";
23516
- resolvedAt?: string | undefined;
23517
- deliveredAt?: string | undefined;
23518
- cancelledAt?: string | undefined;
23519
- turnId: string;
23520
- kind: "process";
23521
- deadline: string;
23522
- timeoutSeconds: number;
23523
- pid: number;
23524
- startToken?: string | undefined;
23525
- exitFile?: string | undefined;
23526
- note?: string | undefined;
23527
- result?: {
23528
- outcome: "deadline" | "error" | "exit_file" | "exited";
23529
- observedAt: string;
23530
- exitCode?: number | undefined;
23531
- exitFileNote?: "not-an-exit-code" | undefined;
23532
- diagnostic?: string | undefined;
23533
- } | undefined;
23534
23730
  } | {
23535
23731
  id: string;
23536
23732
  source: "agent" | "cezar";
@@ -23646,6 +23842,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23646
23842
  nextAt: string;
23647
23843
  needsAttention?: true | undefined;
23648
23844
  } | undefined;
23845
+ result?: {
23846
+ revision: number;
23847
+ snapshotId: string;
23848
+ observedAt: string;
23849
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
23850
+ previous?: {
23851
+ revision: number;
23852
+ observedAt: string;
23853
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
23854
+ } | undefined;
23855
+ } | undefined;
23856
+ executionRevision?: number | undefined;
23857
+ executionStartSeq?: number | undefined;
23858
+ workerAcknowledgements?: {
23859
+ workerId: string;
23860
+ revision: number;
23861
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
23862
+ observedAt: string;
23863
+ }[] | undefined;
23649
23864
  notify?: boolean | undefined;
23650
23865
  webhook?: {
23651
23866
  lastDeliveredAt?: string | undefined;
@@ -24228,6 +24443,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24228
24443
  deadline: string;
24229
24444
  seconds: number;
24230
24445
  note?: string | undefined;
24446
+ } | {
24447
+ id: string;
24448
+ source: "agent" | "cezar";
24449
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
24450
+ registeredAt: string;
24451
+ phase: "cancelled" | "delivered" | "open" | "resolved";
24452
+ resolvedAt?: string | undefined;
24453
+ deliveredAt?: string | undefined;
24454
+ cancelledAt?: string | undefined;
24455
+ turnId: string;
24456
+ kind: "process";
24457
+ deadline: string;
24458
+ timeoutSeconds: number;
24459
+ pid: number;
24460
+ startToken?: string | undefined;
24461
+ exitFile?: string | undefined;
24462
+ note?: string | undefined;
24463
+ result?: {
24464
+ outcome: "deadline" | "error" | "exit_file" | "exited";
24465
+ observedAt: string;
24466
+ exitCode?: number | undefined;
24467
+ exitFileNote?: "not-an-exit-code" | undefined;
24468
+ diagnostic?: string | undefined;
24469
+ } | undefined;
24231
24470
  } | {
24232
24471
  id: string;
24233
24472
  source: "agent" | "cezar";
@@ -24289,30 +24528,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24289
24528
  reason: "outcome" | "timeout";
24290
24529
  } | undefined;
24291
24530
  wakeInputId?: string | undefined;
24292
- } | {
24293
- id: string;
24294
- source: "agent" | "cezar";
24295
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
24296
- registeredAt: string;
24297
- phase: "cancelled" | "delivered" | "open" | "resolved";
24298
- resolvedAt?: string | undefined;
24299
- deliveredAt?: string | undefined;
24300
- cancelledAt?: string | undefined;
24301
- turnId: string;
24302
- kind: "process";
24303
- deadline: string;
24304
- timeoutSeconds: number;
24305
- pid: number;
24306
- startToken?: string | undefined;
24307
- exitFile?: string | undefined;
24308
- note?: string | undefined;
24309
- result?: {
24310
- outcome: "deadline" | "error" | "exit_file" | "exited";
24311
- observedAt: string;
24312
- exitCode?: number | undefined;
24313
- exitFileNote?: "not-an-exit-code" | undefined;
24314
- diagnostic?: string | undefined;
24315
- } | undefined;
24316
24531
  } | {
24317
24532
  id: string;
24318
24533
  source: "agent" | "cezar";
@@ -24445,6 +24660,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24445
24660
  deadline: string;
24446
24661
  seconds: number;
24447
24662
  note?: string | undefined;
24663
+ } | {
24664
+ id: string;
24665
+ source: "agent" | "cezar";
24666
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
24667
+ registeredAt: string;
24668
+ phase: "cancelled" | "delivered" | "open" | "resolved";
24669
+ resolvedAt?: string | undefined;
24670
+ deliveredAt?: string | undefined;
24671
+ cancelledAt?: string | undefined;
24672
+ turnId: string;
24673
+ kind: "process";
24674
+ deadline: string;
24675
+ timeoutSeconds: number;
24676
+ pid: number;
24677
+ startToken?: string | undefined;
24678
+ exitFile?: string | undefined;
24679
+ note?: string | undefined;
24680
+ result?: {
24681
+ outcome: "deadline" | "error" | "exit_file" | "exited";
24682
+ observedAt: string;
24683
+ exitCode?: number | undefined;
24684
+ exitFileNote?: "not-an-exit-code" | undefined;
24685
+ diagnostic?: string | undefined;
24686
+ } | undefined;
24448
24687
  } | {
24449
24688
  id: string;
24450
24689
  source: "agent" | "cezar";
@@ -24506,30 +24745,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24506
24745
  reason: "outcome" | "timeout";
24507
24746
  } | undefined;
24508
24747
  wakeInputId?: string | undefined;
24509
- } | {
24510
- id: string;
24511
- source: "agent" | "cezar";
24512
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
24513
- registeredAt: string;
24514
- phase: "cancelled" | "delivered" | "open" | "resolved";
24515
- resolvedAt?: string | undefined;
24516
- deliveredAt?: string | undefined;
24517
- cancelledAt?: string | undefined;
24518
- turnId: string;
24519
- kind: "process";
24520
- deadline: string;
24521
- timeoutSeconds: number;
24522
- pid: number;
24523
- startToken?: string | undefined;
24524
- exitFile?: string | undefined;
24525
- note?: string | undefined;
24526
- result?: {
24527
- outcome: "deadline" | "error" | "exit_file" | "exited";
24528
- observedAt: string;
24529
- exitCode?: number | undefined;
24530
- exitFileNote?: "not-an-exit-code" | undefined;
24531
- diagnostic?: string | undefined;
24532
- } | undefined;
24533
24748
  } | {
24534
24749
  id: string;
24535
24750
  source: "agent" | "cezar";
@@ -24661,6 +24876,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24661
24876
  deadline: string;
24662
24877
  seconds: number;
24663
24878
  note?: string | undefined;
24879
+ } | {
24880
+ id: string;
24881
+ source: "agent" | "cezar";
24882
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
24883
+ registeredAt: string;
24884
+ phase: "cancelled" | "delivered" | "open" | "resolved";
24885
+ resolvedAt?: string | undefined;
24886
+ deliveredAt?: string | undefined;
24887
+ cancelledAt?: string | undefined;
24888
+ turnId: string;
24889
+ kind: "process";
24890
+ deadline: string;
24891
+ timeoutSeconds: number;
24892
+ pid: number;
24893
+ startToken?: string | undefined;
24894
+ exitFile?: string | undefined;
24895
+ note?: string | undefined;
24896
+ result?: {
24897
+ outcome: "deadline" | "error" | "exit_file" | "exited";
24898
+ observedAt: string;
24899
+ exitCode?: number | undefined;
24900
+ exitFileNote?: "not-an-exit-code" | undefined;
24901
+ diagnostic?: string | undefined;
24902
+ } | undefined;
24664
24903
  } | {
24665
24904
  id: string;
24666
24905
  source: "agent" | "cezar";
@@ -24722,30 +24961,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24722
24961
  reason: "outcome" | "timeout";
24723
24962
  } | undefined;
24724
24963
  wakeInputId?: string | undefined;
24725
- } | {
24726
- id: string;
24727
- source: "agent" | "cezar";
24728
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
24729
- registeredAt: string;
24730
- phase: "cancelled" | "delivered" | "open" | "resolved";
24731
- resolvedAt?: string | undefined;
24732
- deliveredAt?: string | undefined;
24733
- cancelledAt?: string | undefined;
24734
- turnId: string;
24735
- kind: "process";
24736
- deadline: string;
24737
- timeoutSeconds: number;
24738
- pid: number;
24739
- startToken?: string | undefined;
24740
- exitFile?: string | undefined;
24741
- note?: string | undefined;
24742
- result?: {
24743
- outcome: "deadline" | "error" | "exit_file" | "exited";
24744
- observedAt: string;
24745
- exitCode?: number | undefined;
24746
- exitFileNote?: "not-an-exit-code" | undefined;
24747
- diagnostic?: string | undefined;
24748
- } | undefined;
24749
24964
  } | {
24750
24965
  id: string;
24751
24966
  source: "agent" | "cezar";
@@ -24861,6 +25076,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24861
25076
  nextAt: string;
24862
25077
  needsAttention?: true | undefined;
24863
25078
  } | undefined;
25079
+ result?: {
25080
+ revision: number;
25081
+ snapshotId: string;
25082
+ observedAt: string;
25083
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
25084
+ previous?: {
25085
+ revision: number;
25086
+ observedAt: string;
25087
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
25088
+ } | undefined;
25089
+ } | undefined;
25090
+ executionRevision?: number | undefined;
25091
+ executionStartSeq?: number | undefined;
25092
+ workerAcknowledgements?: {
25093
+ workerId: string;
25094
+ revision: number;
25095
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
25096
+ observedAt: string;
25097
+ }[] | undefined;
24864
25098
  notify?: boolean | undefined;
24865
25099
  webhook?: {
24866
25100
  lastDeliveredAt?: string | undefined;
@@ -25207,6 +25441,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25207
25441
  deadline: string;
25208
25442
  seconds: number;
25209
25443
  note?: string | undefined;
25444
+ } | {
25445
+ id: string;
25446
+ source: "agent" | "cezar";
25447
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
25448
+ registeredAt: string;
25449
+ phase: "cancelled" | "delivered" | "open" | "resolved";
25450
+ resolvedAt?: string | undefined;
25451
+ deliveredAt?: string | undefined;
25452
+ cancelledAt?: string | undefined;
25453
+ turnId: string;
25454
+ kind: "process";
25455
+ deadline: string;
25456
+ timeoutSeconds: number;
25457
+ pid: number;
25458
+ startToken?: string | undefined;
25459
+ exitFile?: string | undefined;
25460
+ note?: string | undefined;
25461
+ result?: {
25462
+ outcome: "deadline" | "error" | "exit_file" | "exited";
25463
+ observedAt: string;
25464
+ exitCode?: number | undefined;
25465
+ exitFileNote?: "not-an-exit-code" | undefined;
25466
+ diagnostic?: string | undefined;
25467
+ } | undefined;
25210
25468
  } | {
25211
25469
  id: string;
25212
25470
  source: "agent" | "cezar";
@@ -25268,30 +25526,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25268
25526
  reason: "outcome" | "timeout";
25269
25527
  } | undefined;
25270
25528
  wakeInputId?: string | undefined;
25271
- } | {
25272
- id: string;
25273
- source: "agent" | "cezar";
25274
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
25275
- registeredAt: string;
25276
- phase: "cancelled" | "delivered" | "open" | "resolved";
25277
- resolvedAt?: string | undefined;
25278
- deliveredAt?: string | undefined;
25279
- cancelledAt?: string | undefined;
25280
- turnId: string;
25281
- kind: "process";
25282
- deadline: string;
25283
- timeoutSeconds: number;
25284
- pid: number;
25285
- startToken?: string | undefined;
25286
- exitFile?: string | undefined;
25287
- note?: string | undefined;
25288
- result?: {
25289
- outcome: "deadline" | "error" | "exit_file" | "exited";
25290
- observedAt: string;
25291
- exitCode?: number | undefined;
25292
- exitFileNote?: "not-an-exit-code" | undefined;
25293
- diagnostic?: string | undefined;
25294
- } | undefined;
25295
25529
  } | {
25296
25530
  id: string;
25297
25531
  source: "agent" | "cezar";
@@ -25424,6 +25658,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25424
25658
  deadline: string;
25425
25659
  seconds: number;
25426
25660
  note?: string | undefined;
25661
+ } | {
25662
+ id: string;
25663
+ source: "agent" | "cezar";
25664
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
25665
+ registeredAt: string;
25666
+ phase: "cancelled" | "delivered" | "open" | "resolved";
25667
+ resolvedAt?: string | undefined;
25668
+ deliveredAt?: string | undefined;
25669
+ cancelledAt?: string | undefined;
25670
+ turnId: string;
25671
+ kind: "process";
25672
+ deadline: string;
25673
+ timeoutSeconds: number;
25674
+ pid: number;
25675
+ startToken?: string | undefined;
25676
+ exitFile?: string | undefined;
25677
+ note?: string | undefined;
25678
+ result?: {
25679
+ outcome: "deadline" | "error" | "exit_file" | "exited";
25680
+ observedAt: string;
25681
+ exitCode?: number | undefined;
25682
+ exitFileNote?: "not-an-exit-code" | undefined;
25683
+ diagnostic?: string | undefined;
25684
+ } | undefined;
25427
25685
  } | {
25428
25686
  id: string;
25429
25687
  source: "agent" | "cezar";
@@ -25485,30 +25743,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25485
25743
  reason: "outcome" | "timeout";
25486
25744
  } | undefined;
25487
25745
  wakeInputId?: string | undefined;
25488
- } | {
25489
- id: string;
25490
- source: "agent" | "cezar";
25491
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
25492
- registeredAt: string;
25493
- phase: "cancelled" | "delivered" | "open" | "resolved";
25494
- resolvedAt?: string | undefined;
25495
- deliveredAt?: string | undefined;
25496
- cancelledAt?: string | undefined;
25497
- turnId: string;
25498
- kind: "process";
25499
- deadline: string;
25500
- timeoutSeconds: number;
25501
- pid: number;
25502
- startToken?: string | undefined;
25503
- exitFile?: string | undefined;
25504
- note?: string | undefined;
25505
- result?: {
25506
- outcome: "deadline" | "error" | "exit_file" | "exited";
25507
- observedAt: string;
25508
- exitCode?: number | undefined;
25509
- exitFileNote?: "not-an-exit-code" | undefined;
25510
- diagnostic?: string | undefined;
25511
- } | undefined;
25512
25746
  } | {
25513
25747
  id: string;
25514
25748
  source: "agent" | "cezar";
@@ -25640,6 +25874,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25640
25874
  deadline: string;
25641
25875
  seconds: number;
25642
25876
  note?: string | undefined;
25877
+ } | {
25878
+ id: string;
25879
+ source: "agent" | "cezar";
25880
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
25881
+ registeredAt: string;
25882
+ phase: "cancelled" | "delivered" | "open" | "resolved";
25883
+ resolvedAt?: string | undefined;
25884
+ deliveredAt?: string | undefined;
25885
+ cancelledAt?: string | undefined;
25886
+ turnId: string;
25887
+ kind: "process";
25888
+ deadline: string;
25889
+ timeoutSeconds: number;
25890
+ pid: number;
25891
+ startToken?: string | undefined;
25892
+ exitFile?: string | undefined;
25893
+ note?: string | undefined;
25894
+ result?: {
25895
+ outcome: "deadline" | "error" | "exit_file" | "exited";
25896
+ observedAt: string;
25897
+ exitCode?: number | undefined;
25898
+ exitFileNote?: "not-an-exit-code" | undefined;
25899
+ diagnostic?: string | undefined;
25900
+ } | undefined;
25643
25901
  } | {
25644
25902
  id: string;
25645
25903
  source: "agent" | "cezar";
@@ -25701,30 +25959,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25701
25959
  reason: "outcome" | "timeout";
25702
25960
  } | undefined;
25703
25961
  wakeInputId?: string | undefined;
25704
- } | {
25705
- id: string;
25706
- source: "agent" | "cezar";
25707
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
25708
- registeredAt: string;
25709
- phase: "cancelled" | "delivered" | "open" | "resolved";
25710
- resolvedAt?: string | undefined;
25711
- deliveredAt?: string | undefined;
25712
- cancelledAt?: string | undefined;
25713
- turnId: string;
25714
- kind: "process";
25715
- deadline: string;
25716
- timeoutSeconds: number;
25717
- pid: number;
25718
- startToken?: string | undefined;
25719
- exitFile?: string | undefined;
25720
- note?: string | undefined;
25721
- result?: {
25722
- outcome: "deadline" | "error" | "exit_file" | "exited";
25723
- observedAt: string;
25724
- exitCode?: number | undefined;
25725
- exitFileNote?: "not-an-exit-code" | undefined;
25726
- diagnostic?: string | undefined;
25727
- } | undefined;
25728
25962
  } | {
25729
25963
  id: string;
25730
25964
  source: "agent" | "cezar";
@@ -26121,6 +26355,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26121
26355
  nextAt: string;
26122
26356
  needsAttention?: true | undefined;
26123
26357
  } | undefined;
26358
+ result?: {
26359
+ revision: number;
26360
+ snapshotId: string;
26361
+ observedAt: string;
26362
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
26363
+ previous?: {
26364
+ revision: number;
26365
+ observedAt: string;
26366
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
26367
+ } | undefined;
26368
+ } | undefined;
26369
+ executionRevision?: number | undefined;
26370
+ executionStartSeq?: number | undefined;
26371
+ workerAcknowledgements?: {
26372
+ workerId: string;
26373
+ revision: number;
26374
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
26375
+ observedAt: string;
26376
+ }[] | undefined;
26124
26377
  stopping?: boolean | undefined;
26125
26378
  autoResumeAt?: string | undefined;
26126
26379
  autoResumeAttempts?: number | undefined;
@@ -26671,6 +26924,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26671
26924
  deadline: string;
26672
26925
  seconds: number;
26673
26926
  note?: string | undefined;
26927
+ } | {
26928
+ id: string;
26929
+ source: "agent" | "cezar";
26930
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
26931
+ registeredAt: string;
26932
+ phase: "cancelled" | "delivered" | "open" | "resolved";
26933
+ resolvedAt?: string | undefined;
26934
+ deliveredAt?: string | undefined;
26935
+ cancelledAt?: string | undefined;
26936
+ turnId: string;
26937
+ kind: "process";
26938
+ deadline: string;
26939
+ timeoutSeconds: number;
26940
+ pid: number;
26941
+ startToken?: string | undefined;
26942
+ exitFile?: string | undefined;
26943
+ note?: string | undefined;
26944
+ result?: {
26945
+ outcome: "deadline" | "error" | "exit_file" | "exited";
26946
+ observedAt: string;
26947
+ exitCode?: number | undefined;
26948
+ exitFileNote?: "not-an-exit-code" | undefined;
26949
+ diagnostic?: string | undefined;
26950
+ } | undefined;
26674
26951
  } | {
26675
26952
  id: string;
26676
26953
  source: "agent" | "cezar";
@@ -26732,30 +27009,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26732
27009
  reason: "outcome" | "timeout";
26733
27010
  } | undefined;
26734
27011
  wakeInputId?: string | undefined;
26735
- } | {
26736
- id: string;
26737
- source: "agent" | "cezar";
26738
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
26739
- registeredAt: string;
26740
- phase: "cancelled" | "delivered" | "open" | "resolved";
26741
- resolvedAt?: string | undefined;
26742
- deliveredAt?: string | undefined;
26743
- cancelledAt?: string | undefined;
26744
- turnId: string;
26745
- kind: "process";
26746
- deadline: string;
26747
- timeoutSeconds: number;
26748
- pid: number;
26749
- startToken?: string | undefined;
26750
- exitFile?: string | undefined;
26751
- note?: string | undefined;
26752
- result?: {
26753
- outcome: "deadline" | "error" | "exit_file" | "exited";
26754
- observedAt: string;
26755
- exitCode?: number | undefined;
26756
- exitFileNote?: "not-an-exit-code" | undefined;
26757
- diagnostic?: string | undefined;
26758
- } | undefined;
26759
27012
  } | {
26760
27013
  id: string;
26761
27014
  source: "agent" | "cezar";
@@ -26888,6 +27141,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26888
27141
  deadline: string;
26889
27142
  seconds: number;
26890
27143
  note?: string | undefined;
27144
+ } | {
27145
+ id: string;
27146
+ source: "agent" | "cezar";
27147
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
27148
+ registeredAt: string;
27149
+ phase: "cancelled" | "delivered" | "open" | "resolved";
27150
+ resolvedAt?: string | undefined;
27151
+ deliveredAt?: string | undefined;
27152
+ cancelledAt?: string | undefined;
27153
+ turnId: string;
27154
+ kind: "process";
27155
+ deadline: string;
27156
+ timeoutSeconds: number;
27157
+ pid: number;
27158
+ startToken?: string | undefined;
27159
+ exitFile?: string | undefined;
27160
+ note?: string | undefined;
27161
+ result?: {
27162
+ outcome: "deadline" | "error" | "exit_file" | "exited";
27163
+ observedAt: string;
27164
+ exitCode?: number | undefined;
27165
+ exitFileNote?: "not-an-exit-code" | undefined;
27166
+ diagnostic?: string | undefined;
27167
+ } | undefined;
26891
27168
  } | {
26892
27169
  id: string;
26893
27170
  source: "agent" | "cezar";
@@ -26949,30 +27226,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26949
27226
  reason: "outcome" | "timeout";
26950
27227
  } | undefined;
26951
27228
  wakeInputId?: string | undefined;
26952
- } | {
26953
- id: string;
26954
- source: "agent" | "cezar";
26955
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
26956
- registeredAt: string;
26957
- phase: "cancelled" | "delivered" | "open" | "resolved";
26958
- resolvedAt?: string | undefined;
26959
- deliveredAt?: string | undefined;
26960
- cancelledAt?: string | undefined;
26961
- turnId: string;
26962
- kind: "process";
26963
- deadline: string;
26964
- timeoutSeconds: number;
26965
- pid: number;
26966
- startToken?: string | undefined;
26967
- exitFile?: string | undefined;
26968
- note?: string | undefined;
26969
- result?: {
26970
- outcome: "deadline" | "error" | "exit_file" | "exited";
26971
- observedAt: string;
26972
- exitCode?: number | undefined;
26973
- exitFileNote?: "not-an-exit-code" | undefined;
26974
- diagnostic?: string | undefined;
26975
- } | undefined;
26976
27229
  } | {
26977
27230
  id: string;
26978
27231
  source: "agent" | "cezar";
@@ -27104,6 +27357,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27104
27357
  deadline: string;
27105
27358
  seconds: number;
27106
27359
  note?: string | undefined;
27360
+ } | {
27361
+ id: string;
27362
+ source: "agent" | "cezar";
27363
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
27364
+ registeredAt: string;
27365
+ phase: "cancelled" | "delivered" | "open" | "resolved";
27366
+ resolvedAt?: string | undefined;
27367
+ deliveredAt?: string | undefined;
27368
+ cancelledAt?: string | undefined;
27369
+ turnId: string;
27370
+ kind: "process";
27371
+ deadline: string;
27372
+ timeoutSeconds: number;
27373
+ pid: number;
27374
+ startToken?: string | undefined;
27375
+ exitFile?: string | undefined;
27376
+ note?: string | undefined;
27377
+ result?: {
27378
+ outcome: "deadline" | "error" | "exit_file" | "exited";
27379
+ observedAt: string;
27380
+ exitCode?: number | undefined;
27381
+ exitFileNote?: "not-an-exit-code" | undefined;
27382
+ diagnostic?: string | undefined;
27383
+ } | undefined;
27107
27384
  } | {
27108
27385
  id: string;
27109
27386
  source: "agent" | "cezar";
@@ -27165,30 +27442,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27165
27442
  reason: "outcome" | "timeout";
27166
27443
  } | undefined;
27167
27444
  wakeInputId?: string | undefined;
27168
- } | {
27169
- id: string;
27170
- source: "agent" | "cezar";
27171
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
27172
- registeredAt: string;
27173
- phase: "cancelled" | "delivered" | "open" | "resolved";
27174
- resolvedAt?: string | undefined;
27175
- deliveredAt?: string | undefined;
27176
- cancelledAt?: string | undefined;
27177
- turnId: string;
27178
- kind: "process";
27179
- deadline: string;
27180
- timeoutSeconds: number;
27181
- pid: number;
27182
- startToken?: string | undefined;
27183
- exitFile?: string | undefined;
27184
- note?: string | undefined;
27185
- result?: {
27186
- outcome: "deadline" | "error" | "exit_file" | "exited";
27187
- observedAt: string;
27188
- exitCode?: number | undefined;
27189
- exitFileNote?: "not-an-exit-code" | undefined;
27190
- diagnostic?: string | undefined;
27191
- } | undefined;
27192
27445
  } | {
27193
27446
  id: string;
27194
27447
  source: "agent" | "cezar";
@@ -27304,6 +27557,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27304
27557
  nextAt: string;
27305
27558
  needsAttention?: true | undefined;
27306
27559
  } | undefined;
27560
+ result?: {
27561
+ revision: number;
27562
+ snapshotId: string;
27563
+ observedAt: string;
27564
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
27565
+ previous?: {
27566
+ revision: number;
27567
+ observedAt: string;
27568
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
27569
+ } | undefined;
27570
+ } | undefined;
27571
+ executionRevision?: number | undefined;
27572
+ executionStartSeq?: number | undefined;
27573
+ workerAcknowledgements?: {
27574
+ workerId: string;
27575
+ revision: number;
27576
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
27577
+ observedAt: string;
27578
+ }[] | undefined;
27307
27579
  notify?: boolean | undefined;
27308
27580
  webhook?: {
27309
27581
  lastDeliveredAt?: string | undefined;
@@ -27862,6 +28134,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27862
28134
  deadline: string;
27863
28135
  seconds: number;
27864
28136
  note?: string | undefined;
28137
+ } | {
28138
+ id: string;
28139
+ source: "agent" | "cezar";
28140
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
28141
+ registeredAt: string;
28142
+ phase: "cancelled" | "delivered" | "open" | "resolved";
28143
+ resolvedAt?: string | undefined;
28144
+ deliveredAt?: string | undefined;
28145
+ cancelledAt?: string | undefined;
28146
+ turnId: string;
28147
+ kind: "process";
28148
+ deadline: string;
28149
+ timeoutSeconds: number;
28150
+ pid: number;
28151
+ startToken?: string | undefined;
28152
+ exitFile?: string | undefined;
28153
+ note?: string | undefined;
28154
+ result?: {
28155
+ outcome: "deadline" | "error" | "exit_file" | "exited";
28156
+ observedAt: string;
28157
+ exitCode?: number | undefined;
28158
+ exitFileNote?: "not-an-exit-code" | undefined;
28159
+ diagnostic?: string | undefined;
28160
+ } | undefined;
27865
28161
  } | {
27866
28162
  id: string;
27867
28163
  source: "agent" | "cezar";
@@ -27923,30 +28219,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27923
28219
  reason: "outcome" | "timeout";
27924
28220
  } | undefined;
27925
28221
  wakeInputId?: string | undefined;
27926
- } | {
27927
- id: string;
27928
- source: "agent" | "cezar";
27929
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
27930
- registeredAt: string;
27931
- phase: "cancelled" | "delivered" | "open" | "resolved";
27932
- resolvedAt?: string | undefined;
27933
- deliveredAt?: string | undefined;
27934
- cancelledAt?: string | undefined;
27935
- turnId: string;
27936
- kind: "process";
27937
- deadline: string;
27938
- timeoutSeconds: number;
27939
- pid: number;
27940
- startToken?: string | undefined;
27941
- exitFile?: string | undefined;
27942
- note?: string | undefined;
27943
- result?: {
27944
- outcome: "deadline" | "error" | "exit_file" | "exited";
27945
- observedAt: string;
27946
- exitCode?: number | undefined;
27947
- exitFileNote?: "not-an-exit-code" | undefined;
27948
- diagnostic?: string | undefined;
27949
- } | undefined;
27950
28222
  } | {
27951
28223
  id: string;
27952
28224
  source: "agent" | "cezar";
@@ -28079,6 +28351,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28079
28351
  deadline: string;
28080
28352
  seconds: number;
28081
28353
  note?: string | undefined;
28354
+ } | {
28355
+ id: string;
28356
+ source: "agent" | "cezar";
28357
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
28358
+ registeredAt: string;
28359
+ phase: "cancelled" | "delivered" | "open" | "resolved";
28360
+ resolvedAt?: string | undefined;
28361
+ deliveredAt?: string | undefined;
28362
+ cancelledAt?: string | undefined;
28363
+ turnId: string;
28364
+ kind: "process";
28365
+ deadline: string;
28366
+ timeoutSeconds: number;
28367
+ pid: number;
28368
+ startToken?: string | undefined;
28369
+ exitFile?: string | undefined;
28370
+ note?: string | undefined;
28371
+ result?: {
28372
+ outcome: "deadline" | "error" | "exit_file" | "exited";
28373
+ observedAt: string;
28374
+ exitCode?: number | undefined;
28375
+ exitFileNote?: "not-an-exit-code" | undefined;
28376
+ diagnostic?: string | undefined;
28377
+ } | undefined;
28082
28378
  } | {
28083
28379
  id: string;
28084
28380
  source: "agent" | "cezar";
@@ -28140,30 +28436,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28140
28436
  reason: "outcome" | "timeout";
28141
28437
  } | undefined;
28142
28438
  wakeInputId?: string | undefined;
28143
- } | {
28144
- id: string;
28145
- source: "agent" | "cezar";
28146
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
28147
- registeredAt: string;
28148
- phase: "cancelled" | "delivered" | "open" | "resolved";
28149
- resolvedAt?: string | undefined;
28150
- deliveredAt?: string | undefined;
28151
- cancelledAt?: string | undefined;
28152
- turnId: string;
28153
- kind: "process";
28154
- deadline: string;
28155
- timeoutSeconds: number;
28156
- pid: number;
28157
- startToken?: string | undefined;
28158
- exitFile?: string | undefined;
28159
- note?: string | undefined;
28160
- result?: {
28161
- outcome: "deadline" | "error" | "exit_file" | "exited";
28162
- observedAt: string;
28163
- exitCode?: number | undefined;
28164
- exitFileNote?: "not-an-exit-code" | undefined;
28165
- diagnostic?: string | undefined;
28166
- } | undefined;
28167
28439
  } | {
28168
28440
  id: string;
28169
28441
  source: "agent" | "cezar";
@@ -28295,6 +28567,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28295
28567
  deadline: string;
28296
28568
  seconds: number;
28297
28569
  note?: string | undefined;
28570
+ } | {
28571
+ id: string;
28572
+ source: "agent" | "cezar";
28573
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
28574
+ registeredAt: string;
28575
+ phase: "cancelled" | "delivered" | "open" | "resolved";
28576
+ resolvedAt?: string | undefined;
28577
+ deliveredAt?: string | undefined;
28578
+ cancelledAt?: string | undefined;
28579
+ turnId: string;
28580
+ kind: "process";
28581
+ deadline: string;
28582
+ timeoutSeconds: number;
28583
+ pid: number;
28584
+ startToken?: string | undefined;
28585
+ exitFile?: string | undefined;
28586
+ note?: string | undefined;
28587
+ result?: {
28588
+ outcome: "deadline" | "error" | "exit_file" | "exited";
28589
+ observedAt: string;
28590
+ exitCode?: number | undefined;
28591
+ exitFileNote?: "not-an-exit-code" | undefined;
28592
+ diagnostic?: string | undefined;
28593
+ } | undefined;
28298
28594
  } | {
28299
28595
  id: string;
28300
28596
  source: "agent" | "cezar";
@@ -28356,30 +28652,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28356
28652
  reason: "outcome" | "timeout";
28357
28653
  } | undefined;
28358
28654
  wakeInputId?: string | undefined;
28359
- } | {
28360
- id: string;
28361
- source: "agent" | "cezar";
28362
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
28363
- registeredAt: string;
28364
- phase: "cancelled" | "delivered" | "open" | "resolved";
28365
- resolvedAt?: string | undefined;
28366
- deliveredAt?: string | undefined;
28367
- cancelledAt?: string | undefined;
28368
- turnId: string;
28369
- kind: "process";
28370
- deadline: string;
28371
- timeoutSeconds: number;
28372
- pid: number;
28373
- startToken?: string | undefined;
28374
- exitFile?: string | undefined;
28375
- note?: string | undefined;
28376
- result?: {
28377
- outcome: "deadline" | "error" | "exit_file" | "exited";
28378
- observedAt: string;
28379
- exitCode?: number | undefined;
28380
- exitFileNote?: "not-an-exit-code" | undefined;
28381
- diagnostic?: string | undefined;
28382
- } | undefined;
28383
28655
  } | {
28384
28656
  id: string;
28385
28657
  source: "agent" | "cezar";
@@ -28495,6 +28767,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28495
28767
  nextAt: string;
28496
28768
  needsAttention?: true | undefined;
28497
28769
  } | undefined;
28770
+ result?: {
28771
+ revision: number;
28772
+ snapshotId: string;
28773
+ observedAt: string;
28774
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
28775
+ previous?: {
28776
+ revision: number;
28777
+ observedAt: string;
28778
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
28779
+ } | undefined;
28780
+ } | undefined;
28781
+ executionRevision?: number | undefined;
28782
+ executionStartSeq?: number | undefined;
28783
+ workerAcknowledgements?: {
28784
+ workerId: string;
28785
+ revision: number;
28786
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
28787
+ observedAt: string;
28788
+ }[] | undefined;
28498
28789
  notify?: boolean | undefined;
28499
28790
  webhook?: {
28500
28791
  lastDeliveredAt?: string | undefined;
@@ -28800,6 +29091,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28800
29091
  deadline: string;
28801
29092
  seconds: number;
28802
29093
  note?: string | undefined;
29094
+ } | {
29095
+ id: string;
29096
+ source: "agent" | "cezar";
29097
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
29098
+ registeredAt: string;
29099
+ phase: "cancelled" | "delivered" | "open" | "resolved";
29100
+ resolvedAt?: string | undefined;
29101
+ deliveredAt?: string | undefined;
29102
+ cancelledAt?: string | undefined;
29103
+ turnId: string;
29104
+ kind: "process";
29105
+ deadline: string;
29106
+ timeoutSeconds: number;
29107
+ pid: number;
29108
+ startToken?: string | undefined;
29109
+ exitFile?: string | undefined;
29110
+ note?: string | undefined;
29111
+ result?: {
29112
+ outcome: "deadline" | "error" | "exit_file" | "exited";
29113
+ observedAt: string;
29114
+ exitCode?: number | undefined;
29115
+ exitFileNote?: "not-an-exit-code" | undefined;
29116
+ diagnostic?: string | undefined;
29117
+ } | undefined;
28803
29118
  } | {
28804
29119
  id: string;
28805
29120
  source: "agent" | "cezar";
@@ -28861,30 +29176,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28861
29176
  reason: "outcome" | "timeout";
28862
29177
  } | undefined;
28863
29178
  wakeInputId?: string | undefined;
28864
- } | {
28865
- id: string;
28866
- source: "agent" | "cezar";
28867
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
28868
- registeredAt: string;
28869
- phase: "cancelled" | "delivered" | "open" | "resolved";
28870
- resolvedAt?: string | undefined;
28871
- deliveredAt?: string | undefined;
28872
- cancelledAt?: string | undefined;
28873
- turnId: string;
28874
- kind: "process";
28875
- deadline: string;
28876
- timeoutSeconds: number;
28877
- pid: number;
28878
- startToken?: string | undefined;
28879
- exitFile?: string | undefined;
28880
- note?: string | undefined;
28881
- result?: {
28882
- outcome: "deadline" | "error" | "exit_file" | "exited";
28883
- observedAt: string;
28884
- exitCode?: number | undefined;
28885
- exitFileNote?: "not-an-exit-code" | undefined;
28886
- diagnostic?: string | undefined;
28887
- } | undefined;
28888
29179
  } | {
28889
29180
  id: string;
28890
29181
  source: "agent" | "cezar";
@@ -29017,6 +29308,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29017
29308
  deadline: string;
29018
29309
  seconds: number;
29019
29310
  note?: string | undefined;
29311
+ } | {
29312
+ id: string;
29313
+ source: "agent" | "cezar";
29314
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
29315
+ registeredAt: string;
29316
+ phase: "cancelled" | "delivered" | "open" | "resolved";
29317
+ resolvedAt?: string | undefined;
29318
+ deliveredAt?: string | undefined;
29319
+ cancelledAt?: string | undefined;
29320
+ turnId: string;
29321
+ kind: "process";
29322
+ deadline: string;
29323
+ timeoutSeconds: number;
29324
+ pid: number;
29325
+ startToken?: string | undefined;
29326
+ exitFile?: string | undefined;
29327
+ note?: string | undefined;
29328
+ result?: {
29329
+ outcome: "deadline" | "error" | "exit_file" | "exited";
29330
+ observedAt: string;
29331
+ exitCode?: number | undefined;
29332
+ exitFileNote?: "not-an-exit-code" | undefined;
29333
+ diagnostic?: string | undefined;
29334
+ } | undefined;
29020
29335
  } | {
29021
29336
  id: string;
29022
29337
  source: "agent" | "cezar";
@@ -29078,30 +29393,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29078
29393
  reason: "outcome" | "timeout";
29079
29394
  } | undefined;
29080
29395
  wakeInputId?: string | undefined;
29081
- } | {
29082
- id: string;
29083
- source: "agent" | "cezar";
29084
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
29085
- registeredAt: string;
29086
- phase: "cancelled" | "delivered" | "open" | "resolved";
29087
- resolvedAt?: string | undefined;
29088
- deliveredAt?: string | undefined;
29089
- cancelledAt?: string | undefined;
29090
- turnId: string;
29091
- kind: "process";
29092
- deadline: string;
29093
- timeoutSeconds: number;
29094
- pid: number;
29095
- startToken?: string | undefined;
29096
- exitFile?: string | undefined;
29097
- note?: string | undefined;
29098
- result?: {
29099
- outcome: "deadline" | "error" | "exit_file" | "exited";
29100
- observedAt: string;
29101
- exitCode?: number | undefined;
29102
- exitFileNote?: "not-an-exit-code" | undefined;
29103
- diagnostic?: string | undefined;
29104
- } | undefined;
29105
29396
  } | {
29106
29397
  id: string;
29107
29398
  source: "agent" | "cezar";
@@ -29233,6 +29524,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29233
29524
  deadline: string;
29234
29525
  seconds: number;
29235
29526
  note?: string | undefined;
29527
+ } | {
29528
+ id: string;
29529
+ source: "agent" | "cezar";
29530
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
29531
+ registeredAt: string;
29532
+ phase: "cancelled" | "delivered" | "open" | "resolved";
29533
+ resolvedAt?: string | undefined;
29534
+ deliveredAt?: string | undefined;
29535
+ cancelledAt?: string | undefined;
29536
+ turnId: string;
29537
+ kind: "process";
29538
+ deadline: string;
29539
+ timeoutSeconds: number;
29540
+ pid: number;
29541
+ startToken?: string | undefined;
29542
+ exitFile?: string | undefined;
29543
+ note?: string | undefined;
29544
+ result?: {
29545
+ outcome: "deadline" | "error" | "exit_file" | "exited";
29546
+ observedAt: string;
29547
+ exitCode?: number | undefined;
29548
+ exitFileNote?: "not-an-exit-code" | undefined;
29549
+ diagnostic?: string | undefined;
29550
+ } | undefined;
29236
29551
  } | {
29237
29552
  id: string;
29238
29553
  source: "agent" | "cezar";
@@ -29294,30 +29609,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29294
29609
  reason: "outcome" | "timeout";
29295
29610
  } | undefined;
29296
29611
  wakeInputId?: string | undefined;
29297
- } | {
29298
- id: string;
29299
- source: "agent" | "cezar";
29300
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
29301
- registeredAt: string;
29302
- phase: "cancelled" | "delivered" | "open" | "resolved";
29303
- resolvedAt?: string | undefined;
29304
- deliveredAt?: string | undefined;
29305
- cancelledAt?: string | undefined;
29306
- turnId: string;
29307
- kind: "process";
29308
- deadline: string;
29309
- timeoutSeconds: number;
29310
- pid: number;
29311
- startToken?: string | undefined;
29312
- exitFile?: string | undefined;
29313
- note?: string | undefined;
29314
- result?: {
29315
- outcome: "deadline" | "error" | "exit_file" | "exited";
29316
- observedAt: string;
29317
- exitCode?: number | undefined;
29318
- exitFileNote?: "not-an-exit-code" | undefined;
29319
- diagnostic?: string | undefined;
29320
- } | undefined;
29321
29612
  } | {
29322
29613
  id: string;
29323
29614
  source: "agent" | "cezar";
@@ -29714,6 +30005,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29714
30005
  nextAt: string;
29715
30006
  needsAttention?: true | undefined;
29716
30007
  } | undefined;
30008
+ result?: {
30009
+ revision: number;
30010
+ snapshotId: string;
30011
+ observedAt: string;
30012
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
30013
+ previous?: {
30014
+ revision: number;
30015
+ observedAt: string;
30016
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
30017
+ } | undefined;
30018
+ } | undefined;
30019
+ executionRevision?: number | undefined;
30020
+ executionStartSeq?: number | undefined;
30021
+ workerAcknowledgements?: {
30022
+ workerId: string;
30023
+ revision: number;
30024
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
30025
+ observedAt: string;
30026
+ }[] | undefined;
29717
30027
  stopping?: boolean | undefined;
29718
30028
  autoResumeAt?: string | undefined;
29719
30029
  autoResumeAttempts?: number | undefined;
@@ -30324,6 +30634,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30324
30634
  deadline: string;
30325
30635
  seconds: number;
30326
30636
  note?: string | undefined;
30637
+ } | {
30638
+ id: string;
30639
+ source: "agent" | "cezar";
30640
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
30641
+ registeredAt: string;
30642
+ phase: "cancelled" | "delivered" | "open" | "resolved";
30643
+ resolvedAt?: string | undefined;
30644
+ deliveredAt?: string | undefined;
30645
+ cancelledAt?: string | undefined;
30646
+ turnId: string;
30647
+ kind: "process";
30648
+ deadline: string;
30649
+ timeoutSeconds: number;
30650
+ pid: number;
30651
+ startToken?: string | undefined;
30652
+ exitFile?: string | undefined;
30653
+ note?: string | undefined;
30654
+ result?: {
30655
+ outcome: "deadline" | "error" | "exit_file" | "exited";
30656
+ observedAt: string;
30657
+ exitCode?: number | undefined;
30658
+ exitFileNote?: "not-an-exit-code" | undefined;
30659
+ diagnostic?: string | undefined;
30660
+ } | undefined;
30327
30661
  } | {
30328
30662
  id: string;
30329
30663
  source: "agent" | "cezar";
@@ -30385,30 +30719,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30385
30719
  reason: "outcome" | "timeout";
30386
30720
  } | undefined;
30387
30721
  wakeInputId?: string | undefined;
30388
- } | {
30389
- id: string;
30390
- source: "agent" | "cezar";
30391
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
30392
- registeredAt: string;
30393
- phase: "cancelled" | "delivered" | "open" | "resolved";
30394
- resolvedAt?: string | undefined;
30395
- deliveredAt?: string | undefined;
30396
- cancelledAt?: string | undefined;
30397
- turnId: string;
30398
- kind: "process";
30399
- deadline: string;
30400
- timeoutSeconds: number;
30401
- pid: number;
30402
- startToken?: string | undefined;
30403
- exitFile?: string | undefined;
30404
- note?: string | undefined;
30405
- result?: {
30406
- outcome: "deadline" | "error" | "exit_file" | "exited";
30407
- observedAt: string;
30408
- exitCode?: number | undefined;
30409
- exitFileNote?: "not-an-exit-code" | undefined;
30410
- diagnostic?: string | undefined;
30411
- } | undefined;
30412
30722
  } | {
30413
30723
  id: string;
30414
30724
  source: "agent" | "cezar";
@@ -30541,6 +30851,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30541
30851
  deadline: string;
30542
30852
  seconds: number;
30543
30853
  note?: string | undefined;
30854
+ } | {
30855
+ id: string;
30856
+ source: "agent" | "cezar";
30857
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
30858
+ registeredAt: string;
30859
+ phase: "cancelled" | "delivered" | "open" | "resolved";
30860
+ resolvedAt?: string | undefined;
30861
+ deliveredAt?: string | undefined;
30862
+ cancelledAt?: string | undefined;
30863
+ turnId: string;
30864
+ kind: "process";
30865
+ deadline: string;
30866
+ timeoutSeconds: number;
30867
+ pid: number;
30868
+ startToken?: string | undefined;
30869
+ exitFile?: string | undefined;
30870
+ note?: string | undefined;
30871
+ result?: {
30872
+ outcome: "deadline" | "error" | "exit_file" | "exited";
30873
+ observedAt: string;
30874
+ exitCode?: number | undefined;
30875
+ exitFileNote?: "not-an-exit-code" | undefined;
30876
+ diagnostic?: string | undefined;
30877
+ } | undefined;
30544
30878
  } | {
30545
30879
  id: string;
30546
30880
  source: "agent" | "cezar";
@@ -30602,30 +30936,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30602
30936
  reason: "outcome" | "timeout";
30603
30937
  } | undefined;
30604
30938
  wakeInputId?: string | undefined;
30605
- } | {
30606
- id: string;
30607
- source: "agent" | "cezar";
30608
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
30609
- registeredAt: string;
30610
- phase: "cancelled" | "delivered" | "open" | "resolved";
30611
- resolvedAt?: string | undefined;
30612
- deliveredAt?: string | undefined;
30613
- cancelledAt?: string | undefined;
30614
- turnId: string;
30615
- kind: "process";
30616
- deadline: string;
30617
- timeoutSeconds: number;
30618
- pid: number;
30619
- startToken?: string | undefined;
30620
- exitFile?: string | undefined;
30621
- note?: string | undefined;
30622
- result?: {
30623
- outcome: "deadline" | "error" | "exit_file" | "exited";
30624
- observedAt: string;
30625
- exitCode?: number | undefined;
30626
- exitFileNote?: "not-an-exit-code" | undefined;
30627
- diagnostic?: string | undefined;
30628
- } | undefined;
30629
30939
  } | {
30630
30940
  id: string;
30631
30941
  source: "agent" | "cezar";
@@ -30757,6 +31067,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30757
31067
  deadline: string;
30758
31068
  seconds: number;
30759
31069
  note?: string | undefined;
31070
+ } | {
31071
+ id: string;
31072
+ source: "agent" | "cezar";
31073
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
31074
+ registeredAt: string;
31075
+ phase: "cancelled" | "delivered" | "open" | "resolved";
31076
+ resolvedAt?: string | undefined;
31077
+ deliveredAt?: string | undefined;
31078
+ cancelledAt?: string | undefined;
31079
+ turnId: string;
31080
+ kind: "process";
31081
+ deadline: string;
31082
+ timeoutSeconds: number;
31083
+ pid: number;
31084
+ startToken?: string | undefined;
31085
+ exitFile?: string | undefined;
31086
+ note?: string | undefined;
31087
+ result?: {
31088
+ outcome: "deadline" | "error" | "exit_file" | "exited";
31089
+ observedAt: string;
31090
+ exitCode?: number | undefined;
31091
+ exitFileNote?: "not-an-exit-code" | undefined;
31092
+ diagnostic?: string | undefined;
31093
+ } | undefined;
30760
31094
  } | {
30761
31095
  id: string;
30762
31096
  source: "agent" | "cezar";
@@ -30818,30 +31152,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30818
31152
  reason: "outcome" | "timeout";
30819
31153
  } | undefined;
30820
31154
  wakeInputId?: string | undefined;
30821
- } | {
30822
- id: string;
30823
- source: "agent" | "cezar";
30824
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
30825
- registeredAt: string;
30826
- phase: "cancelled" | "delivered" | "open" | "resolved";
30827
- resolvedAt?: string | undefined;
30828
- deliveredAt?: string | undefined;
30829
- cancelledAt?: string | undefined;
30830
- turnId: string;
30831
- kind: "process";
30832
- deadline: string;
30833
- timeoutSeconds: number;
30834
- pid: number;
30835
- startToken?: string | undefined;
30836
- exitFile?: string | undefined;
30837
- note?: string | undefined;
30838
- result?: {
30839
- outcome: "deadline" | "error" | "exit_file" | "exited";
30840
- observedAt: string;
30841
- exitCode?: number | undefined;
30842
- exitFileNote?: "not-an-exit-code" | undefined;
30843
- diagnostic?: string | undefined;
30844
- } | undefined;
30845
31155
  } | {
30846
31156
  id: string;
30847
31157
  source: "agent" | "cezar";
@@ -30957,6 +31267,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30957
31267
  nextAt: string;
30958
31268
  needsAttention?: true | undefined;
30959
31269
  } | undefined;
31270
+ result?: {
31271
+ revision: number;
31272
+ snapshotId: string;
31273
+ observedAt: string;
31274
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
31275
+ previous?: {
31276
+ revision: number;
31277
+ observedAt: string;
31278
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
31279
+ } | undefined;
31280
+ } | undefined;
31281
+ executionRevision?: number | undefined;
31282
+ executionStartSeq?: number | undefined;
31283
+ workerAcknowledgements?: {
31284
+ workerId: string;
31285
+ revision: number;
31286
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
31287
+ observedAt: string;
31288
+ }[] | undefined;
30960
31289
  notify?: boolean | undefined;
30961
31290
  webhook?: {
30962
31291
  lastDeliveredAt?: string | undefined;
@@ -31392,6 +31721,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31392
31721
  deadline: string;
31393
31722
  seconds: number;
31394
31723
  note?: string | undefined;
31724
+ } | {
31725
+ id: string;
31726
+ source: "agent" | "cezar";
31727
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
31728
+ registeredAt: string;
31729
+ phase: "cancelled" | "delivered" | "open" | "resolved";
31730
+ resolvedAt?: string | undefined;
31731
+ deliveredAt?: string | undefined;
31732
+ cancelledAt?: string | undefined;
31733
+ turnId: string;
31734
+ kind: "process";
31735
+ deadline: string;
31736
+ timeoutSeconds: number;
31737
+ pid: number;
31738
+ startToken?: string | undefined;
31739
+ exitFile?: string | undefined;
31740
+ note?: string | undefined;
31741
+ result?: {
31742
+ outcome: "deadline" | "error" | "exit_file" | "exited";
31743
+ observedAt: string;
31744
+ exitCode?: number | undefined;
31745
+ exitFileNote?: "not-an-exit-code" | undefined;
31746
+ diagnostic?: string | undefined;
31747
+ } | undefined;
31395
31748
  } | {
31396
31749
  id: string;
31397
31750
  source: "agent" | "cezar";
@@ -31453,30 +31806,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31453
31806
  reason: "outcome" | "timeout";
31454
31807
  } | undefined;
31455
31808
  wakeInputId?: string | undefined;
31456
- } | {
31457
- id: string;
31458
- source: "agent" | "cezar";
31459
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
31460
- registeredAt: string;
31461
- phase: "cancelled" | "delivered" | "open" | "resolved";
31462
- resolvedAt?: string | undefined;
31463
- deliveredAt?: string | undefined;
31464
- cancelledAt?: string | undefined;
31465
- turnId: string;
31466
- kind: "process";
31467
- deadline: string;
31468
- timeoutSeconds: number;
31469
- pid: number;
31470
- startToken?: string | undefined;
31471
- exitFile?: string | undefined;
31472
- note?: string | undefined;
31473
- result?: {
31474
- outcome: "deadline" | "error" | "exit_file" | "exited";
31475
- observedAt: string;
31476
- exitCode?: number | undefined;
31477
- exitFileNote?: "not-an-exit-code" | undefined;
31478
- diagnostic?: string | undefined;
31479
- } | undefined;
31480
31809
  } | {
31481
31810
  id: string;
31482
31811
  source: "agent" | "cezar";
@@ -31609,6 +31938,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31609
31938
  deadline: string;
31610
31939
  seconds: number;
31611
31940
  note?: string | undefined;
31941
+ } | {
31942
+ id: string;
31943
+ source: "agent" | "cezar";
31944
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
31945
+ registeredAt: string;
31946
+ phase: "cancelled" | "delivered" | "open" | "resolved";
31947
+ resolvedAt?: string | undefined;
31948
+ deliveredAt?: string | undefined;
31949
+ cancelledAt?: string | undefined;
31950
+ turnId: string;
31951
+ kind: "process";
31952
+ deadline: string;
31953
+ timeoutSeconds: number;
31954
+ pid: number;
31955
+ startToken?: string | undefined;
31956
+ exitFile?: string | undefined;
31957
+ note?: string | undefined;
31958
+ result?: {
31959
+ outcome: "deadline" | "error" | "exit_file" | "exited";
31960
+ observedAt: string;
31961
+ exitCode?: number | undefined;
31962
+ exitFileNote?: "not-an-exit-code" | undefined;
31963
+ diagnostic?: string | undefined;
31964
+ } | undefined;
31612
31965
  } | {
31613
31966
  id: string;
31614
31967
  source: "agent" | "cezar";
@@ -31670,30 +32023,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31670
32023
  reason: "outcome" | "timeout";
31671
32024
  } | undefined;
31672
32025
  wakeInputId?: string | undefined;
31673
- } | {
31674
- id: string;
31675
- source: "agent" | "cezar";
31676
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
31677
- registeredAt: string;
31678
- phase: "cancelled" | "delivered" | "open" | "resolved";
31679
- resolvedAt?: string | undefined;
31680
- deliveredAt?: string | undefined;
31681
- cancelledAt?: string | undefined;
31682
- turnId: string;
31683
- kind: "process";
31684
- deadline: string;
31685
- timeoutSeconds: number;
31686
- pid: number;
31687
- startToken?: string | undefined;
31688
- exitFile?: string | undefined;
31689
- note?: string | undefined;
31690
- result?: {
31691
- outcome: "deadline" | "error" | "exit_file" | "exited";
31692
- observedAt: string;
31693
- exitCode?: number | undefined;
31694
- exitFileNote?: "not-an-exit-code" | undefined;
31695
- diagnostic?: string | undefined;
31696
- } | undefined;
31697
32026
  } | {
31698
32027
  id: string;
31699
32028
  source: "agent" | "cezar";
@@ -31825,6 +32154,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31825
32154
  deadline: string;
31826
32155
  seconds: number;
31827
32156
  note?: string | undefined;
32157
+ } | {
32158
+ id: string;
32159
+ source: "agent" | "cezar";
32160
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
32161
+ registeredAt: string;
32162
+ phase: "cancelled" | "delivered" | "open" | "resolved";
32163
+ resolvedAt?: string | undefined;
32164
+ deliveredAt?: string | undefined;
32165
+ cancelledAt?: string | undefined;
32166
+ turnId: string;
32167
+ kind: "process";
32168
+ deadline: string;
32169
+ timeoutSeconds: number;
32170
+ pid: number;
32171
+ startToken?: string | undefined;
32172
+ exitFile?: string | undefined;
32173
+ note?: string | undefined;
32174
+ result?: {
32175
+ outcome: "deadline" | "error" | "exit_file" | "exited";
32176
+ observedAt: string;
32177
+ exitCode?: number | undefined;
32178
+ exitFileNote?: "not-an-exit-code" | undefined;
32179
+ diagnostic?: string | undefined;
32180
+ } | undefined;
31828
32181
  } | {
31829
32182
  id: string;
31830
32183
  source: "agent" | "cezar";
@@ -31886,30 +32239,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31886
32239
  reason: "outcome" | "timeout";
31887
32240
  } | undefined;
31888
32241
  wakeInputId?: string | undefined;
31889
- } | {
31890
- id: string;
31891
- source: "agent" | "cezar";
31892
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
31893
- registeredAt: string;
31894
- phase: "cancelled" | "delivered" | "open" | "resolved";
31895
- resolvedAt?: string | undefined;
31896
- deliveredAt?: string | undefined;
31897
- cancelledAt?: string | undefined;
31898
- turnId: string;
31899
- kind: "process";
31900
- deadline: string;
31901
- timeoutSeconds: number;
31902
- pid: number;
31903
- startToken?: string | undefined;
31904
- exitFile?: string | undefined;
31905
- note?: string | undefined;
31906
- result?: {
31907
- outcome: "deadline" | "error" | "exit_file" | "exited";
31908
- observedAt: string;
31909
- exitCode?: number | undefined;
31910
- exitFileNote?: "not-an-exit-code" | undefined;
31911
- diagnostic?: string | undefined;
31912
- } | undefined;
31913
32242
  } | {
31914
32243
  id: string;
31915
32244
  source: "agent" | "cezar";
@@ -32306,6 +32635,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32306
32635
  nextAt: string;
32307
32636
  needsAttention?: true | undefined;
32308
32637
  } | undefined;
32638
+ result?: {
32639
+ revision: number;
32640
+ snapshotId: string;
32641
+ observedAt: string;
32642
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
32643
+ previous?: {
32644
+ revision: number;
32645
+ observedAt: string;
32646
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
32647
+ } | undefined;
32648
+ } | undefined;
32649
+ executionRevision?: number | undefined;
32650
+ executionStartSeq?: number | undefined;
32651
+ workerAcknowledgements?: {
32652
+ workerId: string;
32653
+ revision: number;
32654
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
32655
+ observedAt: string;
32656
+ }[] | undefined;
32309
32657
  stopping?: boolean | undefined;
32310
32658
  autoResumeAt?: string | undefined;
32311
32659
  autoResumeAttempts?: number | undefined;