@hearsay-tools/squawk 0.19.0-dev.9239 → 0.19.0-dev.9246

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 (129) hide show
  1. package/dist/built-in-run-slots.d.ts +4 -4
  2. package/dist/built-in-run-slots.js +10 -6
  3. package/dist/built-in-run-slots.js.map +1 -1
  4. package/dist/ci-wait/controller.d.ts +7 -7
  5. package/dist/contract/index.js +16 -1
  6. package/dist/contract/task-result.d.ts +11 -0
  7. package/dist/delegation/removal-slot.d.ts +6 -4
  8. package/dist/delegation/removal-slot.js +11 -18
  9. package/dist/delegation/removal-slot.js.map +1 -1
  10. package/dist/delegation/results.d.ts +9 -12
  11. package/dist/delegation/results.js +40 -167
  12. package/dist/delegation/results.js.map +1 -1
  13. package/dist/delegation/routes.d.ts +21 -21
  14. package/dist/delegation/transport.d.ts +10 -10
  15. package/dist/features/automations/automations-routes.d.ts +150 -150
  16. package/dist/features/automations/tools.d.ts +8 -8
  17. package/dist/features/mcp/tools.js +37 -1
  18. package/dist/features/mcp/tools.js.map +1 -1
  19. package/dist/features/reports/routes.d.ts +2 -2
  20. package/dist/runs/removal-slots.d.ts +4 -1
  21. package/dist/runs/removal-slots.js.map +1 -1
  22. package/dist/runs/retention.js +6 -1
  23. package/dist/runs/retention.js.map +1 -1
  24. package/dist/runs/task-result-builder.d.ts +117 -0
  25. package/dist/runs/task-result-builder.js +636 -0
  26. package/dist/runs/task-result-builder.js.map +1 -0
  27. package/dist/runs/task-result-preparation.d.ts +21 -0
  28. package/dist/runs/task-result-preparation.js +115 -0
  29. package/dist/runs/task-result-preparation.js.map +1 -0
  30. package/dist/runs/worker-workspace-evidence-registry.d.ts +31 -0
  31. package/dist/runs/worker-workspace-evidence-registry.js +24 -0
  32. package/dist/runs/worker-workspace-evidence-registry.js.map +1 -0
  33. package/dist/server/activity-routes.d.ts +23 -23
  34. package/dist/server/live-routes.d.ts +6 -6
  35. package/dist/server/project-settings-routes.d.ts +107 -107
  36. package/dist/server/projects-routes.d.ts +41 -41
  37. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  38. package/dist/server/runner-install-routes.d.ts +10 -10
  39. package/dist/server/runs-routes.d.ts +481 -303
  40. package/dist/server/runs-routes.js +48 -3
  41. package/dist/server/runs-routes.js.map +1 -1
  42. package/dist/server/server.d.ts +2962 -2606
  43. package/dist/server/workspace-identity-routes.d.ts +5 -5
  44. package/dist/task-cli/cli.js +39 -4
  45. package/dist/task-cli/cli.js.map +1 -1
  46. package/dist/task-cli/operations.d.ts +8 -0
  47. package/dist/task-cli/operations.js +21 -0
  48. package/dist/task-cli/operations.js.map +1 -1
  49. package/dist/workflows/continuation-admission.d.ts +72 -72
  50. package/dist/workflows/input-acknowledgement.d.ts +24 -24
  51. package/dist/workflows/run/continuation-acceptance.d.ts +1 -0
  52. package/dist/workflows/run/continuation-acceptance.js +9 -2
  53. package/dist/workflows/run/continuation-acceptance.js.map +1 -1
  54. package/package.json +4 -4
  55. package/web/dist/assets/{accounts-section-BOZ9JyE6.js → accounts-section-BROiR4ew.js} +1 -1
  56. package/web/dist/assets/{activity-motion-D48R7Vry.js → activity-motion-BWSUUfiT.js} +1 -1
  57. package/web/dist/assets/{activity-route-jcGRtnMT.js → activity-route-B2N8ZaZ_.js} +1 -1
  58. package/web/dist/assets/{agent-accounts-CUthX0Yh.js → agent-accounts-DjIbGucr.js} +1 -1
  59. package/web/dist/assets/{agent-config-section-BvwoyNZb.js → agent-config-section-Ck4CXMFm.js} +1 -1
  60. package/web/dist/assets/{agent-defaults-section-Hb-jy4TN.js → agent-defaults-section-CSonqNrH.js} +1 -1
  61. package/web/dist/assets/{appearance-EXKzoghV.js → appearance-CtRi80xH.js} +1 -1
  62. package/web/dist/assets/{archive-on-merge-field-Ni7bKGkG.js → archive-on-merge-field-DWIBlp84.js} +1 -1
  63. package/web/dist/assets/{ask-card-CkE44gm3.js → ask-card-Cr2AS4K4.js} +1 -1
  64. package/web/dist/assets/{automations-route-3bhtdTy3.js → automations-route-iHpqtQ2V.js} +1 -1
  65. package/web/dist/assets/{commit-list-DSw7qvVY.js → commit-list-BjI9yFlp.js} +1 -1
  66. package/web/dist/assets/{diff-BidPzsVK.js → diff-BKikntA1.js} +2 -2
  67. package/web/dist/assets/{diff-controls-DeMSGYln.js → diff-controls-DXLI7YrY.js} +1 -1
  68. package/web/dist/assets/{diff-view-BqU4sJld.js → diff-view-NHfT1G3r.js} +1 -1
  69. package/web/dist/assets/{discard-changes-dialog-B1AO0GSt.js → discard-changes-dialog-COQOWWB4.js} +1 -1
  70. package/web/dist/assets/{file-preview-BIZXTzkp.js → file-preview-CuynH2GY.js} +1 -1
  71. package/web/dist/assets/{folder-browser-C9Phl0rS.js → folder-browser-p1qA81Do.js} +1 -1
  72. package/web/dist/assets/{git-toolbar-BBon1yHh.js → git-toolbar-C27plnSQ.js} +1 -1
  73. package/web/dist/assets/{github-QOB5Qi4v.js → github-BVFqmL19.js} +1 -1
  74. package/web/dist/assets/{global-activity-route-lSnYAZE9.js → global-activity-route-DUa3ZKH5.js} +1 -1
  75. package/web/dist/assets/{hosts-DDwDUxT9.js → hosts-dk-7MbxQ.js} +1 -1
  76. package/web/dist/assets/{index-BuR9xHfb.js → index-BMO-SCLT.js} +5 -5
  77. package/web/dist/assets/{label-D6vgq5lF.js → label-B4KzRUWE.js} +1 -1
  78. package/web/dist/assets/{markdown-A6dvDky9.js → markdown-RyIndDEG.js} +1 -1
  79. package/web/dist/assets/{open-in-menu-Bb_jc7pm.js → open-in-menu-GSvSbohX.js} +1 -1
  80. package/web/dist/assets/{option-select-CCpypHbW.js → option-select-DRpdIulm.js} +1 -1
  81. package/web/dist/assets/{preferences-section-B75Zx0mY.js → preferences-section-PTJo2Ohl.js} +1 -1
  82. package/web/dist/assets/{preview-DiBpgf-5.js → preview-B13nIXDV.js} +1 -1
  83. package/web/dist/assets/{preview-pane-connected-BVu2oO0V.js → preview-pane-connected-B9GKjFwm.js} +1 -1
  84. package/web/dist/assets/{project-location-D1etWKHg.js → project-location-BE1vP9ox.js} +1 -1
  85. package/web/dist/assets/{project-router-yoWCTDaT.js → project-router-Bl7pejIP.js} +1 -1
  86. package/web/dist/assets/project-scope-context-BT4qzyOz.js +4 -0
  87. package/web/dist/assets/{projects-section-BRnIJ47e.js → projects-section-B3-nydjA.js} +1 -1
  88. package/web/dist/assets/{prompt-templates-section-D7JLM5BM.js → prompt-templates-section-JgrQfgx0.js} +1 -1
  89. package/web/dist/assets/{queries-ChH9ctc-.js → queries-CzUiyqt4.js} +1 -1
  90. package/web/dist/assets/{reference-chip-BPRZm7Kb.js → reference-chip-jxISA5ls.js} +1 -1
  91. package/web/dist/assets/{remote-settings-notice-Ip6H5hLU.js → remote-settings-notice-BihAOLqD.js} +1 -1
  92. package/web/dist/assets/{repo-git-Wf30akEt.js → repo-git-B1q5EsnP.js} +1 -1
  93. package/web/dist/assets/{report-reader-DhcZcNql.js → report-reader-DjeG4XbX.js} +1 -1
  94. package/web/dist/assets/{report-selection-CwPw7vbG.js → report-selection-DBxcKtc9.js} +1 -1
  95. package/web/dist/assets/{reports-DPKDwzxY.js → reports-DWiYYakL.js} +1 -1
  96. package/web/dist/assets/{resources-section-DaWcyqur.js → resources-section-DWjxu1Aj.js} +1 -1
  97. package/web/dist/assets/{review-notes-drafts-D7QuBuTL.js → review-notes-drafts-iAtTr6a6.js} +1 -1
  98. package/web/dist/assets/{review-panel-Bpxl4TvO.js → review-panel-DPRxBYq7.js} +1 -1
  99. package/web/dist/assets/{review-strip-Da5n1k8s.js → review-strip-S4KkkMIo.js} +1 -1
  100. package/web/dist/assets/{run-detail-refresh-CVSK_VKG.js → run-detail-refresh-e7rB9lt5.js} +1 -1
  101. package/web/dist/assets/{run-diff-CPuNFD3X.js → run-diff-QWOM0ICK.js} +1 -1
  102. package/web/dist/assets/{run-header-B8EAOHFc.js → run-header-BNh2z4aw.js} +1 -1
  103. package/web/dist/assets/{select-xjUzLrk9.js → select-DlJM2_n-.js} +1 -1
  104. package/web/dist/assets/{session-context-section-C7OTexKU.js → session-context-section-vdKhbdZx.js} +1 -1
  105. package/web/dist/assets/{settings-agent-picker-mESK-hj4.js → settings-agent-picker-tNi4Xm3k.js} +1 -1
  106. package/web/dist/assets/{settings-save-bar-BUaa1kHw.js → settings-save-bar-fQqyWU1c.js} +1 -1
  107. package/web/dist/assets/{settings-shell-BKSsBxqQ.js → settings-shell-B-pmSB5-.js} +1 -1
  108. package/web/dist/assets/{sidebar-section-BFBZlQ-x.js → sidebar-section-DBgf2u5s.js} +1 -1
  109. package/web/dist/assets/{skills-BSqszv5g.js → skills-BePs-LtJ.js} +1 -1
  110. package/web/dist/assets/{status-dot-Fp5SnPHI.js → status-dot-BlqTixB7.js} +1 -1
  111. package/web/dist/assets/{tab-link-j06AaWSU.js → tab-link-tv_Wy5eF.js} +1 -1
  112. package/web/dist/assets/{task-changes-B4KFHxVa.js → task-changes-D-ehUptL.js} +1 -1
  113. package/web/dist/assets/{task-commits-D-UAUoZ5.js → task-commits-BgDfumUM.js} +1 -1
  114. package/web/dist/assets/{task-file-scope-BhWG35a8.js → task-file-scope-Bqt2wkkO.js} +1 -1
  115. package/web/dist/assets/{task-files-BOCx_Lp0.js → task-files-BME7tXzx.js} +1 -1
  116. package/web/dist/assets/{task-github-item-CZqaaxNv.js → task-github-item-BQL_jlnH.js} +1 -1
  117. package/web/dist/assets/{task-thread-D3d419VX.js → task-thread-D-BHmr_Z.js} +1 -1
  118. package/web/dist/assets/{thread-state-B0pz2Y8K.js → thread-state-DWcNrVOV.js} +1 -1
  119. package/web/dist/assets/{use-finish-run-TX3pIPCS.js → use-finish-run-B4gkbFl_.js} +1 -1
  120. package/web/dist/assets/{use-hand-to-agent-state-D2oChRzw.js → use-hand-to-agent-state-7ItPHT6A.js} +1 -1
  121. package/web/dist/assets/use-path-bases-DfSirdvs.js +1 -0
  122. package/web/dist/assets/use-workspace-config-save-Dz8Cl7MP.js +1 -0
  123. package/web/dist/assets/{workflows-BwzNhxT0.js → workflows-CFKtz_8t.js} +1 -1
  124. package/web/dist/assets/{workspace-tools-Be_j9oke.js → workspace-tools-CBQyH8IV.js} +1 -1
  125. package/web/dist/assets/{worktrees-section-cnibWU5-.js → worktrees-section-CA7lv70p.js} +1 -1
  126. package/web/dist/index.html +14 -14
  127. package/web/dist/assets/project-scope-context-hfRzPMZ4.js +0 -4
  128. package/web/dist/assets/use-path-bases-DFxEHoyU.js +0 -1
  129. package/web/dist/assets/use-workspace-config-save-DR8brU5p.js +0 -1
@@ -1234,18 +1234,6 @@ 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
- } | {
1249
1237
  output: {
1250
1238
  id: string;
1251
1239
  title: string;
@@ -1383,6 +1371,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1383
1371
  archived?: "all" | "recent" | undefined;
1384
1372
  };
1385
1373
  };
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,24 +1744,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1744
1744
  "/runs/:id/worker-destroy": {
1745
1745
  $post: {
1746
1746
  output: {
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;
1747
+ error: string;
1748
+ code?: "invalid_input" | undefined;
1762
1749
  };
1763
1750
  outputFormat: "json";
1764
- status: 200;
1751
+ status: 400;
1765
1752
  input: {
1766
1753
  query: {
1767
1754
  [x: string]: string | string[];
@@ -1777,11 +1764,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1777
1764
  };
1778
1765
  } | {
1779
1766
  output: {
1780
- error: string;
1781
- code?: "invalid_input" | undefined;
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;
1782
1780
  };
1783
1781
  outputFormat: "json";
1784
- status: 400;
1782
+ status: 400 | 401 | 403 | 409 | 503;
1785
1783
  input: {
1786
1784
  query: {
1787
1785
  [x: string]: string | string[];
@@ -1814,7 +1812,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1814
1812
  error?: string | undefined;
1815
1813
  };
1816
1814
  outputFormat: "json";
1817
- status: 409;
1815
+ status: 200;
1818
1816
  input: {
1819
1817
  query: {
1820
1818
  [x: string]: string | string[];
@@ -1830,22 +1828,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1830
1828
  };
1831
1829
  } | {
1832
1830
  output: {
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[];
1831
+ workerId: string;
1832
+ state: "complete" | "incomplete";
1833
+ work?: {
1834
+ uncommittedFiles: number;
1835
+ commits: number;
1845
1836
  } | 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: 400 | 401 | 403 | 409 | 503;
1848
+ status: 409;
1849
1849
  input: {
1850
1850
  query: {
1851
1851
  [x: string]: string | string[];
@@ -1897,21 +1897,6 @@ 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
- } | {
1915
1900
  output: {
1916
1901
  archiveWhenDone?: boolean | undefined;
1917
1902
  autoMergePr?: boolean | undefined;
@@ -3110,32 +3095,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3110
3095
  id: string;
3111
3096
  };
3112
3097
  };
3113
- };
3114
- };
3115
- } & {
3116
- "/runs/:id/pin": {
3117
- $post: {
3098
+ } | {
3118
3099
  output: {
3119
3100
  error: string;
3120
- code?: "invalid_input" | undefined;
3121
3101
  };
3122
3102
  outputFormat: "json";
3123
- status: 400;
3103
+ status: 404;
3124
3104
  input: {
3125
- param: {
3126
- id: string;
3105
+ json: {
3106
+ archived?: boolean | undefined;
3127
3107
  };
3128
3108
  } & {
3129
- json: {
3130
- pinned?: boolean | undefined;
3109
+ param: {
3110
+ id: string;
3131
3111
  };
3132
3112
  };
3133
- } | {
3113
+ };
3114
+ };
3115
+ } & {
3116
+ "/runs/:id/pin": {
3117
+ $post: {
3134
3118
  output: {
3135
3119
  error: string;
3120
+ code?: "invalid_input" | undefined;
3136
3121
  };
3137
3122
  outputFormat: "json";
3138
- status: 404;
3123
+ status: 400;
3139
3124
  input: {
3140
3125
  param: {
3141
3126
  id: string;
@@ -4344,6 +4329,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4344
4329
  pinned?: boolean | undefined;
4345
4330
  };
4346
4331
  };
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,6 +4365,22 @@ 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
+ };
4368
4384
  } | {
4369
4385
  output: {
4370
4386
  archiveWhenDone?: boolean | undefined;
@@ -5565,22 +5581,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5565
5581
  message?: string | undefined;
5566
5582
  };
5567
5583
  };
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,17 +5612,6 @@ 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
- } | {
5626
5615
  output: {
5627
5616
  archiveWhenDone?: boolean | undefined;
5628
5617
  autoMergePr?: boolean | undefined;
@@ -6817,11 +6806,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6817
6806
  id: string;
6818
6807
  };
6819
6808
  };
6820
- };
6821
- };
6822
- } & {
6823
- "/runs/:id/unread": {
6824
- $post: {
6809
+ } | {
6825
6810
  output: {
6826
6811
  error: string;
6827
6812
  };
@@ -6832,7 +6817,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6832
6817
  id: string;
6833
6818
  };
6834
6819
  };
6835
- } | {
6820
+ };
6821
+ };
6822
+ } & {
6823
+ "/runs/:id/unread": {
6824
+ $post: {
6836
6825
  output: {
6837
6826
  archiveWhenDone?: boolean | undefined;
6838
6827
  autoMergePr?: boolean | undefined;
@@ -8027,6 +8016,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8027
8016
  id: string;
8028
8017
  };
8029
8018
  };
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,17 +9322,6 @@ 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
- } | {
9336
9325
  output: {
9337
9326
  archiveWhenDone?: boolean | undefined;
9338
9327
  autoMergePr?: boolean | undefined;
@@ -10535,6 +10524,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10535
10524
  id: string;
10536
10525
  };
10537
10526
  };
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
  } & {
@@ -10662,66 +10662,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10662
10662
  } & {
10663
10663
  "/runs/:id": {
10664
10664
  $patch: {
10665
- output: {
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
10665
  output: {
10726
10666
  archiveWhenDone?: boolean | undefined;
10727
10667
  autoMergePr?: boolean | undefined;
@@ -11925,6 +11865,66 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11925
11865
  id: string;
11926
11866
  };
11927
11867
  };
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: 400;
12032
+ status: 404;
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: 404;
12051
+ status: 409;
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
- error: string;
12067
+ delivered: true;
12068
12068
  };
12069
12069
  outputFormat: "json";
12070
- status: 409;
12070
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- delivered: true;
12086
+ error: string;
12087
12087
  };
12088
12088
  outputFormat: "json";
12089
- status: import("hono/utils/http-status").ContentfulStatusCode;
12089
+ status: 400;
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: 400;
12157
+ status: 404;
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: 404;
12178
+ status: 400;
12179
12179
  input: {
12180
12180
  json: {
12181
12181
  text?: string | undefined;
@@ -12395,11 +12395,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12395
12395
  "/runs/:id/open-in-cli": {
12396
12396
  $post: {
12397
12397
  output: {
12398
- opened: true;
12399
- command: string;
12398
+ error: string;
12400
12399
  };
12401
12400
  outputFormat: "json";
12402
- status: import("hono/utils/http-status").ContentfulStatusCode;
12401
+ status: 404 | 409;
12403
12402
  input: {
12404
12403
  param: {
12405
12404
  id: string;
@@ -12407,10 +12406,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12407
12406
  };
12408
12407
  } | {
12409
12408
  output: {
12410
- error: string;
12409
+ opened: true;
12410
+ command: string;
12411
12411
  };
12412
12412
  outputFormat: "json";
12413
- status: 404 | 409;
12413
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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: 400;
12428
+ status: 404 | 409;
12429
12429
  input: {
12430
12430
  json: {
12431
12431
  target: string;
@@ -12438,11 +12438,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12438
12438
  };
12439
12439
  } | {
12440
12440
  output: {
12441
- opened: true;
12442
- path: string;
12441
+ error: string;
12443
12442
  };
12444
12443
  outputFormat: "json";
12445
- status: import("hono/utils/http-status").ContentfulStatusCode;
12444
+ status: 400;
12446
12445
  input: {
12447
12446
  json: {
12448
12447
  target: string;
@@ -12455,10 +12454,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12455
12454
  };
12456
12455
  } | {
12457
12456
  output: {
12458
- error: string;
12457
+ opened: true;
12458
+ path: string;
12459
12459
  };
12460
12460
  outputFormat: "json";
12461
- status: 404 | 409;
12461
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12462
12462
  input: {
12463
12463
  json: {
12464
12464
  target: string;
@@ -12498,6 +12498,16 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12498
12498
  } & {
12499
12499
  "/runs/:id/images/:file": {
12500
12500
  $get: {
12501
+ output: {};
12502
+ outputFormat: string;
12503
+ status: import("hono/utils/http-status").StatusCode;
12504
+ input: {
12505
+ param: {
12506
+ id: string;
12507
+ file: string;
12508
+ };
12509
+ };
12510
+ } | {
12501
12511
  output: {
12502
12512
  error: string;
12503
12513
  code?: "invalid_input" | undefined;
@@ -12510,14 +12520,182 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12510
12520
  file: string;
12511
12521
  };
12512
12522
  };
12523
+ };
12524
+ };
12525
+ } & {
12526
+ "/runs/:id/result": {
12527
+ $get: {
12528
+ output: {
12529
+ error: string;
12530
+ code?: "invalid_input" | undefined;
12531
+ };
12532
+ outputFormat: "json";
12533
+ status: 400;
12534
+ input: {
12535
+ param: {
12536
+ id: string;
12537
+ };
12538
+ } & {
12539
+ query: {
12540
+ includeDiff?: "1" | undefined;
12541
+ maxChars?: number | undefined;
12542
+ };
12543
+ };
12513
12544
  } | {
12514
- output: {};
12515
- outputFormat: string;
12516
- status: import("hono/utils/http-status").StatusCode;
12545
+ output: {
12546
+ error: string;
12547
+ };
12548
+ outputFormat: "json";
12549
+ status: 409;
12517
12550
  input: {
12518
12551
  param: {
12519
12552
  id: string;
12520
- file: string;
12553
+ };
12554
+ } & {
12555
+ query: {
12556
+ includeDiff?: "1" | undefined;
12557
+ maxChars?: number | undefined;
12558
+ };
12559
+ };
12560
+ } | {
12561
+ output: {
12562
+ error: string;
12563
+ };
12564
+ outputFormat: "json";
12565
+ status: 404;
12566
+ input: {
12567
+ param: {
12568
+ id: string;
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;
12521
12699
  };
12522
12700
  };
12523
12701
  };
@@ -12549,6 +12727,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12549
12727
  } & {
12550
12728
  "/runs/:id/changes": {
12551
12729
  $get: {
12730
+ output: {
12731
+ error: string;
12732
+ };
12733
+ outputFormat: "json";
12734
+ status: 404 | 409;
12735
+ input: {
12736
+ param: {
12737
+ id: string;
12738
+ };
12739
+ };
12740
+ } | {
12552
12741
  output: {
12553
12742
  files: {
12554
12743
  path: string;
@@ -12577,7 +12766,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12577
12766
  id: string;
12578
12767
  };
12579
12768
  };
12580
- } | {
12769
+ };
12770
+ };
12771
+ } & {
12772
+ "/runs/:id/commits": {
12773
+ $get: {
12581
12774
  output: {
12582
12775
  error: string;
12583
12776
  };
@@ -12588,11 +12781,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12588
12781
  id: string;
12589
12782
  };
12590
12783
  };
12591
- };
12592
- };
12593
- } & {
12594
- "/runs/:id/commits": {
12595
- $get: {
12784
+ } | {
12596
12785
  output: {
12597
12786
  commits: {
12598
12787
  sha: string;
@@ -12608,7 +12797,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12608
12797
  id: string;
12609
12798
  };
12610
12799
  };
12611
- } | {
12800
+ };
12801
+ };
12802
+ } & {
12803
+ "/runs/:id/commit/:sha": {
12804
+ $get: {
12612
12805
  output: {
12613
12806
  error: string;
12614
12807
  };
@@ -12617,13 +12810,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12617
12810
  input: {
12618
12811
  param: {
12619
12812
  id: string;
12813
+ } & {
12814
+ sha: string;
12620
12815
  };
12621
12816
  };
12622
- };
12623
- };
12624
- } & {
12625
- "/runs/:id/commit/:sha": {
12626
- $get: {
12817
+ } | {
12627
12818
  output: {
12628
12819
  sha: string;
12629
12820
  subject: string;
@@ -12654,19 +12845,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12654
12845
  sha: string;
12655
12846
  };
12656
12847
  };
12657
- } | {
12658
- output: {
12659
- error: string;
12660
- };
12661
- outputFormat: "json";
12662
- status: 404 | 409;
12663
- input: {
12664
- param: {
12665
- id: string;
12666
- } & {
12667
- sha: string;
12668
- };
12669
- };
12670
12848
  };
12671
12849
  };
12672
12850
  } & {
@@ -12690,15 +12868,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12690
12868
  };
12691
12869
  } | {
12692
12870
  output: {
12693
- type: 'file';
12694
- path: string;
12695
- size: number;
12696
- binary: boolean;
12697
- tooLarge: boolean;
12698
- content?: string | undefined;
12871
+ error: string;
12699
12872
  };
12700
12873
  outputFormat: "json";
12701
- status: import("hono/utils/http-status").ContentfulStatusCode;
12874
+ status: 404 | 409;
12702
12875
  input: {
12703
12876
  param: {
12704
12877
  sha: string;
@@ -12711,10 +12884,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12711
12884
  };
12712
12885
  } | {
12713
12886
  output: {
12714
- error: string;
12887
+ type: 'file';
12888
+ path: string;
12889
+ size: number;
12890
+ binary: boolean;
12891
+ tooLarge: boolean;
12892
+ content?: string | undefined;
12715
12893
  };
12716
12894
  outputFormat: "json";
12717
- status: 404 | 409;
12895
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12718
12896
  input: {
12719
12897
  param: {
12720
12898
  sha: string;
@@ -12760,6 +12938,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12760
12938
  raw?: "1" | undefined;
12761
12939
  };
12762
12940
  };
12941
+ } | {
12942
+ output: {
12943
+ error: string;
12944
+ };
12945
+ outputFormat: "json";
12946
+ status: 404 | 409;
12947
+ input: {
12948
+ param: {
12949
+ id: string;
12950
+ };
12951
+ } & {
12952
+ query: {
12953
+ path: string | string[];
12954
+ raw?: "1" | undefined;
12955
+ };
12956
+ };
12763
12957
  } | {
12764
12958
  output: {
12765
12959
  type: "file";
@@ -12796,22 +12990,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12796
12990
  raw?: "1" | undefined;
12797
12991
  };
12798
12992
  };
12799
- } | {
12800
- output: {
12801
- error: string;
12802
- };
12803
- outputFormat: "json";
12804
- status: 404 | 409;
12805
- input: {
12806
- param: {
12807
- id: string;
12808
- };
12809
- } & {
12810
- query: {
12811
- path: string | string[];
12812
- raw?: "1" | undefined;
12813
- };
12814
- };
12815
12993
  };
12816
12994
  };
12817
12995
  } & {
@@ -12876,18 +13054,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12876
13054
  artifactId: string;
12877
13055
  };
12878
13056
  };
12879
- } | {
12880
- output: {
12881
- error: string;
12882
- };
12883
- outputFormat: "json";
12884
- status: 404;
12885
- input: {
12886
- param: {
12887
- id: string;
12888
- artifactId: string;
12889
- };
12890
- };
12891
13057
  } | {
12892
13058
  output: {
12893
13059
  type: "file";
@@ -12916,6 +13082,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12916
13082
  artifactId: string;
12917
13083
  };
12918
13084
  };
13085
+ } | {
13086
+ output: {
13087
+ error: string;
13088
+ };
13089
+ outputFormat: "json";
13090
+ status: 404;
13091
+ input: {
13092
+ param: {
13093
+ id: string;
13094
+ artifactId: string;
13095
+ };
13096
+ };
12919
13097
  };
12920
13098
  };
12921
13099
  } & {
@@ -13093,15 +13271,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13093
13271
  };
13094
13272
  } | {
13095
13273
  output: {
13096
- type: 'file';
13097
- path: string;
13098
- size: number;
13099
- binary: boolean;
13100
- tooLarge: boolean;
13101
- content?: string | undefined;
13274
+ error: string;
13102
13275
  };
13103
13276
  outputFormat: "json";
13104
- status: import("hono/utils/http-status").ContentfulStatusCode;
13277
+ status: 404 | 409;
13105
13278
  input: {
13106
13279
  query: {
13107
13280
  path?: string | undefined;
@@ -13114,14 +13287,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13114
13287
  };
13115
13288
  } | {
13116
13289
  output: {
13117
- type: 'dir';
13290
+ type: 'file';
13118
13291
  path: string;
13119
- entries: {
13120
- name: string;
13121
- type: 'dir' | 'file';
13122
- size?: number;
13123
- chain?: string;
13124
- }[];
13292
+ size: number;
13293
+ binary: boolean;
13294
+ tooLarge: boolean;
13295
+ content?: string | undefined;
13125
13296
  };
13126
13297
  outputFormat: "json";
13127
13298
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -13137,10 +13308,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13137
13308
  };
13138
13309
  } | {
13139
13310
  output: {
13140
- error: string;
13311
+ type: 'dir';
13312
+ path: string;
13313
+ entries: {
13314
+ name: string;
13315
+ type: 'dir' | 'file';
13316
+ size?: number;
13317
+ chain?: string;
13318
+ }[];
13141
13319
  };
13142
13320
  outputFormat: "json";
13143
- status: 404 | 409;
13321
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13144
13322
  input: {
13145
13323
  query: {
13146
13324
  path?: string | undefined;
@@ -13157,11 +13335,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13157
13335
  "/runs/:id/git/commit": {
13158
13336
  $post: {
13159
13337
  output: {
13160
- committed: true;
13161
- sha: string;
13338
+ error: string;
13162
13339
  };
13163
13340
  outputFormat: "json";
13164
- status: import("hono/utils/http-status").ContentfulStatusCode;
13341
+ status: 404 | 409;
13165
13342
  input: {
13166
13343
  json: {
13167
13344
  message: string;
@@ -13173,10 +13350,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13173
13350
  };
13174
13351
  } | {
13175
13352
  output: {
13176
- error: string;
13353
+ committed: true;
13354
+ sha: string;
13177
13355
  };
13178
13356
  outputFormat: "json";
13179
- status: 404 | 409;
13357
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13180
13358
  input: {
13181
13359
  json: {
13182
13360
  message: string;
@@ -13192,13 +13370,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13192
13370
  "/runs/:id/git/push": {
13193
13371
  $post: {
13194
13372
  output: {
13195
- pushed: true;
13196
- branch: string;
13197
- remote: string;
13198
- upstreamSet: boolean;
13373
+ error: string;
13199
13374
  };
13200
13375
  outputFormat: "json";
13201
- status: import("hono/utils/http-status").ContentfulStatusCode;
13376
+ status: 404 | 409;
13202
13377
  input: {
13203
13378
  param: {
13204
13379
  id: string;
@@ -13206,10 +13381,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13206
13381
  };
13207
13382
  } | {
13208
13383
  output: {
13209
- error: string;
13384
+ pushed: true;
13385
+ branch: string;
13386
+ remote: string;
13387
+ upstreamSet: boolean;
13210
13388
  };
13211
13389
  outputFormat: "json";
13212
- status: 404 | 409;
13390
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13213
13391
  input: {
13214
13392
  param: {
13215
13393
  id: string;
@@ -13221,11 +13399,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13221
13399
  "/runs/:id/pr": {
13222
13400
  $post: {
13223
13401
  output: {
13224
- url: string;
13225
- dryRun: boolean;
13402
+ error: string;
13226
13403
  };
13227
13404
  outputFormat: "json";
13228
- status: 201;
13405
+ status: 404 | 409;
13229
13406
  input: {
13230
13407
  param: {
13231
13408
  id: string;
@@ -13233,10 +13410,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13233
13410
  };
13234
13411
  } | {
13235
13412
  output: {
13236
- error: string;
13413
+ url: string;
13414
+ dryRun: boolean;
13237
13415
  };
13238
13416
  outputFormat: "json";
13239
- status: 404 | 409;
13417
+ status: 201;
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
- removed: true;
13429
+ error: string;
13252
13430
  };
13253
13431
  outputFormat: "json";
13254
- status: import("hono/utils/http-status").ContentfulStatusCode;
13432
+ status: 404 | 409;
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
- error: string;
13440
+ removed: true;
13263
13441
  };
13264
13442
  outputFormat: "json";
13265
- status: 404 | 409;
13443
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- deleted: true;
13455
+ error: string;
13278
13456
  };
13279
13457
  outputFormat: "json";
13280
- status: import("hono/utils/http-status").ContentfulStatusCode;
13458
+ status: 404 | 409;
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
- error: string;
13466
+ deleted: true;
13289
13467
  };
13290
13468
  outputFormat: "json";
13291
- status: 404 | 409;
13469
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13292
13470
  input: {
13293
13471
  param: {
13294
13472
  id: string;