@hearsay-tools/squawk 0.19.0-dev.9180 → 0.19.0-dev.9182

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 (81) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/delegation/routes.d.ts +78 -78
  3. package/dist/delegation/transport.d.ts +78 -78
  4. package/dist/features/automations/automations-routes.d.ts +150 -150
  5. package/dist/features/hosts/routes.d.ts +64 -64
  6. package/dist/features/reports/routes.d.ts +2 -2
  7. package/dist/features/webhooks/routes.d.ts +38 -38
  8. package/dist/server/activity-routes.d.ts +23 -23
  9. package/dist/server/models-routes.d.ts +12 -12
  10. package/dist/server/project-settings-routes.d.ts +107 -107
  11. package/dist/server/projects-routes.d.ts +41 -41
  12. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  13. package/dist/server/providers-routes.d.ts +58 -58
  14. package/dist/server/repo-routes.d.ts +52 -52
  15. package/dist/server/runner-install-routes.d.ts +10 -10
  16. package/dist/server/runners-routes.d.ts +10 -10
  17. package/dist/server/runs-routes.d.ts +326 -326
  18. package/dist/server/server.d.ts +1195 -1195
  19. package/dist/server/workspace-identity-routes.d.ts +5 -5
  20. package/dist/server/workspace-live-routes.d.ts +5 -5
  21. package/dist/server/workspace-routes.d.ts +85 -85
  22. package/package.json +4 -4
  23. package/web/dist/assets/{accounts-section-BDUoikVg.js → accounts-section-DYQC-wSh.js} +1 -1
  24. package/web/dist/assets/{activity-motion-CYdEr0hu.js → activity-motion-XvrmbNgR.js} +1 -1
  25. package/web/dist/assets/{activity-route-D8BPLoZj.js → activity-route-Dj8ltoqG.js} +1 -1
  26. package/web/dist/assets/{agent-config-section-BO8w2cry.js → agent-config-section-D16TRCE_.js} +1 -1
  27. package/web/dist/assets/{agent-defaults-section-BBcv7Vbh.js → agent-defaults-section-Dm0khLjs.js} +1 -1
  28. package/web/dist/assets/{appearance-yF_NXlq5.js → appearance-CP6zVctf.js} +1 -1
  29. package/web/dist/assets/{archive-on-merge-field-Dh1M21D6.js → archive-on-merge-field-BA8aUtRQ.js} +1 -1
  30. package/web/dist/assets/{ask-card-2E9m5VRA.js → ask-card-CLdlwd68.js} +1 -1
  31. package/web/dist/assets/{automations-route-D27bK2j6.js → automations-route-BVDO_Kai.js} +1 -1
  32. package/web/dist/assets/{commit-list-sFxchD2V.js → commit-list-Bdekr2K7.js} +1 -1
  33. package/web/dist/assets/{diff-C5-32cRp.js → diff-Du0FsqAK.js} +2 -2
  34. package/web/dist/assets/{diff-controls-Ci36iPlK.js → diff-controls-DTC_6oqk.js} +1 -1
  35. package/web/dist/assets/{diff-view-CCtuYJNL.js → diff-view-TKooupFV.js} +1 -1
  36. package/web/dist/assets/{discard-changes-dialog-BACqR1hj.js → discard-changes-dialog-Bg-3Xbox.js} +1 -1
  37. package/web/dist/assets/{file-preview-B7T7jFYo.js → file-preview-DMJCprVk.js} +1 -1
  38. package/web/dist/assets/{git-toolbar-UkRnjuDs.js → git-toolbar-COhBdctn.js} +1 -1
  39. package/web/dist/assets/{github-CkbZgMnJ.js → github-DUTSv2Hs.js} +1 -1
  40. package/web/dist/assets/{global-activity-route-j37l-BQU.js → global-activity-route-CypEKUv_.js} +1 -1
  41. package/web/dist/assets/{index-DkQ5xrLr.js → index-BV3EQb9T.js} +4 -4
  42. package/web/dist/assets/index-Bh7COq0B.css +1 -0
  43. package/web/dist/assets/{markdown-FIfZPsax.js → markdown-0uCxcToP.js} +1 -1
  44. package/web/dist/assets/{option-select-DylfDjGi.js → option-select-DQJEHmHf.js} +1 -1
  45. package/web/dist/assets/{preferences-section-DjWfc1i-.js → preferences-section-Cvl5vyfN.js} +1 -1
  46. package/web/dist/assets/{preview-pane-connected-CfiPFvTH.js → preview-pane-connected-i3GJtDL3.js} +1 -1
  47. package/web/dist/assets/{project-location-CEX0-MZp.js → project-location-BcjOhqun.js} +1 -1
  48. package/web/dist/assets/{projects-section-Czmf0wFK.js → projects-section-CAOFPkDQ.js} +1 -1
  49. package/web/dist/assets/{prompt-templates-section-DK4CV73w.js → prompt-templates-section-BXTfLET4.js} +1 -1
  50. package/web/dist/assets/{remote-settings-notice-Dott-jyP.js → remote-settings-notice-CUK4ZFYF.js} +1 -1
  51. package/web/dist/assets/{repo-git-Djt3N2wP.js → repo-git-Dx85MEuK.js} +1 -1
  52. package/web/dist/assets/{report-reader-CrdDix7Z.js → report-reader-BDdY5kpz.js} +1 -1
  53. package/web/dist/assets/{reports-Iw4LUvz2.js → reports-DWKpm_us.js} +1 -1
  54. package/web/dist/assets/{resources-section-D3wUzdUQ.js → resources-section-D9tzbv9w.js} +1 -1
  55. package/web/dist/assets/{review-notes-drafts-xyC7GvRB.js → review-notes-drafts-BSkmq3Nj.js} +1 -1
  56. package/web/dist/assets/{review-panel-3x_2lbej.js → review-panel-C9UZjWFl.js} +1 -1
  57. package/web/dist/assets/{review-strip-CDYpq9_S.js → review-strip-qTG5JaOw.js} +1 -1
  58. package/web/dist/assets/{run-header-DZ0rkryR.js → run-header-BrUcSJu6.js} +1 -1
  59. package/web/dist/assets/{select-DC_G2no3.js → select-BUsS7uOZ.js} +1 -1
  60. package/web/dist/assets/{session-context-section-DEUv-ISr.js → session-context-section-Bgzou-NG.js} +1 -1
  61. package/web/dist/assets/{settings-agent-picker-BrFN2RaQ.js → settings-agent-picker-CH3CQhOh.js} +1 -1
  62. package/web/dist/assets/{settings-save-bar-C0pFHqte.js → settings-save-bar-cyvALSgW.js} +1 -1
  63. package/web/dist/assets/{settings-shell-BWWbVxv-.js → settings-shell-Cl-cu4r5.js} +1 -1
  64. package/web/dist/assets/{sidebar-section-BGo1zjJt.js → sidebar-section-Cj2fDrhV.js} +1 -1
  65. package/web/dist/assets/{skills-qFMQz6sm.js → skills-DLMbRR_5.js} +1 -1
  66. package/web/dist/assets/{task-changes-DKJHAtKC.js → task-changes-ito4fOGh.js} +1 -1
  67. package/web/dist/assets/{task-commits-Dtt60D0o.js → task-commits-BYOIU9zy.js} +1 -1
  68. package/web/dist/assets/{task-file-scope-FTt7SiGn.js → task-file-scope-B8EEJyHp.js} +1 -1
  69. package/web/dist/assets/{task-files-DVz4222z.js → task-files-CF0QKnm-.js} +1 -1
  70. package/web/dist/assets/{task-github-item-CJpKQ6cU.js → task-github-item-C6Fu8MvM.js} +1 -1
  71. package/web/dist/assets/{task-thread-DiYtqka4.js → task-thread-BWrvepxB.js} +1 -1
  72. package/web/dist/assets/{thread-state-pO7Wy_7R.js → thread-state-8E0eYXGu.js} +1 -1
  73. package/web/dist/assets/{use-finish-run-5S30Eu3d.js → use-finish-run-a2qZy6zr.js} +1 -1
  74. package/web/dist/assets/{use-hand-to-agent-state-BB_VmbF7.js → use-hand-to-agent-state-DT1ngmHe.js} +1 -1
  75. package/web/dist/assets/use-path-bases-CZ6F93wt.js +1 -0
  76. package/web/dist/assets/{workflows-DLuBawpi.js → workflows-2e0Sm6F1.js} +1 -1
  77. package/web/dist/assets/{workspace-tools-D4jshe-2.js → workspace-tools-D4DO9w12.js} +1 -1
  78. package/web/dist/assets/{worktrees-section-CESTBOem.js → worktrees-section-8-d6zWQ-.js} +1 -1
  79. package/web/dist/index.html +2 -2
  80. package/web/dist/assets/index-BVRdRJAN.css +0 -1
  81. package/web/dist/assets/use-path-bases-npA-uKvg.js +0 -1
@@ -92,8 +92,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
92
92
  } | undefined;
93
93
  invalidAsk?: boolean | undefined;
94
94
  delegation?: {
95
- role: "invalid";
96
- } | {
97
95
  role: "root";
98
96
  conversation?: {
99
97
  messages: {
@@ -328,6 +326,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
328
326
  } | undefined;
329
327
  executionRevision?: number | undefined;
330
328
  executionStartSeq?: number | undefined;
329
+ } | {
330
+ role: "invalid";
331
331
  } | undefined;
332
332
  agentInputs?: {
333
333
  conversation?: {
@@ -1215,18 +1215,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1215
1215
  } & {
1216
1216
  "/run-summaries": {
1217
1217
  $get: {
1218
- output: {
1219
- error: string;
1220
- code?: "invalid_input" | undefined;
1221
- };
1222
- outputFormat: "json";
1223
- status: 400;
1224
- input: {
1225
- query: {
1226
- archived?: "all" | "recent" | undefined;
1227
- };
1228
- };
1229
- } | {
1230
1218
  output: {
1231
1219
  id: string;
1232
1220
  title: string;
@@ -1364,6 +1352,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1364
1352
  archived?: "all" | "recent" | undefined;
1365
1353
  };
1366
1354
  };
1355
+ } | {
1356
+ output: {
1357
+ error: string;
1358
+ code?: "invalid_input" | undefined;
1359
+ };
1360
+ outputFormat: "json";
1361
+ status: 400;
1362
+ input: {
1363
+ query: {
1364
+ archived?: "all" | "recent" | undefined;
1365
+ };
1366
+ };
1367
1367
  };
1368
1368
  };
1369
1369
  } & {
@@ -1725,24 +1725,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1725
1725
  "/runs/:id/worker-destroy": {
1726
1726
  $post: {
1727
1727
  output: {
1728
- workerId: string;
1729
- state: "complete" | "incomplete";
1730
- work?: {
1731
- uncommittedFiles: number;
1732
- commits: number;
1733
- } | undefined;
1734
- deleted?: ({
1735
- kind: "worktree";
1736
- path: string;
1737
- } | {
1738
- kind: "branch";
1739
- ref: string;
1740
- })[] | undefined;
1741
- remaining: ("branch" | "process" | "worktree")[];
1742
- error?: string | undefined;
1728
+ error: string;
1729
+ code?: "invalid_input" | undefined;
1743
1730
  };
1744
1731
  outputFormat: "json";
1745
- status: 200;
1732
+ status: 400;
1746
1733
  input: {
1747
1734
  query: {
1748
1735
  [x: string]: string | string[];
@@ -1758,11 +1745,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1758
1745
  };
1759
1746
  } | {
1760
1747
  output: {
1761
- error: string;
1762
- code?: "invalid_input" | undefined;
1748
+ workerId: string;
1749
+ state: "complete" | "incomplete";
1750
+ work?: {
1751
+ uncommittedFiles: number;
1752
+ commits: number;
1753
+ } | undefined;
1754
+ deleted?: ({
1755
+ kind: "worktree";
1756
+ path: string;
1757
+ } | {
1758
+ kind: "branch";
1759
+ ref: string;
1760
+ })[] | undefined;
1761
+ remaining: ("branch" | "process" | "worktree")[];
1762
+ error?: string | undefined;
1763
1763
  };
1764
1764
  outputFormat: "json";
1765
- status: 400;
1765
+ status: 200;
1766
1766
  input: {
1767
1767
  query: {
1768
1768
  [x: string]: string | string[];
@@ -1878,21 +1878,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1878
1878
  } & {
1879
1879
  "/runs/:id/archive": {
1880
1880
  $post: {
1881
- output: {
1882
- error: string;
1883
- };
1884
- outputFormat: "json";
1885
- status: 404;
1886
- input: {
1887
- json: {
1888
- archived?: boolean | undefined;
1889
- };
1890
- } & {
1891
- param: {
1892
- id: string;
1893
- };
1894
- };
1895
- } | {
1896
1881
  output: {
1897
1882
  archiveWhenDone?: boolean | undefined;
1898
1883
  autoMergePr?: boolean | undefined;
@@ -1954,8 +1939,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1954
1939
  } | undefined;
1955
1940
  invalidAsk?: boolean | undefined;
1956
1941
  delegation?: {
1957
- role: "invalid";
1958
- } | {
1959
1942
  role: "root";
1960
1943
  conversation?: {
1961
1944
  messages: {
@@ -2190,6 +2173,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2190
2173
  } | undefined;
2191
2174
  executionRevision?: number | undefined;
2192
2175
  executionStartSeq?: number | undefined;
2176
+ } | {
2177
+ role: "invalid";
2193
2178
  } | undefined;
2194
2179
  agentInputs?: {
2195
2180
  conversation?: {
@@ -3072,32 +3057,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3072
3057
  id: string;
3073
3058
  };
3074
3059
  };
3075
- };
3076
- };
3077
- } & {
3078
- "/runs/:id/pin": {
3079
- $post: {
3060
+ } | {
3080
3061
  output: {
3081
3062
  error: string;
3082
- code?: "invalid_input" | undefined;
3083
3063
  };
3084
3064
  outputFormat: "json";
3085
- status: 400;
3065
+ status: 404;
3086
3066
  input: {
3087
- param: {
3088
- id: string;
3067
+ json: {
3068
+ archived?: boolean | undefined;
3089
3069
  };
3090
3070
  } & {
3091
- json: {
3092
- pinned?: boolean | undefined;
3071
+ param: {
3072
+ id: string;
3093
3073
  };
3094
3074
  };
3095
- } | {
3075
+ };
3076
+ };
3077
+ } & {
3078
+ "/runs/:id/pin": {
3079
+ $post: {
3096
3080
  output: {
3097
3081
  error: string;
3082
+ code?: "invalid_input" | undefined;
3098
3083
  };
3099
3084
  outputFormat: "json";
3100
- status: 404;
3085
+ status: 400;
3101
3086
  input: {
3102
3087
  param: {
3103
3088
  id: string;
@@ -3169,8 +3154,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3169
3154
  } | undefined;
3170
3155
  invalidAsk?: boolean | undefined;
3171
3156
  delegation?: {
3172
- role: "invalid";
3173
- } | {
3174
3157
  role: "root";
3175
3158
  conversation?: {
3176
3159
  messages: {
@@ -3405,6 +3388,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3405
3388
  } | undefined;
3406
3389
  executionRevision?: number | undefined;
3407
3390
  executionStartSeq?: number | undefined;
3391
+ } | {
3392
+ role: "invalid";
3408
3393
  } | undefined;
3409
3394
  agentInputs?: {
3410
3395
  conversation?: {
@@ -4287,6 +4272,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4287
4272
  pinned?: boolean | undefined;
4288
4273
  };
4289
4274
  };
4275
+ } | {
4276
+ output: {
4277
+ error: string;
4278
+ };
4279
+ outputFormat: "json";
4280
+ status: 404;
4281
+ input: {
4282
+ param: {
4283
+ id: string;
4284
+ };
4285
+ } & {
4286
+ json: {
4287
+ pinned?: boolean | undefined;
4288
+ };
4289
+ };
4290
4290
  };
4291
4291
  };
4292
4292
  } & {
@@ -4308,6 +4308,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4308
4308
  message?: string | undefined;
4309
4309
  };
4310
4310
  };
4311
+ } | {
4312
+ output: {
4313
+ error: string;
4314
+ };
4315
+ outputFormat: "json";
4316
+ status: 400 | 404 | 409;
4317
+ input: {
4318
+ param: {
4319
+ id: string;
4320
+ };
4321
+ } & {
4322
+ json: {
4323
+ notify: boolean;
4324
+ message?: string | undefined;
4325
+ };
4326
+ };
4311
4327
  } | {
4312
4328
  output: {
4313
4329
  archiveWhenDone?: boolean | undefined;
@@ -5108,8 +5124,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5108
5124
  currentStepId?: string | undefined;
5109
5125
  error?: string | undefined;
5110
5126
  delegation?: {
5111
- role: "invalid";
5112
- } | {
5113
5127
  role: "root";
5114
5128
  conversation?: {
5115
5129
  messages: {
@@ -5344,6 +5358,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5344
5358
  } | undefined;
5345
5359
  executionRevision?: number | undefined;
5346
5360
  executionStartSeq?: number | undefined;
5361
+ } | {
5362
+ role: "invalid";
5347
5363
  } | undefined;
5348
5364
  lastWaitsError?: string | undefined;
5349
5365
  automaticWakes?: number | undefined;
@@ -5489,22 +5505,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5489
5505
  message?: string | undefined;
5490
5506
  };
5491
5507
  };
5492
- } | {
5493
- output: {
5494
- error: string;
5495
- };
5496
- outputFormat: "json";
5497
- status: 400 | 404 | 409;
5498
- input: {
5499
- param: {
5500
- id: string;
5501
- };
5502
- } & {
5503
- json: {
5504
- notify: boolean;
5505
- message?: string | undefined;
5506
- };
5507
- };
5508
5508
  };
5509
5509
  };
5510
5510
  } & {
@@ -5536,17 +5536,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5536
5536
  } & {
5537
5537
  "/runs/:id/read": {
5538
5538
  $post: {
5539
- output: {
5540
- error: string;
5541
- };
5542
- outputFormat: "json";
5543
- status: 404;
5544
- input: {
5545
- param: {
5546
- id: string;
5547
- };
5548
- };
5549
- } | {
5550
5539
  output: {
5551
5540
  archiveWhenDone?: boolean | undefined;
5552
5541
  autoMergePr?: boolean | undefined;
@@ -5608,8 +5597,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5608
5597
  } | undefined;
5609
5598
  invalidAsk?: boolean | undefined;
5610
5599
  delegation?: {
5611
- role: "invalid";
5612
- } | {
5613
5600
  role: "root";
5614
5601
  conversation?: {
5615
5602
  messages: {
@@ -5844,6 +5831,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5844
5831
  } | undefined;
5845
5832
  executionRevision?: number | undefined;
5846
5833
  executionStartSeq?: number | undefined;
5834
+ } | {
5835
+ role: "invalid";
5847
5836
  } | undefined;
5848
5837
  agentInputs?: {
5849
5838
  conversation?: {
@@ -6722,11 +6711,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6722
6711
  id: string;
6723
6712
  };
6724
6713
  };
6725
- };
6726
- };
6727
- } & {
6728
- "/runs/:id/unread": {
6729
- $post: {
6714
+ } | {
6730
6715
  output: {
6731
6716
  error: string;
6732
6717
  };
@@ -6737,7 +6722,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6737
6722
  id: string;
6738
6723
  };
6739
6724
  };
6740
- } | {
6725
+ };
6726
+ };
6727
+ } & {
6728
+ "/runs/:id/unread": {
6729
+ $post: {
6741
6730
  output: {
6742
6731
  archiveWhenDone?: boolean | undefined;
6743
6732
  autoMergePr?: boolean | undefined;
@@ -6799,8 +6788,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6799
6788
  } | undefined;
6800
6789
  invalidAsk?: boolean | undefined;
6801
6790
  delegation?: {
6802
- role: "invalid";
6803
- } | {
6804
6791
  role: "root";
6805
6792
  conversation?: {
6806
6793
  messages: {
@@ -7035,6 +7022,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7035
7022
  } | undefined;
7036
7023
  executionRevision?: number | undefined;
7037
7024
  executionStartSeq?: number | undefined;
7025
+ } | {
7026
+ role: "invalid";
7038
7027
  } | undefined;
7039
7028
  agentInputs?: {
7040
7029
  conversation?: {
@@ -7913,6 +7902,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7913
7902
  id: string;
7914
7903
  };
7915
7904
  };
7905
+ } | {
7906
+ output: {
7907
+ error: string;
7908
+ };
7909
+ outputFormat: "json";
7910
+ status: 404;
7911
+ input: {
7912
+ param: {
7913
+ id: string;
7914
+ };
7915
+ };
7916
7916
  };
7917
7917
  };
7918
7918
  } & {
@@ -8717,8 +8717,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8717
8717
  currentStepId?: string | undefined;
8718
8718
  error?: string | undefined;
8719
8719
  delegation?: {
8720
- role: "invalid";
8721
- } | {
8722
8720
  role: "root";
8723
8721
  conversation?: {
8724
8722
  messages: {
@@ -8953,6 +8951,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8953
8951
  } | undefined;
8954
8952
  executionRevision?: number | undefined;
8955
8953
  executionStartSeq?: number | undefined;
8954
+ } | {
8955
+ role: "invalid";
8956
8956
  } | undefined;
8957
8957
  lastWaitsError?: string | undefined;
8958
8958
  automaticWakes?: number | undefined;
@@ -9189,17 +9189,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9189
9189
  } & {
9190
9190
  "/runs/:id": {
9191
9191
  $get: {
9192
- output: {
9193
- error: string;
9194
- };
9195
- outputFormat: "json";
9196
- status: 404;
9197
- input: {
9198
- param: {
9199
- id: string;
9200
- };
9201
- };
9202
- } | {
9203
9192
  output: {
9204
9193
  archiveWhenDone?: boolean | undefined;
9205
9194
  autoMergePr?: boolean | undefined;
@@ -9261,8 +9250,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9261
9250
  } | undefined;
9262
9251
  invalidAsk?: boolean | undefined;
9263
9252
  delegation?: {
9264
- role: "invalid";
9265
- } | {
9266
9253
  role: "root";
9267
9254
  conversation?: {
9268
9255
  messages: {
@@ -9497,6 +9484,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9497
9484
  } | undefined;
9498
9485
  executionRevision?: number | undefined;
9499
9486
  executionStartSeq?: number | undefined;
9487
+ } | {
9488
+ role: "invalid";
9500
9489
  } | undefined;
9501
9490
  agentInputs?: {
9502
9491
  conversation?: {
@@ -10383,6 +10372,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10383
10372
  id: string;
10384
10373
  };
10385
10374
  };
10375
+ } | {
10376
+ output: {
10377
+ error: string;
10378
+ };
10379
+ outputFormat: "json";
10380
+ status: 404;
10381
+ input: {
10382
+ param: {
10383
+ id: string;
10384
+ };
10385
+ };
10386
10386
  };
10387
10387
  };
10388
10388
  } & {
@@ -10510,66 +10510,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10510
10510
  } & {
10511
10511
  "/runs/:id": {
10512
10512
  $patch: {
10513
- output: {
10514
- error: string;
10515
- };
10516
- outputFormat: "json";
10517
- status: 400;
10518
- input: {
10519
- json: {
10520
- archiveWhenDone?: boolean | undefined;
10521
- autoMergePr?: boolean | undefined;
10522
- allowWorkers?: boolean | undefined;
10523
- allowMessaging?: boolean | undefined;
10524
- title?: string | undefined;
10525
- task?: string | undefined;
10526
- };
10527
- } & {
10528
- param: {
10529
- id: string;
10530
- };
10531
- };
10532
- } | {
10533
- output: {
10534
- error: string;
10535
- };
10536
- outputFormat: "json";
10537
- status: 404;
10538
- input: {
10539
- json: {
10540
- archiveWhenDone?: boolean | undefined;
10541
- autoMergePr?: boolean | undefined;
10542
- allowWorkers?: boolean | undefined;
10543
- allowMessaging?: boolean | undefined;
10544
- title?: string | undefined;
10545
- task?: string | undefined;
10546
- };
10547
- } & {
10548
- param: {
10549
- id: string;
10550
- };
10551
- };
10552
- } | {
10553
- output: {
10554
- error: string;
10555
- };
10556
- outputFormat: "json";
10557
- status: 409;
10558
- input: {
10559
- json: {
10560
- archiveWhenDone?: boolean | undefined;
10561
- autoMergePr?: boolean | undefined;
10562
- allowWorkers?: boolean | undefined;
10563
- allowMessaging?: boolean | undefined;
10564
- title?: string | undefined;
10565
- task?: string | undefined;
10566
- };
10567
- } & {
10568
- param: {
10569
- id: string;
10570
- };
10571
- };
10572
- } | {
10573
10513
  output: {
10574
10514
  archiveWhenDone?: boolean | undefined;
10575
10515
  autoMergePr?: boolean | undefined;
@@ -11369,8 +11309,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11369
11309
  currentStepId?: string | undefined;
11370
11310
  error?: string | undefined;
11371
11311
  delegation?: {
11372
- role: "invalid";
11373
- } | {
11374
11312
  role: "root";
11375
11313
  conversation?: {
11376
11314
  messages: {
@@ -11605,6 +11543,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11605
11543
  } | undefined;
11606
11544
  executionRevision?: number | undefined;
11607
11545
  executionStartSeq?: number | undefined;
11546
+ } | {
11547
+ role: "invalid";
11608
11548
  } | undefined;
11609
11549
  lastWaitsError?: string | undefined;
11610
11550
  automaticWakes?: number | undefined;
@@ -11754,6 +11694,66 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11754
11694
  id: string;
11755
11695
  };
11756
11696
  };
11697
+ } | {
11698
+ output: {
11699
+ error: string;
11700
+ };
11701
+ outputFormat: "json";
11702
+ status: 404;
11703
+ input: {
11704
+ json: {
11705
+ archiveWhenDone?: boolean | undefined;
11706
+ autoMergePr?: boolean | undefined;
11707
+ allowWorkers?: boolean | undefined;
11708
+ allowMessaging?: boolean | undefined;
11709
+ title?: string | undefined;
11710
+ task?: string | undefined;
11711
+ };
11712
+ } & {
11713
+ param: {
11714
+ id: string;
11715
+ };
11716
+ };
11717
+ } | {
11718
+ output: {
11719
+ error: string;
11720
+ };
11721
+ outputFormat: "json";
11722
+ status: 400;
11723
+ input: {
11724
+ json: {
11725
+ archiveWhenDone?: boolean | undefined;
11726
+ autoMergePr?: boolean | undefined;
11727
+ allowWorkers?: boolean | undefined;
11728
+ allowMessaging?: boolean | undefined;
11729
+ title?: string | undefined;
11730
+ task?: string | undefined;
11731
+ };
11732
+ } & {
11733
+ param: {
11734
+ id: string;
11735
+ };
11736
+ };
11737
+ } | {
11738
+ output: {
11739
+ error: string;
11740
+ };
11741
+ outputFormat: "json";
11742
+ status: 409;
11743
+ input: {
11744
+ json: {
11745
+ archiveWhenDone?: boolean | undefined;
11746
+ autoMergePr?: boolean | undefined;
11747
+ allowWorkers?: boolean | undefined;
11748
+ allowMessaging?: boolean | undefined;
11749
+ title?: string | undefined;
11750
+ task?: string | undefined;
11751
+ };
11752
+ } & {
11753
+ param: {
11754
+ id: string;
11755
+ };
11756
+ };
11757
11757
  };
11758
11758
  };
11759
11759
  } & {
@@ -11858,7 +11858,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11858
11858
  error: string;
11859
11859
  };
11860
11860
  outputFormat: "json";
11861
- status: 400;
11861
+ status: 404;
11862
11862
  input: {
11863
11863
  json: {
11864
11864
  text?: string | undefined;
@@ -11877,7 +11877,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11877
11877
  error: string;
11878
11878
  };
11879
11879
  outputFormat: "json";
11880
- status: 404;
11880
+ status: 409;
11881
11881
  input: {
11882
11882
  json: {
11883
11883
  text?: string | undefined;
@@ -11893,10 +11893,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11893
11893
  };
11894
11894
  } | {
11895
11895
  output: {
11896
- error: string;
11896
+ delivered: true;
11897
11897
  };
11898
11898
  outputFormat: "json";
11899
- status: 409;
11899
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11900
11900
  input: {
11901
11901
  json: {
11902
11902
  text?: string | undefined;
@@ -11912,10 +11912,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11912
11912
  };
11913
11913
  } | {
11914
11914
  output: {
11915
- delivered: true;
11915
+ error: string;
11916
11916
  };
11917
11917
  outputFormat: "json";
11918
- status: import("hono/utils/http-status").ContentfulStatusCode;
11918
+ status: 400;
11919
11919
  input: {
11920
11920
  json: {
11921
11921
  text?: string | undefined;
@@ -11983,7 +11983,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11983
11983
  error: string;
11984
11984
  };
11985
11985
  outputFormat: "json";
11986
- status: 400;
11986
+ status: 404;
11987
11987
  input: {
11988
11988
  json: {
11989
11989
  text?: string | undefined;
@@ -12004,7 +12004,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12004
12004
  error: string;
12005
12005
  };
12006
12006
  outputFormat: "json";
12007
- status: 404;
12007
+ status: 400;
12008
12008
  input: {
12009
12009
  json: {
12010
12010
  text?: string | undefined;
@@ -12224,11 +12224,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12224
12224
  "/runs/:id/open-in-cli": {
12225
12225
  $post: {
12226
12226
  output: {
12227
- opened: true;
12228
- command: string;
12227
+ error: string;
12229
12228
  };
12230
12229
  outputFormat: "json";
12231
- status: import("hono/utils/http-status").ContentfulStatusCode;
12230
+ status: 404 | 409;
12232
12231
  input: {
12233
12232
  param: {
12234
12233
  id: string;
@@ -12236,10 +12235,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12236
12235
  };
12237
12236
  } | {
12238
12237
  output: {
12239
- error: string;
12238
+ opened: true;
12239
+ command: string;
12240
12240
  };
12241
12241
  outputFormat: "json";
12242
- status: 404 | 409;
12242
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12243
12243
  input: {
12244
12244
  param: {
12245
12245
  id: string;
@@ -12254,7 +12254,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12254
12254
  error: string;
12255
12255
  };
12256
12256
  outputFormat: "json";
12257
- status: 400;
12257
+ status: 404 | 409;
12258
12258
  input: {
12259
12259
  json: {
12260
12260
  target: string;
@@ -12267,11 +12267,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12267
12267
  };
12268
12268
  } | {
12269
12269
  output: {
12270
- opened: true;
12271
- path: string;
12270
+ error: string;
12272
12271
  };
12273
12272
  outputFormat: "json";
12274
- status: import("hono/utils/http-status").ContentfulStatusCode;
12273
+ status: 400;
12275
12274
  input: {
12276
12275
  json: {
12277
12276
  target: string;
@@ -12284,10 +12283,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12284
12283
  };
12285
12284
  } | {
12286
12285
  output: {
12287
- error: string;
12286
+ opened: true;
12287
+ path: string;
12288
12288
  };
12289
12289
  outputFormat: "json";
12290
- status: 404 | 409;
12290
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12291
12291
  input: {
12292
12292
  json: {
12293
12293
  target: string;
@@ -12303,20 +12303,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12303
12303
  } & {
12304
12304
  "/runs/:id/handoff": {
12305
12305
  $get: {
12306
- output: string;
12307
- outputFormat: "text";
12308
- status: 200;
12306
+ output: {
12307
+ error: string;
12308
+ };
12309
+ outputFormat: "json";
12310
+ status: 404;
12309
12311
  input: {
12310
12312
  param: {
12311
12313
  id: string;
12312
12314
  };
12313
12315
  };
12314
12316
  } | {
12315
- output: {
12316
- error: string;
12317
- };
12318
- outputFormat: "json";
12319
- status: 404;
12317
+ output: string;
12318
+ outputFormat: "text";
12319
+ status: 200;
12320
12320
  input: {
12321
12321
  param: {
12322
12322
  id: string;
@@ -12327,12 +12327,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12327
12327
  } & {
12328
12328
  "/runs/:id/images/:file": {
12329
12329
  $get: {
12330
- output: {
12331
- error: string;
12332
- code?: "invalid_input" | undefined;
12333
- };
12334
- outputFormat: "json";
12335
- status: 400;
12330
+ output: {};
12331
+ outputFormat: string;
12332
+ status: import("hono/utils/http-status").StatusCode;
12336
12333
  input: {
12337
12334
  param: {
12338
12335
  id: string;
@@ -12340,9 +12337,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12340
12337
  };
12341
12338
  };
12342
12339
  } | {
12343
- output: {};
12344
- outputFormat: string;
12345
- status: import("hono/utils/http-status").StatusCode;
12340
+ output: {
12341
+ error: string;
12342
+ code?: "invalid_input" | undefined;
12343
+ };
12344
+ outputFormat: "json";
12345
+ status: 400;
12346
12346
  input: {
12347
12347
  param: {
12348
12348
  id: string;
@@ -12354,6 +12354,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12354
12354
  } & {
12355
12355
  "/runs/:id/diff": {
12356
12356
  $get: {
12357
+ output: {
12358
+ error: string;
12359
+ };
12360
+ outputFormat: "json";
12361
+ status: 404 | 409;
12362
+ input: {
12363
+ param: {
12364
+ id: string;
12365
+ };
12366
+ };
12367
+ } | {
12357
12368
  output: string;
12358
12369
  outputFormat: "text";
12359
12370
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12362,7 +12373,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12362
12373
  id: string;
12363
12374
  };
12364
12375
  };
12365
- } | {
12376
+ };
12377
+ };
12378
+ } & {
12379
+ "/runs/:id/changes": {
12380
+ $get: {
12366
12381
  output: {
12367
12382
  error: string;
12368
12383
  };
@@ -12373,11 +12388,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12373
12388
  id: string;
12374
12389
  };
12375
12390
  };
12376
- };
12377
- };
12378
- } & {
12379
- "/runs/:id/changes": {
12380
- $get: {
12391
+ } | {
12381
12392
  output: {
12382
12393
  files: {
12383
12394
  path: string;
@@ -12406,7 +12417,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12406
12417
  id: string;
12407
12418
  };
12408
12419
  };
12409
- } | {
12420
+ };
12421
+ };
12422
+ } & {
12423
+ "/runs/:id/commits": {
12424
+ $get: {
12410
12425
  output: {
12411
12426
  error: string;
12412
12427
  };
@@ -12417,11 +12432,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12417
12432
  id: string;
12418
12433
  };
12419
12434
  };
12420
- };
12421
- };
12422
- } & {
12423
- "/runs/:id/commits": {
12424
- $get: {
12435
+ } | {
12425
12436
  output: {
12426
12437
  commits: {
12427
12438
  sha: string;
@@ -12437,7 +12448,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12437
12448
  id: string;
12438
12449
  };
12439
12450
  };
12440
- } | {
12451
+ };
12452
+ };
12453
+ } & {
12454
+ "/runs/:id/commit/:sha": {
12455
+ $get: {
12441
12456
  output: {
12442
12457
  error: string;
12443
12458
  };
@@ -12446,13 +12461,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12446
12461
  input: {
12447
12462
  param: {
12448
12463
  id: string;
12464
+ } & {
12465
+ sha: string;
12449
12466
  };
12450
12467
  };
12451
- };
12452
- };
12453
- } & {
12454
- "/runs/:id/commit/:sha": {
12455
- $get: {
12468
+ } | {
12456
12469
  output: {
12457
12470
  sha: string;
12458
12471
  subject: string;
@@ -12483,19 +12496,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12483
12496
  sha: string;
12484
12497
  };
12485
12498
  };
12486
- } | {
12487
- output: {
12488
- error: string;
12489
- };
12490
- outputFormat: "json";
12491
- status: 404 | 409;
12492
- input: {
12493
- param: {
12494
- id: string;
12495
- } & {
12496
- sha: string;
12497
- };
12498
- };
12499
12499
  };
12500
12500
  };
12501
12501
  } & {
@@ -12519,15 +12519,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12519
12519
  };
12520
12520
  } | {
12521
12521
  output: {
12522
- type: 'file';
12523
- path: string;
12524
- size: number;
12525
- binary: boolean;
12526
- tooLarge: boolean;
12527
- content?: string | undefined;
12522
+ error: string;
12528
12523
  };
12529
12524
  outputFormat: "json";
12530
- status: import("hono/utils/http-status").ContentfulStatusCode;
12525
+ status: 404 | 409;
12531
12526
  input: {
12532
12527
  param: {
12533
12528
  sha: string;
@@ -12540,10 +12535,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12540
12535
  };
12541
12536
  } | {
12542
12537
  output: {
12543
- error: string;
12538
+ type: 'file';
12539
+ path: string;
12540
+ size: number;
12541
+ binary: boolean;
12542
+ tooLarge: boolean;
12543
+ content?: string | undefined;
12544
12544
  };
12545
12545
  outputFormat: "json";
12546
- status: 404 | 409;
12546
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12547
12547
  input: {
12548
12548
  param: {
12549
12549
  sha: string;
@@ -12589,6 +12589,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12589
12589
  raw?: "1" | undefined;
12590
12590
  };
12591
12591
  };
12592
+ } | {
12593
+ output: {
12594
+ error: string;
12595
+ };
12596
+ outputFormat: "json";
12597
+ status: 404 | 409;
12598
+ input: {
12599
+ param: {
12600
+ id: string;
12601
+ };
12602
+ } & {
12603
+ query: {
12604
+ path: string | string[];
12605
+ raw?: "1" | undefined;
12606
+ };
12607
+ };
12592
12608
  } | {
12593
12609
  output: {
12594
12610
  type: "file";
@@ -12625,22 +12641,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12625
12641
  raw?: "1" | undefined;
12626
12642
  };
12627
12643
  };
12628
- } | {
12629
- output: {
12630
- error: string;
12631
- };
12632
- outputFormat: "json";
12633
- status: 404 | 409;
12634
- input: {
12635
- param: {
12636
- id: string;
12637
- };
12638
- } & {
12639
- query: {
12640
- path: string | string[];
12641
- raw?: "1" | undefined;
12642
- };
12643
- };
12644
12644
  };
12645
12645
  };
12646
12646
  } & {
@@ -12705,18 +12705,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12705
12705
  artifactId: string;
12706
12706
  };
12707
12707
  };
12708
- } | {
12709
- output: {
12710
- error: string;
12711
- };
12712
- outputFormat: "json";
12713
- status: 404;
12714
- input: {
12715
- param: {
12716
- id: string;
12717
- artifactId: string;
12718
- };
12719
- };
12720
12708
  } | {
12721
12709
  output: {
12722
12710
  type: "file";
@@ -12745,6 +12733,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12745
12733
  artifactId: string;
12746
12734
  };
12747
12735
  };
12736
+ } | {
12737
+ output: {
12738
+ error: string;
12739
+ };
12740
+ outputFormat: "json";
12741
+ status: 404;
12742
+ input: {
12743
+ param: {
12744
+ id: string;
12745
+ artifactId: string;
12746
+ };
12747
+ };
12748
12748
  };
12749
12749
  };
12750
12750
  } & {
@@ -12922,15 +12922,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12922
12922
  };
12923
12923
  } | {
12924
12924
  output: {
12925
- type: 'file';
12926
- path: string;
12927
- size: number;
12928
- binary: boolean;
12929
- tooLarge: boolean;
12930
- content?: string | undefined;
12925
+ error: string;
12931
12926
  };
12932
12927
  outputFormat: "json";
12933
- status: import("hono/utils/http-status").ContentfulStatusCode;
12928
+ status: 404 | 409;
12934
12929
  input: {
12935
12930
  query: {
12936
12931
  path?: string | undefined;
@@ -12943,14 +12938,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12943
12938
  };
12944
12939
  } | {
12945
12940
  output: {
12946
- type: 'dir';
12941
+ type: 'file';
12947
12942
  path: string;
12948
- entries: {
12949
- name: string;
12950
- type: 'dir' | 'file';
12951
- size?: number;
12952
- chain?: string;
12953
- }[];
12943
+ size: number;
12944
+ binary: boolean;
12945
+ tooLarge: boolean;
12946
+ content?: string | undefined;
12954
12947
  };
12955
12948
  outputFormat: "json";
12956
12949
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12966,10 +12959,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12966
12959
  };
12967
12960
  } | {
12968
12961
  output: {
12969
- error: string;
12962
+ type: 'dir';
12963
+ path: string;
12964
+ entries: {
12965
+ name: string;
12966
+ type: 'dir' | 'file';
12967
+ size?: number;
12968
+ chain?: string;
12969
+ }[];
12970
12970
  };
12971
12971
  outputFormat: "json";
12972
- status: 404 | 409;
12972
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12973
12973
  input: {
12974
12974
  query: {
12975
12975
  path?: string | undefined;
@@ -12986,11 +12986,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12986
12986
  "/runs/:id/git/commit": {
12987
12987
  $post: {
12988
12988
  output: {
12989
- committed: true;
12990
- sha: string;
12989
+ error: string;
12991
12990
  };
12992
12991
  outputFormat: "json";
12993
- status: import("hono/utils/http-status").ContentfulStatusCode;
12992
+ status: 404 | 409;
12994
12993
  input: {
12995
12994
  json: {
12996
12995
  message: string;
@@ -13002,10 +13001,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13002
13001
  };
13003
13002
  } | {
13004
13003
  output: {
13005
- error: string;
13004
+ committed: true;
13005
+ sha: string;
13006
13006
  };
13007
13007
  outputFormat: "json";
13008
- status: 404 | 409;
13008
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13009
13009
  input: {
13010
13010
  json: {
13011
13011
  message: string;
@@ -13021,13 +13021,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13021
13021
  "/runs/:id/git/push": {
13022
13022
  $post: {
13023
13023
  output: {
13024
- pushed: true;
13025
- branch: string;
13026
- remote: string;
13027
- upstreamSet: boolean;
13024
+ error: string;
13028
13025
  };
13029
13026
  outputFormat: "json";
13030
- status: import("hono/utils/http-status").ContentfulStatusCode;
13027
+ status: 404 | 409;
13031
13028
  input: {
13032
13029
  param: {
13033
13030
  id: string;
@@ -13035,10 +13032,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13035
13032
  };
13036
13033
  } | {
13037
13034
  output: {
13038
- error: string;
13035
+ pushed: true;
13036
+ branch: string;
13037
+ remote: string;
13038
+ upstreamSet: boolean;
13039
13039
  };
13040
13040
  outputFormat: "json";
13041
- status: 404 | 409;
13041
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13042
13042
  input: {
13043
13043
  param: {
13044
13044
  id: string;
@@ -13050,11 +13050,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13050
13050
  "/runs/:id/pr": {
13051
13051
  $post: {
13052
13052
  output: {
13053
- url: string;
13054
- dryRun: boolean;
13053
+ error: string;
13055
13054
  };
13056
13055
  outputFormat: "json";
13057
- status: 201;
13056
+ status: 404 | 409;
13058
13057
  input: {
13059
13058
  param: {
13060
13059
  id: string;
@@ -13062,10 +13061,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13062
13061
  };
13063
13062
  } | {
13064
13063
  output: {
13065
- error: string;
13064
+ url: string;
13065
+ dryRun: boolean;
13066
13066
  };
13067
13067
  outputFormat: "json";
13068
- status: 404 | 409;
13068
+ status: 201;
13069
13069
  input: {
13070
13070
  param: {
13071
13071
  id: string;
@@ -13077,10 +13077,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13077
13077
  "/runs/:id/remove-worktree": {
13078
13078
  $post: {
13079
13079
  output: {
13080
- removed: true;
13080
+ error: string;
13081
13081
  };
13082
13082
  outputFormat: "json";
13083
- status: import("hono/utils/http-status").ContentfulStatusCode;
13083
+ status: 404 | 409;
13084
13084
  input: {
13085
13085
  param: {
13086
13086
  id: string;
@@ -13088,10 +13088,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13088
13088
  };
13089
13089
  } | {
13090
13090
  output: {
13091
- error: string;
13091
+ removed: true;
13092
13092
  };
13093
13093
  outputFormat: "json";
13094
- status: 404 | 409;
13094
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13095
13095
  input: {
13096
13096
  param: {
13097
13097
  id: string;
@@ -13103,10 +13103,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13103
13103
  "/runs/:id": {
13104
13104
  $delete: {
13105
13105
  output: {
13106
- deleted: true;
13106
+ error: string;
13107
13107
  };
13108
13108
  outputFormat: "json";
13109
- status: import("hono/utils/http-status").ContentfulStatusCode;
13109
+ status: 404 | 409;
13110
13110
  input: {
13111
13111
  param: {
13112
13112
  id: string;
@@ -13114,10 +13114,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13114
13114
  };
13115
13115
  } | {
13116
13116
  output: {
13117
- error: string;
13117
+ deleted: true;
13118
13118
  };
13119
13119
  outputFormat: "json";
13120
- status: 404 | 409;
13120
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13121
13121
  input: {
13122
13122
  param: {
13123
13123
  id: string;