@hearsay-tools/squawk 0.19.0-pr4470.8813 → 0.19.0-pr4470.8833

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 (201) hide show
  1. package/dist/boot.js +0 -6
  2. package/dist/boot.js.map +1 -1
  3. package/dist/built-in-cli-commands.js +0 -4
  4. package/dist/built-in-cli-commands.js.map +1 -1
  5. package/dist/built-in-launch-parts.d.ts +0 -2
  6. package/dist/built-in-launch-parts.js +1 -9
  7. package/dist/built-in-launch-parts.js.map +1 -1
  8. package/dist/built-in-tools.js +1 -2
  9. package/dist/built-in-tools.js.map +1 -1
  10. package/dist/ci-wait/controller.d.ts +7 -7
  11. package/dist/delegation/transport.d.ts +65 -65
  12. package/dist/features/automations/agent-tools.d.ts +2 -0
  13. package/dist/{automations → features/automations}/agent-tools.js +5 -5
  14. package/dist/features/automations/agent-tools.js.map +1 -0
  15. package/dist/{automations → features/automations}/automation-cli.d.ts +3 -3
  16. package/dist/{automations → features/automations}/automation-cli.js +9 -9
  17. package/dist/features/automations/automation-cli.js.map +1 -0
  18. package/dist/{server → features/automations}/automation-log-retry.d.ts +2 -2
  19. package/dist/{server → features/automations}/automation-log-retry.js +4 -4
  20. package/dist/features/automations/automation-log-retry.js.map +1 -0
  21. package/dist/{server → features/automations}/automations-routes.d.ts +165 -165
  22. package/dist/{server → features/automations}/automations-routes.js +17 -17
  23. package/dist/features/automations/automations-routes.js.map +1 -0
  24. package/dist/features/automations/capability.d.ts +3 -0
  25. package/dist/features/automations/capability.js +7 -0
  26. package/dist/features/automations/capability.js.map +1 -0
  27. package/dist/features/automations/cli-command.d.ts +3 -0
  28. package/dist/features/automations/cli-command.js +10 -0
  29. package/dist/features/automations/cli-command.js.map +1 -0
  30. package/dist/{automations → features/automations}/coordinator.js +3 -3
  31. package/dist/features/automations/coordinator.js.map +1 -0
  32. package/dist/{automations → features/automations}/enabled.js +1 -1
  33. package/dist/features/automations/enabled.js.map +1 -0
  34. package/dist/features/automations/github-baseline.js.map +1 -0
  35. package/dist/{automations → features/automations}/github-poller.d.ts +1 -1
  36. package/dist/{automations → features/automations}/github-poller.js +2 -2
  37. package/dist/features/automations/github-poller.js.map +1 -0
  38. package/dist/{automations → features/automations}/github-repository.d.ts +1 -1
  39. package/dist/{automations → features/automations}/github-repository.js +3 -3
  40. package/dist/features/automations/github-repository.js.map +1 -0
  41. package/dist/features/automations/index.d.ts +14 -0
  42. package/dist/features/automations/index.js +17 -0
  43. package/dist/features/automations/index.js.map +1 -0
  44. package/dist/features/automations/launch-part.d.ts +3 -0
  45. package/dist/features/automations/launch-part.js +9 -0
  46. package/dist/features/automations/launch-part.js.map +1 -0
  47. package/dist/{automations → features/automations}/project-files.js +1 -1
  48. package/dist/features/automations/project-files.js.map +1 -0
  49. package/dist/{automations → features/automations}/prompts.js +2 -2
  50. package/dist/features/automations/prompts.js.map +1 -0
  51. package/dist/{automations → features/automations}/schedule-runner.js +1 -1
  52. package/dist/features/automations/schedule-runner.js.map +1 -0
  53. package/dist/{automations → features/automations}/scheduler.js +4 -4
  54. package/dist/features/automations/scheduler.js.map +1 -0
  55. package/dist/features/automations/server-plugin.d.ts +7 -0
  56. package/dist/features/automations/server-plugin.js +31 -0
  57. package/dist/features/automations/server-plugin.js.map +1 -0
  58. package/dist/{automations → features/automations}/service.d.ts +7 -7
  59. package/dist/{automations → features/automations}/service.js +6 -6
  60. package/dist/features/automations/service.js.map +1 -0
  61. package/dist/{automations → features/automations}/store.js +5 -5
  62. package/dist/features/automations/store.js.map +1 -0
  63. package/dist/{automations → features/automations}/task-template.d.ts +2 -2
  64. package/dist/{automations → features/automations}/task-template.js +7 -7
  65. package/dist/features/automations/task-template.js.map +1 -0
  66. package/dist/{automations → features/automations}/tool-adapter.d.ts +4 -4
  67. package/dist/{automations → features/automations}/tool-adapter.js +12 -12
  68. package/dist/features/automations/tool-adapter.js.map +1 -0
  69. package/dist/{automations → features/automations}/tool-catalog.js +2 -2
  70. package/dist/features/automations/tool-catalog.js.map +1 -0
  71. package/dist/{automations → features/automations}/tool-client.d.ts +2 -2
  72. package/dist/{automations → features/automations}/tool-client.js +4 -4
  73. package/dist/features/automations/tool-client.js.map +1 -0
  74. package/dist/features/automations/tool-env.d.ts +3 -0
  75. package/dist/features/automations/tool-env.js +5 -0
  76. package/dist/features/automations/tool-env.js.map +1 -0
  77. package/dist/{automations → features/automations}/tool-errors.d.ts +1 -1
  78. package/dist/features/automations/tool-errors.js.map +1 -0
  79. package/dist/{automations → features/automations}/tool-github.js +1 -1
  80. package/dist/features/automations/tool-github.js.map +1 -0
  81. package/dist/{automations → features/automations}/tool-session.d.ts +1 -1
  82. package/dist/{automations → features/automations}/tool-session.js +1 -1
  83. package/dist/features/automations/tool-session.js.map +1 -0
  84. package/dist/{automations → features/automations}/tool-timeout.js +1 -1
  85. package/dist/features/automations/tool-timeout.js.map +1 -0
  86. package/dist/{automations → features/automations}/tools.d.ts +1 -1
  87. package/dist/features/automations/tools.js.map +1 -0
  88. package/dist/{automations → features/automations}/types.d.ts +1 -1
  89. package/dist/{automations → features/automations}/types.js +1 -1
  90. package/dist/features/automations/types.js.map +1 -0
  91. package/dist/server/activity-routes.d.ts +23 -23
  92. package/dist/server/live-routes.d.ts +6 -6
  93. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  94. package/dist/server/providers-routes.d.ts +7 -7
  95. package/dist/server/repo-routes.d.ts +34 -34
  96. package/dist/server/runner-install-routes.d.ts +10 -10
  97. package/dist/server/runs-routes.d.ts +301 -301
  98. package/dist/server/server.d.ts +1301 -1301
  99. package/dist/server/workspace-live-routes.d.ts +6 -6
  100. package/dist/server/workspace-routes.d.ts +84 -84
  101. package/package.json +4 -4
  102. package/web/dist/assets/{accounts-section-B6L_eCge.js → accounts-section-CO6CCfuy.js} +1 -1
  103. package/web/dist/assets/{activity-motion-uHV9WVWW.js → activity-motion-CDS7Avyd.js} +1 -1
  104. package/web/dist/assets/{activity-route-ZvBSfbJa.js → activity-route-Bff28A0W.js} +1 -1
  105. package/web/dist/assets/{agent-config-section-Czu88iFQ.js → agent-config-section-BRBpvB2d.js} +1 -1
  106. package/web/dist/assets/{agent-defaults-section-kdQ9hwMn.js → agent-defaults-section-DYW8Gy2H.js} +1 -1
  107. package/web/dist/assets/{appearance-ELzA_Y-r.js → appearance-DYmuL4-u.js} +1 -1
  108. package/web/dist/assets/{automations-route-wgVmxFuL.js → automations-route-DprmFd3U.js} +1 -1
  109. package/web/dist/assets/{commit-list-Cg2wU-b9.js → commit-list-BN2-rjP9.js} +1 -1
  110. package/web/dist/assets/{diff-KCTM2Wz-.js → diff--rwNwRe2.js} +2 -2
  111. package/web/dist/assets/{diff-controls-LZ-ro_V5.js → diff-controls-B0ZVrJ0k.js} +1 -1
  112. package/web/dist/assets/{diff-view-ClhSIhOU.js → diff-view-CmPmqU5u.js} +1 -1
  113. package/web/dist/assets/{file-preview-DaPUicrL.js → file-preview-Bfe8sXFZ.js} +1 -1
  114. package/web/dist/assets/{git-toolbar-BxqFj5Ea.js → git-toolbar-CNK0rIZo.js} +1 -1
  115. package/web/dist/assets/{github-C-fDvzWv.js → github-Co9W9iu1.js} +1 -1
  116. package/web/dist/assets/{global-activity-route-ccfZhHur.js → global-activity-route-Dgab8Ngr.js} +1 -1
  117. package/web/dist/assets/index-BVo2kTej.css +1 -0
  118. package/web/dist/assets/{index-_l5gcUqA.js → index-tTknRRr7.js} +4 -4
  119. package/web/dist/assets/{markdown-Ce-c_H3H.js → markdown-B0mp5-mv.js} +1 -1
  120. package/web/dist/assets/{notifications-section-Bn2KqIj5.js → notifications-section-lf46p2NU.js} +1 -1
  121. package/web/dist/assets/{preview-pane-connected-BZv6a88f.js → preview-pane-connected-DMnwQaWs.js} +1 -1
  122. package/web/dist/assets/{projects-section-HvvoRCCN.js → projects-section-CLHv3Nfr.js} +1 -1
  123. package/web/dist/assets/{prompt-templates-section-Bp1Lpuah.js → prompt-templates-section-BAuRYFR1.js} +1 -1
  124. package/web/dist/assets/{remote-settings-notice-C2WnWH7Z.js → remote-settings-notice-D0sEUpUR.js} +1 -1
  125. package/web/dist/assets/{repo-git-B4-HsX3H.js → repo-git-LwkFxU70.js} +1 -1
  126. package/web/dist/assets/{report-reader-BDC1M3FH.js → report-reader-B5nlgGyp.js} +1 -1
  127. package/web/dist/assets/{reports-ByXyb8Qq.js → reports-b6FPovsV.js} +1 -1
  128. package/web/dist/assets/{resources-section-a6pURXjH.js → resources-section-vO7b-nRH.js} +1 -1
  129. package/web/dist/assets/{review-panel-DO8pEdxG.js → review-panel-B8KRXT8e.js} +1 -1
  130. package/web/dist/assets/{run-header-ZKCViZcp.js → run-header-z6MuIlHO.js} +1 -1
  131. package/web/dist/assets/{select-DyUG6Pq0.js → select-CV5-ZkbH.js} +1 -1
  132. package/web/dist/assets/{session-context-section-BK-gaYfD.js → session-context-section-B26eFCH2.js} +1 -1
  133. package/web/dist/assets/{settings-agent-picker-BWIzThpj.js → settings-agent-picker-DPwkQyTP.js} +1 -1
  134. package/web/dist/assets/{settings-shell-Kpi86jxR.js → settings-shell-pQdIwf7f.js} +1 -1
  135. package/web/dist/assets/{sidebar-section-uIA0bp4R.js → sidebar-section-BA0UXQ5Z.js} +1 -1
  136. package/web/dist/assets/{skills-F_PlpaAj.js → skills-DpIPIOHq.js} +1 -1
  137. package/web/dist/assets/{task-changes-B0OznsI4.js → task-changes-CQ1wB7ZH.js} +1 -1
  138. package/web/dist/assets/{task-commits-YLAnUoUT.js → task-commits-DQ5lWQdK.js} +1 -1
  139. package/web/dist/assets/{task-file-scope-lYm3HhO-.js → task-file-scope-Dgcm0BlV.js} +1 -1
  140. package/web/dist/assets/{task-files-CBWCKg1N.js → task-files-C0rCvsJr.js} +1 -1
  141. package/web/dist/assets/{task-github-item-BoBW3pWI.js → task-github-item-c8Xc336v.js} +1 -1
  142. package/web/dist/assets/{task-thread-QCh0XSC9.js → task-thread-itOy8VaM.js} +1 -1
  143. package/web/dist/assets/{thread-state-UskdtPpY.js → thread-state-Xcchk4fj.js} +1 -1
  144. package/web/dist/assets/{use-hand-to-agent-state-BAIAj5y3.js → use-hand-to-agent-state-CtUan81V.js} +1 -1
  145. package/web/dist/assets/{workflows-Czz1Sh3f.js → workflows-DOgKTMpc.js} +1 -1
  146. package/web/dist/assets/{workspace-tools-NblPQmRw.js → workspace-tools-Ck_IZQDw.js} +1 -1
  147. package/web/dist/assets/{worktrees-section-Wvpc1NIq.js → worktrees-section-lV1mbjwR.js} +1 -1
  148. package/web/dist/index.html +2 -2
  149. package/dist/automations/agent-tools.d.ts +0 -2
  150. package/dist/automations/agent-tools.js.map +0 -1
  151. package/dist/automations/automation-cli.js.map +0 -1
  152. package/dist/automations/coordinator.js.map +0 -1
  153. package/dist/automations/enabled.js.map +0 -1
  154. package/dist/automations/github-baseline.js.map +0 -1
  155. package/dist/automations/github-poller.js.map +0 -1
  156. package/dist/automations/github-repository.js.map +0 -1
  157. package/dist/automations/project-files.js.map +0 -1
  158. package/dist/automations/prompts.js.map +0 -1
  159. package/dist/automations/schedule-runner.js.map +0 -1
  160. package/dist/automations/scheduler.js.map +0 -1
  161. package/dist/automations/service.js.map +0 -1
  162. package/dist/automations/store.js.map +0 -1
  163. package/dist/automations/task-template.js.map +0 -1
  164. package/dist/automations/tool-adapter.js.map +0 -1
  165. package/dist/automations/tool-catalog.js.map +0 -1
  166. package/dist/automations/tool-client.js.map +0 -1
  167. package/dist/automations/tool-env.d.ts +0 -1
  168. package/dist/automations/tool-env.js +0 -3
  169. package/dist/automations/tool-env.js.map +0 -1
  170. package/dist/automations/tool-errors.js.map +0 -1
  171. package/dist/automations/tool-github.js.map +0 -1
  172. package/dist/automations/tool-session.js.map +0 -1
  173. package/dist/automations/tool-timeout.js.map +0 -1
  174. package/dist/automations/tools.js.map +0 -1
  175. package/dist/automations/types.js.map +0 -1
  176. package/dist/built-in-capabilities.d.ts +0 -3
  177. package/dist/built-in-capabilities.js +0 -14
  178. package/dist/built-in-capabilities.js.map +0 -1
  179. package/dist/built-in-http-routes.d.ts +0 -10
  180. package/dist/built-in-http-routes.js +0 -33
  181. package/dist/built-in-http-routes.js.map +0 -1
  182. package/dist/built-in-server-hooks.d.ts +0 -9
  183. package/dist/built-in-server-hooks.js +0 -24
  184. package/dist/built-in-server-hooks.js.map +0 -1
  185. package/dist/server/automation-log-retry.js.map +0 -1
  186. package/dist/server/automations-routes.js.map +0 -1
  187. package/web/dist/assets/index-BgwtSOOQ.css +0 -1
  188. package/dist/{automations → features/automations}/coordinator.d.ts +1 -1
  189. package/dist/{automations → features/automations}/enabled.d.ts +0 -0
  190. package/dist/{automations → features/automations}/github-baseline.d.ts +0 -0
  191. package/dist/{automations → features/automations}/github-baseline.js +0 -0
  192. package/dist/{automations → features/automations}/project-files.d.ts +0 -0
  193. package/dist/{automations → features/automations}/prompts.d.ts +0 -0
  194. package/dist/{automations → features/automations}/schedule-runner.d.ts +0 -0
  195. package/dist/{automations → features/automations}/scheduler.d.ts +1 -1
  196. /package/dist/{automations → features/automations}/store.d.ts +0 -0
  197. /package/dist/{automations → features/automations}/tool-catalog.d.ts +0 -0
  198. /package/dist/{automations → features/automations}/tool-errors.js +0 -0
  199. /package/dist/{automations → features/automations}/tool-github.d.ts +0 -0
  200. /package/dist/{automations → features/automations}/tool-timeout.d.ts +0 -0
  201. /package/dist/{automations → features/automations}/tools.js +0 -0
@@ -156,213 +156,8 @@ export interface ProjectRouteInfo {
156
156
  export declare function projectRouteManifest(app: Hono): ProjectRouteInfo[];
157
157
  export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse, UpdateProjectResponse } from '../contract/index.js';
158
158
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
159
- "/models": {
160
- $get: {
161
- output: {
162
- error: string;
163
- code?: "invalid_input" | undefined;
164
- };
165
- outputFormat: "json";
166
- status: 400;
167
- input: {
168
- query: {
169
- runner: string | string[];
170
- profileId?: string | undefined;
171
- };
172
- };
173
- } | {
174
- output: {
175
- runner: string;
176
- models: {
177
- id: string;
178
- label: string;
179
- description: string;
180
- effortLevels?: import('../contract/index.js').EffortLevel[];
181
- }[];
182
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
183
- stale: boolean;
184
- reason?: string;
185
- };
186
- outputFormat: "json";
187
- status: import("hono/utils/http-status").ContentfulStatusCode;
188
- input: {
189
- query: {
190
- runner: string | string[];
191
- profileId?: string | undefined;
192
- };
193
- };
194
- } | {
195
- output: {
196
- error: string;
197
- };
198
- outputFormat: "json";
199
- status: 400;
200
- input: {
201
- query: {
202
- runner: string | string[];
203
- profileId?: string | undefined;
204
- };
205
- };
206
- };
207
- };
208
- }, "/"> | import("hono/types").MergeSchemaPath<{
209
- "/fs/browse": {
210
- $get: {
211
- output: {
212
- error: string;
213
- code?: "invalid_input" | undefined;
214
- };
215
- outputFormat: "json";
216
- status: 400;
217
- input: {
218
- query: {
219
- path?: string | undefined;
220
- showHidden?: string | undefined;
221
- };
222
- };
223
- } | {
224
- output: {
225
- error: string;
226
- };
227
- outputFormat: "json";
228
- status: 400 | 403 | 404;
229
- input: {
230
- query: {
231
- path?: string | undefined;
232
- showHidden?: string | undefined;
233
- };
234
- };
235
- } | {
236
- output: {
237
- path: string;
238
- parent: string | null;
239
- dirs: {
240
- name: string;
241
- path: string;
242
- isRepo: boolean;
243
- }[];
244
- truncated: boolean;
245
- };
246
- outputFormat: "json";
247
- status: import("hono/utils/http-status").ContentfulStatusCode;
248
- input: {
249
- query: {
250
- path?: string | undefined;
251
- showHidden?: string | undefined;
252
- };
253
- };
254
- };
255
- };
256
- }, "/"> | import("hono/types").MergeSchemaPath<{
257
- "/workspace/events": {
258
- $get: {
259
- output: {};
260
- outputFormat: string;
261
- status: import("hono/utils/http-status").StatusCode;
262
- input: {
263
- query: {
264
- runs?: "summary" | undefined;
265
- };
266
- };
267
- } | {
268
- output: {
269
- error: string;
270
- code?: "invalid_input" | undefined;
271
- };
272
- outputFormat: "json";
273
- status: 400;
274
- input: {
275
- query: {
276
- runs?: "summary" | undefined;
277
- };
278
- };
279
- };
280
- };
281
- }, "/"> | import("hono/types").MergeSchemaPath<{
282
- "/health": {
283
- $get: {
284
- output: {
285
- version: string;
286
- latestVersion?: string | undefined;
287
- repoRoot: string;
288
- repo: {
289
- root: string;
290
- branch: string;
291
- remote?: string | undefined;
292
- } | null;
293
- checks: {
294
- name: string;
295
- available: boolean;
296
- version?: string;
297
- hint?: string;
298
- }[];
299
- defaultRunner: string;
300
- forge: {
301
- available?: boolean | undefined;
302
- reason?: string;
303
- kind: "github";
304
- } | null;
305
- capabilities: {
306
- [x: string]: boolean | undefined;
307
- localHandoff: boolean;
308
- settingsAdmin: boolean;
309
- remoteSettingsAdmin: boolean;
310
- automations?: boolean | undefined;
311
- preview: boolean;
312
- tokenMetrics: boolean;
313
- tokenUsageMetrics: boolean;
314
- costMetrics: boolean;
315
- };
316
- projects: {
317
- id: string;
318
- name: string;
319
- }[];
320
- bootProject: string;
321
- plugins: {
322
- loaded: {
323
- name: string;
324
- source: "bundled" | "host";
325
- path?: string | undefined;
326
- }[];
327
- failed: {
328
- name: string;
329
- source: "bundled" | "host";
330
- path?: string | undefined;
331
- error: string;
332
- }[];
333
- };
334
- };
335
- outputFormat: "json";
336
- status: import("hono/utils/http-status").ContentfulStatusCode;
337
- input: {};
338
- };
339
- };
340
- }, "/"> | import("hono/types").MergeSchemaPath<{
341
159
  "/workspace/activity": {
342
160
  $get: {
343
- output: {
344
- error: string;
345
- code?: "invalid_input" | undefined;
346
- };
347
- outputFormat: "json";
348
- status: 400;
349
- input: {
350
- query: {
351
- project?: string | undefined;
352
- };
353
- };
354
- } | {
355
- output: {
356
- error: string;
357
- };
358
- outputFormat: "json";
359
- status: 404 | 409 | 503;
360
- input: {
361
- query: {
362
- project?: string | undefined;
363
- };
364
- };
365
- } | {
366
161
  output: {
367
162
  generatedAt: string;
368
163
  projects: {
@@ -613,6 +408,211 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
613
408
  project?: string | undefined;
614
409
  };
615
410
  };
411
+ } | {
412
+ output: {
413
+ error: string;
414
+ code?: "invalid_input" | undefined;
415
+ };
416
+ outputFormat: "json";
417
+ status: 400;
418
+ input: {
419
+ query: {
420
+ project?: string | undefined;
421
+ };
422
+ };
423
+ } | {
424
+ output: {
425
+ error: string;
426
+ };
427
+ outputFormat: "json";
428
+ status: 404 | 409 | 503;
429
+ input: {
430
+ query: {
431
+ project?: string | undefined;
432
+ };
433
+ };
434
+ };
435
+ };
436
+ }, "/"> | import("hono/types").MergeSchemaPath<{
437
+ "/fs/browse": {
438
+ $get: {
439
+ output: {
440
+ error: string;
441
+ code?: "invalid_input" | undefined;
442
+ };
443
+ outputFormat: "json";
444
+ status: 400;
445
+ input: {
446
+ query: {
447
+ path?: string | undefined;
448
+ showHidden?: string | undefined;
449
+ };
450
+ };
451
+ } | {
452
+ output: {
453
+ path: string;
454
+ parent: string | null;
455
+ dirs: {
456
+ name: string;
457
+ path: string;
458
+ isRepo: boolean;
459
+ }[];
460
+ truncated: boolean;
461
+ };
462
+ outputFormat: "json";
463
+ status: import("hono/utils/http-status").ContentfulStatusCode;
464
+ input: {
465
+ query: {
466
+ path?: string | undefined;
467
+ showHidden?: string | undefined;
468
+ };
469
+ };
470
+ } | {
471
+ output: {
472
+ error: string;
473
+ };
474
+ outputFormat: "json";
475
+ status: 400 | 403 | 404;
476
+ input: {
477
+ query: {
478
+ path?: string | undefined;
479
+ showHidden?: string | undefined;
480
+ };
481
+ };
482
+ };
483
+ };
484
+ }, "/"> | import("hono/types").MergeSchemaPath<{
485
+ "/workspace/events": {
486
+ $get: {
487
+ output: {
488
+ error: string;
489
+ code?: "invalid_input" | undefined;
490
+ };
491
+ outputFormat: "json";
492
+ status: 400;
493
+ input: {
494
+ query: {
495
+ runs?: "summary" | undefined;
496
+ };
497
+ };
498
+ } | {
499
+ output: {};
500
+ outputFormat: string;
501
+ status: import("hono/utils/http-status").StatusCode;
502
+ input: {
503
+ query: {
504
+ runs?: "summary" | undefined;
505
+ };
506
+ };
507
+ };
508
+ };
509
+ }, "/"> | import("hono/types").MergeSchemaPath<{
510
+ "/health": {
511
+ $get: {
512
+ output: {
513
+ version: string;
514
+ latestVersion?: string | undefined;
515
+ repoRoot: string;
516
+ repo: {
517
+ root: string;
518
+ branch: string;
519
+ remote?: string | undefined;
520
+ } | null;
521
+ checks: {
522
+ name: string;
523
+ available: boolean;
524
+ version?: string;
525
+ hint?: string;
526
+ }[];
527
+ defaultRunner: string;
528
+ forge: {
529
+ available?: boolean | undefined;
530
+ reason?: string;
531
+ kind: "github";
532
+ } | null;
533
+ capabilities: {
534
+ [x: string]: boolean | undefined;
535
+ localHandoff: boolean;
536
+ settingsAdmin: boolean;
537
+ remoteSettingsAdmin: boolean;
538
+ automations?: boolean | undefined;
539
+ preview: boolean;
540
+ tokenMetrics: boolean;
541
+ tokenUsageMetrics: boolean;
542
+ costMetrics: boolean;
543
+ };
544
+ projects: {
545
+ id: string;
546
+ name: string;
547
+ }[];
548
+ bootProject: string;
549
+ plugins: {
550
+ loaded: {
551
+ name: string;
552
+ source: "bundled" | "host";
553
+ path?: string | undefined;
554
+ }[];
555
+ failed: {
556
+ name: string;
557
+ source: "bundled" | "host";
558
+ path?: string | undefined;
559
+ error: string;
560
+ }[];
561
+ };
562
+ };
563
+ outputFormat: "json";
564
+ status: import("hono/utils/http-status").ContentfulStatusCode;
565
+ input: {};
566
+ };
567
+ };
568
+ }, "/"> | import("hono/types").MergeSchemaPath<{
569
+ "/models": {
570
+ $get: {
571
+ output: {
572
+ error: string;
573
+ code?: "invalid_input" | undefined;
574
+ };
575
+ outputFormat: "json";
576
+ status: 400;
577
+ input: {
578
+ query: {
579
+ runner: string | string[];
580
+ profileId?: string | undefined;
581
+ };
582
+ };
583
+ } | {
584
+ output: {
585
+ error: string;
586
+ };
587
+ outputFormat: "json";
588
+ status: 400;
589
+ input: {
590
+ query: {
591
+ runner: string | string[];
592
+ profileId?: string | undefined;
593
+ };
594
+ };
595
+ } | {
596
+ output: {
597
+ runner: string;
598
+ models: {
599
+ id: string;
600
+ label: string;
601
+ description: string;
602
+ effortLevels?: import('../contract/index.js').EffortLevel[];
603
+ }[];
604
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
605
+ stale: boolean;
606
+ reason?: string;
607
+ };
608
+ outputFormat: "json";
609
+ status: import("hono/utils/http-status").ContentfulStatusCode;
610
+ input: {
611
+ query: {
612
+ runner: string | string[];
613
+ profileId?: string | undefined;
614
+ };
615
+ };
616
616
  };
617
617
  };
618
618
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -969,34 +969,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
969
969
  "/workspace/config": {
970
970
  $put: {
971
971
  output: {
972
- browseRoot: string;
973
- projectsDir: string;
974
- archiveOnMerge: boolean | null;
975
- effectiveArchiveOnMerge: boolean;
976
- archiveOnMergeSource: "default" | "environment" | "global";
977
- composerDefaults: {
978
- autonomous: boolean | null;
979
- worktree: boolean | null;
980
- inheritedAutonomous: "source-dependent" | boolean;
981
- inheritedWorktree: boolean;
982
- };
983
- resources: {
984
- maxParallel: number;
985
- maxMonitoringSessions: number;
986
- monitoringWakeIntervalMinutes: number | null;
987
- autoResumeOnUsageLimit: boolean;
988
- memoryLimitMb: number | null;
989
- worktreeRetentionDefault: number;
990
- };
991
- agentDefaults: {
992
- runner?: string | undefined;
993
- models?: {
994
- [x: string]: string | undefined;
995
- } | undefined;
996
- };
972
+ error: string;
997
973
  };
998
974
  outputFormat: "json";
999
- status: import("hono/utils/http-status").ContentfulStatusCode;
975
+ status: 400;
1000
976
  input: {
1001
977
  json: {
1002
978
  browseRoot?: string | undefined;
@@ -1025,7 +1001,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1025
1001
  error: string;
1026
1002
  };
1027
1003
  outputFormat: "json";
1028
- status: 400;
1004
+ status: 500;
1029
1005
  input: {
1030
1006
  json: {
1031
1007
  browseRoot?: string | undefined;
@@ -1051,10 +1027,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1051
1027
  };
1052
1028
  } | {
1053
1029
  output: {
1054
- error: string;
1030
+ browseRoot: string;
1031
+ projectsDir: string;
1032
+ archiveOnMerge: boolean | null;
1033
+ effectiveArchiveOnMerge: boolean;
1034
+ archiveOnMergeSource: "default" | "environment" | "global";
1035
+ composerDefaults: {
1036
+ autonomous: boolean | null;
1037
+ worktree: boolean | null;
1038
+ inheritedAutonomous: "source-dependent" | boolean;
1039
+ inheritedWorktree: boolean;
1040
+ };
1041
+ resources: {
1042
+ maxParallel: number;
1043
+ maxMonitoringSessions: number;
1044
+ monitoringWakeIntervalMinutes: number | null;
1045
+ autoResumeOnUsageLimit: boolean;
1046
+ memoryLimitMb: number | null;
1047
+ worktreeRetentionDefault: number;
1048
+ };
1049
+ agentDefaults: {
1050
+ runner?: string | undefined;
1051
+ models?: {
1052
+ [x: string]: string | undefined;
1053
+ } | undefined;
1054
+ };
1055
1055
  };
1056
1056
  outputFormat: "json";
1057
- status: 500;
1057
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1058
1058
  input: {
1059
1059
  json: {
1060
1060
  browseRoot?: string | undefined;
@@ -1126,41 +1126,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1126
1126
  "/workspace/ui-state": {
1127
1127
  $put: {
1128
1128
  output: {
1129
- [x: string]: import("hono/utils/types").JSONValue;
1130
- sidebar?: {
1131
- [x: string]: import("hono/utils/types").JSONValue;
1132
- collapsed?: {
1133
- [x: string]: boolean;
1134
- } | undefined;
1135
- projectOrder?: string[] | undefined;
1136
- } | undefined;
1137
- dismissedProviderAuthFailures?: {
1138
- [x: string]: string | undefined;
1139
- } | undefined;
1140
- appearance?: {
1141
- accent?: "cezarion" | "lime" | "violet" | undefined;
1142
- density?: "comfortable" | "compact" | "ultra" | undefined;
1143
- width?: "narrow" | "wide" | undefined;
1144
- } | undefined;
1145
- notifications?: {
1146
- [x: string]: import("hono/utils/types").JSONValue;
1147
- enabled?: boolean | undefined;
1148
- } | undefined;
1149
- taskTable?: {
1150
- [x: string]: import("hono/utils/types").JSONValue;
1151
- expandedColumns?: {
1152
- [x: string]: boolean;
1153
- } | undefined;
1154
- } | undefined;
1155
- lastLocation?: {
1156
- projectId: string;
1157
- pathname: string;
1158
- search?: string | undefined;
1159
- hash?: string | undefined;
1160
- } | undefined;
1129
+ error: string;
1161
1130
  };
1162
1131
  outputFormat: "json";
1163
- status: import("hono/utils/http-status").ContentfulStatusCode;
1132
+ status: 500;
1164
1133
  input: {
1165
1134
  json: {
1166
1135
  [x: string]: unknown;
@@ -1193,10 +1162,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1193
1162
  };
1194
1163
  } | {
1195
1164
  output: {
1196
- error: string;
1165
+ [x: string]: import("hono/utils/types").JSONValue;
1166
+ sidebar?: {
1167
+ [x: string]: import("hono/utils/types").JSONValue;
1168
+ collapsed?: {
1169
+ [x: string]: boolean;
1170
+ } | undefined;
1171
+ projectOrder?: string[] | undefined;
1172
+ } | undefined;
1173
+ dismissedProviderAuthFailures?: {
1174
+ [x: string]: string | undefined;
1175
+ } | undefined;
1176
+ appearance?: {
1177
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1178
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1179
+ width?: "narrow" | "wide" | undefined;
1180
+ } | undefined;
1181
+ notifications?: {
1182
+ [x: string]: import("hono/utils/types").JSONValue;
1183
+ enabled?: boolean | undefined;
1184
+ } | undefined;
1185
+ taskTable?: {
1186
+ [x: string]: import("hono/utils/types").JSONValue;
1187
+ expandedColumns?: {
1188
+ [x: string]: boolean;
1189
+ } | undefined;
1190
+ } | undefined;
1191
+ lastLocation?: {
1192
+ projectId: string;
1193
+ pathname: string;
1194
+ search?: string | undefined;
1195
+ hash?: string | undefined;
1196
+ } | undefined;
1197
1197
  };
1198
1198
  outputFormat: "json";
1199
- status: 500;
1199
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1200
1200
  input: {
1201
1201
  json: {
1202
1202
  [x: string]: unknown;
@@ -1284,18 +1284,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1284
1284
  };
1285
1285
  } | {
1286
1286
  output: {
1287
- providers: {
1288
- requiresAccountHome?: boolean | undefined;
1289
- provider: string;
1290
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1291
- enabled?: boolean | undefined;
1292
- hint?: string | undefined;
1293
- authFailureId?: string | undefined;
1294
- profileId?: string | undefined;
1295
- }[];
1287
+ error: string;
1296
1288
  };
1297
1289
  outputFormat: "json";
1298
- status: import("hono/utils/http-status").ContentfulStatusCode;
1290
+ status: 500;
1299
1291
  input: {
1300
1292
  param: {
1301
1293
  provider: string;
@@ -1307,10 +1299,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1307
1299
  };
1308
1300
  } | {
1309
1301
  output: {
1310
- error: string;
1302
+ providers: {
1303
+ requiresAccountHome?: boolean | undefined;
1304
+ provider: string;
1305
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1306
+ enabled?: boolean | undefined;
1307
+ hint?: string | undefined;
1308
+ authFailureId?: string | undefined;
1309
+ profileId?: string | undefined;
1310
+ }[];
1311
1311
  };
1312
1312
  outputFormat: "json";
1313
- status: 500;
1313
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1314
1314
  input: {
1315
1315
  param: {
1316
1316
  provider: string;
@@ -1342,18 +1342,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1342
1342
  };
1343
1343
  } | {
1344
1344
  output: {
1345
- providers: {
1346
- requiresAccountHome?: boolean | undefined;
1347
- provider: string;
1348
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1349
- enabled?: boolean | undefined;
1350
- hint?: string | undefined;
1351
- authFailureId?: string | undefined;
1352
- profileId?: string | undefined;
1353
- }[];
1345
+ error: string;
1354
1346
  };
1355
1347
  outputFormat: "json";
1356
- status: import("hono/utils/http-status").ContentfulStatusCode;
1348
+ status: 409;
1357
1349
  input: {
1358
1350
  param: {
1359
1351
  provider: string;
@@ -1365,10 +1357,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1365
1357
  };
1366
1358
  } | {
1367
1359
  output: {
1368
- error: string;
1360
+ providers: {
1361
+ requiresAccountHome?: boolean | undefined;
1362
+ provider: string;
1363
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1364
+ enabled?: boolean | undefined;
1365
+ hint?: string | undefined;
1366
+ authFailureId?: string | undefined;
1367
+ profileId?: string | undefined;
1368
+ }[];
1369
1369
  };
1370
1370
  outputFormat: "json";
1371
- status: 409;
1371
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1372
1372
  input: {
1373
1373
  param: {
1374
1374
  provider: string;
@@ -1454,7 +1454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1454
1454
  error: string;
1455
1455
  };
1456
1456
  outputFormat: "json";
1457
- status: 409;
1457
+ status: 400;
1458
1458
  input: {
1459
1459
  json: {
1460
1460
  provider: string;
@@ -1466,7 +1466,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1466
1466
  error: string;
1467
1467
  };
1468
1468
  outputFormat: "json";
1469
- status: 400;
1469
+ status: 409;
1470
1470
  input: {
1471
1471
  json: {
1472
1472
  provider: string;
@@ -1709,10 +1709,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1709
1709
  "/workspace/agent-profiles": {
1710
1710
  $post: {
1711
1711
  output: {
1712
- error: string;
1712
+ profile: {
1713
+ id: string;
1714
+ provider: string;
1715
+ label: string;
1716
+ configDir?: string | undefined;
1717
+ path?: string | undefined;
1718
+ exists: boolean;
1719
+ looksValid: boolean;
1720
+ isDefault: boolean;
1721
+ status?: {
1722
+ requiresAccountHome?: boolean | undefined;
1723
+ provider: string;
1724
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1725
+ enabled?: boolean | undefined;
1726
+ hint?: string | undefined;
1727
+ authFailureId?: string | undefined;
1728
+ profileId?: string | undefined;
1729
+ } | undefined;
1730
+ };
1713
1731
  };
1714
1732
  outputFormat: "json";
1715
- status: 400;
1733
+ status: 201;
1716
1734
  input: {
1717
1735
  json: {
1718
1736
  provider: string;
@@ -1725,7 +1743,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1725
1743
  error: string;
1726
1744
  };
1727
1745
  outputFormat: "json";
1728
- status: 409;
1746
+ status: 400;
1729
1747
  input: {
1730
1748
  json: {
1731
1749
  provider: string;
@@ -1738,7 +1756,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1738
1756
  error: string;
1739
1757
  };
1740
1758
  outputFormat: "json";
1741
- status: 500;
1759
+ status: 409;
1742
1760
  input: {
1743
1761
  json: {
1744
1762
  provider: string;
@@ -1748,28 +1766,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1748
1766
  };
1749
1767
  } | {
1750
1768
  output: {
1751
- profile: {
1752
- id: string;
1753
- provider: string;
1754
- label: string;
1755
- configDir?: string | undefined;
1756
- path?: string | undefined;
1757
- exists: boolean;
1758
- looksValid: boolean;
1759
- isDefault: boolean;
1760
- status?: {
1761
- requiresAccountHome?: boolean | undefined;
1762
- provider: string;
1763
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1764
- enabled?: boolean | undefined;
1765
- hint?: string | undefined;
1766
- authFailureId?: string | undefined;
1767
- profileId?: string | undefined;
1768
- } | undefined;
1769
- };
1769
+ error: string;
1770
1770
  };
1771
1771
  outputFormat: "json";
1772
- status: 201;
1772
+ status: 500;
1773
1773
  input: {
1774
1774
  json: {
1775
1775
  provider: string;
@@ -1963,7 +1963,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1963
1963
  error: string;
1964
1964
  };
1965
1965
  outputFormat: "json";
1966
- status: 404;
1966
+ status: 400;
1967
1967
  input: {
1968
1968
  json: {
1969
1969
  projectId: string;
@@ -1976,7 +1976,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1976
1976
  error: string;
1977
1977
  };
1978
1978
  outputFormat: "json";
1979
- status: 400;
1979
+ status: 404;
1980
1980
  input: {
1981
1981
  json: {
1982
1982
  projectId: string;
@@ -2040,7 +2040,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2040
2040
  error: string;
2041
2041
  };
2042
2042
  outputFormat: "json";
2043
- status: 409;
2043
+ status: 404;
2044
2044
  input: {
2045
2045
  param: {
2046
2046
  id: string;
@@ -2051,7 +2051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2051
2051
  error: string;
2052
2052
  };
2053
2053
  outputFormat: "json";
2054
- status: 500;
2054
+ status: 409;
2055
2055
  input: {
2056
2056
  param: {
2057
2057
  id: string;
@@ -2062,7 +2062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2062
2062
  error: string;
2063
2063
  };
2064
2064
  outputFormat: "json";
2065
- status: 404;
2065
+ status: 500;
2066
2066
  input: {
2067
2067
  param: {
2068
2068
  id: string;
@@ -2126,17 +2126,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2126
2126
  } & {
2127
2127
  "/projects": {
2128
2128
  $post: {
2129
- output: {
2130
- error: string;
2131
- };
2132
- outputFormat: "json";
2133
- status: 400 | 500;
2134
- input: {
2135
- json: {
2136
- root: string;
2137
- };
2138
- };
2139
- } | {
2140
2129
  output: {
2141
2130
  project: {
2142
2131
  id: string;
@@ -2167,10 +2156,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2167
2156
  agent: boolean;
2168
2157
  }[] | undefined;
2169
2158
  };
2170
- error: string;
2159
+ error?: string | undefined;
2171
2160
  };
2172
2161
  outputFormat: "json";
2173
- status: 409;
2162
+ status: 200;
2174
2163
  input: {
2175
2164
  json: {
2176
2165
  root: string;
@@ -2207,10 +2196,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2207
2196
  agent: boolean;
2208
2197
  }[] | undefined;
2209
2198
  };
2210
- error?: string | undefined;
2199
+ error: string;
2211
2200
  };
2212
2201
  outputFormat: "json";
2213
- status: 200;
2202
+ status: 409;
2203
+ input: {
2204
+ json: {
2205
+ root: string;
2206
+ };
2207
+ };
2208
+ } | {
2209
+ output: {
2210
+ error: string;
2211
+ };
2212
+ outputFormat: "json";
2213
+ status: 400 | 500;
2214
2214
  input: {
2215
2215
  json: {
2216
2216
  root: string;
@@ -2369,7 +2369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2369
2369
  error: string;
2370
2370
  };
2371
2371
  outputFormat: "json";
2372
- status: 404;
2372
+ status: 400;
2373
2373
  input: {
2374
2374
  param: {
2375
2375
  projectId: string;
@@ -2380,7 +2380,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2380
2380
  error: string;
2381
2381
  };
2382
2382
  outputFormat: "json";
2383
- status: 400;
2383
+ status: 404;
2384
2384
  input: {
2385
2385
  param: {
2386
2386
  projectId: string;
@@ -2405,27 +2405,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2405
2405
  } & {
2406
2406
  "/projects/:projectId/webhooks": {
2407
2407
  $post: {
2408
- output: {
2409
- error: string;
2410
- };
2411
- outputFormat: "json";
2412
- status: 400 | 404 | 409 | 500;
2413
- input: {
2414
- json: {
2415
- name: string;
2416
- description?: string | undefined;
2417
- url: string;
2418
- token?: string | undefined;
2419
- tasks?: boolean | undefined;
2420
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2421
- agent?: boolean | undefined;
2422
- };
2423
- } & {
2424
- param: {
2425
- projectId: string;
2426
- };
2427
- };
2428
- } | {
2429
2408
  output: {
2430
2409
  project: {
2431
2410
  id: string;
@@ -2484,6 +2463,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2484
2463
  projectId: string;
2485
2464
  };
2486
2465
  };
2466
+ } | {
2467
+ output: {
2468
+ error: string;
2469
+ };
2470
+ outputFormat: "json";
2471
+ status: 400 | 404 | 409 | 500;
2472
+ input: {
2473
+ json: {
2474
+ name: string;
2475
+ description?: string | undefined;
2476
+ url: string;
2477
+ token?: string | undefined;
2478
+ tasks?: boolean | undefined;
2479
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2480
+ agent?: boolean | undefined;
2481
+ };
2482
+ } & {
2483
+ param: {
2484
+ projectId: string;
2485
+ };
2486
+ };
2487
2487
  };
2488
2488
  };
2489
2489
  } & {
@@ -2681,13 +2681,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2681
2681
  };
2682
2682
  } | {
2683
2683
  output: {
2684
- ok: boolean;
2685
- status?: number | undefined;
2686
- error?: string | undefined;
2687
- dryRun?: boolean | undefined;
2684
+ error: string;
2688
2685
  };
2689
2686
  outputFormat: "json";
2690
- status: import("hono/utils/http-status").ContentfulStatusCode;
2687
+ status: 404;
2691
2688
  input: {
2692
2689
  param: {
2693
2690
  projectId: string;
@@ -2696,10 +2693,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2696
2693
  };
2697
2694
  } | {
2698
2695
  output: {
2699
- error: string;
2696
+ ok: boolean;
2697
+ status?: number | undefined;
2698
+ error?: string | undefined;
2699
+ dryRun?: boolean | undefined;
2700
2700
  };
2701
2701
  outputFormat: "json";
2702
- status: 404;
2702
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2703
2703
  input: {
2704
2704
  param: {
2705
2705
  projectId: string;
@@ -2940,11 +2940,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2940
2940
  "/runner-install/:runner": {
2941
2941
  $post: {
2942
2942
  output: {
2943
- error: string;
2944
- code?: "invalid_input" | undefined;
2943
+ supported: boolean;
2944
+ installedVersion: string | null;
2945
+ latestVersion: string | null;
2946
+ updateAvailable: boolean;
2947
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2948
+ error: string | null;
2945
2949
  };
2946
2950
  outputFormat: "json";
2947
- status: 400;
2951
+ status: 202;
2948
2952
  input: {
2949
2953
  param: {
2950
2954
  runner: string;
@@ -2956,15 +2960,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2956
2960
  };
2957
2961
  } | {
2958
2962
  output: {
2959
- supported: boolean;
2960
- installedVersion: string | null;
2961
- latestVersion: string | null;
2962
- updateAvailable: boolean;
2963
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2964
- error: string | null;
2963
+ error: string;
2964
+ code?: "invalid_input" | undefined;
2965
2965
  };
2966
2966
  outputFormat: "json";
2967
- status: 202;
2967
+ status: 400;
2968
2968
  input: {
2969
2969
  param: {
2970
2970
  runner: string;
@@ -3321,18 +3321,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3321
3321
  }, "/"> | import("hono/types").MergeSchemaPath<{
3322
3322
  "/plan": {
3323
3323
  $post: {
3324
- output: {
3325
- error: string;
3326
- };
3327
- outputFormat: "json";
3328
- status: 400 | 404 | 409;
3329
- input: {
3330
- json: {
3331
- task: string;
3332
- agentProfile?: string | undefined;
3333
- };
3334
- };
3335
- } | {
3336
3324
  output: {
3337
3325
  name?: string;
3338
3326
  steps: {
@@ -3369,45 +3357,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3369
3357
  agentProfile?: string | undefined;
3370
3358
  };
3371
3359
  };
3360
+ } | {
3361
+ output: {
3362
+ error: string;
3363
+ };
3364
+ outputFormat: "json";
3365
+ status: 400 | 404 | 409;
3366
+ input: {
3367
+ json: {
3368
+ task: string;
3369
+ agentProfile?: string | undefined;
3370
+ };
3371
+ };
3372
3372
  };
3373
3373
  };
3374
3374
  }, "/"> | import("hono/types").MergeSchemaPath<{
3375
- "/ui-state": {
3375
+ "/open-targets": {
3376
3376
  $get: {
3377
3377
  output: {
3378
- [x: string]: import("hono/utils/types").JSONValue;
3379
- sidebarLimits?: {
3380
- overall?: number | null | undefined;
3381
- needsYou?: number | null | undefined;
3382
- finished?: number | null | undefined;
3383
- working?: number | null | undefined;
3384
- } | undefined;
3385
- lastTask?: {
3386
- source: "skill" | "workflow";
3387
- ref: string;
3388
- } | null | undefined;
3389
- recentSources?: {
3390
- source: "skill" | "workflow";
3391
- ref: string;
3392
- }[] | undefined;
3393
- lastWorktree?: boolean | undefined;
3394
- lastAutonomous?: boolean | undefined;
3395
- skillUsage?: {
3396
- [x: string]: number;
3397
- } | undefined;
3398
- runsView?: "list" | "table" | undefined;
3399
- githubView?: "issues" | "prs" | undefined;
3400
- appearance?: {
3401
- accent?: "cezarion" | "lime" | "violet" | undefined;
3402
- density?: "comfortable" | "compact" | "ultra" | undefined;
3403
- width?: "narrow" | "wide" | undefined;
3404
- } | undefined;
3405
- promptTemplates?: {
3378
+ targets: {
3406
3379
  id: string;
3407
3380
  label: string;
3408
- text: string;
3409
- skills?: string[] | undefined;
3410
- }[] | undefined;
3381
+ icon?: string;
3382
+ }[];
3411
3383
  };
3412
3384
  outputFormat: "json";
3413
3385
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -3415,8 +3387,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3415
3387
  };
3416
3388
  };
3417
3389
  } & {
3390
+ "/open-in": {
3391
+ $post: {
3392
+ output: {
3393
+ error: string;
3394
+ };
3395
+ outputFormat: "json";
3396
+ status: 400;
3397
+ input: {
3398
+ json: {
3399
+ target: string;
3400
+ };
3401
+ };
3402
+ } | {
3403
+ output: {
3404
+ error: string;
3405
+ };
3406
+ outputFormat: "json";
3407
+ status: 409;
3408
+ input: {
3409
+ json: {
3410
+ target: string;
3411
+ };
3412
+ };
3413
+ } | {
3414
+ output: {
3415
+ opened: true;
3416
+ path: string;
3417
+ };
3418
+ outputFormat: "json";
3419
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3420
+ input: {
3421
+ json: {
3422
+ target: string;
3423
+ };
3424
+ };
3425
+ };
3426
+ };
3427
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3418
3428
  "/ui-state": {
3419
- $put: {
3429
+ $get: {
3420
3430
  output: {
3421
3431
  [x: string]: import("hono/utils/types").JSONValue;
3422
3432
  sidebarLimits?: {
@@ -3454,6 +3464,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3454
3464
  };
3455
3465
  outputFormat: "json";
3456
3466
  status: import("hono/utils/http-status").ContentfulStatusCode;
3467
+ input: {};
3468
+ };
3469
+ };
3470
+ } & {
3471
+ "/ui-state": {
3472
+ $put: {
3473
+ output: {
3474
+ error: string;
3475
+ };
3476
+ outputFormat: "json";
3477
+ status: 500;
3457
3478
  input: {
3458
3479
  json: {
3459
3480
  [x: string]: unknown;
@@ -3491,10 +3512,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3491
3512
  };
3492
3513
  } | {
3493
3514
  output: {
3494
- error: string;
3515
+ [x: string]: import("hono/utils/types").JSONValue;
3516
+ sidebarLimits?: {
3517
+ overall?: number | null | undefined;
3518
+ needsYou?: number | null | undefined;
3519
+ finished?: number | null | undefined;
3520
+ working?: number | null | undefined;
3521
+ } | undefined;
3522
+ lastTask?: {
3523
+ source: "skill" | "workflow";
3524
+ ref: string;
3525
+ } | null | undefined;
3526
+ recentSources?: {
3527
+ source: "skill" | "workflow";
3528
+ ref: string;
3529
+ }[] | undefined;
3530
+ lastWorktree?: boolean | undefined;
3531
+ lastAutonomous?: boolean | undefined;
3532
+ skillUsage?: {
3533
+ [x: string]: number;
3534
+ } | undefined;
3535
+ runsView?: "list" | "table" | undefined;
3536
+ githubView?: "issues" | "prs" | undefined;
3537
+ appearance?: {
3538
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3539
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3540
+ width?: "narrow" | "wide" | undefined;
3541
+ } | undefined;
3542
+ promptTemplates?: {
3543
+ id: string;
3544
+ label: string;
3545
+ text: string;
3546
+ skills?: string[] | undefined;
3547
+ }[] | undefined;
3495
3548
  };
3496
3549
  outputFormat: "json";
3497
- status: 500;
3550
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3498
3551
  input: {
3499
3552
  json: {
3500
3553
  [x: string]: unknown;
@@ -3533,64 +3586,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3533
3586
  };
3534
3587
  };
3535
3588
  }, "/"> | import("hono/types").MergeSchemaPath<{
3536
- "/open-targets": {
3589
+ "/runs/:id/events": {
3537
3590
  $get: {
3538
- output: {
3539
- targets: {
3540
- id: string;
3541
- label: string;
3542
- icon?: string;
3543
- }[];
3544
- };
3545
- outputFormat: "json";
3546
- status: import("hono/utils/http-status").ContentfulStatusCode;
3547
- input: {};
3548
- };
3549
- };
3550
- } & {
3551
- "/open-in": {
3552
- $post: {
3553
- output: {
3554
- error: string;
3555
- };
3556
- outputFormat: "json";
3557
- status: 409;
3558
- input: {
3559
- json: {
3560
- target: string;
3561
- };
3562
- };
3563
- } | {
3564
3591
  output: {
3565
3592
  error: string;
3593
+ code?: "invalid_input" | undefined;
3566
3594
  };
3567
3595
  outputFormat: "json";
3568
3596
  status: 400;
3569
- input: {
3570
- json: {
3571
- target: string;
3572
- };
3573
- };
3574
- } | {
3575
- output: {
3576
- opened: true;
3577
- path: string;
3578
- };
3579
- outputFormat: "json";
3580
- status: import("hono/utils/http-status").ContentfulStatusCode;
3581
- input: {
3582
- json: {
3583
- target: string;
3584
- };
3585
- };
3586
- };
3587
- };
3588
- }, "/"> | import("hono/types").MergeSchemaPath<{
3589
- "/runs/:id/events": {
3590
- $get: {
3591
- output: {};
3592
- outputFormat: string;
3593
- status: import("hono/utils/http-status").StatusCode;
3594
3597
  input: {
3595
3598
  param: {
3596
3599
  id: string;
@@ -3602,12 +3605,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3602
3605
  };
3603
3606
  };
3604
3607
  } | {
3605
- output: {
3606
- error: string;
3607
- code?: "invalid_input" | undefined;
3608
- };
3609
- outputFormat: "json";
3610
- status: 400;
3608
+ output: {};
3609
+ outputFormat: string;
3610
+ status: import("hono/utils/http-status").StatusCode;
3611
3611
  input: {
3612
3612
  param: {
3613
3613
  id: string;
@@ -3668,34 +3668,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3668
3668
  "/config": {
3669
3669
  $put: {
3670
3670
  output: {
3671
- archiveOnMerge: boolean | null;
3672
- effectiveArchiveOnMerge: boolean;
3673
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3674
- baseBranch: string | null;
3675
- defaultRunner: string;
3676
- systemPrompt: string | null;
3677
- defaultModels: {
3678
- [x: string]: string | undefined;
3679
- };
3680
- modelsLocked: boolean;
3681
- maxParallel: number;
3682
- memoryLimitMb: number | null;
3683
- worktreeRetention: number;
3684
- liveTitleUpdates: boolean | null;
3685
- reviewGate: boolean | null;
3686
- worktreeSetup: {
3687
- commands: string[];
3688
- timeoutSeconds: number;
3689
- } | null;
3690
- worktreeSetupIssue: string | null;
3691
- worktreeTeardown: {
3692
- commands: string[];
3693
- timeoutSeconds: number;
3694
- } | null;
3695
- worktreeTeardownIssue: string | null;
3671
+ error: string;
3696
3672
  };
3697
3673
  outputFormat: "json";
3698
- status: import("hono/utils/http-status").ContentfulStatusCode;
3674
+ status: 409;
3699
3675
  input: {
3700
3676
  json: {
3701
3677
  archiveOnMerge?: boolean | null | undefined;
@@ -3723,7 +3699,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3723
3699
  error: string;
3724
3700
  };
3725
3701
  outputFormat: "json";
3726
- status: 409;
3702
+ status: 500;
3727
3703
  input: {
3728
3704
  json: {
3729
3705
  archiveOnMerge?: boolean | null | undefined;
@@ -3748,10 +3724,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3748
3724
  };
3749
3725
  } | {
3750
3726
  output: {
3751
- error: string;
3727
+ archiveOnMerge: boolean | null;
3728
+ effectiveArchiveOnMerge: boolean;
3729
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3730
+ baseBranch: string | null;
3731
+ defaultRunner: string;
3732
+ systemPrompt: string | null;
3733
+ defaultModels: {
3734
+ [x: string]: string | undefined;
3735
+ };
3736
+ modelsLocked: boolean;
3737
+ maxParallel: number;
3738
+ memoryLimitMb: number | null;
3739
+ worktreeRetention: number;
3740
+ liveTitleUpdates: boolean | null;
3741
+ reviewGate: boolean | null;
3742
+ worktreeSetup: {
3743
+ commands: string[];
3744
+ timeoutSeconds: number;
3745
+ } | null;
3746
+ worktreeSetupIssue: string | null;
3747
+ worktreeTeardown: {
3748
+ commands: string[];
3749
+ timeoutSeconds: number;
3750
+ } | null;
3751
+ worktreeTeardownIssue: string | null;
3752
3752
  };
3753
3753
  outputFormat: "json";
3754
- status: 500;
3754
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3755
3755
  input: {
3756
3756
  json: {
3757
3757
  archiveOnMerge?: boolean | null | undefined;
@@ -3900,7 +3900,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3900
3900
  error: string;
3901
3901
  };
3902
3902
  outputFormat: "json";
3903
- status: 409;
3903
+ status: 400;
3904
3904
  input: {
3905
3905
  query: {
3906
3906
  q?: string | undefined;
@@ -3913,7 +3913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3913
3913
  error: string;
3914
3914
  };
3915
3915
  outputFormat: "json";
3916
- status: 400;
3916
+ status: 409;
3917
3917
  input: {
3918
3918
  query: {
3919
3919
  q?: string | undefined;
@@ -4018,10 +4018,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4018
4018
  };
4019
4019
  } | {
4020
4020
  output: {
4021
- error: string;
4021
+ runId: string;
4022
+ worktreeReclaimedAt: string;
4022
4023
  };
4023
4024
  outputFormat: "json";
4024
- status: 404 | 409;
4025
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4025
4026
  input: {
4026
4027
  param: {
4027
4028
  runId: string;
@@ -4033,11 +4034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4033
4034
  };
4034
4035
  } | {
4035
4036
  output: {
4036
- runId: string;
4037
- worktreeReclaimedAt: string;
4037
+ error: string;
4038
4038
  };
4039
4039
  outputFormat: "json";
4040
- status: import("hono/utils/http-status").ContentfulStatusCode;
4040
+ status: 404 | 409;
4041
4041
  input: {
4042
4042
  param: {
4043
4043
  runId: string;
@@ -4137,14 +4137,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4137
4137
  "/agent-config/:id": {
4138
4138
  $put: {
4139
4139
  output: {
4140
- id: string;
4141
- path: string;
4142
- exists: boolean;
4143
- content: string;
4144
- version: string | null;
4140
+ error: string;
4145
4141
  };
4146
4142
  outputFormat: "json";
4147
- status: import("hono/utils/http-status").ContentfulStatusCode;
4143
+ status: 404;
4148
4144
  input: {
4149
4145
  json: {
4150
4146
  content: string;
@@ -4157,10 +4153,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4157
4153
  };
4158
4154
  } | {
4159
4155
  output: {
4160
- error: string;
4156
+ id: string;
4157
+ path: string;
4158
+ exists: boolean;
4159
+ content: string;
4160
+ version: string | null;
4161
4161
  };
4162
4162
  outputFormat: "json";
4163
- status: 404;
4163
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4164
4164
  input: {
4165
4165
  json: {
4166
4166
  content: string;
@@ -4337,10 +4337,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4337
4337
  "/workflows": {
4338
4338
  $post: {
4339
4339
  output: {
4340
- error: string;
4340
+ path: string;
4341
+ name: string;
4341
4342
  };
4342
4343
  outputFormat: "json";
4343
- status: 400;
4344
+ status: 201;
4344
4345
  input: {
4345
4346
  json: {
4346
4347
  name: string;
@@ -4373,10 +4374,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4373
4374
  } | {
4374
4375
  output: {
4375
4376
  error: string;
4376
- exists: true;
4377
4377
  };
4378
4378
  outputFormat: "json";
4379
- status: 409;
4379
+ status: 400;
4380
4380
  input: {
4381
4381
  json: {
4382
4382
  name: string;
@@ -4409,9 +4409,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4409
4409
  } | {
4410
4410
  output: {
4411
4411
  error: string;
4412
+ exists: true;
4412
4413
  };
4413
4414
  outputFormat: "json";
4414
- status: 500;
4415
+ status: 409;
4415
4416
  input: {
4416
4417
  json: {
4417
4418
  name: string;
@@ -4443,11 +4444,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4443
4444
  };
4444
4445
  } | {
4445
4446
  output: {
4446
- path: string;
4447
- name: string;
4447
+ error: string;
4448
4448
  };
4449
4449
  outputFormat: "json";
4450
- status: 201;
4450
+ status: 500;
4451
4451
  input: {
4452
4452
  json: {
4453
4453
  name: string;
@@ -4483,10 +4483,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4483
4483
  "/workflows/:name": {
4484
4484
  $delete: {
4485
4485
  output: {
4486
- error: string;
4486
+ ok: true;
4487
+ path: string;
4487
4488
  };
4488
4489
  outputFormat: "json";
4489
- status: 400 | 404 | 409 | 500;
4490
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4490
4491
  input: {
4491
4492
  param: {
4492
4493
  name: string;
@@ -4494,11 +4495,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4494
4495
  };
4495
4496
  } | {
4496
4497
  output: {
4497
- ok: true;
4498
- path: string;
4498
+ error: string;
4499
4499
  };
4500
4500
  outputFormat: "json";
4501
- status: import("hono/utils/http-status").ContentfulStatusCode;
4501
+ status: 400 | 404 | 409 | 500;
4502
4502
  input: {
4503
4503
  param: {
4504
4504
  name: string;
@@ -4674,14 +4674,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4674
4674
  "/repo/branches/delete": {
4675
4675
  $post: {
4676
4676
  output: {
4677
- error: string;
4677
+ deleted: string[];
4678
4678
  refused: {
4679
4679
  name: string;
4680
4680
  reason: string;
4681
4681
  }[];
4682
+ dropped?: {
4683
+ sha: string;
4684
+ subject: string;
4685
+ }[] | undefined;
4682
4686
  };
4683
4687
  outputFormat: "json";
4684
- status: 409;
4688
+ status: 200;
4685
4689
  input: {
4686
4690
  json: {
4687
4691
  names: string[];
@@ -4690,18 +4694,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4690
4694
  };
4691
4695
  } | {
4692
4696
  output: {
4693
- deleted: string[];
4697
+ error: string;
4694
4698
  refused: {
4695
4699
  name: string;
4696
4700
  reason: string;
4697
4701
  }[];
4698
- dropped?: {
4699
- sha: string;
4700
- subject: string;
4701
- }[] | undefined;
4702
4702
  };
4703
4703
  outputFormat: "json";
4704
- status: 200;
4704
+ status: 409;
4705
4705
  input: {
4706
4706
  json: {
4707
4707
  names: string[];
@@ -4722,9 +4722,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4722
4722
  } & {
4723
4723
  "/repo/commit/:sha": {
4724
4724
  $get: {
4725
- output: string;
4726
- outputFormat: "text";
4727
- status: import("hono/utils/http-status").ContentfulStatusCode;
4725
+ output: {
4726
+ error: string;
4727
+ code?: "invalid_input" | undefined;
4728
+ };
4729
+ outputFormat: "json";
4730
+ status: 400;
4728
4731
  input: {
4729
4732
  query: {
4730
4733
  structured?: string | undefined;
@@ -4737,10 +4740,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4737
4740
  } | {
4738
4741
  output: {
4739
4742
  error: string;
4740
- code?: "invalid_input" | undefined;
4741
4743
  };
4742
4744
  outputFormat: "json";
4743
- status: 400;
4745
+ status: 409;
4744
4746
  input: {
4745
4747
  query: {
4746
4748
  structured?: string | undefined;
@@ -4784,11 +4786,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4784
4786
  };
4785
4787
  };
4786
4788
  } | {
4787
- output: {
4788
- error: string;
4789
- };
4790
- outputFormat: "json";
4791
- status: 409;
4789
+ output: string;
4790
+ outputFormat: "text";
4791
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4792
4792
  input: {
4793
4793
  query: {
4794
4794
  structured?: string | undefined;
@@ -4803,6 +4803,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4803
4803
  } & {
4804
4804
  "/repo/changes": {
4805
4805
  $get: {
4806
+ output: {
4807
+ error: string;
4808
+ };
4809
+ outputFormat: "json";
4810
+ status: 409;
4811
+ input: {};
4812
+ } | {
4806
4813
  output: {
4807
4814
  files: {
4808
4815
  path: string;
@@ -4827,13 +4834,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4827
4834
  outputFormat: "json";
4828
4835
  status: import("hono/utils/http-status").ContentfulStatusCode;
4829
4836
  input: {};
4830
- } | {
4831
- output: {
4832
- error: string;
4833
- };
4834
- outputFormat: "json";
4835
- status: 409;
4836
- input: {};
4837
4837
  };
4838
4838
  };
4839
4839
  } & {
@@ -4858,10 +4858,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4858
4858
  "/repo/pull": {
4859
4859
  $post: {
4860
4860
  output: {
4861
- error: string;
4861
+ branch: string;
4862
+ pulled: true;
4863
+ summary: string;
4862
4864
  };
4863
4865
  outputFormat: "json";
4864
- status: 409;
4866
+ status: 200;
4865
4867
  input: {
4866
4868
  json: {
4867
4869
  branch?: string | undefined;
@@ -4870,12 +4872,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4870
4872
  };
4871
4873
  } | {
4872
4874
  output: {
4873
- branch: string;
4874
- pulled: true;
4875
- summary: string;
4875
+ error: string;
4876
4876
  };
4877
4877
  outputFormat: "json";
4878
- status: 200;
4878
+ status: 409;
4879
4879
  input: {
4880
4880
  json: {
4881
4881
  branch?: string | undefined;
@@ -6824,6 +6824,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6824
6824
  } & {
6825
6825
  "/run-summaries": {
6826
6826
  $get: {
6827
+ output: {
6828
+ error: string;
6829
+ code?: "invalid_input" | undefined;
6830
+ };
6831
+ outputFormat: "json";
6832
+ status: 400;
6833
+ input: {
6834
+ query: {
6835
+ archived?: "all" | "recent" | undefined;
6836
+ };
6837
+ };
6838
+ } | {
6827
6839
  output: {
6828
6840
  id: string;
6829
6841
  title: string;
@@ -6961,18 +6973,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6961
6973
  archived?: "all" | "recent" | undefined;
6962
6974
  };
6963
6975
  };
6964
- } | {
6965
- output: {
6966
- error: string;
6967
- code?: "invalid_input" | undefined;
6968
- };
6969
- outputFormat: "json";
6970
- status: 400;
6971
- input: {
6972
- query: {
6973
- archived?: "all" | "recent" | undefined;
6974
- };
6975
- };
6976
6976
  };
6977
6977
  };
6978
6978
  } & {
@@ -7334,11 +7334,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7334
7334
  "/runs/:id/worker-destroy": {
7335
7335
  $post: {
7336
7336
  output: {
7337
- error: string;
7338
- code?: "invalid_input" | undefined;
7337
+ workerId: string;
7338
+ state: "complete" | "incomplete";
7339
+ work?: {
7340
+ uncommittedFiles: number;
7341
+ commits: number;
7342
+ } | undefined;
7343
+ deleted?: ({
7344
+ kind: "worktree";
7345
+ path: string;
7346
+ } | {
7347
+ kind: "branch";
7348
+ ref: string;
7349
+ })[] | undefined;
7350
+ remaining: ("branch" | "process" | "worktree")[];
7351
+ error?: string | undefined;
7339
7352
  };
7340
7353
  outputFormat: "json";
7341
- status: 400;
7354
+ status: 200;
7342
7355
  input: {
7343
7356
  query: {
7344
7357
  [x: string]: string | string[];
@@ -7354,24 +7367,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7354
7367
  };
7355
7368
  } | {
7356
7369
  output: {
7357
- workerId: string;
7358
- state: "complete" | "incomplete";
7359
- work?: {
7360
- uncommittedFiles: number;
7361
- commits: number;
7362
- } | undefined;
7363
- deleted?: ({
7364
- kind: "worktree";
7365
- path: string;
7366
- } | {
7367
- kind: "branch";
7368
- ref: string;
7369
- })[] | undefined;
7370
- remaining: ("branch" | "process" | "worktree")[];
7371
- error?: string | undefined;
7370
+ error: string;
7371
+ code?: "invalid_input" | undefined;
7372
7372
  };
7373
7373
  outputFormat: "json";
7374
- status: 200;
7374
+ status: 400;
7375
7375
  input: {
7376
7376
  query: {
7377
7377
  [x: string]: string | string[];
@@ -7487,6 +7487,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7487
7487
  } & {
7488
7488
  "/runs/:id/archive": {
7489
7489
  $post: {
7490
+ output: {
7491
+ error: string;
7492
+ };
7493
+ outputFormat: "json";
7494
+ status: 404;
7495
+ input: {
7496
+ json: {
7497
+ archived?: boolean | undefined;
7498
+ };
7499
+ } & {
7500
+ param: {
7501
+ id: string;
7502
+ };
7503
+ };
7504
+ } | {
7490
7505
  output: {
7491
7506
  archiveWhenDone?: boolean | undefined;
7492
7507
  autoMergePr?: boolean | undefined;
@@ -8665,32 +8680,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8665
8680
  id: string;
8666
8681
  };
8667
8682
  };
8668
- } | {
8683
+ };
8684
+ };
8685
+ } & {
8686
+ "/runs/:id/pin": {
8687
+ $post: {
8669
8688
  output: {
8670
8689
  error: string;
8690
+ code?: "invalid_input" | undefined;
8671
8691
  };
8672
8692
  outputFormat: "json";
8673
- status: 404;
8693
+ status: 400;
8674
8694
  input: {
8675
- json: {
8676
- archived?: boolean | undefined;
8677
- };
8678
- } & {
8679
8695
  param: {
8680
8696
  id: string;
8681
8697
  };
8698
+ } & {
8699
+ json: {
8700
+ pinned?: boolean | undefined;
8701
+ };
8682
8702
  };
8683
- };
8684
- };
8685
- } & {
8686
- "/runs/:id/pin": {
8687
- $post: {
8703
+ } | {
8688
8704
  output: {
8689
8705
  error: string;
8690
- code?: "invalid_input" | undefined;
8691
8706
  };
8692
8707
  outputFormat: "json";
8693
- status: 400;
8708
+ status: 404;
8694
8709
  input: {
8695
8710
  param: {
8696
8711
  id: string;
@@ -9879,21 +9894,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9879
9894
  pinned?: boolean | undefined;
9880
9895
  };
9881
9896
  };
9882
- } | {
9883
- output: {
9884
- error: string;
9885
- };
9886
- outputFormat: "json";
9887
- status: 404;
9888
- input: {
9889
- param: {
9890
- id: string;
9891
- };
9892
- } & {
9893
- json: {
9894
- pinned?: boolean | undefined;
9895
- };
9896
- };
9897
9897
  };
9898
9898
  };
9899
9899
  } & {
@@ -9920,7 +9920,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9920
9920
  error: string;
9921
9921
  };
9922
9922
  outputFormat: "json";
9923
- status: 404;
9923
+ status: 400;
9924
9924
  input: {
9925
9925
  param: {
9926
9926
  id: string;
@@ -9936,7 +9936,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9936
9936
  error: string;
9937
9937
  };
9938
9938
  outputFormat: "json";
9939
- status: 400;
9939
+ status: 404;
9940
9940
  input: {
9941
9941
  param: {
9942
9942
  id: string;
@@ -11158,6 +11158,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11158
11158
  } & {
11159
11159
  "/runs/:id/read": {
11160
11160
  $post: {
11161
+ output: {
11162
+ error: string;
11163
+ };
11164
+ outputFormat: "json";
11165
+ status: 404;
11166
+ input: {
11167
+ param: {
11168
+ id: string;
11169
+ };
11170
+ };
11171
+ } | {
11161
11172
  output: {
11162
11173
  archiveWhenDone?: boolean | undefined;
11163
11174
  autoMergePr?: boolean | undefined;
@@ -12332,7 +12343,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12332
12343
  id: string;
12333
12344
  };
12334
12345
  };
12335
- } | {
12346
+ };
12347
+ };
12348
+ } & {
12349
+ "/runs/:id/unread": {
12350
+ $post: {
12336
12351
  output: {
12337
12352
  error: string;
12338
12353
  };
@@ -12343,11 +12358,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12343
12358
  id: string;
12344
12359
  };
12345
12360
  };
12346
- };
12347
- };
12348
- } & {
12349
- "/runs/:id/unread": {
12350
- $post: {
12361
+ } | {
12351
12362
  output: {
12352
12363
  archiveWhenDone?: boolean | undefined;
12353
12364
  autoMergePr?: boolean | undefined;
@@ -13522,17 +13533,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13522
13533
  id: string;
13523
13534
  };
13524
13535
  };
13525
- } | {
13526
- output: {
13527
- error: string;
13528
- };
13529
- outputFormat: "json";
13530
- status: 404;
13531
- input: {
13532
- param: {
13533
- id: string;
13534
- };
13535
- };
13536
13536
  };
13537
13537
  };
13538
13538
  } & {
@@ -14808,6 +14808,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14808
14808
  } & {
14809
14809
  "/runs/:id": {
14810
14810
  $get: {
14811
+ output: {
14812
+ error: string;
14813
+ };
14814
+ outputFormat: "json";
14815
+ status: 404;
14816
+ input: {
14817
+ param: {
14818
+ id: string;
14819
+ };
14820
+ };
14821
+ } | {
14811
14822
  output: {
14812
14823
  archiveWhenDone?: boolean | undefined;
14813
14824
  autoMergePr?: boolean | undefined;
@@ -15990,17 +16001,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15990
16001
  id: string;
15991
16002
  };
15992
16003
  };
15993
- } | {
15994
- output: {
15995
- error: string;
15996
- };
15997
- outputFormat: "json";
15998
- status: 404;
15999
- input: {
16000
- param: {
16001
- id: string;
16002
- };
16003
- };
16004
16004
  };
16005
16005
  };
16006
16006
  } & {
@@ -16128,6 +16128,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16128
16128
  } & {
16129
16129
  "/runs/:id": {
16130
16130
  $patch: {
16131
+ output: {
16132
+ error: string;
16133
+ };
16134
+ outputFormat: "json";
16135
+ status: 400;
16136
+ input: {
16137
+ json: {
16138
+ archiveWhenDone?: boolean | undefined;
16139
+ autoMergePr?: boolean | undefined;
16140
+ allowWorkers?: boolean | undefined;
16141
+ allowMessaging?: boolean | undefined;
16142
+ title?: string | undefined;
16143
+ task?: string | undefined;
16144
+ };
16145
+ } & {
16146
+ param: {
16147
+ id: string;
16148
+ };
16149
+ };
16150
+ } | {
16151
+ output: {
16152
+ error: string;
16153
+ };
16154
+ outputFormat: "json";
16155
+ status: 404;
16156
+ input: {
16157
+ json: {
16158
+ archiveWhenDone?: boolean | undefined;
16159
+ autoMergePr?: boolean | undefined;
16160
+ allowWorkers?: boolean | undefined;
16161
+ allowMessaging?: boolean | undefined;
16162
+ title?: string | undefined;
16163
+ task?: string | undefined;
16164
+ };
16165
+ } & {
16166
+ param: {
16167
+ id: string;
16168
+ };
16169
+ };
16170
+ } | {
16171
+ output: {
16172
+ error: string;
16173
+ };
16174
+ outputFormat: "json";
16175
+ status: 409;
16176
+ input: {
16177
+ json: {
16178
+ archiveWhenDone?: boolean | undefined;
16179
+ autoMergePr?: boolean | undefined;
16180
+ allowWorkers?: boolean | undefined;
16181
+ allowMessaging?: boolean | undefined;
16182
+ title?: string | undefined;
16183
+ task?: string | undefined;
16184
+ };
16185
+ } & {
16186
+ param: {
16187
+ id: string;
16188
+ };
16189
+ };
16190
+ } | {
16131
16191
  output: {
16132
16192
  archiveWhenDone?: boolean | undefined;
16133
16193
  autoMergePr?: boolean | undefined;
@@ -17311,66 +17371,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17311
17371
  id: string;
17312
17372
  };
17313
17373
  };
17314
- } | {
17315
- output: {
17316
- error: string;
17317
- };
17318
- outputFormat: "json";
17319
- status: 404;
17320
- input: {
17321
- json: {
17322
- archiveWhenDone?: boolean | undefined;
17323
- autoMergePr?: boolean | undefined;
17324
- allowWorkers?: boolean | undefined;
17325
- allowMessaging?: boolean | undefined;
17326
- title?: string | undefined;
17327
- task?: string | undefined;
17328
- };
17329
- } & {
17330
- param: {
17331
- id: string;
17332
- };
17333
- };
17334
- } | {
17335
- output: {
17336
- error: string;
17337
- };
17338
- outputFormat: "json";
17339
- status: 400;
17340
- input: {
17341
- json: {
17342
- archiveWhenDone?: boolean | undefined;
17343
- autoMergePr?: boolean | undefined;
17344
- allowWorkers?: boolean | undefined;
17345
- allowMessaging?: boolean | undefined;
17346
- title?: string | undefined;
17347
- task?: string | undefined;
17348
- };
17349
- } & {
17350
- param: {
17351
- id: string;
17352
- };
17353
- };
17354
- } | {
17355
- output: {
17356
- error: string;
17357
- };
17358
- outputFormat: "json";
17359
- status: 409;
17360
- input: {
17361
- json: {
17362
- archiveWhenDone?: boolean | undefined;
17363
- autoMergePr?: boolean | undefined;
17364
- allowWorkers?: boolean | undefined;
17365
- allowMessaging?: boolean | undefined;
17366
- title?: string | undefined;
17367
- task?: string | undefined;
17368
- };
17369
- } & {
17370
- param: {
17371
- id: string;
17372
- };
17373
- };
17374
17374
  };
17375
17375
  };
17376
17376
  } & {
@@ -17475,7 +17475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17475
17475
  error: string;
17476
17476
  };
17477
17477
  outputFormat: "json";
17478
- status: 404;
17478
+ status: 400;
17479
17479
  input: {
17480
17480
  json: {
17481
17481
  text?: string | undefined;
@@ -17494,7 +17494,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17494
17494
  error: string;
17495
17495
  };
17496
17496
  outputFormat: "json";
17497
- status: 409;
17497
+ status: 404;
17498
17498
  input: {
17499
17499
  json: {
17500
17500
  text?: string | undefined;
@@ -17510,10 +17510,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17510
17510
  };
17511
17511
  } | {
17512
17512
  output: {
17513
- delivered: true;
17513
+ error: string;
17514
17514
  };
17515
17515
  outputFormat: "json";
17516
- status: import("hono/utils/http-status").ContentfulStatusCode;
17516
+ status: 409;
17517
17517
  input: {
17518
17518
  json: {
17519
17519
  text?: string | undefined;
@@ -17529,10 +17529,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17529
17529
  };
17530
17530
  } | {
17531
17531
  output: {
17532
- error: string;
17532
+ delivered: true;
17533
17533
  };
17534
17534
  outputFormat: "json";
17535
- status: 400;
17535
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17536
17536
  input: {
17537
17537
  json: {
17538
17538
  text?: string | undefined;
@@ -17600,7 +17600,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17600
17600
  error: string;
17601
17601
  };
17602
17602
  outputFormat: "json";
17603
- status: 404;
17603
+ status: 400;
17604
17604
  input: {
17605
17605
  json: {
17606
17606
  text?: string | undefined;
@@ -17621,7 +17621,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17621
17621
  error: string;
17622
17622
  };
17623
17623
  outputFormat: "json";
17624
- status: 400;
17624
+ status: 404;
17625
17625
  input: {
17626
17626
  json: {
17627
17627
  text?: string | undefined;
@@ -17841,10 +17841,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17841
17841
  "/runs/:id/open-in-cli": {
17842
17842
  $post: {
17843
17843
  output: {
17844
- error: string;
17844
+ opened: true;
17845
+ command: string;
17845
17846
  };
17846
17847
  outputFormat: "json";
17847
- status: 404 | 409;
17848
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17848
17849
  input: {
17849
17850
  param: {
17850
17851
  id: string;
@@ -17852,11 +17853,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17852
17853
  };
17853
17854
  } | {
17854
17855
  output: {
17855
- opened: true;
17856
- command: string;
17856
+ error: string;
17857
17857
  };
17858
17858
  outputFormat: "json";
17859
- status: import("hono/utils/http-status").ContentfulStatusCode;
17859
+ status: 404 | 409;
17860
17860
  input: {
17861
17861
  param: {
17862
17862
  id: string;
@@ -17944,9 +17944,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17944
17944
  } & {
17945
17945
  "/runs/:id/images/:file": {
17946
17946
  $get: {
17947
- output: {};
17948
- outputFormat: string;
17949
- status: import("hono/utils/http-status").StatusCode;
17947
+ output: {
17948
+ error: string;
17949
+ code?: "invalid_input" | undefined;
17950
+ };
17951
+ outputFormat: "json";
17952
+ status: 400;
17950
17953
  input: {
17951
17954
  param: {
17952
17955
  id: string;
@@ -17954,12 +17957,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17954
17957
  };
17955
17958
  };
17956
17959
  } | {
17957
- output: {
17958
- error: string;
17959
- code?: "invalid_input" | undefined;
17960
- };
17961
- outputFormat: "json";
17962
- status: 400;
17960
+ output: {};
17961
+ outputFormat: string;
17962
+ status: import("hono/utils/http-status").StatusCode;
17963
17963
  input: {
17964
17964
  param: {
17965
17965
  id: string;
@@ -17995,17 +17995,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17995
17995
  } & {
17996
17996
  "/runs/:id/changes": {
17997
17997
  $get: {
17998
- output: {
17999
- error: string;
18000
- };
18001
- outputFormat: "json";
18002
- status: 404 | 409;
18003
- input: {
18004
- param: {
18005
- id: string;
18006
- };
18007
- };
18008
- } | {
18009
17998
  output: {
18010
17999
  files: {
18011
18000
  path: string;
@@ -18034,11 +18023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18034
18023
  id: string;
18035
18024
  };
18036
18025
  };
18037
- };
18038
- };
18039
- } & {
18040
- "/runs/:id/commits": {
18041
- $get: {
18026
+ } | {
18042
18027
  output: {
18043
18028
  error: string;
18044
18029
  };
@@ -18049,7 +18034,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18049
18034
  id: string;
18050
18035
  };
18051
18036
  };
18052
- } | {
18037
+ };
18038
+ };
18039
+ } & {
18040
+ "/runs/:id/commits": {
18041
+ $get: {
18053
18042
  output: {
18054
18043
  commits: {
18055
18044
  sha: string;
@@ -18065,11 +18054,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18065
18054
  id: string;
18066
18055
  };
18067
18056
  };
18068
- };
18069
- };
18070
- } & {
18071
- "/runs/:id/commit/:sha": {
18072
- $get: {
18057
+ } | {
18073
18058
  output: {
18074
18059
  error: string;
18075
18060
  };
@@ -18078,11 +18063,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18078
18063
  input: {
18079
18064
  param: {
18080
18065
  id: string;
18081
- } & {
18082
- sha: string;
18083
18066
  };
18084
18067
  };
18085
- } | {
18068
+ };
18069
+ };
18070
+ } & {
18071
+ "/runs/:id/commit/:sha": {
18072
+ $get: {
18086
18073
  output: {
18087
18074
  sha: string;
18088
18075
  subject: string;
@@ -18108,9 +18095,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18108
18095
  status: import("hono/utils/http-status").ContentfulStatusCode;
18109
18096
  input: {
18110
18097
  param: {
18111
- id: string;
18098
+ sha: string;
18112
18099
  } & {
18100
+ id: string;
18101
+ };
18102
+ };
18103
+ } | {
18104
+ output: {
18105
+ error: string;
18106
+ };
18107
+ outputFormat: "json";
18108
+ status: 404 | 409;
18109
+ input: {
18110
+ param: {
18113
18111
  sha: string;
18112
+ } & {
18113
+ id: string;
18114
18114
  };
18115
18115
  };
18116
18116
  };
@@ -18148,22 +18148,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18148
18148
  raw?: "1" | undefined;
18149
18149
  };
18150
18150
  };
18151
- } | {
18152
- output: {
18153
- error: string;
18154
- };
18155
- outputFormat: "json";
18156
- status: 404 | 409;
18157
- input: {
18158
- param: {
18159
- id: string;
18160
- };
18161
- } & {
18162
- query: {
18163
- path: string | string[];
18164
- raw?: "1" | undefined;
18165
- };
18166
- };
18167
18151
  } | {
18168
18152
  output: {
18169
18153
  type: "file";
@@ -18200,6 +18184,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18200
18184
  raw?: "1" | undefined;
18201
18185
  };
18202
18186
  };
18187
+ } | {
18188
+ output: {
18189
+ error: string;
18190
+ };
18191
+ outputFormat: "json";
18192
+ status: 404 | 409;
18193
+ input: {
18194
+ param: {
18195
+ id: string;
18196
+ };
18197
+ } & {
18198
+ query: {
18199
+ path: string | string[];
18200
+ raw?: "1" | undefined;
18201
+ };
18202
+ };
18203
18203
  };
18204
18204
  };
18205
18205
  } & {
@@ -18264,6 +18264,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18264
18264
  artifactId: string;
18265
18265
  };
18266
18266
  };
18267
+ } | {
18268
+ output: {
18269
+ error: string;
18270
+ };
18271
+ outputFormat: "json";
18272
+ status: 404;
18273
+ input: {
18274
+ param: {
18275
+ id: string;
18276
+ artifactId: string;
18277
+ };
18278
+ };
18267
18279
  } | {
18268
18280
  output: {
18269
18281
  type: "file";
@@ -18292,18 +18304,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18292
18304
  artifactId: string;
18293
18305
  };
18294
18306
  };
18295
- } | {
18296
- output: {
18297
- error: string;
18298
- };
18299
- outputFormat: "json";
18300
- status: 404;
18301
- input: {
18302
- param: {
18303
- id: string;
18304
- artifactId: string;
18305
- };
18306
- };
18307
18307
  };
18308
18308
  };
18309
18309
  } & {
@@ -18481,10 +18481,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18481
18481
  };
18482
18482
  } | {
18483
18483
  output: {
18484
- error: string;
18484
+ type: 'dir';
18485
+ path: string;
18486
+ entries: {
18487
+ name: string;
18488
+ type: 'dir' | 'file';
18489
+ size?: number;
18490
+ }[];
18485
18491
  };
18486
18492
  outputFormat: "json";
18487
- status: 404 | 409;
18493
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18488
18494
  input: {
18489
18495
  query: {
18490
18496
  path?: string | undefined;
@@ -18497,13 +18503,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18497
18503
  };
18498
18504
  } | {
18499
18505
  output: {
18500
- type: 'dir';
18506
+ type: 'file';
18501
18507
  path: string;
18502
- entries: {
18503
- name: string;
18504
- type: 'dir' | 'file';
18505
- size?: number;
18506
- }[];
18508
+ size: number;
18509
+ binary: boolean;
18510
+ tooLarge: boolean;
18511
+ content?: string | undefined;
18507
18512
  };
18508
18513
  outputFormat: "json";
18509
18514
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18519,15 +18524,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18519
18524
  };
18520
18525
  } | {
18521
18526
  output: {
18522
- type: 'file';
18523
- path: string;
18524
- size: number;
18525
- binary: boolean;
18526
- tooLarge: boolean;
18527
- content?: string | undefined;
18527
+ error: string;
18528
18528
  };
18529
18529
  outputFormat: "json";
18530
- status: import("hono/utils/http-status").ContentfulStatusCode;
18530
+ status: 404 | 409;
18531
18531
  input: {
18532
18532
  query: {
18533
18533
  path?: string | undefined;
@@ -18544,10 +18544,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18544
18544
  "/runs/:id/git/commit": {
18545
18545
  $post: {
18546
18546
  output: {
18547
- error: string;
18547
+ committed: true;
18548
+ sha: string;
18548
18549
  };
18549
18550
  outputFormat: "json";
18550
- status: 404 | 409;
18551
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18551
18552
  input: {
18552
18553
  json: {
18553
18554
  message: string;
@@ -18559,11 +18560,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18559
18560
  };
18560
18561
  } | {
18561
18562
  output: {
18562
- committed: true;
18563
- sha: string;
18563
+ error: string;
18564
18564
  };
18565
18565
  outputFormat: "json";
18566
- status: import("hono/utils/http-status").ContentfulStatusCode;
18566
+ status: 404 | 409;
18567
18567
  input: {
18568
18568
  json: {
18569
18569
  message: string;
@@ -18579,10 +18579,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18579
18579
  "/runs/:id/git/push": {
18580
18580
  $post: {
18581
18581
  output: {
18582
- error: string;
18582
+ pushed: true;
18583
+ branch: string;
18584
+ remote: string;
18585
+ upstreamSet: boolean;
18583
18586
  };
18584
18587
  outputFormat: "json";
18585
- status: 404 | 409;
18588
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18586
18589
  input: {
18587
18590
  param: {
18588
18591
  id: string;
@@ -18590,13 +18593,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18590
18593
  };
18591
18594
  } | {
18592
18595
  output: {
18593
- pushed: true;
18594
- branch: string;
18595
- remote: string;
18596
- upstreamSet: boolean;
18596
+ error: string;
18597
18597
  };
18598
18598
  outputFormat: "json";
18599
- status: import("hono/utils/http-status").ContentfulStatusCode;
18599
+ status: 404 | 409;
18600
18600
  input: {
18601
18601
  param: {
18602
18602
  id: string;
@@ -18608,10 +18608,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18608
18608
  "/runs/:id/pr": {
18609
18609
  $post: {
18610
18610
  output: {
18611
- error: string;
18611
+ url: string;
18612
+ dryRun: boolean;
18612
18613
  };
18613
18614
  outputFormat: "json";
18614
- status: 404 | 409;
18615
+ status: 201;
18615
18616
  input: {
18616
18617
  param: {
18617
18618
  id: string;
@@ -18619,11 +18620,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18619
18620
  };
18620
18621
  } | {
18621
18622
  output: {
18622
- url: string;
18623
- dryRun: boolean;
18623
+ error: string;
18624
18624
  };
18625
18625
  outputFormat: "json";
18626
- status: 201;
18626
+ status: 404 | 409;
18627
18627
  input: {
18628
18628
  param: {
18629
18629
  id: string;
@@ -18635,10 +18635,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18635
18635
  "/runs/:id/remove-worktree": {
18636
18636
  $post: {
18637
18637
  output: {
18638
- error: string;
18638
+ removed: true;
18639
18639
  };
18640
18640
  outputFormat: "json";
18641
- status: 404 | 409;
18641
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18642
18642
  input: {
18643
18643
  param: {
18644
18644
  id: string;
@@ -18646,10 +18646,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18646
18646
  };
18647
18647
  } | {
18648
18648
  output: {
18649
- removed: true;
18649
+ error: string;
18650
18650
  };
18651
18651
  outputFormat: "json";
18652
- status: import("hono/utils/http-status").ContentfulStatusCode;
18652
+ status: 404 | 409;
18653
18653
  input: {
18654
18654
  param: {
18655
18655
  id: string;
@@ -18661,10 +18661,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18661
18661
  "/runs/:id": {
18662
18662
  $delete: {
18663
18663
  output: {
18664
- error: string;
18664
+ deleted: true;
18665
18665
  };
18666
18666
  outputFormat: "json";
18667
- status: 404 | 409;
18667
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18668
18668
  input: {
18669
18669
  param: {
18670
18670
  id: string;
@@ -18672,10 +18672,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18672
18672
  };
18673
18673
  } | {
18674
18674
  output: {
18675
- deleted: true;
18675
+ error: string;
18676
18676
  };
18677
18677
  outputFormat: "json";
18678
- status: import("hono/utils/http-status").ContentfulStatusCode;
18678
+ status: 404 | 409;
18679
18679
  input: {
18680
18680
  param: {
18681
18681
  id: string;
@@ -18744,18 +18744,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18744
18744
  }, "/"> | import("hono/types").MergeSchemaPath<{
18745
18745
  "/plan": {
18746
18746
  $post: {
18747
- output: {
18748
- error: string;
18749
- };
18750
- outputFormat: "json";
18751
- status: 400 | 404 | 409;
18752
- input: {
18753
- json: {
18754
- task: string;
18755
- agentProfile?: string | undefined;
18756
- };
18757
- };
18758
- } | {
18759
18747
  output: {
18760
18748
  name?: string;
18761
18749
  steps: {
@@ -18792,6 +18780,71 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18792
18780
  agentProfile?: string | undefined;
18793
18781
  };
18794
18782
  };
18783
+ } | {
18784
+ output: {
18785
+ error: string;
18786
+ };
18787
+ outputFormat: "json";
18788
+ status: 400 | 404 | 409;
18789
+ input: {
18790
+ json: {
18791
+ task: string;
18792
+ agentProfile?: string | undefined;
18793
+ };
18794
+ };
18795
+ };
18796
+ };
18797
+ }, "/"> | import("hono/types").MergeSchemaPath<{
18798
+ "/open-targets": {
18799
+ $get: {
18800
+ output: {
18801
+ targets: {
18802
+ id: string;
18803
+ label: string;
18804
+ icon?: string;
18805
+ }[];
18806
+ };
18807
+ outputFormat: "json";
18808
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18809
+ input: {};
18810
+ };
18811
+ };
18812
+ } & {
18813
+ "/open-in": {
18814
+ $post: {
18815
+ output: {
18816
+ error: string;
18817
+ };
18818
+ outputFormat: "json";
18819
+ status: 400;
18820
+ input: {
18821
+ json: {
18822
+ target: string;
18823
+ };
18824
+ };
18825
+ } | {
18826
+ output: {
18827
+ error: string;
18828
+ };
18829
+ outputFormat: "json";
18830
+ status: 409;
18831
+ input: {
18832
+ json: {
18833
+ target: string;
18834
+ };
18835
+ };
18836
+ } | {
18837
+ output: {
18838
+ opened: true;
18839
+ path: string;
18840
+ };
18841
+ outputFormat: "json";
18842
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18843
+ input: {
18844
+ json: {
18845
+ target: string;
18846
+ };
18847
+ };
18795
18848
  };
18796
18849
  };
18797
18850
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18840,6 +18893,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18840
18893
  } & {
18841
18894
  "/ui-state": {
18842
18895
  $put: {
18896
+ output: {
18897
+ error: string;
18898
+ };
18899
+ outputFormat: "json";
18900
+ status: 500;
18901
+ input: {
18902
+ json: {
18903
+ [x: string]: unknown;
18904
+ sidebarLimits?: {
18905
+ overall?: number | null | undefined;
18906
+ needsYou?: number | null | undefined;
18907
+ finished?: number | null | undefined;
18908
+ working?: number | null | undefined;
18909
+ } | undefined;
18910
+ lastWorktree?: boolean | undefined;
18911
+ lastAutonomous?: boolean | undefined;
18912
+ runsView?: "list" | "table" | undefined;
18913
+ githubView?: "issues" | "prs" | undefined;
18914
+ appearance?: {
18915
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18916
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18917
+ width?: "narrow" | "wide" | undefined;
18918
+ } | undefined;
18919
+ lastTask?: {
18920
+ source: "skill" | "workflow";
18921
+ ref: string;
18922
+ } | null | undefined;
18923
+ recentSources?: {
18924
+ source: "skill" | "workflow";
18925
+ ref: string;
18926
+ }[] | undefined;
18927
+ skillUsage?: Record<string, number> | undefined;
18928
+ promptTemplates?: {
18929
+ id: string;
18930
+ label: string;
18931
+ text: string;
18932
+ skills?: string[] | undefined;
18933
+ }[] | undefined;
18934
+ };
18935
+ };
18936
+ } | {
18843
18937
  output: {
18844
18938
  [x: string]: import("hono/utils/types").JSONValue;
18845
18939
  sidebarLimits?: {
@@ -18912,108 +19006,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18912
19006
  }[] | undefined;
18913
19007
  };
18914
19008
  };
18915
- } | {
18916
- output: {
18917
- error: string;
18918
- };
18919
- outputFormat: "json";
18920
- status: 500;
18921
- input: {
18922
- json: {
18923
- [x: string]: unknown;
18924
- sidebarLimits?: {
18925
- overall?: number | null | undefined;
18926
- needsYou?: number | null | undefined;
18927
- finished?: number | null | undefined;
18928
- working?: number | null | undefined;
18929
- } | undefined;
18930
- lastWorktree?: boolean | undefined;
18931
- lastAutonomous?: boolean | undefined;
18932
- runsView?: "list" | "table" | undefined;
18933
- githubView?: "issues" | "prs" | undefined;
18934
- appearance?: {
18935
- accent?: "cezarion" | "lime" | "violet" | undefined;
18936
- density?: "comfortable" | "compact" | "ultra" | undefined;
18937
- width?: "narrow" | "wide" | undefined;
18938
- } | undefined;
18939
- lastTask?: {
18940
- source: "skill" | "workflow";
18941
- ref: string;
18942
- } | null | undefined;
18943
- recentSources?: {
18944
- source: "skill" | "workflow";
18945
- ref: string;
18946
- }[] | undefined;
18947
- skillUsage?: Record<string, number> | undefined;
18948
- promptTemplates?: {
18949
- id: string;
18950
- label: string;
18951
- text: string;
18952
- skills?: string[] | undefined;
18953
- }[] | undefined;
18954
- };
18955
- };
18956
19009
  };
18957
19010
  };
18958
19011
  }, "/"> | import("hono/types").MergeSchemaPath<{
18959
- "/open-targets": {
19012
+ "/runs/:id/events": {
18960
19013
  $get: {
18961
- output: {
18962
- targets: {
18963
- id: string;
18964
- label: string;
18965
- icon?: string;
18966
- }[];
18967
- };
18968
- outputFormat: "json";
18969
- status: import("hono/utils/http-status").ContentfulStatusCode;
18970
- input: {};
18971
- };
18972
- };
18973
- } & {
18974
- "/open-in": {
18975
- $post: {
18976
- output: {
18977
- error: string;
18978
- };
18979
- outputFormat: "json";
18980
- status: 409;
18981
- input: {
18982
- json: {
18983
- target: string;
18984
- };
18985
- };
18986
- } | {
18987
19014
  output: {
18988
19015
  error: string;
19016
+ code?: "invalid_input" | undefined;
18989
19017
  };
18990
19018
  outputFormat: "json";
18991
19019
  status: 400;
18992
- input: {
18993
- json: {
18994
- target: string;
18995
- };
18996
- };
18997
- } | {
18998
- output: {
18999
- opened: true;
19000
- path: string;
19001
- };
19002
- outputFormat: "json";
19003
- status: import("hono/utils/http-status").ContentfulStatusCode;
19004
- input: {
19005
- json: {
19006
- target: string;
19007
- };
19008
- };
19009
- };
19010
- };
19011
- }, "/"> | import("hono/types").MergeSchemaPath<{
19012
- "/runs/:id/events": {
19013
- $get: {
19014
- output: {};
19015
- outputFormat: string;
19016
- status: import("hono/utils/http-status").StatusCode;
19017
19020
  input: {
19018
19021
  param: {
19019
19022
  id: string;
@@ -19025,12 +19028,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19025
19028
  };
19026
19029
  };
19027
19030
  } | {
19028
- output: {
19029
- error: string;
19030
- code?: "invalid_input" | undefined;
19031
- };
19032
- outputFormat: "json";
19033
- status: 400;
19031
+ output: {};
19032
+ outputFormat: string;
19033
+ status: import("hono/utils/http-status").StatusCode;
19034
19034
  input: {
19035
19035
  param: {
19036
19036
  id: string;
@@ -19091,34 +19091,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19091
19091
  "/config": {
19092
19092
  $put: {
19093
19093
  output: {
19094
- archiveOnMerge: boolean | null;
19095
- effectiveArchiveOnMerge: boolean;
19096
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19097
- baseBranch: string | null;
19098
- defaultRunner: string;
19099
- systemPrompt: string | null;
19100
- defaultModels: {
19101
- [x: string]: string | undefined;
19102
- };
19103
- modelsLocked: boolean;
19104
- maxParallel: number;
19105
- memoryLimitMb: number | null;
19106
- worktreeRetention: number;
19107
- liveTitleUpdates: boolean | null;
19108
- reviewGate: boolean | null;
19109
- worktreeSetup: {
19110
- commands: string[];
19111
- timeoutSeconds: number;
19112
- } | null;
19113
- worktreeSetupIssue: string | null;
19114
- worktreeTeardown: {
19115
- commands: string[];
19116
- timeoutSeconds: number;
19117
- } | null;
19118
- worktreeTeardownIssue: string | null;
19094
+ error: string;
19119
19095
  };
19120
19096
  outputFormat: "json";
19121
- status: import("hono/utils/http-status").ContentfulStatusCode;
19097
+ status: 409;
19122
19098
  input: {
19123
19099
  json: {
19124
19100
  archiveOnMerge?: boolean | null | undefined;
@@ -19146,7 +19122,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19146
19122
  error: string;
19147
19123
  };
19148
19124
  outputFormat: "json";
19149
- status: 409;
19125
+ status: 500;
19150
19126
  input: {
19151
19127
  json: {
19152
19128
  archiveOnMerge?: boolean | null | undefined;
@@ -19171,10 +19147,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19171
19147
  };
19172
19148
  } | {
19173
19149
  output: {
19174
- error: string;
19150
+ archiveOnMerge: boolean | null;
19151
+ effectiveArchiveOnMerge: boolean;
19152
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19153
+ baseBranch: string | null;
19154
+ defaultRunner: string;
19155
+ systemPrompt: string | null;
19156
+ defaultModels: {
19157
+ [x: string]: string | undefined;
19158
+ };
19159
+ modelsLocked: boolean;
19160
+ maxParallel: number;
19161
+ memoryLimitMb: number | null;
19162
+ worktreeRetention: number;
19163
+ liveTitleUpdates: boolean | null;
19164
+ reviewGate: boolean | null;
19165
+ worktreeSetup: {
19166
+ commands: string[];
19167
+ timeoutSeconds: number;
19168
+ } | null;
19169
+ worktreeSetupIssue: string | null;
19170
+ worktreeTeardown: {
19171
+ commands: string[];
19172
+ timeoutSeconds: number;
19173
+ } | null;
19174
+ worktreeTeardownIssue: string | null;
19175
19175
  };
19176
19176
  outputFormat: "json";
19177
- status: 500;
19177
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19178
19178
  input: {
19179
19179
  json: {
19180
19180
  archiveOnMerge?: boolean | null | undefined;
@@ -19323,7 +19323,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19323
19323
  error: string;
19324
19324
  };
19325
19325
  outputFormat: "json";
19326
- status: 409;
19326
+ status: 400;
19327
19327
  input: {
19328
19328
  query: {
19329
19329
  q?: string | undefined;
@@ -19336,7 +19336,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19336
19336
  error: string;
19337
19337
  };
19338
19338
  outputFormat: "json";
19339
- status: 400;
19339
+ status: 409;
19340
19340
  input: {
19341
19341
  query: {
19342
19342
  q?: string | undefined;
@@ -19441,10 +19441,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19441
19441
  };
19442
19442
  } | {
19443
19443
  output: {
19444
- error: string;
19444
+ runId: string;
19445
+ worktreeReclaimedAt: string;
19445
19446
  };
19446
19447
  outputFormat: "json";
19447
- status: 404 | 409;
19448
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19448
19449
  input: {
19449
19450
  param: {
19450
19451
  runId: string;
@@ -19456,11 +19457,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19456
19457
  };
19457
19458
  } | {
19458
19459
  output: {
19459
- runId: string;
19460
- worktreeReclaimedAt: string;
19460
+ error: string;
19461
19461
  };
19462
19462
  outputFormat: "json";
19463
- status: import("hono/utils/http-status").ContentfulStatusCode;
19463
+ status: 404 | 409;
19464
19464
  input: {
19465
19465
  param: {
19466
19466
  runId: string;
@@ -19560,14 +19560,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19560
19560
  "/agent-config/:id": {
19561
19561
  $put: {
19562
19562
  output: {
19563
- id: string;
19564
- path: string;
19565
- exists: boolean;
19566
- content: string;
19567
- version: string | null;
19563
+ error: string;
19568
19564
  };
19569
19565
  outputFormat: "json";
19570
- status: import("hono/utils/http-status").ContentfulStatusCode;
19566
+ status: 404;
19571
19567
  input: {
19572
19568
  json: {
19573
19569
  content: string;
@@ -19580,10 +19576,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19580
19576
  };
19581
19577
  } | {
19582
19578
  output: {
19583
- error: string;
19579
+ id: string;
19580
+ path: string;
19581
+ exists: boolean;
19582
+ content: string;
19583
+ version: string | null;
19584
19584
  };
19585
19585
  outputFormat: "json";
19586
- status: 404;
19586
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19587
19587
  input: {
19588
19588
  json: {
19589
19589
  content: string;
@@ -19760,10 +19760,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19760
19760
  "/workflows": {
19761
19761
  $post: {
19762
19762
  output: {
19763
- error: string;
19763
+ path: string;
19764
+ name: string;
19764
19765
  };
19765
19766
  outputFormat: "json";
19766
- status: 400;
19767
+ status: 201;
19767
19768
  input: {
19768
19769
  json: {
19769
19770
  name: string;
@@ -19796,10 +19797,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19796
19797
  } | {
19797
19798
  output: {
19798
19799
  error: string;
19799
- exists: true;
19800
19800
  };
19801
19801
  outputFormat: "json";
19802
- status: 409;
19802
+ status: 400;
19803
19803
  input: {
19804
19804
  json: {
19805
19805
  name: string;
@@ -19832,9 +19832,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19832
19832
  } | {
19833
19833
  output: {
19834
19834
  error: string;
19835
+ exists: true;
19835
19836
  };
19836
19837
  outputFormat: "json";
19837
- status: 500;
19838
+ status: 409;
19838
19839
  input: {
19839
19840
  json: {
19840
19841
  name: string;
@@ -19866,11 +19867,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19866
19867
  };
19867
19868
  } | {
19868
19869
  output: {
19869
- path: string;
19870
- name: string;
19870
+ error: string;
19871
19871
  };
19872
19872
  outputFormat: "json";
19873
- status: 201;
19873
+ status: 500;
19874
19874
  input: {
19875
19875
  json: {
19876
19876
  name: string;
@@ -19906,10 +19906,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19906
19906
  "/workflows/:name": {
19907
19907
  $delete: {
19908
19908
  output: {
19909
- error: string;
19909
+ ok: true;
19910
+ path: string;
19910
19911
  };
19911
19912
  outputFormat: "json";
19912
- status: 400 | 404 | 409 | 500;
19913
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19913
19914
  input: {
19914
19915
  param: {
19915
19916
  name: string;
@@ -19917,11 +19918,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19917
19918
  };
19918
19919
  } | {
19919
19920
  output: {
19920
- ok: true;
19921
- path: string;
19921
+ error: string;
19922
19922
  };
19923
19923
  outputFormat: "json";
19924
- status: import("hono/utils/http-status").ContentfulStatusCode;
19924
+ status: 400 | 404 | 409 | 500;
19925
19925
  input: {
19926
19926
  param: {
19927
19927
  name: string;
@@ -20097,14 +20097,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20097
20097
  "/repo/branches/delete": {
20098
20098
  $post: {
20099
20099
  output: {
20100
- error: string;
20100
+ deleted: string[];
20101
20101
  refused: {
20102
20102
  name: string;
20103
20103
  reason: string;
20104
20104
  }[];
20105
+ dropped?: {
20106
+ sha: string;
20107
+ subject: string;
20108
+ }[] | undefined;
20105
20109
  };
20106
20110
  outputFormat: "json";
20107
- status: 409;
20111
+ status: 200;
20108
20112
  input: {
20109
20113
  json: {
20110
20114
  names: string[];
@@ -20113,18 +20117,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20113
20117
  };
20114
20118
  } | {
20115
20119
  output: {
20116
- deleted: string[];
20120
+ error: string;
20117
20121
  refused: {
20118
20122
  name: string;
20119
20123
  reason: string;
20120
20124
  }[];
20121
- dropped?: {
20122
- sha: string;
20123
- subject: string;
20124
- }[] | undefined;
20125
20125
  };
20126
20126
  outputFormat: "json";
20127
- status: 200;
20127
+ status: 409;
20128
20128
  input: {
20129
20129
  json: {
20130
20130
  names: string[];
@@ -20145,9 +20145,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20145
20145
  } & {
20146
20146
  "/repo/commit/:sha": {
20147
20147
  $get: {
20148
- output: string;
20149
- outputFormat: "text";
20150
- status: import("hono/utils/http-status").ContentfulStatusCode;
20148
+ output: {
20149
+ error: string;
20150
+ code?: "invalid_input" | undefined;
20151
+ };
20152
+ outputFormat: "json";
20153
+ status: 400;
20151
20154
  input: {
20152
20155
  query: {
20153
20156
  structured?: string | undefined;
@@ -20160,10 +20163,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20160
20163
  } | {
20161
20164
  output: {
20162
20165
  error: string;
20163
- code?: "invalid_input" | undefined;
20164
20166
  };
20165
20167
  outputFormat: "json";
20166
- status: 400;
20168
+ status: 409;
20167
20169
  input: {
20168
20170
  query: {
20169
20171
  structured?: string | undefined;
@@ -20207,11 +20209,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20207
20209
  };
20208
20210
  };
20209
20211
  } | {
20210
- output: {
20211
- error: string;
20212
- };
20213
- outputFormat: "json";
20214
- status: 409;
20212
+ output: string;
20213
+ outputFormat: "text";
20214
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20215
20215
  input: {
20216
20216
  query: {
20217
20217
  structured?: string | undefined;
@@ -20226,6 +20226,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20226
20226
  } & {
20227
20227
  "/repo/changes": {
20228
20228
  $get: {
20229
+ output: {
20230
+ error: string;
20231
+ };
20232
+ outputFormat: "json";
20233
+ status: 409;
20234
+ input: {};
20235
+ } | {
20229
20236
  output: {
20230
20237
  files: {
20231
20238
  path: string;
@@ -20250,13 +20257,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20250
20257
  outputFormat: "json";
20251
20258
  status: import("hono/utils/http-status").ContentfulStatusCode;
20252
20259
  input: {};
20253
- } | {
20254
- output: {
20255
- error: string;
20256
- };
20257
- outputFormat: "json";
20258
- status: 409;
20259
- input: {};
20260
20260
  };
20261
20261
  };
20262
20262
  } & {
@@ -20281,10 +20281,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20281
20281
  "/repo/pull": {
20282
20282
  $post: {
20283
20283
  output: {
20284
- error: string;
20284
+ branch: string;
20285
+ pulled: true;
20286
+ summary: string;
20285
20287
  };
20286
20288
  outputFormat: "json";
20287
- status: 409;
20289
+ status: 200;
20288
20290
  input: {
20289
20291
  json: {
20290
20292
  branch?: string | undefined;
@@ -20293,12 +20295,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20293
20295
  };
20294
20296
  } | {
20295
20297
  output: {
20296
- branch: string;
20297
- pulled: true;
20298
- summary: string;
20298
+ error: string;
20299
20299
  };
20300
20300
  outputFormat: "json";
20301
- status: 200;
20301
+ status: 409;
20302
20302
  input: {
20303
20303
  json: {
20304
20304
  branch?: string | undefined;
@@ -22247,6 +22247,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22247
22247
  } & {
22248
22248
  "/run-summaries": {
22249
22249
  $get: {
22250
+ output: {
22251
+ error: string;
22252
+ code?: "invalid_input" | undefined;
22253
+ };
22254
+ outputFormat: "json";
22255
+ status: 400;
22256
+ input: {
22257
+ query: {
22258
+ archived?: "all" | "recent" | undefined;
22259
+ };
22260
+ };
22261
+ } | {
22250
22262
  output: {
22251
22263
  id: string;
22252
22264
  title: string;
@@ -22384,18 +22396,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22384
22396
  archived?: "all" | "recent" | undefined;
22385
22397
  };
22386
22398
  };
22387
- } | {
22388
- output: {
22389
- error: string;
22390
- code?: "invalid_input" | undefined;
22391
- };
22392
- outputFormat: "json";
22393
- status: 400;
22394
- input: {
22395
- query: {
22396
- archived?: "all" | "recent" | undefined;
22397
- };
22398
- };
22399
22399
  };
22400
22400
  };
22401
22401
  } & {
@@ -22757,11 +22757,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22757
22757
  "/runs/:id/worker-destroy": {
22758
22758
  $post: {
22759
22759
  output: {
22760
- error: string;
22761
- code?: "invalid_input" | undefined;
22760
+ workerId: string;
22761
+ state: "complete" | "incomplete";
22762
+ work?: {
22763
+ uncommittedFiles: number;
22764
+ commits: number;
22765
+ } | undefined;
22766
+ deleted?: ({
22767
+ kind: "worktree";
22768
+ path: string;
22769
+ } | {
22770
+ kind: "branch";
22771
+ ref: string;
22772
+ })[] | undefined;
22773
+ remaining: ("branch" | "process" | "worktree")[];
22774
+ error?: string | undefined;
22762
22775
  };
22763
22776
  outputFormat: "json";
22764
- status: 400;
22777
+ status: 200;
22765
22778
  input: {
22766
22779
  query: {
22767
22780
  [x: string]: string | string[];
@@ -22777,24 +22790,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22777
22790
  };
22778
22791
  } | {
22779
22792
  output: {
22780
- workerId: string;
22781
- state: "complete" | "incomplete";
22782
- work?: {
22783
- uncommittedFiles: number;
22784
- commits: number;
22785
- } | undefined;
22786
- deleted?: ({
22787
- kind: "worktree";
22788
- path: string;
22789
- } | {
22790
- kind: "branch";
22791
- ref: string;
22792
- })[] | undefined;
22793
- remaining: ("branch" | "process" | "worktree")[];
22794
- error?: string | undefined;
22793
+ error: string;
22794
+ code?: "invalid_input" | undefined;
22795
22795
  };
22796
22796
  outputFormat: "json";
22797
- status: 200;
22797
+ status: 400;
22798
22798
  input: {
22799
22799
  query: {
22800
22800
  [x: string]: string | string[];
@@ -22910,6 +22910,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22910
22910
  } & {
22911
22911
  "/runs/:id/archive": {
22912
22912
  $post: {
22913
+ output: {
22914
+ error: string;
22915
+ };
22916
+ outputFormat: "json";
22917
+ status: 404;
22918
+ input: {
22919
+ json: {
22920
+ archived?: boolean | undefined;
22921
+ };
22922
+ } & {
22923
+ param: {
22924
+ id: string;
22925
+ };
22926
+ };
22927
+ } | {
22913
22928
  output: {
22914
22929
  archiveWhenDone?: boolean | undefined;
22915
22930
  autoMergePr?: boolean | undefined;
@@ -24088,32 +24103,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24088
24103
  id: string;
24089
24104
  };
24090
24105
  };
24091
- } | {
24106
+ };
24107
+ };
24108
+ } & {
24109
+ "/runs/:id/pin": {
24110
+ $post: {
24092
24111
  output: {
24093
24112
  error: string;
24113
+ code?: "invalid_input" | undefined;
24094
24114
  };
24095
24115
  outputFormat: "json";
24096
- status: 404;
24116
+ status: 400;
24097
24117
  input: {
24098
- json: {
24099
- archived?: boolean | undefined;
24100
- };
24101
- } & {
24102
24118
  param: {
24103
24119
  id: string;
24104
24120
  };
24121
+ } & {
24122
+ json: {
24123
+ pinned?: boolean | undefined;
24124
+ };
24105
24125
  };
24106
- };
24107
- };
24108
- } & {
24109
- "/runs/:id/pin": {
24110
- $post: {
24126
+ } | {
24111
24127
  output: {
24112
24128
  error: string;
24113
- code?: "invalid_input" | undefined;
24114
24129
  };
24115
24130
  outputFormat: "json";
24116
- status: 400;
24131
+ status: 404;
24117
24132
  input: {
24118
24133
  param: {
24119
24134
  id: string;
@@ -25302,21 +25317,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25302
25317
  pinned?: boolean | undefined;
25303
25318
  };
25304
25319
  };
25305
- } | {
25306
- output: {
25307
- error: string;
25308
- };
25309
- outputFormat: "json";
25310
- status: 404;
25311
- input: {
25312
- param: {
25313
- id: string;
25314
- };
25315
- } & {
25316
- json: {
25317
- pinned?: boolean | undefined;
25318
- };
25319
- };
25320
25320
  };
25321
25321
  };
25322
25322
  } & {
@@ -25343,7 +25343,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25343
25343
  error: string;
25344
25344
  };
25345
25345
  outputFormat: "json";
25346
- status: 404;
25346
+ status: 400;
25347
25347
  input: {
25348
25348
  param: {
25349
25349
  id: string;
@@ -25359,7 +25359,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25359
25359
  error: string;
25360
25360
  };
25361
25361
  outputFormat: "json";
25362
- status: 400;
25362
+ status: 404;
25363
25363
  input: {
25364
25364
  param: {
25365
25365
  id: string;
@@ -26581,6 +26581,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26581
26581
  } & {
26582
26582
  "/runs/:id/read": {
26583
26583
  $post: {
26584
+ output: {
26585
+ error: string;
26586
+ };
26587
+ outputFormat: "json";
26588
+ status: 404;
26589
+ input: {
26590
+ param: {
26591
+ id: string;
26592
+ };
26593
+ };
26594
+ } | {
26584
26595
  output: {
26585
26596
  archiveWhenDone?: boolean | undefined;
26586
26597
  autoMergePr?: boolean | undefined;
@@ -27755,7 +27766,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27755
27766
  id: string;
27756
27767
  };
27757
27768
  };
27758
- } | {
27769
+ };
27770
+ };
27771
+ } & {
27772
+ "/runs/:id/unread": {
27773
+ $post: {
27759
27774
  output: {
27760
27775
  error: string;
27761
27776
  };
@@ -27766,11 +27781,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27766
27781
  id: string;
27767
27782
  };
27768
27783
  };
27769
- };
27770
- };
27771
- } & {
27772
- "/runs/:id/unread": {
27773
- $post: {
27784
+ } | {
27774
27785
  output: {
27775
27786
  archiveWhenDone?: boolean | undefined;
27776
27787
  autoMergePr?: boolean | undefined;
@@ -28945,17 +28956,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28945
28956
  id: string;
28946
28957
  };
28947
28958
  };
28948
- } | {
28949
- output: {
28950
- error: string;
28951
- };
28952
- outputFormat: "json";
28953
- status: 404;
28954
- input: {
28955
- param: {
28956
- id: string;
28957
- };
28958
- };
28959
28959
  };
28960
28960
  };
28961
28961
  } & {
@@ -30231,6 +30231,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30231
30231
  } & {
30232
30232
  "/runs/:id": {
30233
30233
  $get: {
30234
+ output: {
30235
+ error: string;
30236
+ };
30237
+ outputFormat: "json";
30238
+ status: 404;
30239
+ input: {
30240
+ param: {
30241
+ id: string;
30242
+ };
30243
+ };
30244
+ } | {
30234
30245
  output: {
30235
30246
  archiveWhenDone?: boolean | undefined;
30236
30247
  autoMergePr?: boolean | undefined;
@@ -31413,17 +31424,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31413
31424
  id: string;
31414
31425
  };
31415
31426
  };
31416
- } | {
31417
- output: {
31418
- error: string;
31419
- };
31420
- outputFormat: "json";
31421
- status: 404;
31422
- input: {
31423
- param: {
31424
- id: string;
31425
- };
31426
- };
31427
31427
  };
31428
31428
  };
31429
31429
  } & {
@@ -31551,6 +31551,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31551
31551
  } & {
31552
31552
  "/runs/:id": {
31553
31553
  $patch: {
31554
+ output: {
31555
+ error: string;
31556
+ };
31557
+ outputFormat: "json";
31558
+ status: 400;
31559
+ input: {
31560
+ json: {
31561
+ archiveWhenDone?: boolean | undefined;
31562
+ autoMergePr?: boolean | undefined;
31563
+ allowWorkers?: boolean | undefined;
31564
+ allowMessaging?: boolean | undefined;
31565
+ title?: string | undefined;
31566
+ task?: string | undefined;
31567
+ };
31568
+ } & {
31569
+ param: {
31570
+ id: string;
31571
+ };
31572
+ };
31573
+ } | {
31574
+ output: {
31575
+ error: string;
31576
+ };
31577
+ outputFormat: "json";
31578
+ status: 404;
31579
+ input: {
31580
+ json: {
31581
+ archiveWhenDone?: boolean | undefined;
31582
+ autoMergePr?: boolean | undefined;
31583
+ allowWorkers?: boolean | undefined;
31584
+ allowMessaging?: boolean | undefined;
31585
+ title?: string | undefined;
31586
+ task?: string | undefined;
31587
+ };
31588
+ } & {
31589
+ param: {
31590
+ id: string;
31591
+ };
31592
+ };
31593
+ } | {
31594
+ output: {
31595
+ error: string;
31596
+ };
31597
+ outputFormat: "json";
31598
+ status: 409;
31599
+ input: {
31600
+ json: {
31601
+ archiveWhenDone?: boolean | undefined;
31602
+ autoMergePr?: boolean | undefined;
31603
+ allowWorkers?: boolean | undefined;
31604
+ allowMessaging?: boolean | undefined;
31605
+ title?: string | undefined;
31606
+ task?: string | undefined;
31607
+ };
31608
+ } & {
31609
+ param: {
31610
+ id: string;
31611
+ };
31612
+ };
31613
+ } | {
31554
31614
  output: {
31555
31615
  archiveWhenDone?: boolean | undefined;
31556
31616
  autoMergePr?: boolean | undefined;
@@ -32734,66 +32794,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32734
32794
  id: string;
32735
32795
  };
32736
32796
  };
32737
- } | {
32738
- output: {
32739
- error: string;
32740
- };
32741
- outputFormat: "json";
32742
- status: 404;
32743
- input: {
32744
- json: {
32745
- archiveWhenDone?: boolean | undefined;
32746
- autoMergePr?: boolean | undefined;
32747
- allowWorkers?: boolean | undefined;
32748
- allowMessaging?: boolean | undefined;
32749
- title?: string | undefined;
32750
- task?: string | undefined;
32751
- };
32752
- } & {
32753
- param: {
32754
- id: string;
32755
- };
32756
- };
32757
- } | {
32758
- output: {
32759
- error: string;
32760
- };
32761
- outputFormat: "json";
32762
- status: 400;
32763
- input: {
32764
- json: {
32765
- archiveWhenDone?: boolean | undefined;
32766
- autoMergePr?: boolean | undefined;
32767
- allowWorkers?: boolean | undefined;
32768
- allowMessaging?: boolean | undefined;
32769
- title?: string | undefined;
32770
- task?: string | undefined;
32771
- };
32772
- } & {
32773
- param: {
32774
- id: string;
32775
- };
32776
- };
32777
- } | {
32778
- output: {
32779
- error: string;
32780
- };
32781
- outputFormat: "json";
32782
- status: 409;
32783
- input: {
32784
- json: {
32785
- archiveWhenDone?: boolean | undefined;
32786
- autoMergePr?: boolean | undefined;
32787
- allowWorkers?: boolean | undefined;
32788
- allowMessaging?: boolean | undefined;
32789
- title?: string | undefined;
32790
- task?: string | undefined;
32791
- };
32792
- } & {
32793
- param: {
32794
- id: string;
32795
- };
32796
- };
32797
32797
  };
32798
32798
  };
32799
32799
  } & {
@@ -32898,7 +32898,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32898
32898
  error: string;
32899
32899
  };
32900
32900
  outputFormat: "json";
32901
- status: 404;
32901
+ status: 400;
32902
32902
  input: {
32903
32903
  json: {
32904
32904
  text?: string | undefined;
@@ -32917,7 +32917,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32917
32917
  error: string;
32918
32918
  };
32919
32919
  outputFormat: "json";
32920
- status: 409;
32920
+ status: 404;
32921
32921
  input: {
32922
32922
  json: {
32923
32923
  text?: string | undefined;
@@ -32933,10 +32933,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32933
32933
  };
32934
32934
  } | {
32935
32935
  output: {
32936
- delivered: true;
32936
+ error: string;
32937
32937
  };
32938
32938
  outputFormat: "json";
32939
- status: import("hono/utils/http-status").ContentfulStatusCode;
32939
+ status: 409;
32940
32940
  input: {
32941
32941
  json: {
32942
32942
  text?: string | undefined;
@@ -32952,10 +32952,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32952
32952
  };
32953
32953
  } | {
32954
32954
  output: {
32955
- error: string;
32955
+ delivered: true;
32956
32956
  };
32957
32957
  outputFormat: "json";
32958
- status: 400;
32958
+ status: import("hono/utils/http-status").ContentfulStatusCode;
32959
32959
  input: {
32960
32960
  json: {
32961
32961
  text?: string | undefined;
@@ -33023,7 +33023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33023
33023
  error: string;
33024
33024
  };
33025
33025
  outputFormat: "json";
33026
- status: 404;
33026
+ status: 400;
33027
33027
  input: {
33028
33028
  json: {
33029
33029
  text?: string | undefined;
@@ -33044,7 +33044,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33044
33044
  error: string;
33045
33045
  };
33046
33046
  outputFormat: "json";
33047
- status: 400;
33047
+ status: 404;
33048
33048
  input: {
33049
33049
  json: {
33050
33050
  text?: string | undefined;
@@ -33264,10 +33264,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33264
33264
  "/runs/:id/open-in-cli": {
33265
33265
  $post: {
33266
33266
  output: {
33267
- error: string;
33267
+ opened: true;
33268
+ command: string;
33268
33269
  };
33269
33270
  outputFormat: "json";
33270
- status: 404 | 409;
33271
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33271
33272
  input: {
33272
33273
  param: {
33273
33274
  id: string;
@@ -33275,11 +33276,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33275
33276
  };
33276
33277
  } | {
33277
33278
  output: {
33278
- opened: true;
33279
- command: string;
33279
+ error: string;
33280
33280
  };
33281
33281
  outputFormat: "json";
33282
- status: import("hono/utils/http-status").ContentfulStatusCode;
33282
+ status: 404 | 409;
33283
33283
  input: {
33284
33284
  param: {
33285
33285
  id: string;
@@ -33367,9 +33367,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33367
33367
  } & {
33368
33368
  "/runs/:id/images/:file": {
33369
33369
  $get: {
33370
- output: {};
33371
- outputFormat: string;
33372
- status: import("hono/utils/http-status").StatusCode;
33370
+ output: {
33371
+ error: string;
33372
+ code?: "invalid_input" | undefined;
33373
+ };
33374
+ outputFormat: "json";
33375
+ status: 400;
33373
33376
  input: {
33374
33377
  param: {
33375
33378
  id: string;
@@ -33377,12 +33380,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33377
33380
  };
33378
33381
  };
33379
33382
  } | {
33380
- output: {
33381
- error: string;
33382
- code?: "invalid_input" | undefined;
33383
- };
33384
- outputFormat: "json";
33385
- status: 400;
33383
+ output: {};
33384
+ outputFormat: string;
33385
+ status: import("hono/utils/http-status").StatusCode;
33386
33386
  input: {
33387
33387
  param: {
33388
33388
  id: string;
@@ -33418,17 +33418,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33418
33418
  } & {
33419
33419
  "/runs/:id/changes": {
33420
33420
  $get: {
33421
- output: {
33422
- error: string;
33423
- };
33424
- outputFormat: "json";
33425
- status: 404 | 409;
33426
- input: {
33427
- param: {
33428
- id: string;
33429
- };
33430
- };
33431
- } | {
33432
33421
  output: {
33433
33422
  files: {
33434
33423
  path: string;
@@ -33457,11 +33446,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33457
33446
  id: string;
33458
33447
  };
33459
33448
  };
33460
- };
33461
- };
33462
- } & {
33463
- "/runs/:id/commits": {
33464
- $get: {
33449
+ } | {
33465
33450
  output: {
33466
33451
  error: string;
33467
33452
  };
@@ -33472,7 +33457,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33472
33457
  id: string;
33473
33458
  };
33474
33459
  };
33475
- } | {
33460
+ };
33461
+ };
33462
+ } & {
33463
+ "/runs/:id/commits": {
33464
+ $get: {
33476
33465
  output: {
33477
33466
  commits: {
33478
33467
  sha: string;
@@ -33488,11 +33477,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33488
33477
  id: string;
33489
33478
  };
33490
33479
  };
33491
- };
33492
- };
33493
- } & {
33494
- "/runs/:id/commit/:sha": {
33495
- $get: {
33480
+ } | {
33496
33481
  output: {
33497
33482
  error: string;
33498
33483
  };
@@ -33501,11 +33486,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33501
33486
  input: {
33502
33487
  param: {
33503
33488
  id: string;
33504
- } & {
33505
- sha: string;
33506
33489
  };
33507
33490
  };
33508
- } | {
33491
+ };
33492
+ };
33493
+ } & {
33494
+ "/runs/:id/commit/:sha": {
33495
+ $get: {
33509
33496
  output: {
33510
33497
  sha: string;
33511
33498
  subject: string;
@@ -33531,9 +33518,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33531
33518
  status: import("hono/utils/http-status").ContentfulStatusCode;
33532
33519
  input: {
33533
33520
  param: {
33534
- id: string;
33521
+ sha: string;
33535
33522
  } & {
33523
+ id: string;
33524
+ };
33525
+ };
33526
+ } | {
33527
+ output: {
33528
+ error: string;
33529
+ };
33530
+ outputFormat: "json";
33531
+ status: 404 | 409;
33532
+ input: {
33533
+ param: {
33536
33534
  sha: string;
33535
+ } & {
33536
+ id: string;
33537
33537
  };
33538
33538
  };
33539
33539
  };
@@ -33571,22 +33571,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33571
33571
  raw?: "1" | undefined;
33572
33572
  };
33573
33573
  };
33574
- } | {
33575
- output: {
33576
- error: string;
33577
- };
33578
- outputFormat: "json";
33579
- status: 404 | 409;
33580
- input: {
33581
- param: {
33582
- id: string;
33583
- };
33584
- } & {
33585
- query: {
33586
- path: string | string[];
33587
- raw?: "1" | undefined;
33588
- };
33589
- };
33590
33574
  } | {
33591
33575
  output: {
33592
33576
  type: "file";
@@ -33623,6 +33607,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33623
33607
  raw?: "1" | undefined;
33624
33608
  };
33625
33609
  };
33610
+ } | {
33611
+ output: {
33612
+ error: string;
33613
+ };
33614
+ outputFormat: "json";
33615
+ status: 404 | 409;
33616
+ input: {
33617
+ param: {
33618
+ id: string;
33619
+ };
33620
+ } & {
33621
+ query: {
33622
+ path: string | string[];
33623
+ raw?: "1" | undefined;
33624
+ };
33625
+ };
33626
33626
  };
33627
33627
  };
33628
33628
  } & {
@@ -33687,6 +33687,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33687
33687
  artifactId: string;
33688
33688
  };
33689
33689
  };
33690
+ } | {
33691
+ output: {
33692
+ error: string;
33693
+ };
33694
+ outputFormat: "json";
33695
+ status: 404;
33696
+ input: {
33697
+ param: {
33698
+ id: string;
33699
+ artifactId: string;
33700
+ };
33701
+ };
33690
33702
  } | {
33691
33703
  output: {
33692
33704
  type: "file";
@@ -33715,18 +33727,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33715
33727
  artifactId: string;
33716
33728
  };
33717
33729
  };
33718
- } | {
33719
- output: {
33720
- error: string;
33721
- };
33722
- outputFormat: "json";
33723
- status: 404;
33724
- input: {
33725
- param: {
33726
- id: string;
33727
- artifactId: string;
33728
- };
33729
- };
33730
33730
  };
33731
33731
  };
33732
33732
  } & {
@@ -33904,10 +33904,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33904
33904
  };
33905
33905
  } | {
33906
33906
  output: {
33907
- error: string;
33907
+ type: 'dir';
33908
+ path: string;
33909
+ entries: {
33910
+ name: string;
33911
+ type: 'dir' | 'file';
33912
+ size?: number;
33913
+ }[];
33908
33914
  };
33909
33915
  outputFormat: "json";
33910
- status: 404 | 409;
33916
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33911
33917
  input: {
33912
33918
  query: {
33913
33919
  path?: string | undefined;
@@ -33920,13 +33926,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33920
33926
  };
33921
33927
  } | {
33922
33928
  output: {
33923
- type: 'dir';
33929
+ type: 'file';
33924
33930
  path: string;
33925
- entries: {
33926
- name: string;
33927
- type: 'dir' | 'file';
33928
- size?: number;
33929
- }[];
33931
+ size: number;
33932
+ binary: boolean;
33933
+ tooLarge: boolean;
33934
+ content?: string | undefined;
33930
33935
  };
33931
33936
  outputFormat: "json";
33932
33937
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33942,15 +33947,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33942
33947
  };
33943
33948
  } | {
33944
33949
  output: {
33945
- type: 'file';
33946
- path: string;
33947
- size: number;
33948
- binary: boolean;
33949
- tooLarge: boolean;
33950
- content?: string | undefined;
33950
+ error: string;
33951
33951
  };
33952
33952
  outputFormat: "json";
33953
- status: import("hono/utils/http-status").ContentfulStatusCode;
33953
+ status: 404 | 409;
33954
33954
  input: {
33955
33955
  query: {
33956
33956
  path?: string | undefined;
@@ -33967,10 +33967,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33967
33967
  "/runs/:id/git/commit": {
33968
33968
  $post: {
33969
33969
  output: {
33970
- error: string;
33970
+ committed: true;
33971
+ sha: string;
33971
33972
  };
33972
33973
  outputFormat: "json";
33973
- status: 404 | 409;
33974
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33974
33975
  input: {
33975
33976
  json: {
33976
33977
  message: string;
@@ -33982,11 +33983,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33982
33983
  };
33983
33984
  } | {
33984
33985
  output: {
33985
- committed: true;
33986
- sha: string;
33986
+ error: string;
33987
33987
  };
33988
33988
  outputFormat: "json";
33989
- status: import("hono/utils/http-status").ContentfulStatusCode;
33989
+ status: 404 | 409;
33990
33990
  input: {
33991
33991
  json: {
33992
33992
  message: string;
@@ -34002,10 +34002,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34002
34002
  "/runs/:id/git/push": {
34003
34003
  $post: {
34004
34004
  output: {
34005
- error: string;
34005
+ pushed: true;
34006
+ branch: string;
34007
+ remote: string;
34008
+ upstreamSet: boolean;
34006
34009
  };
34007
34010
  outputFormat: "json";
34008
- status: 404 | 409;
34011
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34009
34012
  input: {
34010
34013
  param: {
34011
34014
  id: string;
@@ -34013,13 +34016,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34013
34016
  };
34014
34017
  } | {
34015
34018
  output: {
34016
- pushed: true;
34017
- branch: string;
34018
- remote: string;
34019
- upstreamSet: boolean;
34019
+ error: string;
34020
34020
  };
34021
34021
  outputFormat: "json";
34022
- status: import("hono/utils/http-status").ContentfulStatusCode;
34022
+ status: 404 | 409;
34023
34023
  input: {
34024
34024
  param: {
34025
34025
  id: string;
@@ -34031,10 +34031,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34031
34031
  "/runs/:id/pr": {
34032
34032
  $post: {
34033
34033
  output: {
34034
- error: string;
34034
+ url: string;
34035
+ dryRun: boolean;
34035
34036
  };
34036
34037
  outputFormat: "json";
34037
- status: 404 | 409;
34038
+ status: 201;
34038
34039
  input: {
34039
34040
  param: {
34040
34041
  id: string;
@@ -34042,11 +34043,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34042
34043
  };
34043
34044
  } | {
34044
34045
  output: {
34045
- url: string;
34046
- dryRun: boolean;
34046
+ error: string;
34047
34047
  };
34048
34048
  outputFormat: "json";
34049
- status: 201;
34049
+ status: 404 | 409;
34050
34050
  input: {
34051
34051
  param: {
34052
34052
  id: string;
@@ -34058,10 +34058,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34058
34058
  "/runs/:id/remove-worktree": {
34059
34059
  $post: {
34060
34060
  output: {
34061
- error: string;
34061
+ removed: true;
34062
34062
  };
34063
34063
  outputFormat: "json";
34064
- status: 404 | 409;
34064
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34065
34065
  input: {
34066
34066
  param: {
34067
34067
  id: string;
@@ -34069,10 +34069,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34069
34069
  };
34070
34070
  } | {
34071
34071
  output: {
34072
- removed: true;
34072
+ error: string;
34073
34073
  };
34074
34074
  outputFormat: "json";
34075
- status: import("hono/utils/http-status").ContentfulStatusCode;
34075
+ status: 404 | 409;
34076
34076
  input: {
34077
34077
  param: {
34078
34078
  id: string;
@@ -34084,10 +34084,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34084
34084
  "/runs/:id": {
34085
34085
  $delete: {
34086
34086
  output: {
34087
- error: string;
34087
+ deleted: true;
34088
34088
  };
34089
34089
  outputFormat: "json";
34090
- status: 404 | 409;
34090
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34091
34091
  input: {
34092
34092
  param: {
34093
34093
  id: string;
@@ -34095,10 +34095,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34095
34095
  };
34096
34096
  } | {
34097
34097
  output: {
34098
- deleted: true;
34098
+ error: string;
34099
34099
  };
34100
34100
  outputFormat: "json";
34101
- status: import("hono/utils/http-status").ContentfulStatusCode;
34101
+ status: 404 | 409;
34102
34102
  input: {
34103
34103
  param: {
34104
34104
  id: string;