@hearsay-tools/squawk 0.19.0-dev.9242 → 0.19.0-dev.9260

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 (93) hide show
  1. package/dist/contract/index.js +16 -1
  2. package/dist/contract/task-result.d.ts +11 -0
  3. package/dist/delegation/transport.d.ts +78 -78
  4. package/dist/features/mcp/tools.js +37 -1
  5. package/dist/features/mcp/tools.js.map +1 -1
  6. package/dist/features/reports/routes.d.ts +2 -2
  7. package/dist/server/activity-routes.d.ts +23 -23
  8. package/dist/server/projects-routes.d.ts +41 -41
  9. package/dist/server/runs-routes.d.ts +501 -323
  10. package/dist/server/runs-routes.js +20 -0
  11. package/dist/server/runs-routes.js.map +1 -1
  12. package/dist/server/server.d.ts +356 -0
  13. package/dist/task-cli/cli.js +39 -4
  14. package/dist/task-cli/cli.js.map +1 -1
  15. package/dist/task-cli/operations.d.ts +8 -0
  16. package/dist/task-cli/operations.js +21 -0
  17. package/dist/task-cli/operations.js.map +1 -1
  18. package/package.json +4 -4
  19. package/web/dist/assets/{accounts-section-BOZ9JyE6.js → accounts-section-BROiR4ew.js} +1 -1
  20. package/web/dist/assets/{activity-motion-D48R7Vry.js → activity-motion-BWSUUfiT.js} +1 -1
  21. package/web/dist/assets/{activity-route-jcGRtnMT.js → activity-route-B2N8ZaZ_.js} +1 -1
  22. package/web/dist/assets/{agent-accounts-CUthX0Yh.js → agent-accounts-DjIbGucr.js} +1 -1
  23. package/web/dist/assets/{agent-config-section-BvwoyNZb.js → agent-config-section-Ck4CXMFm.js} +1 -1
  24. package/web/dist/assets/{agent-defaults-section-Hb-jy4TN.js → agent-defaults-section-CSonqNrH.js} +1 -1
  25. package/web/dist/assets/{appearance-EXKzoghV.js → appearance-CtRi80xH.js} +1 -1
  26. package/web/dist/assets/{archive-on-merge-field-Ni7bKGkG.js → archive-on-merge-field-DWIBlp84.js} +1 -1
  27. package/web/dist/assets/{ask-card-CkE44gm3.js → ask-card-Cr2AS4K4.js} +1 -1
  28. package/web/dist/assets/{automations-route-3bhtdTy3.js → automations-route-iHpqtQ2V.js} +1 -1
  29. package/web/dist/assets/{commit-list-DSw7qvVY.js → commit-list-BjI9yFlp.js} +1 -1
  30. package/web/dist/assets/{diff-BidPzsVK.js → diff-BKikntA1.js} +2 -2
  31. package/web/dist/assets/{diff-controls-DeMSGYln.js → diff-controls-DXLI7YrY.js} +1 -1
  32. package/web/dist/assets/{diff-view-BqU4sJld.js → diff-view-NHfT1G3r.js} +1 -1
  33. package/web/dist/assets/{discard-changes-dialog-B1AO0GSt.js → discard-changes-dialog-COQOWWB4.js} +1 -1
  34. package/web/dist/assets/{file-preview-BIZXTzkp.js → file-preview-CuynH2GY.js} +1 -1
  35. package/web/dist/assets/{folder-browser-C9Phl0rS.js → folder-browser-p1qA81Do.js} +1 -1
  36. package/web/dist/assets/{git-toolbar-BBon1yHh.js → git-toolbar-C27plnSQ.js} +1 -1
  37. package/web/dist/assets/{github-QOB5Qi4v.js → github-BVFqmL19.js} +1 -1
  38. package/web/dist/assets/{global-activity-route-lSnYAZE9.js → global-activity-route-DUa3ZKH5.js} +1 -1
  39. package/web/dist/assets/{hosts-DDwDUxT9.js → hosts-dk-7MbxQ.js} +1 -1
  40. package/web/dist/assets/{index-BuR9xHfb.js → index-BMO-SCLT.js} +5 -5
  41. package/web/dist/assets/{label-D6vgq5lF.js → label-B4KzRUWE.js} +1 -1
  42. package/web/dist/assets/{markdown-A6dvDky9.js → markdown-RyIndDEG.js} +1 -1
  43. package/web/dist/assets/{open-in-menu-Bb_jc7pm.js → open-in-menu-GSvSbohX.js} +1 -1
  44. package/web/dist/assets/{option-select-CCpypHbW.js → option-select-DRpdIulm.js} +1 -1
  45. package/web/dist/assets/{preferences-section-B75Zx0mY.js → preferences-section-PTJo2Ohl.js} +1 -1
  46. package/web/dist/assets/{preview-DiBpgf-5.js → preview-B13nIXDV.js} +1 -1
  47. package/web/dist/assets/{preview-pane-connected-BVu2oO0V.js → preview-pane-connected-B9GKjFwm.js} +1 -1
  48. package/web/dist/assets/{project-location-D1etWKHg.js → project-location-BE1vP9ox.js} +1 -1
  49. package/web/dist/assets/{project-router-yoWCTDaT.js → project-router-Bl7pejIP.js} +1 -1
  50. package/web/dist/assets/project-scope-context-BT4qzyOz.js +4 -0
  51. package/web/dist/assets/{projects-section-BRnIJ47e.js → projects-section-B3-nydjA.js} +1 -1
  52. package/web/dist/assets/{prompt-templates-section-D7JLM5BM.js → prompt-templates-section-JgrQfgx0.js} +1 -1
  53. package/web/dist/assets/{queries-ChH9ctc-.js → queries-CzUiyqt4.js} +1 -1
  54. package/web/dist/assets/{reference-chip-BPRZm7Kb.js → reference-chip-jxISA5ls.js} +1 -1
  55. package/web/dist/assets/{remote-settings-notice-Ip6H5hLU.js → remote-settings-notice-BihAOLqD.js} +1 -1
  56. package/web/dist/assets/{repo-git-Wf30akEt.js → repo-git-B1q5EsnP.js} +1 -1
  57. package/web/dist/assets/{report-reader-DhcZcNql.js → report-reader-DjeG4XbX.js} +1 -1
  58. package/web/dist/assets/{report-selection-CwPw7vbG.js → report-selection-DBxcKtc9.js} +1 -1
  59. package/web/dist/assets/{reports-DPKDwzxY.js → reports-DWiYYakL.js} +1 -1
  60. package/web/dist/assets/{resources-section-DaWcyqur.js → resources-section-DWjxu1Aj.js} +1 -1
  61. package/web/dist/assets/{review-notes-drafts-D7QuBuTL.js → review-notes-drafts-iAtTr6a6.js} +1 -1
  62. package/web/dist/assets/{review-panel-Bpxl4TvO.js → review-panel-DPRxBYq7.js} +1 -1
  63. package/web/dist/assets/{review-strip-Da5n1k8s.js → review-strip-S4KkkMIo.js} +1 -1
  64. package/web/dist/assets/{run-detail-refresh-CVSK_VKG.js → run-detail-refresh-e7rB9lt5.js} +1 -1
  65. package/web/dist/assets/{run-diff-CPuNFD3X.js → run-diff-QWOM0ICK.js} +1 -1
  66. package/web/dist/assets/{run-header-B8EAOHFc.js → run-header-BNh2z4aw.js} +1 -1
  67. package/web/dist/assets/{select-xjUzLrk9.js → select-DlJM2_n-.js} +1 -1
  68. package/web/dist/assets/{session-context-section-C7OTexKU.js → session-context-section-vdKhbdZx.js} +1 -1
  69. package/web/dist/assets/{settings-agent-picker-mESK-hj4.js → settings-agent-picker-tNi4Xm3k.js} +1 -1
  70. package/web/dist/assets/{settings-save-bar-BUaa1kHw.js → settings-save-bar-fQqyWU1c.js} +1 -1
  71. package/web/dist/assets/{settings-shell-BKSsBxqQ.js → settings-shell-B-pmSB5-.js} +1 -1
  72. package/web/dist/assets/{sidebar-section-BFBZlQ-x.js → sidebar-section-DBgf2u5s.js} +1 -1
  73. package/web/dist/assets/{skills-BSqszv5g.js → skills-BePs-LtJ.js} +1 -1
  74. package/web/dist/assets/{status-dot-Fp5SnPHI.js → status-dot-BlqTixB7.js} +1 -1
  75. package/web/dist/assets/{tab-link-j06AaWSU.js → tab-link-tv_Wy5eF.js} +1 -1
  76. package/web/dist/assets/{task-changes-B4KFHxVa.js → task-changes-D-ehUptL.js} +1 -1
  77. package/web/dist/assets/{task-commits-D-UAUoZ5.js → task-commits-BgDfumUM.js} +1 -1
  78. package/web/dist/assets/{task-file-scope-BhWG35a8.js → task-file-scope-Bqt2wkkO.js} +1 -1
  79. package/web/dist/assets/{task-files-BOCx_Lp0.js → task-files-BME7tXzx.js} +1 -1
  80. package/web/dist/assets/{task-github-item-CZqaaxNv.js → task-github-item-BQL_jlnH.js} +1 -1
  81. package/web/dist/assets/{task-thread-D3d419VX.js → task-thread-D-BHmr_Z.js} +1 -1
  82. package/web/dist/assets/{thread-state-B0pz2Y8K.js → thread-state-DWcNrVOV.js} +1 -1
  83. package/web/dist/assets/{use-finish-run-TX3pIPCS.js → use-finish-run-B4gkbFl_.js} +1 -1
  84. package/web/dist/assets/{use-hand-to-agent-state-D2oChRzw.js → use-hand-to-agent-state-7ItPHT6A.js} +1 -1
  85. package/web/dist/assets/use-path-bases-DfSirdvs.js +1 -0
  86. package/web/dist/assets/use-workspace-config-save-Dz8Cl7MP.js +1 -0
  87. package/web/dist/assets/{workflows-BwzNhxT0.js → workflows-CFKtz_8t.js} +1 -1
  88. package/web/dist/assets/{workspace-tools-Be_j9oke.js → workspace-tools-CBQyH8IV.js} +1 -1
  89. package/web/dist/assets/{worktrees-section-cnibWU5-.js → worktrees-section-CA7lv70p.js} +1 -1
  90. package/web/dist/index.html +14 -14
  91. package/web/dist/assets/project-scope-context-hfRzPMZ4.js +0 -4
  92. package/web/dist/assets/use-path-bases-DFxEHoyU.js +0 -1
  93. package/web/dist/assets/use-workspace-config-save-DR8brU5p.js +0 -1
@@ -1234,6 +1234,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1234
1234
  } & {
1235
1235
  "/run-summaries": {
1236
1236
  $get: {
1237
+ output: {
1238
+ error: string;
1239
+ code?: "invalid_input" | undefined;
1240
+ };
1241
+ outputFormat: "json";
1242
+ status: 400;
1243
+ input: {
1244
+ query: {
1245
+ archived?: "all" | "recent" | undefined;
1246
+ };
1247
+ };
1248
+ } | {
1237
1249
  output: {
1238
1250
  id: string;
1239
1251
  title: string;
@@ -1371,18 +1383,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1371
1383
  archived?: "all" | "recent" | undefined;
1372
1384
  };
1373
1385
  };
1374
- } | {
1375
- output: {
1376
- error: string;
1377
- code?: "invalid_input" | undefined;
1378
- };
1379
- outputFormat: "json";
1380
- status: 400;
1381
- input: {
1382
- query: {
1383
- archived?: "all" | "recent" | undefined;
1384
- };
1385
- };
1386
1386
  };
1387
1387
  };
1388
1388
  } & {
@@ -1744,11 +1744,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1744
1744
  "/runs/:id/worker-destroy": {
1745
1745
  $post: {
1746
1746
  output: {
1747
- error: string;
1748
- code?: "invalid_input" | undefined;
1747
+ workerId: string;
1748
+ state: "complete" | "incomplete";
1749
+ work?: {
1750
+ uncommittedFiles: number;
1751
+ commits: number;
1752
+ } | undefined;
1753
+ deleted?: ({
1754
+ kind: "worktree";
1755
+ path: string;
1756
+ } | {
1757
+ kind: "branch";
1758
+ ref: string;
1759
+ })[] | undefined;
1760
+ remaining: ("branch" | "process" | "worktree")[];
1761
+ error?: string | undefined;
1749
1762
  };
1750
1763
  outputFormat: "json";
1751
- status: 400;
1764
+ status: 200;
1752
1765
  input: {
1753
1766
  query: {
1754
1767
  [x: string]: string | string[];
@@ -1764,22 +1777,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1764
1777
  };
1765
1778
  } | {
1766
1779
  output: {
1767
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1768
- readonly error: string;
1769
- readonly modelChoices?: {
1770
- runner: string;
1771
- requestedModel: string;
1772
- availableModels: {
1773
- id: string;
1774
- label: string;
1775
- description: string;
1776
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1777
- }[];
1778
- otherRunners: string[];
1779
- } | undefined;
1780
+ error: string;
1781
+ code?: "invalid_input" | undefined;
1780
1782
  };
1781
1783
  outputFormat: "json";
1782
- status: 400 | 401 | 403 | 409 | 503;
1784
+ status: 400;
1783
1785
  input: {
1784
1786
  query: {
1785
1787
  [x: string]: string | string[];
@@ -1812,7 +1814,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1812
1814
  error?: string | undefined;
1813
1815
  };
1814
1816
  outputFormat: "json";
1815
- status: 200;
1817
+ status: 409;
1816
1818
  input: {
1817
1819
  query: {
1818
1820
  [x: string]: string | string[];
@@ -1828,24 +1830,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1828
1830
  };
1829
1831
  } | {
1830
1832
  output: {
1831
- workerId: string;
1832
- state: "complete" | "incomplete";
1833
- work?: {
1834
- uncommittedFiles: number;
1835
- commits: number;
1833
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1834
+ readonly error: string;
1835
+ readonly modelChoices?: {
1836
+ runner: string;
1837
+ requestedModel: string;
1838
+ availableModels: {
1839
+ id: string;
1840
+ label: string;
1841
+ description: string;
1842
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1843
+ }[];
1844
+ otherRunners: string[];
1836
1845
  } | undefined;
1837
- deleted?: ({
1838
- kind: "worktree";
1839
- path: string;
1840
- } | {
1841
- kind: "branch";
1842
- ref: string;
1843
- })[] | undefined;
1844
- remaining: ("branch" | "process" | "worktree")[];
1845
- error?: string | undefined;
1846
1846
  };
1847
1847
  outputFormat: "json";
1848
- status: 409;
1848
+ status: 400 | 401 | 403 | 409 | 503;
1849
1849
  input: {
1850
1850
  query: {
1851
1851
  [x: string]: string | string[];
@@ -1897,6 +1897,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1897
1897
  } & {
1898
1898
  "/runs/:id/archive": {
1899
1899
  $post: {
1900
+ output: {
1901
+ error: string;
1902
+ };
1903
+ outputFormat: "json";
1904
+ status: 404;
1905
+ input: {
1906
+ json: {
1907
+ archived?: boolean | undefined;
1908
+ };
1909
+ } & {
1910
+ param: {
1911
+ id: string;
1912
+ };
1913
+ };
1914
+ } | {
1900
1915
  output: {
1901
1916
  archiveWhenDone?: boolean | undefined;
1902
1917
  autoMergePr?: boolean | undefined;
@@ -3095,32 +3110,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3095
3110
  id: string;
3096
3111
  };
3097
3112
  };
3098
- } | {
3113
+ };
3114
+ };
3115
+ } & {
3116
+ "/runs/:id/pin": {
3117
+ $post: {
3099
3118
  output: {
3100
3119
  error: string;
3120
+ code?: "invalid_input" | undefined;
3101
3121
  };
3102
3122
  outputFormat: "json";
3103
- status: 404;
3123
+ status: 400;
3104
3124
  input: {
3105
- json: {
3106
- archived?: boolean | undefined;
3107
- };
3108
- } & {
3109
3125
  param: {
3110
3126
  id: string;
3111
3127
  };
3128
+ } & {
3129
+ json: {
3130
+ pinned?: boolean | undefined;
3131
+ };
3112
3132
  };
3113
- };
3114
- };
3115
- } & {
3116
- "/runs/:id/pin": {
3117
- $post: {
3133
+ } | {
3118
3134
  output: {
3119
3135
  error: string;
3120
- code?: "invalid_input" | undefined;
3121
3136
  };
3122
3137
  outputFormat: "json";
3123
- status: 400;
3138
+ status: 404;
3124
3139
  input: {
3125
3140
  param: {
3126
3141
  id: string;
@@ -4329,21 +4344,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4329
4344
  pinned?: boolean | undefined;
4330
4345
  };
4331
4346
  };
4332
- } | {
4333
- output: {
4334
- error: string;
4335
- };
4336
- outputFormat: "json";
4337
- status: 404;
4338
- input: {
4339
- param: {
4340
- id: string;
4341
- };
4342
- } & {
4343
- json: {
4344
- pinned?: boolean | undefined;
4345
- };
4346
- };
4347
4347
  };
4348
4348
  };
4349
4349
  } & {
@@ -4365,22 +4365,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4365
4365
  message?: string | undefined;
4366
4366
  };
4367
4367
  };
4368
- } | {
4369
- output: {
4370
- error: string;
4371
- };
4372
- outputFormat: "json";
4373
- status: 400 | 404 | 409;
4374
- input: {
4375
- param: {
4376
- id: string;
4377
- };
4378
- } & {
4379
- json: {
4380
- notify: boolean;
4381
- message?: string | undefined;
4382
- };
4383
- };
4384
4368
  } | {
4385
4369
  output: {
4386
4370
  archiveWhenDone?: boolean | undefined;
@@ -5581,6 +5565,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5581
5565
  message?: string | undefined;
5582
5566
  };
5583
5567
  };
5568
+ } | {
5569
+ output: {
5570
+ error: string;
5571
+ };
5572
+ outputFormat: "json";
5573
+ status: 400 | 404 | 409;
5574
+ input: {
5575
+ param: {
5576
+ id: string;
5577
+ };
5578
+ } & {
5579
+ json: {
5580
+ notify: boolean;
5581
+ message?: string | undefined;
5582
+ };
5583
+ };
5584
5584
  };
5585
5585
  };
5586
5586
  } & {
@@ -5612,6 +5612,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5612
5612
  } & {
5613
5613
  "/runs/:id/read": {
5614
5614
  $post: {
5615
+ output: {
5616
+ error: string;
5617
+ };
5618
+ outputFormat: "json";
5619
+ status: 404;
5620
+ input: {
5621
+ param: {
5622
+ id: string;
5623
+ };
5624
+ };
5625
+ } | {
5615
5626
  output: {
5616
5627
  archiveWhenDone?: boolean | undefined;
5617
5628
  autoMergePr?: boolean | undefined;
@@ -6806,7 +6817,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6806
6817
  id: string;
6807
6818
  };
6808
6819
  };
6809
- } | {
6820
+ };
6821
+ };
6822
+ } & {
6823
+ "/runs/:id/unread": {
6824
+ $post: {
6810
6825
  output: {
6811
6826
  error: string;
6812
6827
  };
@@ -6817,11 +6832,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6817
6832
  id: string;
6818
6833
  };
6819
6834
  };
6820
- };
6821
- };
6822
- } & {
6823
- "/runs/:id/unread": {
6824
- $post: {
6835
+ } | {
6825
6836
  output: {
6826
6837
  archiveWhenDone?: boolean | undefined;
6827
6838
  autoMergePr?: boolean | undefined;
@@ -8016,17 +8027,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8016
8027
  id: string;
8017
8028
  };
8018
8029
  };
8019
- } | {
8020
- output: {
8021
- error: string;
8022
- };
8023
- outputFormat: "json";
8024
- status: 404;
8025
- input: {
8026
- param: {
8027
- id: string;
8028
- };
8029
- };
8030
8030
  };
8031
8031
  };
8032
8032
  } & {
@@ -9322,6 +9322,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9322
9322
  } & {
9323
9323
  "/runs/:id": {
9324
9324
  $get: {
9325
+ output: {
9326
+ error: string;
9327
+ };
9328
+ outputFormat: "json";
9329
+ status: 404;
9330
+ input: {
9331
+ param: {
9332
+ id: string;
9333
+ };
9334
+ };
9335
+ } | {
9325
9336
  output: {
9326
9337
  archiveWhenDone?: boolean | undefined;
9327
9338
  autoMergePr?: boolean | undefined;
@@ -10524,17 +10535,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10524
10535
  id: string;
10525
10536
  };
10526
10537
  };
10527
- } | {
10528
- output: {
10529
- error: string;
10530
- };
10531
- outputFormat: "json";
10532
- status: 404;
10533
- input: {
10534
- param: {
10535
- id: string;
10536
- };
10537
- };
10538
10538
  };
10539
10539
  };
10540
10540
  } & {
@@ -10663,28 +10663,88 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10663
10663
  "/runs/:id": {
10664
10664
  $patch: {
10665
10665
  output: {
10666
- archiveWhenDone?: boolean | undefined;
10667
- autoMergePr?: boolean | undefined;
10668
- allowWorkers?: boolean | undefined;
10669
- allowMessaging?: boolean | undefined;
10670
- id: string;
10671
- title: string;
10672
- titleSummary?: string | undefined;
10673
- diffStat?: {
10674
- adds: number;
10675
- dels: number;
10676
- files: number;
10677
- repointed?: boolean | undefined;
10678
- } | undefined;
10679
- workflow: string;
10680
- task: string;
10681
- queuedMessages?: {
10682
- replayAfterOpen?: true | undefined;
10683
- id: string;
10684
- text: string;
10685
- images?: string[] | undefined;
10686
- createdAt: string;
10687
- }[] | undefined;
10666
+ error: string;
10667
+ };
10668
+ outputFormat: "json";
10669
+ status: 400;
10670
+ input: {
10671
+ json: {
10672
+ archiveWhenDone?: boolean | undefined;
10673
+ autoMergePr?: boolean | undefined;
10674
+ allowWorkers?: boolean | undefined;
10675
+ allowMessaging?: boolean | undefined;
10676
+ title?: string | undefined;
10677
+ task?: string | undefined;
10678
+ };
10679
+ } & {
10680
+ param: {
10681
+ id: string;
10682
+ };
10683
+ };
10684
+ } | {
10685
+ output: {
10686
+ error: string;
10687
+ };
10688
+ outputFormat: "json";
10689
+ status: 404;
10690
+ input: {
10691
+ json: {
10692
+ archiveWhenDone?: boolean | undefined;
10693
+ autoMergePr?: boolean | undefined;
10694
+ allowWorkers?: boolean | undefined;
10695
+ allowMessaging?: boolean | undefined;
10696
+ title?: string | undefined;
10697
+ task?: string | undefined;
10698
+ };
10699
+ } & {
10700
+ param: {
10701
+ id: string;
10702
+ };
10703
+ };
10704
+ } | {
10705
+ output: {
10706
+ error: string;
10707
+ };
10708
+ outputFormat: "json";
10709
+ status: 409;
10710
+ input: {
10711
+ json: {
10712
+ archiveWhenDone?: boolean | undefined;
10713
+ autoMergePr?: boolean | undefined;
10714
+ allowWorkers?: boolean | undefined;
10715
+ allowMessaging?: boolean | undefined;
10716
+ title?: string | undefined;
10717
+ task?: string | undefined;
10718
+ };
10719
+ } & {
10720
+ param: {
10721
+ id: string;
10722
+ };
10723
+ };
10724
+ } | {
10725
+ output: {
10726
+ archiveWhenDone?: boolean | undefined;
10727
+ autoMergePr?: boolean | undefined;
10728
+ allowWorkers?: boolean | undefined;
10729
+ allowMessaging?: boolean | undefined;
10730
+ id: string;
10731
+ title: string;
10732
+ titleSummary?: string | undefined;
10733
+ diffStat?: {
10734
+ adds: number;
10735
+ dels: number;
10736
+ files: number;
10737
+ repointed?: boolean | undefined;
10738
+ } | undefined;
10739
+ workflow: string;
10740
+ task: string;
10741
+ queuedMessages?: {
10742
+ replayAfterOpen?: true | undefined;
10743
+ id: string;
10744
+ text: string;
10745
+ images?: string[] | undefined;
10746
+ createdAt: string;
10747
+ }[] | undefined;
10688
10748
  continuationMessage?: {
10689
10749
  replayAfterOpen?: true | undefined;
10690
10750
  id: string;
@@ -11865,66 +11925,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11865
11925
  id: string;
11866
11926
  };
11867
11927
  };
11868
- } | {
11869
- output: {
11870
- error: string;
11871
- };
11872
- outputFormat: "json";
11873
- status: 404;
11874
- input: {
11875
- json: {
11876
- archiveWhenDone?: boolean | undefined;
11877
- autoMergePr?: boolean | undefined;
11878
- allowWorkers?: boolean | undefined;
11879
- allowMessaging?: boolean | undefined;
11880
- title?: string | undefined;
11881
- task?: string | undefined;
11882
- };
11883
- } & {
11884
- param: {
11885
- id: string;
11886
- };
11887
- };
11888
- } | {
11889
- output: {
11890
- error: string;
11891
- };
11892
- outputFormat: "json";
11893
- status: 400;
11894
- input: {
11895
- json: {
11896
- archiveWhenDone?: boolean | undefined;
11897
- autoMergePr?: boolean | undefined;
11898
- allowWorkers?: boolean | undefined;
11899
- allowMessaging?: boolean | undefined;
11900
- title?: string | undefined;
11901
- task?: string | undefined;
11902
- };
11903
- } & {
11904
- param: {
11905
- id: string;
11906
- };
11907
- };
11908
- } | {
11909
- output: {
11910
- error: string;
11911
- };
11912
- outputFormat: "json";
11913
- status: 409;
11914
- input: {
11915
- json: {
11916
- archiveWhenDone?: boolean | undefined;
11917
- autoMergePr?: boolean | undefined;
11918
- allowWorkers?: boolean | undefined;
11919
- allowMessaging?: boolean | undefined;
11920
- title?: string | undefined;
11921
- task?: string | undefined;
11922
- };
11923
- } & {
11924
- param: {
11925
- id: string;
11926
- };
11927
- };
11928
11928
  };
11929
11929
  };
11930
11930
  } & {
@@ -12029,7 +12029,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12029
12029
  error: string;
12030
12030
  };
12031
12031
  outputFormat: "json";
12032
- status: 404;
12032
+ status: 400;
12033
12033
  input: {
12034
12034
  json: {
12035
12035
  text?: string | undefined;
@@ -12048,7 +12048,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12048
12048
  error: string;
12049
12049
  };
12050
12050
  outputFormat: "json";
12051
- status: 409;
12051
+ status: 404;
12052
12052
  input: {
12053
12053
  json: {
12054
12054
  text?: string | undefined;
@@ -12064,10 +12064,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12064
12064
  };
12065
12065
  } | {
12066
12066
  output: {
12067
- delivered: true;
12067
+ error: string;
12068
12068
  };
12069
12069
  outputFormat: "json";
12070
- status: import("hono/utils/http-status").ContentfulStatusCode;
12070
+ status: 409;
12071
12071
  input: {
12072
12072
  json: {
12073
12073
  text?: string | undefined;
@@ -12083,10 +12083,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12083
12083
  };
12084
12084
  } | {
12085
12085
  output: {
12086
- error: string;
12086
+ delivered: true;
12087
12087
  };
12088
12088
  outputFormat: "json";
12089
- status: 400;
12089
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12090
12090
  input: {
12091
12091
  json: {
12092
12092
  text?: string | undefined;
@@ -12154,7 +12154,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12154
12154
  error: string;
12155
12155
  };
12156
12156
  outputFormat: "json";
12157
- status: 404;
12157
+ status: 400;
12158
12158
  input: {
12159
12159
  json: {
12160
12160
  text?: string | undefined;
@@ -12175,7 +12175,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12175
12175
  error: string;
12176
12176
  };
12177
12177
  outputFormat: "json";
12178
- status: 400;
12178
+ status: 404;
12179
12179
  input: {
12180
12180
  json: {
12181
12181
  text?: string | undefined;
@@ -12395,10 +12395,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12395
12395
  "/runs/:id/open-in-cli": {
12396
12396
  $post: {
12397
12397
  output: {
12398
- error: string;
12398
+ opened: true;
12399
+ command: string;
12399
12400
  };
12400
12401
  outputFormat: "json";
12401
- status: 404 | 409;
12402
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12402
12403
  input: {
12403
12404
  param: {
12404
12405
  id: string;
@@ -12406,11 +12407,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12406
12407
  };
12407
12408
  } | {
12408
12409
  output: {
12409
- opened: true;
12410
- command: string;
12410
+ error: string;
12411
12411
  };
12412
12412
  outputFormat: "json";
12413
- status: import("hono/utils/http-status").ContentfulStatusCode;
12413
+ status: 404 | 409;
12414
12414
  input: {
12415
12415
  param: {
12416
12416
  id: string;
@@ -12425,7 +12425,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12425
12425
  error: string;
12426
12426
  };
12427
12427
  outputFormat: "json";
12428
- status: 404 | 409;
12428
+ status: 400;
12429
12429
  input: {
12430
12430
  json: {
12431
12431
  target: string;
@@ -12438,10 +12438,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12438
12438
  };
12439
12439
  } | {
12440
12440
  output: {
12441
- error: string;
12441
+ opened: true;
12442
+ path: string;
12442
12443
  };
12443
12444
  outputFormat: "json";
12444
- status: 400;
12445
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12445
12446
  input: {
12446
12447
  json: {
12447
12448
  target: string;
@@ -12454,11 +12455,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12454
12455
  };
12455
12456
  } | {
12456
12457
  output: {
12457
- opened: true;
12458
- path: string;
12458
+ error: string;
12459
12459
  };
12460
12460
  outputFormat: "json";
12461
- status: import("hono/utils/http-status").ContentfulStatusCode;
12461
+ status: 404 | 409;
12462
12462
  input: {
12463
12463
  json: {
12464
12464
  target: string;
@@ -12498,6 +12498,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12498
12498
  } & {
12499
12499
  "/runs/:id/images/:file": {
12500
12500
  $get: {
12501
+ output: {
12502
+ error: string;
12503
+ code?: "invalid_input" | undefined;
12504
+ };
12505
+ outputFormat: "json";
12506
+ status: 400;
12507
+ input: {
12508
+ param: {
12509
+ id: string;
12510
+ file: string;
12511
+ };
12512
+ };
12513
+ } | {
12501
12514
  output: {};
12502
12515
  outputFormat: string;
12503
12516
  status: import("hono/utils/http-status").StatusCode;
@@ -12507,7 +12520,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12507
12520
  file: string;
12508
12521
  };
12509
12522
  };
12510
- } | {
12523
+ };
12524
+ };
12525
+ } & {
12526
+ "/runs/:id/result": {
12527
+ $get: {
12511
12528
  output: {
12512
12529
  error: string;
12513
12530
  code?: "invalid_input" | undefined;
@@ -12517,38 +12534,184 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12517
12534
  input: {
12518
12535
  param: {
12519
12536
  id: string;
12520
- file: string;
12537
+ };
12538
+ } & {
12539
+ query: {
12540
+ includeDiff?: "1" | undefined;
12541
+ maxChars?: number | undefined;
12521
12542
  };
12522
12543
  };
12523
- };
12524
- };
12525
- } & {
12526
- "/runs/:id/diff": {
12527
- $get: {
12528
- output: string;
12529
- outputFormat: "text";
12530
- status: import("hono/utils/http-status").ContentfulStatusCode;
12544
+ } | {
12545
+ output: {
12546
+ error: string;
12547
+ };
12548
+ outputFormat: "json";
12549
+ status: 404;
12531
12550
  input: {
12532
12551
  param: {
12533
12552
  id: string;
12534
12553
  };
12554
+ } & {
12555
+ query: {
12556
+ includeDiff?: "1" | undefined;
12557
+ maxChars?: number | undefined;
12558
+ };
12535
12559
  };
12536
12560
  } | {
12537
12561
  output: {
12538
12562
  error: string;
12539
12563
  };
12540
12564
  outputFormat: "json";
12541
- status: 404 | 409;
12565
+ status: 409;
12542
12566
  input: {
12543
12567
  param: {
12544
12568
  id: string;
12545
12569
  };
12570
+ } & {
12571
+ query: {
12572
+ includeDiff?: "1" | undefined;
12573
+ maxChars?: number | undefined;
12574
+ };
12575
+ };
12576
+ } | {
12577
+ output: {
12578
+ taskId: string;
12579
+ revision: number;
12580
+ observedAt: string;
12581
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
12582
+ outcome: "cancelled" | "completed" | "destroyed" | "failed" | "review-ready" | "running";
12583
+ lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
12584
+ settled: boolean;
12585
+ partial: boolean;
12586
+ error?: string | undefined;
12587
+ runner?: string | undefined;
12588
+ model?: string | undefined;
12589
+ baselineSha?: string | undefined;
12590
+ head: {
12591
+ state: "available";
12592
+ sha: string;
12593
+ } | {
12594
+ state: "unavailable";
12595
+ reason: "missing" | "no-assistant-output" | "unreadable" | "unsupported" | "unverified";
12596
+ detail?: string | undefined;
12597
+ sha?: string | undefined;
12598
+ } | {
12599
+ state: "deleted";
12600
+ reason: "missing";
12601
+ sha?: string | undefined;
12602
+ };
12603
+ changes?: {
12604
+ state: "unchanged";
12605
+ } | {
12606
+ state: "changed";
12607
+ paths: string[];
12608
+ truncated: boolean;
12609
+ headMoved: boolean;
12610
+ branchMoved: boolean;
12611
+ indexMoved: boolean;
12612
+ } | {
12613
+ state: "unavailable";
12614
+ reason: string;
12615
+ } | undefined;
12616
+ parentRunId?: string | undefined;
12617
+ cleanup?: "cleaning" | "complete" | "incomplete" | "requested" | "retained" | "terminating" | undefined;
12618
+ source: "live" | "stored";
12619
+ workspace: {
12620
+ kind: "owned" | "project" | "shared";
12621
+ state: "available" | "deleted" | "unavailable";
12622
+ branch?: string | undefined;
12623
+ baselineSha?: string | undefined;
12624
+ hostRunId?: string | undefined;
12625
+ };
12626
+ summary: {
12627
+ state: "unavailable";
12628
+ reason: "missing" | "no-assistant-output" | "unreadable" | "unsupported" | "unverified";
12629
+ detail?: string | undefined;
12630
+ } | {
12631
+ state: "deleted";
12632
+ reason: "missing";
12633
+ } | {
12634
+ state: "available";
12635
+ text: string;
12636
+ source: "assistant" | "failure";
12637
+ seq: number;
12638
+ truncated: boolean;
12639
+ totalLines: number;
12640
+ };
12641
+ diff: {
12642
+ state: "unavailable";
12643
+ reason: "missing" | "no-assistant-output" | "unreadable" | "unsupported" | "unverified";
12644
+ detail?: string | undefined;
12645
+ } | {
12646
+ state: "deleted";
12647
+ reason: "missing";
12648
+ } | {
12649
+ state: "available";
12650
+ truncated: boolean;
12651
+ bytes: number;
12652
+ patch?: string | undefined;
12653
+ patchTruncated?: boolean | undefined;
12654
+ };
12655
+ artifacts: {
12656
+ state: "unavailable";
12657
+ reason: "missing" | "no-assistant-output" | "unreadable" | "unsupported" | "unverified";
12658
+ detail?: string | undefined;
12659
+ } | {
12660
+ state: "deleted";
12661
+ reason: "missing";
12662
+ } | {
12663
+ state: "available";
12664
+ items: ({
12665
+ id: string;
12666
+ kind: "attachment" | "published";
12667
+ name?: string | undefined;
12668
+ size?: number | undefined;
12669
+ state: "available";
12670
+ } | {
12671
+ state: "unavailable";
12672
+ reason: "missing" | "no-assistant-output" | "unreadable" | "unsupported" | "unverified";
12673
+ detail?: string | undefined;
12674
+ id: string;
12675
+ kind: "attachment" | "published";
12676
+ name?: string | undefined;
12677
+ size?: number | undefined;
12678
+ } | {
12679
+ state: "deleted";
12680
+ reason: "missing";
12681
+ id: string;
12682
+ kind: "attachment" | "published";
12683
+ name?: string | undefined;
12684
+ size?: number | undefined;
12685
+ })[];
12686
+ truncated: boolean;
12687
+ };
12688
+ };
12689
+ outputFormat: "json";
12690
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12691
+ input: {
12692
+ param: {
12693
+ id: string;
12694
+ };
12695
+ } & {
12696
+ query: {
12697
+ includeDiff?: "1" | undefined;
12698
+ maxChars?: number | undefined;
12699
+ };
12546
12700
  };
12547
12701
  };
12548
12702
  };
12549
12703
  } & {
12550
- "/runs/:id/changes": {
12704
+ "/runs/:id/diff": {
12551
12705
  $get: {
12706
+ output: string;
12707
+ outputFormat: "text";
12708
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12709
+ input: {
12710
+ param: {
12711
+ id: string;
12712
+ };
12713
+ };
12714
+ } | {
12552
12715
  output: {
12553
12716
  error: string;
12554
12717
  };
@@ -12559,7 +12722,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12559
12722
  id: string;
12560
12723
  };
12561
12724
  };
12562
- } | {
12725
+ };
12726
+ };
12727
+ } & {
12728
+ "/runs/:id/changes": {
12729
+ $get: {
12563
12730
  output: {
12564
12731
  files: {
12565
12732
  path: string;
@@ -12588,11 +12755,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12588
12755
  id: string;
12589
12756
  };
12590
12757
  };
12591
- };
12592
- };
12593
- } & {
12594
- "/runs/:id/commits": {
12595
- $get: {
12758
+ } | {
12596
12759
  output: {
12597
12760
  error: string;
12598
12761
  };
@@ -12603,7 +12766,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12603
12766
  id: string;
12604
12767
  };
12605
12768
  };
12606
- } | {
12769
+ };
12770
+ };
12771
+ } & {
12772
+ "/runs/:id/commits": {
12773
+ $get: {
12607
12774
  output: {
12608
12775
  commits: {
12609
12776
  sha: string;
@@ -12619,11 +12786,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12619
12786
  id: string;
12620
12787
  };
12621
12788
  };
12622
- };
12623
- };
12624
- } & {
12625
- "/runs/:id/commit/:sha": {
12626
- $get: {
12789
+ } | {
12627
12790
  output: {
12628
12791
  error: string;
12629
12792
  };
@@ -12632,11 +12795,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12632
12795
  input: {
12633
12796
  param: {
12634
12797
  id: string;
12635
- } & {
12636
- sha: string;
12637
12798
  };
12638
12799
  };
12639
- } | {
12800
+ };
12801
+ };
12802
+ } & {
12803
+ "/runs/:id/commit/:sha": {
12804
+ $get: {
12640
12805
  output: {
12641
12806
  sha: string;
12642
12807
  subject: string;
@@ -12667,6 +12832,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12667
12832
  sha: string;
12668
12833
  };
12669
12834
  };
12835
+ } | {
12836
+ output: {
12837
+ error: string;
12838
+ };
12839
+ outputFormat: "json";
12840
+ status: 404 | 409;
12841
+ input: {
12842
+ param: {
12843
+ id: string;
12844
+ } & {
12845
+ sha: string;
12846
+ };
12847
+ };
12670
12848
  };
12671
12849
  };
12672
12850
  } & {
@@ -12690,10 +12868,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12690
12868
  };
12691
12869
  } | {
12692
12870
  output: {
12693
- error: string;
12871
+ type: 'file';
12872
+ path: string;
12873
+ size: number;
12874
+ binary: boolean;
12875
+ tooLarge: boolean;
12876
+ content?: string | undefined;
12694
12877
  };
12695
12878
  outputFormat: "json";
12696
- status: 404 | 409;
12879
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12697
12880
  input: {
12698
12881
  param: {
12699
12882
  sha: string;
@@ -12706,15 +12889,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12706
12889
  };
12707
12890
  } | {
12708
12891
  output: {
12709
- type: 'file';
12710
- path: string;
12711
- size: number;
12712
- binary: boolean;
12713
- tooLarge: boolean;
12714
- content?: string | undefined;
12892
+ error: string;
12715
12893
  };
12716
12894
  outputFormat: "json";
12717
- status: import("hono/utils/http-status").ContentfulStatusCode;
12895
+ status: 404 | 409;
12718
12896
  input: {
12719
12897
  param: {
12720
12898
  sha: string;
@@ -12760,22 +12938,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12760
12938
  raw?: "1" | undefined;
12761
12939
  };
12762
12940
  };
12763
- } | {
12764
- output: {
12765
- error: string;
12766
- };
12767
- outputFormat: "json";
12768
- status: 404 | 409;
12769
- input: {
12770
- param: {
12771
- id: string;
12772
- };
12773
- } & {
12774
- query: {
12775
- path: string | string[];
12776
- raw?: "1" | undefined;
12777
- };
12778
- };
12779
12941
  } | {
12780
12942
  output: {
12781
12943
  type: "file";
@@ -12812,6 +12974,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12812
12974
  raw?: "1" | undefined;
12813
12975
  };
12814
12976
  };
12977
+ } | {
12978
+ output: {
12979
+ error: string;
12980
+ };
12981
+ outputFormat: "json";
12982
+ status: 404 | 409;
12983
+ input: {
12984
+ param: {
12985
+ id: string;
12986
+ };
12987
+ } & {
12988
+ query: {
12989
+ path: string | string[];
12990
+ raw?: "1" | undefined;
12991
+ };
12992
+ };
12815
12993
  };
12816
12994
  };
12817
12995
  } & {
@@ -12876,6 +13054,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12876
13054
  artifactId: string;
12877
13055
  };
12878
13056
  };
13057
+ } | {
13058
+ output: {
13059
+ error: string;
13060
+ };
13061
+ outputFormat: "json";
13062
+ status: 404;
13063
+ input: {
13064
+ param: {
13065
+ id: string;
13066
+ artifactId: string;
13067
+ };
13068
+ };
12879
13069
  } | {
12880
13070
  output: {
12881
13071
  type: "file";
@@ -12904,18 +13094,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12904
13094
  artifactId: string;
12905
13095
  };
12906
13096
  };
12907
- } | {
12908
- output: {
12909
- error: string;
12910
- };
12911
- outputFormat: "json";
12912
- status: 404;
12913
- input: {
12914
- param: {
12915
- id: string;
12916
- artifactId: string;
12917
- };
12918
- };
12919
13097
  };
12920
13098
  };
12921
13099
  } & {
@@ -13091,22 +13269,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13091
13269
  id: string;
13092
13270
  };
13093
13271
  };
13094
- } | {
13095
- output: {
13096
- error: string;
13097
- };
13098
- outputFormat: "json";
13099
- status: 404 | 409;
13100
- input: {
13101
- query: {
13102
- path?: string | undefined;
13103
- raw?: string | undefined;
13104
- };
13105
- } & {
13106
- param: {
13107
- id: string;
13108
- };
13109
- };
13110
13272
  } | {
13111
13273
  output: {
13112
13274
  type: 'file';
@@ -13151,16 +13313,33 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13151
13313
  id: string;
13152
13314
  };
13153
13315
  };
13316
+ } | {
13317
+ output: {
13318
+ error: string;
13319
+ };
13320
+ outputFormat: "json";
13321
+ status: 404 | 409;
13322
+ input: {
13323
+ query: {
13324
+ path?: string | undefined;
13325
+ raw?: string | undefined;
13326
+ };
13327
+ } & {
13328
+ param: {
13329
+ id: string;
13330
+ };
13331
+ };
13154
13332
  };
13155
13333
  };
13156
13334
  } & {
13157
13335
  "/runs/:id/git/commit": {
13158
13336
  $post: {
13159
13337
  output: {
13160
- error: string;
13338
+ committed: true;
13339
+ sha: string;
13161
13340
  };
13162
13341
  outputFormat: "json";
13163
- status: 404 | 409;
13342
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13164
13343
  input: {
13165
13344
  json: {
13166
13345
  message: string;
@@ -13172,11 +13351,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13172
13351
  };
13173
13352
  } | {
13174
13353
  output: {
13175
- committed: true;
13176
- sha: string;
13354
+ error: string;
13177
13355
  };
13178
13356
  outputFormat: "json";
13179
- status: import("hono/utils/http-status").ContentfulStatusCode;
13357
+ status: 404 | 409;
13180
13358
  input: {
13181
13359
  json: {
13182
13360
  message: string;
@@ -13192,10 +13370,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13192
13370
  "/runs/:id/git/push": {
13193
13371
  $post: {
13194
13372
  output: {
13195
- error: string;
13373
+ pushed: true;
13374
+ branch: string;
13375
+ remote: string;
13376
+ upstreamSet: boolean;
13196
13377
  };
13197
13378
  outputFormat: "json";
13198
- status: 404 | 409;
13379
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13199
13380
  input: {
13200
13381
  param: {
13201
13382
  id: string;
@@ -13203,13 +13384,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13203
13384
  };
13204
13385
  } | {
13205
13386
  output: {
13206
- pushed: true;
13207
- branch: string;
13208
- remote: string;
13209
- upstreamSet: boolean;
13387
+ error: string;
13210
13388
  };
13211
13389
  outputFormat: "json";
13212
- status: import("hono/utils/http-status").ContentfulStatusCode;
13390
+ status: 404 | 409;
13213
13391
  input: {
13214
13392
  param: {
13215
13393
  id: string;
@@ -13221,10 +13399,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13221
13399
  "/runs/:id/pr": {
13222
13400
  $post: {
13223
13401
  output: {
13224
- error: string;
13402
+ url: string;
13403
+ dryRun: boolean;
13225
13404
  };
13226
13405
  outputFormat: "json";
13227
- status: 404 | 409;
13406
+ status: 201;
13228
13407
  input: {
13229
13408
  param: {
13230
13409
  id: string;
@@ -13232,11 +13411,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13232
13411
  };
13233
13412
  } | {
13234
13413
  output: {
13235
- url: string;
13236
- dryRun: boolean;
13414
+ error: string;
13237
13415
  };
13238
13416
  outputFormat: "json";
13239
- status: 201;
13417
+ status: 404 | 409;
13240
13418
  input: {
13241
13419
  param: {
13242
13420
  id: string;
@@ -13248,10 +13426,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13248
13426
  "/runs/:id/remove-worktree": {
13249
13427
  $post: {
13250
13428
  output: {
13251
- error: string;
13429
+ removed: true;
13252
13430
  };
13253
13431
  outputFormat: "json";
13254
- status: 404 | 409;
13432
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13255
13433
  input: {
13256
13434
  param: {
13257
13435
  id: string;
@@ -13259,10 +13437,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13259
13437
  };
13260
13438
  } | {
13261
13439
  output: {
13262
- removed: true;
13440
+ error: string;
13263
13441
  };
13264
13442
  outputFormat: "json";
13265
- status: import("hono/utils/http-status").ContentfulStatusCode;
13443
+ status: 404 | 409;
13266
13444
  input: {
13267
13445
  param: {
13268
13446
  id: string;
@@ -13274,10 +13452,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13274
13452
  "/runs/:id": {
13275
13453
  $delete: {
13276
13454
  output: {
13277
- error: string;
13455
+ deleted: true;
13278
13456
  };
13279
13457
  outputFormat: "json";
13280
- status: 404 | 409;
13458
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13281
13459
  input: {
13282
13460
  param: {
13283
13461
  id: string;
@@ -13285,10 +13463,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13285
13463
  };
13286
13464
  } | {
13287
13465
  output: {
13288
- deleted: true;
13466
+ error: string;
13289
13467
  };
13290
13468
  outputFormat: "json";
13291
- status: import("hono/utils/http-status").ContentfulStatusCode;
13469
+ status: 404 | 409;
13292
13470
  input: {
13293
13471
  param: {
13294
13472
  id: string;