@hearsay-tools/squawk 0.18.0-dev.8418 → 0.18.0-dev.8433

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 (63) hide show
  1. package/dist/boot.d.ts +5 -1
  2. package/dist/boot.js +5 -2
  3. package/dist/boot.js.map +1 -1
  4. package/dist/cli-dispatch.d.ts +1 -1
  5. package/dist/cli-dispatch.js +24 -16
  6. package/dist/cli-dispatch.js.map +1 -1
  7. package/dist/delegation/routes.d.ts +65 -65
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/plugin/bundled-features.d.ts +11 -0
  11. package/dist/plugin/bundled-features.js +37 -0
  12. package/dist/plugin/bundled-features.js.map +1 -0
  13. package/dist/plugin/cli.js +1 -1
  14. package/dist/plugin/loader.d.ts +2 -0
  15. package/dist/plugin/loader.js +23 -11
  16. package/dist/plugin/loader.js.map +1 -1
  17. package/dist/server/automations-routes.d.ts +150 -150
  18. package/dist/server/runner-install-routes.d.ts +10 -10
  19. package/dist/server/runs-routes.d.ts +939 -939
  20. package/dist/server/server.d.ts +68 -68
  21. package/package.json +4 -4
  22. package/web/dist/assets/{accounts-section-DmCfsIhE.js → accounts-section-BLNSKJqm.js} +1 -1
  23. package/web/dist/assets/{activity-motion-Dl9i8LMp.js → activity-motion-MPoTIPVj.js} +1 -1
  24. package/web/dist/assets/{activity-route-Cu2YIdei.js → activity-route-CxCLD79y.js} +1 -1
  25. package/web/dist/assets/{agent-config-section-Bzm4-R__.js → agent-config-section-CeF58sAw.js} +1 -1
  26. package/web/dist/assets/{agent-defaults-section-BKqo164A.js → agent-defaults-section-CeXtEDW2.js} +1 -1
  27. package/web/dist/assets/{appearance-BqzgpB-Y.js → appearance-bmBlLCZ8.js} +1 -1
  28. package/web/dist/assets/{automations-route-CUgWc2Qw.js → automations-route-CJwfD7dd.js} +1 -1
  29. package/web/dist/assets/{commit-diff-panel-Cm558uOv.js → commit-diff-panel-BGcYifET.js} +1 -1
  30. package/web/dist/assets/{diff-GEuSlT_R.js → diff-CbaBu8O4.js} +2 -2
  31. package/web/dist/assets/{diff-view-DLSixc9l.js → diff-view-CSiAhUBF.js} +1 -1
  32. package/web/dist/assets/{file-preview-RPc0KAo_.js → file-preview-RVVTWeQ4.js} +1 -1
  33. package/web/dist/assets/{git-toolbar-Dd_SYvD0.js → git-toolbar-CcV9cwl1.js} +1 -1
  34. package/web/dist/assets/{github-CQ7IuYHM.js → github-qzubR_og.js} +1 -1
  35. package/web/dist/assets/{global-activity-route-BxZ0CMwG.js → global-activity-route-BFOT2eyG.js} +1 -1
  36. package/web/dist/assets/{index-BRgRv29I.js → index-DP8ZR-rG.js} +4 -4
  37. package/web/dist/assets/{markdown-CIm2Q7mB.js → markdown-DZfe0ui9.js} +1 -1
  38. package/web/dist/assets/{notifications-section-Cw8yBZWz.js → notifications-section-Cig8TphN.js} +1 -1
  39. package/web/dist/assets/{preview-pane-connected-C3DmH_yh.js → preview-pane-connected-Bb9TO0oj.js} +1 -1
  40. package/web/dist/assets/{projects-section-DftkCQ4q.js → projects-section-O5TubvR6.js} +1 -1
  41. package/web/dist/assets/{prompt-templates-section-CKSYhpin.js → prompt-templates-section-XBrc1K7p.js} +1 -1
  42. package/web/dist/assets/{remote-settings-notice-C727a84A.js → remote-settings-notice-BYoT9Cbi.js} +1 -1
  43. package/web/dist/assets/{repo-git-CfmNmHkb.js → repo-git-DTyfCSwe.js} +1 -1
  44. package/web/dist/assets/{report-reader-wIj2Yog1.js → report-reader-CsgbiEMJ.js} +1 -1
  45. package/web/dist/assets/{reports-DSkGAItT.js → reports-DQYTwW19.js} +1 -1
  46. package/web/dist/assets/{resources-section-DaEv2dar.js → resources-section-OAsz9vSE.js} +1 -1
  47. package/web/dist/assets/{run-header-CVZ0ZK7C.js → run-header-Fyo0PTwg.js} +1 -1
  48. package/web/dist/assets/{settings-agent-picker-DMVlOQzv.js → settings-agent-picker-BB9bGjwv.js} +1 -1
  49. package/web/dist/assets/{settings-shell-DfnGZk9I.js → settings-shell-BCN68-lI.js} +1 -1
  50. package/web/dist/assets/{sidebar-section-DYJZAqtU.js → sidebar-section-CMrS75_K.js} +1 -1
  51. package/web/dist/assets/{skills-CfzNcHh1.js → skills-DMimLssw.js} +1 -1
  52. package/web/dist/assets/{task-changes-C1I9CMew.js → task-changes-Dl4vkXvR.js} +1 -1
  53. package/web/dist/assets/{task-commits-d_R4H7pu.js → task-commits-CZHVWZ_w.js} +1 -1
  54. package/web/dist/assets/{task-files-B2JBO9Dx.js → task-files-DwKJm7W5.js} +1 -1
  55. package/web/dist/assets/{task-github-item-C9HMDHKn.js → task-github-item-CrivRARc.js} +1 -1
  56. package/web/dist/assets/{task-thread-dKvX9xg6.js → task-thread-DXIPmmYN.js} +1 -1
  57. package/web/dist/assets/thread-state-DYaX2NxA.js +4 -0
  58. package/web/dist/assets/{use-hand-to-agent-state-DzHDdmHn.js → use-hand-to-agent-state-BQfUtU9G.js} +1 -1
  59. package/web/dist/assets/{workflows-DqArthZn.js → workflows-DzWrTdn_.js} +1 -1
  60. package/web/dist/assets/{workspace-tools-S5KvgCRm.js → workspace-tools-D3ShYr57.js} +1 -1
  61. package/web/dist/assets/{worktrees-section-DNFnQfiW.js → worktrees-section-CRAfS-Mq.js} +1 -1
  62. package/web/dist/index.html +1 -1
  63. package/web/dist/assets/thread-state-B3HGSNEy.js +0 -4
@@ -418,30 +418,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
418
418
  deadline: string;
419
419
  seconds: number;
420
420
  note?: string | undefined;
421
- } | {
422
- id: string;
423
- source: "agent" | "cezar";
424
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
425
- registeredAt: string;
426
- phase: "cancelled" | "delivered" | "open" | "resolved";
427
- resolvedAt?: string | undefined;
428
- deliveredAt?: string | undefined;
429
- cancelledAt?: string | undefined;
430
- turnId: string;
431
- kind: "process";
432
- deadline: string;
433
- timeoutSeconds: number;
434
- pid: number;
435
- startToken?: string | undefined;
436
- exitFile?: string | undefined;
437
- note?: string | undefined;
438
- result?: {
439
- outcome: "deadline" | "error" | "exit_file" | "exited";
440
- observedAt: string;
441
- exitCode?: number | undefined;
442
- exitFileNote?: "not-an-exit-code" | undefined;
443
- diagnostic?: string | undefined;
444
- } | undefined;
445
421
  } | {
446
422
  id: string;
447
423
  source: "agent" | "cezar";
@@ -503,6 +479,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
503
479
  reason: "outcome" | "timeout";
504
480
  } | undefined;
505
481
  wakeInputId?: string | undefined;
482
+ } | {
483
+ id: string;
484
+ source: "agent" | "cezar";
485
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
486
+ registeredAt: string;
487
+ phase: "cancelled" | "delivered" | "open" | "resolved";
488
+ resolvedAt?: string | undefined;
489
+ deliveredAt?: string | undefined;
490
+ cancelledAt?: string | undefined;
491
+ turnId: string;
492
+ kind: "process";
493
+ deadline: string;
494
+ timeoutSeconds: number;
495
+ pid: number;
496
+ startToken?: string | undefined;
497
+ exitFile?: string | undefined;
498
+ note?: string | undefined;
499
+ result?: {
500
+ outcome: "deadline" | "error" | "exit_file" | "exited";
501
+ observedAt: string;
502
+ exitCode?: number | undefined;
503
+ exitFileNote?: "not-an-exit-code" | undefined;
504
+ diagnostic?: string | undefined;
505
+ } | undefined;
506
506
  } | {
507
507
  id: string;
508
508
  source: "agent" | "cezar";
@@ -634,30 +634,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
634
634
  deadline: string;
635
635
  seconds: number;
636
636
  note?: string | undefined;
637
- } | {
638
- id: string;
639
- source: "agent" | "cezar";
640
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
641
- registeredAt: string;
642
- phase: "cancelled" | "delivered" | "open" | "resolved";
643
- resolvedAt?: string | undefined;
644
- deliveredAt?: string | undefined;
645
- cancelledAt?: string | undefined;
646
- turnId: string;
647
- kind: "process";
648
- deadline: string;
649
- timeoutSeconds: number;
650
- pid: number;
651
- startToken?: string | undefined;
652
- exitFile?: string | undefined;
653
- note?: string | undefined;
654
- result?: {
655
- outcome: "deadline" | "error" | "exit_file" | "exited";
656
- observedAt: string;
657
- exitCode?: number | undefined;
658
- exitFileNote?: "not-an-exit-code" | undefined;
659
- diagnostic?: string | undefined;
660
- } | undefined;
661
637
  } | {
662
638
  id: string;
663
639
  source: "agent" | "cezar";
@@ -719,6 +695,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
719
695
  reason: "outcome" | "timeout";
720
696
  } | undefined;
721
697
  wakeInputId?: string | undefined;
698
+ } | {
699
+ id: string;
700
+ source: "agent" | "cezar";
701
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
702
+ registeredAt: string;
703
+ phase: "cancelled" | "delivered" | "open" | "resolved";
704
+ resolvedAt?: string | undefined;
705
+ deliveredAt?: string | undefined;
706
+ cancelledAt?: string | undefined;
707
+ turnId: string;
708
+ kind: "process";
709
+ deadline: string;
710
+ timeoutSeconds: number;
711
+ pid: number;
712
+ startToken?: string | undefined;
713
+ exitFile?: string | undefined;
714
+ note?: string | undefined;
715
+ result?: {
716
+ outcome: "deadline" | "error" | "exit_file" | "exited";
717
+ observedAt: string;
718
+ exitCode?: number | undefined;
719
+ exitFileNote?: "not-an-exit-code" | undefined;
720
+ diagnostic?: string | undefined;
721
+ } | undefined;
722
722
  } | {
723
723
  id: string;
724
724
  source: "agent" | "cezar";
@@ -849,30 +849,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
849
849
  deadline: string;
850
850
  seconds: number;
851
851
  note?: string | undefined;
852
- } | {
853
- id: string;
854
- source: "agent" | "cezar";
855
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
856
- registeredAt: string;
857
- phase: "cancelled" | "delivered" | "open" | "resolved";
858
- resolvedAt?: string | undefined;
859
- deliveredAt?: string | undefined;
860
- cancelledAt?: string | undefined;
861
- turnId: string;
862
- kind: "process";
863
- deadline: string;
864
- timeoutSeconds: number;
865
- pid: number;
866
- startToken?: string | undefined;
867
- exitFile?: string | undefined;
868
- note?: string | undefined;
869
- result?: {
870
- outcome: "deadline" | "error" | "exit_file" | "exited";
871
- observedAt: string;
872
- exitCode?: number | undefined;
873
- exitFileNote?: "not-an-exit-code" | undefined;
874
- diagnostic?: string | undefined;
875
- } | undefined;
876
852
  } | {
877
853
  id: string;
878
854
  source: "agent" | "cezar";
@@ -934,6 +910,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
934
910
  reason: "outcome" | "timeout";
935
911
  } | undefined;
936
912
  wakeInputId?: string | undefined;
913
+ } | {
914
+ id: string;
915
+ source: "agent" | "cezar";
916
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
917
+ registeredAt: string;
918
+ phase: "cancelled" | "delivered" | "open" | "resolved";
919
+ resolvedAt?: string | undefined;
920
+ deliveredAt?: string | undefined;
921
+ cancelledAt?: string | undefined;
922
+ turnId: string;
923
+ kind: "process";
924
+ deadline: string;
925
+ timeoutSeconds: number;
926
+ pid: number;
927
+ startToken?: string | undefined;
928
+ exitFile?: string | undefined;
929
+ note?: string | undefined;
930
+ result?: {
931
+ outcome: "deadline" | "error" | "exit_file" | "exited";
932
+ observedAt: string;
933
+ exitCode?: number | undefined;
934
+ exitFileNote?: "not-an-exit-code" | undefined;
935
+ diagnostic?: string | undefined;
936
+ } | undefined;
937
937
  } | {
938
938
  id: string;
939
939
  source: "agent" | "cezar";
@@ -1209,18 +1209,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1209
1209
  } & {
1210
1210
  "/run-summaries": {
1211
1211
  $get: {
1212
- output: {
1213
- error: string;
1214
- code?: "invalid_input" | undefined;
1215
- };
1216
- outputFormat: "json";
1217
- status: 400;
1218
- input: {
1219
- query: {
1220
- archived?: "all" | "recent" | undefined;
1221
- };
1222
- };
1223
- } | {
1224
1212
  output: {
1225
1213
  id: string;
1226
1214
  title: string;
@@ -1354,6 +1342,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1354
1342
  archived?: "all" | "recent" | undefined;
1355
1343
  };
1356
1344
  };
1345
+ } | {
1346
+ output: {
1347
+ error: string;
1348
+ code?: "invalid_input" | undefined;
1349
+ };
1350
+ outputFormat: "json";
1351
+ status: 400;
1352
+ input: {
1353
+ query: {
1354
+ archived?: "all" | "recent" | undefined;
1355
+ };
1356
+ };
1357
1357
  };
1358
1358
  };
1359
1359
  } & {
@@ -1711,24 +1711,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1711
1711
  "/runs/:id/worker-destroy": {
1712
1712
  $post: {
1713
1713
  output: {
1714
- workerId: string;
1715
- state: "complete" | "incomplete";
1716
- work?: {
1717
- uncommittedFiles: number;
1718
- commits: number;
1714
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1715
+ readonly error: string;
1716
+ readonly modelChoices?: {
1717
+ runner: string;
1718
+ requestedModel: string;
1719
+ availableModels: {
1720
+ id: string;
1721
+ label: string;
1722
+ description: string;
1723
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1724
+ }[];
1725
+ otherRunners: string[];
1719
1726
  } | undefined;
1720
- deleted?: ({
1721
- kind: "worktree";
1722
- path: string;
1723
- } | {
1724
- kind: "branch";
1725
- ref: string;
1726
- })[] | undefined;
1727
- remaining: ("branch" | "process" | "worktree")[];
1728
- error?: string | undefined;
1729
1727
  };
1730
1728
  outputFormat: "json";
1731
- status: 200;
1729
+ status: 400 | 401 | 403 | 409 | 503;
1732
1730
  input: {
1733
1731
  query: {
1734
1732
  [x: string]: string | string[];
@@ -1781,7 +1779,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1781
1779
  error?: string | undefined;
1782
1780
  };
1783
1781
  outputFormat: "json";
1784
- status: 409;
1782
+ status: 200;
1785
1783
  input: {
1786
1784
  query: {
1787
1785
  [x: string]: string | string[];
@@ -1797,22 +1795,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1797
1795
  };
1798
1796
  } | {
1799
1797
  output: {
1800
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1801
- readonly error: string;
1802
- readonly modelChoices?: {
1803
- runner: string;
1804
- requestedModel: string;
1805
- availableModels: {
1806
- id: string;
1807
- label: string;
1808
- description: string;
1809
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1810
- }[];
1811
- otherRunners: string[];
1798
+ workerId: string;
1799
+ state: "complete" | "incomplete";
1800
+ work?: {
1801
+ uncommittedFiles: number;
1802
+ commits: number;
1812
1803
  } | undefined;
1804
+ deleted?: ({
1805
+ kind: "worktree";
1806
+ path: string;
1807
+ } | {
1808
+ kind: "branch";
1809
+ ref: string;
1810
+ })[] | undefined;
1811
+ remaining: ("branch" | "process" | "worktree")[];
1812
+ error?: string | undefined;
1813
1813
  };
1814
1814
  outputFormat: "json";
1815
- status: 400 | 401 | 403 | 409 | 503;
1815
+ status: 409;
1816
1816
  input: {
1817
1817
  query: {
1818
1818
  [x: string]: string | string[];
@@ -1864,21 +1864,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1864
1864
  } & {
1865
1865
  "/runs/:id/archive": {
1866
1866
  $post: {
1867
- output: {
1868
- error: string;
1869
- };
1870
- outputFormat: "json";
1871
- status: 404;
1872
- input: {
1873
- json: {
1874
- archived?: boolean | undefined;
1875
- };
1876
- } & {
1877
- param: {
1878
- id: string;
1879
- };
1880
- };
1881
- } | {
1882
1867
  output: {
1883
1868
  archiveWhenDone?: boolean | undefined;
1884
1869
  autoMergePr?: boolean | undefined;
@@ -2268,30 +2253,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2268
2253
  deadline: string;
2269
2254
  seconds: number;
2270
2255
  note?: string | undefined;
2271
- } | {
2272
- id: string;
2273
- source: "agent" | "cezar";
2274
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2275
- registeredAt: string;
2276
- phase: "cancelled" | "delivered" | "open" | "resolved";
2277
- resolvedAt?: string | undefined;
2278
- deliveredAt?: string | undefined;
2279
- cancelledAt?: string | undefined;
2280
- turnId: string;
2281
- kind: "process";
2282
- deadline: string;
2283
- timeoutSeconds: number;
2284
- pid: number;
2285
- startToken?: string | undefined;
2286
- exitFile?: string | undefined;
2287
- note?: string | undefined;
2288
- result?: {
2289
- outcome: "deadline" | "error" | "exit_file" | "exited";
2290
- observedAt: string;
2291
- exitCode?: number | undefined;
2292
- exitFileNote?: "not-an-exit-code" | undefined;
2293
- diagnostic?: string | undefined;
2294
- } | undefined;
2295
2256
  } | {
2296
2257
  id: string;
2297
2258
  source: "agent" | "cezar";
@@ -2353,6 +2314,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2353
2314
  reason: "outcome" | "timeout";
2354
2315
  } | undefined;
2355
2316
  wakeInputId?: string | undefined;
2317
+ } | {
2318
+ id: string;
2319
+ source: "agent" | "cezar";
2320
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2321
+ registeredAt: string;
2322
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2323
+ resolvedAt?: string | undefined;
2324
+ deliveredAt?: string | undefined;
2325
+ cancelledAt?: string | undefined;
2326
+ turnId: string;
2327
+ kind: "process";
2328
+ deadline: string;
2329
+ timeoutSeconds: number;
2330
+ pid: number;
2331
+ startToken?: string | undefined;
2332
+ exitFile?: string | undefined;
2333
+ note?: string | undefined;
2334
+ result?: {
2335
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2336
+ observedAt: string;
2337
+ exitCode?: number | undefined;
2338
+ exitFileNote?: "not-an-exit-code" | undefined;
2339
+ diagnostic?: string | undefined;
2340
+ } | undefined;
2356
2341
  } | {
2357
2342
  id: string;
2358
2343
  source: "agent" | "cezar";
@@ -2484,30 +2469,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2484
2469
  deadline: string;
2485
2470
  seconds: number;
2486
2471
  note?: string | undefined;
2487
- } | {
2488
- id: string;
2489
- source: "agent" | "cezar";
2490
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2491
- registeredAt: string;
2492
- phase: "cancelled" | "delivered" | "open" | "resolved";
2493
- resolvedAt?: string | undefined;
2494
- deliveredAt?: string | undefined;
2495
- cancelledAt?: string | undefined;
2496
- turnId: string;
2497
- kind: "process";
2498
- deadline: string;
2499
- timeoutSeconds: number;
2500
- pid: number;
2501
- startToken?: string | undefined;
2502
- exitFile?: string | undefined;
2503
- note?: string | undefined;
2504
- result?: {
2505
- outcome: "deadline" | "error" | "exit_file" | "exited";
2506
- observedAt: string;
2507
- exitCode?: number | undefined;
2508
- exitFileNote?: "not-an-exit-code" | undefined;
2509
- diagnostic?: string | undefined;
2510
- } | undefined;
2511
2472
  } | {
2512
2473
  id: string;
2513
2474
  source: "agent" | "cezar";
@@ -2569,6 +2530,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2569
2530
  reason: "outcome" | "timeout";
2570
2531
  } | undefined;
2571
2532
  wakeInputId?: string | undefined;
2533
+ } | {
2534
+ id: string;
2535
+ source: "agent" | "cezar";
2536
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2537
+ registeredAt: string;
2538
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2539
+ resolvedAt?: string | undefined;
2540
+ deliveredAt?: string | undefined;
2541
+ cancelledAt?: string | undefined;
2542
+ turnId: string;
2543
+ kind: "process";
2544
+ deadline: string;
2545
+ timeoutSeconds: number;
2546
+ pid: number;
2547
+ startToken?: string | undefined;
2548
+ exitFile?: string | undefined;
2549
+ note?: string | undefined;
2550
+ result?: {
2551
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2552
+ observedAt: string;
2553
+ exitCode?: number | undefined;
2554
+ exitFileNote?: "not-an-exit-code" | undefined;
2555
+ diagnostic?: string | undefined;
2556
+ } | undefined;
2572
2557
  } | {
2573
2558
  id: string;
2574
2559
  source: "agent" | "cezar";
@@ -2699,30 +2684,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2699
2684
  deadline: string;
2700
2685
  seconds: number;
2701
2686
  note?: string | undefined;
2702
- } | {
2703
- id: string;
2704
- source: "agent" | "cezar";
2705
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2706
- registeredAt: string;
2707
- phase: "cancelled" | "delivered" | "open" | "resolved";
2708
- resolvedAt?: string | undefined;
2709
- deliveredAt?: string | undefined;
2710
- cancelledAt?: string | undefined;
2711
- turnId: string;
2712
- kind: "process";
2713
- deadline: string;
2714
- timeoutSeconds: number;
2715
- pid: number;
2716
- startToken?: string | undefined;
2717
- exitFile?: string | undefined;
2718
- note?: string | undefined;
2719
- result?: {
2720
- outcome: "deadline" | "error" | "exit_file" | "exited";
2721
- observedAt: string;
2722
- exitCode?: number | undefined;
2723
- exitFileNote?: "not-an-exit-code" | undefined;
2724
- diagnostic?: string | undefined;
2725
- } | undefined;
2726
2687
  } | {
2727
2688
  id: string;
2728
2689
  source: "agent" | "cezar";
@@ -2784,6 +2745,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2784
2745
  reason: "outcome" | "timeout";
2785
2746
  } | undefined;
2786
2747
  wakeInputId?: string | undefined;
2748
+ } | {
2749
+ id: string;
2750
+ source: "agent" | "cezar";
2751
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2752
+ registeredAt: string;
2753
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2754
+ resolvedAt?: string | undefined;
2755
+ deliveredAt?: string | undefined;
2756
+ cancelledAt?: string | undefined;
2757
+ turnId: string;
2758
+ kind: "process";
2759
+ deadline: string;
2760
+ timeoutSeconds: number;
2761
+ pid: number;
2762
+ startToken?: string | undefined;
2763
+ exitFile?: string | undefined;
2764
+ note?: string | undefined;
2765
+ result?: {
2766
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2767
+ observedAt: string;
2768
+ exitCode?: number | undefined;
2769
+ exitFileNote?: "not-an-exit-code" | undefined;
2770
+ diagnostic?: string | undefined;
2771
+ } | undefined;
2787
2772
  } | {
2788
2773
  id: string;
2789
2774
  source: "agent" | "cezar";
@@ -3054,32 +3039,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3054
3039
  id: string;
3055
3040
  };
3056
3041
  };
3057
- };
3058
- };
3059
- } & {
3060
- "/runs/:id/pin": {
3061
- $post: {
3042
+ } | {
3062
3043
  output: {
3063
3044
  error: string;
3064
- code?: "invalid_input" | undefined;
3065
3045
  };
3066
3046
  outputFormat: "json";
3067
- status: 400;
3047
+ status: 404;
3068
3048
  input: {
3069
- param: {
3070
- id: string;
3049
+ json: {
3050
+ archived?: boolean | undefined;
3071
3051
  };
3072
3052
  } & {
3073
- json: {
3074
- pinned?: boolean | undefined;
3053
+ param: {
3054
+ id: string;
3075
3055
  };
3076
3056
  };
3077
- } | {
3057
+ };
3058
+ };
3059
+ } & {
3060
+ "/runs/:id/pin": {
3061
+ $post: {
3078
3062
  output: {
3079
3063
  error: string;
3064
+ code?: "invalid_input" | undefined;
3080
3065
  };
3081
3066
  outputFormat: "json";
3082
- status: 404;
3067
+ status: 400;
3083
3068
  input: {
3084
3069
  param: {
3085
3070
  id: string;
@@ -3479,30 +3464,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3479
3464
  deadline: string;
3480
3465
  seconds: number;
3481
3466
  note?: string | undefined;
3482
- } | {
3483
- id: string;
3484
- source: "agent" | "cezar";
3485
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
3486
- registeredAt: string;
3487
- phase: "cancelled" | "delivered" | "open" | "resolved";
3488
- resolvedAt?: string | undefined;
3489
- deliveredAt?: string | undefined;
3490
- cancelledAt?: string | undefined;
3491
- turnId: string;
3492
- kind: "process";
3493
- deadline: string;
3494
- timeoutSeconds: number;
3495
- pid: number;
3496
- startToken?: string | undefined;
3497
- exitFile?: string | undefined;
3498
- note?: string | undefined;
3499
- result?: {
3500
- outcome: "deadline" | "error" | "exit_file" | "exited";
3501
- observedAt: string;
3502
- exitCode?: number | undefined;
3503
- exitFileNote?: "not-an-exit-code" | undefined;
3504
- diagnostic?: string | undefined;
3505
- } | undefined;
3506
3467
  } | {
3507
3468
  id: string;
3508
3469
  source: "agent" | "cezar";
@@ -3564,6 +3525,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3564
3525
  reason: "outcome" | "timeout";
3565
3526
  } | undefined;
3566
3527
  wakeInputId?: string | undefined;
3528
+ } | {
3529
+ id: string;
3530
+ source: "agent" | "cezar";
3531
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
3532
+ registeredAt: string;
3533
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3534
+ resolvedAt?: string | undefined;
3535
+ deliveredAt?: string | undefined;
3536
+ cancelledAt?: string | undefined;
3537
+ turnId: string;
3538
+ kind: "process";
3539
+ deadline: string;
3540
+ timeoutSeconds: number;
3541
+ pid: number;
3542
+ startToken?: string | undefined;
3543
+ exitFile?: string | undefined;
3544
+ note?: string | undefined;
3545
+ result?: {
3546
+ outcome: "deadline" | "error" | "exit_file" | "exited";
3547
+ observedAt: string;
3548
+ exitCode?: number | undefined;
3549
+ exitFileNote?: "not-an-exit-code" | undefined;
3550
+ diagnostic?: string | undefined;
3551
+ } | undefined;
3567
3552
  } | {
3568
3553
  id: string;
3569
3554
  source: "agent" | "cezar";
@@ -3695,30 +3680,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3695
3680
  deadline: string;
3696
3681
  seconds: number;
3697
3682
  note?: string | undefined;
3698
- } | {
3699
- id: string;
3700
- source: "agent" | "cezar";
3701
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
3702
- registeredAt: string;
3703
- phase: "cancelled" | "delivered" | "open" | "resolved";
3704
- resolvedAt?: string | undefined;
3705
- deliveredAt?: string | undefined;
3706
- cancelledAt?: string | undefined;
3707
- turnId: string;
3708
- kind: "process";
3709
- deadline: string;
3710
- timeoutSeconds: number;
3711
- pid: number;
3712
- startToken?: string | undefined;
3713
- exitFile?: string | undefined;
3714
- note?: string | undefined;
3715
- result?: {
3716
- outcome: "deadline" | "error" | "exit_file" | "exited";
3717
- observedAt: string;
3718
- exitCode?: number | undefined;
3719
- exitFileNote?: "not-an-exit-code" | undefined;
3720
- diagnostic?: string | undefined;
3721
- } | undefined;
3722
3683
  } | {
3723
3684
  id: string;
3724
3685
  source: "agent" | "cezar";
@@ -3780,6 +3741,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3780
3741
  reason: "outcome" | "timeout";
3781
3742
  } | undefined;
3782
3743
  wakeInputId?: string | undefined;
3744
+ } | {
3745
+ id: string;
3746
+ source: "agent" | "cezar";
3747
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
3748
+ registeredAt: string;
3749
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3750
+ resolvedAt?: string | undefined;
3751
+ deliveredAt?: string | undefined;
3752
+ cancelledAt?: string | undefined;
3753
+ turnId: string;
3754
+ kind: "process";
3755
+ deadline: string;
3756
+ timeoutSeconds: number;
3757
+ pid: number;
3758
+ startToken?: string | undefined;
3759
+ exitFile?: string | undefined;
3760
+ note?: string | undefined;
3761
+ result?: {
3762
+ outcome: "deadline" | "error" | "exit_file" | "exited";
3763
+ observedAt: string;
3764
+ exitCode?: number | undefined;
3765
+ exitFileNote?: "not-an-exit-code" | undefined;
3766
+ diagnostic?: string | undefined;
3767
+ } | undefined;
3783
3768
  } | {
3784
3769
  id: string;
3785
3770
  source: "agent" | "cezar";
@@ -3910,30 +3895,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3910
3895
  deadline: string;
3911
3896
  seconds: number;
3912
3897
  note?: string | undefined;
3913
- } | {
3914
- id: string;
3915
- source: "agent" | "cezar";
3916
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
3917
- registeredAt: string;
3918
- phase: "cancelled" | "delivered" | "open" | "resolved";
3919
- resolvedAt?: string | undefined;
3920
- deliveredAt?: string | undefined;
3921
- cancelledAt?: string | undefined;
3922
- turnId: string;
3923
- kind: "process";
3924
- deadline: string;
3925
- timeoutSeconds: number;
3926
- pid: number;
3927
- startToken?: string | undefined;
3928
- exitFile?: string | undefined;
3929
- note?: string | undefined;
3930
- result?: {
3931
- outcome: "deadline" | "error" | "exit_file" | "exited";
3932
- observedAt: string;
3933
- exitCode?: number | undefined;
3934
- exitFileNote?: "not-an-exit-code" | undefined;
3935
- diagnostic?: string | undefined;
3936
- } | undefined;
3937
3898
  } | {
3938
3899
  id: string;
3939
3900
  source: "agent" | "cezar";
@@ -3995,6 +3956,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3995
3956
  reason: "outcome" | "timeout";
3996
3957
  } | undefined;
3997
3958
  wakeInputId?: string | undefined;
3959
+ } | {
3960
+ id: string;
3961
+ source: "agent" | "cezar";
3962
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
3963
+ registeredAt: string;
3964
+ phase: "cancelled" | "delivered" | "open" | "resolved";
3965
+ resolvedAt?: string | undefined;
3966
+ deliveredAt?: string | undefined;
3967
+ cancelledAt?: string | undefined;
3968
+ turnId: string;
3969
+ kind: "process";
3970
+ deadline: string;
3971
+ timeoutSeconds: number;
3972
+ pid: number;
3973
+ startToken?: string | undefined;
3974
+ exitFile?: string | undefined;
3975
+ note?: string | undefined;
3976
+ result?: {
3977
+ outcome: "deadline" | "error" | "exit_file" | "exited";
3978
+ observedAt: string;
3979
+ exitCode?: number | undefined;
3980
+ exitFileNote?: "not-an-exit-code" | undefined;
3981
+ diagnostic?: string | undefined;
3982
+ } | undefined;
3998
3983
  } | {
3999
3984
  id: string;
4000
3985
  source: "agent" | "cezar";
@@ -4265,6 +4250,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4265
4250
  pinned?: boolean | undefined;
4266
4251
  };
4267
4252
  };
4253
+ } | {
4254
+ output: {
4255
+ error: string;
4256
+ };
4257
+ outputFormat: "json";
4258
+ status: 404;
4259
+ input: {
4260
+ param: {
4261
+ id: string;
4262
+ };
4263
+ } & {
4264
+ json: {
4265
+ pinned?: boolean | undefined;
4266
+ };
4267
+ };
4268
4268
  };
4269
4269
  };
4270
4270
  } & {
@@ -4291,7 +4291,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4291
4291
  error: string;
4292
4292
  };
4293
4293
  outputFormat: "json";
4294
- status: 400;
4294
+ status: 404;
4295
4295
  input: {
4296
4296
  param: {
4297
4297
  id: string;
@@ -4307,7 +4307,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4307
4307
  error: string;
4308
4308
  };
4309
4309
  outputFormat: "json";
4310
- status: 404;
4310
+ status: 400;
4311
4311
  input: {
4312
4312
  param: {
4313
4313
  id: string;
@@ -4455,30 +4455,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4455
4455
  deadline: string;
4456
4456
  seconds: number;
4457
4457
  note?: string | undefined;
4458
- } | {
4459
- id: string;
4460
- source: "agent" | "cezar";
4461
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
4462
- registeredAt: string;
4463
- phase: "cancelled" | "delivered" | "open" | "resolved";
4464
- resolvedAt?: string | undefined;
4465
- deliveredAt?: string | undefined;
4466
- cancelledAt?: string | undefined;
4467
- turnId: string;
4468
- kind: "process";
4469
- deadline: string;
4470
- timeoutSeconds: number;
4471
- pid: number;
4472
- startToken?: string | undefined;
4473
- exitFile?: string | undefined;
4474
- note?: string | undefined;
4475
- result?: {
4476
- outcome: "deadline" | "error" | "exit_file" | "exited";
4477
- observedAt: string;
4478
- exitCode?: number | undefined;
4479
- exitFileNote?: "not-an-exit-code" | undefined;
4480
- diagnostic?: string | undefined;
4481
- } | undefined;
4482
4458
  } | {
4483
4459
  id: string;
4484
4460
  source: "agent" | "cezar";
@@ -4540,6 +4516,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4540
4516
  reason: "outcome" | "timeout";
4541
4517
  } | undefined;
4542
4518
  wakeInputId?: string | undefined;
4519
+ } | {
4520
+ id: string;
4521
+ source: "agent" | "cezar";
4522
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
4523
+ registeredAt: string;
4524
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4525
+ resolvedAt?: string | undefined;
4526
+ deliveredAt?: string | undefined;
4527
+ cancelledAt?: string | undefined;
4528
+ turnId: string;
4529
+ kind: "process";
4530
+ deadline: string;
4531
+ timeoutSeconds: number;
4532
+ pid: number;
4533
+ startToken?: string | undefined;
4534
+ exitFile?: string | undefined;
4535
+ note?: string | undefined;
4536
+ result?: {
4537
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4538
+ observedAt: string;
4539
+ exitCode?: number | undefined;
4540
+ exitFileNote?: "not-an-exit-code" | undefined;
4541
+ diagnostic?: string | undefined;
4542
+ } | undefined;
4543
4543
  } | {
4544
4544
  id: string;
4545
4545
  source: "agent" | "cezar";
@@ -4671,30 +4671,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4671
4671
  deadline: string;
4672
4672
  seconds: number;
4673
4673
  note?: string | undefined;
4674
- } | {
4675
- id: string;
4676
- source: "agent" | "cezar";
4677
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
4678
- registeredAt: string;
4679
- phase: "cancelled" | "delivered" | "open" | "resolved";
4680
- resolvedAt?: string | undefined;
4681
- deliveredAt?: string | undefined;
4682
- cancelledAt?: string | undefined;
4683
- turnId: string;
4684
- kind: "process";
4685
- deadline: string;
4686
- timeoutSeconds: number;
4687
- pid: number;
4688
- startToken?: string | undefined;
4689
- exitFile?: string | undefined;
4690
- note?: string | undefined;
4691
- result?: {
4692
- outcome: "deadline" | "error" | "exit_file" | "exited";
4693
- observedAt: string;
4694
- exitCode?: number | undefined;
4695
- exitFileNote?: "not-an-exit-code" | undefined;
4696
- diagnostic?: string | undefined;
4697
- } | undefined;
4698
4674
  } | {
4699
4675
  id: string;
4700
4676
  source: "agent" | "cezar";
@@ -4756,6 +4732,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4756
4732
  reason: "outcome" | "timeout";
4757
4733
  } | undefined;
4758
4734
  wakeInputId?: string | undefined;
4735
+ } | {
4736
+ id: string;
4737
+ source: "agent" | "cezar";
4738
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
4739
+ registeredAt: string;
4740
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4741
+ resolvedAt?: string | undefined;
4742
+ deliveredAt?: string | undefined;
4743
+ cancelledAt?: string | undefined;
4744
+ turnId: string;
4745
+ kind: "process";
4746
+ deadline: string;
4747
+ timeoutSeconds: number;
4748
+ pid: number;
4749
+ startToken?: string | undefined;
4750
+ exitFile?: string | undefined;
4751
+ note?: string | undefined;
4752
+ result?: {
4753
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4754
+ observedAt: string;
4755
+ exitCode?: number | undefined;
4756
+ exitFileNote?: "not-an-exit-code" | undefined;
4757
+ diagnostic?: string | undefined;
4758
+ } | undefined;
4759
4759
  } | {
4760
4760
  id: string;
4761
4761
  source: "agent" | "cezar";
@@ -4886,30 +4886,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4886
4886
  deadline: string;
4887
4887
  seconds: number;
4888
4888
  note?: string | undefined;
4889
- } | {
4890
- id: string;
4891
- source: "agent" | "cezar";
4892
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
4893
- registeredAt: string;
4894
- phase: "cancelled" | "delivered" | "open" | "resolved";
4895
- resolvedAt?: string | undefined;
4896
- deliveredAt?: string | undefined;
4897
- cancelledAt?: string | undefined;
4898
- turnId: string;
4899
- kind: "process";
4900
- deadline: string;
4901
- timeoutSeconds: number;
4902
- pid: number;
4903
- startToken?: string | undefined;
4904
- exitFile?: string | undefined;
4905
- note?: string | undefined;
4906
- result?: {
4907
- outcome: "deadline" | "error" | "exit_file" | "exited";
4908
- observedAt: string;
4909
- exitCode?: number | undefined;
4910
- exitFileNote?: "not-an-exit-code" | undefined;
4911
- diagnostic?: string | undefined;
4912
- } | undefined;
4913
4889
  } | {
4914
4890
  id: string;
4915
4891
  source: "agent" | "cezar";
@@ -4971,6 +4947,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4971
4947
  reason: "outcome" | "timeout";
4972
4948
  } | undefined;
4973
4949
  wakeInputId?: string | undefined;
4950
+ } | {
4951
+ id: string;
4952
+ source: "agent" | "cezar";
4953
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
4954
+ registeredAt: string;
4955
+ phase: "cancelled" | "delivered" | "open" | "resolved";
4956
+ resolvedAt?: string | undefined;
4957
+ deliveredAt?: string | undefined;
4958
+ cancelledAt?: string | undefined;
4959
+ turnId: string;
4960
+ kind: "process";
4961
+ deadline: string;
4962
+ timeoutSeconds: number;
4963
+ pid: number;
4964
+ startToken?: string | undefined;
4965
+ exitFile?: string | undefined;
4966
+ note?: string | undefined;
4967
+ result?: {
4968
+ outcome: "deadline" | "error" | "exit_file" | "exited";
4969
+ observedAt: string;
4970
+ exitCode?: number | undefined;
4971
+ exitFileNote?: "not-an-exit-code" | undefined;
4972
+ diagnostic?: string | undefined;
4973
+ } | undefined;
4974
4974
  } | {
4975
4975
  id: string;
4976
4976
  source: "agent" | "cezar";
@@ -5526,17 +5526,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5526
5526
  } & {
5527
5527
  "/runs/:id/read": {
5528
5528
  $post: {
5529
- output: {
5530
- error: string;
5531
- };
5532
- outputFormat: "json";
5533
- status: 404;
5534
- input: {
5535
- param: {
5536
- id: string;
5537
- };
5538
- };
5539
- } | {
5540
5529
  output: {
5541
5530
  archiveWhenDone?: boolean | undefined;
5542
5531
  autoMergePr?: boolean | undefined;
@@ -5926,30 +5915,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5926
5915
  deadline: string;
5927
5916
  seconds: number;
5928
5917
  note?: string | undefined;
5929
- } | {
5930
- id: string;
5931
- source: "agent" | "cezar";
5932
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
5933
- registeredAt: string;
5934
- phase: "cancelled" | "delivered" | "open" | "resolved";
5935
- resolvedAt?: string | undefined;
5936
- deliveredAt?: string | undefined;
5937
- cancelledAt?: string | undefined;
5938
- turnId: string;
5939
- kind: "process";
5940
- deadline: string;
5941
- timeoutSeconds: number;
5942
- pid: number;
5943
- startToken?: string | undefined;
5944
- exitFile?: string | undefined;
5945
- note?: string | undefined;
5946
- result?: {
5947
- outcome: "deadline" | "error" | "exit_file" | "exited";
5948
- observedAt: string;
5949
- exitCode?: number | undefined;
5950
- exitFileNote?: "not-an-exit-code" | undefined;
5951
- diagnostic?: string | undefined;
5952
- } | undefined;
5953
5918
  } | {
5954
5919
  id: string;
5955
5920
  source: "agent" | "cezar";
@@ -6021,19 +5986,43 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6021
5986
  deliveredAt?: string | undefined;
6022
5987
  cancelledAt?: string | undefined;
6023
5988
  turnId: string;
6024
- kind: "peer";
5989
+ kind: "process";
6025
5990
  deadline: string;
6026
5991
  timeoutSeconds: number;
6027
- peerIds: string[];
5992
+ pid: number;
5993
+ startToken?: string | undefined;
5994
+ exitFile?: string | undefined;
5995
+ note?: string | undefined;
6028
5996
  result?: {
6029
- reason: "message";
6030
- peerRunId: string;
6031
- messageId: string;
6032
- } | {
6033
- reason: "settled";
6034
- peerRunId: string;
6035
- } | {
6036
- reason: "timeout";
5997
+ outcome: "deadline" | "error" | "exit_file" | "exited";
5998
+ observedAt: string;
5999
+ exitCode?: number | undefined;
6000
+ exitFileNote?: "not-an-exit-code" | undefined;
6001
+ diagnostic?: string | undefined;
6002
+ } | 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: "peer";
6014
+ deadline: string;
6015
+ timeoutSeconds: number;
6016
+ peerIds: string[];
6017
+ result?: {
6018
+ reason: "message";
6019
+ peerRunId: string;
6020
+ messageId: string;
6021
+ } | {
6022
+ reason: "settled";
6023
+ peerRunId: string;
6024
+ } | {
6025
+ reason: "timeout";
6037
6026
  } | undefined;
6038
6027
  } | {
6039
6028
  id: string;
@@ -6142,30 +6131,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6142
6131
  deadline: string;
6143
6132
  seconds: number;
6144
6133
  note?: string | undefined;
6145
- } | {
6146
- id: string;
6147
- source: "agent" | "cezar";
6148
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
6149
- registeredAt: string;
6150
- phase: "cancelled" | "delivered" | "open" | "resolved";
6151
- resolvedAt?: string | undefined;
6152
- deliveredAt?: string | undefined;
6153
- cancelledAt?: string | undefined;
6154
- turnId: string;
6155
- kind: "process";
6156
- deadline: string;
6157
- timeoutSeconds: number;
6158
- pid: number;
6159
- startToken?: string | undefined;
6160
- exitFile?: string | undefined;
6161
- note?: string | undefined;
6162
- result?: {
6163
- outcome: "deadline" | "error" | "exit_file" | "exited";
6164
- observedAt: string;
6165
- exitCode?: number | undefined;
6166
- exitFileNote?: "not-an-exit-code" | undefined;
6167
- diagnostic?: string | undefined;
6168
- } | undefined;
6169
6134
  } | {
6170
6135
  id: string;
6171
6136
  source: "agent" | "cezar";
@@ -6227,6 +6192,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6227
6192
  reason: "outcome" | "timeout";
6228
6193
  } | undefined;
6229
6194
  wakeInputId?: string | undefined;
6195
+ } | {
6196
+ id: string;
6197
+ source: "agent" | "cezar";
6198
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
6199
+ registeredAt: string;
6200
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6201
+ resolvedAt?: string | undefined;
6202
+ deliveredAt?: string | undefined;
6203
+ cancelledAt?: string | undefined;
6204
+ turnId: string;
6205
+ kind: "process";
6206
+ deadline: string;
6207
+ timeoutSeconds: number;
6208
+ pid: number;
6209
+ startToken?: string | undefined;
6210
+ exitFile?: string | undefined;
6211
+ note?: string | undefined;
6212
+ result?: {
6213
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6214
+ observedAt: string;
6215
+ exitCode?: number | undefined;
6216
+ exitFileNote?: "not-an-exit-code" | undefined;
6217
+ diagnostic?: string | undefined;
6218
+ } | undefined;
6230
6219
  } | {
6231
6220
  id: string;
6232
6221
  source: "agent" | "cezar";
@@ -6357,30 +6346,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6357
6346
  deadline: string;
6358
6347
  seconds: number;
6359
6348
  note?: string | undefined;
6360
- } | {
6361
- id: string;
6362
- source: "agent" | "cezar";
6363
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
6364
- registeredAt: string;
6365
- phase: "cancelled" | "delivered" | "open" | "resolved";
6366
- resolvedAt?: string | undefined;
6367
- deliveredAt?: string | undefined;
6368
- cancelledAt?: string | undefined;
6369
- turnId: string;
6370
- kind: "process";
6371
- deadline: string;
6372
- timeoutSeconds: number;
6373
- pid: number;
6374
- startToken?: string | undefined;
6375
- exitFile?: string | undefined;
6376
- note?: string | undefined;
6377
- result?: {
6378
- outcome: "deadline" | "error" | "exit_file" | "exited";
6379
- observedAt: string;
6380
- exitCode?: number | undefined;
6381
- exitFileNote?: "not-an-exit-code" | undefined;
6382
- diagnostic?: string | undefined;
6383
- } | undefined;
6384
6349
  } | {
6385
6350
  id: string;
6386
6351
  source: "agent" | "cezar";
@@ -6442,6 +6407,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6442
6407
  reason: "outcome" | "timeout";
6443
6408
  } | undefined;
6444
6409
  wakeInputId?: string | undefined;
6410
+ } | {
6411
+ id: string;
6412
+ source: "agent" | "cezar";
6413
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
6414
+ registeredAt: string;
6415
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6416
+ resolvedAt?: string | undefined;
6417
+ deliveredAt?: string | undefined;
6418
+ cancelledAt?: string | undefined;
6419
+ turnId: string;
6420
+ kind: "process";
6421
+ deadline: string;
6422
+ timeoutSeconds: number;
6423
+ pid: number;
6424
+ startToken?: string | undefined;
6425
+ exitFile?: string | undefined;
6426
+ note?: string | undefined;
6427
+ result?: {
6428
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6429
+ observedAt: string;
6430
+ exitCode?: number | undefined;
6431
+ exitFileNote?: "not-an-exit-code" | undefined;
6432
+ diagnostic?: string | undefined;
6433
+ } | undefined;
6445
6434
  } | {
6446
6435
  id: string;
6447
6436
  source: "agent" | "cezar";
@@ -6708,11 +6697,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6708
6697
  id: string;
6709
6698
  };
6710
6699
  };
6711
- };
6712
- };
6713
- } & {
6714
- "/runs/:id/unread": {
6715
- $post: {
6700
+ } | {
6716
6701
  output: {
6717
6702
  error: string;
6718
6703
  };
@@ -6723,7 +6708,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6723
6708
  id: string;
6724
6709
  };
6725
6710
  };
6726
- } | {
6711
+ };
6712
+ };
6713
+ } & {
6714
+ "/runs/:id/unread": {
6715
+ $post: {
6727
6716
  output: {
6728
6717
  archiveWhenDone?: boolean | undefined;
6729
6718
  autoMergePr?: boolean | undefined;
@@ -7113,30 +7102,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7113
7102
  deadline: string;
7114
7103
  seconds: number;
7115
7104
  note?: string | undefined;
7116
- } | {
7117
- id: string;
7118
- source: "agent" | "cezar";
7119
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7120
- registeredAt: string;
7121
- phase: "cancelled" | "delivered" | "open" | "resolved";
7122
- resolvedAt?: string | undefined;
7123
- deliveredAt?: string | undefined;
7124
- cancelledAt?: string | undefined;
7125
- turnId: string;
7126
- kind: "process";
7127
- deadline: string;
7128
- timeoutSeconds: number;
7129
- pid: number;
7130
- startToken?: string | undefined;
7131
- exitFile?: string | undefined;
7132
- note?: string | undefined;
7133
- result?: {
7134
- outcome: "deadline" | "error" | "exit_file" | "exited";
7135
- observedAt: string;
7136
- exitCode?: number | undefined;
7137
- exitFileNote?: "not-an-exit-code" | undefined;
7138
- diagnostic?: string | undefined;
7139
- } | undefined;
7140
7105
  } | {
7141
7106
  id: string;
7142
7107
  source: "agent" | "cezar";
@@ -7198,6 +7163,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7198
7163
  reason: "outcome" | "timeout";
7199
7164
  } | undefined;
7200
7165
  wakeInputId?: string | undefined;
7166
+ } | {
7167
+ id: string;
7168
+ source: "agent" | "cezar";
7169
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7170
+ registeredAt: string;
7171
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7172
+ resolvedAt?: string | undefined;
7173
+ deliveredAt?: string | undefined;
7174
+ cancelledAt?: string | undefined;
7175
+ turnId: string;
7176
+ kind: "process";
7177
+ deadline: string;
7178
+ timeoutSeconds: number;
7179
+ pid: number;
7180
+ startToken?: string | undefined;
7181
+ exitFile?: string | undefined;
7182
+ note?: string | undefined;
7183
+ result?: {
7184
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7185
+ observedAt: string;
7186
+ exitCode?: number | undefined;
7187
+ exitFileNote?: "not-an-exit-code" | undefined;
7188
+ diagnostic?: string | undefined;
7189
+ } | undefined;
7201
7190
  } | {
7202
7191
  id: string;
7203
7192
  source: "agent" | "cezar";
@@ -7329,30 +7318,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7329
7318
  deadline: string;
7330
7319
  seconds: number;
7331
7320
  note?: string | undefined;
7332
- } | {
7333
- id: string;
7334
- source: "agent" | "cezar";
7335
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7336
- registeredAt: string;
7337
- phase: "cancelled" | "delivered" | "open" | "resolved";
7338
- resolvedAt?: string | undefined;
7339
- deliveredAt?: string | undefined;
7340
- cancelledAt?: string | undefined;
7341
- turnId: string;
7342
- kind: "process";
7343
- deadline: string;
7344
- timeoutSeconds: number;
7345
- pid: number;
7346
- startToken?: string | undefined;
7347
- exitFile?: string | undefined;
7348
- note?: string | undefined;
7349
- result?: {
7350
- outcome: "deadline" | "error" | "exit_file" | "exited";
7351
- observedAt: string;
7352
- exitCode?: number | undefined;
7353
- exitFileNote?: "not-an-exit-code" | undefined;
7354
- diagnostic?: string | undefined;
7355
- } | undefined;
7356
7321
  } | {
7357
7322
  id: string;
7358
7323
  source: "agent" | "cezar";
@@ -7414,6 +7379,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7414
7379
  reason: "outcome" | "timeout";
7415
7380
  } | undefined;
7416
7381
  wakeInputId?: string | undefined;
7382
+ } | {
7383
+ id: string;
7384
+ source: "agent" | "cezar";
7385
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7386
+ registeredAt: string;
7387
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7388
+ resolvedAt?: string | undefined;
7389
+ deliveredAt?: string | undefined;
7390
+ cancelledAt?: string | undefined;
7391
+ turnId: string;
7392
+ kind: "process";
7393
+ deadline: string;
7394
+ timeoutSeconds: number;
7395
+ pid: number;
7396
+ startToken?: string | undefined;
7397
+ exitFile?: string | undefined;
7398
+ note?: string | undefined;
7399
+ result?: {
7400
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7401
+ observedAt: string;
7402
+ exitCode?: number | undefined;
7403
+ exitFileNote?: "not-an-exit-code" | undefined;
7404
+ diagnostic?: string | undefined;
7405
+ } | undefined;
7417
7406
  } | {
7418
7407
  id: string;
7419
7408
  source: "agent" | "cezar";
@@ -7544,30 +7533,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7544
7533
  deadline: string;
7545
7534
  seconds: number;
7546
7535
  note?: string | undefined;
7547
- } | {
7548
- id: string;
7549
- source: "agent" | "cezar";
7550
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7551
- registeredAt: string;
7552
- phase: "cancelled" | "delivered" | "open" | "resolved";
7553
- resolvedAt?: string | undefined;
7554
- deliveredAt?: string | undefined;
7555
- cancelledAt?: string | undefined;
7556
- turnId: string;
7557
- kind: "process";
7558
- deadline: string;
7559
- timeoutSeconds: number;
7560
- pid: number;
7561
- startToken?: string | undefined;
7562
- exitFile?: string | undefined;
7563
- note?: string | undefined;
7564
- result?: {
7565
- outcome: "deadline" | "error" | "exit_file" | "exited";
7566
- observedAt: string;
7567
- exitCode?: number | undefined;
7568
- exitFileNote?: "not-an-exit-code" | undefined;
7569
- diagnostic?: string | undefined;
7570
- } | undefined;
7571
7536
  } | {
7572
7537
  id: string;
7573
7538
  source: "agent" | "cezar";
@@ -7629,6 +7594,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7629
7594
  reason: "outcome" | "timeout";
7630
7595
  } | undefined;
7631
7596
  wakeInputId?: string | undefined;
7597
+ } | {
7598
+ id: string;
7599
+ source: "agent" | "cezar";
7600
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
7601
+ registeredAt: string;
7602
+ phase: "cancelled" | "delivered" | "open" | "resolved";
7603
+ resolvedAt?: string | undefined;
7604
+ deliveredAt?: string | undefined;
7605
+ cancelledAt?: string | undefined;
7606
+ turnId: string;
7607
+ kind: "process";
7608
+ deadline: string;
7609
+ timeoutSeconds: number;
7610
+ pid: number;
7611
+ startToken?: string | undefined;
7612
+ exitFile?: string | undefined;
7613
+ note?: string | undefined;
7614
+ result?: {
7615
+ outcome: "deadline" | "error" | "exit_file" | "exited";
7616
+ observedAt: string;
7617
+ exitCode?: number | undefined;
7618
+ exitFileNote?: "not-an-exit-code" | undefined;
7619
+ diagnostic?: string | undefined;
7620
+ } | undefined;
7632
7621
  } | {
7633
7622
  id: string;
7634
7623
  source: "agent" | "cezar";
@@ -7895,6 +7884,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7895
7884
  id: string;
7896
7885
  };
7897
7886
  };
7887
+ } | {
7888
+ output: {
7889
+ error: string;
7890
+ };
7891
+ outputFormat: "json";
7892
+ status: 404;
7893
+ input: {
7894
+ param: {
7895
+ id: string;
7896
+ };
7897
+ };
7898
7898
  };
7899
7899
  };
7900
7900
  } & {
@@ -8036,30 +8036,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8036
8036
  deadline: string;
8037
8037
  seconds: number;
8038
8038
  note?: string | undefined;
8039
- } | {
8040
- id: string;
8041
- source: "agent" | "cezar";
8042
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8043
- registeredAt: string;
8044
- phase: "cancelled" | "delivered" | "open" | "resolved";
8045
- resolvedAt?: string | undefined;
8046
- deliveredAt?: string | undefined;
8047
- cancelledAt?: string | undefined;
8048
- turnId: string;
8049
- kind: "process";
8050
- deadline: string;
8051
- timeoutSeconds: number;
8052
- pid: number;
8053
- startToken?: string | undefined;
8054
- exitFile?: string | undefined;
8055
- note?: string | undefined;
8056
- result?: {
8057
- outcome: "deadline" | "error" | "exit_file" | "exited";
8058
- observedAt: string;
8059
- exitCode?: number | undefined;
8060
- exitFileNote?: "not-an-exit-code" | undefined;
8061
- diagnostic?: string | undefined;
8062
- } | undefined;
8063
8039
  } | {
8064
8040
  id: string;
8065
8041
  source: "agent" | "cezar";
@@ -8121,6 +8097,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8121
8097
  reason: "outcome" | "timeout";
8122
8098
  } | undefined;
8123
8099
  wakeInputId?: string | undefined;
8100
+ } | {
8101
+ id: string;
8102
+ source: "agent" | "cezar";
8103
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8104
+ registeredAt: string;
8105
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8106
+ resolvedAt?: string | undefined;
8107
+ deliveredAt?: string | undefined;
8108
+ cancelledAt?: string | undefined;
8109
+ turnId: string;
8110
+ kind: "process";
8111
+ deadline: string;
8112
+ timeoutSeconds: number;
8113
+ pid: number;
8114
+ startToken?: string | undefined;
8115
+ exitFile?: string | undefined;
8116
+ note?: string | undefined;
8117
+ result?: {
8118
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8119
+ observedAt: string;
8120
+ exitCode?: number | undefined;
8121
+ exitFileNote?: "not-an-exit-code" | undefined;
8122
+ diagnostic?: string | undefined;
8123
+ } | undefined;
8124
8124
  } | {
8125
8125
  id: string;
8126
8126
  source: "agent" | "cezar";
@@ -8252,30 +8252,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8252
8252
  deadline: string;
8253
8253
  seconds: number;
8254
8254
  note?: string | undefined;
8255
- } | {
8256
- id: string;
8257
- source: "agent" | "cezar";
8258
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8259
- registeredAt: string;
8260
- phase: "cancelled" | "delivered" | "open" | "resolved";
8261
- resolvedAt?: string | undefined;
8262
- deliveredAt?: string | undefined;
8263
- cancelledAt?: string | undefined;
8264
- turnId: string;
8265
- kind: "process";
8266
- deadline: string;
8267
- timeoutSeconds: number;
8268
- pid: number;
8269
- startToken?: string | undefined;
8270
- exitFile?: string | undefined;
8271
- note?: string | undefined;
8272
- result?: {
8273
- outcome: "deadline" | "error" | "exit_file" | "exited";
8274
- observedAt: string;
8275
- exitCode?: number | undefined;
8276
- exitFileNote?: "not-an-exit-code" | undefined;
8277
- diagnostic?: string | undefined;
8278
- } | undefined;
8279
8255
  } | {
8280
8256
  id: string;
8281
8257
  source: "agent" | "cezar";
@@ -8337,6 +8313,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8337
8313
  reason: "outcome" | "timeout";
8338
8314
  } | undefined;
8339
8315
  wakeInputId?: string | undefined;
8316
+ } | {
8317
+ id: string;
8318
+ source: "agent" | "cezar";
8319
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8320
+ registeredAt: string;
8321
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8322
+ resolvedAt?: string | undefined;
8323
+ deliveredAt?: string | undefined;
8324
+ cancelledAt?: string | undefined;
8325
+ turnId: string;
8326
+ kind: "process";
8327
+ deadline: string;
8328
+ timeoutSeconds: number;
8329
+ pid: number;
8330
+ startToken?: string | undefined;
8331
+ exitFile?: string | undefined;
8332
+ note?: string | undefined;
8333
+ result?: {
8334
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8335
+ observedAt: string;
8336
+ exitCode?: number | undefined;
8337
+ exitFileNote?: "not-an-exit-code" | undefined;
8338
+ diagnostic?: string | undefined;
8339
+ } | undefined;
8340
8340
  } | {
8341
8341
  id: string;
8342
8342
  source: "agent" | "cezar";
@@ -8467,30 +8467,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8467
8467
  deadline: string;
8468
8468
  seconds: number;
8469
8469
  note?: string | undefined;
8470
- } | {
8471
- id: string;
8472
- source: "agent" | "cezar";
8473
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8474
- registeredAt: string;
8475
- phase: "cancelled" | "delivered" | "open" | "resolved";
8476
- resolvedAt?: string | undefined;
8477
- deliveredAt?: string | undefined;
8478
- cancelledAt?: string | undefined;
8479
- turnId: string;
8480
- kind: "process";
8481
- deadline: string;
8482
- timeoutSeconds: number;
8483
- pid: number;
8484
- startToken?: string | undefined;
8485
- exitFile?: string | undefined;
8486
- note?: string | undefined;
8487
- result?: {
8488
- outcome: "deadline" | "error" | "exit_file" | "exited";
8489
- observedAt: string;
8490
- exitCode?: number | undefined;
8491
- exitFileNote?: "not-an-exit-code" | undefined;
8492
- diagnostic?: string | undefined;
8493
- } | undefined;
8494
8470
  } | {
8495
8471
  id: string;
8496
8472
  source: "agent" | "cezar";
@@ -8552,6 +8528,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8552
8528
  reason: "outcome" | "timeout";
8553
8529
  } | undefined;
8554
8530
  wakeInputId?: string | undefined;
8531
+ } | {
8532
+ id: string;
8533
+ source: "agent" | "cezar";
8534
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
8535
+ registeredAt: string;
8536
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8537
+ resolvedAt?: string | undefined;
8538
+ deliveredAt?: string | undefined;
8539
+ cancelledAt?: string | undefined;
8540
+ turnId: string;
8541
+ kind: "process";
8542
+ deadline: string;
8543
+ timeoutSeconds: number;
8544
+ pid: number;
8545
+ startToken?: string | undefined;
8546
+ exitFile?: string | undefined;
8547
+ note?: string | undefined;
8548
+ result?: {
8549
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8550
+ observedAt: string;
8551
+ exitCode?: number | undefined;
8552
+ exitFileNote?: "not-an-exit-code" | undefined;
8553
+ diagnostic?: string | undefined;
8554
+ } | undefined;
8555
8555
  } | {
8556
8556
  id: string;
8557
8557
  source: "agent" | "cezar";
@@ -9167,17 +9167,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9167
9167
  } & {
9168
9168
  "/runs/:id": {
9169
9169
  $get: {
9170
- output: {
9171
- error: string;
9172
- };
9173
- outputFormat: "json";
9174
- status: 404;
9175
- input: {
9176
- param: {
9177
- id: string;
9178
- };
9179
- };
9180
- } | {
9181
9170
  output: {
9182
9171
  archiveWhenDone?: boolean | undefined;
9183
9172
  autoMergePr?: boolean | undefined;
@@ -9567,30 +9556,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9567
9556
  deadline: string;
9568
9557
  seconds: number;
9569
9558
  note?: string | undefined;
9570
- } | {
9571
- id: string;
9572
- source: "agent" | "cezar";
9573
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9574
- registeredAt: string;
9575
- phase: "cancelled" | "delivered" | "open" | "resolved";
9576
- resolvedAt?: string | undefined;
9577
- deliveredAt?: string | undefined;
9578
- cancelledAt?: string | undefined;
9579
- turnId: string;
9580
- kind: "process";
9581
- deadline: string;
9582
- timeoutSeconds: number;
9583
- pid: number;
9584
- startToken?: string | undefined;
9585
- exitFile?: string | undefined;
9586
- note?: string | undefined;
9587
- result?: {
9588
- outcome: "deadline" | "error" | "exit_file" | "exited";
9589
- observedAt: string;
9590
- exitCode?: number | undefined;
9591
- exitFileNote?: "not-an-exit-code" | undefined;
9592
- diagnostic?: string | undefined;
9593
- } | undefined;
9594
9559
  } | {
9595
9560
  id: string;
9596
9561
  source: "agent" | "cezar";
@@ -9652,6 +9617,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9652
9617
  reason: "outcome" | "timeout";
9653
9618
  } | undefined;
9654
9619
  wakeInputId?: string | undefined;
9620
+ } | {
9621
+ id: string;
9622
+ source: "agent" | "cezar";
9623
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9624
+ registeredAt: string;
9625
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9626
+ resolvedAt?: string | undefined;
9627
+ deliveredAt?: string | undefined;
9628
+ cancelledAt?: string | undefined;
9629
+ turnId: string;
9630
+ kind: "process";
9631
+ deadline: string;
9632
+ timeoutSeconds: number;
9633
+ pid: number;
9634
+ startToken?: string | undefined;
9635
+ exitFile?: string | undefined;
9636
+ note?: string | undefined;
9637
+ result?: {
9638
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9639
+ observedAt: string;
9640
+ exitCode?: number | undefined;
9641
+ exitFileNote?: "not-an-exit-code" | undefined;
9642
+ diagnostic?: string | undefined;
9643
+ } | undefined;
9655
9644
  } | {
9656
9645
  id: string;
9657
9646
  source: "agent" | "cezar";
@@ -9783,30 +9772,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9783
9772
  deadline: string;
9784
9773
  seconds: number;
9785
9774
  note?: string | undefined;
9786
- } | {
9787
- id: string;
9788
- source: "agent" | "cezar";
9789
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9790
- registeredAt: string;
9791
- phase: "cancelled" | "delivered" | "open" | "resolved";
9792
- resolvedAt?: string | undefined;
9793
- deliveredAt?: string | undefined;
9794
- cancelledAt?: string | undefined;
9795
- turnId: string;
9796
- kind: "process";
9797
- deadline: string;
9798
- timeoutSeconds: number;
9799
- pid: number;
9800
- startToken?: string | undefined;
9801
- exitFile?: string | undefined;
9802
- note?: string | undefined;
9803
- result?: {
9804
- outcome: "deadline" | "error" | "exit_file" | "exited";
9805
- observedAt: string;
9806
- exitCode?: number | undefined;
9807
- exitFileNote?: "not-an-exit-code" | undefined;
9808
- diagnostic?: string | undefined;
9809
- } | undefined;
9810
9775
  } | {
9811
9776
  id: string;
9812
9777
  source: "agent" | "cezar";
@@ -9868,6 +9833,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9868
9833
  reason: "outcome" | "timeout";
9869
9834
  } | undefined;
9870
9835
  wakeInputId?: string | undefined;
9836
+ } | {
9837
+ id: string;
9838
+ source: "agent" | "cezar";
9839
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
9840
+ registeredAt: string;
9841
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9842
+ resolvedAt?: string | undefined;
9843
+ deliveredAt?: string | undefined;
9844
+ cancelledAt?: string | undefined;
9845
+ turnId: string;
9846
+ kind: "process";
9847
+ deadline: string;
9848
+ timeoutSeconds: number;
9849
+ pid: number;
9850
+ startToken?: string | undefined;
9851
+ exitFile?: string | undefined;
9852
+ note?: string | undefined;
9853
+ result?: {
9854
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9855
+ observedAt: string;
9856
+ exitCode?: number | undefined;
9857
+ exitFileNote?: "not-an-exit-code" | undefined;
9858
+ diagnostic?: string | undefined;
9859
+ } | undefined;
9871
9860
  } | {
9872
9861
  id: string;
9873
9862
  source: "agent" | "cezar";
@@ -9998,30 +9987,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9998
9987
  deadline: string;
9999
9988
  seconds: number;
10000
9989
  note?: string | undefined;
10001
- } | {
10002
- id: string;
10003
- source: "agent" | "cezar";
10004
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10005
- registeredAt: string;
10006
- phase: "cancelled" | "delivered" | "open" | "resolved";
10007
- resolvedAt?: string | undefined;
10008
- deliveredAt?: string | undefined;
10009
- cancelledAt?: string | undefined;
10010
- turnId: string;
10011
- kind: "process";
10012
- deadline: string;
10013
- timeoutSeconds: number;
10014
- pid: number;
10015
- startToken?: string | undefined;
10016
- exitFile?: string | undefined;
10017
- note?: string | undefined;
10018
- result?: {
10019
- outcome: "deadline" | "error" | "exit_file" | "exited";
10020
- observedAt: string;
10021
- exitCode?: number | undefined;
10022
- exitFileNote?: "not-an-exit-code" | undefined;
10023
- diagnostic?: string | undefined;
10024
- } | undefined;
10025
9990
  } | {
10026
9991
  id: string;
10027
9992
  source: "agent" | "cezar";
@@ -10083,6 +10048,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10083
10048
  reason: "outcome" | "timeout";
10084
10049
  } | undefined;
10085
10050
  wakeInputId?: string | undefined;
10051
+ } | {
10052
+ id: string;
10053
+ source: "agent" | "cezar";
10054
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10055
+ registeredAt: string;
10056
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10057
+ resolvedAt?: string | undefined;
10058
+ deliveredAt?: string | undefined;
10059
+ cancelledAt?: string | undefined;
10060
+ turnId: string;
10061
+ kind: "process";
10062
+ deadline: string;
10063
+ timeoutSeconds: number;
10064
+ pid: number;
10065
+ startToken?: string | undefined;
10066
+ exitFile?: string | undefined;
10067
+ note?: string | undefined;
10068
+ result?: {
10069
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10070
+ observedAt: string;
10071
+ exitCode?: number | undefined;
10072
+ exitFileNote?: "not-an-exit-code" | undefined;
10073
+ diagnostic?: string | undefined;
10074
+ } | undefined;
10086
10075
  } | {
10087
10076
  id: string;
10088
10077
  source: "agent" | "cezar";
@@ -10357,6 +10346,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10357
10346
  id: string;
10358
10347
  };
10359
10348
  };
10349
+ } | {
10350
+ output: {
10351
+ error: string;
10352
+ };
10353
+ outputFormat: "json";
10354
+ status: 404;
10355
+ input: {
10356
+ param: {
10357
+ id: string;
10358
+ };
10359
+ };
10360
10360
  };
10361
10361
  };
10362
10362
  } & {
@@ -10484,66 +10484,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10484
10484
  } & {
10485
10485
  "/runs/:id": {
10486
10486
  $patch: {
10487
- output: {
10488
- error: string;
10489
- };
10490
- outputFormat: "json";
10491
- status: 400;
10492
- input: {
10493
- json: {
10494
- archiveWhenDone?: boolean | undefined;
10495
- autoMergePr?: boolean | undefined;
10496
- allowWorkers?: boolean | undefined;
10497
- allowMessaging?: boolean | undefined;
10498
- title?: string | undefined;
10499
- task?: string | undefined;
10500
- };
10501
- } & {
10502
- param: {
10503
- id: string;
10504
- };
10505
- };
10506
- } | {
10507
- output: {
10508
- error: string;
10509
- };
10510
- outputFormat: "json";
10511
- status: 404;
10512
- input: {
10513
- json: {
10514
- archiveWhenDone?: boolean | undefined;
10515
- autoMergePr?: boolean | undefined;
10516
- allowWorkers?: boolean | undefined;
10517
- allowMessaging?: boolean | undefined;
10518
- title?: string | undefined;
10519
- task?: string | undefined;
10520
- };
10521
- } & {
10522
- param: {
10523
- id: string;
10524
- };
10525
- };
10526
- } | {
10527
- output: {
10528
- error: string;
10529
- };
10530
- outputFormat: "json";
10531
- status: 409;
10532
- input: {
10533
- json: {
10534
- archiveWhenDone?: boolean | undefined;
10535
- autoMergePr?: boolean | undefined;
10536
- allowWorkers?: boolean | undefined;
10537
- allowMessaging?: boolean | undefined;
10538
- title?: string | undefined;
10539
- task?: string | undefined;
10540
- };
10541
- } & {
10542
- param: {
10543
- id: string;
10544
- };
10545
- };
10546
- } | {
10547
10487
  output: {
10548
10488
  archiveWhenDone?: boolean | undefined;
10549
10489
  autoMergePr?: boolean | undefined;
@@ -10680,30 +10620,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10680
10620
  deadline: string;
10681
10621
  seconds: number;
10682
10622
  note?: string | undefined;
10683
- } | {
10684
- id: string;
10685
- source: "agent" | "cezar";
10686
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10687
- registeredAt: string;
10688
- phase: "cancelled" | "delivered" | "open" | "resolved";
10689
- resolvedAt?: string | undefined;
10690
- deliveredAt?: string | undefined;
10691
- cancelledAt?: string | undefined;
10692
- turnId: string;
10693
- kind: "process";
10694
- deadline: string;
10695
- timeoutSeconds: number;
10696
- pid: number;
10697
- startToken?: string | undefined;
10698
- exitFile?: string | undefined;
10699
- note?: string | undefined;
10700
- result?: {
10701
- outcome: "deadline" | "error" | "exit_file" | "exited";
10702
- observedAt: string;
10703
- exitCode?: number | undefined;
10704
- exitFileNote?: "not-an-exit-code" | undefined;
10705
- diagnostic?: string | undefined;
10706
- } | undefined;
10707
10623
  } | {
10708
10624
  id: string;
10709
10625
  source: "agent" | "cezar";
@@ -10765,6 +10681,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10765
10681
  reason: "outcome" | "timeout";
10766
10682
  } | undefined;
10767
10683
  wakeInputId?: string | undefined;
10684
+ } | {
10685
+ id: string;
10686
+ source: "agent" | "cezar";
10687
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10688
+ registeredAt: string;
10689
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10690
+ resolvedAt?: string | undefined;
10691
+ deliveredAt?: string | undefined;
10692
+ cancelledAt?: string | undefined;
10693
+ turnId: string;
10694
+ kind: "process";
10695
+ deadline: string;
10696
+ timeoutSeconds: number;
10697
+ pid: number;
10698
+ startToken?: string | undefined;
10699
+ exitFile?: string | undefined;
10700
+ note?: string | undefined;
10701
+ result?: {
10702
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10703
+ observedAt: string;
10704
+ exitCode?: number | undefined;
10705
+ exitFileNote?: "not-an-exit-code" | undefined;
10706
+ diagnostic?: string | undefined;
10707
+ } | undefined;
10768
10708
  } | {
10769
10709
  id: string;
10770
10710
  source: "agent" | "cezar";
@@ -10896,30 +10836,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10896
10836
  deadline: string;
10897
10837
  seconds: number;
10898
10838
  note?: string | undefined;
10899
- } | {
10900
- id: string;
10901
- source: "agent" | "cezar";
10902
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10903
- registeredAt: string;
10904
- phase: "cancelled" | "delivered" | "open" | "resolved";
10905
- resolvedAt?: string | undefined;
10906
- deliveredAt?: string | undefined;
10907
- cancelledAt?: string | undefined;
10908
- turnId: string;
10909
- kind: "process";
10910
- deadline: string;
10911
- timeoutSeconds: number;
10912
- pid: number;
10913
- startToken?: string | undefined;
10914
- exitFile?: string | undefined;
10915
- note?: string | undefined;
10916
- result?: {
10917
- outcome: "deadline" | "error" | "exit_file" | "exited";
10918
- observedAt: string;
10919
- exitCode?: number | undefined;
10920
- exitFileNote?: "not-an-exit-code" | undefined;
10921
- diagnostic?: string | undefined;
10922
- } | undefined;
10923
10839
  } | {
10924
10840
  id: string;
10925
10841
  source: "agent" | "cezar";
@@ -10981,6 +10897,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10981
10897
  reason: "outcome" | "timeout";
10982
10898
  } | undefined;
10983
10899
  wakeInputId?: string | undefined;
10900
+ } | {
10901
+ id: string;
10902
+ source: "agent" | "cezar";
10903
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
10904
+ registeredAt: string;
10905
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10906
+ resolvedAt?: string | undefined;
10907
+ deliveredAt?: string | undefined;
10908
+ cancelledAt?: string | undefined;
10909
+ turnId: string;
10910
+ kind: "process";
10911
+ deadline: string;
10912
+ timeoutSeconds: number;
10913
+ pid: number;
10914
+ startToken?: string | undefined;
10915
+ exitFile?: string | undefined;
10916
+ note?: string | undefined;
10917
+ result?: {
10918
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10919
+ observedAt: string;
10920
+ exitCode?: number | undefined;
10921
+ exitFileNote?: "not-an-exit-code" | undefined;
10922
+ diagnostic?: string | undefined;
10923
+ } | undefined;
10984
10924
  } | {
10985
10925
  id: string;
10986
10926
  source: "agent" | "cezar";
@@ -11111,30 +11051,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11111
11051
  deadline: string;
11112
11052
  seconds: number;
11113
11053
  note?: string | undefined;
11114
- } | {
11115
- id: string;
11116
- source: "agent" | "cezar";
11117
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
11118
- registeredAt: string;
11119
- phase: "cancelled" | "delivered" | "open" | "resolved";
11120
- resolvedAt?: string | undefined;
11121
- deliveredAt?: string | undefined;
11122
- cancelledAt?: string | undefined;
11123
- turnId: string;
11124
- kind: "process";
11125
- deadline: string;
11126
- timeoutSeconds: number;
11127
- pid: number;
11128
- startToken?: string | undefined;
11129
- exitFile?: string | undefined;
11130
- note?: string | undefined;
11131
- result?: {
11132
- outcome: "deadline" | "error" | "exit_file" | "exited";
11133
- observedAt: string;
11134
- exitCode?: number | undefined;
11135
- exitFileNote?: "not-an-exit-code" | undefined;
11136
- diagnostic?: string | undefined;
11137
- } | undefined;
11138
11054
  } | {
11139
11055
  id: string;
11140
11056
  source: "agent" | "cezar";
@@ -11196,6 +11112,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11196
11112
  reason: "outcome" | "timeout";
11197
11113
  } | undefined;
11198
11114
  wakeInputId?: string | undefined;
11115
+ } | {
11116
+ id: string;
11117
+ source: "agent" | "cezar";
11118
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
11119
+ registeredAt: string;
11120
+ phase: "cancelled" | "delivered" | "open" | "resolved";
11121
+ resolvedAt?: string | undefined;
11122
+ deliveredAt?: string | undefined;
11123
+ cancelledAt?: string | undefined;
11124
+ turnId: string;
11125
+ kind: "process";
11126
+ deadline: string;
11127
+ timeoutSeconds: number;
11128
+ pid: number;
11129
+ startToken?: string | undefined;
11130
+ exitFile?: string | undefined;
11131
+ note?: string | undefined;
11132
+ result?: {
11133
+ outcome: "deadline" | "error" | "exit_file" | "exited";
11134
+ observedAt: string;
11135
+ exitCode?: number | undefined;
11136
+ exitFileNote?: "not-an-exit-code" | undefined;
11137
+ diagnostic?: string | undefined;
11138
+ } | undefined;
11199
11139
  } | {
11200
11140
  id: string;
11201
11141
  source: "agent" | "cezar";
@@ -11709,7 +11649,67 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11709
11649
  } | undefined;
11710
11650
  };
11711
11651
  outputFormat: "json";
11712
- status: import("hono/utils/http-status").ContentfulStatusCode;
11652
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11653
+ input: {
11654
+ json: {
11655
+ archiveWhenDone?: boolean | undefined;
11656
+ autoMergePr?: boolean | undefined;
11657
+ allowWorkers?: boolean | undefined;
11658
+ allowMessaging?: boolean | undefined;
11659
+ title?: string | undefined;
11660
+ task?: string | undefined;
11661
+ };
11662
+ } & {
11663
+ param: {
11664
+ id: string;
11665
+ };
11666
+ };
11667
+ } | {
11668
+ output: {
11669
+ error: string;
11670
+ };
11671
+ outputFormat: "json";
11672
+ status: 404;
11673
+ input: {
11674
+ json: {
11675
+ archiveWhenDone?: boolean | undefined;
11676
+ autoMergePr?: boolean | undefined;
11677
+ allowWorkers?: boolean | undefined;
11678
+ allowMessaging?: boolean | undefined;
11679
+ title?: string | undefined;
11680
+ task?: string | undefined;
11681
+ };
11682
+ } & {
11683
+ param: {
11684
+ id: string;
11685
+ };
11686
+ };
11687
+ } | {
11688
+ output: {
11689
+ error: string;
11690
+ };
11691
+ outputFormat: "json";
11692
+ status: 400;
11693
+ input: {
11694
+ json: {
11695
+ archiveWhenDone?: boolean | undefined;
11696
+ autoMergePr?: boolean | undefined;
11697
+ allowWorkers?: boolean | undefined;
11698
+ allowMessaging?: boolean | undefined;
11699
+ title?: string | undefined;
11700
+ task?: string | undefined;
11701
+ };
11702
+ } & {
11703
+ param: {
11704
+ id: string;
11705
+ };
11706
+ };
11707
+ } | {
11708
+ output: {
11709
+ error: string;
11710
+ };
11711
+ outputFormat: "json";
11712
+ status: 409;
11713
11713
  input: {
11714
11714
  json: {
11715
11715
  archiveWhenDone?: boolean | undefined;
@@ -11828,7 +11828,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11828
11828
  error: string;
11829
11829
  };
11830
11830
  outputFormat: "json";
11831
- status: 400;
11831
+ status: 404;
11832
11832
  input: {
11833
11833
  json: {
11834
11834
  text?: string | undefined;
@@ -11847,7 +11847,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11847
11847
  error: string;
11848
11848
  };
11849
11849
  outputFormat: "json";
11850
- status: 404;
11850
+ status: 409;
11851
11851
  input: {
11852
11852
  json: {
11853
11853
  text?: string | undefined;
@@ -11863,10 +11863,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11863
11863
  };
11864
11864
  } | {
11865
11865
  output: {
11866
- error: string;
11866
+ delivered: true;
11867
11867
  };
11868
11868
  outputFormat: "json";
11869
- status: 409;
11869
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11870
11870
  input: {
11871
11871
  json: {
11872
11872
  text?: string | undefined;
@@ -11882,10 +11882,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11882
11882
  };
11883
11883
  } | {
11884
11884
  output: {
11885
- delivered: true;
11885
+ error: string;
11886
11886
  };
11887
11887
  outputFormat: "json";
11888
- status: import("hono/utils/http-status").ContentfulStatusCode;
11888
+ status: 400;
11889
11889
  input: {
11890
11890
  json: {
11891
11891
  text?: string | undefined;
@@ -11953,7 +11953,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11953
11953
  error: string;
11954
11954
  };
11955
11955
  outputFormat: "json";
11956
- status: 400;
11956
+ status: 404;
11957
11957
  input: {
11958
11958
  json: {
11959
11959
  text?: string | undefined;
@@ -11974,7 +11974,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11974
11974
  error: string;
11975
11975
  };
11976
11976
  outputFormat: "json";
11977
- status: 404;
11977
+ status: 400;
11978
11978
  input: {
11979
11979
  json: {
11980
11980
  text?: string | undefined;
@@ -12194,11 +12194,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12194
12194
  "/runs/:id/open-in-cli": {
12195
12195
  $post: {
12196
12196
  output: {
12197
- opened: true;
12198
- command: string;
12197
+ error: string;
12199
12198
  };
12200
12199
  outputFormat: "json";
12201
- status: import("hono/utils/http-status").ContentfulStatusCode;
12200
+ status: 404 | 409;
12202
12201
  input: {
12203
12202
  param: {
12204
12203
  id: string;
@@ -12206,10 +12205,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12206
12205
  };
12207
12206
  } | {
12208
12207
  output: {
12209
- error: string;
12208
+ opened: true;
12209
+ command: string;
12210
12210
  };
12211
12211
  outputFormat: "json";
12212
- status: 404 | 409;
12212
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12213
12213
  input: {
12214
12214
  param: {
12215
12215
  id: string;
@@ -12224,7 +12224,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12224
12224
  error: string;
12225
12225
  };
12226
12226
  outputFormat: "json";
12227
- status: 400;
12227
+ status: 404 | 409;
12228
12228
  input: {
12229
12229
  json: {
12230
12230
  target: string;
@@ -12237,11 +12237,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12237
12237
  };
12238
12238
  } | {
12239
12239
  output: {
12240
- opened: true;
12241
- path: string;
12240
+ error: string;
12242
12241
  };
12243
12242
  outputFormat: "json";
12244
- status: import("hono/utils/http-status").ContentfulStatusCode;
12243
+ status: 400;
12245
12244
  input: {
12246
12245
  json: {
12247
12246
  target: string;
@@ -12254,10 +12253,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12254
12253
  };
12255
12254
  } | {
12256
12255
  output: {
12257
- error: string;
12256
+ opened: true;
12257
+ path: string;
12258
12258
  };
12259
12259
  outputFormat: "json";
12260
- status: 404 | 409;
12260
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12261
12261
  input: {
12262
12262
  json: {
12263
12263
  target: string;
@@ -12297,12 +12297,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12297
12297
  } & {
12298
12298
  "/runs/:id/images/:file": {
12299
12299
  $get: {
12300
- output: {
12301
- error: string;
12302
- code?: "invalid_input" | undefined;
12303
- };
12304
- outputFormat: "json";
12305
- status: 400;
12300
+ output: {};
12301
+ outputFormat: string;
12302
+ status: import("hono/utils/http-status").StatusCode;
12306
12303
  input: {
12307
12304
  param: {
12308
12305
  id: string;
@@ -12310,9 +12307,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12310
12307
  };
12311
12308
  };
12312
12309
  } | {
12313
- output: {};
12314
- outputFormat: string;
12315
- status: import("hono/utils/http-status").StatusCode;
12310
+ output: {
12311
+ error: string;
12312
+ code?: "invalid_input" | undefined;
12313
+ };
12314
+ outputFormat: "json";
12315
+ status: 400;
12316
12316
  input: {
12317
12317
  param: {
12318
12318
  id: string;
@@ -12348,6 +12348,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12348
12348
  } & {
12349
12349
  "/runs/:id/changes": {
12350
12350
  $get: {
12351
+ output: {
12352
+ error: string;
12353
+ };
12354
+ outputFormat: "json";
12355
+ status: 404 | 409;
12356
+ input: {
12357
+ param: {
12358
+ id: string;
12359
+ };
12360
+ };
12361
+ } | {
12351
12362
  output: {
12352
12363
  files: {
12353
12364
  path: string;
@@ -12376,7 +12387,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12376
12387
  id: string;
12377
12388
  };
12378
12389
  };
12379
- } | {
12390
+ };
12391
+ };
12392
+ } & {
12393
+ "/runs/:id/commits": {
12394
+ $get: {
12380
12395
  output: {
12381
12396
  error: string;
12382
12397
  };
@@ -12387,11 +12402,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12387
12402
  id: string;
12388
12403
  };
12389
12404
  };
12390
- };
12391
- };
12392
- } & {
12393
- "/runs/:id/commits": {
12394
- $get: {
12405
+ } | {
12395
12406
  output: {
12396
12407
  commits: {
12397
12408
  sha: string;
@@ -12407,7 +12418,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12407
12418
  id: string;
12408
12419
  };
12409
12420
  };
12410
- } | {
12421
+ };
12422
+ };
12423
+ } & {
12424
+ "/runs/:id/commit/:sha": {
12425
+ $get: {
12411
12426
  output: {
12412
12427
  error: string;
12413
12428
  };
@@ -12416,13 +12431,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12416
12431
  input: {
12417
12432
  param: {
12418
12433
  id: string;
12434
+ } & {
12435
+ sha: string;
12419
12436
  };
12420
12437
  };
12421
- };
12422
- };
12423
- } & {
12424
- "/runs/:id/commit/:sha": {
12425
- $get: {
12438
+ } | {
12426
12439
  output: {
12427
12440
  sha: string;
12428
12441
  subject: string;
@@ -12453,19 +12466,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12453
12466
  sha: string;
12454
12467
  };
12455
12468
  };
12456
- } | {
12457
- output: {
12458
- error: string;
12459
- };
12460
- outputFormat: "json";
12461
- status: 404 | 409;
12462
- input: {
12463
- param: {
12464
- id: string;
12465
- } & {
12466
- sha: string;
12467
- };
12468
- };
12469
12469
  };
12470
12470
  };
12471
12471
  } & {
@@ -12501,6 +12501,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12501
12501
  raw?: "1" | undefined;
12502
12502
  };
12503
12503
  };
12504
+ } | {
12505
+ output: {
12506
+ error: string;
12507
+ };
12508
+ outputFormat: "json";
12509
+ status: 404 | 409;
12510
+ input: {
12511
+ param: {
12512
+ id: string;
12513
+ };
12514
+ } & {
12515
+ query: {
12516
+ path: string | string[];
12517
+ raw?: "1" | undefined;
12518
+ };
12519
+ };
12504
12520
  } | {
12505
12521
  output: {
12506
12522
  type: "file";
@@ -12537,22 +12553,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12537
12553
  raw?: "1" | undefined;
12538
12554
  };
12539
12555
  };
12540
- } | {
12541
- output: {
12542
- error: string;
12543
- };
12544
- outputFormat: "json";
12545
- status: 404 | 409;
12546
- input: {
12547
- param: {
12548
- id: string;
12549
- };
12550
- } & {
12551
- query: {
12552
- path: string | string[];
12553
- raw?: "1" | undefined;
12554
- };
12555
- };
12556
12556
  };
12557
12557
  };
12558
12558
  } & {
@@ -12617,18 +12617,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12617
12617
  artifactId: string;
12618
12618
  };
12619
12619
  };
12620
- } | {
12621
- output: {
12622
- error: string;
12623
- };
12624
- outputFormat: "json";
12625
- status: 404;
12626
- input: {
12627
- param: {
12628
- id: string;
12629
- artifactId: string;
12630
- };
12631
- };
12632
12620
  } | {
12633
12621
  output: {
12634
12622
  type: "file";
@@ -12657,6 +12645,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12657
12645
  artifactId: string;
12658
12646
  };
12659
12647
  };
12648
+ } | {
12649
+ output: {
12650
+ error: string;
12651
+ };
12652
+ outputFormat: "json";
12653
+ status: 404;
12654
+ input: {
12655
+ param: {
12656
+ id: string;
12657
+ artifactId: string;
12658
+ };
12659
+ };
12660
12660
  };
12661
12661
  };
12662
12662
  } & {
@@ -12834,16 +12834,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12834
12834
  };
12835
12835
  } | {
12836
12836
  output: {
12837
- type: 'dir';
12838
- path: string;
12839
- entries: {
12840
- name: string;
12841
- type: 'dir' | 'file';
12842
- size?: number;
12843
- }[];
12837
+ error: string;
12844
12838
  };
12845
12839
  outputFormat: "json";
12846
- status: import("hono/utils/http-status").ContentfulStatusCode;
12840
+ status: 404 | 409;
12847
12841
  input: {
12848
12842
  query: {
12849
12843
  path?: string | undefined;
@@ -12856,12 +12850,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12856
12850
  };
12857
12851
  } | {
12858
12852
  output: {
12859
- type: 'file';
12853
+ type: 'dir';
12860
12854
  path: string;
12861
- size: number;
12862
- binary: boolean;
12863
- tooLarge: boolean;
12864
- content?: string | undefined;
12855
+ entries: {
12856
+ name: string;
12857
+ type: 'dir' | 'file';
12858
+ size?: number;
12859
+ }[];
12865
12860
  };
12866
12861
  outputFormat: "json";
12867
12862
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12877,10 +12872,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12877
12872
  };
12878
12873
  } | {
12879
12874
  output: {
12880
- error: string;
12875
+ type: 'file';
12876
+ path: string;
12877
+ size: number;
12878
+ binary: boolean;
12879
+ tooLarge: boolean;
12880
+ content?: string | undefined;
12881
12881
  };
12882
12882
  outputFormat: "json";
12883
- status: 404 | 409;
12883
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12884
12884
  input: {
12885
12885
  query: {
12886
12886
  path?: string | undefined;
@@ -12897,11 +12897,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12897
12897
  "/runs/:id/git/commit": {
12898
12898
  $post: {
12899
12899
  output: {
12900
- committed: true;
12901
- sha: string;
12900
+ error: string;
12902
12901
  };
12903
12902
  outputFormat: "json";
12904
- status: import("hono/utils/http-status").ContentfulStatusCode;
12903
+ status: 404 | 409;
12905
12904
  input: {
12906
12905
  json: {
12907
12906
  message: string;
@@ -12913,10 +12912,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12913
12912
  };
12914
12913
  } | {
12915
12914
  output: {
12916
- error: string;
12915
+ committed: true;
12916
+ sha: string;
12917
12917
  };
12918
12918
  outputFormat: "json";
12919
- status: 404 | 409;
12919
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12920
12920
  input: {
12921
12921
  json: {
12922
12922
  message: string;
@@ -12932,13 +12932,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12932
12932
  "/runs/:id/git/push": {
12933
12933
  $post: {
12934
12934
  output: {
12935
- pushed: true;
12936
- branch: string;
12937
- remote: string;
12938
- upstreamSet: boolean;
12935
+ error: string;
12939
12936
  };
12940
12937
  outputFormat: "json";
12941
- status: import("hono/utils/http-status").ContentfulStatusCode;
12938
+ status: 404 | 409;
12942
12939
  input: {
12943
12940
  param: {
12944
12941
  id: string;
@@ -12946,10 +12943,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12946
12943
  };
12947
12944
  } | {
12948
12945
  output: {
12949
- error: string;
12946
+ pushed: true;
12947
+ branch: string;
12948
+ remote: string;
12949
+ upstreamSet: boolean;
12950
12950
  };
12951
12951
  outputFormat: "json";
12952
- status: 404 | 409;
12952
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12953
12953
  input: {
12954
12954
  param: {
12955
12955
  id: string;
@@ -12961,11 +12961,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12961
12961
  "/runs/:id/pr": {
12962
12962
  $post: {
12963
12963
  output: {
12964
- url: string;
12965
- dryRun: boolean;
12964
+ error: string;
12966
12965
  };
12967
12966
  outputFormat: "json";
12968
- status: 201;
12967
+ status: 404 | 409;
12969
12968
  input: {
12970
12969
  param: {
12971
12970
  id: string;
@@ -12973,10 +12972,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12973
12972
  };
12974
12973
  } | {
12975
12974
  output: {
12976
- error: string;
12975
+ url: string;
12976
+ dryRun: boolean;
12977
12977
  };
12978
12978
  outputFormat: "json";
12979
- status: 404 | 409;
12979
+ status: 201;
12980
12980
  input: {
12981
12981
  param: {
12982
12982
  id: string;
@@ -12988,10 +12988,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12988
12988
  "/runs/:id/remove-worktree": {
12989
12989
  $post: {
12990
12990
  output: {
12991
- removed: true;
12991
+ error: string;
12992
12992
  };
12993
12993
  outputFormat: "json";
12994
- status: import("hono/utils/http-status").ContentfulStatusCode;
12994
+ status: 404 | 409;
12995
12995
  input: {
12996
12996
  param: {
12997
12997
  id: string;
@@ -12999,10 +12999,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12999
12999
  };
13000
13000
  } | {
13001
13001
  output: {
13002
- error: string;
13002
+ removed: true;
13003
13003
  };
13004
13004
  outputFormat: "json";
13005
- status: 404 | 409;
13005
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13006
13006
  input: {
13007
13007
  param: {
13008
13008
  id: string;
@@ -13014,10 +13014,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13014
13014
  "/runs/:id": {
13015
13015
  $delete: {
13016
13016
  output: {
13017
- deleted: true;
13017
+ error: string;
13018
13018
  };
13019
13019
  outputFormat: "json";
13020
- status: import("hono/utils/http-status").ContentfulStatusCode;
13020
+ status: 404 | 409;
13021
13021
  input: {
13022
13022
  param: {
13023
13023
  id: string;
@@ -13025,10 +13025,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13025
13025
  };
13026
13026
  } | {
13027
13027
  output: {
13028
- error: string;
13028
+ deleted: true;
13029
13029
  };
13030
13030
  outputFormat: "json";
13031
- status: 404 | 409;
13031
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13032
13032
  input: {
13033
13033
  param: {
13034
13034
  id: string;