@hearsay-tools/squawk 0.19.0-dev.8901 → 0.19.0-dev.8905

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 (82) hide show
  1. package/dist/delegation/routes.d.ts +65 -65
  2. package/dist/server/providers-routes.d.ts +57 -57
  3. package/dist/server/repo-routes.d.ts +34 -34
  4. package/dist/server/runner-install-routes.d.ts +10 -10
  5. package/dist/server/runs-routes.d.ts +301 -301
  6. package/dist/server/server.d.ts +58 -58
  7. package/dist/server/workspace-routes.d.ts +85 -85
  8. package/package.json +4 -4
  9. package/web/dist/assets/{accounts-section-DV18K14j.js → accounts-section-CL4_y1Ap.js} +1 -1
  10. package/web/dist/assets/{activity-motion-U0gkYTm-.js → activity-motion-1nxINCqs.js} +1 -1
  11. package/web/dist/assets/{activity-route-CKFb-IYI.js → activity-route-yCPzQHRl.js} +1 -1
  12. package/web/dist/assets/{agent-config-section-X66FRjsE.js → agent-config-section-CO-Bl7d7.js} +1 -1
  13. package/web/dist/assets/{agent-defaults-section-EEYiGk_Q.js → agent-defaults-section-C90pO0nt.js} +1 -1
  14. package/web/dist/assets/{appearance-D4I-ANZ_.js → appearance-dgwYTY63.js} +1 -1
  15. package/web/dist/assets/{archive-on-merge-field-D6y7pCov.js → archive-on-merge-field-DJZVhb_I.js} +1 -1
  16. package/web/dist/assets/{automations-route-4ahsnx6z.js → automations-route-BhSkU9kZ.js} +2 -2
  17. package/web/dist/assets/{command-ppU3xBNs.js → command-BMMjB5k9.js} +1 -1
  18. package/web/dist/assets/{commit-list-Dp0c_x8b.js → commit-list-mYh1t3BD.js} +1 -1
  19. package/web/dist/assets/{design-icons-CzEoMH9c.js → design-icons-BZt8Kqs9.js} +1 -1
  20. package/web/dist/assets/{dialog-DXCws12U.js → dialog-CB9ZhEk2.js} +1 -1
  21. package/web/dist/assets/{diff-n7BcLjSi.js → diff-B4l1BaZJ.js} +2 -2
  22. package/web/dist/assets/{diff-controls-7hWjGeWp.js → diff-controls-Bs58JOMz.js} +1 -1
  23. package/web/dist/assets/{diff-view-CJNrRCRI.js → diff-view-BGwOGavy.js} +1 -1
  24. package/web/dist/assets/{discard-changes-dialog-Bd3w4xOW.js → discard-changes-dialog-Cr1vlcjZ.js} +1 -1
  25. package/web/dist/assets/dropdown-menu-VFda6KAg.js +1 -0
  26. package/web/dist/assets/{file-preview-DS5j5uFi.js → file-preview-DqopZwES.js} +1 -1
  27. package/web/dist/assets/{git-toolbar-D5N_Ucqr.js → git-toolbar-pr68yTY4.js} +1 -1
  28. package/web/dist/assets/github-BY-X8L5Q.js +1 -0
  29. package/web/dist/assets/{global-activity-route-DqyHJiZz.js → global-activity-route-XkwjlnaD.js} +1 -1
  30. package/web/dist/assets/index-BOWGArJd.css +1 -0
  31. package/web/dist/assets/index-I4_drgNu.js +21 -0
  32. package/web/dist/assets/{markdown-9FIYg1nH.js → markdown-fuaT5ciN.js} +1 -1
  33. package/web/dist/assets/{open-in-menu-L5v_AQZt.js → open-in-menu-Uw-sJhbG.js} +1 -1
  34. package/web/dist/assets/{option-select-CYbw9rk4.js → option-select-_tHcMUWt.js} +1 -1
  35. package/web/dist/assets/{preferences-section-Do1nZwKg.js → preferences-section-Crh_5QfK.js} +1 -1
  36. package/web/dist/assets/{preview-pane-connected-o7nx7h4-.js → preview-pane-connected-CLWRxEhI.js} +1 -1
  37. package/web/dist/assets/{project-location-BFN7mvbZ.js → project-location-DmGO5Dqx.js} +1 -1
  38. package/web/dist/assets/{projects-section-Bq9DzRDF.js → projects-section-CLPN14JX.js} +1 -1
  39. package/web/dist/assets/{prompt-templates-section-CNa_K7AU.js → prompt-templates-section-CQHpVrcB.js} +2 -2
  40. package/web/dist/assets/{reference-chip-O8Bfl1Oi.js → reference-chip-Dk69XD7Q.js} +1 -1
  41. package/web/dist/assets/{remote-settings-notice-CbCCb3QA.js → remote-settings-notice-C8naX_yp.js} +1 -1
  42. package/web/dist/assets/{repo-git-Dz3fhj6j.js → repo-git-CTSdvalV.js} +1 -1
  43. package/web/dist/assets/{report-reader-BfsdCLq-.js → report-reader-DJJixZxy.js} +1 -1
  44. package/web/dist/assets/{report-selection-cuFCCxDW.js → report-selection-BH0M_8bk.js} +1 -1
  45. package/web/dist/assets/{reports-Df83TkE3.js → reports-DXfywo34.js} +1 -1
  46. package/web/dist/assets/{resources-section-CKJGgLWa.js → resources-section-CA-D1Vj2.js} +1 -1
  47. package/web/dist/assets/review-panel-UI6FQQmp.js +11 -0
  48. package/web/dist/assets/{run-header-BWNapiIC.js → run-header-DDQU9tCB.js} +2 -2
  49. package/web/dist/assets/select-QO8XlmjU.js +1 -0
  50. package/web/dist/assets/{session-context-section-CSDtUgJI.js → session-context-section-CTDQl-i5.js} +1 -1
  51. package/web/dist/assets/{settings-agent-picker-pMZcMiW4.js → settings-agent-picker-DE5zKJtS.js} +1 -1
  52. package/web/dist/assets/{settings-list-detail-Ch1KMPjr.js → settings-list-detail-DcRsGkGy.js} +1 -1
  53. package/web/dist/assets/{settings-save-bar-CFkofH5G.js → settings-save-bar-DM7T22Nr.js} +1 -1
  54. package/web/dist/assets/{settings-shell-B6-ofejE.js → settings-shell-EOUcgx1J.js} +1 -1
  55. package/web/dist/assets/{sidebar-section-DwcXrxn2.js → sidebar-section-C69ES3GL.js} +1 -1
  56. package/web/dist/assets/{skills-DD5hhynR.js → skills-DuaNQ6XW.js} +1 -1
  57. package/web/dist/assets/task-changes-midIkW0D.js +1 -0
  58. package/web/dist/assets/{task-commits-D8Pzk4b3.js → task-commits-DAT7-sIh.js} +1 -1
  59. package/web/dist/assets/{task-file-scope-DPJOeknI.js → task-file-scope-BYAH1Mj8.js} +1 -1
  60. package/web/dist/assets/{task-files-DJnNyynG.js → task-files-CJaZfp0y.js} +1 -1
  61. package/web/dist/assets/{task-github-item-Di9HWGn6.js → task-github-item-BnoxG2el.js} +1 -1
  62. package/web/dist/assets/task-thread-fsRo8vgf.js +2 -0
  63. package/web/dist/assets/{thread-state-B2dX4psn.js → thread-state-T5A2uz_q.js} +1 -1
  64. package/web/dist/assets/use-hand-to-agent-state-CqiCI37V.css +1 -0
  65. package/web/dist/assets/use-hand-to-agent-state-Cy6oaj7k.js +1 -0
  66. package/web/dist/assets/use-path-bases-x6weDx5i.js +1 -0
  67. package/web/dist/assets/workflows-CwZ1aiR4.js +7 -0
  68. package/web/dist/assets/{workspace-tools-6fvZHbrZ.js → workspace-tools-0-Yx7SCS.js} +1 -1
  69. package/web/dist/assets/{worktrees-section-C1fpzChO.js → worktrees-section-Cn8sFOCC.js} +1 -1
  70. package/web/dist/index.html +9 -9
  71. package/web/dist/assets/dropdown-menu-B60L-d_4.js +0 -1
  72. package/web/dist/assets/github-Bhj0PA8h.js +0 -1
  73. package/web/dist/assets/index-UMSYsh9P.css +0 -1
  74. package/web/dist/assets/index-i4Bu7SvU.js +0 -21
  75. package/web/dist/assets/review-panel-BaUd88ko.js +0 -11
  76. package/web/dist/assets/select-Cy2NunWj.js +0 -1
  77. package/web/dist/assets/task-changes-CbWxyOEd.js +0 -1
  78. package/web/dist/assets/task-thread-gXImKbGN.js +0 -2
  79. package/web/dist/assets/use-hand-to-agent-state-BHaqyTxa.css +0 -1
  80. package/web/dist/assets/use-hand-to-agent-state-DhUiLIQg.js +0 -1
  81. package/web/dist/assets/use-path-bases-BzlzA9bw.js +0 -1
  82. package/web/dist/assets/workflows-slzqyi2_.js +0 -7
@@ -1217,18 +1217,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1217
1217
  } & {
1218
1218
  "/run-summaries": {
1219
1219
  $get: {
1220
- output: {
1221
- error: string;
1222
- code?: "invalid_input" | undefined;
1223
- };
1224
- outputFormat: "json";
1225
- status: 400;
1226
- input: {
1227
- query: {
1228
- archived?: "all" | "recent" | undefined;
1229
- };
1230
- };
1231
- } | {
1232
1220
  output: {
1233
1221
  id: string;
1234
1222
  title: string;
@@ -1366,6 +1354,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1366
1354
  archived?: "all" | "recent" | undefined;
1367
1355
  };
1368
1356
  };
1357
+ } | {
1358
+ output: {
1359
+ error: string;
1360
+ code?: "invalid_input" | undefined;
1361
+ };
1362
+ outputFormat: "json";
1363
+ status: 400;
1364
+ input: {
1365
+ query: {
1366
+ archived?: "all" | "recent" | undefined;
1367
+ };
1368
+ };
1369
1369
  };
1370
1370
  };
1371
1371
  } & {
@@ -1727,24 +1727,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1727
1727
  "/runs/:id/worker-destroy": {
1728
1728
  $post: {
1729
1729
  output: {
1730
- workerId: string;
1731
- state: "complete" | "incomplete";
1732
- work?: {
1733
- uncommittedFiles: number;
1734
- commits: number;
1735
- } | undefined;
1736
- deleted?: ({
1737
- kind: "worktree";
1738
- path: string;
1739
- } | {
1740
- kind: "branch";
1741
- ref: string;
1742
- })[] | undefined;
1743
- remaining: ("branch" | "process" | "worktree")[];
1744
- error?: string | undefined;
1730
+ error: string;
1731
+ code?: "invalid_input" | undefined;
1745
1732
  };
1746
1733
  outputFormat: "json";
1747
- status: 200;
1734
+ status: 400;
1748
1735
  input: {
1749
1736
  query: {
1750
1737
  [x: string]: string | string[];
@@ -1760,11 +1747,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1760
1747
  };
1761
1748
  } | {
1762
1749
  output: {
1763
- error: string;
1764
- code?: "invalid_input" | undefined;
1750
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1751
+ readonly error: string;
1752
+ readonly modelChoices?: {
1753
+ runner: string;
1754
+ requestedModel: string;
1755
+ availableModels: {
1756
+ id: string;
1757
+ label: string;
1758
+ description: string;
1759
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1760
+ }[];
1761
+ otherRunners: string[];
1762
+ } | undefined;
1765
1763
  };
1766
1764
  outputFormat: "json";
1767
- status: 400;
1765
+ status: 400 | 401 | 403 | 409 | 503;
1768
1766
  input: {
1769
1767
  query: {
1770
1768
  [x: string]: string | string[];
@@ -1797,7 +1795,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1797
1795
  error?: string | undefined;
1798
1796
  };
1799
1797
  outputFormat: "json";
1800
- status: 409;
1798
+ status: 200;
1801
1799
  input: {
1802
1800
  query: {
1803
1801
  [x: string]: string | string[];
@@ -1813,22 +1811,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1813
1811
  };
1814
1812
  } | {
1815
1813
  output: {
1816
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1817
- readonly error: string;
1818
- readonly modelChoices?: {
1819
- runner: string;
1820
- requestedModel: string;
1821
- availableModels: {
1822
- id: string;
1823
- label: string;
1824
- description: string;
1825
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1826
- }[];
1827
- otherRunners: string[];
1814
+ workerId: string;
1815
+ state: "complete" | "incomplete";
1816
+ work?: {
1817
+ uncommittedFiles: number;
1818
+ commits: number;
1828
1819
  } | undefined;
1820
+ deleted?: ({
1821
+ kind: "worktree";
1822
+ path: string;
1823
+ } | {
1824
+ kind: "branch";
1825
+ ref: string;
1826
+ })[] | undefined;
1827
+ remaining: ("branch" | "process" | "worktree")[];
1828
+ error?: string | undefined;
1829
1829
  };
1830
1830
  outputFormat: "json";
1831
- status: 400 | 401 | 403 | 409 | 503;
1831
+ status: 409;
1832
1832
  input: {
1833
1833
  query: {
1834
1834
  [x: string]: string | string[];
@@ -1880,21 +1880,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1880
1880
  } & {
1881
1881
  "/runs/:id/archive": {
1882
1882
  $post: {
1883
- output: {
1884
- error: string;
1885
- };
1886
- outputFormat: "json";
1887
- status: 404;
1888
- input: {
1889
- json: {
1890
- archived?: boolean | undefined;
1891
- };
1892
- } & {
1893
- param: {
1894
- id: string;
1895
- };
1896
- };
1897
- } | {
1898
1883
  output: {
1899
1884
  archiveWhenDone?: boolean | undefined;
1900
1885
  autoMergePr?: boolean | undefined;
@@ -3074,32 +3059,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3074
3059
  id: string;
3075
3060
  };
3076
3061
  };
3077
- };
3078
- };
3079
- } & {
3080
- "/runs/:id/pin": {
3081
- $post: {
3062
+ } | {
3082
3063
  output: {
3083
3064
  error: string;
3084
- code?: "invalid_input" | undefined;
3085
3065
  };
3086
3066
  outputFormat: "json";
3087
- status: 400;
3067
+ status: 404;
3088
3068
  input: {
3089
- param: {
3090
- id: string;
3069
+ json: {
3070
+ archived?: boolean | undefined;
3091
3071
  };
3092
3072
  } & {
3093
- json: {
3094
- pinned?: boolean | undefined;
3073
+ param: {
3074
+ id: string;
3095
3075
  };
3096
3076
  };
3097
- } | {
3077
+ };
3078
+ };
3079
+ } & {
3080
+ "/runs/:id/pin": {
3081
+ $post: {
3098
3082
  output: {
3099
3083
  error: string;
3084
+ code?: "invalid_input" | undefined;
3100
3085
  };
3101
3086
  outputFormat: "json";
3102
- status: 404;
3087
+ status: 400;
3103
3088
  input: {
3104
3089
  param: {
3105
3090
  id: string;
@@ -4289,6 +4274,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4289
4274
  pinned?: boolean | undefined;
4290
4275
  };
4291
4276
  };
4277
+ } | {
4278
+ output: {
4279
+ error: string;
4280
+ };
4281
+ outputFormat: "json";
4282
+ status: 404;
4283
+ input: {
4284
+ param: {
4285
+ id: string;
4286
+ };
4287
+ } & {
4288
+ json: {
4289
+ pinned?: boolean | undefined;
4290
+ };
4291
+ };
4292
4292
  };
4293
4293
  };
4294
4294
  } & {
@@ -4315,7 +4315,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4315
4315
  error: string;
4316
4316
  };
4317
4317
  outputFormat: "json";
4318
- status: 400;
4318
+ status: 404;
4319
4319
  input: {
4320
4320
  param: {
4321
4321
  id: string;
@@ -4331,7 +4331,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4331
4331
  error: string;
4332
4332
  };
4333
4333
  outputFormat: "json";
4334
- status: 404;
4334
+ status: 400;
4335
4335
  input: {
4336
4336
  param: {
4337
4337
  id: string;
@@ -5554,17 +5554,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5554
5554
  } & {
5555
5555
  "/runs/:id/read": {
5556
5556
  $post: {
5557
- output: {
5558
- error: string;
5559
- };
5560
- outputFormat: "json";
5561
- status: 404;
5562
- input: {
5563
- param: {
5564
- id: string;
5565
- };
5566
- };
5567
- } | {
5568
5557
  output: {
5569
5558
  archiveWhenDone?: boolean | undefined;
5570
5559
  autoMergePr?: boolean | undefined;
@@ -6740,11 +6729,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6740
6729
  id: string;
6741
6730
  };
6742
6731
  };
6743
- };
6744
- };
6745
- } & {
6746
- "/runs/:id/unread": {
6747
- $post: {
6732
+ } | {
6748
6733
  output: {
6749
6734
  error: string;
6750
6735
  };
@@ -6755,7 +6740,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6755
6740
  id: string;
6756
6741
  };
6757
6742
  };
6758
- } | {
6743
+ };
6744
+ };
6745
+ } & {
6746
+ "/runs/:id/unread": {
6747
+ $post: {
6759
6748
  output: {
6760
6749
  archiveWhenDone?: boolean | undefined;
6761
6750
  autoMergePr?: boolean | undefined;
@@ -7931,6 +7920,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7931
7920
  id: string;
7932
7921
  };
7933
7922
  };
7923
+ } | {
7924
+ output: {
7925
+ error: string;
7926
+ };
7927
+ outputFormat: "json";
7928
+ status: 404;
7929
+ input: {
7930
+ param: {
7931
+ id: string;
7932
+ };
7933
+ };
7934
7934
  };
7935
7935
  };
7936
7936
  } & {
@@ -9207,17 +9207,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9207
9207
  } & {
9208
9208
  "/runs/:id": {
9209
9209
  $get: {
9210
- output: {
9211
- error: string;
9212
- };
9213
- outputFormat: "json";
9214
- status: 404;
9215
- input: {
9216
- param: {
9217
- id: string;
9218
- };
9219
- };
9220
- } | {
9221
9210
  output: {
9222
9211
  archiveWhenDone?: boolean | undefined;
9223
9212
  autoMergePr?: boolean | undefined;
@@ -10401,6 +10390,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10401
10390
  id: string;
10402
10391
  };
10403
10392
  };
10393
+ } | {
10394
+ output: {
10395
+ error: string;
10396
+ };
10397
+ outputFormat: "json";
10398
+ status: 404;
10399
+ input: {
10400
+ param: {
10401
+ id: string;
10402
+ };
10403
+ };
10404
10404
  };
10405
10405
  };
10406
10406
  } & {
@@ -10529,83 +10529,23 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10529
10529
  "/runs/:id": {
10530
10530
  $patch: {
10531
10531
  output: {
10532
- error: string;
10533
- };
10534
- outputFormat: "json";
10535
- status: 400;
10536
- input: {
10537
- json: {
10538
- archiveWhenDone?: boolean | undefined;
10539
- autoMergePr?: boolean | undefined;
10540
- allowWorkers?: boolean | undefined;
10541
- allowMessaging?: boolean | undefined;
10542
- title?: string | undefined;
10543
- task?: string | undefined;
10544
- };
10545
- } & {
10546
- param: {
10547
- id: string;
10548
- };
10549
- };
10550
- } | {
10551
- output: {
10552
- error: string;
10553
- };
10554
- outputFormat: "json";
10555
- status: 404;
10556
- input: {
10557
- json: {
10558
- archiveWhenDone?: boolean | undefined;
10559
- autoMergePr?: boolean | undefined;
10560
- allowWorkers?: boolean | undefined;
10561
- allowMessaging?: boolean | undefined;
10562
- title?: string | undefined;
10563
- task?: string | undefined;
10564
- };
10565
- } & {
10566
- param: {
10567
- id: string;
10568
- };
10569
- };
10570
- } | {
10571
- output: {
10572
- error: string;
10573
- };
10574
- outputFormat: "json";
10575
- status: 409;
10576
- input: {
10577
- json: {
10578
- archiveWhenDone?: boolean | undefined;
10579
- autoMergePr?: boolean | undefined;
10580
- allowWorkers?: boolean | undefined;
10581
- allowMessaging?: boolean | undefined;
10582
- title?: string | undefined;
10583
- task?: string | undefined;
10584
- };
10585
- } & {
10586
- param: {
10587
- id: string;
10588
- };
10589
- };
10590
- } | {
10591
- output: {
10592
- archiveWhenDone?: boolean | undefined;
10593
- autoMergePr?: boolean | undefined;
10594
- allowWorkers?: boolean | undefined;
10595
- allowMessaging?: boolean | undefined;
10596
- id: string;
10597
- title: string;
10598
- titleSummary?: string | undefined;
10599
- diffStat?: {
10600
- adds: number;
10601
- dels: number;
10602
- files: number;
10603
- repointed?: boolean | undefined;
10604
- } | undefined;
10605
- workflow: string;
10606
- task: string;
10607
- queuedMessages?: {
10608
- replayAfterOpen?: true | undefined;
10532
+ archiveWhenDone?: boolean | undefined;
10533
+ autoMergePr?: boolean | undefined;
10534
+ allowWorkers?: boolean | undefined;
10535
+ allowMessaging?: boolean | undefined;
10536
+ id: string;
10537
+ title: string;
10538
+ titleSummary?: string | undefined;
10539
+ diffStat?: {
10540
+ adds: number;
10541
+ dels: number;
10542
+ files: number;
10543
+ repointed?: boolean | undefined;
10544
+ } | undefined;
10545
+ workflow: string;
10546
+ task: string;
10547
+ queuedMessages?: {
10548
+ replayAfterOpen?: true | undefined;
10609
10549
  id: string;
10610
10550
  text: string;
10611
10551
  images?: string[] | undefined;
@@ -11772,6 +11712,66 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11772
11712
  id: string;
11773
11713
  };
11774
11714
  };
11715
+ } | {
11716
+ output: {
11717
+ error: string;
11718
+ };
11719
+ outputFormat: "json";
11720
+ status: 404;
11721
+ input: {
11722
+ json: {
11723
+ archiveWhenDone?: boolean | undefined;
11724
+ autoMergePr?: boolean | undefined;
11725
+ allowWorkers?: boolean | undefined;
11726
+ allowMessaging?: boolean | undefined;
11727
+ title?: string | undefined;
11728
+ task?: string | undefined;
11729
+ };
11730
+ } & {
11731
+ param: {
11732
+ id: string;
11733
+ };
11734
+ };
11735
+ } | {
11736
+ output: {
11737
+ error: string;
11738
+ };
11739
+ outputFormat: "json";
11740
+ status: 400;
11741
+ input: {
11742
+ json: {
11743
+ archiveWhenDone?: boolean | undefined;
11744
+ autoMergePr?: boolean | undefined;
11745
+ allowWorkers?: boolean | undefined;
11746
+ allowMessaging?: boolean | undefined;
11747
+ title?: string | undefined;
11748
+ task?: string | undefined;
11749
+ };
11750
+ } & {
11751
+ param: {
11752
+ id: string;
11753
+ };
11754
+ };
11755
+ } | {
11756
+ output: {
11757
+ error: string;
11758
+ };
11759
+ outputFormat: "json";
11760
+ status: 409;
11761
+ input: {
11762
+ json: {
11763
+ archiveWhenDone?: boolean | undefined;
11764
+ autoMergePr?: boolean | undefined;
11765
+ allowWorkers?: boolean | undefined;
11766
+ allowMessaging?: boolean | undefined;
11767
+ title?: string | undefined;
11768
+ task?: string | undefined;
11769
+ };
11770
+ } & {
11771
+ param: {
11772
+ id: string;
11773
+ };
11774
+ };
11775
11775
  };
11776
11776
  };
11777
11777
  } & {
@@ -11876,7 +11876,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11876
11876
  error: string;
11877
11877
  };
11878
11878
  outputFormat: "json";
11879
- status: 400;
11879
+ status: 404;
11880
11880
  input: {
11881
11881
  json: {
11882
11882
  text?: string | undefined;
@@ -11895,7 +11895,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11895
11895
  error: string;
11896
11896
  };
11897
11897
  outputFormat: "json";
11898
- status: 404;
11898
+ status: 409;
11899
11899
  input: {
11900
11900
  json: {
11901
11901
  text?: string | undefined;
@@ -11911,10 +11911,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11911
11911
  };
11912
11912
  } | {
11913
11913
  output: {
11914
- error: string;
11914
+ delivered: true;
11915
11915
  };
11916
11916
  outputFormat: "json";
11917
- status: 409;
11917
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11918
11918
  input: {
11919
11919
  json: {
11920
11920
  text?: string | undefined;
@@ -11930,10 +11930,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11930
11930
  };
11931
11931
  } | {
11932
11932
  output: {
11933
- delivered: true;
11933
+ error: string;
11934
11934
  };
11935
11935
  outputFormat: "json";
11936
- status: import("hono/utils/http-status").ContentfulStatusCode;
11936
+ status: 400;
11937
11937
  input: {
11938
11938
  json: {
11939
11939
  text?: string | undefined;
@@ -12001,7 +12001,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12001
12001
  error: string;
12002
12002
  };
12003
12003
  outputFormat: "json";
12004
- status: 400;
12004
+ status: 404;
12005
12005
  input: {
12006
12006
  json: {
12007
12007
  text?: string | undefined;
@@ -12022,7 +12022,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12022
12022
  error: string;
12023
12023
  };
12024
12024
  outputFormat: "json";
12025
- status: 404;
12025
+ status: 400;
12026
12026
  input: {
12027
12027
  json: {
12028
12028
  text?: string | undefined;
@@ -12242,11 +12242,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12242
12242
  "/runs/:id/open-in-cli": {
12243
12243
  $post: {
12244
12244
  output: {
12245
- opened: true;
12246
- command: string;
12245
+ error: string;
12247
12246
  };
12248
12247
  outputFormat: "json";
12249
- status: import("hono/utils/http-status").ContentfulStatusCode;
12248
+ status: 404 | 409;
12250
12249
  input: {
12251
12250
  param: {
12252
12251
  id: 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
+ command: string;
12258
12258
  };
12259
12259
  outputFormat: "json";
12260
- status: 404 | 409;
12260
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12261
12261
  input: {
12262
12262
  param: {
12263
12263
  id: string;
@@ -12272,7 +12272,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12272
12272
  error: string;
12273
12273
  };
12274
12274
  outputFormat: "json";
12275
- status: 400;
12275
+ status: 404 | 409;
12276
12276
  input: {
12277
12277
  json: {
12278
12278
  target: string;
@@ -12285,11 +12285,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12285
12285
  };
12286
12286
  } | {
12287
12287
  output: {
12288
- opened: true;
12289
- path: string;
12288
+ error: string;
12290
12289
  };
12291
12290
  outputFormat: "json";
12292
- status: import("hono/utils/http-status").ContentfulStatusCode;
12291
+ status: 400;
12293
12292
  input: {
12294
12293
  json: {
12295
12294
  target: string;
@@ -12302,10 +12301,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12302
12301
  };
12303
12302
  } | {
12304
12303
  output: {
12305
- error: string;
12304
+ opened: true;
12305
+ path: string;
12306
12306
  };
12307
12307
  outputFormat: "json";
12308
- status: 404 | 409;
12308
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12309
12309
  input: {
12310
12310
  json: {
12311
12311
  target: string;
@@ -12345,12 +12345,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12345
12345
  } & {
12346
12346
  "/runs/:id/images/:file": {
12347
12347
  $get: {
12348
- output: {
12349
- error: string;
12350
- code?: "invalid_input" | undefined;
12351
- };
12352
- outputFormat: "json";
12353
- status: 400;
12348
+ output: {};
12349
+ outputFormat: string;
12350
+ status: import("hono/utils/http-status").StatusCode;
12354
12351
  input: {
12355
12352
  param: {
12356
12353
  id: string;
@@ -12358,9 +12355,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12358
12355
  };
12359
12356
  };
12360
12357
  } | {
12361
- output: {};
12362
- outputFormat: string;
12363
- status: import("hono/utils/http-status").StatusCode;
12358
+ output: {
12359
+ error: string;
12360
+ code?: "invalid_input" | undefined;
12361
+ };
12362
+ outputFormat: "json";
12363
+ status: 400;
12364
12364
  input: {
12365
12365
  param: {
12366
12366
  id: string;
@@ -12396,6 +12396,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12396
12396
  } & {
12397
12397
  "/runs/:id/changes": {
12398
12398
  $get: {
12399
+ output: {
12400
+ error: string;
12401
+ };
12402
+ outputFormat: "json";
12403
+ status: 404 | 409;
12404
+ input: {
12405
+ param: {
12406
+ id: string;
12407
+ };
12408
+ };
12409
+ } | {
12399
12410
  output: {
12400
12411
  files: {
12401
12412
  path: string;
@@ -12424,7 +12435,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12424
12435
  id: string;
12425
12436
  };
12426
12437
  };
12427
- } | {
12438
+ };
12439
+ };
12440
+ } & {
12441
+ "/runs/:id/commits": {
12442
+ $get: {
12428
12443
  output: {
12429
12444
  error: string;
12430
12445
  };
@@ -12435,11 +12450,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12435
12450
  id: string;
12436
12451
  };
12437
12452
  };
12438
- };
12439
- };
12440
- } & {
12441
- "/runs/:id/commits": {
12442
- $get: {
12453
+ } | {
12443
12454
  output: {
12444
12455
  commits: {
12445
12456
  sha: string;
@@ -12455,7 +12466,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12455
12466
  id: string;
12456
12467
  };
12457
12468
  };
12458
- } | {
12469
+ };
12470
+ };
12471
+ } & {
12472
+ "/runs/:id/commit/:sha": {
12473
+ $get: {
12459
12474
  output: {
12460
12475
  error: string;
12461
12476
  };
@@ -12464,13 +12479,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12464
12479
  input: {
12465
12480
  param: {
12466
12481
  id: string;
12482
+ } & {
12483
+ sha: string;
12467
12484
  };
12468
12485
  };
12469
- };
12470
- };
12471
- } & {
12472
- "/runs/:id/commit/:sha": {
12473
- $get: {
12486
+ } | {
12474
12487
  output: {
12475
12488
  sha: string;
12476
12489
  subject: string;
@@ -12501,19 +12514,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12501
12514
  sha: string;
12502
12515
  };
12503
12516
  };
12504
- } | {
12505
- output: {
12506
- error: string;
12507
- };
12508
- outputFormat: "json";
12509
- status: 404 | 409;
12510
- input: {
12511
- param: {
12512
- id: string;
12513
- } & {
12514
- sha: string;
12515
- };
12516
- };
12517
12517
  };
12518
12518
  };
12519
12519
  } & {
@@ -12549,6 +12549,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12549
12549
  raw?: "1" | undefined;
12550
12550
  };
12551
12551
  };
12552
+ } | {
12553
+ output: {
12554
+ error: string;
12555
+ };
12556
+ outputFormat: "json";
12557
+ status: 404 | 409;
12558
+ input: {
12559
+ param: {
12560
+ id: string;
12561
+ };
12562
+ } & {
12563
+ query: {
12564
+ path: string | string[];
12565
+ raw?: "1" | undefined;
12566
+ };
12567
+ };
12552
12568
  } | {
12553
12569
  output: {
12554
12570
  type: "file";
@@ -12585,22 +12601,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12585
12601
  raw?: "1" | undefined;
12586
12602
  };
12587
12603
  };
12588
- } | {
12589
- output: {
12590
- error: string;
12591
- };
12592
- outputFormat: "json";
12593
- status: 404 | 409;
12594
- input: {
12595
- param: {
12596
- id: string;
12597
- };
12598
- } & {
12599
- query: {
12600
- path: string | string[];
12601
- raw?: "1" | undefined;
12602
- };
12603
- };
12604
12604
  };
12605
12605
  };
12606
12606
  } & {
@@ -12665,18 +12665,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12665
12665
  artifactId: string;
12666
12666
  };
12667
12667
  };
12668
- } | {
12669
- output: {
12670
- error: string;
12671
- };
12672
- outputFormat: "json";
12673
- status: 404;
12674
- input: {
12675
- param: {
12676
- id: string;
12677
- artifactId: string;
12678
- };
12679
- };
12680
12668
  } | {
12681
12669
  output: {
12682
12670
  type: "file";
@@ -12705,6 +12693,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12705
12693
  artifactId: string;
12706
12694
  };
12707
12695
  };
12696
+ } | {
12697
+ output: {
12698
+ error: string;
12699
+ };
12700
+ outputFormat: "json";
12701
+ status: 404;
12702
+ input: {
12703
+ param: {
12704
+ id: string;
12705
+ artifactId: string;
12706
+ };
12707
+ };
12708
12708
  };
12709
12709
  };
12710
12710
  } & {
@@ -12882,16 +12882,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12882
12882
  };
12883
12883
  } | {
12884
12884
  output: {
12885
- type: 'dir';
12886
- path: string;
12887
- entries: {
12888
- name: string;
12889
- type: 'dir' | 'file';
12890
- size?: number;
12891
- }[];
12885
+ error: string;
12892
12886
  };
12893
12887
  outputFormat: "json";
12894
- status: import("hono/utils/http-status").ContentfulStatusCode;
12888
+ status: 404 | 409;
12895
12889
  input: {
12896
12890
  query: {
12897
12891
  path?: string | undefined;
@@ -12904,12 +12898,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12904
12898
  };
12905
12899
  } | {
12906
12900
  output: {
12907
- type: 'file';
12901
+ type: 'dir';
12908
12902
  path: string;
12909
- size: number;
12910
- binary: boolean;
12911
- tooLarge: boolean;
12912
- content?: string | undefined;
12903
+ entries: {
12904
+ name: string;
12905
+ type: 'dir' | 'file';
12906
+ size?: number;
12907
+ }[];
12913
12908
  };
12914
12909
  outputFormat: "json";
12915
12910
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12925,10 +12920,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12925
12920
  };
12926
12921
  } | {
12927
12922
  output: {
12928
- error: string;
12923
+ type: 'file';
12924
+ path: string;
12925
+ size: number;
12926
+ binary: boolean;
12927
+ tooLarge: boolean;
12928
+ content?: string | undefined;
12929
12929
  };
12930
12930
  outputFormat: "json";
12931
- status: 404 | 409;
12931
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12932
12932
  input: {
12933
12933
  query: {
12934
12934
  path?: string | undefined;
@@ -12945,11 +12945,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12945
12945
  "/runs/:id/git/commit": {
12946
12946
  $post: {
12947
12947
  output: {
12948
- committed: true;
12949
- sha: string;
12948
+ error: string;
12950
12949
  };
12951
12950
  outputFormat: "json";
12952
- status: import("hono/utils/http-status").ContentfulStatusCode;
12951
+ status: 404 | 409;
12953
12952
  input: {
12954
12953
  json: {
12955
12954
  message: string;
@@ -12961,10 +12960,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12961
12960
  };
12962
12961
  } | {
12963
12962
  output: {
12964
- error: string;
12963
+ committed: true;
12964
+ sha: string;
12965
12965
  };
12966
12966
  outputFormat: "json";
12967
- status: 404 | 409;
12967
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12968
12968
  input: {
12969
12969
  json: {
12970
12970
  message: string;
@@ -12980,13 +12980,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12980
12980
  "/runs/:id/git/push": {
12981
12981
  $post: {
12982
12982
  output: {
12983
- pushed: true;
12984
- branch: string;
12985
- remote: string;
12986
- upstreamSet: boolean;
12983
+ error: string;
12987
12984
  };
12988
12985
  outputFormat: "json";
12989
- status: import("hono/utils/http-status").ContentfulStatusCode;
12986
+ status: 404 | 409;
12990
12987
  input: {
12991
12988
  param: {
12992
12989
  id: string;
@@ -12994,10 +12991,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12994
12991
  };
12995
12992
  } | {
12996
12993
  output: {
12997
- error: string;
12994
+ pushed: true;
12995
+ branch: string;
12996
+ remote: string;
12997
+ upstreamSet: boolean;
12998
12998
  };
12999
12999
  outputFormat: "json";
13000
- status: 404 | 409;
13000
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13001
13001
  input: {
13002
13002
  param: {
13003
13003
  id: string;
@@ -13009,11 +13009,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13009
13009
  "/runs/:id/pr": {
13010
13010
  $post: {
13011
13011
  output: {
13012
- url: string;
13013
- dryRun: boolean;
13012
+ error: string;
13014
13013
  };
13015
13014
  outputFormat: "json";
13016
- status: 201;
13015
+ status: 404 | 409;
13017
13016
  input: {
13018
13017
  param: {
13019
13018
  id: string;
@@ -13021,10 +13020,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13021
13020
  };
13022
13021
  } | {
13023
13022
  output: {
13024
- error: string;
13023
+ url: string;
13024
+ dryRun: boolean;
13025
13025
  };
13026
13026
  outputFormat: "json";
13027
- status: 404 | 409;
13027
+ status: 201;
13028
13028
  input: {
13029
13029
  param: {
13030
13030
  id: string;
@@ -13036,10 +13036,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13036
13036
  "/runs/:id/remove-worktree": {
13037
13037
  $post: {
13038
13038
  output: {
13039
- removed: true;
13039
+ error: string;
13040
13040
  };
13041
13041
  outputFormat: "json";
13042
- status: import("hono/utils/http-status").ContentfulStatusCode;
13042
+ status: 404 | 409;
13043
13043
  input: {
13044
13044
  param: {
13045
13045
  id: string;
@@ -13047,10 +13047,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13047
13047
  };
13048
13048
  } | {
13049
13049
  output: {
13050
- error: string;
13050
+ removed: true;
13051
13051
  };
13052
13052
  outputFormat: "json";
13053
- status: 404 | 409;
13053
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13054
13054
  input: {
13055
13055
  param: {
13056
13056
  id: string;
@@ -13062,10 +13062,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13062
13062
  "/runs/:id": {
13063
13063
  $delete: {
13064
13064
  output: {
13065
- deleted: true;
13065
+ error: string;
13066
13066
  };
13067
13067
  outputFormat: "json";
13068
- status: import("hono/utils/http-status").ContentfulStatusCode;
13068
+ status: 404 | 409;
13069
13069
  input: {
13070
13070
  param: {
13071
13071
  id: string;
@@ -13073,10 +13073,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13073
13073
  };
13074
13074
  } | {
13075
13075
  output: {
13076
- error: string;
13076
+ deleted: true;
13077
13077
  };
13078
13078
  outputFormat: "json";
13079
- status: 404 | 409;
13079
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13080
13080
  input: {
13081
13081
  param: {
13082
13082
  id: string;