@hearsay-tools/squawk 0.19.0-pr4484.8849 → 0.19.0-pr4484.8850

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 (59) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/delegation/routes.d.ts +65 -65
  3. package/dist/server/models-routes.d.ts +12 -12
  4. package/dist/server/project-settings-routes.d.ts +107 -107
  5. package/dist/server/projects-routes.d.ts +45 -45
  6. package/dist/server/providers-routes.d.ts +57 -57
  7. package/dist/server/repo-routes.d.ts +13 -13
  8. package/dist/server/reports-api.d.ts +2 -2
  9. package/dist/server/runner-install-routes.d.ts +10 -10
  10. package/dist/server/runs-routes.d.ts +304 -304
  11. package/dist/server/server.d.ts +58 -58
  12. package/package.json +4 -4
  13. package/web/dist/assets/{accounts-section-BeOGiodx.js → accounts-section-CALgfypx.js} +1 -1
  14. package/web/dist/assets/{activity-motion-BraTC90V.js → activity-motion-CwoTyLTc.js} +1 -1
  15. package/web/dist/assets/{activity-route-BxxLXnNb.js → activity-route-W1NRNWvq.js} +1 -1
  16. package/web/dist/assets/{agent-config-section-iEj2kh_m.js → agent-config-section-DXWsanys.js} +1 -1
  17. package/web/dist/assets/{agent-defaults-section-CV2XEvs5.js → agent-defaults-section-D0NeN7qN.js} +1 -1
  18. package/web/dist/assets/{appearance-DEmDeQ3l.js → appearance-Bmi9MU9W.js} +1 -1
  19. package/web/dist/assets/{automations-route-OZkTyuRX.js → automations-route-Dxg-qV2s.js} +1 -1
  20. package/web/dist/assets/{commit-list-PAtV8gyX.js → commit-list-MNqrZTck.js} +1 -1
  21. package/web/dist/assets/{diff-DQk0ICL-.js → diff-BReXk0AE.js} +2 -2
  22. package/web/dist/assets/{diff-controls-Dd5I6mOy.js → diff-controls-DqY4cehO.js} +1 -1
  23. package/web/dist/assets/{diff-view-B3e1YF2x.js → diff-view-D1nb3txV.js} +1 -1
  24. package/web/dist/assets/{discard-changes-dialog-BoWRfvhX.js → discard-changes-dialog-BEr4Gv5U.js} +1 -1
  25. package/web/dist/assets/{file-preview-ifi0Ad8c.js → file-preview-UQdEe36n.js} +1 -1
  26. package/web/dist/assets/{git-toolbar-D6uMb1LN.js → git-toolbar-D_dDC5ZE.js} +1 -1
  27. package/web/dist/assets/{github-A5MyAvjo.js → github-C9W4I6yD.js} +1 -1
  28. package/web/dist/assets/{global-activity-route-BkuMl-UC.js → global-activity-route-DNpbLFDu.js} +1 -1
  29. package/web/dist/assets/{index-VBdx5s7U.js → index-C7ukwJOO.js} +4 -4
  30. package/web/dist/assets/{markdown-CsP_OLyU.js → markdown-b8MyAUDp.js} +1 -1
  31. package/web/dist/assets/{notifications-section-KQJtCs-m.js → notifications-section-Bvy3LbOJ.js} +1 -1
  32. package/web/dist/assets/{preview-pane-connected-VjTQEceM.js → preview-pane-connected-C6IuOaT9.js} +1 -1
  33. package/web/dist/assets/{projects-section-BhabP8vd.js → projects-section-K0fhDrEj.js} +1 -1
  34. package/web/dist/assets/{prompt-templates-section-AYpiCjmf.js → prompt-templates-section-DP-GGexo.js} +1 -1
  35. package/web/dist/assets/{remote-settings-notice-C3iWEGmH.js → remote-settings-notice-KcdQBtL-.js} +1 -1
  36. package/web/dist/assets/{repo-git-C01PFB-E.js → repo-git-Bl-UGHLp.js} +1 -1
  37. package/web/dist/assets/{report-reader-nz3V3Lz7.js → report-reader-DxXVIDXb.js} +1 -1
  38. package/web/dist/assets/{reports-DtZK4jOB.js → reports-BkjJG38e.js} +1 -1
  39. package/web/dist/assets/{resources-section-BRzB_Bhb.js → resources-section-CFGOWc9f.js} +1 -1
  40. package/web/dist/assets/{review-panel-DHJjHeaB.js → review-panel-DisWpJts.js} +2 -2
  41. package/web/dist/assets/{run-header-CSijv-YH.js → run-header-D9u31K9U.js} +1 -1
  42. package/web/dist/assets/{select-DlNVtWqZ.js → select-YPuWqDgO.js} +1 -1
  43. package/web/dist/assets/{session-context-section-Dv1cDixc.js → session-context-section-CzvC0X_b.js} +1 -1
  44. package/web/dist/assets/{settings-agent-picker-MdqbXV9H.js → settings-agent-picker-Z02e6RVV.js} +1 -1
  45. package/web/dist/assets/{settings-shell-CjvGzEXE.js → settings-shell-DR-433HV.js} +1 -1
  46. package/web/dist/assets/{sidebar-section-DZuA4Izw.js → sidebar-section-D-wqzWNv.js} +1 -1
  47. package/web/dist/assets/{skills-t0jRn0UI.js → skills-BDyzULcE.js} +1 -1
  48. package/web/dist/assets/{task-changes-BNpDXPcl.js → task-changes-C11YZQq2.js} +1 -1
  49. package/web/dist/assets/{task-commits-DPP79bjM.js → task-commits-BxqPChxL.js} +1 -1
  50. package/web/dist/assets/{task-file-scope-BpAU1GLy.js → task-file-scope-BoeMnbud.js} +1 -1
  51. package/web/dist/assets/{task-files-CcXwu4EQ.js → task-files-B4JXJy2m.js} +1 -1
  52. package/web/dist/assets/{task-github-item-DMFboxqX.js → task-github-item-B0f6abVK.js} +1 -1
  53. package/web/dist/assets/{task-thread-CoRkm48o.js → task-thread-DY8o4YFd.js} +1 -1
  54. package/web/dist/assets/{thread-state-BNR1qG2X.js → thread-state-BxL_gQIw.js} +1 -1
  55. package/web/dist/assets/{use-hand-to-agent-state-BFEdVZQu.js → use-hand-to-agent-state-DpXcBcBs.js} +1 -1
  56. package/web/dist/assets/{workflows-D9I4QGot.js → workflows-Wo4RiUBL.js} +3 -3
  57. package/web/dist/assets/{workspace-tools-Jy35o1XD.js → workspace-tools-ClZG9T6v.js} +1 -1
  58. package/web/dist/assets/{worktrees-section-DjWQgjF3.js → worktrees-section-BCuaXANJ.js} +1 -1
  59. package/web/dist/index.html +1 -1
@@ -1216,6 +1216,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1216
1216
  } & {
1217
1217
  "/run-summaries": {
1218
1218
  $get: {
1219
+ output: {
1220
+ error: string;
1221
+ code?: "invalid_input" | undefined;
1222
+ };
1223
+ outputFormat: "json";
1224
+ status: 400;
1225
+ input: {
1226
+ query: {
1227
+ archived?: "all" | "recent" | undefined;
1228
+ };
1229
+ };
1230
+ } | {
1219
1231
  output: {
1220
1232
  id: string;
1221
1233
  title: string;
@@ -1353,18 +1365,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1353
1365
  archived?: "all" | "recent" | undefined;
1354
1366
  };
1355
1367
  };
1356
- } | {
1357
- output: {
1358
- error: string;
1359
- code?: "invalid_input" | undefined;
1360
- };
1361
- outputFormat: "json";
1362
- status: 400;
1363
- input: {
1364
- query: {
1365
- archived?: "all" | "recent" | undefined;
1366
- };
1367
- };
1368
1368
  };
1369
1369
  };
1370
1370
  } & {
@@ -1726,22 +1726,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1726
1726
  "/runs/:id/worker-destroy": {
1727
1727
  $post: {
1728
1728
  output: {
1729
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1730
- readonly error: string;
1731
- readonly modelChoices?: {
1732
- runner: string;
1733
- requestedModel: string;
1734
- availableModels: {
1735
- id: string;
1736
- label: string;
1737
- description: string;
1738
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1739
- }[];
1740
- otherRunners: string[];
1729
+ workerId: string;
1730
+ state: "complete" | "incomplete";
1731
+ work?: {
1732
+ uncommittedFiles: number;
1733
+ commits: number;
1741
1734
  } | undefined;
1735
+ deleted?: ({
1736
+ kind: "worktree";
1737
+ path: string;
1738
+ } | {
1739
+ kind: "branch";
1740
+ ref: string;
1741
+ })[] | undefined;
1742
+ remaining: ("branch" | "process" | "worktree")[];
1743
+ error?: string | undefined;
1742
1744
  };
1743
1745
  outputFormat: "json";
1744
- status: 400 | 401 | 403 | 409 | 503;
1746
+ status: 200;
1745
1747
  input: {
1746
1748
  query: {
1747
1749
  [x: string]: string | string[];
@@ -1794,7 +1796,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1794
1796
  error?: string | undefined;
1795
1797
  };
1796
1798
  outputFormat: "json";
1797
- status: 200;
1799
+ status: 409;
1798
1800
  input: {
1799
1801
  query: {
1800
1802
  [x: string]: string | string[];
@@ -1810,24 +1812,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1810
1812
  };
1811
1813
  } | {
1812
1814
  output: {
1813
- workerId: string;
1814
- state: "complete" | "incomplete";
1815
- work?: {
1816
- uncommittedFiles: number;
1817
- commits: number;
1815
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1816
+ readonly error: string;
1817
+ readonly modelChoices?: {
1818
+ runner: string;
1819
+ requestedModel: string;
1820
+ availableModels: {
1821
+ id: string;
1822
+ label: string;
1823
+ description: string;
1824
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1825
+ }[];
1826
+ otherRunners: string[];
1818
1827
  } | undefined;
1819
- deleted?: ({
1820
- kind: "worktree";
1821
- path: string;
1822
- } | {
1823
- kind: "branch";
1824
- ref: string;
1825
- })[] | undefined;
1826
- remaining: ("branch" | "process" | "worktree")[];
1827
- error?: string | undefined;
1828
1828
  };
1829
1829
  outputFormat: "json";
1830
- status: 409;
1830
+ status: 400 | 401 | 403 | 409 | 503;
1831
1831
  input: {
1832
1832
  query: {
1833
1833
  [x: string]: string | string[];
@@ -1879,6 +1879,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1879
1879
  } & {
1880
1880
  "/runs/:id/archive": {
1881
1881
  $post: {
1882
+ output: {
1883
+ error: string;
1884
+ };
1885
+ outputFormat: "json";
1886
+ status: 404;
1887
+ input: {
1888
+ json: {
1889
+ archived?: boolean | undefined;
1890
+ };
1891
+ } & {
1892
+ param: {
1893
+ id: string;
1894
+ };
1895
+ };
1896
+ } | {
1882
1897
  output: {
1883
1898
  archiveWhenDone?: boolean | undefined;
1884
1899
  autoMergePr?: boolean | undefined;
@@ -3058,32 +3073,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3058
3073
  id: string;
3059
3074
  };
3060
3075
  };
3061
- } | {
3076
+ };
3077
+ };
3078
+ } & {
3079
+ "/runs/:id/pin": {
3080
+ $post: {
3062
3081
  output: {
3063
3082
  error: string;
3083
+ code?: "invalid_input" | undefined;
3064
3084
  };
3065
3085
  outputFormat: "json";
3066
- status: 404;
3086
+ status: 400;
3067
3087
  input: {
3068
- json: {
3069
- archived?: boolean | undefined;
3070
- };
3071
- } & {
3072
3088
  param: {
3073
3089
  id: string;
3074
3090
  };
3091
+ } & {
3092
+ json: {
3093
+ pinned?: boolean | undefined;
3094
+ };
3075
3095
  };
3076
- };
3077
- };
3078
- } & {
3079
- "/runs/:id/pin": {
3080
- $post: {
3096
+ } | {
3081
3097
  output: {
3082
3098
  error: string;
3083
- code?: "invalid_input" | undefined;
3084
3099
  };
3085
3100
  outputFormat: "json";
3086
- status: 400;
3101
+ status: 404;
3087
3102
  input: {
3088
3103
  param: {
3089
3104
  id: string;
@@ -4273,21 +4288,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4273
4288
  pinned?: boolean | undefined;
4274
4289
  };
4275
4290
  };
4276
- } | {
4277
- output: {
4278
- error: string;
4279
- };
4280
- outputFormat: "json";
4281
- status: 404;
4282
- input: {
4283
- param: {
4284
- id: string;
4285
- };
4286
- } & {
4287
- json: {
4288
- pinned?: boolean | undefined;
4289
- };
4290
- };
4291
4291
  };
4292
4292
  };
4293
4293
  } & {
@@ -4314,7 +4314,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4314
4314
  error: string;
4315
4315
  };
4316
4316
  outputFormat: "json";
4317
- status: 404;
4317
+ status: 400;
4318
4318
  input: {
4319
4319
  param: {
4320
4320
  id: string;
@@ -4330,7 +4330,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4330
4330
  error: string;
4331
4331
  };
4332
4332
  outputFormat: "json";
4333
- status: 400;
4333
+ status: 404;
4334
4334
  input: {
4335
4335
  param: {
4336
4336
  id: string;
@@ -5553,6 +5553,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5553
5553
  } & {
5554
5554
  "/runs/:id/read": {
5555
5555
  $post: {
5556
+ output: {
5557
+ error: string;
5558
+ };
5559
+ outputFormat: "json";
5560
+ status: 404;
5561
+ input: {
5562
+ param: {
5563
+ id: string;
5564
+ };
5565
+ };
5566
+ } | {
5556
5567
  output: {
5557
5568
  archiveWhenDone?: boolean | undefined;
5558
5569
  autoMergePr?: boolean | undefined;
@@ -6728,7 +6739,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6728
6739
  id: string;
6729
6740
  };
6730
6741
  };
6731
- } | {
6742
+ };
6743
+ };
6744
+ } & {
6745
+ "/runs/:id/unread": {
6746
+ $post: {
6732
6747
  output: {
6733
6748
  error: string;
6734
6749
  };
@@ -6739,11 +6754,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6739
6754
  id: string;
6740
6755
  };
6741
6756
  };
6742
- };
6743
- };
6744
- } & {
6745
- "/runs/:id/unread": {
6746
- $post: {
6757
+ } | {
6747
6758
  output: {
6748
6759
  archiveWhenDone?: boolean | undefined;
6749
6760
  autoMergePr?: boolean | undefined;
@@ -7919,17 +7930,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7919
7930
  id: string;
7920
7931
  };
7921
7932
  };
7922
- } | {
7923
- output: {
7924
- error: string;
7925
- };
7926
- outputFormat: "json";
7927
- status: 404;
7928
- input: {
7929
- param: {
7930
- id: string;
7931
- };
7932
- };
7933
7933
  };
7934
7934
  };
7935
7935
  } & {
@@ -9206,6 +9206,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9206
9206
  } & {
9207
9207
  "/runs/:id": {
9208
9208
  $get: {
9209
+ output: {
9210
+ error: string;
9211
+ };
9212
+ outputFormat: "json";
9213
+ status: 404;
9214
+ input: {
9215
+ param: {
9216
+ id: string;
9217
+ };
9218
+ };
9219
+ } | {
9209
9220
  output: {
9210
9221
  archiveWhenDone?: boolean | undefined;
9211
9222
  autoMergePr?: boolean | undefined;
@@ -10389,17 +10400,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10389
10400
  id: string;
10390
10401
  };
10391
10402
  };
10392
- } | {
10393
- output: {
10394
- error: string;
10395
- };
10396
- outputFormat: "json";
10397
- status: 404;
10398
- input: {
10399
- param: {
10400
- id: string;
10401
- };
10402
- };
10403
10403
  };
10404
10404
  };
10405
10405
  } & {
@@ -10528,32 +10528,92 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10528
10528
  "/runs/:id": {
10529
10529
  $patch: {
10530
10530
  output: {
10531
- archiveWhenDone?: boolean | undefined;
10532
- autoMergePr?: boolean | undefined;
10533
- allowWorkers?: boolean | undefined;
10534
- allowMessaging?: boolean | undefined;
10535
- id: string;
10536
- title: string;
10537
- titleSummary?: string | undefined;
10538
- diffStat?: {
10539
- adds: number;
10540
- dels: number;
10541
- files: number;
10542
- repointed?: boolean | undefined;
10543
- } | undefined;
10544
- workflow: string;
10545
- task: string;
10546
- queuedMessages?: {
10547
- replayAfterOpen?: true | undefined;
10531
+ error: string;
10532
+ };
10533
+ outputFormat: "json";
10534
+ status: 400;
10535
+ input: {
10536
+ json: {
10537
+ archiveWhenDone?: boolean | undefined;
10538
+ autoMergePr?: boolean | undefined;
10539
+ allowWorkers?: boolean | undefined;
10540
+ allowMessaging?: boolean | undefined;
10541
+ title?: string | undefined;
10542
+ task?: string | undefined;
10543
+ };
10544
+ } & {
10545
+ param: {
10548
10546
  id: string;
10549
- text: string;
10550
- images?: string[] | undefined;
10551
- createdAt: string;
10552
- }[] | undefined;
10553
- continuationMessage?: {
10554
- replayAfterOpen?: true | undefined;
10547
+ };
10548
+ };
10549
+ } | {
10550
+ output: {
10551
+ error: string;
10552
+ };
10553
+ outputFormat: "json";
10554
+ status: 404;
10555
+ input: {
10556
+ json: {
10557
+ archiveWhenDone?: boolean | undefined;
10558
+ autoMergePr?: boolean | undefined;
10559
+ allowWorkers?: boolean | undefined;
10560
+ allowMessaging?: boolean | undefined;
10561
+ title?: string | undefined;
10562
+ task?: string | undefined;
10563
+ };
10564
+ } & {
10565
+ param: {
10555
10566
  id: string;
10556
- text: string;
10567
+ };
10568
+ };
10569
+ } | {
10570
+ output: {
10571
+ error: string;
10572
+ };
10573
+ outputFormat: "json";
10574
+ status: 409;
10575
+ input: {
10576
+ json: {
10577
+ archiveWhenDone?: boolean | undefined;
10578
+ autoMergePr?: boolean | undefined;
10579
+ allowWorkers?: boolean | undefined;
10580
+ allowMessaging?: boolean | undefined;
10581
+ title?: string | undefined;
10582
+ task?: string | undefined;
10583
+ };
10584
+ } & {
10585
+ param: {
10586
+ id: string;
10587
+ };
10588
+ };
10589
+ } | {
10590
+ output: {
10591
+ archiveWhenDone?: boolean | undefined;
10592
+ autoMergePr?: boolean | undefined;
10593
+ allowWorkers?: boolean | undefined;
10594
+ allowMessaging?: boolean | undefined;
10595
+ id: string;
10596
+ title: string;
10597
+ titleSummary?: string | undefined;
10598
+ diffStat?: {
10599
+ adds: number;
10600
+ dels: number;
10601
+ files: number;
10602
+ repointed?: boolean | undefined;
10603
+ } | undefined;
10604
+ workflow: string;
10605
+ task: string;
10606
+ queuedMessages?: {
10607
+ replayAfterOpen?: true | undefined;
10608
+ id: string;
10609
+ text: string;
10610
+ images?: string[] | undefined;
10611
+ createdAt: string;
10612
+ }[] | undefined;
10613
+ continuationMessage?: {
10614
+ replayAfterOpen?: true | undefined;
10615
+ id: string;
10616
+ text: string;
10557
10617
  images?: string[] | undefined;
10558
10618
  createdAt: string;
10559
10619
  origin?: "human" | "lifecycle" | undefined;
@@ -11711,66 +11771,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11711
11771
  id: string;
11712
11772
  };
11713
11773
  };
11714
- } | {
11715
- output: {
11716
- error: string;
11717
- };
11718
- outputFormat: "json";
11719
- status: 404;
11720
- input: {
11721
- json: {
11722
- archiveWhenDone?: boolean | undefined;
11723
- autoMergePr?: boolean | undefined;
11724
- allowWorkers?: boolean | undefined;
11725
- allowMessaging?: boolean | undefined;
11726
- title?: string | undefined;
11727
- task?: string | undefined;
11728
- };
11729
- } & {
11730
- param: {
11731
- id: string;
11732
- };
11733
- };
11734
- } | {
11735
- output: {
11736
- error: string;
11737
- };
11738
- outputFormat: "json";
11739
- status: 400;
11740
- input: {
11741
- json: {
11742
- archiveWhenDone?: boolean | undefined;
11743
- autoMergePr?: boolean | undefined;
11744
- allowWorkers?: boolean | undefined;
11745
- allowMessaging?: boolean | undefined;
11746
- title?: string | undefined;
11747
- task?: string | undefined;
11748
- };
11749
- } & {
11750
- param: {
11751
- id: string;
11752
- };
11753
- };
11754
- } | {
11755
- output: {
11756
- error: string;
11757
- };
11758
- outputFormat: "json";
11759
- status: 409;
11760
- input: {
11761
- json: {
11762
- archiveWhenDone?: boolean | undefined;
11763
- autoMergePr?: boolean | undefined;
11764
- allowWorkers?: boolean | undefined;
11765
- allowMessaging?: boolean | undefined;
11766
- title?: string | undefined;
11767
- task?: string | undefined;
11768
- };
11769
- } & {
11770
- param: {
11771
- id: string;
11772
- };
11773
- };
11774
11774
  };
11775
11775
  };
11776
11776
  } & {
@@ -11875,7 +11875,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11875
11875
  error: string;
11876
11876
  };
11877
11877
  outputFormat: "json";
11878
- status: 404;
11878
+ status: 400;
11879
11879
  input: {
11880
11880
  json: {
11881
11881
  text?: string | undefined;
@@ -11894,7 +11894,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11894
11894
  error: string;
11895
11895
  };
11896
11896
  outputFormat: "json";
11897
- status: 409;
11897
+ status: 404;
11898
11898
  input: {
11899
11899
  json: {
11900
11900
  text?: string | undefined;
@@ -11910,10 +11910,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11910
11910
  };
11911
11911
  } | {
11912
11912
  output: {
11913
- delivered: true;
11913
+ error: string;
11914
11914
  };
11915
11915
  outputFormat: "json";
11916
- status: import("hono/utils/http-status").ContentfulStatusCode;
11916
+ status: 409;
11917
11917
  input: {
11918
11918
  json: {
11919
11919
  text?: string | undefined;
@@ -11929,10 +11929,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11929
11929
  };
11930
11930
  } | {
11931
11931
  output: {
11932
- error: string;
11932
+ delivered: true;
11933
11933
  };
11934
11934
  outputFormat: "json";
11935
- status: 400;
11935
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11936
11936
  input: {
11937
11937
  json: {
11938
11938
  text?: string | undefined;
@@ -12000,7 +12000,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12000
12000
  error: string;
12001
12001
  };
12002
12002
  outputFormat: "json";
12003
- status: 404;
12003
+ status: 400;
12004
12004
  input: {
12005
12005
  json: {
12006
12006
  text?: string | undefined;
@@ -12021,7 +12021,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12021
12021
  error: string;
12022
12022
  };
12023
12023
  outputFormat: "json";
12024
- status: 400;
12024
+ status: 404;
12025
12025
  input: {
12026
12026
  json: {
12027
12027
  text?: string | undefined;
@@ -12241,10 +12241,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12241
12241
  "/runs/:id/open-in-cli": {
12242
12242
  $post: {
12243
12243
  output: {
12244
- error: string;
12244
+ opened: true;
12245
+ command: string;
12245
12246
  };
12246
12247
  outputFormat: "json";
12247
- status: 404 | 409;
12248
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12248
12249
  input: {
12249
12250
  param: {
12250
12251
  id: string;
@@ -12252,11 +12253,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12252
12253
  };
12253
12254
  } | {
12254
12255
  output: {
12255
- opened: true;
12256
- command: string;
12256
+ error: string;
12257
12257
  };
12258
12258
  outputFormat: "json";
12259
- status: import("hono/utils/http-status").ContentfulStatusCode;
12259
+ status: 404 | 409;
12260
12260
  input: {
12261
12261
  param: {
12262
12262
  id: string;
@@ -12271,7 +12271,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12271
12271
  error: string;
12272
12272
  };
12273
12273
  outputFormat: "json";
12274
- status: 404 | 409;
12274
+ status: 400;
12275
12275
  input: {
12276
12276
  json: {
12277
12277
  target: string;
@@ -12284,10 +12284,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12284
12284
  };
12285
12285
  } | {
12286
12286
  output: {
12287
- error: string;
12287
+ opened: true;
12288
+ path: string;
12288
12289
  };
12289
12290
  outputFormat: "json";
12290
- status: 400;
12291
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12291
12292
  input: {
12292
12293
  json: {
12293
12294
  target: string;
@@ -12300,11 +12301,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12300
12301
  };
12301
12302
  } | {
12302
12303
  output: {
12303
- opened: true;
12304
- path: string;
12304
+ error: string;
12305
12305
  };
12306
12306
  outputFormat: "json";
12307
- status: import("hono/utils/http-status").ContentfulStatusCode;
12307
+ status: 404 | 409;
12308
12308
  input: {
12309
12309
  json: {
12310
12310
  target: string;
@@ -12344,9 +12344,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12344
12344
  } & {
12345
12345
  "/runs/:id/images/:file": {
12346
12346
  $get: {
12347
- output: {};
12348
- outputFormat: string;
12349
- status: import("hono/utils/http-status").StatusCode;
12347
+ output: {
12348
+ error: string;
12349
+ code?: "invalid_input" | undefined;
12350
+ };
12351
+ outputFormat: "json";
12352
+ status: 400;
12350
12353
  input: {
12351
12354
  param: {
12352
12355
  id: string;
@@ -12354,12 +12357,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12354
12357
  };
12355
12358
  };
12356
12359
  } | {
12357
- output: {
12358
- error: string;
12359
- code?: "invalid_input" | undefined;
12360
- };
12361
- outputFormat: "json";
12362
- status: 400;
12360
+ output: {};
12361
+ outputFormat: string;
12362
+ status: import("hono/utils/http-status").StatusCode;
12363
12363
  input: {
12364
12364
  param: {
12365
12365
  id: string;
@@ -12395,17 +12395,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12395
12395
  } & {
12396
12396
  "/runs/:id/changes": {
12397
12397
  $get: {
12398
- output: {
12399
- error: string;
12400
- };
12401
- outputFormat: "json";
12402
- status: 404 | 409;
12403
- input: {
12404
- param: {
12405
- id: string;
12406
- };
12407
- };
12408
- } | {
12409
12398
  output: {
12410
12399
  files: {
12411
12400
  path: string;
@@ -12434,11 +12423,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12434
12423
  id: string;
12435
12424
  };
12436
12425
  };
12437
- };
12438
- };
12439
- } & {
12440
- "/runs/:id/commits": {
12441
- $get: {
12426
+ } | {
12442
12427
  output: {
12443
12428
  error: string;
12444
12429
  };
@@ -12449,7 +12434,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12449
12434
  id: string;
12450
12435
  };
12451
12436
  };
12452
- } | {
12437
+ };
12438
+ };
12439
+ } & {
12440
+ "/runs/:id/commits": {
12441
+ $get: {
12453
12442
  output: {
12454
12443
  commits: {
12455
12444
  sha: string;
@@ -12465,11 +12454,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12465
12454
  id: string;
12466
12455
  };
12467
12456
  };
12468
- };
12469
- };
12470
- } & {
12471
- "/runs/:id/commit/:sha": {
12472
- $get: {
12457
+ } | {
12473
12458
  output: {
12474
12459
  error: string;
12475
12460
  };
@@ -12478,11 +12463,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12478
12463
  input: {
12479
12464
  param: {
12480
12465
  id: string;
12481
- } & {
12482
- sha: string;
12483
12466
  };
12484
12467
  };
12485
- } | {
12468
+ };
12469
+ };
12470
+ } & {
12471
+ "/runs/:id/commit/:sha": {
12472
+ $get: {
12486
12473
  output: {
12487
12474
  sha: string;
12488
12475
  subject: string;
@@ -12513,6 +12500,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12513
12500
  sha: string;
12514
12501
  };
12515
12502
  };
12503
+ } | {
12504
+ output: {
12505
+ error: string;
12506
+ };
12507
+ outputFormat: "json";
12508
+ status: 404 | 409;
12509
+ input: {
12510
+ param: {
12511
+ id: string;
12512
+ } & {
12513
+ sha: string;
12514
+ };
12515
+ };
12516
12516
  };
12517
12517
  };
12518
12518
  } & {
@@ -12548,22 +12548,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12548
12548
  raw?: "1" | undefined;
12549
12549
  };
12550
12550
  };
12551
- } | {
12552
- output: {
12553
- error: string;
12554
- };
12555
- outputFormat: "json";
12556
- status: 404 | 409;
12557
- input: {
12558
- param: {
12559
- id: string;
12560
- };
12561
- } & {
12562
- query: {
12563
- path: string | string[];
12564
- raw?: "1" | undefined;
12565
- };
12566
- };
12567
12551
  } | {
12568
12552
  output: {
12569
12553
  type: "file";
@@ -12600,6 +12584,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12600
12584
  raw?: "1" | undefined;
12601
12585
  };
12602
12586
  };
12587
+ } | {
12588
+ output: {
12589
+ error: string;
12590
+ };
12591
+ outputFormat: "json";
12592
+ status: 404 | 409;
12593
+ input: {
12594
+ param: {
12595
+ id: string;
12596
+ };
12597
+ } & {
12598
+ query: {
12599
+ path: string | string[];
12600
+ raw?: "1" | undefined;
12601
+ };
12602
+ };
12603
12603
  };
12604
12604
  };
12605
12605
  } & {
@@ -12664,6 +12664,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12664
12664
  artifactId: string;
12665
12665
  };
12666
12666
  };
12667
+ } | {
12668
+ output: {
12669
+ error: string;
12670
+ };
12671
+ outputFormat: "json";
12672
+ status: 404;
12673
+ input: {
12674
+ param: {
12675
+ id: string;
12676
+ artifactId: string;
12677
+ };
12678
+ };
12667
12679
  } | {
12668
12680
  output: {
12669
12681
  type: "file";
@@ -12692,18 +12704,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12692
12704
  artifactId: string;
12693
12705
  };
12694
12706
  };
12695
- } | {
12696
- output: {
12697
- error: string;
12698
- };
12699
- outputFormat: "json";
12700
- status: 404;
12701
- input: {
12702
- param: {
12703
- id: string;
12704
- artifactId: string;
12705
- };
12706
- };
12707
12707
  };
12708
12708
  };
12709
12709
  } & {
@@ -12881,10 +12881,16 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12881
12881
  };
12882
12882
  } | {
12883
12883
  output: {
12884
- error: string;
12884
+ type: 'dir';
12885
+ path: string;
12886
+ entries: {
12887
+ name: string;
12888
+ type: 'dir' | 'file';
12889
+ size?: number;
12890
+ }[];
12885
12891
  };
12886
12892
  outputFormat: "json";
12887
- status: 404 | 409;
12893
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12888
12894
  input: {
12889
12895
  query: {
12890
12896
  path?: string | undefined;
@@ -12897,13 +12903,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12897
12903
  };
12898
12904
  } | {
12899
12905
  output: {
12900
- type: 'dir';
12906
+ type: 'file';
12901
12907
  path: string;
12902
- entries: {
12903
- name: string;
12904
- type: 'dir' | 'file';
12905
- size?: number;
12906
- }[];
12908
+ size: number;
12909
+ binary: boolean;
12910
+ tooLarge: boolean;
12911
+ content?: string | undefined;
12907
12912
  };
12908
12913
  outputFormat: "json";
12909
12914
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12919,15 +12924,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12919
12924
  };
12920
12925
  } | {
12921
12926
  output: {
12922
- type: 'file';
12923
- path: string;
12924
- size: number;
12925
- binary: boolean;
12926
- tooLarge: boolean;
12927
- content?: string | undefined;
12927
+ error: string;
12928
12928
  };
12929
12929
  outputFormat: "json";
12930
- status: import("hono/utils/http-status").ContentfulStatusCode;
12930
+ status: 404 | 409;
12931
12931
  input: {
12932
12932
  query: {
12933
12933
  path?: string | undefined;
@@ -12944,10 +12944,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12944
12944
  "/runs/:id/git/commit": {
12945
12945
  $post: {
12946
12946
  output: {
12947
- error: string;
12947
+ committed: true;
12948
+ sha: string;
12948
12949
  };
12949
12950
  outputFormat: "json";
12950
- status: 404 | 409;
12951
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12951
12952
  input: {
12952
12953
  json: {
12953
12954
  message: string;
@@ -12959,11 +12960,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12959
12960
  };
12960
12961
  } | {
12961
12962
  output: {
12962
- committed: true;
12963
- sha: string;
12963
+ error: string;
12964
12964
  };
12965
12965
  outputFormat: "json";
12966
- status: import("hono/utils/http-status").ContentfulStatusCode;
12966
+ status: 404 | 409;
12967
12967
  input: {
12968
12968
  json: {
12969
12969
  message: string;
@@ -12979,10 +12979,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12979
12979
  "/runs/:id/git/push": {
12980
12980
  $post: {
12981
12981
  output: {
12982
- error: string;
12982
+ pushed: true;
12983
+ branch: string;
12984
+ remote: string;
12985
+ upstreamSet: boolean;
12983
12986
  };
12984
12987
  outputFormat: "json";
12985
- status: 404 | 409;
12988
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12986
12989
  input: {
12987
12990
  param: {
12988
12991
  id: string;
@@ -12990,13 +12993,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12990
12993
  };
12991
12994
  } | {
12992
12995
  output: {
12993
- pushed: true;
12994
- branch: string;
12995
- remote: string;
12996
- upstreamSet: boolean;
12996
+ error: string;
12997
12997
  };
12998
12998
  outputFormat: "json";
12999
- status: import("hono/utils/http-status").ContentfulStatusCode;
12999
+ status: 404 | 409;
13000
13000
  input: {
13001
13001
  param: {
13002
13002
  id: string;
@@ -13008,10 +13008,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13008
13008
  "/runs/:id/pr": {
13009
13009
  $post: {
13010
13010
  output: {
13011
- error: string;
13011
+ url: string;
13012
+ dryRun: boolean;
13012
13013
  };
13013
13014
  outputFormat: "json";
13014
- status: 404 | 409;
13015
+ status: 201;
13015
13016
  input: {
13016
13017
  param: {
13017
13018
  id: string;
@@ -13019,11 +13020,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13019
13020
  };
13020
13021
  } | {
13021
13022
  output: {
13022
- url: string;
13023
- dryRun: boolean;
13023
+ error: string;
13024
13024
  };
13025
13025
  outputFormat: "json";
13026
- status: 201;
13026
+ status: 404 | 409;
13027
13027
  input: {
13028
13028
  param: {
13029
13029
  id: string;
@@ -13035,10 +13035,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13035
13035
  "/runs/:id/remove-worktree": {
13036
13036
  $post: {
13037
13037
  output: {
13038
- error: string;
13038
+ removed: true;
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;
@@ -13046,10 +13046,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13046
13046
  };
13047
13047
  } | {
13048
13048
  output: {
13049
- removed: true;
13049
+ error: string;
13050
13050
  };
13051
13051
  outputFormat: "json";
13052
- status: import("hono/utils/http-status").ContentfulStatusCode;
13052
+ status: 404 | 409;
13053
13053
  input: {
13054
13054
  param: {
13055
13055
  id: string;
@@ -13061,10 +13061,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13061
13061
  "/runs/:id": {
13062
13062
  $delete: {
13063
13063
  output: {
13064
- error: string;
13064
+ deleted: true;
13065
13065
  };
13066
13066
  outputFormat: "json";
13067
- status: 404 | 409;
13067
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13068
13068
  input: {
13069
13069
  param: {
13070
13070
  id: string;
@@ -13072,10 +13072,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13072
13072
  };
13073
13073
  } | {
13074
13074
  output: {
13075
- deleted: true;
13075
+ error: string;
13076
13076
  };
13077
13077
  outputFormat: "json";
13078
- status: import("hono/utils/http-status").ContentfulStatusCode;
13078
+ status: 404 | 409;
13079
13079
  input: {
13080
13080
  param: {
13081
13081
  id: string;