@hearsay-tools/squawk 0.19.0-dev.8843 → 0.19.0-dev.8846

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 (139) hide show
  1. package/dist/boot.d.ts +1 -1
  2. package/dist/boot.js +4 -1
  3. package/dist/boot.js.map +1 -1
  4. package/dist/built-in-forges.d.ts +8 -0
  5. package/dist/built-in-forges.js +15 -0
  6. package/dist/built-in-forges.js.map +1 -0
  7. package/dist/contract/health.d.ts +2 -2
  8. package/dist/contract/index.d.ts +1 -0
  9. package/dist/contract/index.js +39 -11
  10. package/dist/contract/projects.d.ts +6 -6
  11. package/dist/contract/pull-request-urls.d.ts +20 -0
  12. package/dist/contract/runs.d.ts +10 -1
  13. package/dist/core/forge-registry.d.ts +113 -0
  14. package/dist/core/forge-registry.js +127 -0
  15. package/dist/core/forge-registry.js.map +1 -0
  16. package/dist/delegation/routes.d.ts +4 -4
  17. package/dist/delegation/transport.d.ts +69 -69
  18. package/dist/features/automations/github-repository.js +2 -1
  19. package/dist/features/automations/github-repository.js.map +1 -1
  20. package/dist/features/automations/task-template.js +1 -1
  21. package/dist/features/automations/task-template.js.map +1 -1
  22. package/dist/plugin/api.d.ts +4 -0
  23. package/dist/plugin/api.js +10 -1
  24. package/dist/plugin/api.js.map +1 -1
  25. package/dist/plugin/cli.js +1 -1
  26. package/dist/plugin/cli.js.map +1 -1
  27. package/dist/plugin/index.d.ts +1 -0
  28. package/dist/plugin/index.js.map +1 -1
  29. package/dist/runs/pull-requests.d.ts +10 -0
  30. package/dist/runs/pull-requests.js +30 -19
  31. package/dist/runs/pull-requests.js.map +1 -1
  32. package/dist/runs/run-archive.d.ts +1 -0
  33. package/dist/runs/run-archive.js +14 -4
  34. package/dist/runs/run-archive.js.map +1 -1
  35. package/dist/runs/run-decode.d.ts +74 -72
  36. package/dist/runs/run-exits.d.ts +6 -0
  37. package/dist/runs/run-references.d.ts +1 -0
  38. package/dist/runs/run-references.js +7 -6
  39. package/dist/runs/run-references.js.map +1 -1
  40. package/dist/runs/store-open.d.ts +7 -1
  41. package/dist/runs/store-open.js +8 -2
  42. package/dist/runs/store-open.js.map +1 -1
  43. package/dist/runs/task-markers.js +1 -1
  44. package/dist/runs/task-markers.js.map +1 -1
  45. package/dist/runs/task-refs.d.ts +14 -7
  46. package/dist/runs/task-refs.js +32 -18
  47. package/dist/runs/task-refs.js.map +1 -1
  48. package/dist/server/activity-routes.d.ts +23 -23
  49. package/dist/server/completion-actions.js +3 -3
  50. package/dist/server/completion-actions.js.map +1 -1
  51. package/dist/server/forge/draft-pr.d.ts +6 -0
  52. package/dist/server/forge/draft-pr.js +11 -3
  53. package/dist/server/forge/draft-pr.js.map +1 -1
  54. package/dist/server/forge/github-forge.d.ts +4 -0
  55. package/dist/server/forge/github-forge.js +80 -0
  56. package/dist/server/forge/github-forge.js.map +1 -0
  57. package/dist/server/forge/github-mutations.js +4 -2
  58. package/dist/server/forge/github-mutations.js.map +1 -1
  59. package/dist/server/forge/index.d.ts +0 -19
  60. package/dist/server/forge/index.js +6 -29
  61. package/dist/server/forge/index.js.map +1 -1
  62. package/dist/server/forge/types.d.ts +2 -1
  63. package/dist/server/live-routes.d.ts +6 -6
  64. package/dist/server/projects-routes.d.ts +9 -9
  65. package/dist/server/repo-routes.d.ts +21 -21
  66. package/dist/server/runs-routes.d.ts +691 -682
  67. package/dist/server/server.d.ts +1257 -1239
  68. package/dist/server/workspace-live-routes.d.ts +6 -6
  69. package/dist/server/workspace-routes.d.ts +84 -84
  70. package/dist/workflows/continuation-admission.d.ts +1 -0
  71. package/dist/workflows/run/wait-engine.d.ts +73 -72
  72. package/dist/workspace/projects.d.ts +4 -5
  73. package/dist/workspace/projects.js +1 -1
  74. package/dist/workspace/projects.js.map +1 -1
  75. package/package.json +4 -4
  76. package/scripts/benchmark-project-probes.mjs +4 -0
  77. package/web/dist/assets/{accounts-section-D1dia-hG.js → accounts-section-BDtqUWb3.js} +1 -1
  78. package/web/dist/assets/{activity-motion-fPvKJxvA.js → activity-motion-BXoeTgQ0.js} +1 -1
  79. package/web/dist/assets/{activity-route-CB5nog2G.js → activity-route-C6vB-67V.js} +1 -1
  80. package/web/dist/assets/{agent-config-section-D0_Hh9sa.js → agent-config-section-CYKtNSOq.js} +1 -1
  81. package/web/dist/assets/{agent-defaults-section-Da8_EROm.js → agent-defaults-section-Cxi5hgqw.js} +1 -1
  82. package/web/dist/assets/{appearance-D6Jy-FOI.js → appearance-DpiBlg6s.js} +1 -1
  83. package/web/dist/assets/{archive-on-merge-field-C5WFm3HO.js → archive-on-merge-field-BkwRlcuT.js} +1 -1
  84. package/web/dist/assets/attention-ILOaW2-t.js +1 -0
  85. package/web/dist/assets/{automations-route-CctTxl3u.js → automations-route-B7pZjn4t.js} +1 -1
  86. package/web/dist/assets/{commit-list-FImAZR2z.js → commit-list-DmvUQRfc.js} +1 -1
  87. package/web/dist/assets/{diff-controls-DzbvRI1Q.js → diff-controls-DDd5C9KF.js} +1 -1
  88. package/web/dist/assets/{diff-DqOJaV4a.js → diff-pvABbnFN.js} +2 -2
  89. package/web/dist/assets/{diff-view-D8TGCcR9.js → diff-view-y0rJAqxu.js} +1 -1
  90. package/web/dist/assets/{file-preview-B4UtCBRw.js → file-preview-CtLbHTJd.js} +1 -1
  91. package/web/dist/assets/{folder-browser-ZmOa9z3j.js → folder-browser-B_jJl4is.js} +1 -1
  92. package/web/dist/assets/{git-toolbar-Dun1QqPH.js → git-toolbar-BNu4FVNt.js} +1 -1
  93. package/web/dist/assets/{github-BN-W-GO8.js → github-P8iLt9Ze.js} +1 -1
  94. package/web/dist/assets/{global-activity-route--JbzbeqH.js → global-activity-route-DmlKf3HJ.js} +1 -1
  95. package/web/dist/assets/{index-DEWnkuj6.js → index-CtmR0Rih.js} +5 -5
  96. package/web/dist/assets/{label-D91E4F0a.js → label-DMC9mkYa.js} +1 -1
  97. package/web/dist/assets/{markdown-DOEDwgDr.js → markdown-Ccc5GQS7.js} +1 -1
  98. package/web/dist/assets/{notifications-section-WK58Ps4V.js → notifications-section-A6faaEDe.js} +1 -1
  99. package/web/dist/assets/{open-in-menu-CqNkccJr.js → open-in-menu-VhRao_Jk.js} +1 -1
  100. package/web/dist/assets/{preview-pane-connected-BWcpAxTc.js → preview-pane-connected-gDJgoJyx.js} +1 -1
  101. package/web/dist/assets/{project-location-CspXXtNm.js → project-location-DATkk1gA.js} +1 -1
  102. package/web/dist/assets/{project-router-BifLGgRR.js → project-router-B9FTk0rB.js} +1 -1
  103. package/web/dist/assets/{projects-section-DOMgdG7r.js → projects-section-Bo9w_srQ.js} +1 -1
  104. package/web/dist/assets/{prompt-templates-section-DQK4c-Yk.js → prompt-templates-section-CA-GCYAc.js} +1 -1
  105. package/web/dist/assets/{queries-D0v1z40Y.js → queries-hzlF788B.js} +1 -1
  106. package/web/dist/assets/{reference-chip-DXFYkdLT.js → reference-chip-Dgo5aKeb.js} +1 -1
  107. package/web/dist/assets/{remote-settings-notice-B8a6aNBw.js → remote-settings-notice-CEmfxzke.js} +1 -1
  108. package/web/dist/assets/{repo-git-CL-s-Ml4.js → repo-git-CslX0xWz.js} +1 -1
  109. package/web/dist/assets/{report-reader-CYzRGRF-.js → report-reader-C70mj6S6.js} +1 -1
  110. package/web/dist/assets/{report-selection-CDlncYKI.js → report-selection-C-2DJb8L.js} +1 -1
  111. package/web/dist/assets/{reports-BF3eEnvh.js → reports-C7BHDLLE.js} +1 -1
  112. package/web/dist/assets/{resources-section-Bvw0anG8.js → resources-section-DEczWFga.js} +1 -1
  113. package/web/dist/assets/{review-panel-DJivUXQc.js → review-panel-XIuCglMi.js} +1 -1
  114. package/web/dist/assets/{run-detail-refresh-DkwIHh-c.js → run-detail-refresh-Ye2jcT7n.js} +1 -1
  115. package/web/dist/assets/{run-header-B1lhW0fF.js → run-header-gQnKz92B.js} +1 -1
  116. package/web/dist/assets/{select-ttlXTWN-.js → select-VMOFW67M.js} +1 -1
  117. package/web/dist/assets/{session-context-section-DhNuv3zS.js → session-context-section-Dh1KSiWq.js} +1 -1
  118. package/web/dist/assets/{settings-agent-picker-B-a6cPMj.js → settings-agent-picker-QEhmK2uD.js} +1 -1
  119. package/web/dist/assets/{settings-shell-kDDr8_Jd.js → settings-shell-DTu-GViz.js} +1 -1
  120. package/web/dist/assets/{sidebar-section-BP2FtFmc.js → sidebar-section-CIKjtt38.js} +1 -1
  121. package/web/dist/assets/{skills-CWozz5P0.js → skills-CdtSD18y.js} +1 -1
  122. package/web/dist/assets/{tab-link-DAxoMsUp.js → tab-link-BlZX-nKP.js} +1 -1
  123. package/web/dist/assets/{task-changes-CQEaFA9P.js → task-changes-CHlKuW-X.js} +1 -1
  124. package/web/dist/assets/{task-commits-BHYH-E_r.js → task-commits-nF4skyb7.js} +1 -1
  125. package/web/dist/assets/{task-file-scope-CgfssVeu.js → task-file-scope-MfwFcMP-.js} +1 -1
  126. package/web/dist/assets/{task-files-CD4LqOtt.js → task-files-DtFAAilW.js} +1 -1
  127. package/web/dist/assets/{task-github-item-BBwSUB9p.js → task-github-item-7NfAP9Cc.js} +1 -1
  128. package/web/dist/assets/{task-groups-BdayPxX3.js → task-groups-DD46syqv.js} +1 -1
  129. package/web/dist/assets/{task-thread-BPS4pya8.js → task-thread-BythIUIj.js} +1 -1
  130. package/web/dist/assets/{tasks-table-B9Hu3rBi.js → tasks-table-D17JLOhe.js} +1 -1
  131. package/web/dist/assets/{thread-state-22G0OlcH.js → thread-state-D9Q1UDJa.js} +1 -1
  132. package/web/dist/assets/toaster-fWyfEGWF.js +4 -0
  133. package/web/dist/assets/{use-hand-to-agent-state-BdkYBCvG.js → use-hand-to-agent-state-D9nrW-0i.js} +1 -1
  134. package/web/dist/assets/{workflows-C9gvUvUy.js → workflows-CNc4Vs8I.js} +1 -1
  135. package/web/dist/assets/{workspace-tools-Cg0RKomm.js → workspace-tools-C5y6_0Cv.js} +1 -1
  136. package/web/dist/assets/{worktrees-section-DHiLUz-l.js → worktrees-section-CJCdE5Yx.js} +1 -1
  137. package/web/dist/index.html +13 -13
  138. package/web/dist/assets/attention-Dt-QhJ3p.js +0 -1
  139. package/web/dist/assets/toaster-DMfiAEnw.js +0 -4
@@ -422,6 +422,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
422
422
  deadline: string;
423
423
  seconds: number;
424
424
  note?: string | undefined;
425
+ } | {
426
+ id: string;
427
+ source: "agent" | "cezar";
428
+ 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";
429
+ registeredAt: string;
430
+ phase: "cancelled" | "delivered" | "open" | "resolved";
431
+ resolvedAt?: string | undefined;
432
+ deliveredAt?: string | undefined;
433
+ cancelledAt?: string | undefined;
434
+ turnId: string;
435
+ kind: "process";
436
+ deadline: string;
437
+ timeoutSeconds: number;
438
+ pid: number;
439
+ startToken?: string | undefined;
440
+ exitFile?: string | undefined;
441
+ note?: string | undefined;
442
+ result?: {
443
+ outcome: "deadline" | "error" | "exit_file" | "exited";
444
+ observedAt: string;
445
+ exitCode?: number | undefined;
446
+ exitFileNote?: "not-an-exit-code" | undefined;
447
+ diagnostic?: string | undefined;
448
+ } | undefined;
425
449
  } | {
426
450
  id: string;
427
451
  source: "agent" | "cezar";
@@ -483,30 +507,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
483
507
  reason: "outcome" | "timeout";
484
508
  } | undefined;
485
509
  wakeInputId?: string | undefined;
486
- } | {
487
- id: string;
488
- source: "agent" | "cezar";
489
- 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";
490
- registeredAt: string;
491
- phase: "cancelled" | "delivered" | "open" | "resolved";
492
- resolvedAt?: string | undefined;
493
- deliveredAt?: string | undefined;
494
- cancelledAt?: string | undefined;
495
- turnId: string;
496
- kind: "process";
497
- deadline: string;
498
- timeoutSeconds: number;
499
- pid: number;
500
- startToken?: string | undefined;
501
- exitFile?: string | undefined;
502
- note?: string | undefined;
503
- result?: {
504
- outcome: "deadline" | "error" | "exit_file" | "exited";
505
- observedAt: string;
506
- exitCode?: number | undefined;
507
- exitFileNote?: "not-an-exit-code" | undefined;
508
- diagnostic?: string | undefined;
509
- } | undefined;
510
510
  } | {
511
511
  id: string;
512
512
  source: "agent" | "cezar";
@@ -639,6 +639,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
639
639
  deadline: string;
640
640
  seconds: number;
641
641
  note?: string | undefined;
642
+ } | {
643
+ id: string;
644
+ source: "agent" | "cezar";
645
+ 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";
646
+ registeredAt: string;
647
+ phase: "cancelled" | "delivered" | "open" | "resolved";
648
+ resolvedAt?: string | undefined;
649
+ deliveredAt?: string | undefined;
650
+ cancelledAt?: string | undefined;
651
+ turnId: string;
652
+ kind: "process";
653
+ deadline: string;
654
+ timeoutSeconds: number;
655
+ pid: number;
656
+ startToken?: string | undefined;
657
+ exitFile?: string | undefined;
658
+ note?: string | undefined;
659
+ result?: {
660
+ outcome: "deadline" | "error" | "exit_file" | "exited";
661
+ observedAt: string;
662
+ exitCode?: number | undefined;
663
+ exitFileNote?: "not-an-exit-code" | undefined;
664
+ diagnostic?: string | undefined;
665
+ } | undefined;
642
666
  } | {
643
667
  id: string;
644
668
  source: "agent" | "cezar";
@@ -700,30 +724,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
700
724
  reason: "outcome" | "timeout";
701
725
  } | undefined;
702
726
  wakeInputId?: string | undefined;
703
- } | {
704
- id: string;
705
- source: "agent" | "cezar";
706
- 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";
707
- registeredAt: string;
708
- phase: "cancelled" | "delivered" | "open" | "resolved";
709
- resolvedAt?: string | undefined;
710
- deliveredAt?: string | undefined;
711
- cancelledAt?: string | undefined;
712
- turnId: string;
713
- kind: "process";
714
- deadline: string;
715
- timeoutSeconds: number;
716
- pid: number;
717
- startToken?: string | undefined;
718
- exitFile?: string | undefined;
719
- note?: string | undefined;
720
- result?: {
721
- outcome: "deadline" | "error" | "exit_file" | "exited";
722
- observedAt: string;
723
- exitCode?: number | undefined;
724
- exitFileNote?: "not-an-exit-code" | undefined;
725
- diagnostic?: string | undefined;
726
- } | undefined;
727
727
  } | {
728
728
  id: string;
729
729
  source: "agent" | "cezar";
@@ -855,6 +855,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
855
855
  deadline: string;
856
856
  seconds: number;
857
857
  note?: string | undefined;
858
+ } | {
859
+ id: string;
860
+ source: "agent" | "cezar";
861
+ 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";
862
+ registeredAt: string;
863
+ phase: "cancelled" | "delivered" | "open" | "resolved";
864
+ resolvedAt?: string | undefined;
865
+ deliveredAt?: string | undefined;
866
+ cancelledAt?: string | undefined;
867
+ turnId: string;
868
+ kind: "process";
869
+ deadline: string;
870
+ timeoutSeconds: number;
871
+ pid: number;
872
+ startToken?: string | undefined;
873
+ exitFile?: string | undefined;
874
+ note?: string | undefined;
875
+ result?: {
876
+ outcome: "deadline" | "error" | "exit_file" | "exited";
877
+ observedAt: string;
878
+ exitCode?: number | undefined;
879
+ exitFileNote?: "not-an-exit-code" | undefined;
880
+ diagnostic?: string | undefined;
881
+ } | undefined;
858
882
  } | {
859
883
  id: string;
860
884
  source: "agent" | "cezar";
@@ -916,30 +940,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
916
940
  reason: "outcome" | "timeout";
917
941
  } | undefined;
918
942
  wakeInputId?: string | undefined;
919
- } | {
920
- id: string;
921
- source: "agent" | "cezar";
922
- 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";
923
- registeredAt: string;
924
- phase: "cancelled" | "delivered" | "open" | "resolved";
925
- resolvedAt?: string | undefined;
926
- deliveredAt?: string | undefined;
927
- cancelledAt?: string | undefined;
928
- turnId: string;
929
- kind: "process";
930
- deadline: string;
931
- timeoutSeconds: number;
932
- pid: number;
933
- startToken?: string | undefined;
934
- exitFile?: string | undefined;
935
- note?: string | undefined;
936
- result?: {
937
- outcome: "deadline" | "error" | "exit_file" | "exited";
938
- observedAt: string;
939
- exitCode?: number | undefined;
940
- exitFileNote?: "not-an-exit-code" | undefined;
941
- diagnostic?: string | undefined;
942
- } | undefined;
943
943
  } | {
944
944
  id: string;
945
945
  source: "agent" | "cezar";
@@ -1117,6 +1117,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1117
1117
  archivedAt: string;
1118
1118
  fingerprint: string;
1119
1119
  pullRequests: {
1120
+ host?: string | undefined;
1120
1121
  owner: string;
1121
1122
  repo: string;
1122
1123
  number: number;
@@ -1725,11 +1726,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1725
1726
  "/runs/:id/worker-destroy": {
1726
1727
  $post: {
1727
1728
  output: {
1728
- error: string;
1729
- code?: "invalid_input" | undefined;
1729
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1730
+ readonly error: string;
1731
+ readonly modelChoices?: {
1732
+ runner: string;
1733
+ requestedModel: string;
1734
+ availableModels: {
1735
+ id: string;
1736
+ label: string;
1737
+ description: string;
1738
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1739
+ }[];
1740
+ otherRunners: string[];
1741
+ } | undefined;
1730
1742
  };
1731
1743
  outputFormat: "json";
1732
- status: 400;
1744
+ status: 400 | 401 | 403 | 409 | 503;
1733
1745
  input: {
1734
1746
  query: {
1735
1747
  [x: string]: string | string[];
@@ -1745,22 +1757,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1745
1757
  };
1746
1758
  } | {
1747
1759
  output: {
1748
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1749
- readonly error: string;
1750
- readonly modelChoices?: {
1751
- runner: string;
1752
- requestedModel: string;
1753
- availableModels: {
1754
- id: string;
1755
- label: string;
1756
- description: string;
1757
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1758
- }[];
1759
- otherRunners: string[];
1760
- } | undefined;
1760
+ error: string;
1761
+ code?: "invalid_input" | undefined;
1761
1762
  };
1762
1763
  outputFormat: "json";
1763
- status: 400 | 401 | 403 | 409 | 503;
1764
+ status: 400;
1764
1765
  input: {
1765
1766
  query: {
1766
1767
  [x: string]: string | string[];
@@ -2268,6 +2269,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2268
2269
  deadline: string;
2269
2270
  seconds: number;
2270
2271
  note?: string | undefined;
2272
+ } | {
2273
+ id: string;
2274
+ source: "agent" | "cezar";
2275
+ 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";
2276
+ registeredAt: string;
2277
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2278
+ resolvedAt?: string | undefined;
2279
+ deliveredAt?: string | undefined;
2280
+ cancelledAt?: string | undefined;
2281
+ turnId: string;
2282
+ kind: "process";
2283
+ deadline: string;
2284
+ timeoutSeconds: number;
2285
+ pid: number;
2286
+ startToken?: string | undefined;
2287
+ exitFile?: string | undefined;
2288
+ note?: string | undefined;
2289
+ result?: {
2290
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2291
+ observedAt: string;
2292
+ exitCode?: number | undefined;
2293
+ exitFileNote?: "not-an-exit-code" | undefined;
2294
+ diagnostic?: string | undefined;
2295
+ } | undefined;
2271
2296
  } | {
2272
2297
  id: string;
2273
2298
  source: "agent" | "cezar";
@@ -2329,30 +2354,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2329
2354
  reason: "outcome" | "timeout";
2330
2355
  } | undefined;
2331
2356
  wakeInputId?: string | undefined;
2332
- } | {
2333
- id: string;
2334
- source: "agent" | "cezar";
2335
- 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";
2336
- registeredAt: string;
2337
- phase: "cancelled" | "delivered" | "open" | "resolved";
2338
- resolvedAt?: string | undefined;
2339
- deliveredAt?: string | undefined;
2340
- cancelledAt?: string | undefined;
2341
- turnId: string;
2342
- kind: "process";
2343
- deadline: string;
2344
- timeoutSeconds: number;
2345
- pid: number;
2346
- startToken?: string | undefined;
2347
- exitFile?: string | undefined;
2348
- note?: string | undefined;
2349
- result?: {
2350
- outcome: "deadline" | "error" | "exit_file" | "exited";
2351
- observedAt: string;
2352
- exitCode?: number | undefined;
2353
- exitFileNote?: "not-an-exit-code" | undefined;
2354
- diagnostic?: string | undefined;
2355
- } | undefined;
2356
2357
  } | {
2357
2358
  id: string;
2358
2359
  source: "agent" | "cezar";
@@ -2485,6 +2486,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2485
2486
  deadline: string;
2486
2487
  seconds: number;
2487
2488
  note?: string | undefined;
2489
+ } | {
2490
+ id: string;
2491
+ source: "agent" | "cezar";
2492
+ 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";
2493
+ registeredAt: string;
2494
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2495
+ resolvedAt?: string | undefined;
2496
+ deliveredAt?: string | undefined;
2497
+ cancelledAt?: string | undefined;
2498
+ turnId: string;
2499
+ kind: "process";
2500
+ deadline: string;
2501
+ timeoutSeconds: number;
2502
+ pid: number;
2503
+ startToken?: string | undefined;
2504
+ exitFile?: string | undefined;
2505
+ note?: string | undefined;
2506
+ result?: {
2507
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2508
+ observedAt: string;
2509
+ exitCode?: number | undefined;
2510
+ exitFileNote?: "not-an-exit-code" | undefined;
2511
+ diagnostic?: string | undefined;
2512
+ } | undefined;
2488
2513
  } | {
2489
2514
  id: string;
2490
2515
  source: "agent" | "cezar";
@@ -2556,31 +2581,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2556
2581
  deliveredAt?: string | undefined;
2557
2582
  cancelledAt?: string | undefined;
2558
2583
  turnId: string;
2559
- kind: "process";
2560
- deadline: string;
2561
- timeoutSeconds: number;
2562
- pid: number;
2563
- startToken?: string | undefined;
2564
- exitFile?: string | undefined;
2565
- note?: string | undefined;
2566
- result?: {
2567
- outcome: "deadline" | "error" | "exit_file" | "exited";
2568
- observedAt: string;
2569
- exitCode?: number | undefined;
2570
- exitFileNote?: "not-an-exit-code" | undefined;
2571
- diagnostic?: string | undefined;
2572
- } | undefined;
2573
- } | {
2574
- id: string;
2575
- source: "agent" | "cezar";
2576
- 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";
2577
- registeredAt: string;
2578
- phase: "cancelled" | "delivered" | "open" | "resolved";
2579
- resolvedAt?: string | undefined;
2580
- deliveredAt?: string | undefined;
2581
- cancelledAt?: string | undefined;
2582
- turnId: string;
2583
- kind: "peer";
2584
+ kind: "peer";
2584
2585
  deadline: string;
2585
2586
  timeoutSeconds: number;
2586
2587
  peerIds: string[];
@@ -2701,6 +2702,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2701
2702
  deadline: string;
2702
2703
  seconds: number;
2703
2704
  note?: string | undefined;
2705
+ } | {
2706
+ id: string;
2707
+ source: "agent" | "cezar";
2708
+ 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";
2709
+ registeredAt: string;
2710
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2711
+ resolvedAt?: string | undefined;
2712
+ deliveredAt?: string | undefined;
2713
+ cancelledAt?: string | undefined;
2714
+ turnId: string;
2715
+ kind: "process";
2716
+ deadline: string;
2717
+ timeoutSeconds: number;
2718
+ pid: number;
2719
+ startToken?: string | undefined;
2720
+ exitFile?: string | undefined;
2721
+ note?: string | undefined;
2722
+ result?: {
2723
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2724
+ observedAt: string;
2725
+ exitCode?: number | undefined;
2726
+ exitFileNote?: "not-an-exit-code" | undefined;
2727
+ diagnostic?: string | undefined;
2728
+ } | undefined;
2704
2729
  } | {
2705
2730
  id: string;
2706
2731
  source: "agent" | "cezar";
@@ -2762,30 +2787,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2762
2787
  reason: "outcome" | "timeout";
2763
2788
  } | undefined;
2764
2789
  wakeInputId?: string | undefined;
2765
- } | {
2766
- id: string;
2767
- source: "agent" | "cezar";
2768
- 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";
2769
- registeredAt: string;
2770
- phase: "cancelled" | "delivered" | "open" | "resolved";
2771
- resolvedAt?: string | undefined;
2772
- deliveredAt?: string | undefined;
2773
- cancelledAt?: string | undefined;
2774
- turnId: string;
2775
- kind: "process";
2776
- deadline: string;
2777
- timeoutSeconds: number;
2778
- pid: number;
2779
- startToken?: string | undefined;
2780
- exitFile?: string | undefined;
2781
- note?: string | undefined;
2782
- result?: {
2783
- outcome: "deadline" | "error" | "exit_file" | "exited";
2784
- observedAt: string;
2785
- exitCode?: number | undefined;
2786
- exitFileNote?: "not-an-exit-code" | undefined;
2787
- diagnostic?: string | undefined;
2788
- } | undefined;
2789
2790
  } | {
2790
2791
  id: string;
2791
2792
  source: "agent" | "cezar";
@@ -2963,6 +2964,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2963
2964
  archivedAt: string;
2964
2965
  fingerprint: string;
2965
2966
  pullRequests: {
2967
+ host?: string | undefined;
2966
2968
  owner: string;
2967
2969
  repo: string;
2968
2970
  number: number;
@@ -3482,6 +3484,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3482
3484
  deadline: string;
3483
3485
  seconds: number;
3484
3486
  note?: string | undefined;
3487
+ } | {
3488
+ id: string;
3489
+ source: "agent" | "cezar";
3490
+ 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";
3491
+ registeredAt: string;
3492
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3493
+ resolvedAt?: string | undefined;
3494
+ deliveredAt?: string | undefined;
3495
+ cancelledAt?: string | undefined;
3496
+ turnId: string;
3497
+ kind: "process";
3498
+ deadline: string;
3499
+ timeoutSeconds: number;
3500
+ pid: number;
3501
+ startToken?: string | undefined;
3502
+ exitFile?: string | undefined;
3503
+ note?: string | undefined;
3504
+ result?: {
3505
+ outcome: "deadline" | "error" | "exit_file" | "exited";
3506
+ observedAt: string;
3507
+ exitCode?: number | undefined;
3508
+ exitFileNote?: "not-an-exit-code" | undefined;
3509
+ diagnostic?: string | undefined;
3510
+ } | undefined;
3485
3511
  } | {
3486
3512
  id: string;
3487
3513
  source: "agent" | "cezar";
@@ -3543,30 +3569,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3543
3569
  reason: "outcome" | "timeout";
3544
3570
  } | undefined;
3545
3571
  wakeInputId?: string | undefined;
3546
- } | {
3547
- id: string;
3548
- source: "agent" | "cezar";
3549
- 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";
3550
- registeredAt: string;
3551
- phase: "cancelled" | "delivered" | "open" | "resolved";
3552
- resolvedAt?: string | undefined;
3553
- deliveredAt?: string | undefined;
3554
- cancelledAt?: string | undefined;
3555
- turnId: string;
3556
- kind: "process";
3557
- deadline: string;
3558
- timeoutSeconds: number;
3559
- pid: number;
3560
- startToken?: string | undefined;
3561
- exitFile?: string | undefined;
3562
- note?: string | undefined;
3563
- result?: {
3564
- outcome: "deadline" | "error" | "exit_file" | "exited";
3565
- observedAt: string;
3566
- exitCode?: number | undefined;
3567
- exitFileNote?: "not-an-exit-code" | undefined;
3568
- diagnostic?: string | undefined;
3569
- } | undefined;
3570
3572
  } | {
3571
3573
  id: string;
3572
3574
  source: "agent" | "cezar";
@@ -3699,6 +3701,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3699
3701
  deadline: string;
3700
3702
  seconds: number;
3701
3703
  note?: string | undefined;
3704
+ } | {
3705
+ id: string;
3706
+ source: "agent" | "cezar";
3707
+ 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";
3708
+ registeredAt: string;
3709
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3710
+ resolvedAt?: string | undefined;
3711
+ deliveredAt?: string | undefined;
3712
+ cancelledAt?: string | undefined;
3713
+ turnId: string;
3714
+ kind: "process";
3715
+ deadline: string;
3716
+ timeoutSeconds: number;
3717
+ pid: number;
3718
+ startToken?: string | undefined;
3719
+ exitFile?: string | undefined;
3720
+ note?: string | undefined;
3721
+ result?: {
3722
+ outcome: "deadline" | "error" | "exit_file" | "exited";
3723
+ observedAt: string;
3724
+ exitCode?: number | undefined;
3725
+ exitFileNote?: "not-an-exit-code" | undefined;
3726
+ diagnostic?: string | undefined;
3727
+ } | undefined;
3702
3728
  } | {
3703
3729
  id: string;
3704
3730
  source: "agent" | "cezar";
@@ -3760,30 +3786,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3760
3786
  reason: "outcome" | "timeout";
3761
3787
  } | undefined;
3762
3788
  wakeInputId?: string | undefined;
3763
- } | {
3764
- id: string;
3765
- source: "agent" | "cezar";
3766
- 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";
3767
- registeredAt: string;
3768
- phase: "cancelled" | "delivered" | "open" | "resolved";
3769
- resolvedAt?: string | undefined;
3770
- deliveredAt?: string | undefined;
3771
- cancelledAt?: string | undefined;
3772
- turnId: string;
3773
- kind: "process";
3774
- deadline: string;
3775
- timeoutSeconds: number;
3776
- pid: number;
3777
- startToken?: string | undefined;
3778
- exitFile?: string | undefined;
3779
- note?: string | undefined;
3780
- result?: {
3781
- outcome: "deadline" | "error" | "exit_file" | "exited";
3782
- observedAt: string;
3783
- exitCode?: number | undefined;
3784
- exitFileNote?: "not-an-exit-code" | undefined;
3785
- diagnostic?: string | undefined;
3786
- } | undefined;
3787
3789
  } | {
3788
3790
  id: string;
3789
3791
  source: "agent" | "cezar";
@@ -3915,6 +3917,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3915
3917
  deadline: string;
3916
3918
  seconds: number;
3917
3919
  note?: string | undefined;
3920
+ } | {
3921
+ id: string;
3922
+ source: "agent" | "cezar";
3923
+ 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";
3924
+ registeredAt: string;
3925
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3926
+ resolvedAt?: string | undefined;
3927
+ deliveredAt?: string | undefined;
3928
+ cancelledAt?: string | undefined;
3929
+ turnId: string;
3930
+ kind: "process";
3931
+ deadline: string;
3932
+ timeoutSeconds: number;
3933
+ pid: number;
3934
+ startToken?: string | undefined;
3935
+ exitFile?: string | undefined;
3936
+ note?: string | undefined;
3937
+ result?: {
3938
+ outcome: "deadline" | "error" | "exit_file" | "exited";
3939
+ observedAt: string;
3940
+ exitCode?: number | undefined;
3941
+ exitFileNote?: "not-an-exit-code" | undefined;
3942
+ diagnostic?: string | undefined;
3943
+ } | undefined;
3918
3944
  } | {
3919
3945
  id: string;
3920
3946
  source: "agent" | "cezar";
@@ -3976,30 +4002,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3976
4002
  reason: "outcome" | "timeout";
3977
4003
  } | undefined;
3978
4004
  wakeInputId?: string | undefined;
3979
- } | {
3980
- id: string;
3981
- source: "agent" | "cezar";
3982
- 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";
3983
- registeredAt: string;
3984
- phase: "cancelled" | "delivered" | "open" | "resolved";
3985
- resolvedAt?: string | undefined;
3986
- deliveredAt?: string | undefined;
3987
- cancelledAt?: string | undefined;
3988
- turnId: string;
3989
- kind: "process";
3990
- deadline: string;
3991
- timeoutSeconds: number;
3992
- pid: number;
3993
- startToken?: string | undefined;
3994
- exitFile?: string | undefined;
3995
- note?: string | undefined;
3996
- result?: {
3997
- outcome: "deadline" | "error" | "exit_file" | "exited";
3998
- observedAt: string;
3999
- exitCode?: number | undefined;
4000
- exitFileNote?: "not-an-exit-code" | undefined;
4001
- diagnostic?: string | undefined;
4002
- } | undefined;
4003
4005
  } | {
4004
4006
  id: string;
4005
4007
  source: "agent" | "cezar";
@@ -4177,6 +4179,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4177
4179
  archivedAt: string;
4178
4180
  fingerprint: string;
4179
4181
  pullRequests: {
4182
+ host?: string | undefined;
4180
4183
  owner: string;
4181
4184
  repo: string;
4182
4185
  number: number;
@@ -4476,6 +4479,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4476
4479
  deadline: string;
4477
4480
  seconds: number;
4478
4481
  note?: string | undefined;
4482
+ } | {
4483
+ id: string;
4484
+ source: "agent" | "cezar";
4485
+ 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";
4486
+ registeredAt: string;
4487
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4488
+ resolvedAt?: string | undefined;
4489
+ deliveredAt?: string | undefined;
4490
+ cancelledAt?: string | undefined;
4491
+ turnId: string;
4492
+ kind: "process";
4493
+ deadline: string;
4494
+ timeoutSeconds: number;
4495
+ pid: number;
4496
+ startToken?: string | undefined;
4497
+ exitFile?: string | undefined;
4498
+ note?: string | undefined;
4499
+ result?: {
4500
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4501
+ observedAt: string;
4502
+ exitCode?: number | undefined;
4503
+ exitFileNote?: "not-an-exit-code" | undefined;
4504
+ diagnostic?: string | undefined;
4505
+ } | undefined;
4479
4506
  } | {
4480
4507
  id: string;
4481
4508
  source: "agent" | "cezar";
@@ -4547,43 +4574,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4547
4574
  deliveredAt?: string | undefined;
4548
4575
  cancelledAt?: string | undefined;
4549
4576
  turnId: string;
4550
- kind: "process";
4577
+ kind: "peer";
4551
4578
  deadline: string;
4552
4579
  timeoutSeconds: number;
4553
- pid: number;
4554
- startToken?: string | undefined;
4555
- exitFile?: string | undefined;
4556
- note?: string | undefined;
4580
+ peerIds: string[];
4557
4581
  result?: {
4558
- outcome: "deadline" | "error" | "exit_file" | "exited";
4559
- observedAt: string;
4560
- exitCode?: number | undefined;
4561
- exitFileNote?: "not-an-exit-code" | undefined;
4562
- diagnostic?: string | undefined;
4563
- } | undefined;
4564
- } | {
4565
- id: string;
4566
- source: "agent" | "cezar";
4567
- 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";
4568
- registeredAt: string;
4569
- phase: "cancelled" | "delivered" | "open" | "resolved";
4570
- resolvedAt?: string | undefined;
4571
- deliveredAt?: string | undefined;
4572
- cancelledAt?: string | undefined;
4573
- turnId: string;
4574
- kind: "peer";
4575
- deadline: string;
4576
- timeoutSeconds: number;
4577
- peerIds: string[];
4578
- result?: {
4579
- reason: "message";
4580
- peerRunId: string;
4581
- messageId: string;
4582
- } | {
4583
- reason: "settled";
4584
- peerRunId: string;
4585
- } | {
4586
- reason: "timeout";
4582
+ reason: "message";
4583
+ peerRunId: string;
4584
+ messageId: string;
4585
+ } | {
4586
+ reason: "settled";
4587
+ peerRunId: string;
4588
+ } | {
4589
+ reason: "timeout";
4587
4590
  } | undefined;
4588
4591
  } | {
4589
4592
  id: string;
@@ -4693,6 +4696,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4693
4696
  deadline: string;
4694
4697
  seconds: number;
4695
4698
  note?: string | undefined;
4699
+ } | {
4700
+ id: string;
4701
+ source: "agent" | "cezar";
4702
+ 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";
4703
+ registeredAt: string;
4704
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4705
+ resolvedAt?: string | undefined;
4706
+ deliveredAt?: string | undefined;
4707
+ cancelledAt?: string | undefined;
4708
+ turnId: string;
4709
+ kind: "process";
4710
+ deadline: string;
4711
+ timeoutSeconds: number;
4712
+ pid: number;
4713
+ startToken?: string | undefined;
4714
+ exitFile?: string | undefined;
4715
+ note?: string | undefined;
4716
+ result?: {
4717
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4718
+ observedAt: string;
4719
+ exitCode?: number | undefined;
4720
+ exitFileNote?: "not-an-exit-code" | undefined;
4721
+ diagnostic?: string | undefined;
4722
+ } | undefined;
4696
4723
  } | {
4697
4724
  id: string;
4698
4725
  source: "agent" | "cezar";
@@ -4754,30 +4781,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4754
4781
  reason: "outcome" | "timeout";
4755
4782
  } | undefined;
4756
4783
  wakeInputId?: string | undefined;
4757
- } | {
4758
- id: string;
4759
- source: "agent" | "cezar";
4760
- 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";
4761
- registeredAt: string;
4762
- phase: "cancelled" | "delivered" | "open" | "resolved";
4763
- resolvedAt?: string | undefined;
4764
- deliveredAt?: string | undefined;
4765
- cancelledAt?: string | undefined;
4766
- turnId: string;
4767
- kind: "process";
4768
- deadline: string;
4769
- timeoutSeconds: number;
4770
- pid: number;
4771
- startToken?: string | undefined;
4772
- exitFile?: string | undefined;
4773
- note?: string | undefined;
4774
- result?: {
4775
- outcome: "deadline" | "error" | "exit_file" | "exited";
4776
- observedAt: string;
4777
- exitCode?: number | undefined;
4778
- exitFileNote?: "not-an-exit-code" | undefined;
4779
- diagnostic?: string | undefined;
4780
- } | undefined;
4781
4784
  } | {
4782
4785
  id: string;
4783
4786
  source: "agent" | "cezar";
@@ -4909,6 +4912,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4909
4912
  deadline: string;
4910
4913
  seconds: number;
4911
4914
  note?: string | undefined;
4915
+ } | {
4916
+ id: string;
4917
+ source: "agent" | "cezar";
4918
+ 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";
4919
+ registeredAt: string;
4920
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4921
+ resolvedAt?: string | undefined;
4922
+ deliveredAt?: string | undefined;
4923
+ cancelledAt?: string | undefined;
4924
+ turnId: string;
4925
+ kind: "process";
4926
+ deadline: string;
4927
+ timeoutSeconds: number;
4928
+ pid: number;
4929
+ startToken?: string | undefined;
4930
+ exitFile?: string | undefined;
4931
+ note?: string | undefined;
4932
+ result?: {
4933
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4934
+ observedAt: string;
4935
+ exitCode?: number | undefined;
4936
+ exitFileNote?: "not-an-exit-code" | undefined;
4937
+ diagnostic?: string | undefined;
4938
+ } | undefined;
4912
4939
  } | {
4913
4940
  id: string;
4914
4941
  source: "agent" | "cezar";
@@ -4970,30 +4997,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4970
4997
  reason: "outcome" | "timeout";
4971
4998
  } | undefined;
4972
4999
  wakeInputId?: string | undefined;
4973
- } | {
4974
- id: string;
4975
- source: "agent" | "cezar";
4976
- 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";
4977
- registeredAt: string;
4978
- phase: "cancelled" | "delivered" | "open" | "resolved";
4979
- resolvedAt?: string | undefined;
4980
- deliveredAt?: string | undefined;
4981
- cancelledAt?: string | undefined;
4982
- turnId: string;
4983
- kind: "process";
4984
- deadline: string;
4985
- timeoutSeconds: number;
4986
- pid: number;
4987
- startToken?: string | undefined;
4988
- exitFile?: string | undefined;
4989
- note?: string | undefined;
4990
- result?: {
4991
- outcome: "deadline" | "error" | "exit_file" | "exited";
4992
- observedAt: string;
4993
- exitCode?: number | undefined;
4994
- exitFileNote?: "not-an-exit-code" | undefined;
4995
- diagnostic?: string | undefined;
4996
- } | undefined;
4997
5000
  } | {
4998
5001
  id: string;
4999
5002
  source: "agent" | "cezar";
@@ -5124,6 +5127,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5124
5127
  archivedAt: string;
5125
5128
  fingerprint: string;
5126
5129
  pullRequests: {
5130
+ host?: string | undefined;
5127
5131
  owner: string;
5128
5132
  repo: string;
5129
5133
  number: number;
@@ -5939,6 +5943,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5939
5943
  deadline: string;
5940
5944
  seconds: number;
5941
5945
  note?: string | undefined;
5946
+ } | {
5947
+ id: string;
5948
+ source: "agent" | "cezar";
5949
+ 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";
5950
+ registeredAt: string;
5951
+ phase: "cancelled" | "delivered" | "open" | "resolved";
5952
+ resolvedAt?: string | undefined;
5953
+ deliveredAt?: string | undefined;
5954
+ cancelledAt?: string | undefined;
5955
+ turnId: string;
5956
+ kind: "process";
5957
+ deadline: string;
5958
+ timeoutSeconds: number;
5959
+ pid: number;
5960
+ startToken?: string | undefined;
5961
+ exitFile?: string | undefined;
5962
+ note?: string | undefined;
5963
+ result?: {
5964
+ outcome: "deadline" | "error" | "exit_file" | "exited";
5965
+ observedAt: string;
5966
+ exitCode?: number | undefined;
5967
+ exitFileNote?: "not-an-exit-code" | undefined;
5968
+ diagnostic?: string | undefined;
5969
+ } | undefined;
5942
5970
  } | {
5943
5971
  id: string;
5944
5972
  source: "agent" | "cezar";
@@ -6000,30 +6028,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6000
6028
  reason: "outcome" | "timeout";
6001
6029
  } | undefined;
6002
6030
  wakeInputId?: string | undefined;
6003
- } | {
6004
- id: string;
6005
- source: "agent" | "cezar";
6006
- 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";
6007
- registeredAt: string;
6008
- phase: "cancelled" | "delivered" | "open" | "resolved";
6009
- resolvedAt?: string | undefined;
6010
- deliveredAt?: string | undefined;
6011
- cancelledAt?: string | undefined;
6012
- turnId: string;
6013
- kind: "process";
6014
- deadline: string;
6015
- timeoutSeconds: number;
6016
- pid: number;
6017
- startToken?: string | undefined;
6018
- exitFile?: string | undefined;
6019
- note?: string | undefined;
6020
- result?: {
6021
- outcome: "deadline" | "error" | "exit_file" | "exited";
6022
- observedAt: string;
6023
- exitCode?: number | undefined;
6024
- exitFileNote?: "not-an-exit-code" | undefined;
6025
- diagnostic?: string | undefined;
6026
- } | undefined;
6027
6031
  } | {
6028
6032
  id: string;
6029
6033
  source: "agent" | "cezar";
@@ -6156,6 +6160,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6156
6160
  deadline: string;
6157
6161
  seconds: number;
6158
6162
  note?: string | undefined;
6163
+ } | {
6164
+ id: string;
6165
+ source: "agent" | "cezar";
6166
+ 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";
6167
+ registeredAt: string;
6168
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6169
+ resolvedAt?: string | undefined;
6170
+ deliveredAt?: string | undefined;
6171
+ cancelledAt?: string | undefined;
6172
+ turnId: string;
6173
+ kind: "process";
6174
+ deadline: string;
6175
+ timeoutSeconds: number;
6176
+ pid: number;
6177
+ startToken?: string | undefined;
6178
+ exitFile?: string | undefined;
6179
+ note?: string | undefined;
6180
+ result?: {
6181
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6182
+ observedAt: string;
6183
+ exitCode?: number | undefined;
6184
+ exitFileNote?: "not-an-exit-code" | undefined;
6185
+ diagnostic?: string | undefined;
6186
+ } | undefined;
6159
6187
  } | {
6160
6188
  id: string;
6161
6189
  source: "agent" | "cezar";
@@ -6217,30 +6245,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6217
6245
  reason: "outcome" | "timeout";
6218
6246
  } | undefined;
6219
6247
  wakeInputId?: string | undefined;
6220
- } | {
6221
- id: string;
6222
- source: "agent" | "cezar";
6223
- 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";
6224
- registeredAt: string;
6225
- phase: "cancelled" | "delivered" | "open" | "resolved";
6226
- resolvedAt?: string | undefined;
6227
- deliveredAt?: string | undefined;
6228
- cancelledAt?: string | undefined;
6229
- turnId: string;
6230
- kind: "process";
6231
- deadline: string;
6232
- timeoutSeconds: number;
6233
- pid: number;
6234
- startToken?: string | undefined;
6235
- exitFile?: string | undefined;
6236
- note?: string | undefined;
6237
- result?: {
6238
- outcome: "deadline" | "error" | "exit_file" | "exited";
6239
- observedAt: string;
6240
- exitCode?: number | undefined;
6241
- exitFileNote?: "not-an-exit-code" | undefined;
6242
- diagnostic?: string | undefined;
6243
- } | undefined;
6244
6248
  } | {
6245
6249
  id: string;
6246
6250
  source: "agent" | "cezar";
@@ -6372,6 +6376,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6372
6376
  deadline: string;
6373
6377
  seconds: number;
6374
6378
  note?: string | undefined;
6379
+ } | {
6380
+ id: string;
6381
+ source: "agent" | "cezar";
6382
+ 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";
6383
+ registeredAt: string;
6384
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6385
+ resolvedAt?: string | undefined;
6386
+ deliveredAt?: string | undefined;
6387
+ cancelledAt?: string | undefined;
6388
+ turnId: string;
6389
+ kind: "process";
6390
+ deadline: string;
6391
+ timeoutSeconds: number;
6392
+ pid: number;
6393
+ startToken?: string | undefined;
6394
+ exitFile?: string | undefined;
6395
+ note?: string | undefined;
6396
+ result?: {
6397
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6398
+ observedAt: string;
6399
+ exitCode?: number | undefined;
6400
+ exitFileNote?: "not-an-exit-code" | undefined;
6401
+ diagnostic?: string | undefined;
6402
+ } | undefined;
6375
6403
  } | {
6376
6404
  id: string;
6377
6405
  source: "agent" | "cezar";
@@ -6443,34 +6471,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6443
6471
  deliveredAt?: string | undefined;
6444
6472
  cancelledAt?: string | undefined;
6445
6473
  turnId: string;
6446
- kind: "process";
6474
+ kind: "peer";
6447
6475
  deadline: string;
6448
6476
  timeoutSeconds: number;
6449
- pid: number;
6450
- startToken?: string | undefined;
6451
- exitFile?: string | undefined;
6452
- note?: string | undefined;
6453
- result?: {
6454
- outcome: "deadline" | "error" | "exit_file" | "exited";
6455
- observedAt: string;
6456
- exitCode?: number | undefined;
6457
- exitFileNote?: "not-an-exit-code" | undefined;
6458
- diagnostic?: string | undefined;
6459
- } | undefined;
6460
- } | {
6461
- id: string;
6462
- source: "agent" | "cezar";
6463
- 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";
6464
- registeredAt: string;
6465
- phase: "cancelled" | "delivered" | "open" | "resolved";
6466
- resolvedAt?: string | undefined;
6467
- deliveredAt?: string | undefined;
6468
- cancelledAt?: string | undefined;
6469
- turnId: string;
6470
- kind: "peer";
6471
- deadline: string;
6472
- timeoutSeconds: number;
6473
- peerIds: string[];
6477
+ peerIds: string[];
6474
6478
  result?: {
6475
6479
  reason: "message";
6476
6480
  peerRunId: string;
@@ -6634,6 +6638,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6634
6638
  archivedAt: string;
6635
6639
  fingerprint: string;
6636
6640
  pullRequests: {
6641
+ host?: string | undefined;
6637
6642
  owner: string;
6638
6643
  repo: string;
6639
6644
  number: number;
@@ -7129,6 +7134,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7129
7134
  deadline: string;
7130
7135
  seconds: number;
7131
7136
  note?: string | undefined;
7137
+ } | {
7138
+ id: string;
7139
+ source: "agent" | "cezar";
7140
+ 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";
7141
+ registeredAt: string;
7142
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7143
+ resolvedAt?: string | undefined;
7144
+ deliveredAt?: string | undefined;
7145
+ cancelledAt?: string | undefined;
7146
+ turnId: string;
7147
+ kind: "process";
7148
+ deadline: string;
7149
+ timeoutSeconds: number;
7150
+ pid: number;
7151
+ startToken?: string | undefined;
7152
+ exitFile?: string | undefined;
7153
+ note?: string | undefined;
7154
+ result?: {
7155
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7156
+ observedAt: string;
7157
+ exitCode?: number | undefined;
7158
+ exitFileNote?: "not-an-exit-code" | undefined;
7159
+ diagnostic?: string | undefined;
7160
+ } | undefined;
7132
7161
  } | {
7133
7162
  id: string;
7134
7163
  source: "agent" | "cezar";
@@ -7190,30 +7219,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7190
7219
  reason: "outcome" | "timeout";
7191
7220
  } | undefined;
7192
7221
  wakeInputId?: string | undefined;
7193
- } | {
7194
- id: string;
7195
- source: "agent" | "cezar";
7196
- 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";
7197
- registeredAt: string;
7198
- phase: "cancelled" | "delivered" | "open" | "resolved";
7199
- resolvedAt?: string | undefined;
7200
- deliveredAt?: string | undefined;
7201
- cancelledAt?: string | undefined;
7202
- turnId: string;
7203
- kind: "process";
7204
- deadline: string;
7205
- timeoutSeconds: number;
7206
- pid: number;
7207
- startToken?: string | undefined;
7208
- exitFile?: string | undefined;
7209
- note?: string | undefined;
7210
- result?: {
7211
- outcome: "deadline" | "error" | "exit_file" | "exited";
7212
- observedAt: string;
7213
- exitCode?: number | undefined;
7214
- exitFileNote?: "not-an-exit-code" | undefined;
7215
- diagnostic?: string | undefined;
7216
- } | undefined;
7217
7222
  } | {
7218
7223
  id: string;
7219
7224
  source: "agent" | "cezar";
@@ -7346,6 +7351,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7346
7351
  deadline: string;
7347
7352
  seconds: number;
7348
7353
  note?: string | undefined;
7354
+ } | {
7355
+ id: string;
7356
+ source: "agent" | "cezar";
7357
+ 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";
7358
+ registeredAt: string;
7359
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7360
+ resolvedAt?: string | undefined;
7361
+ deliveredAt?: string | undefined;
7362
+ cancelledAt?: string | undefined;
7363
+ turnId: string;
7364
+ kind: "process";
7365
+ deadline: string;
7366
+ timeoutSeconds: number;
7367
+ pid: number;
7368
+ startToken?: string | undefined;
7369
+ exitFile?: string | undefined;
7370
+ note?: string | undefined;
7371
+ result?: {
7372
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7373
+ observedAt: string;
7374
+ exitCode?: number | undefined;
7375
+ exitFileNote?: "not-an-exit-code" | undefined;
7376
+ diagnostic?: string | undefined;
7377
+ } | undefined;
7349
7378
  } | {
7350
7379
  id: string;
7351
7380
  source: "agent" | "cezar";
@@ -7407,30 +7436,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7407
7436
  reason: "outcome" | "timeout";
7408
7437
  } | undefined;
7409
7438
  wakeInputId?: string | undefined;
7410
- } | {
7411
- id: string;
7412
- source: "agent" | "cezar";
7413
- 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";
7414
- registeredAt: string;
7415
- phase: "cancelled" | "delivered" | "open" | "resolved";
7416
- resolvedAt?: string | undefined;
7417
- deliveredAt?: string | undefined;
7418
- cancelledAt?: string | undefined;
7419
- turnId: string;
7420
- kind: "process";
7421
- deadline: string;
7422
- timeoutSeconds: number;
7423
- pid: number;
7424
- startToken?: string | undefined;
7425
- exitFile?: string | undefined;
7426
- note?: string | undefined;
7427
- result?: {
7428
- outcome: "deadline" | "error" | "exit_file" | "exited";
7429
- observedAt: string;
7430
- exitCode?: number | undefined;
7431
- exitFileNote?: "not-an-exit-code" | undefined;
7432
- diagnostic?: string | undefined;
7433
- } | undefined;
7434
7439
  } | {
7435
7440
  id: string;
7436
7441
  source: "agent" | "cezar";
@@ -7562,6 +7567,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7562
7567
  deadline: string;
7563
7568
  seconds: number;
7564
7569
  note?: string | undefined;
7570
+ } | {
7571
+ id: string;
7572
+ source: "agent" | "cezar";
7573
+ 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";
7574
+ registeredAt: string;
7575
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7576
+ resolvedAt?: string | undefined;
7577
+ deliveredAt?: string | undefined;
7578
+ cancelledAt?: string | undefined;
7579
+ turnId: string;
7580
+ kind: "process";
7581
+ deadline: string;
7582
+ timeoutSeconds: number;
7583
+ pid: number;
7584
+ startToken?: string | undefined;
7585
+ exitFile?: string | undefined;
7586
+ note?: string | undefined;
7587
+ result?: {
7588
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7589
+ observedAt: string;
7590
+ exitCode?: number | undefined;
7591
+ exitFileNote?: "not-an-exit-code" | undefined;
7592
+ diagnostic?: string | undefined;
7593
+ } | undefined;
7565
7594
  } | {
7566
7595
  id: string;
7567
7596
  source: "agent" | "cezar";
@@ -7623,30 +7652,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7623
7652
  reason: "outcome" | "timeout";
7624
7653
  } | undefined;
7625
7654
  wakeInputId?: string | undefined;
7626
- } | {
7627
- id: string;
7628
- source: "agent" | "cezar";
7629
- 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";
7630
- registeredAt: string;
7631
- phase: "cancelled" | "delivered" | "open" | "resolved";
7632
- resolvedAt?: string | undefined;
7633
- deliveredAt?: string | undefined;
7634
- cancelledAt?: string | undefined;
7635
- turnId: string;
7636
- kind: "process";
7637
- deadline: string;
7638
- timeoutSeconds: number;
7639
- pid: number;
7640
- startToken?: string | undefined;
7641
- exitFile?: string | undefined;
7642
- note?: string | undefined;
7643
- result?: {
7644
- outcome: "deadline" | "error" | "exit_file" | "exited";
7645
- observedAt: string;
7646
- exitCode?: number | undefined;
7647
- exitFileNote?: "not-an-exit-code" | undefined;
7648
- diagnostic?: string | undefined;
7649
- } | undefined;
7650
7655
  } | {
7651
7656
  id: string;
7652
7657
  source: "agent" | "cezar";
@@ -7824,6 +7829,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7824
7829
  archivedAt: string;
7825
7830
  fingerprint: string;
7826
7831
  pullRequests: {
7832
+ host?: string | undefined;
7827
7833
  owner: string;
7828
7834
  repo: string;
7829
7835
  number: number;
@@ -8066,6 +8072,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8066
8072
  deadline: string;
8067
8073
  seconds: number;
8068
8074
  note?: string | undefined;
8075
+ } | {
8076
+ id: string;
8077
+ source: "agent" | "cezar";
8078
+ 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";
8079
+ registeredAt: string;
8080
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8081
+ resolvedAt?: string | undefined;
8082
+ deliveredAt?: string | undefined;
8083
+ cancelledAt?: string | undefined;
8084
+ turnId: string;
8085
+ kind: "process";
8086
+ deadline: string;
8087
+ timeoutSeconds: number;
8088
+ pid: number;
8089
+ startToken?: string | undefined;
8090
+ exitFile?: string | undefined;
8091
+ note?: string | undefined;
8092
+ result?: {
8093
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8094
+ observedAt: string;
8095
+ exitCode?: number | undefined;
8096
+ exitFileNote?: "not-an-exit-code" | undefined;
8097
+ diagnostic?: string | undefined;
8098
+ } | undefined;
8069
8099
  } | {
8070
8100
  id: string;
8071
8101
  source: "agent" | "cezar";
@@ -8127,30 +8157,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8127
8157
  reason: "outcome" | "timeout";
8128
8158
  } | undefined;
8129
8159
  wakeInputId?: string | undefined;
8130
- } | {
8131
- id: string;
8132
- source: "agent" | "cezar";
8133
- 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";
8134
- registeredAt: string;
8135
- phase: "cancelled" | "delivered" | "open" | "resolved";
8136
- resolvedAt?: string | undefined;
8137
- deliveredAt?: string | undefined;
8138
- cancelledAt?: string | undefined;
8139
- turnId: string;
8140
- kind: "process";
8141
- deadline: string;
8142
- timeoutSeconds: number;
8143
- pid: number;
8144
- startToken?: string | undefined;
8145
- exitFile?: string | undefined;
8146
- note?: string | undefined;
8147
- result?: {
8148
- outcome: "deadline" | "error" | "exit_file" | "exited";
8149
- observedAt: string;
8150
- exitCode?: number | undefined;
8151
- exitFileNote?: "not-an-exit-code" | undefined;
8152
- diagnostic?: string | undefined;
8153
- } | undefined;
8154
8160
  } | {
8155
8161
  id: string;
8156
8162
  source: "agent" | "cezar";
@@ -8283,6 +8289,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8283
8289
  deadline: string;
8284
8290
  seconds: number;
8285
8291
  note?: string | undefined;
8292
+ } | {
8293
+ id: string;
8294
+ source: "agent" | "cezar";
8295
+ 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";
8296
+ registeredAt: string;
8297
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8298
+ resolvedAt?: string | undefined;
8299
+ deliveredAt?: string | undefined;
8300
+ cancelledAt?: string | undefined;
8301
+ turnId: string;
8302
+ kind: "process";
8303
+ deadline: string;
8304
+ timeoutSeconds: number;
8305
+ pid: number;
8306
+ startToken?: string | undefined;
8307
+ exitFile?: string | undefined;
8308
+ note?: string | undefined;
8309
+ result?: {
8310
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8311
+ observedAt: string;
8312
+ exitCode?: number | undefined;
8313
+ exitFileNote?: "not-an-exit-code" | undefined;
8314
+ diagnostic?: string | undefined;
8315
+ } | undefined;
8286
8316
  } | {
8287
8317
  id: string;
8288
8318
  source: "agent" | "cezar";
@@ -8344,30 +8374,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8344
8374
  reason: "outcome" | "timeout";
8345
8375
  } | undefined;
8346
8376
  wakeInputId?: string | undefined;
8347
- } | {
8348
- id: string;
8349
- source: "agent" | "cezar";
8350
- 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";
8351
- registeredAt: string;
8352
- phase: "cancelled" | "delivered" | "open" | "resolved";
8353
- resolvedAt?: string | undefined;
8354
- deliveredAt?: string | undefined;
8355
- cancelledAt?: string | undefined;
8356
- turnId: string;
8357
- kind: "process";
8358
- deadline: string;
8359
- timeoutSeconds: number;
8360
- pid: number;
8361
- startToken?: string | undefined;
8362
- exitFile?: string | undefined;
8363
- note?: string | undefined;
8364
- result?: {
8365
- outcome: "deadline" | "error" | "exit_file" | "exited";
8366
- observedAt: string;
8367
- exitCode?: number | undefined;
8368
- exitFileNote?: "not-an-exit-code" | undefined;
8369
- diagnostic?: string | undefined;
8370
- } | undefined;
8371
8377
  } | {
8372
8378
  id: string;
8373
8379
  source: "agent" | "cezar";
@@ -8509,10 +8515,34 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8509
8515
  deliveredAt?: string | undefined;
8510
8516
  cancelledAt?: string | undefined;
8511
8517
  turnId: string;
8512
- kind: "human";
8513
- questions?: {
8514
- id?: string | undefined;
8515
- header: string;
8518
+ kind: "process";
8519
+ deadline: string;
8520
+ timeoutSeconds: number;
8521
+ pid: number;
8522
+ startToken?: string | undefined;
8523
+ exitFile?: string | undefined;
8524
+ note?: string | undefined;
8525
+ result?: {
8526
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8527
+ observedAt: string;
8528
+ exitCode?: number | undefined;
8529
+ exitFileNote?: "not-an-exit-code" | undefined;
8530
+ diagnostic?: string | undefined;
8531
+ } | undefined;
8532
+ } | {
8533
+ id: string;
8534
+ source: "agent" | "cezar";
8535
+ 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";
8536
+ registeredAt: string;
8537
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8538
+ resolvedAt?: string | undefined;
8539
+ deliveredAt?: string | undefined;
8540
+ cancelledAt?: string | undefined;
8541
+ turnId: string;
8542
+ kind: "human";
8543
+ questions?: {
8544
+ id?: string | undefined;
8545
+ header: string;
8516
8546
  question: string;
8517
8547
  options?: {
8518
8548
  label: string;
@@ -8560,30 +8590,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8560
8590
  reason: "outcome" | "timeout";
8561
8591
  } | undefined;
8562
8592
  wakeInputId?: string | undefined;
8563
- } | {
8564
- id: string;
8565
- source: "agent" | "cezar";
8566
- 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";
8567
- registeredAt: string;
8568
- phase: "cancelled" | "delivered" | "open" | "resolved";
8569
- resolvedAt?: string | undefined;
8570
- deliveredAt?: string | undefined;
8571
- cancelledAt?: string | undefined;
8572
- turnId: string;
8573
- kind: "process";
8574
- deadline: string;
8575
- timeoutSeconds: number;
8576
- pid: number;
8577
- startToken?: string | undefined;
8578
- exitFile?: string | undefined;
8579
- note?: string | undefined;
8580
- result?: {
8581
- outcome: "deadline" | "error" | "exit_file" | "exited";
8582
- observedAt: string;
8583
- exitCode?: number | undefined;
8584
- exitFileNote?: "not-an-exit-code" | undefined;
8585
- diagnostic?: string | undefined;
8586
- } | undefined;
8587
8593
  } | {
8588
8594
  id: string;
8589
8595
  source: "agent" | "cezar";
@@ -8714,6 +8720,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8714
8720
  archivedAt: string;
8715
8721
  fingerprint: string;
8716
8722
  pullRequests: {
8723
+ host?: string | undefined;
8717
8724
  owner: string;
8718
8725
  repo: string;
8719
8726
  number: number;
@@ -9589,6 +9596,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9589
9596
  deadline: string;
9590
9597
  seconds: number;
9591
9598
  note?: string | undefined;
9599
+ } | {
9600
+ id: string;
9601
+ source: "agent" | "cezar";
9602
+ 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";
9603
+ registeredAt: string;
9604
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9605
+ resolvedAt?: string | undefined;
9606
+ deliveredAt?: string | undefined;
9607
+ cancelledAt?: string | undefined;
9608
+ turnId: string;
9609
+ kind: "process";
9610
+ deadline: string;
9611
+ timeoutSeconds: number;
9612
+ pid: number;
9613
+ startToken?: string | undefined;
9614
+ exitFile?: string | undefined;
9615
+ note?: string | undefined;
9616
+ result?: {
9617
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9618
+ observedAt: string;
9619
+ exitCode?: number | undefined;
9620
+ exitFileNote?: "not-an-exit-code" | undefined;
9621
+ diagnostic?: string | undefined;
9622
+ } | undefined;
9592
9623
  } | {
9593
9624
  id: string;
9594
9625
  source: "agent" | "cezar";
@@ -9650,30 +9681,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9650
9681
  reason: "outcome" | "timeout";
9651
9682
  } | undefined;
9652
9683
  wakeInputId?: string | undefined;
9653
- } | {
9654
- id: string;
9655
- source: "agent" | "cezar";
9656
- 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";
9657
- registeredAt: string;
9658
- phase: "cancelled" | "delivered" | "open" | "resolved";
9659
- resolvedAt?: string | undefined;
9660
- deliveredAt?: string | undefined;
9661
- cancelledAt?: string | undefined;
9662
- turnId: string;
9663
- kind: "process";
9664
- deadline: string;
9665
- timeoutSeconds: number;
9666
- pid: number;
9667
- startToken?: string | undefined;
9668
- exitFile?: string | undefined;
9669
- note?: string | undefined;
9670
- result?: {
9671
- outcome: "deadline" | "error" | "exit_file" | "exited";
9672
- observedAt: string;
9673
- exitCode?: number | undefined;
9674
- exitFileNote?: "not-an-exit-code" | undefined;
9675
- diagnostic?: string | undefined;
9676
- } | undefined;
9677
9684
  } | {
9678
9685
  id: string;
9679
9686
  source: "agent" | "cezar";
@@ -9806,6 +9813,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9806
9813
  deadline: string;
9807
9814
  seconds: number;
9808
9815
  note?: string | undefined;
9816
+ } | {
9817
+ id: string;
9818
+ source: "agent" | "cezar";
9819
+ 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";
9820
+ registeredAt: string;
9821
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9822
+ resolvedAt?: string | undefined;
9823
+ deliveredAt?: string | undefined;
9824
+ cancelledAt?: string | undefined;
9825
+ turnId: string;
9826
+ kind: "process";
9827
+ deadline: string;
9828
+ timeoutSeconds: number;
9829
+ pid: number;
9830
+ startToken?: string | undefined;
9831
+ exitFile?: string | undefined;
9832
+ note?: string | undefined;
9833
+ result?: {
9834
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9835
+ observedAt: string;
9836
+ exitCode?: number | undefined;
9837
+ exitFileNote?: "not-an-exit-code" | undefined;
9838
+ diagnostic?: string | undefined;
9839
+ } | undefined;
9809
9840
  } | {
9810
9841
  id: string;
9811
9842
  source: "agent" | "cezar";
@@ -9867,30 +9898,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9867
9898
  reason: "outcome" | "timeout";
9868
9899
  } | undefined;
9869
9900
  wakeInputId?: string | undefined;
9870
- } | {
9871
- id: string;
9872
- source: "agent" | "cezar";
9873
- 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";
9874
- registeredAt: string;
9875
- phase: "cancelled" | "delivered" | "open" | "resolved";
9876
- resolvedAt?: string | undefined;
9877
- deliveredAt?: string | undefined;
9878
- cancelledAt?: string | undefined;
9879
- turnId: string;
9880
- kind: "process";
9881
- deadline: string;
9882
- timeoutSeconds: number;
9883
- pid: number;
9884
- startToken?: string | undefined;
9885
- exitFile?: string | undefined;
9886
- note?: string | undefined;
9887
- result?: {
9888
- outcome: "deadline" | "error" | "exit_file" | "exited";
9889
- observedAt: string;
9890
- exitCode?: number | undefined;
9891
- exitFileNote?: "not-an-exit-code" | undefined;
9892
- diagnostic?: string | undefined;
9893
- } | undefined;
9894
9901
  } | {
9895
9902
  id: string;
9896
9903
  source: "agent" | "cezar";
@@ -10022,6 +10029,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10022
10029
  deadline: string;
10023
10030
  seconds: number;
10024
10031
  note?: string | undefined;
10032
+ } | {
10033
+ id: string;
10034
+ source: "agent" | "cezar";
10035
+ 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";
10036
+ registeredAt: string;
10037
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10038
+ resolvedAt?: string | undefined;
10039
+ deliveredAt?: string | undefined;
10040
+ cancelledAt?: string | undefined;
10041
+ turnId: string;
10042
+ kind: "process";
10043
+ deadline: string;
10044
+ timeoutSeconds: number;
10045
+ pid: number;
10046
+ startToken?: string | undefined;
10047
+ exitFile?: string | undefined;
10048
+ note?: string | undefined;
10049
+ result?: {
10050
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10051
+ observedAt: string;
10052
+ exitCode?: number | undefined;
10053
+ exitFileNote?: "not-an-exit-code" | undefined;
10054
+ diagnostic?: string | undefined;
10055
+ } | undefined;
10025
10056
  } | {
10026
10057
  id: string;
10027
10058
  source: "agent" | "cezar";
@@ -10083,30 +10114,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10083
10114
  reason: "outcome" | "timeout";
10084
10115
  } | undefined;
10085
10116
  wakeInputId?: string | undefined;
10086
- } | {
10087
- id: string;
10088
- source: "agent" | "cezar";
10089
- 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";
10090
- registeredAt: string;
10091
- phase: "cancelled" | "delivered" | "open" | "resolved";
10092
- resolvedAt?: string | undefined;
10093
- deliveredAt?: string | undefined;
10094
- cancelledAt?: string | undefined;
10095
- turnId: string;
10096
- kind: "process";
10097
- deadline: string;
10098
- timeoutSeconds: number;
10099
- pid: number;
10100
- startToken?: string | undefined;
10101
- exitFile?: string | undefined;
10102
- note?: string | undefined;
10103
- result?: {
10104
- outcome: "deadline" | "error" | "exit_file" | "exited";
10105
- observedAt: string;
10106
- exitCode?: number | undefined;
10107
- exitFileNote?: "not-an-exit-code" | undefined;
10108
- diagnostic?: string | undefined;
10109
- } | undefined;
10110
10117
  } | {
10111
10118
  id: string;
10112
10119
  source: "agent" | "cezar";
@@ -10284,6 +10291,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10284
10291
  archivedAt: string;
10285
10292
  fingerprint: string;
10286
10293
  pullRequests: {
10294
+ host?: string | undefined;
10287
10295
  owner: string;
10288
10296
  repo: string;
10289
10297
  number: number;
@@ -10656,6 +10664,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10656
10664
  deadline: string;
10657
10665
  seconds: number;
10658
10666
  note?: string | undefined;
10667
+ } | {
10668
+ id: string;
10669
+ source: "agent" | "cezar";
10670
+ 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";
10671
+ registeredAt: string;
10672
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10673
+ resolvedAt?: string | undefined;
10674
+ deliveredAt?: string | undefined;
10675
+ cancelledAt?: string | undefined;
10676
+ turnId: string;
10677
+ kind: "process";
10678
+ deadline: string;
10679
+ timeoutSeconds: number;
10680
+ pid: number;
10681
+ startToken?: string | undefined;
10682
+ exitFile?: string | undefined;
10683
+ note?: string | undefined;
10684
+ result?: {
10685
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10686
+ observedAt: string;
10687
+ exitCode?: number | undefined;
10688
+ exitFileNote?: "not-an-exit-code" | undefined;
10689
+ diagnostic?: string | undefined;
10690
+ } | undefined;
10659
10691
  } | {
10660
10692
  id: string;
10661
10693
  source: "agent" | "cezar";
@@ -10717,30 +10749,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10717
10749
  reason: "outcome" | "timeout";
10718
10750
  } | undefined;
10719
10751
  wakeInputId?: string | undefined;
10720
- } | {
10721
- id: string;
10722
- source: "agent" | "cezar";
10723
- 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";
10724
- registeredAt: string;
10725
- phase: "cancelled" | "delivered" | "open" | "resolved";
10726
- resolvedAt?: string | undefined;
10727
- deliveredAt?: string | undefined;
10728
- cancelledAt?: string | undefined;
10729
- turnId: string;
10730
- kind: "process";
10731
- deadline: string;
10732
- timeoutSeconds: number;
10733
- pid: number;
10734
- startToken?: string | undefined;
10735
- exitFile?: string | undefined;
10736
- note?: string | undefined;
10737
- result?: {
10738
- outcome: "deadline" | "error" | "exit_file" | "exited";
10739
- observedAt: string;
10740
- exitCode?: number | undefined;
10741
- exitFileNote?: "not-an-exit-code" | undefined;
10742
- diagnostic?: string | undefined;
10743
- } | undefined;
10744
10752
  } | {
10745
10753
  id: string;
10746
10754
  source: "agent" | "cezar";
@@ -10873,6 +10881,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10873
10881
  deadline: string;
10874
10882
  seconds: number;
10875
10883
  note?: string | undefined;
10884
+ } | {
10885
+ id: string;
10886
+ source: "agent" | "cezar";
10887
+ 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";
10888
+ registeredAt: string;
10889
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10890
+ resolvedAt?: string | undefined;
10891
+ deliveredAt?: string | undefined;
10892
+ cancelledAt?: string | undefined;
10893
+ turnId: string;
10894
+ kind: "process";
10895
+ deadline: string;
10896
+ timeoutSeconds: number;
10897
+ pid: number;
10898
+ startToken?: string | undefined;
10899
+ exitFile?: string | undefined;
10900
+ note?: string | undefined;
10901
+ result?: {
10902
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10903
+ observedAt: string;
10904
+ exitCode?: number | undefined;
10905
+ exitFileNote?: "not-an-exit-code" | undefined;
10906
+ diagnostic?: string | undefined;
10907
+ } | undefined;
10876
10908
  } | {
10877
10909
  id: string;
10878
10910
  source: "agent" | "cezar";
@@ -10934,30 +10966,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10934
10966
  reason: "outcome" | "timeout";
10935
10967
  } | undefined;
10936
10968
  wakeInputId?: string | undefined;
10937
- } | {
10938
- id: string;
10939
- source: "agent" | "cezar";
10940
- 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";
10941
- registeredAt: string;
10942
- phase: "cancelled" | "delivered" | "open" | "resolved";
10943
- resolvedAt?: string | undefined;
10944
- deliveredAt?: string | undefined;
10945
- cancelledAt?: string | undefined;
10946
- turnId: string;
10947
- kind: "process";
10948
- deadline: string;
10949
- timeoutSeconds: number;
10950
- pid: number;
10951
- startToken?: string | undefined;
10952
- exitFile?: string | undefined;
10953
- note?: string | undefined;
10954
- result?: {
10955
- outcome: "deadline" | "error" | "exit_file" | "exited";
10956
- observedAt: string;
10957
- exitCode?: number | undefined;
10958
- exitFileNote?: "not-an-exit-code" | undefined;
10959
- diagnostic?: string | undefined;
10960
- } | undefined;
10961
10969
  } | {
10962
10970
  id: string;
10963
10971
  source: "agent" | "cezar";
@@ -11089,6 +11097,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11089
11097
  deadline: string;
11090
11098
  seconds: number;
11091
11099
  note?: string | undefined;
11100
+ } | {
11101
+ id: string;
11102
+ source: "agent" | "cezar";
11103
+ 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";
11104
+ registeredAt: string;
11105
+ phase: "cancelled" | "delivered" | "open" | "resolved";
11106
+ resolvedAt?: string | undefined;
11107
+ deliveredAt?: string | undefined;
11108
+ cancelledAt?: string | undefined;
11109
+ turnId: string;
11110
+ kind: "process";
11111
+ deadline: string;
11112
+ timeoutSeconds: number;
11113
+ pid: number;
11114
+ startToken?: string | undefined;
11115
+ exitFile?: string | undefined;
11116
+ note?: string | undefined;
11117
+ result?: {
11118
+ outcome: "deadline" | "error" | "exit_file" | "exited";
11119
+ observedAt: string;
11120
+ exitCode?: number | undefined;
11121
+ exitFileNote?: "not-an-exit-code" | undefined;
11122
+ diagnostic?: string | undefined;
11123
+ } | undefined;
11092
11124
  } | {
11093
11125
  id: string;
11094
11126
  source: "agent" | "cezar";
@@ -11150,30 +11182,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11150
11182
  reason: "outcome" | "timeout";
11151
11183
  } | undefined;
11152
11184
  wakeInputId?: string | undefined;
11153
- } | {
11154
- id: string;
11155
- source: "agent" | "cezar";
11156
- 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";
11157
- registeredAt: string;
11158
- phase: "cancelled" | "delivered" | "open" | "resolved";
11159
- resolvedAt?: string | undefined;
11160
- deliveredAt?: string | undefined;
11161
- cancelledAt?: string | undefined;
11162
- turnId: string;
11163
- kind: "process";
11164
- deadline: string;
11165
- timeoutSeconds: number;
11166
- pid: number;
11167
- startToken?: string | undefined;
11168
- exitFile?: string | undefined;
11169
- note?: string | undefined;
11170
- result?: {
11171
- outcome: "deadline" | "error" | "exit_file" | "exited";
11172
- observedAt: string;
11173
- exitCode?: number | undefined;
11174
- exitFileNote?: "not-an-exit-code" | undefined;
11175
- diagnostic?: string | undefined;
11176
- } | undefined;
11177
11185
  } | {
11178
11186
  id: string;
11179
11187
  source: "agent" | "cezar";
@@ -11304,6 +11312,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11304
11312
  archivedAt: string;
11305
11313
  fingerprint: string;
11306
11314
  pullRequests: {
11315
+ host?: string | undefined;
11307
11316
  owner: string;
11308
11317
  repo: string;
11309
11318
  number: number;