@hearsay-tools/squawk 0.19.0-dev.8980 → 0.19.0-dev.8992

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 (108) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/index.js +13 -1
  3. package/dist/contract/repo.d.ts +19 -0
  4. package/dist/core/forge-registry.d.ts +9 -0
  5. package/dist/core/forge-registry.js.map +1 -1
  6. package/dist/delegation/transport.d.ts +65 -65
  7. package/dist/features/automations/tools.d.ts +8 -8
  8. package/dist/features/github/github-branch-forge.d.ts +14 -2
  9. package/dist/features/github/github-branch-forge.js +68 -2
  10. package/dist/features/github/github-branch-forge.js.map +1 -1
  11. package/dist/features/github/github-forge.js +1 -0
  12. package/dist/features/github/github-forge.js.map +1 -1
  13. package/dist/server/repo-branch-forge.d.ts +10 -2
  14. package/dist/server/repo-branch-forge.js +25 -2
  15. package/dist/server/repo-branch-forge.js.map +1 -1
  16. package/dist/server/repo-branch-git.d.ts +6 -0
  17. package/dist/server/repo-branch-git.js +35 -0
  18. package/dist/server/repo-branch-git.js.map +1 -0
  19. package/dist/server/repo-branches.js +66 -47
  20. package/dist/server/repo-branches.js.map +1 -1
  21. package/dist/server/repo-routes.d.ts +2 -0
  22. package/dist/server/runs-routes.d.ts +719 -719
  23. package/dist/server/server.d.ts +44 -40
  24. package/package.json +4 -4
  25. package/scripts/mock-env-record.mjs +7 -4
  26. package/web/dist/assets/{accounts-section-D4JcHFyu.js → accounts-section-C0MLZW_M.js} +1 -1
  27. package/web/dist/assets/{activity-motion-CkFrDHAS.js → activity-motion-DGWsLSV_.js} +1 -1
  28. package/web/dist/assets/{activity-route-9l7HbN61.js → activity-route-DbRrSGTZ.js} +1 -1
  29. package/web/dist/assets/{agent-config-section-D0yOFooo.js → agent-config-section-S-NNHyTj.js} +2 -2
  30. package/web/dist/assets/agent-defaults-section-D47ydO6M.js +1 -0
  31. package/web/dist/assets/{appearance-CPSQmzD9.js → appearance-BVzMVCDZ.js} +1 -1
  32. package/web/dist/assets/{archive-on-merge-field-BJM7BDf3.js → archive-on-merge-field-C7bZaOku.js} +1 -1
  33. package/web/dist/assets/attention-vW5nmGoK.js +1 -0
  34. package/web/dist/assets/{automations-route-C1IpJvWC.js → automations-route-DGTAb8A_.js} +2 -2
  35. package/web/dist/assets/{commit-list-BBJ7Igij.js → commit-list-Bt4Z1k-3.js} +1 -1
  36. package/web/dist/assets/{diff-C1JIcjiI.js → diff-Chs69ao_.js} +2 -2
  37. package/web/dist/assets/{diff-controls-eMh8T2wX.js → diff-controls-M-rIqFWN.js} +1 -1
  38. package/web/dist/assets/{diff-view-CSYxKGKP.js → diff-view-bLKcANO6.js} +1 -1
  39. package/web/dist/assets/discard-changes-dialog-CZ-BAjRM.js +1 -0
  40. package/web/dist/assets/file-preview-QXwZnRnZ.js +2 -0
  41. package/web/dist/assets/{folder-browser-BgGSB2gk.js → folder-browser-DcR_vo2i.js} +1 -1
  42. package/web/dist/assets/{git-toolbar-BY1yZKBF.js → git-toolbar-xBysCptA.js} +1 -1
  43. package/web/dist/assets/github-Dq8Qn_Dk.js +1 -0
  44. package/web/dist/assets/{global-activity-route-DP_yBJsq.js → global-activity-route-D7OxyX_e.js} +2 -2
  45. package/web/dist/assets/{index-BXyNYltk.css → index-CzyjmihQ.css} +1 -1
  46. package/web/dist/assets/index-DDtQlxLH.js +21 -0
  47. package/web/dist/assets/{label-CxJpzeLL.js → label-CqoNP6Yh.js} +1 -1
  48. package/web/dist/assets/{markdown-pTQo8h1T.js → markdown-B4GFEGdE.js} +1 -1
  49. package/web/dist/assets/{open-in-menu-CmsJeSrD.js → open-in-menu-CsH3KL0z.js} +1 -1
  50. package/web/dist/assets/{option-select-CZ0au33L.js → option-select-BOeViuCv.js} +1 -1
  51. package/web/dist/assets/{preferences-section-DCwUztp1.js → preferences-section-DqsNZiXr.js} +1 -1
  52. package/web/dist/assets/preview-pane-connected-lQ_w4jh_.js +3 -0
  53. package/web/dist/assets/{project-location-DgXLFHie.js → project-location-DeNUqsgL.js} +1 -1
  54. package/web/dist/assets/{project-router-BNcdL2CI.js → project-router-DvfVUjon.js} +1 -1
  55. package/web/dist/assets/{projects-section-4zkjhDuP.js → projects-section-Bne5q9Zl.js} +1 -1
  56. package/web/dist/assets/{prompt-templates-section-BfWXmMv2.js → prompt-templates-section-wEXQFITb.js} +2 -2
  57. package/web/dist/assets/{queries-BSxNcgZm.js → queries-B8INH8MM.js} +1 -1
  58. package/web/dist/assets/{reference-chip-DFwi97Ps.js → reference-chip-DDv209Ry.js} +1 -1
  59. package/web/dist/assets/{remote-settings-notice-v8nM4EFt.js → remote-settings-notice-ZPTZta4J.js} +1 -1
  60. package/web/dist/assets/repo-git-DFbTe7cL.css +1 -0
  61. package/web/dist/assets/repo-git-orRzt9hM.js +1 -0
  62. package/web/dist/assets/{report-reader-br4qr_cf.js → report-reader-7LXPgypR.js} +1 -1
  63. package/web/dist/assets/{report-selection-CaEdb2HO.js → report-selection-fGMhVMQi.js} +1 -1
  64. package/web/dist/assets/{reports-BmW0MxQS.js → reports-BLzMjV0A.js} +1 -1
  65. package/web/dist/assets/{resources-section-4Nbu6SX9.js → resources-section-Bg0CLNs0.js} +1 -1
  66. package/web/dist/assets/{review-panel-BScCegzK.js → review-panel-Bmxlc-qL.js} +5 -5
  67. package/web/dist/assets/{run-detail-refresh-GbAx5_Mn.js → run-detail-refresh-CMG0OiqX.js} +1 -1
  68. package/web/dist/assets/{run-header-DPiJgSo-.js → run-header-GC4sCqc9.js} +2 -2
  69. package/web/dist/assets/{select-C1DuBMH_.js → select-DJ96FKkN.js} +1 -1
  70. package/web/dist/assets/{session-context-section-D3cboKUj.js → session-context-section-J5dOI7wy.js} +2 -2
  71. package/web/dist/assets/{settings-agent-picker-Dfpkb1BV.js → settings-agent-picker-AIys0-g4.js} +1 -1
  72. package/web/dist/assets/{settings-save-bar-D6_OuAVS.js → settings-save-bar-hxduqYzV.js} +1 -1
  73. package/web/dist/assets/{settings-shell-1mamrmf4.js → settings-shell-BKrwxtH3.js} +1 -1
  74. package/web/dist/assets/{sidebar-section-b6sRM7jE.js → sidebar-section-BOLBt6ht.js} +1 -1
  75. package/web/dist/assets/{skills-C30XIl36.js → skills-cirmZTle.js} +1 -1
  76. package/web/dist/assets/{tab-link-BrzzZnhE.js → tab-link-D97ij5JR.js} +1 -1
  77. package/web/dist/assets/{task-changes-DddXsOz9.js → task-changes-n6YG81dZ.js} +1 -1
  78. package/web/dist/assets/task-commits-B2kRm9wv.js +1 -0
  79. package/web/dist/assets/{task-file-scope-iKAyonAT.js → task-file-scope-VqZwLAhF.js} +1 -1
  80. package/web/dist/assets/task-files-DQnLpO6C.js +1 -0
  81. package/web/dist/assets/task-github-item-BCa7NBSF.js +1 -0
  82. package/web/dist/assets/{task-groups-CsjJ9R5Y.js → task-groups-COb-xWM_.js} +1 -1
  83. package/web/dist/assets/{task-thread-Dnr-230B.js → task-thread-BVuc26YV.js} +2 -2
  84. package/web/dist/assets/{tasks-table--jkwCj2N.js → tasks-table-CyUTCD9k.js} +1 -1
  85. package/web/dist/assets/thread-state-Cu3lYPx3.js +4 -0
  86. package/web/dist/assets/{toaster-BJG79kO8.js → toaster-Cjr2jC1Q.js} +1 -1
  87. package/web/dist/assets/{use-hand-to-agent-state-L5WXggAl.js → use-hand-to-agent-state-DC_mgEa8.js} +1 -1
  88. package/web/dist/assets/use-path-bases-BNiDz4sw.js +1 -0
  89. package/web/dist/assets/use-workspace-config-save-Do4bGg72.js +1 -0
  90. package/web/dist/assets/{workflows-BY8BG_hN.js → workflows-DcsG1apu.js} +3 -3
  91. package/web/dist/assets/{workspace-tools-DVnZs_qc.js → workspace-tools-BlsGt8_D.js} +1 -1
  92. package/web/dist/assets/{worktrees-section-C3y-OvKl.js → worktrees-section-CGN4CXhC.js} +1 -1
  93. package/web/dist/index.html +14 -14
  94. package/web/dist/assets/agent-defaults-section-DsQc_03b.js +0 -1
  95. package/web/dist/assets/attention-BHNhUrnd.js +0 -1
  96. package/web/dist/assets/discard-changes-dialog-CXo5mwrr.js +0 -1
  97. package/web/dist/assets/file-preview-CnmQ7Rsa.js +0 -2
  98. package/web/dist/assets/github-SKF8V2qz.js +0 -1
  99. package/web/dist/assets/index-CoM783-U.js +0 -21
  100. package/web/dist/assets/preview-pane-connected-TpVEOykT.js +0 -3
  101. package/web/dist/assets/repo-git-CQJSTkjN.js +0 -1
  102. package/web/dist/assets/repo-git-DVXNOJDT.css +0 -1
  103. package/web/dist/assets/task-commits-DI1DvelD.js +0 -1
  104. package/web/dist/assets/task-files-BHJJfNnG.js +0 -1
  105. package/web/dist/assets/task-github-item-CB8waROc.js +0 -1
  106. package/web/dist/assets/thread-state-CHJmKJ6J.js +0 -4
  107. package/web/dist/assets/use-path-bases-CIQDEHqC.js +0 -1
  108. package/web/dist/assets/use-workspace-config-save-DF7JuKqF.js +0 -1
@@ -94,8 +94,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
94
94
  } | undefined;
95
95
  invalidAsk?: boolean | undefined;
96
96
  delegation?: {
97
- role: "invalid";
98
- } | {
99
97
  role: "root";
100
98
  conversation?: {
101
99
  messages: {
@@ -330,6 +328,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
330
328
  } | undefined;
331
329
  executionRevision?: number | undefined;
332
330
  executionStartSeq?: number | undefined;
331
+ } | {
332
+ role: "invalid";
333
333
  } | undefined;
334
334
  agentInputs?: {
335
335
  conversation?: {
@@ -423,30 +423,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
423
423
  deadline: string;
424
424
  seconds: number;
425
425
  note?: string | undefined;
426
- } | {
427
- id: string;
428
- source: "agent" | "cezar";
429
- 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";
430
- registeredAt: string;
431
- phase: "cancelled" | "delivered" | "open" | "resolved";
432
- resolvedAt?: string | undefined;
433
- deliveredAt?: string | undefined;
434
- cancelledAt?: string | undefined;
435
- turnId: string;
436
- kind: "process";
437
- deadline: string;
438
- timeoutSeconds: number;
439
- pid: number;
440
- startToken?: string | undefined;
441
- exitFile?: string | undefined;
442
- note?: string | undefined;
443
- result?: {
444
- outcome: "deadline" | "error" | "exit_file" | "exited";
445
- observedAt: string;
446
- exitCode?: number | undefined;
447
- exitFileNote?: "not-an-exit-code" | undefined;
448
- diagnostic?: string | undefined;
449
- } | undefined;
450
426
  } | {
451
427
  id: string;
452
428
  source: "agent" | "cezar";
@@ -508,6 +484,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
508
484
  reason: "outcome" | "timeout";
509
485
  } | undefined;
510
486
  wakeInputId?: string | undefined;
487
+ } | {
488
+ id: string;
489
+ source: "agent" | "cezar";
490
+ 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";
491
+ registeredAt: string;
492
+ phase: "cancelled" | "delivered" | "open" | "resolved";
493
+ resolvedAt?: string | undefined;
494
+ deliveredAt?: string | undefined;
495
+ cancelledAt?: string | undefined;
496
+ turnId: string;
497
+ kind: "process";
498
+ deadline: string;
499
+ timeoutSeconds: number;
500
+ pid: number;
501
+ startToken?: string | undefined;
502
+ exitFile?: string | undefined;
503
+ note?: string | undefined;
504
+ result?: {
505
+ outcome: "deadline" | "error" | "exit_file" | "exited";
506
+ observedAt: string;
507
+ exitCode?: number | undefined;
508
+ exitFileNote?: "not-an-exit-code" | undefined;
509
+ diagnostic?: string | undefined;
510
+ } | undefined;
511
511
  } | {
512
512
  id: string;
513
513
  source: "agent" | "cezar";
@@ -640,30 +640,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
640
640
  deadline: string;
641
641
  seconds: number;
642
642
  note?: string | undefined;
643
- } | {
644
- id: string;
645
- source: "agent" | "cezar";
646
- 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";
647
- registeredAt: string;
648
- phase: "cancelled" | "delivered" | "open" | "resolved";
649
- resolvedAt?: string | undefined;
650
- deliveredAt?: string | undefined;
651
- cancelledAt?: string | undefined;
652
- turnId: string;
653
- kind: "process";
654
- deadline: string;
655
- timeoutSeconds: number;
656
- pid: number;
657
- startToken?: string | undefined;
658
- exitFile?: string | undefined;
659
- note?: string | undefined;
660
- result?: {
661
- outcome: "deadline" | "error" | "exit_file" | "exited";
662
- observedAt: string;
663
- exitCode?: number | undefined;
664
- exitFileNote?: "not-an-exit-code" | undefined;
665
- diagnostic?: string | undefined;
666
- } | undefined;
667
643
  } | {
668
644
  id: string;
669
645
  source: "agent" | "cezar";
@@ -725,6 +701,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
725
701
  reason: "outcome" | "timeout";
726
702
  } | undefined;
727
703
  wakeInputId?: string | undefined;
704
+ } | {
705
+ id: string;
706
+ source: "agent" | "cezar";
707
+ 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";
708
+ registeredAt: string;
709
+ phase: "cancelled" | "delivered" | "open" | "resolved";
710
+ resolvedAt?: string | undefined;
711
+ deliveredAt?: string | undefined;
712
+ cancelledAt?: string | undefined;
713
+ turnId: string;
714
+ kind: "process";
715
+ deadline: string;
716
+ timeoutSeconds: number;
717
+ pid: number;
718
+ startToken?: string | undefined;
719
+ exitFile?: string | undefined;
720
+ note?: string | undefined;
721
+ result?: {
722
+ outcome: "deadline" | "error" | "exit_file" | "exited";
723
+ observedAt: string;
724
+ exitCode?: number | undefined;
725
+ exitFileNote?: "not-an-exit-code" | undefined;
726
+ diagnostic?: string | undefined;
727
+ } | undefined;
728
728
  } | {
729
729
  id: string;
730
730
  source: "agent" | "cezar";
@@ -856,30 +856,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
856
856
  deadline: string;
857
857
  seconds: number;
858
858
  note?: string | undefined;
859
- } | {
860
- id: string;
861
- source: "agent" | "cezar";
862
- 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";
863
- registeredAt: string;
864
- phase: "cancelled" | "delivered" | "open" | "resolved";
865
- resolvedAt?: string | undefined;
866
- deliveredAt?: string | undefined;
867
- cancelledAt?: string | undefined;
868
- turnId: string;
869
- kind: "process";
870
- deadline: string;
871
- timeoutSeconds: number;
872
- pid: number;
873
- startToken?: string | undefined;
874
- exitFile?: string | undefined;
875
- note?: string | undefined;
876
- result?: {
877
- outcome: "deadline" | "error" | "exit_file" | "exited";
878
- observedAt: string;
879
- exitCode?: number | undefined;
880
- exitFileNote?: "not-an-exit-code" | undefined;
881
- diagnostic?: string | undefined;
882
- } | undefined;
883
859
  } | {
884
860
  id: string;
885
861
  source: "agent" | "cezar";
@@ -941,6 +917,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
941
917
  reason: "outcome" | "timeout";
942
918
  } | undefined;
943
919
  wakeInputId?: string | undefined;
920
+ } | {
921
+ id: string;
922
+ source: "agent" | "cezar";
923
+ 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";
924
+ registeredAt: string;
925
+ phase: "cancelled" | "delivered" | "open" | "resolved";
926
+ resolvedAt?: string | undefined;
927
+ deliveredAt?: string | undefined;
928
+ cancelledAt?: string | undefined;
929
+ turnId: string;
930
+ kind: "process";
931
+ deadline: string;
932
+ timeoutSeconds: number;
933
+ pid: number;
934
+ startToken?: string | undefined;
935
+ exitFile?: string | undefined;
936
+ note?: string | undefined;
937
+ result?: {
938
+ outcome: "deadline" | "error" | "exit_file" | "exited";
939
+ observedAt: string;
940
+ exitCode?: number | undefined;
941
+ exitFileNote?: "not-an-exit-code" | undefined;
942
+ diagnostic?: string | undefined;
943
+ } | undefined;
944
944
  } | {
945
945
  id: string;
946
946
  source: "agent" | "cezar";
@@ -1726,6 +1726,37 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1726
1726
  } & {
1727
1727
  "/runs/:id/worker-destroy": {
1728
1728
  $post: {
1729
+ output: {
1730
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1731
+ readonly error: string;
1732
+ readonly modelChoices?: {
1733
+ runner: string;
1734
+ requestedModel: string;
1735
+ availableModels: {
1736
+ id: string;
1737
+ label: string;
1738
+ description: string;
1739
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1740
+ }[];
1741
+ otherRunners: string[];
1742
+ } | undefined;
1743
+ };
1744
+ outputFormat: "json";
1745
+ status: 400 | 401 | 403 | 409 | 503;
1746
+ input: {
1747
+ query: {
1748
+ [x: string]: string | string[];
1749
+ };
1750
+ } & {
1751
+ param: {
1752
+ id: string;
1753
+ };
1754
+ } & {
1755
+ json: {
1756
+ discardWork?: true | undefined;
1757
+ };
1758
+ };
1759
+ } | {
1729
1760
  output: {
1730
1761
  error: string;
1731
1762
  code?: "invalid_input" | undefined;
@@ -1811,37 +1842,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1811
1842
  discardWork?: true | undefined;
1812
1843
  };
1813
1844
  };
1814
- } | {
1815
- output: {
1816
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1817
- readonly error: string;
1818
- readonly modelChoices?: {
1819
- runner: string;
1820
- requestedModel: string;
1821
- availableModels: {
1822
- id: string;
1823
- label: string;
1824
- description: string;
1825
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1826
- }[];
1827
- otherRunners: string[];
1828
- } | undefined;
1829
- };
1830
- outputFormat: "json";
1831
- status: 400 | 401 | 403 | 409 | 503;
1832
- input: {
1833
- query: {
1834
- [x: string]: string | string[];
1835
- };
1836
- } & {
1837
- param: {
1838
- id: string;
1839
- };
1840
- } & {
1841
- json: {
1842
- discardWork?: true | undefined;
1843
- };
1844
- };
1845
1845
  };
1846
1846
  };
1847
1847
  } & {
@@ -1941,8 +1941,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1941
1941
  } | undefined;
1942
1942
  invalidAsk?: boolean | undefined;
1943
1943
  delegation?: {
1944
- role: "invalid";
1945
- } | {
1946
1944
  role: "root";
1947
1945
  conversation?: {
1948
1946
  messages: {
@@ -2177,6 +2175,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2177
2175
  } | undefined;
2178
2176
  executionRevision?: number | undefined;
2179
2177
  executionStartSeq?: number | undefined;
2178
+ } | {
2179
+ role: "invalid";
2180
2180
  } | undefined;
2181
2181
  agentInputs?: {
2182
2182
  conversation?: {
@@ -2270,30 +2270,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2270
2270
  deadline: string;
2271
2271
  seconds: number;
2272
2272
  note?: string | undefined;
2273
- } | {
2274
- id: string;
2275
- source: "agent" | "cezar";
2276
- 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";
2277
- registeredAt: string;
2278
- phase: "cancelled" | "delivered" | "open" | "resolved";
2279
- resolvedAt?: string | undefined;
2280
- deliveredAt?: string | undefined;
2281
- cancelledAt?: string | undefined;
2282
- turnId: string;
2283
- kind: "process";
2284
- deadline: string;
2285
- timeoutSeconds: number;
2286
- pid: number;
2287
- startToken?: string | undefined;
2288
- exitFile?: string | undefined;
2289
- note?: string | undefined;
2290
- result?: {
2291
- outcome: "deadline" | "error" | "exit_file" | "exited";
2292
- observedAt: string;
2293
- exitCode?: number | undefined;
2294
- exitFileNote?: "not-an-exit-code" | undefined;
2295
- diagnostic?: string | undefined;
2296
- } | undefined;
2297
2273
  } | {
2298
2274
  id: string;
2299
2275
  source: "agent" | "cezar";
@@ -2365,22 +2341,46 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2365
2341
  deliveredAt?: string | undefined;
2366
2342
  cancelledAt?: string | undefined;
2367
2343
  turnId: string;
2368
- kind: "peer";
2344
+ kind: "process";
2369
2345
  deadline: string;
2370
2346
  timeoutSeconds: number;
2371
- peerIds: string[];
2347
+ pid: number;
2348
+ startToken?: string | undefined;
2349
+ exitFile?: string | undefined;
2350
+ note?: string | undefined;
2372
2351
  result?: {
2373
- reason: "message";
2374
- peerRunId: string;
2375
- messageId: string;
2376
- } | {
2377
- reason: "settled";
2378
- peerRunId: string;
2379
- } | {
2380
- reason: "timeout";
2381
- } | undefined;
2382
- } | {
2383
- id: string;
2352
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2353
+ observedAt: string;
2354
+ exitCode?: number | undefined;
2355
+ exitFileNote?: "not-an-exit-code" | undefined;
2356
+ diagnostic?: string | undefined;
2357
+ } | undefined;
2358
+ } | {
2359
+ id: string;
2360
+ source: "agent" | "cezar";
2361
+ 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";
2362
+ registeredAt: string;
2363
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2364
+ resolvedAt?: string | undefined;
2365
+ deliveredAt?: string | undefined;
2366
+ cancelledAt?: string | undefined;
2367
+ turnId: string;
2368
+ kind: "peer";
2369
+ deadline: string;
2370
+ timeoutSeconds: number;
2371
+ peerIds: string[];
2372
+ result?: {
2373
+ reason: "message";
2374
+ peerRunId: string;
2375
+ messageId: string;
2376
+ } | {
2377
+ reason: "settled";
2378
+ peerRunId: string;
2379
+ } | {
2380
+ reason: "timeout";
2381
+ } | undefined;
2382
+ } | {
2383
+ id: string;
2384
2384
  registeredAt: string;
2385
2385
  phase: "cancelled" | "delivered" | "open" | "resolved";
2386
2386
  resolvedAt?: string | undefined;
@@ -2487,30 +2487,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2487
2487
  deadline: string;
2488
2488
  seconds: number;
2489
2489
  note?: string | undefined;
2490
- } | {
2491
- id: string;
2492
- source: "agent" | "cezar";
2493
- 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";
2494
- registeredAt: string;
2495
- phase: "cancelled" | "delivered" | "open" | "resolved";
2496
- resolvedAt?: string | undefined;
2497
- deliveredAt?: string | undefined;
2498
- cancelledAt?: string | undefined;
2499
- turnId: string;
2500
- kind: "process";
2501
- deadline: string;
2502
- timeoutSeconds: number;
2503
- pid: number;
2504
- startToken?: string | undefined;
2505
- exitFile?: string | undefined;
2506
- note?: string | undefined;
2507
- result?: {
2508
- outcome: "deadline" | "error" | "exit_file" | "exited";
2509
- observedAt: string;
2510
- exitCode?: number | undefined;
2511
- exitFileNote?: "not-an-exit-code" | undefined;
2512
- diagnostic?: string | undefined;
2513
- } | undefined;
2514
2490
  } | {
2515
2491
  id: string;
2516
2492
  source: "agent" | "cezar";
@@ -2572,6 +2548,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2572
2548
  reason: "outcome" | "timeout";
2573
2549
  } | undefined;
2574
2550
  wakeInputId?: string | undefined;
2551
+ } | {
2552
+ id: string;
2553
+ source: "agent" | "cezar";
2554
+ 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";
2555
+ registeredAt: string;
2556
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2557
+ resolvedAt?: string | undefined;
2558
+ deliveredAt?: string | undefined;
2559
+ cancelledAt?: string | undefined;
2560
+ turnId: string;
2561
+ kind: "process";
2562
+ deadline: string;
2563
+ timeoutSeconds: number;
2564
+ pid: number;
2565
+ startToken?: string | undefined;
2566
+ exitFile?: string | undefined;
2567
+ note?: string | undefined;
2568
+ result?: {
2569
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2570
+ observedAt: string;
2571
+ exitCode?: number | undefined;
2572
+ exitFileNote?: "not-an-exit-code" | undefined;
2573
+ diagnostic?: string | undefined;
2574
+ } | undefined;
2575
2575
  } | {
2576
2576
  id: string;
2577
2577
  source: "agent" | "cezar";
@@ -2703,30 +2703,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2703
2703
  deadline: string;
2704
2704
  seconds: number;
2705
2705
  note?: string | undefined;
2706
- } | {
2707
- id: string;
2708
- source: "agent" | "cezar";
2709
- 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";
2710
- registeredAt: string;
2711
- phase: "cancelled" | "delivered" | "open" | "resolved";
2712
- resolvedAt?: string | undefined;
2713
- deliveredAt?: string | undefined;
2714
- cancelledAt?: string | undefined;
2715
- turnId: string;
2716
- kind: "process";
2717
- deadline: string;
2718
- timeoutSeconds: number;
2719
- pid: number;
2720
- startToken?: string | undefined;
2721
- exitFile?: string | undefined;
2722
- note?: string | undefined;
2723
- result?: {
2724
- outcome: "deadline" | "error" | "exit_file" | "exited";
2725
- observedAt: string;
2726
- exitCode?: number | undefined;
2727
- exitFileNote?: "not-an-exit-code" | undefined;
2728
- diagnostic?: string | undefined;
2729
- } | undefined;
2730
2706
  } | {
2731
2707
  id: string;
2732
2708
  source: "agent" | "cezar";
@@ -2788,6 +2764,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2788
2764
  reason: "outcome" | "timeout";
2789
2765
  } | undefined;
2790
2766
  wakeInputId?: string | undefined;
2767
+ } | {
2768
+ id: string;
2769
+ source: "agent" | "cezar";
2770
+ 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";
2771
+ registeredAt: string;
2772
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2773
+ resolvedAt?: string | undefined;
2774
+ deliveredAt?: string | undefined;
2775
+ cancelledAt?: string | undefined;
2776
+ turnId: string;
2777
+ kind: "process";
2778
+ deadline: string;
2779
+ timeoutSeconds: number;
2780
+ pid: number;
2781
+ startToken?: string | undefined;
2782
+ exitFile?: string | undefined;
2783
+ note?: string | undefined;
2784
+ result?: {
2785
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2786
+ observedAt: string;
2787
+ exitCode?: number | undefined;
2788
+ exitFileNote?: "not-an-exit-code" | undefined;
2789
+ diagnostic?: string | undefined;
2790
+ } | undefined;
2791
2791
  } | {
2792
2792
  id: string;
2793
2793
  source: "agent" | "cezar";
@@ -3156,8 +3156,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3156
3156
  } | undefined;
3157
3157
  invalidAsk?: boolean | undefined;
3158
3158
  delegation?: {
3159
- role: "invalid";
3160
- } | {
3161
3159
  role: "root";
3162
3160
  conversation?: {
3163
3161
  messages: {
@@ -3392,6 +3390,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3392
3390
  } | undefined;
3393
3391
  executionRevision?: number | undefined;
3394
3392
  executionStartSeq?: number | undefined;
3393
+ } | {
3394
+ role: "invalid";
3395
3395
  } | undefined;
3396
3396
  agentInputs?: {
3397
3397
  conversation?: {
@@ -3485,30 +3485,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3485
3485
  deadline: string;
3486
3486
  seconds: number;
3487
3487
  note?: string | undefined;
3488
- } | {
3489
- id: string;
3490
- source: "agent" | "cezar";
3491
- 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";
3492
- registeredAt: string;
3493
- phase: "cancelled" | "delivered" | "open" | "resolved";
3494
- resolvedAt?: string | undefined;
3495
- deliveredAt?: string | undefined;
3496
- cancelledAt?: string | undefined;
3497
- turnId: string;
3498
- kind: "process";
3499
- deadline: string;
3500
- timeoutSeconds: number;
3501
- pid: number;
3502
- startToken?: string | undefined;
3503
- exitFile?: string | undefined;
3504
- note?: string | undefined;
3505
- result?: {
3506
- outcome: "deadline" | "error" | "exit_file" | "exited";
3507
- observedAt: string;
3508
- exitCode?: number | undefined;
3509
- exitFileNote?: "not-an-exit-code" | undefined;
3510
- diagnostic?: string | undefined;
3511
- } | undefined;
3512
3488
  } | {
3513
3489
  id: string;
3514
3490
  source: "agent" | "cezar";
@@ -3570,6 +3546,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3570
3546
  reason: "outcome" | "timeout";
3571
3547
  } | undefined;
3572
3548
  wakeInputId?: string | undefined;
3549
+ } | {
3550
+ id: string;
3551
+ source: "agent" | "cezar";
3552
+ 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";
3553
+ registeredAt: string;
3554
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3555
+ resolvedAt?: string | undefined;
3556
+ deliveredAt?: string | undefined;
3557
+ cancelledAt?: string | undefined;
3558
+ turnId: string;
3559
+ kind: "process";
3560
+ deadline: string;
3561
+ timeoutSeconds: number;
3562
+ pid: number;
3563
+ startToken?: string | undefined;
3564
+ exitFile?: string | undefined;
3565
+ note?: string | undefined;
3566
+ result?: {
3567
+ outcome: "deadline" | "error" | "exit_file" | "exited";
3568
+ observedAt: string;
3569
+ exitCode?: number | undefined;
3570
+ exitFileNote?: "not-an-exit-code" | undefined;
3571
+ diagnostic?: string | undefined;
3572
+ } | undefined;
3573
3573
  } | {
3574
3574
  id: string;
3575
3575
  source: "agent" | "cezar";
@@ -3702,30 +3702,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3702
3702
  deadline: string;
3703
3703
  seconds: number;
3704
3704
  note?: string | undefined;
3705
- } | {
3706
- id: string;
3707
- source: "agent" | "cezar";
3708
- 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";
3709
- registeredAt: string;
3710
- phase: "cancelled" | "delivered" | "open" | "resolved";
3711
- resolvedAt?: string | undefined;
3712
- deliveredAt?: string | undefined;
3713
- cancelledAt?: string | undefined;
3714
- turnId: string;
3715
- kind: "process";
3716
- deadline: string;
3717
- timeoutSeconds: number;
3718
- pid: number;
3719
- startToken?: string | undefined;
3720
- exitFile?: string | undefined;
3721
- note?: string | undefined;
3722
- result?: {
3723
- outcome: "deadline" | "error" | "exit_file" | "exited";
3724
- observedAt: string;
3725
- exitCode?: number | undefined;
3726
- exitFileNote?: "not-an-exit-code" | undefined;
3727
- diagnostic?: string | undefined;
3728
- } | undefined;
3729
3705
  } | {
3730
3706
  id: string;
3731
3707
  source: "agent" | "cezar";
@@ -3787,6 +3763,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3787
3763
  reason: "outcome" | "timeout";
3788
3764
  } | undefined;
3789
3765
  wakeInputId?: string | undefined;
3766
+ } | {
3767
+ id: string;
3768
+ source: "agent" | "cezar";
3769
+ 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";
3770
+ registeredAt: string;
3771
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3772
+ resolvedAt?: string | undefined;
3773
+ deliveredAt?: string | undefined;
3774
+ cancelledAt?: string | undefined;
3775
+ turnId: string;
3776
+ kind: "process";
3777
+ deadline: string;
3778
+ timeoutSeconds: number;
3779
+ pid: number;
3780
+ startToken?: string | undefined;
3781
+ exitFile?: string | undefined;
3782
+ note?: string | undefined;
3783
+ result?: {
3784
+ outcome: "deadline" | "error" | "exit_file" | "exited";
3785
+ observedAt: string;
3786
+ exitCode?: number | undefined;
3787
+ exitFileNote?: "not-an-exit-code" | undefined;
3788
+ diagnostic?: string | undefined;
3789
+ } | undefined;
3790
3790
  } | {
3791
3791
  id: string;
3792
3792
  source: "agent" | "cezar";
@@ -3918,30 +3918,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3918
3918
  deadline: string;
3919
3919
  seconds: number;
3920
3920
  note?: string | undefined;
3921
- } | {
3922
- id: string;
3923
- source: "agent" | "cezar";
3924
- 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";
3925
- registeredAt: string;
3926
- phase: "cancelled" | "delivered" | "open" | "resolved";
3927
- resolvedAt?: string | undefined;
3928
- deliveredAt?: string | undefined;
3929
- cancelledAt?: string | undefined;
3930
- turnId: string;
3931
- kind: "process";
3932
- deadline: string;
3933
- timeoutSeconds: number;
3934
- pid: number;
3935
- startToken?: string | undefined;
3936
- exitFile?: string | undefined;
3937
- note?: string | undefined;
3938
- result?: {
3939
- outcome: "deadline" | "error" | "exit_file" | "exited";
3940
- observedAt: string;
3941
- exitCode?: number | undefined;
3942
- exitFileNote?: "not-an-exit-code" | undefined;
3943
- diagnostic?: string | undefined;
3944
- } | undefined;
3945
3921
  } | {
3946
3922
  id: string;
3947
3923
  source: "agent" | "cezar";
@@ -4003,6 +3979,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4003
3979
  reason: "outcome" | "timeout";
4004
3980
  } | undefined;
4005
3981
  wakeInputId?: string | undefined;
3982
+ } | {
3983
+ id: string;
3984
+ source: "agent" | "cezar";
3985
+ 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";
3986
+ registeredAt: string;
3987
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3988
+ resolvedAt?: string | undefined;
3989
+ deliveredAt?: string | undefined;
3990
+ cancelledAt?: string | undefined;
3991
+ turnId: string;
3992
+ kind: "process";
3993
+ deadline: string;
3994
+ timeoutSeconds: number;
3995
+ pid: number;
3996
+ startToken?: string | undefined;
3997
+ exitFile?: string | undefined;
3998
+ note?: string | undefined;
3999
+ result?: {
4000
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4001
+ observedAt: string;
4002
+ exitCode?: number | undefined;
4003
+ exitFileNote?: "not-an-exit-code" | undefined;
4004
+ diagnostic?: string | undefined;
4005
+ } | undefined;
4006
4006
  } | {
4007
4007
  id: string;
4008
4008
  source: "agent" | "cezar";
@@ -4480,30 +4480,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4480
4480
  deadline: string;
4481
4481
  seconds: number;
4482
4482
  note?: string | undefined;
4483
- } | {
4484
- id: string;
4485
- source: "agent" | "cezar";
4486
- 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";
4487
- registeredAt: string;
4488
- phase: "cancelled" | "delivered" | "open" | "resolved";
4489
- resolvedAt?: string | undefined;
4490
- deliveredAt?: string | undefined;
4491
- cancelledAt?: string | undefined;
4492
- turnId: string;
4493
- kind: "process";
4494
- deadline: string;
4495
- timeoutSeconds: number;
4496
- pid: number;
4497
- startToken?: string | undefined;
4498
- exitFile?: string | undefined;
4499
- note?: string | undefined;
4500
- result?: {
4501
- outcome: "deadline" | "error" | "exit_file" | "exited";
4502
- observedAt: string;
4503
- exitCode?: number | undefined;
4504
- exitFileNote?: "not-an-exit-code" | undefined;
4505
- diagnostic?: string | undefined;
4506
- } | undefined;
4507
4483
  } | {
4508
4484
  id: string;
4509
4485
  source: "agent" | "cezar";
@@ -4565,6 +4541,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4565
4541
  reason: "outcome" | "timeout";
4566
4542
  } | undefined;
4567
4543
  wakeInputId?: string | undefined;
4544
+ } | {
4545
+ id: string;
4546
+ source: "agent" | "cezar";
4547
+ 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";
4548
+ registeredAt: string;
4549
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4550
+ resolvedAt?: string | undefined;
4551
+ deliveredAt?: string | undefined;
4552
+ cancelledAt?: string | undefined;
4553
+ turnId: string;
4554
+ kind: "process";
4555
+ deadline: string;
4556
+ timeoutSeconds: number;
4557
+ pid: number;
4558
+ startToken?: string | undefined;
4559
+ exitFile?: string | undefined;
4560
+ note?: string | undefined;
4561
+ result?: {
4562
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4563
+ observedAt: string;
4564
+ exitCode?: number | undefined;
4565
+ exitFileNote?: "not-an-exit-code" | undefined;
4566
+ diagnostic?: string | undefined;
4567
+ } | undefined;
4568
4568
  } | {
4569
4569
  id: string;
4570
4570
  source: "agent" | "cezar";
@@ -4697,30 +4697,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4697
4697
  deadline: string;
4698
4698
  seconds: number;
4699
4699
  note?: string | undefined;
4700
- } | {
4701
- id: string;
4702
- source: "agent" | "cezar";
4703
- 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";
4704
- registeredAt: string;
4705
- phase: "cancelled" | "delivered" | "open" | "resolved";
4706
- resolvedAt?: string | undefined;
4707
- deliveredAt?: string | undefined;
4708
- cancelledAt?: string | undefined;
4709
- turnId: string;
4710
- kind: "process";
4711
- deadline: string;
4712
- timeoutSeconds: number;
4713
- pid: number;
4714
- startToken?: string | undefined;
4715
- exitFile?: string | undefined;
4716
- note?: string | undefined;
4717
- result?: {
4718
- outcome: "deadline" | "error" | "exit_file" | "exited";
4719
- observedAt: string;
4720
- exitCode?: number | undefined;
4721
- exitFileNote?: "not-an-exit-code" | undefined;
4722
- diagnostic?: string | undefined;
4723
- } | undefined;
4724
4700
  } | {
4725
4701
  id: string;
4726
4702
  source: "agent" | "cezar";
@@ -4782,6 +4758,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4782
4758
  reason: "outcome" | "timeout";
4783
4759
  } | undefined;
4784
4760
  wakeInputId?: string | undefined;
4761
+ } | {
4762
+ id: string;
4763
+ source: "agent" | "cezar";
4764
+ 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";
4765
+ registeredAt: string;
4766
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4767
+ resolvedAt?: string | undefined;
4768
+ deliveredAt?: string | undefined;
4769
+ cancelledAt?: string | undefined;
4770
+ turnId: string;
4771
+ kind: "process";
4772
+ deadline: string;
4773
+ timeoutSeconds: number;
4774
+ pid: number;
4775
+ startToken?: string | undefined;
4776
+ exitFile?: string | undefined;
4777
+ note?: string | undefined;
4778
+ result?: {
4779
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4780
+ observedAt: string;
4781
+ exitCode?: number | undefined;
4782
+ exitFileNote?: "not-an-exit-code" | undefined;
4783
+ diagnostic?: string | undefined;
4784
+ } | undefined;
4785
4785
  } | {
4786
4786
  id: string;
4787
4787
  source: "agent" | "cezar";
@@ -4913,30 +4913,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4913
4913
  deadline: string;
4914
4914
  seconds: number;
4915
4915
  note?: string | undefined;
4916
- } | {
4917
- id: string;
4918
- source: "agent" | "cezar";
4919
- 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";
4920
- registeredAt: string;
4921
- phase: "cancelled" | "delivered" | "open" | "resolved";
4922
- resolvedAt?: string | undefined;
4923
- deliveredAt?: string | undefined;
4924
- cancelledAt?: string | undefined;
4925
- turnId: string;
4926
- kind: "process";
4927
- deadline: string;
4928
- timeoutSeconds: number;
4929
- pid: number;
4930
- startToken?: string | undefined;
4931
- exitFile?: string | undefined;
4932
- note?: string | undefined;
4933
- result?: {
4934
- outcome: "deadline" | "error" | "exit_file" | "exited";
4935
- observedAt: string;
4936
- exitCode?: number | undefined;
4937
- exitFileNote?: "not-an-exit-code" | undefined;
4938
- diagnostic?: string | undefined;
4939
- } | undefined;
4940
4916
  } | {
4941
4917
  id: string;
4942
4918
  source: "agent" | "cezar";
@@ -4995,9 +4971,33 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4995
4971
  replyId?: string | undefined;
4996
4972
  }[] | undefined;
4997
4973
  result?: {
4998
- reason: "outcome" | "timeout";
4974
+ reason: "outcome" | "timeout";
4975
+ } | undefined;
4976
+ wakeInputId?: string | undefined;
4977
+ } | {
4978
+ id: string;
4979
+ source: "agent" | "cezar";
4980
+ 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";
4981
+ registeredAt: string;
4982
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4983
+ resolvedAt?: string | undefined;
4984
+ deliveredAt?: string | undefined;
4985
+ cancelledAt?: string | undefined;
4986
+ turnId: string;
4987
+ kind: "process";
4988
+ deadline: string;
4989
+ timeoutSeconds: number;
4990
+ pid: number;
4991
+ startToken?: string | undefined;
4992
+ exitFile?: string | undefined;
4993
+ note?: string | undefined;
4994
+ result?: {
4995
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4996
+ observedAt: string;
4997
+ exitCode?: number | undefined;
4998
+ exitFileNote?: "not-an-exit-code" | undefined;
4999
+ diagnostic?: string | undefined;
4999
5000
  } | undefined;
5000
- wakeInputId?: string | undefined;
5001
5001
  } | {
5002
5002
  id: string;
5003
5003
  source: "agent" | "cezar";
@@ -5142,8 +5142,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5142
5142
  currentStepId?: string | undefined;
5143
5143
  error?: string | undefined;
5144
5144
  delegation?: {
5145
- role: "invalid";
5146
- } | {
5147
5145
  role: "root";
5148
5146
  conversation?: {
5149
5147
  messages: {
@@ -5378,6 +5376,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5378
5376
  } | undefined;
5379
5377
  executionRevision?: number | undefined;
5380
5378
  executionStartSeq?: number | undefined;
5379
+ } | {
5380
+ role: "invalid";
5381
5381
  } | undefined;
5382
5382
  lastWaitsError?: string | undefined;
5383
5383
  automaticWakes?: number | undefined;
@@ -5615,8 +5615,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5615
5615
  } | undefined;
5616
5616
  invalidAsk?: boolean | undefined;
5617
5617
  delegation?: {
5618
- role: "invalid";
5619
- } | {
5620
5618
  role: "root";
5621
5619
  conversation?: {
5622
5620
  messages: {
@@ -5851,6 +5849,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5851
5849
  } | undefined;
5852
5850
  executionRevision?: number | undefined;
5853
5851
  executionStartSeq?: number | undefined;
5852
+ } | {
5853
+ role: "invalid";
5854
5854
  } | undefined;
5855
5855
  agentInputs?: {
5856
5856
  conversation?: {
@@ -5944,30 +5944,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5944
5944
  deadline: string;
5945
5945
  seconds: number;
5946
5946
  note?: string | undefined;
5947
- } | {
5948
- id: string;
5949
- source: "agent" | "cezar";
5950
- 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";
5951
- registeredAt: string;
5952
- phase: "cancelled" | "delivered" | "open" | "resolved";
5953
- resolvedAt?: string | undefined;
5954
- deliveredAt?: string | undefined;
5955
- cancelledAt?: string | undefined;
5956
- turnId: string;
5957
- kind: "process";
5958
- deadline: string;
5959
- timeoutSeconds: number;
5960
- pid: number;
5961
- startToken?: string | undefined;
5962
- exitFile?: string | undefined;
5963
- note?: string | undefined;
5964
- result?: {
5965
- outcome: "deadline" | "error" | "exit_file" | "exited";
5966
- observedAt: string;
5967
- exitCode?: number | undefined;
5968
- exitFileNote?: "not-an-exit-code" | undefined;
5969
- diagnostic?: string | undefined;
5970
- } | undefined;
5971
5947
  } | {
5972
5948
  id: string;
5973
5949
  source: "agent" | "cezar";
@@ -6029,6 +6005,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6029
6005
  reason: "outcome" | "timeout";
6030
6006
  } | undefined;
6031
6007
  wakeInputId?: string | undefined;
6008
+ } | {
6009
+ id: string;
6010
+ source: "agent" | "cezar";
6011
+ 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";
6012
+ registeredAt: string;
6013
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6014
+ resolvedAt?: string | undefined;
6015
+ deliveredAt?: string | undefined;
6016
+ cancelledAt?: string | undefined;
6017
+ turnId: string;
6018
+ kind: "process";
6019
+ deadline: string;
6020
+ timeoutSeconds: number;
6021
+ pid: number;
6022
+ startToken?: string | undefined;
6023
+ exitFile?: string | undefined;
6024
+ note?: string | undefined;
6025
+ result?: {
6026
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6027
+ observedAt: string;
6028
+ exitCode?: number | undefined;
6029
+ exitFileNote?: "not-an-exit-code" | undefined;
6030
+ diagnostic?: string | undefined;
6031
+ } | undefined;
6032
6032
  } | {
6033
6033
  id: string;
6034
6034
  source: "agent" | "cezar";
@@ -6161,30 +6161,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6161
6161
  deadline: string;
6162
6162
  seconds: number;
6163
6163
  note?: string | undefined;
6164
- } | {
6165
- id: string;
6166
- source: "agent" | "cezar";
6167
- 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";
6168
- registeredAt: string;
6169
- phase: "cancelled" | "delivered" | "open" | "resolved";
6170
- resolvedAt?: string | undefined;
6171
- deliveredAt?: string | undefined;
6172
- cancelledAt?: string | undefined;
6173
- turnId: string;
6174
- kind: "process";
6175
- deadline: string;
6176
- timeoutSeconds: number;
6177
- pid: number;
6178
- startToken?: string | undefined;
6179
- exitFile?: string | undefined;
6180
- note?: string | undefined;
6181
- result?: {
6182
- outcome: "deadline" | "error" | "exit_file" | "exited";
6183
- observedAt: string;
6184
- exitCode?: number | undefined;
6185
- exitFileNote?: "not-an-exit-code" | undefined;
6186
- diagnostic?: string | undefined;
6187
- } | undefined;
6188
6164
  } | {
6189
6165
  id: string;
6190
6166
  source: "agent" | "cezar";
@@ -6246,6 +6222,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6246
6222
  reason: "outcome" | "timeout";
6247
6223
  } | undefined;
6248
6224
  wakeInputId?: string | undefined;
6225
+ } | {
6226
+ id: string;
6227
+ source: "agent" | "cezar";
6228
+ 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";
6229
+ registeredAt: string;
6230
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6231
+ resolvedAt?: string | undefined;
6232
+ deliveredAt?: string | undefined;
6233
+ cancelledAt?: string | undefined;
6234
+ turnId: string;
6235
+ kind: "process";
6236
+ deadline: string;
6237
+ timeoutSeconds: number;
6238
+ pid: number;
6239
+ startToken?: string | undefined;
6240
+ exitFile?: string | undefined;
6241
+ note?: string | undefined;
6242
+ result?: {
6243
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6244
+ observedAt: string;
6245
+ exitCode?: number | undefined;
6246
+ exitFileNote?: "not-an-exit-code" | undefined;
6247
+ diagnostic?: string | undefined;
6248
+ } | undefined;
6249
6249
  } | {
6250
6250
  id: string;
6251
6251
  source: "agent" | "cezar";
@@ -6377,30 +6377,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6377
6377
  deadline: string;
6378
6378
  seconds: number;
6379
6379
  note?: string | undefined;
6380
- } | {
6381
- id: string;
6382
- source: "agent" | "cezar";
6383
- 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";
6384
- registeredAt: string;
6385
- phase: "cancelled" | "delivered" | "open" | "resolved";
6386
- resolvedAt?: string | undefined;
6387
- deliveredAt?: string | undefined;
6388
- cancelledAt?: string | undefined;
6389
- turnId: string;
6390
- kind: "process";
6391
- deadline: string;
6392
- timeoutSeconds: number;
6393
- pid: number;
6394
- startToken?: string | undefined;
6395
- exitFile?: string | undefined;
6396
- note?: string | undefined;
6397
- result?: {
6398
- outcome: "deadline" | "error" | "exit_file" | "exited";
6399
- observedAt: string;
6400
- exitCode?: number | undefined;
6401
- exitFileNote?: "not-an-exit-code" | undefined;
6402
- diagnostic?: string | undefined;
6403
- } | undefined;
6404
6380
  } | {
6405
6381
  id: string;
6406
6382
  source: "agent" | "cezar";
@@ -6462,6 +6438,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6462
6438
  reason: "outcome" | "timeout";
6463
6439
  } | undefined;
6464
6440
  wakeInputId?: string | undefined;
6441
+ } | {
6442
+ id: string;
6443
+ source: "agent" | "cezar";
6444
+ 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";
6445
+ registeredAt: string;
6446
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6447
+ resolvedAt?: string | undefined;
6448
+ deliveredAt?: string | undefined;
6449
+ cancelledAt?: string | undefined;
6450
+ turnId: string;
6451
+ kind: "process";
6452
+ deadline: string;
6453
+ timeoutSeconds: number;
6454
+ pid: number;
6455
+ startToken?: string | undefined;
6456
+ exitFile?: string | undefined;
6457
+ note?: string | undefined;
6458
+ result?: {
6459
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6460
+ observedAt: string;
6461
+ exitCode?: number | undefined;
6462
+ exitFileNote?: "not-an-exit-code" | undefined;
6463
+ diagnostic?: string | undefined;
6464
+ } | undefined;
6465
6465
  } | {
6466
6466
  id: string;
6467
6467
  source: "agent" | "cezar";
@@ -6806,8 +6806,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6806
6806
  } | undefined;
6807
6807
  invalidAsk?: boolean | undefined;
6808
6808
  delegation?: {
6809
- role: "invalid";
6810
- } | {
6811
6809
  role: "root";
6812
6810
  conversation?: {
6813
6811
  messages: {
@@ -7042,6 +7040,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7042
7040
  } | undefined;
7043
7041
  executionRevision?: number | undefined;
7044
7042
  executionStartSeq?: number | undefined;
7043
+ } | {
7044
+ role: "invalid";
7045
7045
  } | undefined;
7046
7046
  agentInputs?: {
7047
7047
  conversation?: {
@@ -7135,30 +7135,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7135
7135
  deadline: string;
7136
7136
  seconds: number;
7137
7137
  note?: string | undefined;
7138
- } | {
7139
- id: string;
7140
- source: "agent" | "cezar";
7141
- 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";
7142
- registeredAt: string;
7143
- phase: "cancelled" | "delivered" | "open" | "resolved";
7144
- resolvedAt?: string | undefined;
7145
- deliveredAt?: string | undefined;
7146
- cancelledAt?: string | undefined;
7147
- turnId: string;
7148
- kind: "process";
7149
- deadline: string;
7150
- timeoutSeconds: number;
7151
- pid: number;
7152
- startToken?: string | undefined;
7153
- exitFile?: string | undefined;
7154
- note?: string | undefined;
7155
- result?: {
7156
- outcome: "deadline" | "error" | "exit_file" | "exited";
7157
- observedAt: string;
7158
- exitCode?: number | undefined;
7159
- exitFileNote?: "not-an-exit-code" | undefined;
7160
- diagnostic?: string | undefined;
7161
- } | undefined;
7162
7138
  } | {
7163
7139
  id: string;
7164
7140
  source: "agent" | "cezar";
@@ -7220,6 +7196,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7220
7196
  reason: "outcome" | "timeout";
7221
7197
  } | undefined;
7222
7198
  wakeInputId?: string | undefined;
7199
+ } | {
7200
+ id: string;
7201
+ source: "agent" | "cezar";
7202
+ 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";
7203
+ registeredAt: string;
7204
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7205
+ resolvedAt?: string | undefined;
7206
+ deliveredAt?: string | undefined;
7207
+ cancelledAt?: string | undefined;
7208
+ turnId: string;
7209
+ kind: "process";
7210
+ deadline: string;
7211
+ timeoutSeconds: number;
7212
+ pid: number;
7213
+ startToken?: string | undefined;
7214
+ exitFile?: string | undefined;
7215
+ note?: string | undefined;
7216
+ result?: {
7217
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7218
+ observedAt: string;
7219
+ exitCode?: number | undefined;
7220
+ exitFileNote?: "not-an-exit-code" | undefined;
7221
+ diagnostic?: string | undefined;
7222
+ } | undefined;
7223
7223
  } | {
7224
7224
  id: string;
7225
7225
  source: "agent" | "cezar";
@@ -7352,30 +7352,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7352
7352
  deadline: string;
7353
7353
  seconds: number;
7354
7354
  note?: string | undefined;
7355
- } | {
7356
- id: string;
7357
- source: "agent" | "cezar";
7358
- 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";
7359
- registeredAt: string;
7360
- phase: "cancelled" | "delivered" | "open" | "resolved";
7361
- resolvedAt?: string | undefined;
7362
- deliveredAt?: string | undefined;
7363
- cancelledAt?: string | undefined;
7364
- turnId: string;
7365
- kind: "process";
7366
- deadline: string;
7367
- timeoutSeconds: number;
7368
- pid: number;
7369
- startToken?: string | undefined;
7370
- exitFile?: string | undefined;
7371
- note?: string | undefined;
7372
- result?: {
7373
- outcome: "deadline" | "error" | "exit_file" | "exited";
7374
- observedAt: string;
7375
- exitCode?: number | undefined;
7376
- exitFileNote?: "not-an-exit-code" | undefined;
7377
- diagnostic?: string | undefined;
7378
- } | undefined;
7379
7355
  } | {
7380
7356
  id: string;
7381
7357
  source: "agent" | "cezar";
@@ -7434,9 +7410,33 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7434
7410
  replyId?: string | undefined;
7435
7411
  }[] | undefined;
7436
7412
  result?: {
7437
- reason: "outcome" | "timeout";
7413
+ reason: "outcome" | "timeout";
7414
+ } | undefined;
7415
+ wakeInputId?: string | undefined;
7416
+ } | {
7417
+ id: string;
7418
+ source: "agent" | "cezar";
7419
+ 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";
7420
+ registeredAt: string;
7421
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7422
+ resolvedAt?: string | undefined;
7423
+ deliveredAt?: string | undefined;
7424
+ cancelledAt?: string | undefined;
7425
+ turnId: string;
7426
+ kind: "process";
7427
+ deadline: string;
7428
+ timeoutSeconds: number;
7429
+ pid: number;
7430
+ startToken?: string | undefined;
7431
+ exitFile?: string | undefined;
7432
+ note?: string | undefined;
7433
+ result?: {
7434
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7435
+ observedAt: string;
7436
+ exitCode?: number | undefined;
7437
+ exitFileNote?: "not-an-exit-code" | undefined;
7438
+ diagnostic?: string | undefined;
7438
7439
  } | undefined;
7439
- wakeInputId?: string | undefined;
7440
7440
  } | {
7441
7441
  id: string;
7442
7442
  source: "agent" | "cezar";
@@ -7568,30 +7568,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7568
7568
  deadline: string;
7569
7569
  seconds: number;
7570
7570
  note?: string | undefined;
7571
- } | {
7572
- id: string;
7573
- source: "agent" | "cezar";
7574
- 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";
7575
- registeredAt: string;
7576
- phase: "cancelled" | "delivered" | "open" | "resolved";
7577
- resolvedAt?: string | undefined;
7578
- deliveredAt?: string | undefined;
7579
- cancelledAt?: string | undefined;
7580
- turnId: string;
7581
- kind: "process";
7582
- deadline: string;
7583
- timeoutSeconds: number;
7584
- pid: number;
7585
- startToken?: string | undefined;
7586
- exitFile?: string | undefined;
7587
- note?: string | undefined;
7588
- result?: {
7589
- outcome: "deadline" | "error" | "exit_file" | "exited";
7590
- observedAt: string;
7591
- exitCode?: number | undefined;
7592
- exitFileNote?: "not-an-exit-code" | undefined;
7593
- diagnostic?: string | undefined;
7594
- } | undefined;
7595
7571
  } | {
7596
7572
  id: string;
7597
7573
  source: "agent" | "cezar";
@@ -7653,6 +7629,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7653
7629
  reason: "outcome" | "timeout";
7654
7630
  } | undefined;
7655
7631
  wakeInputId?: string | undefined;
7632
+ } | {
7633
+ id: string;
7634
+ source: "agent" | "cezar";
7635
+ 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";
7636
+ registeredAt: string;
7637
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7638
+ resolvedAt?: string | undefined;
7639
+ deliveredAt?: string | undefined;
7640
+ cancelledAt?: string | undefined;
7641
+ turnId: string;
7642
+ kind: "process";
7643
+ deadline: string;
7644
+ timeoutSeconds: number;
7645
+ pid: number;
7646
+ startToken?: string | undefined;
7647
+ exitFile?: string | undefined;
7648
+ note?: string | undefined;
7649
+ result?: {
7650
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7651
+ observedAt: string;
7652
+ exitCode?: number | undefined;
7653
+ exitFileNote?: "not-an-exit-code" | undefined;
7654
+ diagnostic?: string | undefined;
7655
+ } | undefined;
7656
7656
  } | {
7657
7657
  id: string;
7658
7658
  source: "agent" | "cezar";
@@ -8073,30 +8073,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8073
8073
  deadline: string;
8074
8074
  seconds: number;
8075
8075
  note?: string | undefined;
8076
- } | {
8077
- id: string;
8078
- source: "agent" | "cezar";
8079
- 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";
8080
- registeredAt: string;
8081
- phase: "cancelled" | "delivered" | "open" | "resolved";
8082
- resolvedAt?: string | undefined;
8083
- deliveredAt?: string | undefined;
8084
- cancelledAt?: string | undefined;
8085
- turnId: string;
8086
- kind: "process";
8087
- deadline: string;
8088
- timeoutSeconds: number;
8089
- pid: number;
8090
- startToken?: string | undefined;
8091
- exitFile?: string | undefined;
8092
- note?: string | undefined;
8093
- result?: {
8094
- outcome: "deadline" | "error" | "exit_file" | "exited";
8095
- observedAt: string;
8096
- exitCode?: number | undefined;
8097
- exitFileNote?: "not-an-exit-code" | undefined;
8098
- diagnostic?: string | undefined;
8099
- } | undefined;
8100
8076
  } | {
8101
8077
  id: string;
8102
8078
  source: "agent" | "cezar";
@@ -8158,6 +8134,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8158
8134
  reason: "outcome" | "timeout";
8159
8135
  } | undefined;
8160
8136
  wakeInputId?: string | undefined;
8137
+ } | {
8138
+ id: string;
8139
+ source: "agent" | "cezar";
8140
+ 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";
8141
+ registeredAt: string;
8142
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8143
+ resolvedAt?: string | undefined;
8144
+ deliveredAt?: string | undefined;
8145
+ cancelledAt?: string | undefined;
8146
+ turnId: string;
8147
+ kind: "process";
8148
+ deadline: string;
8149
+ timeoutSeconds: number;
8150
+ pid: number;
8151
+ startToken?: string | undefined;
8152
+ exitFile?: string | undefined;
8153
+ note?: string | undefined;
8154
+ result?: {
8155
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8156
+ observedAt: string;
8157
+ exitCode?: number | undefined;
8158
+ exitFileNote?: "not-an-exit-code" | undefined;
8159
+ diagnostic?: string | undefined;
8160
+ } | undefined;
8161
8161
  } | {
8162
8162
  id: string;
8163
8163
  source: "agent" | "cezar";
@@ -8290,30 +8290,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8290
8290
  deadline: string;
8291
8291
  seconds: number;
8292
8292
  note?: string | undefined;
8293
- } | {
8294
- id: string;
8295
- source: "agent" | "cezar";
8296
- 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";
8297
- registeredAt: string;
8298
- phase: "cancelled" | "delivered" | "open" | "resolved";
8299
- resolvedAt?: string | undefined;
8300
- deliveredAt?: string | undefined;
8301
- cancelledAt?: string | undefined;
8302
- turnId: string;
8303
- kind: "process";
8304
- deadline: string;
8305
- timeoutSeconds: number;
8306
- pid: number;
8307
- startToken?: string | undefined;
8308
- exitFile?: string | undefined;
8309
- note?: string | undefined;
8310
- result?: {
8311
- outcome: "deadline" | "error" | "exit_file" | "exited";
8312
- observedAt: string;
8313
- exitCode?: number | undefined;
8314
- exitFileNote?: "not-an-exit-code" | undefined;
8315
- diagnostic?: string | undefined;
8316
- } | undefined;
8317
8293
  } | {
8318
8294
  id: string;
8319
8295
  source: "agent" | "cezar";
@@ -8375,6 +8351,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8375
8351
  reason: "outcome" | "timeout";
8376
8352
  } | undefined;
8377
8353
  wakeInputId?: string | undefined;
8354
+ } | {
8355
+ id: string;
8356
+ source: "agent" | "cezar";
8357
+ 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";
8358
+ registeredAt: string;
8359
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8360
+ resolvedAt?: string | undefined;
8361
+ deliveredAt?: string | undefined;
8362
+ cancelledAt?: string | undefined;
8363
+ turnId: string;
8364
+ kind: "process";
8365
+ deadline: string;
8366
+ timeoutSeconds: number;
8367
+ pid: number;
8368
+ startToken?: string | undefined;
8369
+ exitFile?: string | undefined;
8370
+ note?: string | undefined;
8371
+ result?: {
8372
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8373
+ observedAt: string;
8374
+ exitCode?: number | undefined;
8375
+ exitFileNote?: "not-an-exit-code" | undefined;
8376
+ diagnostic?: string | undefined;
8377
+ } | undefined;
8378
8378
  } | {
8379
8379
  id: string;
8380
8380
  source: "agent" | "cezar";
@@ -8506,30 +8506,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8506
8506
  deadline: string;
8507
8507
  seconds: number;
8508
8508
  note?: string | undefined;
8509
- } | {
8510
- id: string;
8511
- source: "agent" | "cezar";
8512
- 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";
8513
- registeredAt: string;
8514
- phase: "cancelled" | "delivered" | "open" | "resolved";
8515
- resolvedAt?: string | undefined;
8516
- deliveredAt?: string | undefined;
8517
- cancelledAt?: string | undefined;
8518
- turnId: string;
8519
- kind: "process";
8520
- deadline: string;
8521
- timeoutSeconds: number;
8522
- pid: number;
8523
- startToken?: string | undefined;
8524
- exitFile?: string | undefined;
8525
- note?: string | undefined;
8526
- result?: {
8527
- outcome: "deadline" | "error" | "exit_file" | "exited";
8528
- observedAt: string;
8529
- exitCode?: number | undefined;
8530
- exitFileNote?: "not-an-exit-code" | undefined;
8531
- diagnostic?: string | undefined;
8532
- } | undefined;
8533
8509
  } | {
8534
8510
  id: string;
8535
8511
  source: "agent" | "cezar";
@@ -8591,6 +8567,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8591
8567
  reason: "outcome" | "timeout";
8592
8568
  } | undefined;
8593
8569
  wakeInputId?: string | undefined;
8570
+ } | {
8571
+ id: string;
8572
+ source: "agent" | "cezar";
8573
+ 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";
8574
+ registeredAt: string;
8575
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8576
+ resolvedAt?: string | undefined;
8577
+ deliveredAt?: string | undefined;
8578
+ cancelledAt?: string | undefined;
8579
+ turnId: string;
8580
+ kind: "process";
8581
+ deadline: string;
8582
+ timeoutSeconds: number;
8583
+ pid: number;
8584
+ startToken?: string | undefined;
8585
+ exitFile?: string | undefined;
8586
+ note?: string | undefined;
8587
+ result?: {
8588
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8589
+ observedAt: string;
8590
+ exitCode?: number | undefined;
8591
+ exitFileNote?: "not-an-exit-code" | undefined;
8592
+ diagnostic?: string | undefined;
8593
+ } | undefined;
8594
8594
  } | {
8595
8595
  id: string;
8596
8596
  source: "agent" | "cezar";
@@ -8735,8 +8735,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8735
8735
  currentStepId?: string | undefined;
8736
8736
  error?: string | undefined;
8737
8737
  delegation?: {
8738
- role: "invalid";
8739
- } | {
8740
8738
  role: "root";
8741
8739
  conversation?: {
8742
8740
  messages: {
@@ -8971,6 +8969,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8971
8969
  } | undefined;
8972
8970
  executionRevision?: number | undefined;
8973
8971
  executionStartSeq?: number | undefined;
8972
+ } | {
8973
+ role: "invalid";
8974
8974
  } | undefined;
8975
8975
  lastWaitsError?: string | undefined;
8976
8976
  automaticWakes?: number | undefined;
@@ -9268,8 +9268,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9268
9268
  } | undefined;
9269
9269
  invalidAsk?: boolean | undefined;
9270
9270
  delegation?: {
9271
- role: "invalid";
9272
- } | {
9273
9271
  role: "root";
9274
9272
  conversation?: {
9275
9273
  messages: {
@@ -9504,6 +9502,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9504
9502
  } | undefined;
9505
9503
  executionRevision?: number | undefined;
9506
9504
  executionStartSeq?: number | undefined;
9505
+ } | {
9506
+ role: "invalid";
9507
9507
  } | undefined;
9508
9508
  agentInputs?: {
9509
9509
  conversation?: {
@@ -9597,30 +9597,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9597
9597
  deadline: string;
9598
9598
  seconds: number;
9599
9599
  note?: string | undefined;
9600
- } | {
9601
- id: string;
9602
- source: "agent" | "cezar";
9603
- 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";
9604
- registeredAt: string;
9605
- phase: "cancelled" | "delivered" | "open" | "resolved";
9606
- resolvedAt?: string | undefined;
9607
- deliveredAt?: string | undefined;
9608
- cancelledAt?: string | undefined;
9609
- turnId: string;
9610
- kind: "process";
9611
- deadline: string;
9612
- timeoutSeconds: number;
9613
- pid: number;
9614
- startToken?: string | undefined;
9615
- exitFile?: string | undefined;
9616
- note?: string | undefined;
9617
- result?: {
9618
- outcome: "deadline" | "error" | "exit_file" | "exited";
9619
- observedAt: string;
9620
- exitCode?: number | undefined;
9621
- exitFileNote?: "not-an-exit-code" | undefined;
9622
- diagnostic?: string | undefined;
9623
- } | undefined;
9624
9600
  } | {
9625
9601
  id: string;
9626
9602
  source: "agent" | "cezar";
@@ -9681,7 +9657,31 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9681
9657
  result?: {
9682
9658
  reason: "outcome" | "timeout";
9683
9659
  } | undefined;
9684
- wakeInputId?: string | undefined;
9660
+ wakeInputId?: string | undefined;
9661
+ } | {
9662
+ id: string;
9663
+ source: "agent" | "cezar";
9664
+ 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";
9665
+ registeredAt: string;
9666
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9667
+ resolvedAt?: string | undefined;
9668
+ deliveredAt?: string | undefined;
9669
+ cancelledAt?: string | undefined;
9670
+ turnId: string;
9671
+ kind: "process";
9672
+ deadline: string;
9673
+ timeoutSeconds: number;
9674
+ pid: number;
9675
+ startToken?: string | undefined;
9676
+ exitFile?: string | undefined;
9677
+ note?: string | undefined;
9678
+ result?: {
9679
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9680
+ observedAt: string;
9681
+ exitCode?: number | undefined;
9682
+ exitFileNote?: "not-an-exit-code" | undefined;
9683
+ diagnostic?: string | undefined;
9684
+ } | undefined;
9685
9685
  } | {
9686
9686
  id: string;
9687
9687
  source: "agent" | "cezar";
@@ -9814,30 +9814,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9814
9814
  deadline: string;
9815
9815
  seconds: number;
9816
9816
  note?: string | undefined;
9817
- } | {
9818
- id: string;
9819
- source: "agent" | "cezar";
9820
- 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";
9821
- registeredAt: string;
9822
- phase: "cancelled" | "delivered" | "open" | "resolved";
9823
- resolvedAt?: string | undefined;
9824
- deliveredAt?: string | undefined;
9825
- cancelledAt?: string | undefined;
9826
- turnId: string;
9827
- kind: "process";
9828
- deadline: string;
9829
- timeoutSeconds: number;
9830
- pid: number;
9831
- startToken?: string | undefined;
9832
- exitFile?: string | undefined;
9833
- note?: string | undefined;
9834
- result?: {
9835
- outcome: "deadline" | "error" | "exit_file" | "exited";
9836
- observedAt: string;
9837
- exitCode?: number | undefined;
9838
- exitFileNote?: "not-an-exit-code" | undefined;
9839
- diagnostic?: string | undefined;
9840
- } | undefined;
9841
9817
  } | {
9842
9818
  id: string;
9843
9819
  source: "agent" | "cezar";
@@ -9899,6 +9875,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9899
9875
  reason: "outcome" | "timeout";
9900
9876
  } | undefined;
9901
9877
  wakeInputId?: string | undefined;
9878
+ } | {
9879
+ id: string;
9880
+ source: "agent" | "cezar";
9881
+ 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";
9882
+ registeredAt: string;
9883
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9884
+ resolvedAt?: string | undefined;
9885
+ deliveredAt?: string | undefined;
9886
+ cancelledAt?: string | undefined;
9887
+ turnId: string;
9888
+ kind: "process";
9889
+ deadline: string;
9890
+ timeoutSeconds: number;
9891
+ pid: number;
9892
+ startToken?: string | undefined;
9893
+ exitFile?: string | undefined;
9894
+ note?: string | undefined;
9895
+ result?: {
9896
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9897
+ observedAt: string;
9898
+ exitCode?: number | undefined;
9899
+ exitFileNote?: "not-an-exit-code" | undefined;
9900
+ diagnostic?: string | undefined;
9901
+ } | undefined;
9902
9902
  } | {
9903
9903
  id: string;
9904
9904
  source: "agent" | "cezar";
@@ -10030,30 +10030,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10030
10030
  deadline: string;
10031
10031
  seconds: number;
10032
10032
  note?: string | undefined;
10033
- } | {
10034
- id: string;
10035
- source: "agent" | "cezar";
10036
- 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";
10037
- registeredAt: string;
10038
- phase: "cancelled" | "delivered" | "open" | "resolved";
10039
- resolvedAt?: string | undefined;
10040
- deliveredAt?: string | undefined;
10041
- cancelledAt?: string | undefined;
10042
- turnId: string;
10043
- kind: "process";
10044
- deadline: string;
10045
- timeoutSeconds: number;
10046
- pid: number;
10047
- startToken?: string | undefined;
10048
- exitFile?: string | undefined;
10049
- note?: string | undefined;
10050
- result?: {
10051
- outcome: "deadline" | "error" | "exit_file" | "exited";
10052
- observedAt: string;
10053
- exitCode?: number | undefined;
10054
- exitFileNote?: "not-an-exit-code" | undefined;
10055
- diagnostic?: string | undefined;
10056
- } | undefined;
10057
10033
  } | {
10058
10034
  id: string;
10059
10035
  source: "agent" | "cezar";
@@ -10115,6 +10091,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10115
10091
  reason: "outcome" | "timeout";
10116
10092
  } | undefined;
10117
10093
  wakeInputId?: string | undefined;
10094
+ } | {
10095
+ id: string;
10096
+ source: "agent" | "cezar";
10097
+ 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";
10098
+ registeredAt: string;
10099
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10100
+ resolvedAt?: string | undefined;
10101
+ deliveredAt?: string | undefined;
10102
+ cancelledAt?: string | undefined;
10103
+ turnId: string;
10104
+ kind: "process";
10105
+ deadline: string;
10106
+ timeoutSeconds: number;
10107
+ pid: number;
10108
+ startToken?: string | undefined;
10109
+ exitFile?: string | undefined;
10110
+ note?: string | undefined;
10111
+ result?: {
10112
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10113
+ observedAt: string;
10114
+ exitCode?: number | undefined;
10115
+ exitFileNote?: "not-an-exit-code" | undefined;
10116
+ diagnostic?: string | undefined;
10117
+ } | undefined;
10118
10118
  } | {
10119
10119
  id: string;
10120
10120
  source: "agent" | "cezar";
@@ -10665,30 +10665,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10665
10665
  deadline: string;
10666
10666
  seconds: number;
10667
10667
  note?: string | undefined;
10668
- } | {
10669
- id: string;
10670
- source: "agent" | "cezar";
10671
- 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";
10672
- registeredAt: string;
10673
- phase: "cancelled" | "delivered" | "open" | "resolved";
10674
- resolvedAt?: string | undefined;
10675
- deliveredAt?: string | undefined;
10676
- cancelledAt?: string | undefined;
10677
- turnId: string;
10678
- kind: "process";
10679
- deadline: string;
10680
- timeoutSeconds: number;
10681
- pid: number;
10682
- startToken?: string | undefined;
10683
- exitFile?: string | undefined;
10684
- note?: string | undefined;
10685
- result?: {
10686
- outcome: "deadline" | "error" | "exit_file" | "exited";
10687
- observedAt: string;
10688
- exitCode?: number | undefined;
10689
- exitFileNote?: "not-an-exit-code" | undefined;
10690
- diagnostic?: string | undefined;
10691
- } | undefined;
10692
10668
  } | {
10693
10669
  id: string;
10694
10670
  source: "agent" | "cezar";
@@ -10750,6 +10726,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10750
10726
  reason: "outcome" | "timeout";
10751
10727
  } | undefined;
10752
10728
  wakeInputId?: string | undefined;
10729
+ } | {
10730
+ id: string;
10731
+ source: "agent" | "cezar";
10732
+ 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";
10733
+ registeredAt: string;
10734
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10735
+ resolvedAt?: string | undefined;
10736
+ deliveredAt?: string | undefined;
10737
+ cancelledAt?: string | undefined;
10738
+ turnId: string;
10739
+ kind: "process";
10740
+ deadline: string;
10741
+ timeoutSeconds: number;
10742
+ pid: number;
10743
+ startToken?: string | undefined;
10744
+ exitFile?: string | undefined;
10745
+ note?: string | undefined;
10746
+ result?: {
10747
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10748
+ observedAt: string;
10749
+ exitCode?: number | undefined;
10750
+ exitFileNote?: "not-an-exit-code" | undefined;
10751
+ diagnostic?: string | undefined;
10752
+ } | undefined;
10753
10753
  } | {
10754
10754
  id: string;
10755
10755
  source: "agent" | "cezar";
@@ -10882,30 +10882,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10882
10882
  deadline: string;
10883
10883
  seconds: number;
10884
10884
  note?: string | undefined;
10885
- } | {
10886
- id: string;
10887
- source: "agent" | "cezar";
10888
- 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";
10889
- registeredAt: string;
10890
- phase: "cancelled" | "delivered" | "open" | "resolved";
10891
- resolvedAt?: string | undefined;
10892
- deliveredAt?: string | undefined;
10893
- cancelledAt?: string | undefined;
10894
- turnId: string;
10895
- kind: "process";
10896
- deadline: string;
10897
- timeoutSeconds: number;
10898
- pid: number;
10899
- startToken?: string | undefined;
10900
- exitFile?: string | undefined;
10901
- note?: string | undefined;
10902
- result?: {
10903
- outcome: "deadline" | "error" | "exit_file" | "exited";
10904
- observedAt: string;
10905
- exitCode?: number | undefined;
10906
- exitFileNote?: "not-an-exit-code" | undefined;
10907
- diagnostic?: string | undefined;
10908
- } | undefined;
10909
10885
  } | {
10910
10886
  id: string;
10911
10887
  source: "agent" | "cezar";
@@ -10967,6 +10943,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10967
10943
  reason: "outcome" | "timeout";
10968
10944
  } | undefined;
10969
10945
  wakeInputId?: string | undefined;
10946
+ } | {
10947
+ id: string;
10948
+ source: "agent" | "cezar";
10949
+ 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";
10950
+ registeredAt: string;
10951
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10952
+ resolvedAt?: string | undefined;
10953
+ deliveredAt?: string | undefined;
10954
+ cancelledAt?: string | undefined;
10955
+ turnId: string;
10956
+ kind: "process";
10957
+ deadline: string;
10958
+ timeoutSeconds: number;
10959
+ pid: number;
10960
+ startToken?: string | undefined;
10961
+ exitFile?: string | undefined;
10962
+ note?: string | undefined;
10963
+ result?: {
10964
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10965
+ observedAt: string;
10966
+ exitCode?: number | undefined;
10967
+ exitFileNote?: "not-an-exit-code" | undefined;
10968
+ diagnostic?: string | undefined;
10969
+ } | undefined;
10970
10970
  } | {
10971
10971
  id: string;
10972
10972
  source: "agent" | "cezar";
@@ -11098,30 +11098,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11098
11098
  deadline: string;
11099
11099
  seconds: number;
11100
11100
  note?: string | undefined;
11101
- } | {
11102
- id: string;
11103
- source: "agent" | "cezar";
11104
- 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";
11105
- registeredAt: string;
11106
- phase: "cancelled" | "delivered" | "open" | "resolved";
11107
- resolvedAt?: string | undefined;
11108
- deliveredAt?: string | undefined;
11109
- cancelledAt?: string | undefined;
11110
- turnId: string;
11111
- kind: "process";
11112
- deadline: string;
11113
- timeoutSeconds: number;
11114
- pid: number;
11115
- startToken?: string | undefined;
11116
- exitFile?: string | undefined;
11117
- note?: string | undefined;
11118
- result?: {
11119
- outcome: "deadline" | "error" | "exit_file" | "exited";
11120
- observedAt: string;
11121
- exitCode?: number | undefined;
11122
- exitFileNote?: "not-an-exit-code" | undefined;
11123
- diagnostic?: string | undefined;
11124
- } | undefined;
11125
11101
  } | {
11126
11102
  id: string;
11127
11103
  source: "agent" | "cezar";
@@ -11183,6 +11159,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11183
11159
  reason: "outcome" | "timeout";
11184
11160
  } | undefined;
11185
11161
  wakeInputId?: string | undefined;
11162
+ } | {
11163
+ id: string;
11164
+ source: "agent" | "cezar";
11165
+ 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";
11166
+ registeredAt: string;
11167
+ phase: "cancelled" | "delivered" | "open" | "resolved";
11168
+ resolvedAt?: string | undefined;
11169
+ deliveredAt?: string | undefined;
11170
+ cancelledAt?: string | undefined;
11171
+ turnId: string;
11172
+ kind: "process";
11173
+ deadline: string;
11174
+ timeoutSeconds: number;
11175
+ pid: number;
11176
+ startToken?: string | undefined;
11177
+ exitFile?: string | undefined;
11178
+ note?: string | undefined;
11179
+ result?: {
11180
+ outcome: "deadline" | "error" | "exit_file" | "exited";
11181
+ observedAt: string;
11182
+ exitCode?: number | undefined;
11183
+ exitFileNote?: "not-an-exit-code" | undefined;
11184
+ diagnostic?: string | undefined;
11185
+ } | undefined;
11186
11186
  } | {
11187
11187
  id: string;
11188
11188
  source: "agent" | "cezar";
@@ -11327,8 +11327,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11327
11327
  currentStepId?: string | undefined;
11328
11328
  error?: string | undefined;
11329
11329
  delegation?: {
11330
- role: "invalid";
11331
- } | {
11332
11330
  role: "root";
11333
11331
  conversation?: {
11334
11332
  messages: {
@@ -11563,6 +11561,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11563
11561
  } | undefined;
11564
11562
  executionRevision?: number | undefined;
11565
11563
  executionStartSeq?: number | undefined;
11564
+ } | {
11565
+ role: "invalid";
11566
11566
  } | undefined;
11567
11567
  lastWaitsError?: string | undefined;
11568
11568
  automaticWakes?: number | undefined;
@@ -12478,9 +12478,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12478
12478
  status: 404 | 409;
12479
12479
  input: {
12480
12480
  param: {
12481
- sha: string;
12482
- } & {
12483
12481
  id: string;
12482
+ } & {
12483
+ sha: string;
12484
12484
  };
12485
12485
  };
12486
12486
  } | {
@@ -12509,9 +12509,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12509
12509
  status: import("hono/utils/http-status").ContentfulStatusCode;
12510
12510
  input: {
12511
12511
  param: {
12512
- sha: string;
12513
- } & {
12514
12512
  id: string;
12513
+ } & {
12514
+ sha: string;
12515
12515
  };
12516
12516
  };
12517
12517
  };