@hearsay-tools/squawk 0.19.0-pr4432.8694 → 0.19.0-pr4437.8732

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 (186) hide show
  1. package/dist/activity/read-model.js +5 -2
  2. package/dist/activity/read-model.js.map +1 -1
  3. package/dist/ci-wait/controller.d.ts +7 -7
  4. package/dist/contract/activity.d.ts +14 -0
  5. package/dist/contract/index.js +89 -16
  6. package/dist/contract/repo-requests.d.ts +9 -1
  7. package/dist/contract/repo.d.ts +39 -2
  8. package/dist/contract/runs.d.ts +50 -0
  9. package/dist/contract/workspace-events.d.ts +18 -0
  10. package/dist/delegation/routes.d.ts +65 -65
  11. package/dist/git-worktree.d.ts +9 -0
  12. package/dist/git-worktree.js +118 -3
  13. package/dist/git-worktree.js.map +1 -1
  14. package/dist/runners/codex/codex-app-server-runner.js +2 -42
  15. package/dist/runners/codex/codex-app-server-runner.js.map +1 -1
  16. package/dist/runners/codex/codex-questions.d.ts +5 -0
  17. package/dist/runners/codex/codex-questions.js +55 -0
  18. package/dist/runners/codex/codex-questions.js.map +1 -0
  19. package/dist/runners/opencode/opencode-questions.js +9 -1
  20. package/dist/runners/opencode/opencode-questions.js.map +1 -1
  21. package/dist/runs/retention.d.ts +6 -0
  22. package/dist/runs/retention.js +7 -3
  23. package/dist/runs/retention.js.map +1 -1
  24. package/dist/runs/run-database.d.ts +5 -0
  25. package/dist/runs/run-database.js +5 -0
  26. package/dist/runs/run-database.js.map +1 -1
  27. package/dist/runs/run-queries.d.ts +9 -0
  28. package/dist/runs/run-queries.js +43 -6
  29. package/dist/runs/run-queries.js.map +1 -1
  30. package/dist/runs/store.js +1 -0
  31. package/dist/runs/store.js.map +1 -1
  32. package/dist/runs/transcript-facts-topic.d.ts +2 -0
  33. package/dist/runs/transcript-facts-topic.js +8 -10
  34. package/dist/runs/transcript-facts-topic.js.map +1 -1
  35. package/dist/server/activity-routes.d.ts +27 -23
  36. package/dist/server/automations-routes.d.ts +150 -150
  37. package/dist/server/project-settings-routes.d.ts +107 -107
  38. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  39. package/dist/server/repo-routes.d.ts +40 -14
  40. package/dist/server/repo-routes.js +30 -15
  41. package/dist/server/repo-routes.js.map +1 -1
  42. package/dist/server/reports-api.d.ts +2 -2
  43. package/dist/server/run-checkout.d.ts +1 -1
  44. package/dist/server/run-checkout.js +20 -7
  45. package/dist/server/run-checkout.js.map +1 -1
  46. package/dist/server/runners-routes.d.ts +10 -10
  47. package/dist/server/runs-routes.d.ts +283 -275
  48. package/dist/server/server.d.ts +148 -68
  49. package/dist/server/workspace-routes.d.ts +8 -0
  50. package/dist/server/worktree-size-cache.d.ts +11 -0
  51. package/dist/server/worktree-size-cache.js +3 -1
  52. package/dist/server/worktree-size-cache.js.map +1 -1
  53. package/package.json +4 -4
  54. package/scripts/measure-transcript-facts-lag.mjs +11 -2
  55. package/web/dist/assets/accounts-section-DVJon113.js +1 -0
  56. package/web/dist/assets/activity-motion-D_Mig_D4.js +1 -0
  57. package/web/dist/assets/activity-route-BvYIEdOs.js +1 -0
  58. package/web/dist/assets/agent-config-section-BImy20b0.js +7 -0
  59. package/web/dist/assets/agent-defaults-section-D30dOTKu.js +1 -0
  60. package/web/dist/assets/{appearance-DQLHHfI4.js → appearance-CHsrT2VO.js} +1 -1
  61. package/web/dist/assets/archive-on-merge-field-BT4e_k9f.js +1 -0
  62. package/web/dist/assets/attention-CGsbqL2t.js +1 -0
  63. package/web/dist/assets/automations-route-BEhmjeVF.js +2 -0
  64. package/web/dist/assets/{change-counts-CW7O8g5Y.js → change-counts-npLATh-3.js} +1 -1
  65. package/web/dist/assets/commit-list-02HM16KN.js +1 -0
  66. package/web/dist/assets/diff-BmDcJsHL.js +3 -0
  67. package/web/dist/assets/{diff-controls-BRa3141W.js → diff-controls-HmgYRhy7.js} +1 -1
  68. package/web/dist/assets/diff-stat-C7KB1kDX.js +1 -0
  69. package/web/dist/assets/{diff-view-CwlKCj5V.js → diff-view-CRx2ZNOd.js} +1 -1
  70. package/web/dist/assets/file-preview-B361k1Oo.js +2 -0
  71. package/web/dist/assets/folder-browser-BJ3aXo9k.js +1 -0
  72. package/web/dist/assets/git-toolbar-DsNQUL5f.js +1 -0
  73. package/web/dist/assets/github-DP2REdU5.js +1 -0
  74. package/web/dist/assets/global-activity-route-Iv0uN7Wy.js +2 -0
  75. package/web/dist/assets/image-preview-DCUeM8u3.js +1 -0
  76. package/web/dist/assets/index-CVz-Ls8s.css +1 -0
  77. package/web/dist/assets/index-mCjln54E.js +21 -0
  78. package/web/dist/assets/label-CH-a6Jyv.js +1 -0
  79. package/web/dist/assets/{markdown-9L65ixU6.js → markdown-DiMerfHU.js} +1 -1
  80. package/web/dist/assets/nav-row-styles-D5HpOmDZ.js +1 -0
  81. package/web/dist/assets/notifications-section-DGH8tp1N.js +1 -0
  82. package/web/dist/assets/open-in-menu-CML2QKil.js +1 -0
  83. package/web/dist/assets/{popover-BPgUYFyu.js → popover-CZV6tz9i.js} +1 -1
  84. package/web/dist/assets/preview-pane-connected-Cl_6DHNm.js +3 -0
  85. package/web/dist/assets/project-location-CZNz3wYW.js +1 -0
  86. package/web/dist/assets/project-router-BvBqllk2.js +1 -0
  87. package/web/dist/assets/projects-section-D3h_nr6-.js +1 -0
  88. package/web/dist/assets/prompt-templates-section-DelsVm7I.js +1 -0
  89. package/web/dist/assets/queries-CYWRnyM5.js +1 -0
  90. package/web/dist/assets/reference-chip-BdikRjql.js +1 -0
  91. package/web/dist/assets/remote-settings-notice-D2x0qeKt.js +1 -0
  92. package/web/dist/assets/repo-git-DKkOxBOJ.js +1 -0
  93. package/web/dist/assets/report-reader-D2b9baRm.js +1 -0
  94. package/web/dist/assets/report-selection-D2RvkiGX.js +1 -0
  95. package/web/dist/assets/reports-CBP54u9k.js +1 -0
  96. package/web/dist/assets/resources-section-D86nQvrk.js +1 -0
  97. package/web/dist/assets/review-panel-BcuyfiuF.js +11 -0
  98. package/web/dist/assets/run-detail-refresh-BNI7eMgG.js +1 -0
  99. package/web/dist/assets/run-header-B2AfxeyZ.js +2 -0
  100. package/web/dist/assets/{run-header-Ccnr9k0X.css → run-header-DfEfupCk.css} +1 -1
  101. package/web/dist/assets/{select-y3oRuA2s.js → select-KMLdkF0Y.js} +1 -1
  102. package/web/dist/assets/{session-context-section-CiPNMiL7.js → session-context-section-Do5bNw8y.js} +2 -2
  103. package/web/dist/assets/settings-agent-picker-Dtqb26Hz.js +1 -0
  104. package/web/dist/assets/settings-shell-AMRJAsgc.css +1 -0
  105. package/web/dist/assets/settings-shell-CWPwhUDh.js +1 -0
  106. package/web/dist/assets/sidebar-section-pLjtUKHT.js +1 -0
  107. package/web/dist/assets/skills-CaXsJiUU.js +1 -0
  108. package/web/dist/assets/{tab-link-Bu1g-ArE.js → tab-link-B0pNjKxZ.js} +1 -1
  109. package/web/dist/assets/task-changes-oogngDub.js +1 -0
  110. package/web/dist/assets/task-commits-_Aa8bkJq.js +1 -0
  111. package/web/dist/assets/task-file-scope-DY0ozMDn.js +1 -0
  112. package/web/dist/assets/task-files-DxFFK3zI.js +1 -0
  113. package/web/dist/assets/task-github-item-LSzJuoiu.js +1 -0
  114. package/web/dist/assets/task-groups-lh9gz7TP.js +1 -0
  115. package/web/dist/assets/task-thread-BlThx_dR.js +2 -0
  116. package/web/dist/assets/task-thread-PDeU-fL6.css +1 -0
  117. package/web/dist/assets/tasks-table-k18AuMR5.js +1 -0
  118. package/web/dist/assets/thread-state-DA2aAkKF.js +4 -0
  119. package/web/dist/assets/toaster-B0kvcFif.js +4 -0
  120. package/web/dist/assets/tool-display-B9NN44oU.js +1 -0
  121. package/web/dist/assets/{use-hand-to-agent-state-Ch0ok71s.css → use-hand-to-agent-state-BHaqyTxa.css} +1 -1
  122. package/web/dist/assets/use-hand-to-agent-state-dgiJEULj.js +1 -0
  123. package/web/dist/assets/use-search-params-writer-ClMScnNe.js +1 -0
  124. package/web/dist/assets/workflows-DNs9e08u.js +7 -0
  125. package/web/dist/assets/{workflows-DsE0ExV6.css → workflows-FH3RBKvk.css} +1 -1
  126. package/web/dist/assets/workspace-tools-DHek4GFd.js +1 -0
  127. package/web/dist/assets/worktrees-section-fLfqff8U.js +4 -0
  128. package/web/dist/assets/{zoomable-image-CIQl1Wpe.js → zoomable-image-6RTKhLGE.js} +1 -1
  129. package/web/dist/index.html +19 -17
  130. package/web/dist/assets/accounts-section-RDVTJfi7.js +0 -1
  131. package/web/dist/assets/activity-motion-B7km8QVK.js +0 -2
  132. package/web/dist/assets/activity-route-CjE0yxn0.js +0 -1
  133. package/web/dist/assets/agent-config-section-DQ1RaVK2.js +0 -7
  134. package/web/dist/assets/agent-defaults-section-Dzm7jIza.js +0 -1
  135. package/web/dist/assets/archive-on-merge-field-C7_Fwy2A.js +0 -1
  136. package/web/dist/assets/attention-CBCeJN5w.js +0 -1
  137. package/web/dist/assets/automations-route-BcdL5f0K.js +0 -2
  138. package/web/dist/assets/commit-list-CN1zX-0X.js +0 -1
  139. package/web/dist/assets/diff-hxqBOfZH.js +0 -3
  140. package/web/dist/assets/file-preview-VvCzp02k.js +0 -2
  141. package/web/dist/assets/folder-browser-B7IbnF0d.js +0 -1
  142. package/web/dist/assets/git-toolbar-BulcGzsv.js +0 -1
  143. package/web/dist/assets/github-By3yOcFH.js +0 -1
  144. package/web/dist/assets/global-activity-route-C4-bmfh_.js +0 -1
  145. package/web/dist/assets/hourglass-CikYdGGQ.js +0 -1
  146. package/web/dist/assets/image-preview-Pgf8bnzY.js +0 -1
  147. package/web/dist/assets/index-C69_Sk06.css +0 -1
  148. package/web/dist/assets/index-DNQcTHxV.js +0 -21
  149. package/web/dist/assets/label-Bt8n7Spq.js +0 -1
  150. package/web/dist/assets/live-reads-Crd6fVGH.js +0 -1
  151. package/web/dist/assets/nav-row-styles-DKeXbc4N.js +0 -1
  152. package/web/dist/assets/notifications-section-QWmuj2j2.js +0 -1
  153. package/web/dist/assets/open-in-menu-BPp88ouw.js +0 -1
  154. package/web/dist/assets/preview-pane-connected-DAM2Snwh.js +0 -3
  155. package/web/dist/assets/project-location-BRxXN249.js +0 -1
  156. package/web/dist/assets/project-router-CLJTc7gv.js +0 -1
  157. package/web/dist/assets/project-scope-context-Rv6S_BXt.js +0 -4
  158. package/web/dist/assets/projects-section-DxubjpZI.js +0 -1
  159. package/web/dist/assets/prompt-templates-section-CkQneT1G.js +0 -1
  160. package/web/dist/assets/queries-qCF-eOqZ.js +0 -1
  161. package/web/dist/assets/reference-chip-D0v0keVC.js +0 -1
  162. package/web/dist/assets/remote-settings-notice-COojb6XK.js +0 -1
  163. package/web/dist/assets/repo-git-Mgk4Qcmo.js +0 -1
  164. package/web/dist/assets/report-reader-zWwalJDN.js +0 -1
  165. package/web/dist/assets/reports-BCHWt3zy.js +0 -1
  166. package/web/dist/assets/resources-section-Cb2WIqNv.js +0 -1
  167. package/web/dist/assets/run-header-DeprqSP7.js +0 -2
  168. package/web/dist/assets/settings-agent-picker-CJJJncuA.js +0 -1
  169. package/web/dist/assets/settings-shell-CLToW28f.js +0 -1
  170. package/web/dist/assets/settings-shell-CqiAPuLq.css +0 -1
  171. package/web/dist/assets/sidebar-section-VOYJarPd.js +0 -1
  172. package/web/dist/assets/skills-BySF3yBA.js +0 -1
  173. package/web/dist/assets/task-changes-NUwvUglx.js +0 -1
  174. package/web/dist/assets/task-commits-CpV1Hz9L.js +0 -1
  175. package/web/dist/assets/task-files-Bu-L_NRW.js +0 -1
  176. package/web/dist/assets/task-github-item-DhiTqCjk.js +0 -1
  177. package/web/dist/assets/task-groups-4tzKGROI.js +0 -1
  178. package/web/dist/assets/task-thread-CKkTeQdi.js +0 -9
  179. package/web/dist/assets/task-thread-DzADOhZd.css +0 -1
  180. package/web/dist/assets/tasks-table-C5uoZMFs.js +0 -1
  181. package/web/dist/assets/thread-state-B_ZqjjRr.js +0 -4
  182. package/web/dist/assets/toaster-BXnLIU3z.js +0 -1
  183. package/web/dist/assets/use-hand-to-agent-state-K864D69i.js +0 -1
  184. package/web/dist/assets/workflows-DlTkuM0J.js +0 -7
  185. package/web/dist/assets/workspace-tools-BRK7f1Hk.js +0 -1
  186. package/web/dist/assets/worktrees-section-BXI0-7HH.js +0 -4
@@ -1212,6 +1212,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1212
1212
  } & {
1213
1213
  "/run-summaries": {
1214
1214
  $get: {
1215
+ output: {
1216
+ error: string;
1217
+ code?: "invalid_input" | undefined;
1218
+ };
1219
+ outputFormat: "json";
1220
+ status: 400;
1221
+ input: {
1222
+ query: {
1223
+ archived?: "all" | "recent" | undefined;
1224
+ };
1225
+ };
1226
+ } | {
1215
1227
  output: {
1216
1228
  id: string;
1217
1229
  title: string;
@@ -1336,6 +1348,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1336
1348
  currentStepId?: string | undefined;
1337
1349
  currentStepBackend?: string | undefined;
1338
1350
  error?: string | undefined;
1351
+ statePreview?: {
1352
+ kind: "ask" | "error" | "permission" | "review";
1353
+ text: string;
1354
+ } | undefined;
1339
1355
  worktreePath?: string | undefined;
1340
1356
  }[];
1341
1357
  outputFormat: "json";
@@ -1345,18 +1361,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1345
1361
  archived?: "all" | "recent" | undefined;
1346
1362
  };
1347
1363
  };
1348
- } | {
1349
- output: {
1350
- error: string;
1351
- code?: "invalid_input" | undefined;
1352
- };
1353
- outputFormat: "json";
1354
- status: 400;
1355
- input: {
1356
- query: {
1357
- archived?: "all" | "recent" | undefined;
1358
- };
1359
- };
1360
1364
  };
1361
1365
  };
1362
1366
  } & {
@@ -1514,6 +1518,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1514
1518
  currentStepId?: string | undefined;
1515
1519
  currentStepBackend?: string | undefined;
1516
1520
  error?: string | undefined;
1521
+ statePreview?: {
1522
+ kind: "ask" | "error" | "permission" | "review";
1523
+ text: string;
1524
+ } | undefined;
1517
1525
  worktreePath?: string | undefined;
1518
1526
  }[];
1519
1527
  nextCursor: string | null;
@@ -1714,11 +1722,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1714
1722
  "/runs/:id/worker-destroy": {
1715
1723
  $post: {
1716
1724
  output: {
1717
- error: string;
1718
- code?: "invalid_input" | undefined;
1725
+ workerId: string;
1726
+ state: "complete" | "incomplete";
1727
+ work?: {
1728
+ uncommittedFiles: number;
1729
+ commits: number;
1730
+ } | undefined;
1731
+ deleted?: ({
1732
+ kind: "worktree";
1733
+ path: string;
1734
+ } | {
1735
+ kind: "branch";
1736
+ ref: string;
1737
+ })[] | undefined;
1738
+ remaining: ("branch" | "process" | "worktree")[];
1739
+ error?: string | undefined;
1719
1740
  };
1720
1741
  outputFormat: "json";
1721
- status: 400;
1742
+ status: 200;
1722
1743
  input: {
1723
1744
  query: {
1724
1745
  [x: string]: string | string[];
@@ -1734,24 +1755,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1734
1755
  };
1735
1756
  } | {
1736
1757
  output: {
1737
- workerId: string;
1738
- state: "complete" | "incomplete";
1739
- work?: {
1740
- uncommittedFiles: number;
1741
- commits: number;
1742
- } | undefined;
1743
- deleted?: ({
1744
- kind: "worktree";
1745
- path: string;
1746
- } | {
1747
- kind: "branch";
1748
- ref: string;
1749
- })[] | undefined;
1750
- remaining: ("branch" | "process" | "worktree")[];
1751
- error?: string | undefined;
1758
+ error: string;
1759
+ code?: "invalid_input" | undefined;
1752
1760
  };
1753
1761
  outputFormat: "json";
1754
- status: 200;
1762
+ status: 400;
1755
1763
  input: {
1756
1764
  query: {
1757
1765
  [x: string]: string | string[];
@@ -1867,6 +1875,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1867
1875
  } & {
1868
1876
  "/runs/:id/archive": {
1869
1877
  $post: {
1878
+ output: {
1879
+ error: string;
1880
+ };
1881
+ outputFormat: "json";
1882
+ status: 404;
1883
+ input: {
1884
+ json: {
1885
+ archived?: boolean | undefined;
1886
+ };
1887
+ } & {
1888
+ param: {
1889
+ id: string;
1890
+ };
1891
+ };
1892
+ } | {
1870
1893
  output: {
1871
1894
  archiveWhenDone?: boolean | undefined;
1872
1895
  autoMergePr?: boolean | undefined;
@@ -3045,32 +3068,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3045
3068
  id: string;
3046
3069
  };
3047
3070
  };
3048
- } | {
3071
+ };
3072
+ };
3073
+ } & {
3074
+ "/runs/:id/pin": {
3075
+ $post: {
3049
3076
  output: {
3050
3077
  error: string;
3078
+ code?: "invalid_input" | undefined;
3051
3079
  };
3052
3080
  outputFormat: "json";
3053
- status: 404;
3081
+ status: 400;
3054
3082
  input: {
3055
- json: {
3056
- archived?: boolean | undefined;
3057
- };
3058
- } & {
3059
3083
  param: {
3060
3084
  id: string;
3061
3085
  };
3086
+ } & {
3087
+ json: {
3088
+ pinned?: boolean | undefined;
3089
+ };
3062
3090
  };
3063
- };
3064
- };
3065
- } & {
3066
- "/runs/:id/pin": {
3067
- $post: {
3091
+ } | {
3068
3092
  output: {
3069
3093
  error: string;
3070
- code?: "invalid_input" | undefined;
3071
3094
  };
3072
3095
  outputFormat: "json";
3073
- status: 400;
3096
+ status: 404;
3074
3097
  input: {
3075
3098
  param: {
3076
3099
  id: string;
@@ -4259,21 +4282,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4259
4282
  pinned?: boolean | undefined;
4260
4283
  };
4261
4284
  };
4262
- } | {
4263
- output: {
4264
- error: string;
4265
- };
4266
- outputFormat: "json";
4267
- status: 404;
4268
- input: {
4269
- param: {
4270
- id: string;
4271
- };
4272
- } & {
4273
- json: {
4274
- pinned?: boolean | undefined;
4275
- };
4276
- };
4277
4285
  };
4278
4286
  };
4279
4287
  } & {
@@ -4300,7 +4308,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4300
4308
  error: string;
4301
4309
  };
4302
4310
  outputFormat: "json";
4303
- status: 404;
4311
+ status: 400;
4304
4312
  input: {
4305
4313
  param: {
4306
4314
  id: string;
@@ -4316,7 +4324,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4316
4324
  error: string;
4317
4325
  };
4318
4326
  outputFormat: "json";
4319
- status: 400;
4327
+ status: 404;
4320
4328
  input: {
4321
4329
  param: {
4322
4330
  id: string;
@@ -5538,6 +5546,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5538
5546
  } & {
5539
5547
  "/runs/:id/read": {
5540
5548
  $post: {
5549
+ output: {
5550
+ error: string;
5551
+ };
5552
+ outputFormat: "json";
5553
+ status: 404;
5554
+ input: {
5555
+ param: {
5556
+ id: string;
5557
+ };
5558
+ };
5559
+ } | {
5541
5560
  output: {
5542
5561
  archiveWhenDone?: boolean | undefined;
5543
5562
  autoMergePr?: boolean | undefined;
@@ -6712,7 +6731,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6712
6731
  id: string;
6713
6732
  };
6714
6733
  };
6715
- } | {
6734
+ };
6735
+ };
6736
+ } & {
6737
+ "/runs/:id/unread": {
6738
+ $post: {
6716
6739
  output: {
6717
6740
  error: string;
6718
6741
  };
@@ -6723,11 +6746,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6723
6746
  id: string;
6724
6747
  };
6725
6748
  };
6726
- };
6727
- };
6728
- } & {
6729
- "/runs/:id/unread": {
6730
- $post: {
6749
+ } | {
6731
6750
  output: {
6732
6751
  archiveWhenDone?: boolean | undefined;
6733
6752
  autoMergePr?: boolean | undefined;
@@ -7902,17 +7921,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7902
7921
  id: string;
7903
7922
  };
7904
7923
  };
7905
- } | {
7906
- output: {
7907
- error: string;
7908
- };
7909
- outputFormat: "json";
7910
- status: 404;
7911
- input: {
7912
- param: {
7913
- id: string;
7914
- };
7915
- };
7916
7924
  };
7917
7925
  };
7918
7926
  } & {
@@ -9188,6 +9196,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9188
9196
  } & {
9189
9197
  "/runs/:id": {
9190
9198
  $get: {
9199
+ output: {
9200
+ error: string;
9201
+ };
9202
+ outputFormat: "json";
9203
+ status: 404;
9204
+ input: {
9205
+ param: {
9206
+ id: string;
9207
+ };
9208
+ };
9209
+ } | {
9191
9210
  output: {
9192
9211
  archiveWhenDone?: boolean | undefined;
9193
9212
  autoMergePr?: boolean | undefined;
@@ -10370,17 +10389,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10370
10389
  id: string;
10371
10390
  };
10372
10391
  };
10373
- } | {
10374
- output: {
10375
- error: string;
10376
- };
10377
- outputFormat: "json";
10378
- status: 404;
10379
- input: {
10380
- param: {
10381
- id: string;
10382
- };
10383
- };
10384
10392
  };
10385
10393
  };
10386
10394
  } & {
@@ -10508,6 +10516,66 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10508
10516
  } & {
10509
10517
  "/runs/:id": {
10510
10518
  $patch: {
10519
+ output: {
10520
+ error: string;
10521
+ };
10522
+ outputFormat: "json";
10523
+ status: 400;
10524
+ input: {
10525
+ json: {
10526
+ archiveWhenDone?: boolean | undefined;
10527
+ autoMergePr?: boolean | undefined;
10528
+ allowWorkers?: boolean | undefined;
10529
+ allowMessaging?: boolean | undefined;
10530
+ title?: string | undefined;
10531
+ task?: string | undefined;
10532
+ };
10533
+ } & {
10534
+ param: {
10535
+ id: string;
10536
+ };
10537
+ };
10538
+ } | {
10539
+ output: {
10540
+ error: string;
10541
+ };
10542
+ outputFormat: "json";
10543
+ status: 404;
10544
+ input: {
10545
+ json: {
10546
+ archiveWhenDone?: boolean | undefined;
10547
+ autoMergePr?: boolean | undefined;
10548
+ allowWorkers?: boolean | undefined;
10549
+ allowMessaging?: boolean | undefined;
10550
+ title?: string | undefined;
10551
+ task?: string | undefined;
10552
+ };
10553
+ } & {
10554
+ param: {
10555
+ id: string;
10556
+ };
10557
+ };
10558
+ } | {
10559
+ output: {
10560
+ error: string;
10561
+ };
10562
+ outputFormat: "json";
10563
+ status: 409;
10564
+ input: {
10565
+ json: {
10566
+ archiveWhenDone?: boolean | undefined;
10567
+ autoMergePr?: boolean | undefined;
10568
+ allowWorkers?: boolean | undefined;
10569
+ allowMessaging?: boolean | undefined;
10570
+ title?: string | undefined;
10571
+ task?: string | undefined;
10572
+ };
10573
+ } & {
10574
+ param: {
10575
+ id: string;
10576
+ };
10577
+ };
10578
+ } | {
10511
10579
  output: {
10512
10580
  archiveWhenDone?: boolean | undefined;
10513
10581
  autoMergePr?: boolean | undefined;
@@ -11691,71 +11759,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11691
11759
  id: string;
11692
11760
  };
11693
11761
  };
11694
- } | {
11695
- output: {
11696
- error: string;
11697
- };
11698
- outputFormat: "json";
11699
- status: 404;
11700
- input: {
11701
- json: {
11702
- archiveWhenDone?: boolean | undefined;
11703
- autoMergePr?: boolean | undefined;
11704
- allowWorkers?: boolean | undefined;
11705
- allowMessaging?: boolean | undefined;
11706
- title?: string | undefined;
11707
- task?: string | undefined;
11708
- };
11709
- } & {
11710
- param: {
11711
- id: string;
11712
- };
11713
- };
11714
- } | {
11715
- output: {
11716
- error: string;
11717
- };
11718
- outputFormat: "json";
11719
- status: 400;
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: 409;
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
- };
11756
- } & {
11757
- "/runs/:id/cancel": {
11758
- $post: {
11762
+ };
11763
+ };
11764
+ } & {
11765
+ "/runs/:id/cancel": {
11766
+ $post: {
11759
11767
  output: {
11760
11768
  error: string;
11761
11769
  };
@@ -11855,7 +11863,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11855
11863
  error: string;
11856
11864
  };
11857
11865
  outputFormat: "json";
11858
- status: 404;
11866
+ status: 400;
11859
11867
  input: {
11860
11868
  json: {
11861
11869
  text?: string | undefined;
@@ -11874,7 +11882,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11874
11882
  error: string;
11875
11883
  };
11876
11884
  outputFormat: "json";
11877
- status: 409;
11885
+ status: 404;
11878
11886
  input: {
11879
11887
  json: {
11880
11888
  text?: string | undefined;
@@ -11890,10 +11898,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11890
11898
  };
11891
11899
  } | {
11892
11900
  output: {
11893
- delivered: true;
11901
+ error: string;
11894
11902
  };
11895
11903
  outputFormat: "json";
11896
- status: import("hono/utils/http-status").ContentfulStatusCode;
11904
+ status: 409;
11897
11905
  input: {
11898
11906
  json: {
11899
11907
  text?: string | undefined;
@@ -11909,10 +11917,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11909
11917
  };
11910
11918
  } | {
11911
11919
  output: {
11912
- error: string;
11920
+ delivered: true;
11913
11921
  };
11914
11922
  outputFormat: "json";
11915
- status: 400;
11923
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11916
11924
  input: {
11917
11925
  json: {
11918
11926
  text?: string | undefined;
@@ -11980,7 +11988,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11980
11988
  error: string;
11981
11989
  };
11982
11990
  outputFormat: "json";
11983
- status: 404;
11991
+ status: 400;
11984
11992
  input: {
11985
11993
  json: {
11986
11994
  text?: string | undefined;
@@ -12001,7 +12009,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12001
12009
  error: string;
12002
12010
  };
12003
12011
  outputFormat: "json";
12004
- status: 400;
12012
+ status: 404;
12005
12013
  input: {
12006
12014
  json: {
12007
12015
  text?: string | undefined;
@@ -12221,10 +12229,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12221
12229
  "/runs/:id/open-in-cli": {
12222
12230
  $post: {
12223
12231
  output: {
12224
- error: string;
12232
+ opened: true;
12233
+ command: string;
12225
12234
  };
12226
12235
  outputFormat: "json";
12227
- status: 404 | 409;
12236
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12228
12237
  input: {
12229
12238
  param: {
12230
12239
  id: string;
@@ -12232,11 +12241,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12232
12241
  };
12233
12242
  } | {
12234
12243
  output: {
12235
- opened: true;
12236
- command: string;
12244
+ error: string;
12237
12245
  };
12238
12246
  outputFormat: "json";
12239
- status: import("hono/utils/http-status").ContentfulStatusCode;
12247
+ status: 404 | 409;
12240
12248
  input: {
12241
12249
  param: {
12242
12250
  id: string;
@@ -12251,7 +12259,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12251
12259
  error: string;
12252
12260
  };
12253
12261
  outputFormat: "json";
12254
- status: 404 | 409;
12262
+ status: 400;
12255
12263
  input: {
12256
12264
  json: {
12257
12265
  target: string;
@@ -12264,10 +12272,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12264
12272
  };
12265
12273
  } | {
12266
12274
  output: {
12267
- error: string;
12275
+ opened: true;
12276
+ path: string;
12268
12277
  };
12269
12278
  outputFormat: "json";
12270
- status: 400;
12279
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12271
12280
  input: {
12272
12281
  json: {
12273
12282
  target: string;
@@ -12280,11 +12289,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12280
12289
  };
12281
12290
  } | {
12282
12291
  output: {
12283
- opened: true;
12284
- path: string;
12292
+ error: string;
12285
12293
  };
12286
12294
  outputFormat: "json";
12287
- status: import("hono/utils/http-status").ContentfulStatusCode;
12295
+ status: 404 | 409;
12288
12296
  input: {
12289
12297
  json: {
12290
12298
  target: string;
@@ -12324,9 +12332,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12324
12332
  } & {
12325
12333
  "/runs/:id/images/:file": {
12326
12334
  $get: {
12327
- output: {};
12328
- outputFormat: string;
12329
- status: import("hono/utils/http-status").StatusCode;
12335
+ output: {
12336
+ error: string;
12337
+ code?: "invalid_input" | undefined;
12338
+ };
12339
+ outputFormat: "json";
12340
+ status: 400;
12330
12341
  input: {
12331
12342
  param: {
12332
12343
  id: string;
@@ -12334,12 +12345,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12334
12345
  };
12335
12346
  };
12336
12347
  } | {
12337
- output: {
12338
- error: string;
12339
- code?: "invalid_input" | undefined;
12340
- };
12341
- outputFormat: "json";
12342
- status: 400;
12348
+ output: {};
12349
+ outputFormat: string;
12350
+ status: import("hono/utils/http-status").StatusCode;
12343
12351
  input: {
12344
12352
  param: {
12345
12353
  id: string;
@@ -12375,17 +12383,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12375
12383
  } & {
12376
12384
  "/runs/:id/changes": {
12377
12385
  $get: {
12378
- output: {
12379
- error: string;
12380
- };
12381
- outputFormat: "json";
12382
- status: 404 | 409;
12383
- input: {
12384
- param: {
12385
- id: string;
12386
- };
12387
- };
12388
- } | {
12389
12386
  output: {
12390
12387
  files: {
12391
12388
  path: string;
@@ -12414,11 +12411,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12414
12411
  id: string;
12415
12412
  };
12416
12413
  };
12417
- };
12418
- };
12419
- } & {
12420
- "/runs/:id/commits": {
12421
- $get: {
12414
+ } | {
12422
12415
  output: {
12423
12416
  error: string;
12424
12417
  };
@@ -12429,7 +12422,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12429
12422
  id: string;
12430
12423
  };
12431
12424
  };
12432
- } | {
12425
+ };
12426
+ };
12427
+ } & {
12428
+ "/runs/:id/commits": {
12429
+ $get: {
12433
12430
  output: {
12434
12431
  commits: {
12435
12432
  sha: string;
@@ -12445,11 +12442,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12445
12442
  id: string;
12446
12443
  };
12447
12444
  };
12448
- };
12449
- };
12450
- } & {
12451
- "/runs/:id/commit/:sha": {
12452
- $get: {
12445
+ } | {
12453
12446
  output: {
12454
12447
  error: string;
12455
12448
  };
@@ -12458,11 +12451,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12458
12451
  input: {
12459
12452
  param: {
12460
12453
  id: string;
12461
- } & {
12462
- sha: string;
12463
12454
  };
12464
12455
  };
12465
- } | {
12456
+ };
12457
+ };
12458
+ } & {
12459
+ "/runs/:id/commit/:sha": {
12460
+ $get: {
12466
12461
  output: {
12467
12462
  sha: string;
12468
12463
  subject: string;
@@ -12493,6 +12488,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12493
12488
  sha: string;
12494
12489
  };
12495
12490
  };
12491
+ } | {
12492
+ output: {
12493
+ error: string;
12494
+ };
12495
+ outputFormat: "json";
12496
+ status: 404 | 409;
12497
+ input: {
12498
+ param: {
12499
+ id: string;
12500
+ } & {
12501
+ sha: string;
12502
+ };
12503
+ };
12496
12504
  };
12497
12505
  };
12498
12506
  } & {
@@ -12528,22 +12536,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12528
12536
  raw?: "1" | undefined;
12529
12537
  };
12530
12538
  };
12531
- } | {
12532
- output: {
12533
- error: string;
12534
- };
12535
- outputFormat: "json";
12536
- status: 404 | 409;
12537
- input: {
12538
- param: {
12539
- id: string;
12540
- };
12541
- } & {
12542
- query: {
12543
- path: string | string[];
12544
- raw?: "1" | undefined;
12545
- };
12546
- };
12547
12539
  } | {
12548
12540
  output: {
12549
12541
  type: "file";
@@ -12580,6 +12572,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12580
12572
  raw?: "1" | undefined;
12581
12573
  };
12582
12574
  };
12575
+ } | {
12576
+ output: {
12577
+ error: string;
12578
+ };
12579
+ outputFormat: "json";
12580
+ status: 404 | 409;
12581
+ input: {
12582
+ param: {
12583
+ id: string;
12584
+ };
12585
+ } & {
12586
+ query: {
12587
+ path: string | string[];
12588
+ raw?: "1" | undefined;
12589
+ };
12590
+ };
12583
12591
  };
12584
12592
  };
12585
12593
  } & {
@@ -12644,6 +12652,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12644
12652
  artifactId: string;
12645
12653
  };
12646
12654
  };
12655
+ } | {
12656
+ output: {
12657
+ error: string;
12658
+ };
12659
+ outputFormat: "json";
12660
+ status: 404;
12661
+ input: {
12662
+ param: {
12663
+ id: string;
12664
+ artifactId: string;
12665
+ };
12666
+ };
12647
12667
  } | {
12648
12668
  output: {
12649
12669
  type: "file";
@@ -12672,18 +12692,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12672
12692
  artifactId: string;
12673
12693
  };
12674
12694
  };
12675
- } | {
12676
- output: {
12677
- error: string;
12678
- };
12679
- outputFormat: "json";
12680
- status: 404;
12681
- input: {
12682
- param: {
12683
- id: string;
12684
- artifactId: string;
12685
- };
12686
- };
12687
12695
  };
12688
12696
  };
12689
12697
  } & {
@@ -12861,10 +12869,16 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12861
12869
  };
12862
12870
  } | {
12863
12871
  output: {
12864
- error: string;
12872
+ type: 'dir';
12873
+ path: string;
12874
+ entries: {
12875
+ name: string;
12876
+ type: 'dir' | 'file';
12877
+ size?: number;
12878
+ }[];
12865
12879
  };
12866
12880
  outputFormat: "json";
12867
- status: 404 | 409;
12881
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12868
12882
  input: {
12869
12883
  query: {
12870
12884
  path?: string | undefined;
@@ -12877,13 +12891,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12877
12891
  };
12878
12892
  } | {
12879
12893
  output: {
12880
- type: 'dir';
12894
+ type: 'file';
12881
12895
  path: string;
12882
- entries: {
12883
- name: string;
12884
- type: 'dir' | 'file';
12885
- size?: number;
12886
- }[];
12896
+ size: number;
12897
+ binary: boolean;
12898
+ tooLarge: boolean;
12899
+ content?: string | undefined;
12887
12900
  };
12888
12901
  outputFormat: "json";
12889
12902
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12899,15 +12912,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12899
12912
  };
12900
12913
  } | {
12901
12914
  output: {
12902
- type: 'file';
12903
- path: string;
12904
- size: number;
12905
- binary: boolean;
12906
- tooLarge: boolean;
12907
- content?: string | undefined;
12915
+ error: string;
12908
12916
  };
12909
12917
  outputFormat: "json";
12910
- status: import("hono/utils/http-status").ContentfulStatusCode;
12918
+ status: 404 | 409;
12911
12919
  input: {
12912
12920
  query: {
12913
12921
  path?: string | undefined;
@@ -12924,10 +12932,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12924
12932
  "/runs/:id/git/commit": {
12925
12933
  $post: {
12926
12934
  output: {
12927
- error: string;
12935
+ committed: true;
12936
+ sha: string;
12928
12937
  };
12929
12938
  outputFormat: "json";
12930
- status: 404 | 409;
12939
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12931
12940
  input: {
12932
12941
  json: {
12933
12942
  message: string;
@@ -12939,11 +12948,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12939
12948
  };
12940
12949
  } | {
12941
12950
  output: {
12942
- committed: true;
12943
- sha: string;
12951
+ error: string;
12944
12952
  };
12945
12953
  outputFormat: "json";
12946
- status: import("hono/utils/http-status").ContentfulStatusCode;
12954
+ status: 404 | 409;
12947
12955
  input: {
12948
12956
  json: {
12949
12957
  message: string;
@@ -12959,10 +12967,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12959
12967
  "/runs/:id/git/push": {
12960
12968
  $post: {
12961
12969
  output: {
12962
- error: string;
12970
+ pushed: true;
12971
+ branch: string;
12972
+ remote: string;
12973
+ upstreamSet: boolean;
12963
12974
  };
12964
12975
  outputFormat: "json";
12965
- status: 404 | 409;
12976
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12966
12977
  input: {
12967
12978
  param: {
12968
12979
  id: string;
@@ -12970,13 +12981,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12970
12981
  };
12971
12982
  } | {
12972
12983
  output: {
12973
- pushed: true;
12974
- branch: string;
12975
- remote: string;
12976
- upstreamSet: boolean;
12984
+ error: string;
12977
12985
  };
12978
12986
  outputFormat: "json";
12979
- status: import("hono/utils/http-status").ContentfulStatusCode;
12987
+ status: 404 | 409;
12980
12988
  input: {
12981
12989
  param: {
12982
12990
  id: string;
@@ -12988,10 +12996,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12988
12996
  "/runs/:id/pr": {
12989
12997
  $post: {
12990
12998
  output: {
12991
- error: string;
12999
+ url: string;
13000
+ dryRun: boolean;
12992
13001
  };
12993
13002
  outputFormat: "json";
12994
- status: 404 | 409;
13003
+ status: 201;
12995
13004
  input: {
12996
13005
  param: {
12997
13006
  id: string;
@@ -12999,11 +13008,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12999
13008
  };
13000
13009
  } | {
13001
13010
  output: {
13002
- url: string;
13003
- dryRun: boolean;
13011
+ error: string;
13004
13012
  };
13005
13013
  outputFormat: "json";
13006
- status: 201;
13014
+ status: 404 | 409;
13007
13015
  input: {
13008
13016
  param: {
13009
13017
  id: string;
@@ -13015,10 +13023,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13015
13023
  "/runs/:id/remove-worktree": {
13016
13024
  $post: {
13017
13025
  output: {
13018
- error: string;
13026
+ removed: true;
13019
13027
  };
13020
13028
  outputFormat: "json";
13021
- status: 404 | 409;
13029
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13022
13030
  input: {
13023
13031
  param: {
13024
13032
  id: string;
@@ -13026,10 +13034,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13026
13034
  };
13027
13035
  } | {
13028
13036
  output: {
13029
- removed: true;
13037
+ error: string;
13030
13038
  };
13031
13039
  outputFormat: "json";
13032
- status: import("hono/utils/http-status").ContentfulStatusCode;
13040
+ status: 404 | 409;
13033
13041
  input: {
13034
13042
  param: {
13035
13043
  id: string;
@@ -13041,10 +13049,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13041
13049
  "/runs/:id": {
13042
13050
  $delete: {
13043
13051
  output: {
13044
- error: string;
13052
+ deleted: true;
13045
13053
  };
13046
13054
  outputFormat: "json";
13047
- status: 404 | 409;
13055
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13048
13056
  input: {
13049
13057
  param: {
13050
13058
  id: string;
@@ -13052,10 +13060,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13052
13060
  };
13053
13061
  } | {
13054
13062
  output: {
13055
- deleted: true;
13063
+ error: string;
13056
13064
  };
13057
13065
  outputFormat: "json";
13058
- status: import("hono/utils/http-status").ContentfulStatusCode;
13066
+ status: 404 | 409;
13059
13067
  input: {
13060
13068
  param: {
13061
13069
  id: string;