@hearsay-tools/squawk 0.19.0-pr4656.9257 → 0.19.0-pr4669.9271

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 (107) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/delegation/transport.d.ts +78 -78
  3. package/dist/features/automations/automations-routes.d.ts +150 -150
  4. package/dist/features/reports/routes.d.ts +2 -2
  5. package/dist/server/activity-routes.d.ts +23 -23
  6. package/dist/server/project-settings-routes.d.ts +107 -107
  7. package/dist/server/projects-routes.d.ts +41 -41
  8. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  9. package/dist/server/runner-install-routes.d.ts +10 -10
  10. package/dist/server/runs-routes.d.ts +310 -310
  11. package/dist/server/server.d.ts +1203 -1203
  12. package/dist/server/workspace-identity-routes.d.ts +5 -5
  13. package/package.json +4 -4
  14. package/web/dist/assets/accounts-section-uuhrLHok.js +1 -0
  15. package/web/dist/assets/activity-motion-CHyZRjxl.js +1 -0
  16. package/web/dist/assets/{activity-route-BkQ6EXbr.js → activity-route-CruXBXE5.js} +1 -1
  17. package/web/dist/assets/agent-accounts-CSU96w_T.js +1 -0
  18. package/web/dist/assets/{agent-config-section-DFE3B0Uj.js → agent-config-section-BUxTgHrB.js} +2 -2
  19. package/web/dist/assets/{agent-defaults-section-Io1khRQD.js → agent-defaults-section-BXUzcpEv.js} +1 -1
  20. package/web/dist/assets/{appearance-DdQYihuH.js → appearance-DnPsNI40.js} +1 -1
  21. package/web/dist/assets/{archive-on-merge-field-Dw7qLFF3.js → archive-on-merge-field-DR-KA2nj.js} +1 -1
  22. package/web/dist/assets/{ask-card-COjaImVE.js → ask-card-DqWVy7zb.js} +2 -2
  23. package/web/dist/assets/automations-route-BmCWqncy.js +2 -0
  24. package/web/dist/assets/{commit-list-CXf_wGM5.js → commit-list-zMKEapLK.js} +1 -1
  25. package/web/dist/assets/{diff-CgtUq6M8.js → diff-BPw0S-BU.js} +2 -2
  26. package/web/dist/assets/{diff-controls-DoL55hyn.js → diff-controls-DbkfJxfp.js} +1 -1
  27. package/web/dist/assets/{diff-view-Dya_JBro.js → diff-view-Cl7rXVa_.js} +1 -1
  28. package/web/dist/assets/{discard-changes-dialog-TZElcNie.js → discard-changes-dialog-BYLEBMpG.js} +1 -1
  29. package/web/dist/assets/{file-preview-C_4_qZBH.js → file-preview-CBjQS3sX.js} +1 -1
  30. package/web/dist/assets/{folder-browser-p1qA81Do.js → folder-browser-_2PCbZWK.js} +1 -1
  31. package/web/dist/assets/{git-toolbar-CIgbt3UD.js → git-toolbar-CAAZ5T8F.js} +1 -1
  32. package/web/dist/assets/github-DehUrgzW.js +1 -0
  33. package/web/dist/assets/{global-activity-route-CpVoplqQ.js → global-activity-route-BQz9m_XA.js} +1 -1
  34. package/web/dist/assets/hosts-BEeMKHcf.js +1 -0
  35. package/web/dist/assets/index-D0RESQCN.js +21 -0
  36. package/web/dist/assets/label-VKt-7Z5C.js +1 -0
  37. package/web/dist/assets/{markdown-CmlC8aHw.js → markdown-CcQNTOHx.js} +1 -1
  38. package/web/dist/assets/{open-in-menu-GSvSbohX.js → open-in-menu-WJ8dhdTo.js} +1 -1
  39. package/web/dist/assets/{option-select-BzfLBKer.js → option-select-DGRezng8.js} +1 -1
  40. package/web/dist/assets/preferences-section-DfiqoVZx.js +1 -0
  41. package/web/dist/assets/{preview-B13nIXDV.js → preview-DXX3jdRy.js} +1 -1
  42. package/web/dist/assets/{preview-pane-connected-DXnpvC9A.js → preview-pane-connected-Bf6SWOsM.js} +2 -2
  43. package/web/dist/assets/{project-location-DiB7PhFc.js → project-location-8EYHMbCE.js} +1 -1
  44. package/web/dist/assets/{project-router-Bl7pejIP.js → project-router-TP6DSj1S.js} +1 -1
  45. package/web/dist/assets/project-scope-context-BWHk0niI.js +4 -0
  46. package/web/dist/assets/{projects-section-B_fKMZO2.js → projects-section-CaKm84OL.js} +1 -1
  47. package/web/dist/assets/{prompt-templates-section-DPztZJcf.js → prompt-templates-section-Bh6YEqh0.js} +2 -2
  48. package/web/dist/assets/queries-Byfl3YoC.js +1 -0
  49. package/web/dist/assets/{reference-chip-jxISA5ls.js → reference-chip-rDOAte2y.js} +1 -1
  50. package/web/dist/assets/{remote-settings-notice-D75bhZ6B.js → remote-settings-notice-cNffux8C.js} +1 -1
  51. package/web/dist/assets/repo-git-nFi9DHBQ.js +1 -0
  52. package/web/dist/assets/{report-reader-CWF1W0v_.js → report-reader-BbA7ERJe.js} +1 -1
  53. package/web/dist/assets/{report-selection-DBxcKtc9.js → report-selection-DOq2dcjz.js} +1 -1
  54. package/web/dist/assets/{reports-DbqXO5Pb.js → reports-iMUK2IiW.js} +1 -1
  55. package/web/dist/assets/{resources-section-BX-ll3Jf.js → resources-section-BsPU-yD9.js} +1 -1
  56. package/web/dist/assets/{review-notes-drafts-BilMwJdG.js → review-notes-drafts-BncrXliY.js} +1 -1
  57. package/web/dist/assets/review-panel-CTc1ypIJ.js +1 -0
  58. package/web/dist/assets/{review-strip-DjckasP9.js → review-strip-D1gmgNIH.js} +1 -1
  59. package/web/dist/assets/{run-detail-refresh-e7rB9lt5.js → run-detail-refresh-B4t_zvMa.js} +1 -1
  60. package/web/dist/assets/run-diff-CbyXSgBK.js +2 -0
  61. package/web/dist/assets/run-header-BREol2Ej.js +2 -0
  62. package/web/dist/assets/{select-CtSljE8G.js → select--NKdUD0C.js} +1 -1
  63. package/web/dist/assets/{session-context-section-Cb1FlF8c.js → session-context-section-D02yRmGY.js} +1 -1
  64. package/web/dist/assets/{settings-agent-picker-B1d-8GZc.js → settings-agent-picker-GPhOc6Lz.js} +1 -1
  65. package/web/dist/assets/{settings-save-bar-4xCB9mzb.js → settings-save-bar-CroXxZIi.js} +1 -1
  66. package/web/dist/assets/{settings-shell-QCBRhKyd.js → settings-shell-CEDsPkJW.js} +1 -1
  67. package/web/dist/assets/{sidebar-section-CDbE7lmi.js → sidebar-section-BOtjR98E.js} +1 -1
  68. package/web/dist/assets/{skills-N0LlcB1g.js → skills-C7MuiePR.js} +1 -1
  69. package/web/dist/assets/{status-dot-BlqTixB7.js → status-dot-Bn3O77El.js} +1 -1
  70. package/web/dist/assets/{tab-link-tv_Wy5eF.js → tab-link-BeONvGY1.js} +1 -1
  71. package/web/dist/assets/task-changes-CPDdG-BK.js +5 -0
  72. package/web/dist/assets/{task-commits-B--DYcIx.js → task-commits-BFWXi7xF.js} +1 -1
  73. package/web/dist/assets/{task-file-scope-Ci701jtx.js → task-file-scope-BfJ7TDbf.js} +1 -1
  74. package/web/dist/assets/{task-files-Dm5SQMex.js → task-files-CNz4PSKs.js} +1 -1
  75. package/web/dist/assets/task-github-item-B0mRxbLm.js +1 -0
  76. package/web/dist/assets/task-thread-DH9xiw7O.js +2 -0
  77. package/web/dist/assets/{thread-state-BwY3kgUN.js → thread-state-B_uTIWzc.js} +1 -1
  78. package/web/dist/assets/unified-diff-JD9Q6oCe.js +3 -0
  79. package/web/dist/assets/use-finish-run-D7Ll1bwP.js +1 -0
  80. package/web/dist/assets/{use-hand-to-agent-state-Dj6d6M-l.js → use-hand-to-agent-state-zwUimLza.js} +1 -1
  81. package/web/dist/assets/use-path-bases-BmFE7O79.js +1 -0
  82. package/web/dist/assets/use-workspace-config-save-71tIi9IP.js +1 -0
  83. package/web/dist/assets/{workflows-BH1cVxg8.js → workflows-BXDmsEl-.js} +2 -2
  84. package/web/dist/assets/{workspace-tools-CuVQNsGt.js → workspace-tools-Ehk2KrtT.js} +1 -1
  85. package/web/dist/assets/{worktrees-section-B2Xj5JVC.js → worktrees-section-DWZwtc3-.js} +5 -5
  86. package/web/dist/index.html +14 -14
  87. package/web/dist/assets/accounts-section-o9T66nOF.js +0 -1
  88. package/web/dist/assets/activity-motion-fpQ4UQHr.js +0 -1
  89. package/web/dist/assets/agent-accounts-DjIbGucr.js +0 -1
  90. package/web/dist/assets/automations-route-BUJ9FERF.js +0 -2
  91. package/web/dist/assets/github-BAVcffQT.js +0 -1
  92. package/web/dist/assets/hosts-dk-7MbxQ.js +0 -1
  93. package/web/dist/assets/index-BCk3A4NB.js +0 -21
  94. package/web/dist/assets/label-B4KzRUWE.js +0 -1
  95. package/web/dist/assets/preferences-section-GKA7OADr.js +0 -1
  96. package/web/dist/assets/project-scope-context-BT4qzyOz.js +0 -4
  97. package/web/dist/assets/queries-CzUiyqt4.js +0 -1
  98. package/web/dist/assets/repo-git-Cs8y0Cz9.js +0 -1
  99. package/web/dist/assets/review-panel-eK1-Dzq7.js +0 -1
  100. package/web/dist/assets/run-diff-QWOM0ICK.js +0 -3
  101. package/web/dist/assets/run-header-gd19R2DU.js +0 -2
  102. package/web/dist/assets/task-changes-BMHmGUyt.js +0 -5
  103. package/web/dist/assets/task-github-item-CTGwvtXd.js +0 -1
  104. package/web/dist/assets/task-thread-B8OaCanC.js +0 -2
  105. package/web/dist/assets/use-finish-run-DzRCyhTh.js +0 -1
  106. package/web/dist/assets/use-path-bases-8j4tHf-7.js +0 -1
  107. package/web/dist/assets/use-workspace-config-save-Dz8Cl7MP.js +0 -1
@@ -234,10 +234,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
234
234
  };
235
235
  } | {
236
236
  output: {
237
- error: string;
237
+ path: string;
238
+ parent: string | null;
239
+ dirs: {
240
+ name: string;
241
+ path: string;
242
+ isRepo: boolean;
243
+ }[];
244
+ truncated: boolean;
238
245
  };
239
246
  outputFormat: "json";
240
- status: 400 | 403 | 404;
247
+ status: import("hono/utils/http-status").ContentfulStatusCode;
241
248
  input: {
242
249
  query: {
243
250
  path?: string | undefined;
@@ -246,17 +253,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
246
253
  };
247
254
  } | {
248
255
  output: {
249
- path: string;
250
- parent: string | null;
251
- dirs: {
252
- name: string;
253
- path: string;
254
- isRepo: boolean;
255
- }[];
256
- truncated: boolean;
256
+ error: string;
257
257
  };
258
258
  outputFormat: "json";
259
- status: import("hono/utils/http-status").ContentfulStatusCode;
259
+ status: 400 | 403 | 404;
260
260
  input: {
261
261
  query: {
262
262
  path?: string | undefined;
@@ -268,6 +268,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
268
268
  }, "/"> | import("hono/types").MergeSchemaPath<{
269
269
  "/workspace/events": {
270
270
  $get: {
271
+ output: {
272
+ error: string;
273
+ code?: "invalid_input" | undefined;
274
+ };
275
+ outputFormat: "json";
276
+ status: 400;
277
+ input: {
278
+ query: {
279
+ runs?: "summary" | undefined;
280
+ };
281
+ };
282
+ } | {
271
283
  output: {};
272
284
  outputFormat: string;
273
285
  status: import("hono/utils/http-status").StatusCode;
@@ -276,7 +288,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
276
288
  runs?: "summary" | undefined;
277
289
  };
278
290
  };
279
- } | {
291
+ };
292
+ };
293
+ }, "/"> | import("hono/types").MergeSchemaPath<{
294
+ "/models": {
295
+ $get: {
280
296
  output: {
281
297
  error: string;
282
298
  code?: "invalid_input" | undefined;
@@ -285,17 +301,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
285
301
  status: 400;
286
302
  input: {
287
303
  query: {
288
- runs?: "summary" | undefined;
304
+ runner: string | string[];
305
+ profileId?: string | undefined;
289
306
  };
290
307
  };
291
- };
292
- };
293
- }, "/"> | import("hono/types").MergeSchemaPath<{
294
- "/models": {
295
- $get: {
308
+ } | {
296
309
  output: {
297
310
  error: string;
298
- code?: "invalid_input" | undefined;
299
311
  };
300
312
  outputFormat: "json";
301
313
  status: 400;
@@ -326,46 +338,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
326
338
  profileId?: string | undefined;
327
339
  };
328
340
  };
329
- } | {
330
- output: {
331
- error: string;
332
- };
333
- outputFormat: "json";
334
- status: 400;
335
- input: {
336
- query: {
337
- runner: string | string[];
338
- profileId?: string | undefined;
339
- };
340
- };
341
341
  };
342
342
  };
343
343
  }, "/"> | import("hono/types").MergeSchemaPath<{
344
344
  "/workspace/activity": {
345
345
  $get: {
346
- output: {
347
- error: string;
348
- code?: "invalid_input" | undefined;
349
- };
350
- outputFormat: "json";
351
- status: 400;
352
- input: {
353
- query: {
354
- project?: string | undefined;
355
- };
356
- };
357
- } | {
358
- output: {
359
- error: string;
360
- };
361
- outputFormat: "json";
362
- status: 404 | 409 | 503;
363
- input: {
364
- query: {
365
- project?: string | undefined;
366
- };
367
- };
368
- } | {
369
346
  output: {
370
347
  generatedAt: string;
371
348
  projects: {
@@ -616,6 +593,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
616
593
  project?: string | undefined;
617
594
  };
618
595
  };
596
+ } | {
597
+ output: {
598
+ error: string;
599
+ code?: "invalid_input" | undefined;
600
+ };
601
+ outputFormat: "json";
602
+ status: 400;
603
+ input: {
604
+ query: {
605
+ project?: string | undefined;
606
+ };
607
+ };
608
+ } | {
609
+ output: {
610
+ error: string;
611
+ };
612
+ outputFormat: "json";
613
+ status: 404 | 409 | 503;
614
+ input: {
615
+ query: {
616
+ project?: string | undefined;
617
+ };
618
+ };
619
619
  };
620
620
  };
621
621
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -940,7 +940,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
940
940
  error: string;
941
941
  };
942
942
  outputFormat: "json";
943
- status: 409;
943
+ status: 400;
944
944
  input: {
945
945
  json: {
946
946
  provider: string;
@@ -952,7 +952,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
952
952
  error: string;
953
953
  };
954
954
  outputFormat: "json";
955
- status: 400;
955
+ status: 409;
956
956
  input: {
957
957
  json: {
958
958
  provider: string;
@@ -1205,18 +1205,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1205
1205
  };
1206
1206
  } | {
1207
1207
  output: {
1208
- providers: {
1209
- requiresAccountHome?: boolean | undefined;
1210
- provider: string;
1211
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1212
- enabled?: boolean | undefined;
1213
- hint?: string | undefined;
1214
- authFailureId?: string | undefined;
1215
- profileId?: string | undefined;
1216
- }[];
1208
+ error: string;
1217
1209
  };
1218
1210
  outputFormat: "json";
1219
- status: import("hono/utils/http-status").ContentfulStatusCode;
1211
+ status: 500;
1220
1212
  input: {
1221
1213
  param: {
1222
1214
  provider: string;
@@ -1228,10 +1220,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1228
1220
  };
1229
1221
  } | {
1230
1222
  output: {
1231
- error: string;
1223
+ providers: {
1224
+ requiresAccountHome?: boolean | undefined;
1225
+ provider: string;
1226
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1227
+ enabled?: boolean | undefined;
1228
+ hint?: string | undefined;
1229
+ authFailureId?: string | undefined;
1230
+ profileId?: string | undefined;
1231
+ }[];
1232
1232
  };
1233
1233
  outputFormat: "json";
1234
- status: 500;
1234
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1235
1235
  input: {
1236
1236
  param: {
1237
1237
  provider: string;
@@ -1263,18 +1263,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1263
1263
  };
1264
1264
  } | {
1265
1265
  output: {
1266
- providers: {
1267
- requiresAccountHome?: boolean | undefined;
1268
- provider: string;
1269
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1270
- enabled?: boolean | undefined;
1271
- hint?: string | undefined;
1272
- authFailureId?: string | undefined;
1273
- profileId?: string | undefined;
1274
- }[];
1266
+ error: string;
1275
1267
  };
1276
1268
  outputFormat: "json";
1277
- status: import("hono/utils/http-status").ContentfulStatusCode;
1269
+ status: 409;
1278
1270
  input: {
1279
1271
  param: {
1280
1272
  provider: string;
@@ -1286,10 +1278,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1286
1278
  };
1287
1279
  } | {
1288
1280
  output: {
1289
- error: string;
1281
+ providers: {
1282
+ requiresAccountHome?: boolean | undefined;
1283
+ provider: string;
1284
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1285
+ enabled?: boolean | undefined;
1286
+ hint?: string | undefined;
1287
+ authFailureId?: string | undefined;
1288
+ profileId?: string | undefined;
1289
+ }[];
1290
1290
  };
1291
1291
  outputFormat: "json";
1292
- status: 409;
1292
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1293
1293
  input: {
1294
1294
  param: {
1295
1295
  provider: string;
@@ -1308,7 +1308,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1308
1308
  error: string;
1309
1309
  };
1310
1310
  outputFormat: "json";
1311
- status: 409;
1311
+ status: 400;
1312
1312
  input: {
1313
1313
  json: {
1314
1314
  provider: string;
@@ -1320,7 +1320,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1320
1320
  error: string;
1321
1321
  };
1322
1322
  outputFormat: "json";
1323
- status: 400;
1323
+ status: 409;
1324
1324
  input: {
1325
1325
  json: {
1326
1326
  provider: string;
@@ -1408,35 +1408,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1408
1408
  "/workspace/config": {
1409
1409
  $put: {
1410
1410
  output: {
1411
- homeDir: string;
1412
- browseRoot: string;
1413
- projectsDir: string;
1414
- archiveOnMerge: boolean | null;
1415
- effectiveArchiveOnMerge: boolean;
1416
- archiveOnMergeSource: "default" | "environment" | "global";
1417
- composerDefaults: {
1418
- autonomous: boolean | null;
1419
- worktree: boolean | null;
1420
- inheritedAutonomous: "source-dependent" | boolean;
1421
- inheritedWorktree: boolean;
1422
- };
1423
- resources: {
1424
- maxParallel: number;
1425
- maxMonitoringSessions: number;
1426
- monitoringWakeIntervalMinutes: number | null;
1427
- autoResumeOnUsageLimit: boolean;
1428
- memoryLimitMb: number | null;
1429
- worktreeRetentionDefault: number;
1430
- };
1431
- agentDefaults: {
1432
- runner?: string | undefined;
1433
- models?: {
1434
- [x: string]: string | undefined;
1435
- } | undefined;
1436
- };
1411
+ error: string;
1437
1412
  };
1438
1413
  outputFormat: "json";
1439
- status: import("hono/utils/http-status").ContentfulStatusCode;
1414
+ status: 400;
1440
1415
  input: {
1441
1416
  json: {
1442
1417
  browseRoot?: string | undefined;
@@ -1465,7 +1440,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1465
1440
  error: string;
1466
1441
  };
1467
1442
  outputFormat: "json";
1468
- status: 400;
1443
+ status: 500;
1469
1444
  input: {
1470
1445
  json: {
1471
1446
  browseRoot?: string | undefined;
@@ -1491,10 +1466,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1491
1466
  };
1492
1467
  } | {
1493
1468
  output: {
1494
- error: string;
1469
+ homeDir: string;
1470
+ browseRoot: string;
1471
+ projectsDir: string;
1472
+ archiveOnMerge: boolean | null;
1473
+ effectiveArchiveOnMerge: boolean;
1474
+ archiveOnMergeSource: "default" | "environment" | "global";
1475
+ composerDefaults: {
1476
+ autonomous: boolean | null;
1477
+ worktree: boolean | null;
1478
+ inheritedAutonomous: "source-dependent" | boolean;
1479
+ inheritedWorktree: boolean;
1480
+ };
1481
+ resources: {
1482
+ maxParallel: number;
1483
+ maxMonitoringSessions: number;
1484
+ monitoringWakeIntervalMinutes: number | null;
1485
+ autoResumeOnUsageLimit: boolean;
1486
+ memoryLimitMb: number | null;
1487
+ worktreeRetentionDefault: number;
1488
+ };
1489
+ agentDefaults: {
1490
+ runner?: string | undefined;
1491
+ models?: {
1492
+ [x: string]: string | undefined;
1493
+ } | undefined;
1494
+ };
1495
1495
  };
1496
1496
  outputFormat: "json";
1497
- status: 500;
1497
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1498
1498
  input: {
1499
1499
  json: {
1500
1500
  browseRoot?: string | undefined;
@@ -1566,41 +1566,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1566
1566
  "/workspace/ui-state": {
1567
1567
  $put: {
1568
1568
  output: {
1569
- [x: string]: import("hono/utils/types").JSONValue;
1570
- sidebar?: {
1571
- [x: string]: import("hono/utils/types").JSONValue;
1572
- collapsed?: {
1573
- [x: string]: boolean;
1574
- } | undefined;
1575
- projectOrder?: string[] | undefined;
1576
- } | undefined;
1577
- dismissedProviderAuthFailures?: {
1578
- [x: string]: string | undefined;
1579
- } | undefined;
1580
- appearance?: {
1581
- accent?: "cezarion" | "lime" | "violet" | undefined;
1582
- density?: "comfortable" | "compact" | "ultra" | undefined;
1583
- width?: "narrow" | "wide" | undefined;
1584
- } | undefined;
1585
- notifications?: {
1586
- [x: string]: import("hono/utils/types").JSONValue;
1587
- enabled?: boolean | undefined;
1588
- } | undefined;
1589
- taskTable?: {
1590
- [x: string]: import("hono/utils/types").JSONValue;
1591
- expandedColumns?: {
1592
- [x: string]: boolean;
1593
- } | undefined;
1594
- } | undefined;
1595
- lastLocation?: {
1596
- projectId: string;
1597
- pathname: string;
1598
- search?: string | undefined;
1599
- hash?: string | undefined;
1600
- } | undefined;
1569
+ error: string;
1601
1570
  };
1602
1571
  outputFormat: "json";
1603
- status: import("hono/utils/http-status").ContentfulStatusCode;
1572
+ status: 500;
1604
1573
  input: {
1605
1574
  json: {
1606
1575
  [x: string]: unknown;
@@ -1633,10 +1602,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1633
1602
  };
1634
1603
  } | {
1635
1604
  output: {
1636
- error: string;
1605
+ [x: string]: import("hono/utils/types").JSONValue;
1606
+ sidebar?: {
1607
+ [x: string]: import("hono/utils/types").JSONValue;
1608
+ collapsed?: {
1609
+ [x: string]: boolean;
1610
+ } | undefined;
1611
+ projectOrder?: string[] | undefined;
1612
+ } | undefined;
1613
+ dismissedProviderAuthFailures?: {
1614
+ [x: string]: string | undefined;
1615
+ } | undefined;
1616
+ appearance?: {
1617
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1618
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1619
+ width?: "narrow" | "wide" | undefined;
1620
+ } | undefined;
1621
+ notifications?: {
1622
+ [x: string]: import("hono/utils/types").JSONValue;
1623
+ enabled?: boolean | undefined;
1624
+ } | undefined;
1625
+ taskTable?: {
1626
+ [x: string]: import("hono/utils/types").JSONValue;
1627
+ expandedColumns?: {
1628
+ [x: string]: boolean;
1629
+ } | undefined;
1630
+ } | undefined;
1631
+ lastLocation?: {
1632
+ projectId: string;
1633
+ pathname: string;
1634
+ search?: string | undefined;
1635
+ hash?: string | undefined;
1636
+ } | undefined;
1637
1637
  };
1638
1638
  outputFormat: "json";
1639
- status: 500;
1639
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1640
1640
  input: {
1641
1641
  json: {
1642
1642
  [x: string]: unknown;
@@ -1714,10 +1714,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1714
1714
  "/workspace/agent-profiles": {
1715
1715
  $post: {
1716
1716
  output: {
1717
- error: string;
1717
+ profile: {
1718
+ id: string;
1719
+ provider: string;
1720
+ label: string;
1721
+ configDir?: string | undefined;
1722
+ path?: string | undefined;
1723
+ exists: boolean;
1724
+ looksValid: boolean;
1725
+ isDefault: boolean;
1726
+ status?: {
1727
+ requiresAccountHome?: boolean | undefined;
1728
+ provider: string;
1729
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1730
+ enabled?: boolean | undefined;
1731
+ hint?: string | undefined;
1732
+ authFailureId?: string | undefined;
1733
+ profileId?: string | undefined;
1734
+ } | undefined;
1735
+ };
1718
1736
  };
1719
1737
  outputFormat: "json";
1720
- status: 409;
1738
+ status: 201;
1721
1739
  input: {
1722
1740
  json: {
1723
1741
  provider: string;
@@ -1743,7 +1761,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1743
1761
  error: string;
1744
1762
  };
1745
1763
  outputFormat: "json";
1746
- status: 500;
1764
+ status: 409;
1747
1765
  input: {
1748
1766
  json: {
1749
1767
  provider: string;
@@ -1753,28 +1771,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1753
1771
  };
1754
1772
  } | {
1755
1773
  output: {
1756
- profile: {
1757
- id: string;
1758
- provider: string;
1759
- label: string;
1760
- configDir?: string | undefined;
1761
- path?: string | undefined;
1762
- exists: boolean;
1763
- looksValid: boolean;
1764
- isDefault: boolean;
1765
- status?: {
1766
- requiresAccountHome?: boolean | undefined;
1767
- provider: string;
1768
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1769
- enabled?: boolean | undefined;
1770
- hint?: string | undefined;
1771
- authFailureId?: string | undefined;
1772
- profileId?: string | undefined;
1773
- } | undefined;
1774
- };
1774
+ error: string;
1775
1775
  };
1776
1776
  outputFormat: "json";
1777
- status: 201;
1777
+ status: 500;
1778
1778
  input: {
1779
1779
  json: {
1780
1780
  provider: string;
@@ -1808,7 +1808,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1808
1808
  error: string;
1809
1809
  };
1810
1810
  outputFormat: "json";
1811
- status: 409;
1811
+ status: 400;
1812
1812
  input: {
1813
1813
  param: {
1814
1814
  id: string;
@@ -1824,7 +1824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1824
1824
  error: string;
1825
1825
  };
1826
1826
  outputFormat: "json";
1827
- status: 400;
1827
+ status: 404;
1828
1828
  input: {
1829
1829
  param: {
1830
1830
  id: string;
@@ -1840,7 +1840,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1840
1840
  error: string;
1841
1841
  };
1842
1842
  outputFormat: "json";
1843
- status: 404;
1843
+ status: 409;
1844
1844
  input: {
1845
1845
  param: {
1846
1846
  id: string;
@@ -1966,10 +1966,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1966
1966
  $put: {
1967
1967
  output: {
1968
1968
  error: string;
1969
- code: "no-boot-project";
1970
1969
  };
1971
1970
  outputFormat: "json";
1972
- status: 409;
1971
+ status: 400;
1973
1972
  input: {
1974
1973
  json: {
1975
1974
  projectId: string;
@@ -1993,9 +1992,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1993
1992
  } | {
1994
1993
  output: {
1995
1994
  error: string;
1995
+ code: "no-boot-project";
1996
1996
  };
1997
1997
  outputFormat: "json";
1998
- status: 400;
1998
+ status: 409;
1999
1999
  input: {
2000
2000
  json: {
2001
2001
  projectId: string;
@@ -2059,7 +2059,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2059
2059
  error: string;
2060
2060
  };
2061
2061
  outputFormat: "json";
2062
- status: 409;
2062
+ status: 404;
2063
2063
  input: {
2064
2064
  param: {
2065
2065
  id: string;
@@ -2070,7 +2070,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2070
2070
  error: string;
2071
2071
  };
2072
2072
  outputFormat: "json";
2073
- status: 500;
2073
+ status: 409;
2074
2074
  input: {
2075
2075
  param: {
2076
2076
  id: string;
@@ -2081,7 +2081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2081
2081
  error: string;
2082
2082
  };
2083
2083
  outputFormat: "json";
2084
- status: 404;
2084
+ status: 500;
2085
2085
  input: {
2086
2086
  param: {
2087
2087
  id: string;
@@ -2146,17 +2146,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2146
2146
  } & {
2147
2147
  "/projects": {
2148
2148
  $post: {
2149
- output: {
2150
- error: string;
2151
- };
2152
- outputFormat: "json";
2153
- status: 400 | 500;
2154
- input: {
2155
- json: {
2156
- root: string;
2157
- };
2158
- };
2159
- } | {
2160
2149
  output: {
2161
2150
  project: {
2162
2151
  id: string;
@@ -2188,10 +2177,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2188
2177
  agent: boolean;
2189
2178
  }[] | undefined;
2190
2179
  };
2191
- error: string;
2180
+ error?: string | undefined;
2192
2181
  };
2193
2182
  outputFormat: "json";
2194
- status: 409;
2183
+ status: 200;
2195
2184
  input: {
2196
2185
  json: {
2197
2186
  root: string;
@@ -2229,32 +2218,31 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2229
2218
  agent: boolean;
2230
2219
  }[] | undefined;
2231
2220
  };
2232
- error?: string | undefined;
2221
+ error: string;
2233
2222
  };
2234
2223
  outputFormat: "json";
2235
- status: 200;
2224
+ status: 409;
2236
2225
  input: {
2237
2226
  json: {
2238
2227
  root: string;
2239
2228
  };
2240
2229
  };
2241
- };
2242
- };
2243
- } & {
2244
- "/projects/:projectId": {
2245
- $delete: {
2230
+ } | {
2246
2231
  output: {
2247
2232
  error: string;
2248
- code?: "no-boot-project" | undefined;
2249
2233
  };
2250
2234
  outputFormat: "json";
2251
- status: 404 | 409;
2235
+ status: 400 | 500;
2252
2236
  input: {
2253
- param: {
2254
- projectId: string;
2237
+ json: {
2238
+ root: string;
2255
2239
  };
2256
2240
  };
2257
- } | {
2241
+ };
2242
+ };
2243
+ } & {
2244
+ "/projects/:projectId": {
2245
+ $delete: {
2258
2246
  output: {
2259
2247
  error: string;
2260
2248
  };
@@ -2299,11 +2287,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2299
2287
  projectId: string;
2300
2288
  };
2301
2289
  };
2302
- };
2303
- };
2304
- } & {
2305
- "/projects/:projectId": {
2306
- $patch: {
2290
+ } | {
2307
2291
  output: {
2308
2292
  error: string;
2309
2293
  code?: "no-boot-project" | undefined;
@@ -2311,21 +2295,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2311
2295
  outputFormat: "json";
2312
2296
  status: 404 | 409;
2313
2297
  input: {
2314
- json: {
2315
- maxParallel?: number | null | undefined;
2316
- tags?: string[] | null | undefined;
2317
- webhook?: {
2318
- url: string;
2319
- token?: string | undefined;
2320
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2321
- } | null | undefined;
2322
- };
2323
- } & {
2324
2298
  param: {
2325
2299
  projectId: string;
2326
2300
  };
2327
2301
  };
2328
- } | {
2302
+ };
2303
+ };
2304
+ } & {
2305
+ "/projects/:projectId": {
2306
+ $patch: {
2329
2307
  output: {
2330
2308
  error: string;
2331
2309
  };
@@ -2417,6 +2395,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2417
2395
  projectId: string;
2418
2396
  };
2419
2397
  };
2398
+ } | {
2399
+ output: {
2400
+ error: string;
2401
+ code?: "no-boot-project" | undefined;
2402
+ };
2403
+ outputFormat: "json";
2404
+ status: 404 | 409;
2405
+ input: {
2406
+ json: {
2407
+ maxParallel?: number | null | undefined;
2408
+ tags?: string[] | null | undefined;
2409
+ webhook?: {
2410
+ url: string;
2411
+ token?: string | undefined;
2412
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2413
+ } | null | undefined;
2414
+ };
2415
+ } & {
2416
+ param: {
2417
+ projectId: string;
2418
+ };
2419
+ };
2420
2420
  };
2421
2421
  };
2422
2422
  } & {
@@ -2653,11 +2653,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2653
2653
  "/runner-install/:runner": {
2654
2654
  $post: {
2655
2655
  output: {
2656
- error: string;
2657
- code?: "invalid_input" | undefined;
2656
+ supported: boolean;
2657
+ installedVersion: string | null;
2658
+ latestVersion: string | null;
2659
+ updateAvailable: boolean;
2660
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2661
+ error: string | null;
2658
2662
  };
2659
2663
  outputFormat: "json";
2660
- status: 400;
2664
+ status: 202;
2661
2665
  input: {
2662
2666
  param: {
2663
2667
  runner: string;
@@ -2669,15 +2673,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2669
2673
  };
2670
2674
  } | {
2671
2675
  output: {
2672
- supported: boolean;
2673
- installedVersion: string | null;
2674
- latestVersion: string | null;
2675
- updateAvailable: boolean;
2676
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2677
- error: string | null;
2676
+ error: string;
2677
+ code?: "invalid_input" | undefined;
2678
2678
  };
2679
2679
  outputFormat: "json";
2680
- status: 202;
2680
+ status: 400;
2681
2681
  input: {
2682
2682
  param: {
2683
2683
  runner: string;
@@ -2752,18 +2752,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2752
2752
  "/workspace/identity": {
2753
2753
  $get: {
2754
2754
  output: {
2755
- error: string;
2755
+ installId: string;
2756
+ version: string;
2756
2757
  };
2757
2758
  outputFormat: "json";
2758
- status: 503;
2759
+ status: 200;
2759
2760
  input: {};
2760
2761
  } | {
2761
2762
  output: {
2762
- installId: string;
2763
- version: string;
2763
+ error: string;
2764
2764
  };
2765
2765
  outputFormat: "json";
2766
- status: 200;
2766
+ status: 503;
2767
2767
  input: {};
2768
2768
  };
2769
2769
  };
@@ -3053,18 +3053,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3053
3053
  }, "/"> | import("hono/types").MergeSchemaPath<{
3054
3054
  "/plan": {
3055
3055
  $post: {
3056
- output: {
3057
- error: string;
3058
- };
3059
- outputFormat: "json";
3060
- status: 400 | 404 | 409;
3061
- input: {
3062
- json: {
3063
- task: string;
3064
- agentProfile?: string | undefined;
3065
- };
3066
- };
3067
- } | {
3068
3056
  output: {
3069
3057
  name?: string;
3070
3058
  steps: {
@@ -3101,6 +3089,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3101
3089
  agentProfile?: string | undefined;
3102
3090
  };
3103
3091
  };
3092
+ } | {
3093
+ output: {
3094
+ error: string;
3095
+ };
3096
+ outputFormat: "json";
3097
+ status: 400 | 404 | 409;
3098
+ input: {
3099
+ json: {
3100
+ task: string;
3101
+ agentProfile?: string | undefined;
3102
+ };
3103
+ };
3104
3104
  };
3105
3105
  };
3106
3106
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3150,42 +3150,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3150
3150
  "/ui-state": {
3151
3151
  $put: {
3152
3152
  output: {
3153
- [x: string]: import("hono/utils/types").JSONValue;
3154
- sidebarLimits?: {
3155
- overall?: number | null | undefined;
3156
- needsYou?: number | null | undefined;
3157
- finished?: number | null | undefined;
3158
- working?: number | null | undefined;
3159
- } | undefined;
3160
- lastTask?: {
3161
- source: "skill" | "workflow";
3162
- ref: string;
3163
- } | null | undefined;
3164
- recentSources?: {
3165
- source: "skill" | "workflow";
3166
- ref: string;
3167
- }[] | undefined;
3168
- lastWorktree?: boolean | undefined;
3169
- lastAutonomous?: boolean | undefined;
3170
- skillUsage?: {
3171
- [x: string]: number;
3172
- } | undefined;
3173
- runsView?: "list" | "table" | undefined;
3174
- githubView?: "issues" | "prs" | undefined;
3175
- appearance?: {
3176
- accent?: "cezarion" | "lime" | "violet" | undefined;
3177
- density?: "comfortable" | "compact" | "ultra" | undefined;
3178
- width?: "narrow" | "wide" | undefined;
3179
- } | undefined;
3180
- promptTemplates?: {
3181
- id: string;
3182
- label: string;
3183
- text: string;
3184
- skills?: string[] | undefined;
3185
- }[] | undefined;
3153
+ error: string;
3186
3154
  };
3187
3155
  outputFormat: "json";
3188
- status: import("hono/utils/http-status").ContentfulStatusCode;
3156
+ status: 500;
3189
3157
  input: {
3190
3158
  json: {
3191
3159
  [x: string]: unknown;
@@ -3223,10 +3191,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3223
3191
  };
3224
3192
  } | {
3225
3193
  output: {
3226
- error: string;
3194
+ [x: string]: import("hono/utils/types").JSONValue;
3195
+ sidebarLimits?: {
3196
+ overall?: number | null | undefined;
3197
+ needsYou?: number | null | undefined;
3198
+ finished?: number | null | undefined;
3199
+ working?: number | null | undefined;
3200
+ } | undefined;
3201
+ lastTask?: {
3202
+ source: "skill" | "workflow";
3203
+ ref: string;
3204
+ } | null | undefined;
3205
+ recentSources?: {
3206
+ source: "skill" | "workflow";
3207
+ ref: string;
3208
+ }[] | undefined;
3209
+ lastWorktree?: boolean | undefined;
3210
+ lastAutonomous?: boolean | undefined;
3211
+ skillUsage?: {
3212
+ [x: string]: number;
3213
+ } | undefined;
3214
+ runsView?: "list" | "table" | undefined;
3215
+ githubView?: "issues" | "prs" | undefined;
3216
+ appearance?: {
3217
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3218
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3219
+ width?: "narrow" | "wide" | undefined;
3220
+ } | undefined;
3221
+ promptTemplates?: {
3222
+ id: string;
3223
+ label: string;
3224
+ text: string;
3225
+ skills?: string[] | undefined;
3226
+ }[] | undefined;
3227
3227
  };
3228
3228
  outputFormat: "json";
3229
- status: 500;
3229
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3230
3230
  input: {
3231
3231
  json: {
3232
3232
  [x: string]: unknown;
@@ -3303,34 +3303,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3303
3303
  "/config": {
3304
3304
  $put: {
3305
3305
  output: {
3306
- archiveOnMerge: boolean | null;
3307
- effectiveArchiveOnMerge: boolean;
3308
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3309
- baseBranch: string | null;
3310
- defaultRunner: string;
3311
- systemPrompt: string | null;
3312
- defaultModels: {
3313
- [x: string]: string | undefined;
3314
- };
3315
- modelsLocked: boolean;
3316
- maxParallel: number;
3317
- memoryLimitMb: number | null;
3318
- worktreeRetention: number;
3319
- liveTitleUpdates: boolean | null;
3320
- reviewGate: boolean | null;
3321
- worktreeSetup: {
3322
- commands: string[];
3323
- timeoutSeconds: number;
3324
- } | null;
3325
- worktreeSetupIssue: string | null;
3326
- worktreeTeardown: {
3327
- commands: string[];
3328
- timeoutSeconds: number;
3329
- } | null;
3330
- worktreeTeardownIssue: string | null;
3306
+ error: string;
3331
3307
  };
3332
3308
  outputFormat: "json";
3333
- status: import("hono/utils/http-status").ContentfulStatusCode;
3309
+ status: 409;
3334
3310
  input: {
3335
3311
  json: {
3336
3312
  archiveOnMerge?: boolean | null | undefined;
@@ -3358,7 +3334,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3358
3334
  error: string;
3359
3335
  };
3360
3336
  outputFormat: "json";
3361
- status: 409;
3337
+ status: 500;
3362
3338
  input: {
3363
3339
  json: {
3364
3340
  archiveOnMerge?: boolean | null | undefined;
@@ -3383,10 +3359,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3383
3359
  };
3384
3360
  } | {
3385
3361
  output: {
3386
- error: string;
3362
+ archiveOnMerge: boolean | null;
3363
+ effectiveArchiveOnMerge: boolean;
3364
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3365
+ baseBranch: string | null;
3366
+ defaultRunner: string;
3367
+ systemPrompt: string | null;
3368
+ defaultModels: {
3369
+ [x: string]: string | undefined;
3370
+ };
3371
+ modelsLocked: boolean;
3372
+ maxParallel: number;
3373
+ memoryLimitMb: number | null;
3374
+ worktreeRetention: number;
3375
+ liveTitleUpdates: boolean | null;
3376
+ reviewGate: boolean | null;
3377
+ worktreeSetup: {
3378
+ commands: string[];
3379
+ timeoutSeconds: number;
3380
+ } | null;
3381
+ worktreeSetupIssue: string | null;
3382
+ worktreeTeardown: {
3383
+ commands: string[];
3384
+ timeoutSeconds: number;
3385
+ } | null;
3386
+ worktreeTeardownIssue: string | null;
3387
3387
  };
3388
3388
  outputFormat: "json";
3389
- status: 500;
3389
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3390
3390
  input: {
3391
3391
  json: {
3392
3392
  archiveOnMerge?: boolean | null | undefined;
@@ -3414,9 +3414,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3414
3414
  }, "/"> | import("hono/types").MergeSchemaPath<{
3415
3415
  "/runs/:id/events": {
3416
3416
  $get: {
3417
- output: {};
3418
- outputFormat: string;
3419
- status: import("hono/utils/http-status").StatusCode;
3417
+ output: {
3418
+ error: string;
3419
+ code?: "invalid_input" | undefined;
3420
+ };
3421
+ outputFormat: "json";
3422
+ status: 400;
3420
3423
  input: {
3421
3424
  param: {
3422
3425
  id: string;
@@ -3428,12 +3431,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3428
3431
  };
3429
3432
  };
3430
3433
  } | {
3431
- output: {
3432
- error: string;
3433
- code?: "invalid_input" | undefined;
3434
- };
3435
- outputFormat: "json";
3436
- status: 400;
3434
+ output: {};
3435
+ outputFormat: string;
3436
+ status: import("hono/utils/http-status").StatusCode;
3437
3437
  input: {
3438
3438
  param: {
3439
3439
  id: string;
@@ -3477,7 +3477,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3477
3477
  error: string;
3478
3478
  };
3479
3479
  outputFormat: "json";
3480
- status: 409;
3480
+ status: 400;
3481
3481
  input: {
3482
3482
  json: {
3483
3483
  target: string;
@@ -3488,7 +3488,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3488
3488
  error: string;
3489
3489
  };
3490
3490
  outputFormat: "json";
3491
- status: 400;
3491
+ status: 409;
3492
3492
  input: {
3493
3493
  json: {
3494
3494
  target: string;
@@ -3596,14 +3596,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3596
3596
  "/agent-config/:id": {
3597
3597
  $put: {
3598
3598
  output: {
3599
- id: string;
3600
- path: string;
3601
- exists: boolean;
3602
- content: string;
3603
- version: string | null;
3599
+ error: string;
3604
3600
  };
3605
3601
  outputFormat: "json";
3606
- status: import("hono/utils/http-status").ContentfulStatusCode;
3602
+ status: 404;
3607
3603
  input: {
3608
3604
  json: {
3609
3605
  content: string;
@@ -3616,10 +3612,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3616
3612
  };
3617
3613
  } | {
3618
3614
  output: {
3619
- error: string;
3615
+ id: string;
3616
+ path: string;
3617
+ exists: boolean;
3618
+ content: string;
3619
+ version: string | null;
3620
3620
  };
3621
3621
  outputFormat: "json";
3622
- status: 404;
3622
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3623
3623
  input: {
3624
3624
  json: {
3625
3625
  content: string;
@@ -3719,10 +3719,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3719
3719
  };
3720
3720
  } | {
3721
3721
  output: {
3722
- error: string;
3722
+ runId: string;
3723
+ worktreeReclaimedAt: string;
3723
3724
  };
3724
3725
  outputFormat: "json";
3725
- status: 404 | 409;
3726
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3726
3727
  input: {
3727
3728
  param: {
3728
3729
  runId: string;
@@ -3734,11 +3735,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3734
3735
  };
3735
3736
  } | {
3736
3737
  output: {
3737
- runId: string;
3738
- worktreeReclaimedAt: string;
3738
+ error: string;
3739
3739
  };
3740
3740
  outputFormat: "json";
3741
- status: import("hono/utils/http-status").ContentfulStatusCode;
3741
+ status: 404 | 409;
3742
3742
  input: {
3743
3743
  param: {
3744
3744
  runId: string;
@@ -3898,10 +3898,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3898
3898
  "/workflows": {
3899
3899
  $post: {
3900
3900
  output: {
3901
- error: string;
3901
+ path: string;
3902
+ name: string;
3902
3903
  };
3903
3904
  outputFormat: "json";
3904
- status: 400;
3905
+ status: 201;
3905
3906
  input: {
3906
3907
  json: {
3907
3908
  name: string;
@@ -3934,10 +3935,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3934
3935
  } | {
3935
3936
  output: {
3936
3937
  error: string;
3937
- exists: true;
3938
3938
  };
3939
3939
  outputFormat: "json";
3940
- status: 409;
3940
+ status: 400;
3941
3941
  input: {
3942
3942
  json: {
3943
3943
  name: string;
@@ -3970,9 +3970,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3970
3970
  } | {
3971
3971
  output: {
3972
3972
  error: string;
3973
+ exists: true;
3973
3974
  };
3974
3975
  outputFormat: "json";
3975
- status: 500;
3976
+ status: 409;
3976
3977
  input: {
3977
3978
  json: {
3978
3979
  name: string;
@@ -4004,11 +4005,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4004
4005
  };
4005
4006
  } | {
4006
4007
  output: {
4007
- path: string;
4008
- name: string;
4008
+ error: string;
4009
4009
  };
4010
4010
  outputFormat: "json";
4011
- status: 201;
4011
+ status: 500;
4012
4012
  input: {
4013
4013
  json: {
4014
4014
  name: string;
@@ -4044,10 +4044,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4044
4044
  "/workflows/:name": {
4045
4045
  $delete: {
4046
4046
  output: {
4047
- error: string;
4047
+ ok: true;
4048
+ path: string;
4048
4049
  };
4049
4050
  outputFormat: "json";
4050
- status: 400 | 404 | 409 | 500;
4051
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4051
4052
  input: {
4052
4053
  param: {
4053
4054
  name: string;
@@ -4055,11 +4056,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4055
4056
  };
4056
4057
  } | {
4057
4058
  output: {
4058
- ok: true;
4059
- path: string;
4059
+ error: string;
4060
4060
  };
4061
4061
  outputFormat: "json";
4062
- status: import("hono/utils/http-status").ContentfulStatusCode;
4062
+ status: 400 | 404 | 409 | 500;
4063
4063
  input: {
4064
4064
  param: {
4065
4065
  name: string;
@@ -5000,14 +5000,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5000
5000
  "/repo/branches/delete": {
5001
5001
  $post: {
5002
5002
  output: {
5003
- error: string;
5003
+ deleted: string[];
5004
5004
  refused: {
5005
5005
  name: string;
5006
5006
  reason: string;
5007
5007
  }[];
5008
+ dropped?: {
5009
+ sha: string;
5010
+ subject: string;
5011
+ }[] | undefined;
5008
5012
  };
5009
5013
  outputFormat: "json";
5010
- status: 409;
5014
+ status: 200;
5011
5015
  input: {
5012
5016
  json: {
5013
5017
  names: string[];
@@ -5016,18 +5020,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5016
5020
  };
5017
5021
  } | {
5018
5022
  output: {
5019
- deleted: string[];
5023
+ error: string;
5020
5024
  refused: {
5021
5025
  name: string;
5022
5026
  reason: string;
5023
5027
  }[];
5024
- dropped?: {
5025
- sha: string;
5026
- subject: string;
5027
- }[] | undefined;
5028
5028
  };
5029
5029
  outputFormat: "json";
5030
- status: 200;
5030
+ status: 409;
5031
5031
  input: {
5032
5032
  json: {
5033
5033
  names: string[];
@@ -5048,9 +5048,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5048
5048
  } & {
5049
5049
  "/repo/commit/:sha": {
5050
5050
  $get: {
5051
- output: string;
5052
- outputFormat: "text";
5053
- status: import("hono/utils/http-status").ContentfulStatusCode;
5051
+ output: {
5052
+ error: string;
5053
+ code?: "invalid_input" | undefined;
5054
+ };
5055
+ outputFormat: "json";
5056
+ status: 400;
5054
5057
  input: {
5055
5058
  query: {
5056
5059
  structured?: string | undefined;
@@ -5063,10 +5066,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5063
5066
  } | {
5064
5067
  output: {
5065
5068
  error: string;
5066
- code?: "invalid_input" | undefined;
5067
5069
  };
5068
5070
  outputFormat: "json";
5069
- status: 400;
5071
+ status: 409;
5070
5072
  input: {
5071
5073
  query: {
5072
5074
  structured?: string | undefined;
@@ -5110,11 +5112,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5110
5112
  };
5111
5113
  };
5112
5114
  } | {
5113
- output: {
5114
- error: string;
5115
- };
5116
- outputFormat: "json";
5117
- status: 409;
5115
+ output: string;
5116
+ outputFormat: "text";
5117
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5118
5118
  input: {
5119
5119
  query: {
5120
5120
  structured?: string | undefined;
@@ -5146,15 +5146,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5146
5146
  };
5147
5147
  } | {
5148
5148
  output: {
5149
- type: 'file';
5150
- path: string;
5151
- size: number;
5152
- binary: boolean;
5153
- tooLarge: boolean;
5154
- content?: string | undefined;
5149
+ error: string;
5155
5150
  };
5156
5151
  outputFormat: "json";
5157
- status: import("hono/utils/http-status").ContentfulStatusCode;
5152
+ status: 409;
5158
5153
  input: {
5159
5154
  param: {
5160
5155
  sha: string;
@@ -5166,10 +5161,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5166
5161
  };
5167
5162
  } | {
5168
5163
  output: {
5169
- error: string;
5164
+ type: 'file';
5165
+ path: string;
5166
+ size: number;
5167
+ binary: boolean;
5168
+ tooLarge: boolean;
5169
+ content?: string | undefined;
5170
5170
  };
5171
5171
  outputFormat: "json";
5172
- status: 409;
5172
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5173
5173
  input: {
5174
5174
  param: {
5175
5175
  sha: string;
@@ -5197,15 +5197,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5197
5197
  };
5198
5198
  } | {
5199
5199
  output: {
5200
- type: 'file';
5201
- path: string;
5202
- size: number;
5203
- binary: boolean;
5204
- tooLarge: boolean;
5205
- content?: string | undefined;
5200
+ error: string;
5206
5201
  };
5207
5202
  outputFormat: "json";
5208
- status: import("hono/utils/http-status").ContentfulStatusCode;
5203
+ status: 409;
5209
5204
  input: {
5210
5205
  query: {
5211
5206
  path: string | string[];
@@ -5213,10 +5208,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5213
5208
  };
5214
5209
  } | {
5215
5210
  output: {
5216
- error: string;
5211
+ type: 'file';
5212
+ path: string;
5213
+ size: number;
5214
+ binary: boolean;
5215
+ tooLarge: boolean;
5216
+ content?: string | undefined;
5217
5217
  };
5218
5218
  outputFormat: "json";
5219
- status: 409;
5219
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5220
5220
  input: {
5221
5221
  query: {
5222
5222
  path: string | string[];
@@ -5227,6 +5227,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5227
5227
  } & {
5228
5228
  "/repo/changes": {
5229
5229
  $get: {
5230
+ output: {
5231
+ error: string;
5232
+ };
5233
+ outputFormat: "json";
5234
+ status: 409;
5235
+ input: {};
5236
+ } | {
5230
5237
  output: {
5231
5238
  files: {
5232
5239
  path: string;
@@ -5251,13 +5258,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5251
5258
  outputFormat: "json";
5252
5259
  status: import("hono/utils/http-status").ContentfulStatusCode;
5253
5260
  input: {};
5254
- } | {
5255
- output: {
5256
- error: string;
5257
- };
5258
- outputFormat: "json";
5259
- status: 409;
5260
- input: {};
5261
5261
  };
5262
5262
  };
5263
5263
  } & {
@@ -5282,10 +5282,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5282
5282
  "/repo/pull": {
5283
5283
  $post: {
5284
5284
  output: {
5285
- error: string;
5285
+ branch: string;
5286
+ pulled: true;
5287
+ summary: string;
5286
5288
  };
5287
5289
  outputFormat: "json";
5288
- status: 409;
5290
+ status: 200;
5289
5291
  input: {
5290
5292
  json: {
5291
5293
  branch?: string | undefined;
@@ -5294,12 +5296,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5294
5296
  };
5295
5297
  } | {
5296
5298
  output: {
5297
- branch: string;
5298
- pulled: true;
5299
- summary: string;
5299
+ error: string;
5300
5300
  };
5301
5301
  outputFormat: "json";
5302
- status: 200;
5302
+ status: 409;
5303
5303
  input: {
5304
5304
  json: {
5305
5305
  branch?: string | undefined;
@@ -6543,6 +6543,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6543
6543
  } & {
6544
6544
  "/run-summaries": {
6545
6545
  $get: {
6546
+ output: {
6547
+ error: string;
6548
+ code?: "invalid_input" | undefined;
6549
+ };
6550
+ outputFormat: "json";
6551
+ status: 400;
6552
+ input: {
6553
+ query: {
6554
+ archived?: "all" | "recent" | undefined;
6555
+ };
6556
+ };
6557
+ } | {
6546
6558
  output: {
6547
6559
  id: string;
6548
6560
  title: string;
@@ -6680,18 +6692,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6680
6692
  archived?: "all" | "recent" | undefined;
6681
6693
  };
6682
6694
  };
6683
- } | {
6684
- output: {
6685
- error: string;
6686
- code?: "invalid_input" | undefined;
6687
- };
6688
- outputFormat: "json";
6689
- status: 400;
6690
- input: {
6691
- query: {
6692
- archived?: "all" | "recent" | undefined;
6693
- };
6694
- };
6695
6695
  };
6696
6696
  };
6697
6697
  } & {
@@ -7053,11 +7053,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7053
7053
  "/runs/:id/worker-destroy": {
7054
7054
  $post: {
7055
7055
  output: {
7056
- error: string;
7057
- code?: "invalid_input" | undefined;
7056
+ workerId: string;
7057
+ state: "complete" | "incomplete";
7058
+ work?: {
7059
+ uncommittedFiles: number;
7060
+ commits: number;
7061
+ } | undefined;
7062
+ deleted?: ({
7063
+ kind: "worktree";
7064
+ path: string;
7065
+ } | {
7066
+ kind: "branch";
7067
+ ref: string;
7068
+ })[] | undefined;
7069
+ remaining: ("branch" | "process" | "worktree")[];
7070
+ error?: string | undefined;
7058
7071
  };
7059
7072
  outputFormat: "json";
7060
- status: 400;
7073
+ status: 200;
7061
7074
  input: {
7062
7075
  query: {
7063
7076
  [x: string]: string | string[];
@@ -7073,24 +7086,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7073
7086
  };
7074
7087
  } | {
7075
7088
  output: {
7076
- workerId: string;
7077
- state: "complete" | "incomplete";
7078
- work?: {
7079
- uncommittedFiles: number;
7080
- commits: number;
7081
- } | undefined;
7082
- deleted?: ({
7083
- kind: "worktree";
7084
- path: string;
7085
- } | {
7086
- kind: "branch";
7087
- ref: string;
7088
- })[] | undefined;
7089
- remaining: ("branch" | "process" | "worktree")[];
7090
- error?: string | undefined;
7089
+ error: string;
7090
+ code?: "invalid_input" | undefined;
7091
7091
  };
7092
7092
  outputFormat: "json";
7093
- status: 200;
7093
+ status: 400;
7094
7094
  input: {
7095
7095
  query: {
7096
7096
  [x: string]: string | string[];
@@ -7206,6 +7206,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7206
7206
  } & {
7207
7207
  "/runs/:id/archive": {
7208
7208
  $post: {
7209
+ output: {
7210
+ error: string;
7211
+ };
7212
+ outputFormat: "json";
7213
+ status: 404;
7214
+ input: {
7215
+ json: {
7216
+ archived?: boolean | undefined;
7217
+ };
7218
+ } & {
7219
+ param: {
7220
+ id: string;
7221
+ };
7222
+ };
7223
+ } | {
7209
7224
  output: {
7210
7225
  archiveWhenDone?: boolean | undefined;
7211
7226
  autoMergePr?: boolean | undefined;
@@ -8404,32 +8419,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8404
8419
  id: string;
8405
8420
  };
8406
8421
  };
8407
- } | {
8422
+ };
8423
+ };
8424
+ } & {
8425
+ "/runs/:id/pin": {
8426
+ $post: {
8408
8427
  output: {
8409
8428
  error: string;
8429
+ code?: "invalid_input" | undefined;
8410
8430
  };
8411
8431
  outputFormat: "json";
8412
- status: 404;
8432
+ status: 400;
8413
8433
  input: {
8414
- json: {
8415
- archived?: boolean | undefined;
8416
- };
8417
- } & {
8418
8434
  param: {
8419
8435
  id: string;
8420
8436
  };
8437
+ } & {
8438
+ json: {
8439
+ pinned?: boolean | undefined;
8440
+ };
8421
8441
  };
8422
- };
8423
- };
8424
- } & {
8425
- "/runs/:id/pin": {
8426
- $post: {
8442
+ } | {
8427
8443
  output: {
8428
8444
  error: string;
8429
- code?: "invalid_input" | undefined;
8430
8445
  };
8431
8446
  outputFormat: "json";
8432
- status: 400;
8447
+ status: 404;
8433
8448
  input: {
8434
8449
  param: {
8435
8450
  id: string;
@@ -9638,21 +9653,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9638
9653
  pinned?: boolean | undefined;
9639
9654
  };
9640
9655
  };
9641
- } | {
9642
- output: {
9643
- error: string;
9644
- };
9645
- outputFormat: "json";
9646
- status: 404;
9647
- input: {
9648
- param: {
9649
- id: string;
9650
- };
9651
- } & {
9652
- json: {
9653
- pinned?: boolean | undefined;
9654
- };
9655
- };
9656
9656
  };
9657
9657
  };
9658
9658
  } & {
@@ -9674,22 +9674,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9674
9674
  message?: string | undefined;
9675
9675
  };
9676
9676
  };
9677
- } | {
9678
- output: {
9679
- error: string;
9680
- };
9681
- outputFormat: "json";
9682
- status: 400 | 404 | 409;
9683
- input: {
9684
- param: {
9685
- id: string;
9686
- };
9687
- } & {
9688
- json: {
9689
- notify: boolean;
9690
- message?: string | undefined;
9691
- };
9692
- };
9693
9677
  } | {
9694
9678
  output: {
9695
9679
  archiveWhenDone?: boolean | undefined;
@@ -10890,6 +10874,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10890
10874
  message?: string | undefined;
10891
10875
  };
10892
10876
  };
10877
+ } | {
10878
+ output: {
10879
+ error: string;
10880
+ };
10881
+ outputFormat: "json";
10882
+ status: 400 | 404 | 409;
10883
+ input: {
10884
+ param: {
10885
+ id: string;
10886
+ };
10887
+ } & {
10888
+ json: {
10889
+ notify: boolean;
10890
+ message?: string | undefined;
10891
+ };
10892
+ };
10893
10893
  };
10894
10894
  };
10895
10895
  } & {
@@ -10921,6 +10921,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10921
10921
  } & {
10922
10922
  "/runs/:id/read": {
10923
10923
  $post: {
10924
+ output: {
10925
+ error: string;
10926
+ };
10927
+ outputFormat: "json";
10928
+ status: 404;
10929
+ input: {
10930
+ param: {
10931
+ id: string;
10932
+ };
10933
+ };
10934
+ } | {
10924
10935
  output: {
10925
10936
  archiveWhenDone?: boolean | undefined;
10926
10937
  autoMergePr?: boolean | undefined;
@@ -12115,7 +12126,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12115
12126
  id: string;
12116
12127
  };
12117
12128
  };
12118
- } | {
12129
+ };
12130
+ };
12131
+ } & {
12132
+ "/runs/:id/unread": {
12133
+ $post: {
12119
12134
  output: {
12120
12135
  error: string;
12121
12136
  };
@@ -12126,11 +12141,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12126
12141
  id: string;
12127
12142
  };
12128
12143
  };
12129
- };
12130
- };
12131
- } & {
12132
- "/runs/:id/unread": {
12133
- $post: {
12144
+ } | {
12134
12145
  output: {
12135
12146
  archiveWhenDone?: boolean | undefined;
12136
12147
  autoMergePr?: boolean | undefined;
@@ -13325,17 +13336,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13325
13336
  id: string;
13326
13337
  };
13327
13338
  };
13328
- } | {
13329
- output: {
13330
- error: string;
13331
- };
13332
- outputFormat: "json";
13333
- status: 404;
13334
- input: {
13335
- param: {
13336
- id: string;
13337
- };
13338
- };
13339
13339
  };
13340
13340
  };
13341
13341
  } & {
@@ -14631,6 +14631,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14631
14631
  } & {
14632
14632
  "/runs/:id": {
14633
14633
  $get: {
14634
+ output: {
14635
+ error: string;
14636
+ };
14637
+ outputFormat: "json";
14638
+ status: 404;
14639
+ input: {
14640
+ param: {
14641
+ id: string;
14642
+ };
14643
+ };
14644
+ } | {
14634
14645
  output: {
14635
14646
  archiveWhenDone?: boolean | undefined;
14636
14647
  autoMergePr?: boolean | undefined;
@@ -15833,17 +15844,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15833
15844
  id: string;
15834
15845
  };
15835
15846
  };
15836
- } | {
15837
- output: {
15838
- error: string;
15839
- };
15840
- outputFormat: "json";
15841
- status: 404;
15842
- input: {
15843
- param: {
15844
- id: string;
15845
- };
15846
- };
15847
15847
  };
15848
15848
  };
15849
15849
  } & {
@@ -15971,6 +15971,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15971
15971
  } & {
15972
15972
  "/runs/:id": {
15973
15973
  $patch: {
15974
+ output: {
15975
+ error: string;
15976
+ };
15977
+ outputFormat: "json";
15978
+ status: 400;
15979
+ input: {
15980
+ json: {
15981
+ archiveWhenDone?: boolean | undefined;
15982
+ autoMergePr?: boolean | undefined;
15983
+ allowWorkers?: boolean | undefined;
15984
+ allowMessaging?: boolean | undefined;
15985
+ title?: string | undefined;
15986
+ task?: string | undefined;
15987
+ };
15988
+ } & {
15989
+ param: {
15990
+ id: string;
15991
+ };
15992
+ };
15993
+ } | {
15994
+ output: {
15995
+ error: string;
15996
+ };
15997
+ outputFormat: "json";
15998
+ status: 404;
15999
+ input: {
16000
+ json: {
16001
+ archiveWhenDone?: boolean | undefined;
16002
+ autoMergePr?: boolean | undefined;
16003
+ allowWorkers?: boolean | undefined;
16004
+ allowMessaging?: boolean | undefined;
16005
+ title?: string | undefined;
16006
+ task?: string | undefined;
16007
+ };
16008
+ } & {
16009
+ param: {
16010
+ id: string;
16011
+ };
16012
+ };
16013
+ } | {
16014
+ output: {
16015
+ error: string;
16016
+ };
16017
+ outputFormat: "json";
16018
+ status: 409;
16019
+ input: {
16020
+ json: {
16021
+ archiveWhenDone?: boolean | undefined;
16022
+ autoMergePr?: boolean | undefined;
16023
+ allowWorkers?: boolean | undefined;
16024
+ allowMessaging?: boolean | undefined;
16025
+ title?: string | undefined;
16026
+ task?: string | undefined;
16027
+ };
16028
+ } & {
16029
+ param: {
16030
+ id: string;
16031
+ };
16032
+ };
16033
+ } | {
15974
16034
  output: {
15975
16035
  archiveWhenDone?: boolean | undefined;
15976
16036
  autoMergePr?: boolean | undefined;
@@ -17174,66 +17234,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17174
17234
  id: string;
17175
17235
  };
17176
17236
  };
17177
- } | {
17178
- output: {
17179
- error: string;
17180
- };
17181
- outputFormat: "json";
17182
- status: 404;
17183
- input: {
17184
- json: {
17185
- archiveWhenDone?: boolean | undefined;
17186
- autoMergePr?: boolean | undefined;
17187
- allowWorkers?: boolean | undefined;
17188
- allowMessaging?: boolean | undefined;
17189
- title?: string | undefined;
17190
- task?: string | undefined;
17191
- };
17192
- } & {
17193
- param: {
17194
- id: string;
17195
- };
17196
- };
17197
- } | {
17198
- output: {
17199
- error: string;
17200
- };
17201
- outputFormat: "json";
17202
- status: 400;
17203
- input: {
17204
- json: {
17205
- archiveWhenDone?: boolean | undefined;
17206
- autoMergePr?: boolean | undefined;
17207
- allowWorkers?: boolean | undefined;
17208
- allowMessaging?: boolean | undefined;
17209
- title?: string | undefined;
17210
- task?: string | undefined;
17211
- };
17212
- } & {
17213
- param: {
17214
- id: string;
17215
- };
17216
- };
17217
- } | {
17218
- output: {
17219
- error: string;
17220
- };
17221
- outputFormat: "json";
17222
- status: 409;
17223
- input: {
17224
- json: {
17225
- archiveWhenDone?: boolean | undefined;
17226
- autoMergePr?: boolean | undefined;
17227
- allowWorkers?: boolean | undefined;
17228
- allowMessaging?: boolean | undefined;
17229
- title?: string | undefined;
17230
- task?: string | undefined;
17231
- };
17232
- } & {
17233
- param: {
17234
- id: string;
17235
- };
17236
- };
17237
17237
  };
17238
17238
  };
17239
17239
  } & {
@@ -17338,7 +17338,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17338
17338
  error: string;
17339
17339
  };
17340
17340
  outputFormat: "json";
17341
- status: 404;
17341
+ status: 400;
17342
17342
  input: {
17343
17343
  json: {
17344
17344
  text?: string | undefined;
@@ -17357,7 +17357,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17357
17357
  error: string;
17358
17358
  };
17359
17359
  outputFormat: "json";
17360
- status: 409;
17360
+ status: 404;
17361
17361
  input: {
17362
17362
  json: {
17363
17363
  text?: string | undefined;
@@ -17373,10 +17373,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17373
17373
  };
17374
17374
  } | {
17375
17375
  output: {
17376
- delivered: true;
17376
+ error: string;
17377
17377
  };
17378
17378
  outputFormat: "json";
17379
- status: import("hono/utils/http-status").ContentfulStatusCode;
17379
+ status: 409;
17380
17380
  input: {
17381
17381
  json: {
17382
17382
  text?: string | undefined;
@@ -17392,10 +17392,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17392
17392
  };
17393
17393
  } | {
17394
17394
  output: {
17395
- error: string;
17395
+ delivered: true;
17396
17396
  };
17397
17397
  outputFormat: "json";
17398
- status: 400;
17398
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17399
17399
  input: {
17400
17400
  json: {
17401
17401
  text?: string | undefined;
@@ -17463,7 +17463,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17463
17463
  error: string;
17464
17464
  };
17465
17465
  outputFormat: "json";
17466
- status: 404;
17466
+ status: 400;
17467
17467
  input: {
17468
17468
  json: {
17469
17469
  text?: string | undefined;
@@ -17484,7 +17484,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17484
17484
  error: string;
17485
17485
  };
17486
17486
  outputFormat: "json";
17487
- status: 400;
17487
+ status: 404;
17488
17488
  input: {
17489
17489
  json: {
17490
17490
  text?: string | undefined;
@@ -17704,10 +17704,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17704
17704
  "/runs/:id/open-in-cli": {
17705
17705
  $post: {
17706
17706
  output: {
17707
- error: string;
17707
+ opened: true;
17708
+ command: string;
17708
17709
  };
17709
17710
  outputFormat: "json";
17710
- status: 404 | 409;
17711
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17711
17712
  input: {
17712
17713
  param: {
17713
17714
  id: string;
@@ -17715,11 +17716,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17715
17716
  };
17716
17717
  } | {
17717
17718
  output: {
17718
- opened: true;
17719
- command: string;
17719
+ error: string;
17720
17720
  };
17721
17721
  outputFormat: "json";
17722
- status: import("hono/utils/http-status").ContentfulStatusCode;
17722
+ status: 404 | 409;
17723
17723
  input: {
17724
17724
  param: {
17725
17725
  id: string;
@@ -17807,9 +17807,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17807
17807
  } & {
17808
17808
  "/runs/:id/images/:file": {
17809
17809
  $get: {
17810
- output: {};
17811
- outputFormat: string;
17812
- status: import("hono/utils/http-status").StatusCode;
17810
+ output: {
17811
+ error: string;
17812
+ code?: "invalid_input" | undefined;
17813
+ };
17814
+ outputFormat: "json";
17815
+ status: 400;
17813
17816
  input: {
17814
17817
  param: {
17815
17818
  id: string;
@@ -17817,12 +17820,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17817
17820
  };
17818
17821
  };
17819
17822
  } | {
17820
- output: {
17821
- error: string;
17822
- code?: "invalid_input" | undefined;
17823
- };
17824
- outputFormat: "json";
17825
- status: 400;
17823
+ output: {};
17824
+ outputFormat: string;
17825
+ status: import("hono/utils/http-status").StatusCode;
17826
17826
  input: {
17827
17827
  param: {
17828
17828
  id: string;
@@ -17855,7 +17855,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17855
17855
  error: string;
17856
17856
  };
17857
17857
  outputFormat: "json";
17858
- status: 409;
17858
+ status: 404;
17859
17859
  input: {
17860
17860
  param: {
17861
17861
  id: string;
@@ -17871,7 +17871,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17871
17871
  error: string;
17872
17872
  };
17873
17873
  outputFormat: "json";
17874
- status: 404;
17874
+ status: 409;
17875
17875
  input: {
17876
17876
  param: {
17877
17877
  id: string;
@@ -18036,17 +18036,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18036
18036
  } & {
18037
18037
  "/runs/:id/changes": {
18038
18038
  $get: {
18039
- output: {
18040
- error: string;
18041
- };
18042
- outputFormat: "json";
18043
- status: 404 | 409;
18044
- input: {
18045
- param: {
18046
- id: string;
18047
- };
18048
- };
18049
- } | {
18050
18039
  output: {
18051
18040
  files: {
18052
18041
  path: string;
@@ -18075,11 +18064,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18075
18064
  id: string;
18076
18065
  };
18077
18066
  };
18078
- };
18079
- };
18080
- } & {
18081
- "/runs/:id/commits": {
18082
- $get: {
18067
+ } | {
18083
18068
  output: {
18084
18069
  error: string;
18085
18070
  };
@@ -18090,7 +18075,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18090
18075
  id: string;
18091
18076
  };
18092
18077
  };
18093
- } | {
18078
+ };
18079
+ };
18080
+ } & {
18081
+ "/runs/:id/commits": {
18082
+ $get: {
18094
18083
  output: {
18095
18084
  commits: {
18096
18085
  sha: string;
@@ -18106,11 +18095,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18106
18095
  id: string;
18107
18096
  };
18108
18097
  };
18109
- };
18110
- };
18111
- } & {
18112
- "/runs/:id/commit/:sha": {
18113
- $get: {
18098
+ } | {
18114
18099
  output: {
18115
18100
  error: string;
18116
18101
  };
@@ -18119,11 +18104,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18119
18104
  input: {
18120
18105
  param: {
18121
18106
  id: string;
18122
- } & {
18123
- sha: string;
18124
18107
  };
18125
18108
  };
18126
- } | {
18109
+ };
18110
+ };
18111
+ } & {
18112
+ "/runs/:id/commit/:sha": {
18113
+ $get: {
18127
18114
  output: {
18128
18115
  sha: string;
18129
18116
  subject: string;
@@ -18154,6 +18141,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18154
18141
  sha: string;
18155
18142
  };
18156
18143
  };
18144
+ } | {
18145
+ output: {
18146
+ error: string;
18147
+ };
18148
+ outputFormat: "json";
18149
+ status: 404 | 409;
18150
+ input: {
18151
+ param: {
18152
+ id: string;
18153
+ } & {
18154
+ sha: string;
18155
+ };
18156
+ };
18157
18157
  };
18158
18158
  };
18159
18159
  } & {
@@ -18177,10 +18177,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18177
18177
  };
18178
18178
  } | {
18179
18179
  output: {
18180
- error: string;
18180
+ type: 'file';
18181
+ path: string;
18182
+ size: number;
18183
+ binary: boolean;
18184
+ tooLarge: boolean;
18185
+ content?: string | undefined;
18181
18186
  };
18182
18187
  outputFormat: "json";
18183
- status: 404 | 409;
18188
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18184
18189
  input: {
18185
18190
  param: {
18186
18191
  sha: string;
@@ -18193,15 +18198,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18193
18198
  };
18194
18199
  } | {
18195
18200
  output: {
18196
- type: 'file';
18197
- path: string;
18198
- size: number;
18199
- binary: boolean;
18200
- tooLarge: boolean;
18201
- content?: string | undefined;
18201
+ error: string;
18202
18202
  };
18203
18203
  outputFormat: "json";
18204
- status: import("hono/utils/http-status").ContentfulStatusCode;
18204
+ status: 404 | 409;
18205
18205
  input: {
18206
18206
  param: {
18207
18207
  sha: string;
@@ -18247,22 +18247,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18247
18247
  raw?: "1" | undefined;
18248
18248
  };
18249
18249
  };
18250
- } | {
18251
- output: {
18252
- error: string;
18253
- };
18254
- outputFormat: "json";
18255
- status: 404 | 409;
18256
- input: {
18257
- param: {
18258
- id: string;
18259
- };
18260
- } & {
18261
- query: {
18262
- path: string | string[];
18263
- raw?: "1" | undefined;
18264
- };
18265
- };
18266
18250
  } | {
18267
18251
  output: {
18268
18252
  type: "file";
@@ -18299,6 +18283,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18299
18283
  raw?: "1" | undefined;
18300
18284
  };
18301
18285
  };
18286
+ } | {
18287
+ output: {
18288
+ error: string;
18289
+ };
18290
+ outputFormat: "json";
18291
+ status: 404 | 409;
18292
+ input: {
18293
+ param: {
18294
+ id: string;
18295
+ };
18296
+ } & {
18297
+ query: {
18298
+ path: string | string[];
18299
+ raw?: "1" | undefined;
18300
+ };
18301
+ };
18302
18302
  };
18303
18303
  };
18304
18304
  } & {
@@ -18363,6 +18363,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18363
18363
  artifactId: string;
18364
18364
  };
18365
18365
  };
18366
+ } | {
18367
+ output: {
18368
+ error: string;
18369
+ };
18370
+ outputFormat: "json";
18371
+ status: 404;
18372
+ input: {
18373
+ param: {
18374
+ id: string;
18375
+ artifactId: string;
18376
+ };
18377
+ };
18366
18378
  } | {
18367
18379
  output: {
18368
18380
  type: "file";
@@ -18391,6 +18403,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18391
18403
  artifactId: string;
18392
18404
  };
18393
18405
  };
18406
+ };
18407
+ };
18408
+ } & {
18409
+ "/runs/:id/artifacts/:artifactId/metadata": {
18410
+ $get: {
18411
+ output: {
18412
+ error: string;
18413
+ code?: "invalid_input" | undefined;
18414
+ };
18415
+ outputFormat: "json";
18416
+ status: 400;
18417
+ input: {
18418
+ param: {
18419
+ id: string;
18420
+ artifactId: string;
18421
+ };
18422
+ };
18394
18423
  } | {
18395
18424
  output: {
18396
18425
  error: string;
@@ -18403,71 +18432,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18403
18432
  artifactId: string;
18404
18433
  };
18405
18434
  };
18435
+ } | {
18436
+ output: {
18437
+ artifact: {
18438
+ id: string;
18439
+ runId: string;
18440
+ name: string;
18441
+ title?: string | undefined;
18442
+ sourcePath: string;
18443
+ createdAt: string;
18444
+ size: number;
18445
+ sha256: string;
18446
+ };
18447
+ };
18448
+ outputFormat: "json";
18449
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18450
+ input: {
18451
+ param: {
18452
+ id: string;
18453
+ artifactId: string;
18454
+ };
18455
+ };
18406
18456
  };
18407
18457
  };
18408
18458
  } & {
18409
- "/runs/:id/artifacts/:artifactId/metadata": {
18459
+ "/runs/:id/artifacts/:artifactId/download": {
18410
18460
  $get: {
18411
- output: {
18412
- error: string;
18413
- code?: "invalid_input" | undefined;
18414
- };
18415
- outputFormat: "json";
18416
- status: 400;
18417
- input: {
18418
- param: {
18419
- id: string;
18420
- artifactId: string;
18421
- };
18422
- };
18423
- } | {
18424
- output: {
18425
- error: string;
18426
- };
18427
- outputFormat: "json";
18428
- status: 404;
18429
- input: {
18430
- param: {
18431
- id: string;
18432
- artifactId: string;
18433
- };
18434
- };
18435
- } | {
18436
- output: {
18437
- artifact: {
18438
- id: string;
18439
- runId: string;
18440
- name: string;
18441
- title?: string | undefined;
18442
- sourcePath: string;
18443
- createdAt: string;
18444
- size: number;
18445
- sha256: string;
18446
- };
18447
- };
18448
- outputFormat: "json";
18449
- status: import("hono/utils/http-status").ContentfulStatusCode;
18450
- input: {
18451
- param: {
18452
- id: string;
18453
- artifactId: string;
18454
- };
18455
- };
18456
- };
18457
- };
18458
- } & {
18459
- "/runs/:id/artifacts/:artifactId/download": {
18460
- $get: {
18461
- output: ArrayBuffer;
18462
- outputFormat: "body";
18463
- status: 200;
18464
- input: {
18465
- param: {
18466
- id: string;
18467
- artifactId: string;
18468
- };
18469
- };
18470
- } | {
18461
+ output: ArrayBuffer;
18462
+ outputFormat: "body";
18463
+ status: 200;
18464
+ input: {
18465
+ param: {
18466
+ id: string;
18467
+ artifactId: string;
18468
+ };
18469
+ };
18470
+ } | {
18471
18471
  output: {
18472
18472
  error: string;
18473
18473
  code?: "invalid_input" | undefined;
@@ -18578,22 +18578,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18578
18578
  id: string;
18579
18579
  };
18580
18580
  };
18581
- } | {
18582
- output: {
18583
- error: string;
18584
- };
18585
- outputFormat: "json";
18586
- status: 404 | 409;
18587
- input: {
18588
- query: {
18589
- path?: string | undefined;
18590
- raw?: string | undefined;
18591
- };
18592
- } & {
18593
- param: {
18594
- id: string;
18595
- };
18596
- };
18597
18581
  } | {
18598
18582
  output: {
18599
18583
  type: 'file';
@@ -18638,16 +18622,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18638
18622
  id: string;
18639
18623
  };
18640
18624
  };
18625
+ } | {
18626
+ output: {
18627
+ error: string;
18628
+ };
18629
+ outputFormat: "json";
18630
+ status: 404 | 409;
18631
+ input: {
18632
+ query: {
18633
+ path?: string | undefined;
18634
+ raw?: string | undefined;
18635
+ };
18636
+ } & {
18637
+ param: {
18638
+ id: string;
18639
+ };
18640
+ };
18641
18641
  };
18642
18642
  };
18643
18643
  } & {
18644
18644
  "/runs/:id/git/commit": {
18645
18645
  $post: {
18646
18646
  output: {
18647
- error: string;
18647
+ committed: true;
18648
+ sha: string;
18648
18649
  };
18649
18650
  outputFormat: "json";
18650
- status: 404 | 409;
18651
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18651
18652
  input: {
18652
18653
  json: {
18653
18654
  message: string;
@@ -18659,11 +18660,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18659
18660
  };
18660
18661
  } | {
18661
18662
  output: {
18662
- committed: true;
18663
- sha: string;
18663
+ error: string;
18664
18664
  };
18665
18665
  outputFormat: "json";
18666
- status: import("hono/utils/http-status").ContentfulStatusCode;
18666
+ status: 404 | 409;
18667
18667
  input: {
18668
18668
  json: {
18669
18669
  message: string;
@@ -18679,10 +18679,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18679
18679
  "/runs/:id/git/push": {
18680
18680
  $post: {
18681
18681
  output: {
18682
- error: string;
18682
+ pushed: true;
18683
+ branch: string;
18684
+ remote: string;
18685
+ upstreamSet: boolean;
18683
18686
  };
18684
18687
  outputFormat: "json";
18685
- status: 404 | 409;
18688
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18686
18689
  input: {
18687
18690
  param: {
18688
18691
  id: string;
@@ -18690,13 +18693,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18690
18693
  };
18691
18694
  } | {
18692
18695
  output: {
18693
- pushed: true;
18694
- branch: string;
18695
- remote: string;
18696
- upstreamSet: boolean;
18696
+ error: string;
18697
18697
  };
18698
18698
  outputFormat: "json";
18699
- status: import("hono/utils/http-status").ContentfulStatusCode;
18699
+ status: 404 | 409;
18700
18700
  input: {
18701
18701
  param: {
18702
18702
  id: string;
@@ -18708,10 +18708,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18708
18708
  "/runs/:id/pr": {
18709
18709
  $post: {
18710
18710
  output: {
18711
- error: string;
18711
+ url: string;
18712
+ dryRun: boolean;
18712
18713
  };
18713
18714
  outputFormat: "json";
18714
- status: 404 | 409;
18715
+ status: 201;
18715
18716
  input: {
18716
18717
  param: {
18717
18718
  id: string;
@@ -18719,11 +18720,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18719
18720
  };
18720
18721
  } | {
18721
18722
  output: {
18722
- url: string;
18723
- dryRun: boolean;
18723
+ error: string;
18724
18724
  };
18725
18725
  outputFormat: "json";
18726
- status: 201;
18726
+ status: 404 | 409;
18727
18727
  input: {
18728
18728
  param: {
18729
18729
  id: string;
@@ -18735,10 +18735,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18735
18735
  "/runs/:id/remove-worktree": {
18736
18736
  $post: {
18737
18737
  output: {
18738
- error: string;
18738
+ removed: true;
18739
18739
  };
18740
18740
  outputFormat: "json";
18741
- status: 404 | 409;
18741
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18742
18742
  input: {
18743
18743
  param: {
18744
18744
  id: string;
@@ -18746,10 +18746,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18746
18746
  };
18747
18747
  } | {
18748
18748
  output: {
18749
- removed: true;
18749
+ error: string;
18750
18750
  };
18751
18751
  outputFormat: "json";
18752
- status: import("hono/utils/http-status").ContentfulStatusCode;
18752
+ status: 404 | 409;
18753
18753
  input: {
18754
18754
  param: {
18755
18755
  id: string;
@@ -18761,10 +18761,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18761
18761
  "/runs/:id": {
18762
18762
  $delete: {
18763
18763
  output: {
18764
- error: string;
18764
+ deleted: true;
18765
18765
  };
18766
18766
  outputFormat: "json";
18767
- status: 404 | 409;
18767
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18768
18768
  input: {
18769
18769
  param: {
18770
18770
  id: string;
@@ -18772,10 +18772,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18772
18772
  };
18773
18773
  } | {
18774
18774
  output: {
18775
- deleted: true;
18775
+ error: string;
18776
18776
  };
18777
18777
  outputFormat: "json";
18778
- status: import("hono/utils/http-status").ContentfulStatusCode;
18778
+ status: 404 | 409;
18779
18779
  input: {
18780
18780
  param: {
18781
18781
  id: string;
@@ -18844,18 +18844,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18844
18844
  }, "/"> | import("hono/types").MergeSchemaPath<{
18845
18845
  "/plan": {
18846
18846
  $post: {
18847
- output: {
18848
- error: string;
18849
- };
18850
- outputFormat: "json";
18851
- status: 400 | 404 | 409;
18852
- input: {
18853
- json: {
18854
- task: string;
18855
- agentProfile?: string | undefined;
18856
- };
18857
- };
18858
- } | {
18859
18847
  output: {
18860
18848
  name?: string;
18861
18849
  steps: {
@@ -18892,6 +18880,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18892
18880
  agentProfile?: string | undefined;
18893
18881
  };
18894
18882
  };
18883
+ } | {
18884
+ output: {
18885
+ error: string;
18886
+ };
18887
+ outputFormat: "json";
18888
+ status: 400 | 404 | 409;
18889
+ input: {
18890
+ json: {
18891
+ task: string;
18892
+ agentProfile?: string | undefined;
18893
+ };
18894
+ };
18895
18895
  };
18896
18896
  };
18897
18897
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18941,42 +18941,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18941
18941
  "/ui-state": {
18942
18942
  $put: {
18943
18943
  output: {
18944
- [x: string]: import("hono/utils/types").JSONValue;
18945
- sidebarLimits?: {
18946
- overall?: number | null | undefined;
18947
- needsYou?: number | null | undefined;
18948
- finished?: number | null | undefined;
18949
- working?: number | null | undefined;
18950
- } | undefined;
18951
- lastTask?: {
18952
- source: "skill" | "workflow";
18953
- ref: string;
18954
- } | null | undefined;
18955
- recentSources?: {
18956
- source: "skill" | "workflow";
18957
- ref: string;
18958
- }[] | undefined;
18959
- lastWorktree?: boolean | undefined;
18960
- lastAutonomous?: boolean | undefined;
18961
- skillUsage?: {
18962
- [x: string]: number;
18963
- } | undefined;
18964
- runsView?: "list" | "table" | undefined;
18965
- githubView?: "issues" | "prs" | undefined;
18966
- appearance?: {
18967
- accent?: "cezarion" | "lime" | "violet" | undefined;
18968
- density?: "comfortable" | "compact" | "ultra" | undefined;
18969
- width?: "narrow" | "wide" | undefined;
18970
- } | undefined;
18971
- promptTemplates?: {
18972
- id: string;
18973
- label: string;
18974
- text: string;
18975
- skills?: string[] | undefined;
18976
- }[] | undefined;
18944
+ error: string;
18977
18945
  };
18978
18946
  outputFormat: "json";
18979
- status: import("hono/utils/http-status").ContentfulStatusCode;
18947
+ status: 500;
18980
18948
  input: {
18981
18949
  json: {
18982
18950
  [x: string]: unknown;
@@ -19014,10 +18982,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19014
18982
  };
19015
18983
  } | {
19016
18984
  output: {
19017
- error: string;
18985
+ [x: string]: import("hono/utils/types").JSONValue;
18986
+ sidebarLimits?: {
18987
+ overall?: number | null | undefined;
18988
+ needsYou?: number | null | undefined;
18989
+ finished?: number | null | undefined;
18990
+ working?: number | null | undefined;
18991
+ } | undefined;
18992
+ lastTask?: {
18993
+ source: "skill" | "workflow";
18994
+ ref: string;
18995
+ } | null | undefined;
18996
+ recentSources?: {
18997
+ source: "skill" | "workflow";
18998
+ ref: string;
18999
+ }[] | undefined;
19000
+ lastWorktree?: boolean | undefined;
19001
+ lastAutonomous?: boolean | undefined;
19002
+ skillUsage?: {
19003
+ [x: string]: number;
19004
+ } | undefined;
19005
+ runsView?: "list" | "table" | undefined;
19006
+ githubView?: "issues" | "prs" | undefined;
19007
+ appearance?: {
19008
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19009
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19010
+ width?: "narrow" | "wide" | undefined;
19011
+ } | undefined;
19012
+ promptTemplates?: {
19013
+ id: string;
19014
+ label: string;
19015
+ text: string;
19016
+ skills?: string[] | undefined;
19017
+ }[] | undefined;
19018
19018
  };
19019
19019
  outputFormat: "json";
19020
- status: 500;
19020
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19021
19021
  input: {
19022
19022
  json: {
19023
19023
  [x: string]: unknown;
@@ -19094,34 +19094,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19094
19094
  "/config": {
19095
19095
  $put: {
19096
19096
  output: {
19097
- archiveOnMerge: boolean | null;
19098
- effectiveArchiveOnMerge: boolean;
19099
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19100
- baseBranch: string | null;
19101
- defaultRunner: string;
19102
- systemPrompt: string | null;
19103
- defaultModels: {
19104
- [x: string]: string | undefined;
19105
- };
19106
- modelsLocked: boolean;
19107
- maxParallel: number;
19108
- memoryLimitMb: number | null;
19109
- worktreeRetention: number;
19110
- liveTitleUpdates: boolean | null;
19111
- reviewGate: boolean | null;
19112
- worktreeSetup: {
19113
- commands: string[];
19114
- timeoutSeconds: number;
19115
- } | null;
19116
- worktreeSetupIssue: string | null;
19117
- worktreeTeardown: {
19118
- commands: string[];
19119
- timeoutSeconds: number;
19120
- } | null;
19121
- worktreeTeardownIssue: string | null;
19097
+ error: string;
19122
19098
  };
19123
19099
  outputFormat: "json";
19124
- status: import("hono/utils/http-status").ContentfulStatusCode;
19100
+ status: 409;
19125
19101
  input: {
19126
19102
  json: {
19127
19103
  archiveOnMerge?: boolean | null | undefined;
@@ -19149,7 +19125,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19149
19125
  error: string;
19150
19126
  };
19151
19127
  outputFormat: "json";
19152
- status: 409;
19128
+ status: 500;
19153
19129
  input: {
19154
19130
  json: {
19155
19131
  archiveOnMerge?: boolean | null | undefined;
@@ -19174,10 +19150,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19174
19150
  };
19175
19151
  } | {
19176
19152
  output: {
19177
- error: string;
19153
+ archiveOnMerge: boolean | null;
19154
+ effectiveArchiveOnMerge: boolean;
19155
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19156
+ baseBranch: string | null;
19157
+ defaultRunner: string;
19158
+ systemPrompt: string | null;
19159
+ defaultModels: {
19160
+ [x: string]: string | undefined;
19161
+ };
19162
+ modelsLocked: boolean;
19163
+ maxParallel: number;
19164
+ memoryLimitMb: number | null;
19165
+ worktreeRetention: number;
19166
+ liveTitleUpdates: boolean | null;
19167
+ reviewGate: boolean | null;
19168
+ worktreeSetup: {
19169
+ commands: string[];
19170
+ timeoutSeconds: number;
19171
+ } | null;
19172
+ worktreeSetupIssue: string | null;
19173
+ worktreeTeardown: {
19174
+ commands: string[];
19175
+ timeoutSeconds: number;
19176
+ } | null;
19177
+ worktreeTeardownIssue: string | null;
19178
19178
  };
19179
19179
  outputFormat: "json";
19180
- status: 500;
19180
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19181
19181
  input: {
19182
19182
  json: {
19183
19183
  archiveOnMerge?: boolean | null | undefined;
@@ -19205,9 +19205,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19205
19205
  }, "/"> | import("hono/types").MergeSchemaPath<{
19206
19206
  "/runs/:id/events": {
19207
19207
  $get: {
19208
- output: {};
19209
- outputFormat: string;
19210
- status: import("hono/utils/http-status").StatusCode;
19208
+ output: {
19209
+ error: string;
19210
+ code?: "invalid_input" | undefined;
19211
+ };
19212
+ outputFormat: "json";
19213
+ status: 400;
19211
19214
  input: {
19212
19215
  param: {
19213
19216
  id: string;
@@ -19219,12 +19222,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19219
19222
  };
19220
19223
  };
19221
19224
  } | {
19222
- output: {
19223
- error: string;
19224
- code?: "invalid_input" | undefined;
19225
- };
19226
- outputFormat: "json";
19227
- status: 400;
19225
+ output: {};
19226
+ outputFormat: string;
19227
+ status: import("hono/utils/http-status").StatusCode;
19228
19228
  input: {
19229
19229
  param: {
19230
19230
  id: string;
@@ -19268,7 +19268,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19268
19268
  error: string;
19269
19269
  };
19270
19270
  outputFormat: "json";
19271
- status: 409;
19271
+ status: 400;
19272
19272
  input: {
19273
19273
  json: {
19274
19274
  target: string;
@@ -19279,7 +19279,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19279
19279
  error: string;
19280
19280
  };
19281
19281
  outputFormat: "json";
19282
- status: 400;
19282
+ status: 409;
19283
19283
  input: {
19284
19284
  json: {
19285
19285
  target: string;
@@ -19387,14 +19387,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19387
19387
  "/agent-config/:id": {
19388
19388
  $put: {
19389
19389
  output: {
19390
- id: string;
19391
- path: string;
19392
- exists: boolean;
19393
- content: string;
19394
- version: string | null;
19390
+ error: string;
19395
19391
  };
19396
19392
  outputFormat: "json";
19397
- status: import("hono/utils/http-status").ContentfulStatusCode;
19393
+ status: 404;
19398
19394
  input: {
19399
19395
  json: {
19400
19396
  content: string;
@@ -19407,10 +19403,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19407
19403
  };
19408
19404
  } | {
19409
19405
  output: {
19410
- error: string;
19406
+ id: string;
19407
+ path: string;
19408
+ exists: boolean;
19409
+ content: string;
19410
+ version: string | null;
19411
19411
  };
19412
19412
  outputFormat: "json";
19413
- status: 404;
19413
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19414
19414
  input: {
19415
19415
  json: {
19416
19416
  content: string;
@@ -19510,10 +19510,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19510
19510
  };
19511
19511
  } | {
19512
19512
  output: {
19513
- error: string;
19513
+ runId: string;
19514
+ worktreeReclaimedAt: string;
19514
19515
  };
19515
19516
  outputFormat: "json";
19516
- status: 404 | 409;
19517
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19517
19518
  input: {
19518
19519
  param: {
19519
19520
  runId: string;
@@ -19525,11 +19526,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19525
19526
  };
19526
19527
  } | {
19527
19528
  output: {
19528
- runId: string;
19529
- worktreeReclaimedAt: string;
19529
+ error: string;
19530
19530
  };
19531
19531
  outputFormat: "json";
19532
- status: import("hono/utils/http-status").ContentfulStatusCode;
19532
+ status: 404 | 409;
19533
19533
  input: {
19534
19534
  param: {
19535
19535
  runId: string;
@@ -19689,10 +19689,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19689
19689
  "/workflows": {
19690
19690
  $post: {
19691
19691
  output: {
19692
- error: string;
19692
+ path: string;
19693
+ name: string;
19693
19694
  };
19694
19695
  outputFormat: "json";
19695
- status: 400;
19696
+ status: 201;
19696
19697
  input: {
19697
19698
  json: {
19698
19699
  name: string;
@@ -19725,10 +19726,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19725
19726
  } | {
19726
19727
  output: {
19727
19728
  error: string;
19728
- exists: true;
19729
19729
  };
19730
19730
  outputFormat: "json";
19731
- status: 409;
19731
+ status: 400;
19732
19732
  input: {
19733
19733
  json: {
19734
19734
  name: string;
@@ -19761,9 +19761,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19761
19761
  } | {
19762
19762
  output: {
19763
19763
  error: string;
19764
+ exists: true;
19764
19765
  };
19765
19766
  outputFormat: "json";
19766
- status: 500;
19767
+ status: 409;
19767
19768
  input: {
19768
19769
  json: {
19769
19770
  name: string;
@@ -19795,11 +19796,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19795
19796
  };
19796
19797
  } | {
19797
19798
  output: {
19798
- path: string;
19799
- name: string;
19799
+ error: string;
19800
19800
  };
19801
19801
  outputFormat: "json";
19802
- status: 201;
19802
+ status: 500;
19803
19803
  input: {
19804
19804
  json: {
19805
19805
  name: string;
@@ -19835,10 +19835,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19835
19835
  "/workflows/:name": {
19836
19836
  $delete: {
19837
19837
  output: {
19838
- error: string;
19838
+ ok: true;
19839
+ path: string;
19839
19840
  };
19840
19841
  outputFormat: "json";
19841
- status: 400 | 404 | 409 | 500;
19842
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19842
19843
  input: {
19843
19844
  param: {
19844
19845
  name: string;
@@ -19846,11 +19847,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19846
19847
  };
19847
19848
  } | {
19848
19849
  output: {
19849
- ok: true;
19850
- path: string;
19850
+ error: string;
19851
19851
  };
19852
19852
  outputFormat: "json";
19853
- status: import("hono/utils/http-status").ContentfulStatusCode;
19853
+ status: 400 | 404 | 409 | 500;
19854
19854
  input: {
19855
19855
  param: {
19856
19856
  name: string;
@@ -20791,14 +20791,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20791
20791
  "/repo/branches/delete": {
20792
20792
  $post: {
20793
20793
  output: {
20794
- error: string;
20794
+ deleted: string[];
20795
20795
  refused: {
20796
20796
  name: string;
20797
20797
  reason: string;
20798
20798
  }[];
20799
+ dropped?: {
20800
+ sha: string;
20801
+ subject: string;
20802
+ }[] | undefined;
20799
20803
  };
20800
20804
  outputFormat: "json";
20801
- status: 409;
20805
+ status: 200;
20802
20806
  input: {
20803
20807
  json: {
20804
20808
  names: string[];
@@ -20807,18 +20811,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20807
20811
  };
20808
20812
  } | {
20809
20813
  output: {
20810
- deleted: string[];
20814
+ error: string;
20811
20815
  refused: {
20812
20816
  name: string;
20813
20817
  reason: string;
20814
20818
  }[];
20815
- dropped?: {
20816
- sha: string;
20817
- subject: string;
20818
- }[] | undefined;
20819
20819
  };
20820
20820
  outputFormat: "json";
20821
- status: 200;
20821
+ status: 409;
20822
20822
  input: {
20823
20823
  json: {
20824
20824
  names: string[];
@@ -20839,9 +20839,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20839
20839
  } & {
20840
20840
  "/repo/commit/:sha": {
20841
20841
  $get: {
20842
- output: string;
20843
- outputFormat: "text";
20844
- status: import("hono/utils/http-status").ContentfulStatusCode;
20842
+ output: {
20843
+ error: string;
20844
+ code?: "invalid_input" | undefined;
20845
+ };
20846
+ outputFormat: "json";
20847
+ status: 400;
20845
20848
  input: {
20846
20849
  query: {
20847
20850
  structured?: string | undefined;
@@ -20854,10 +20857,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20854
20857
  } | {
20855
20858
  output: {
20856
20859
  error: string;
20857
- code?: "invalid_input" | undefined;
20858
20860
  };
20859
20861
  outputFormat: "json";
20860
- status: 400;
20862
+ status: 409;
20861
20863
  input: {
20862
20864
  query: {
20863
20865
  structured?: string | undefined;
@@ -20901,11 +20903,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20901
20903
  };
20902
20904
  };
20903
20905
  } | {
20904
- output: {
20905
- error: string;
20906
- };
20907
- outputFormat: "json";
20908
- status: 409;
20906
+ output: string;
20907
+ outputFormat: "text";
20908
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20909
20909
  input: {
20910
20910
  query: {
20911
20911
  structured?: string | undefined;
@@ -20937,15 +20937,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20937
20937
  };
20938
20938
  } | {
20939
20939
  output: {
20940
- type: 'file';
20941
- path: string;
20942
- size: number;
20943
- binary: boolean;
20944
- tooLarge: boolean;
20945
- content?: string | undefined;
20940
+ error: string;
20946
20941
  };
20947
20942
  outputFormat: "json";
20948
- status: import("hono/utils/http-status").ContentfulStatusCode;
20943
+ status: 409;
20949
20944
  input: {
20950
20945
  param: {
20951
20946
  sha: string;
@@ -20957,10 +20952,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20957
20952
  };
20958
20953
  } | {
20959
20954
  output: {
20960
- error: string;
20955
+ type: 'file';
20956
+ path: string;
20957
+ size: number;
20958
+ binary: boolean;
20959
+ tooLarge: boolean;
20960
+ content?: string | undefined;
20961
20961
  };
20962
20962
  outputFormat: "json";
20963
- status: 409;
20963
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20964
20964
  input: {
20965
20965
  param: {
20966
20966
  sha: string;
@@ -20988,15 +20988,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20988
20988
  };
20989
20989
  } | {
20990
20990
  output: {
20991
- type: 'file';
20992
- path: string;
20993
- size: number;
20994
- binary: boolean;
20995
- tooLarge: boolean;
20996
- content?: string | undefined;
20991
+ error: string;
20997
20992
  };
20998
20993
  outputFormat: "json";
20999
- status: import("hono/utils/http-status").ContentfulStatusCode;
20994
+ status: 409;
21000
20995
  input: {
21001
20996
  query: {
21002
20997
  path: string | string[];
@@ -21004,10 +20999,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21004
20999
  };
21005
21000
  } | {
21006
21001
  output: {
21007
- error: string;
21002
+ type: 'file';
21003
+ path: string;
21004
+ size: number;
21005
+ binary: boolean;
21006
+ tooLarge: boolean;
21007
+ content?: string | undefined;
21008
21008
  };
21009
21009
  outputFormat: "json";
21010
- status: 409;
21010
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21011
21011
  input: {
21012
21012
  query: {
21013
21013
  path: string | string[];
@@ -21018,6 +21018,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21018
21018
  } & {
21019
21019
  "/repo/changes": {
21020
21020
  $get: {
21021
+ output: {
21022
+ error: string;
21023
+ };
21024
+ outputFormat: "json";
21025
+ status: 409;
21026
+ input: {};
21027
+ } | {
21021
21028
  output: {
21022
21029
  files: {
21023
21030
  path: string;
@@ -21042,13 +21049,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21042
21049
  outputFormat: "json";
21043
21050
  status: import("hono/utils/http-status").ContentfulStatusCode;
21044
21051
  input: {};
21045
- } | {
21046
- output: {
21047
- error: string;
21048
- };
21049
- outputFormat: "json";
21050
- status: 409;
21051
- input: {};
21052
21052
  };
21053
21053
  };
21054
21054
  } & {
@@ -21073,10 +21073,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21073
21073
  "/repo/pull": {
21074
21074
  $post: {
21075
21075
  output: {
21076
- error: string;
21076
+ branch: string;
21077
+ pulled: true;
21078
+ summary: string;
21077
21079
  };
21078
21080
  outputFormat: "json";
21079
- status: 409;
21081
+ status: 200;
21080
21082
  input: {
21081
21083
  json: {
21082
21084
  branch?: string | undefined;
@@ -21085,12 +21087,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21085
21087
  };
21086
21088
  } | {
21087
21089
  output: {
21088
- branch: string;
21089
- pulled: true;
21090
- summary: string;
21090
+ error: string;
21091
21091
  };
21092
21092
  outputFormat: "json";
21093
- status: 200;
21093
+ status: 409;
21094
21094
  input: {
21095
21095
  json: {
21096
21096
  branch?: string | undefined;
@@ -22334,6 +22334,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22334
22334
  } & {
22335
22335
  "/run-summaries": {
22336
22336
  $get: {
22337
+ output: {
22338
+ error: string;
22339
+ code?: "invalid_input" | undefined;
22340
+ };
22341
+ outputFormat: "json";
22342
+ status: 400;
22343
+ input: {
22344
+ query: {
22345
+ archived?: "all" | "recent" | undefined;
22346
+ };
22347
+ };
22348
+ } | {
22337
22349
  output: {
22338
22350
  id: string;
22339
22351
  title: string;
@@ -22471,18 +22483,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22471
22483
  archived?: "all" | "recent" | undefined;
22472
22484
  };
22473
22485
  };
22474
- } | {
22475
- output: {
22476
- error: string;
22477
- code?: "invalid_input" | undefined;
22478
- };
22479
- outputFormat: "json";
22480
- status: 400;
22481
- input: {
22482
- query: {
22483
- archived?: "all" | "recent" | undefined;
22484
- };
22485
- };
22486
22486
  };
22487
22487
  };
22488
22488
  } & {
@@ -22844,11 +22844,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22844
22844
  "/runs/:id/worker-destroy": {
22845
22845
  $post: {
22846
22846
  output: {
22847
- error: string;
22848
- code?: "invalid_input" | undefined;
22847
+ workerId: string;
22848
+ state: "complete" | "incomplete";
22849
+ work?: {
22850
+ uncommittedFiles: number;
22851
+ commits: number;
22852
+ } | undefined;
22853
+ deleted?: ({
22854
+ kind: "worktree";
22855
+ path: string;
22856
+ } | {
22857
+ kind: "branch";
22858
+ ref: string;
22859
+ })[] | undefined;
22860
+ remaining: ("branch" | "process" | "worktree")[];
22861
+ error?: string | undefined;
22849
22862
  };
22850
22863
  outputFormat: "json";
22851
- status: 400;
22864
+ status: 200;
22852
22865
  input: {
22853
22866
  query: {
22854
22867
  [x: string]: string | string[];
@@ -22864,24 +22877,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22864
22877
  };
22865
22878
  } | {
22866
22879
  output: {
22867
- workerId: string;
22868
- state: "complete" | "incomplete";
22869
- work?: {
22870
- uncommittedFiles: number;
22871
- commits: number;
22872
- } | undefined;
22873
- deleted?: ({
22874
- kind: "worktree";
22875
- path: string;
22876
- } | {
22877
- kind: "branch";
22878
- ref: string;
22879
- })[] | undefined;
22880
- remaining: ("branch" | "process" | "worktree")[];
22881
- error?: string | undefined;
22880
+ error: string;
22881
+ code?: "invalid_input" | undefined;
22882
22882
  };
22883
22883
  outputFormat: "json";
22884
- status: 200;
22884
+ status: 400;
22885
22885
  input: {
22886
22886
  query: {
22887
22887
  [x: string]: string | string[];
@@ -22997,6 +22997,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22997
22997
  } & {
22998
22998
  "/runs/:id/archive": {
22999
22999
  $post: {
23000
+ output: {
23001
+ error: string;
23002
+ };
23003
+ outputFormat: "json";
23004
+ status: 404;
23005
+ input: {
23006
+ json: {
23007
+ archived?: boolean | undefined;
23008
+ };
23009
+ } & {
23010
+ param: {
23011
+ id: string;
23012
+ };
23013
+ };
23014
+ } | {
23000
23015
  output: {
23001
23016
  archiveWhenDone?: boolean | undefined;
23002
23017
  autoMergePr?: boolean | undefined;
@@ -24195,32 +24210,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24195
24210
  id: string;
24196
24211
  };
24197
24212
  };
24198
- } | {
24213
+ };
24214
+ };
24215
+ } & {
24216
+ "/runs/:id/pin": {
24217
+ $post: {
24199
24218
  output: {
24200
24219
  error: string;
24220
+ code?: "invalid_input" | undefined;
24201
24221
  };
24202
24222
  outputFormat: "json";
24203
- status: 404;
24223
+ status: 400;
24204
24224
  input: {
24205
- json: {
24206
- archived?: boolean | undefined;
24207
- };
24208
- } & {
24209
24225
  param: {
24210
24226
  id: string;
24211
24227
  };
24228
+ } & {
24229
+ json: {
24230
+ pinned?: boolean | undefined;
24231
+ };
24212
24232
  };
24213
- };
24214
- };
24215
- } & {
24216
- "/runs/:id/pin": {
24217
- $post: {
24233
+ } | {
24218
24234
  output: {
24219
24235
  error: string;
24220
- code?: "invalid_input" | undefined;
24221
24236
  };
24222
24237
  outputFormat: "json";
24223
- status: 400;
24238
+ status: 404;
24224
24239
  input: {
24225
24240
  param: {
24226
24241
  id: string;
@@ -25429,21 +25444,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25429
25444
  pinned?: boolean | undefined;
25430
25445
  };
25431
25446
  };
25432
- } | {
25433
- output: {
25434
- error: string;
25435
- };
25436
- outputFormat: "json";
25437
- status: 404;
25438
- input: {
25439
- param: {
25440
- id: string;
25441
- };
25442
- } & {
25443
- json: {
25444
- pinned?: boolean | undefined;
25445
- };
25446
- };
25447
25447
  };
25448
25448
  };
25449
25449
  } & {
@@ -25465,22 +25465,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25465
25465
  message?: string | undefined;
25466
25466
  };
25467
25467
  };
25468
- } | {
25469
- output: {
25470
- error: string;
25471
- };
25472
- outputFormat: "json";
25473
- status: 400 | 404 | 409;
25474
- input: {
25475
- param: {
25476
- id: string;
25477
- };
25478
- } & {
25479
- json: {
25480
- notify: boolean;
25481
- message?: string | undefined;
25482
- };
25483
- };
25484
25468
  } | {
25485
25469
  output: {
25486
25470
  archiveWhenDone?: boolean | undefined;
@@ -26681,6 +26665,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26681
26665
  message?: string | undefined;
26682
26666
  };
26683
26667
  };
26668
+ } | {
26669
+ output: {
26670
+ error: string;
26671
+ };
26672
+ outputFormat: "json";
26673
+ status: 400 | 404 | 409;
26674
+ input: {
26675
+ param: {
26676
+ id: string;
26677
+ };
26678
+ } & {
26679
+ json: {
26680
+ notify: boolean;
26681
+ message?: string | undefined;
26682
+ };
26683
+ };
26684
26684
  };
26685
26685
  };
26686
26686
  } & {
@@ -26712,6 +26712,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26712
26712
  } & {
26713
26713
  "/runs/:id/read": {
26714
26714
  $post: {
26715
+ output: {
26716
+ error: string;
26717
+ };
26718
+ outputFormat: "json";
26719
+ status: 404;
26720
+ input: {
26721
+ param: {
26722
+ id: string;
26723
+ };
26724
+ };
26725
+ } | {
26715
26726
  output: {
26716
26727
  archiveWhenDone?: boolean | undefined;
26717
26728
  autoMergePr?: boolean | undefined;
@@ -27906,7 +27917,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27906
27917
  id: string;
27907
27918
  };
27908
27919
  };
27909
- } | {
27920
+ };
27921
+ };
27922
+ } & {
27923
+ "/runs/:id/unread": {
27924
+ $post: {
27910
27925
  output: {
27911
27926
  error: string;
27912
27927
  };
@@ -27917,11 +27932,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27917
27932
  id: string;
27918
27933
  };
27919
27934
  };
27920
- };
27921
- };
27922
- } & {
27923
- "/runs/:id/unread": {
27924
- $post: {
27935
+ } | {
27925
27936
  output: {
27926
27937
  archiveWhenDone?: boolean | undefined;
27927
27938
  autoMergePr?: boolean | undefined;
@@ -29116,17 +29127,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29116
29127
  id: string;
29117
29128
  };
29118
29129
  };
29119
- } | {
29120
- output: {
29121
- error: string;
29122
- };
29123
- outputFormat: "json";
29124
- status: 404;
29125
- input: {
29126
- param: {
29127
- id: string;
29128
- };
29129
- };
29130
29130
  };
29131
29131
  };
29132
29132
  } & {
@@ -30422,6 +30422,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30422
30422
  } & {
30423
30423
  "/runs/:id": {
30424
30424
  $get: {
30425
+ output: {
30426
+ error: string;
30427
+ };
30428
+ outputFormat: "json";
30429
+ status: 404;
30430
+ input: {
30431
+ param: {
30432
+ id: string;
30433
+ };
30434
+ };
30435
+ } | {
30425
30436
  output: {
30426
30437
  archiveWhenDone?: boolean | undefined;
30427
30438
  autoMergePr?: boolean | undefined;
@@ -31624,17 +31635,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31624
31635
  id: string;
31625
31636
  };
31626
31637
  };
31627
- } | {
31628
- output: {
31629
- error: string;
31630
- };
31631
- outputFormat: "json";
31632
- status: 404;
31633
- input: {
31634
- param: {
31635
- id: string;
31636
- };
31637
- };
31638
31638
  };
31639
31639
  };
31640
31640
  } & {
@@ -31762,6 +31762,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31762
31762
  } & {
31763
31763
  "/runs/:id": {
31764
31764
  $patch: {
31765
+ output: {
31766
+ error: string;
31767
+ };
31768
+ outputFormat: "json";
31769
+ status: 400;
31770
+ input: {
31771
+ json: {
31772
+ archiveWhenDone?: boolean | undefined;
31773
+ autoMergePr?: boolean | undefined;
31774
+ allowWorkers?: boolean | undefined;
31775
+ allowMessaging?: boolean | undefined;
31776
+ title?: string | undefined;
31777
+ task?: string | undefined;
31778
+ };
31779
+ } & {
31780
+ param: {
31781
+ id: string;
31782
+ };
31783
+ };
31784
+ } | {
31785
+ output: {
31786
+ error: string;
31787
+ };
31788
+ outputFormat: "json";
31789
+ status: 404;
31790
+ input: {
31791
+ json: {
31792
+ archiveWhenDone?: boolean | undefined;
31793
+ autoMergePr?: boolean | undefined;
31794
+ allowWorkers?: boolean | undefined;
31795
+ allowMessaging?: boolean | undefined;
31796
+ title?: string | undefined;
31797
+ task?: string | undefined;
31798
+ };
31799
+ } & {
31800
+ param: {
31801
+ id: string;
31802
+ };
31803
+ };
31804
+ } | {
31805
+ output: {
31806
+ error: string;
31807
+ };
31808
+ outputFormat: "json";
31809
+ status: 409;
31810
+ input: {
31811
+ json: {
31812
+ archiveWhenDone?: boolean | undefined;
31813
+ autoMergePr?: boolean | undefined;
31814
+ allowWorkers?: boolean | undefined;
31815
+ allowMessaging?: boolean | undefined;
31816
+ title?: string | undefined;
31817
+ task?: string | undefined;
31818
+ };
31819
+ } & {
31820
+ param: {
31821
+ id: string;
31822
+ };
31823
+ };
31824
+ } | {
31765
31825
  output: {
31766
31826
  archiveWhenDone?: boolean | undefined;
31767
31827
  autoMergePr?: boolean | undefined;
@@ -32965,66 +33025,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32965
33025
  id: string;
32966
33026
  };
32967
33027
  };
32968
- } | {
32969
- output: {
32970
- error: string;
32971
- };
32972
- outputFormat: "json";
32973
- status: 404;
32974
- input: {
32975
- json: {
32976
- archiveWhenDone?: boolean | undefined;
32977
- autoMergePr?: boolean | undefined;
32978
- allowWorkers?: boolean | undefined;
32979
- allowMessaging?: boolean | undefined;
32980
- title?: string | undefined;
32981
- task?: string | undefined;
32982
- };
32983
- } & {
32984
- param: {
32985
- id: string;
32986
- };
32987
- };
32988
- } | {
32989
- output: {
32990
- error: string;
32991
- };
32992
- outputFormat: "json";
32993
- status: 400;
32994
- input: {
32995
- json: {
32996
- archiveWhenDone?: boolean | undefined;
32997
- autoMergePr?: boolean | undefined;
32998
- allowWorkers?: boolean | undefined;
32999
- allowMessaging?: boolean | undefined;
33000
- title?: string | undefined;
33001
- task?: string | undefined;
33002
- };
33003
- } & {
33004
- param: {
33005
- id: string;
33006
- };
33007
- };
33008
- } | {
33009
- output: {
33010
- error: string;
33011
- };
33012
- outputFormat: "json";
33013
- status: 409;
33014
- input: {
33015
- json: {
33016
- archiveWhenDone?: boolean | undefined;
33017
- autoMergePr?: boolean | undefined;
33018
- allowWorkers?: boolean | undefined;
33019
- allowMessaging?: boolean | undefined;
33020
- title?: string | undefined;
33021
- task?: string | undefined;
33022
- };
33023
- } & {
33024
- param: {
33025
- id: string;
33026
- };
33027
- };
33028
33028
  };
33029
33029
  };
33030
33030
  } & {
@@ -33125,6 +33125,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33125
33125
  } & {
33126
33126
  "/runs/:id/messages": {
33127
33127
  $post: {
33128
+ output: {
33129
+ error: string;
33130
+ };
33131
+ outputFormat: "json";
33132
+ status: 400;
33133
+ input: {
33134
+ json: {
33135
+ text?: string | undefined;
33136
+ images?: {
33137
+ mediaType: string;
33138
+ data: string;
33139
+ }[] | undefined;
33140
+ };
33141
+ } & {
33142
+ param: {
33143
+ id: string;
33144
+ };
33145
+ };
33146
+ } | {
33128
33147
  output: {
33129
33148
  error: string;
33130
33149
  };
@@ -33181,25 +33200,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33181
33200
  id: string;
33182
33201
  };
33183
33202
  };
33184
- } | {
33185
- output: {
33186
- error: string;
33187
- };
33188
- outputFormat: "json";
33189
- status: 400;
33190
- input: {
33191
- json: {
33192
- text?: string | undefined;
33193
- images?: {
33194
- mediaType: string;
33195
- data: string;
33196
- }[] | undefined;
33197
- };
33198
- } & {
33199
- param: {
33200
- id: string;
33201
- };
33202
- };
33203
33203
  } | {
33204
33204
  output: {
33205
33205
  queued: true;
@@ -33254,7 +33254,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33254
33254
  error: string;
33255
33255
  };
33256
33256
  outputFormat: "json";
33257
- status: 404;
33257
+ status: 400;
33258
33258
  input: {
33259
33259
  json: {
33260
33260
  text?: string | undefined;
@@ -33275,7 +33275,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33275
33275
  error: string;
33276
33276
  };
33277
33277
  outputFormat: "json";
33278
- status: 400;
33278
+ status: 404;
33279
33279
  input: {
33280
33280
  json: {
33281
33281
  text?: string | undefined;
@@ -33495,10 +33495,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33495
33495
  "/runs/:id/open-in-cli": {
33496
33496
  $post: {
33497
33497
  output: {
33498
- error: string;
33498
+ opened: true;
33499
+ command: string;
33499
33500
  };
33500
33501
  outputFormat: "json";
33501
- status: 404 | 409;
33502
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33502
33503
  input: {
33503
33504
  param: {
33504
33505
  id: string;
@@ -33506,11 +33507,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33506
33507
  };
33507
33508
  } | {
33508
33509
  output: {
33509
- opened: true;
33510
- command: string;
33510
+ error: string;
33511
33511
  };
33512
33512
  outputFormat: "json";
33513
- status: import("hono/utils/http-status").ContentfulStatusCode;
33513
+ status: 404 | 409;
33514
33514
  input: {
33515
33515
  param: {
33516
33516
  id: string;
@@ -33598,9 +33598,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33598
33598
  } & {
33599
33599
  "/runs/:id/images/:file": {
33600
33600
  $get: {
33601
- output: {};
33602
- outputFormat: string;
33603
- status: import("hono/utils/http-status").StatusCode;
33601
+ output: {
33602
+ error: string;
33603
+ code?: "invalid_input" | undefined;
33604
+ };
33605
+ outputFormat: "json";
33606
+ status: 400;
33604
33607
  input: {
33605
33608
  param: {
33606
33609
  id: string;
@@ -33608,12 +33611,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33608
33611
  };
33609
33612
  };
33610
33613
  } | {
33611
- output: {
33612
- error: string;
33613
- code?: "invalid_input" | undefined;
33614
- };
33615
- outputFormat: "json";
33616
- status: 400;
33614
+ output: {};
33615
+ outputFormat: string;
33616
+ status: import("hono/utils/http-status").StatusCode;
33617
33617
  input: {
33618
33618
  param: {
33619
33619
  id: string;
@@ -33646,7 +33646,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33646
33646
  error: string;
33647
33647
  };
33648
33648
  outputFormat: "json";
33649
- status: 409;
33649
+ status: 404;
33650
33650
  input: {
33651
33651
  param: {
33652
33652
  id: string;
@@ -33662,7 +33662,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33662
33662
  error: string;
33663
33663
  };
33664
33664
  outputFormat: "json";
33665
- status: 404;
33665
+ status: 409;
33666
33666
  input: {
33667
33667
  param: {
33668
33668
  id: string;
@@ -33827,17 +33827,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33827
33827
  } & {
33828
33828
  "/runs/:id/changes": {
33829
33829
  $get: {
33830
- output: {
33831
- error: string;
33832
- };
33833
- outputFormat: "json";
33834
- status: 404 | 409;
33835
- input: {
33836
- param: {
33837
- id: string;
33838
- };
33839
- };
33840
- } | {
33841
33830
  output: {
33842
33831
  files: {
33843
33832
  path: string;
@@ -33866,11 +33855,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33866
33855
  id: string;
33867
33856
  };
33868
33857
  };
33869
- };
33870
- };
33871
- } & {
33872
- "/runs/:id/commits": {
33873
- $get: {
33858
+ } | {
33874
33859
  output: {
33875
33860
  error: string;
33876
33861
  };
@@ -33881,7 +33866,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33881
33866
  id: string;
33882
33867
  };
33883
33868
  };
33884
- } | {
33869
+ };
33870
+ };
33871
+ } & {
33872
+ "/runs/:id/commits": {
33873
+ $get: {
33885
33874
  output: {
33886
33875
  commits: {
33887
33876
  sha: string;
@@ -33897,11 +33886,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33897
33886
  id: string;
33898
33887
  };
33899
33888
  };
33900
- };
33901
- };
33902
- } & {
33903
- "/runs/:id/commit/:sha": {
33904
- $get: {
33889
+ } | {
33905
33890
  output: {
33906
33891
  error: string;
33907
33892
  };
@@ -33910,11 +33895,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33910
33895
  input: {
33911
33896
  param: {
33912
33897
  id: string;
33913
- } & {
33914
- sha: string;
33915
33898
  };
33916
33899
  };
33917
- } | {
33900
+ };
33901
+ };
33902
+ } & {
33903
+ "/runs/:id/commit/:sha": {
33904
+ $get: {
33918
33905
  output: {
33919
33906
  sha: string;
33920
33907
  subject: string;
@@ -33945,6 +33932,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33945
33932
  sha: string;
33946
33933
  };
33947
33934
  };
33935
+ } | {
33936
+ output: {
33937
+ error: string;
33938
+ };
33939
+ outputFormat: "json";
33940
+ status: 404 | 409;
33941
+ input: {
33942
+ param: {
33943
+ id: string;
33944
+ } & {
33945
+ sha: string;
33946
+ };
33947
+ };
33948
33948
  };
33949
33949
  };
33950
33950
  } & {
@@ -33968,10 +33968,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33968
33968
  };
33969
33969
  } | {
33970
33970
  output: {
33971
- error: string;
33971
+ type: 'file';
33972
+ path: string;
33973
+ size: number;
33974
+ binary: boolean;
33975
+ tooLarge: boolean;
33976
+ content?: string | undefined;
33972
33977
  };
33973
33978
  outputFormat: "json";
33974
- status: 404 | 409;
33979
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33975
33980
  input: {
33976
33981
  param: {
33977
33982
  sha: string;
@@ -33984,15 +33989,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33984
33989
  };
33985
33990
  } | {
33986
33991
  output: {
33987
- type: 'file';
33988
- path: string;
33989
- size: number;
33990
- binary: boolean;
33991
- tooLarge: boolean;
33992
- content?: string | undefined;
33992
+ error: string;
33993
33993
  };
33994
33994
  outputFormat: "json";
33995
- status: import("hono/utils/http-status").ContentfulStatusCode;
33995
+ status: 404 | 409;
33996
33996
  input: {
33997
33997
  param: {
33998
33998
  sha: string;
@@ -34038,22 +34038,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34038
34038
  raw?: "1" | undefined;
34039
34039
  };
34040
34040
  };
34041
- } | {
34042
- output: {
34043
- error: string;
34044
- };
34045
- outputFormat: "json";
34046
- status: 404 | 409;
34047
- input: {
34048
- param: {
34049
- id: string;
34050
- };
34051
- } & {
34052
- query: {
34053
- path: string | string[];
34054
- raw?: "1" | undefined;
34055
- };
34056
- };
34057
34041
  } | {
34058
34042
  output: {
34059
34043
  type: "file";
@@ -34090,6 +34074,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34090
34074
  raw?: "1" | undefined;
34091
34075
  };
34092
34076
  };
34077
+ } | {
34078
+ output: {
34079
+ error: string;
34080
+ };
34081
+ outputFormat: "json";
34082
+ status: 404 | 409;
34083
+ input: {
34084
+ param: {
34085
+ id: string;
34086
+ };
34087
+ } & {
34088
+ query: {
34089
+ path: string | string[];
34090
+ raw?: "1" | undefined;
34091
+ };
34092
+ };
34093
34093
  };
34094
34094
  };
34095
34095
  } & {
@@ -34154,6 +34154,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34154
34154
  artifactId: string;
34155
34155
  };
34156
34156
  };
34157
+ } | {
34158
+ output: {
34159
+ error: string;
34160
+ };
34161
+ outputFormat: "json";
34162
+ status: 404;
34163
+ input: {
34164
+ param: {
34165
+ id: string;
34166
+ artifactId: string;
34167
+ };
34168
+ };
34157
34169
  } | {
34158
34170
  output: {
34159
34171
  type: "file";
@@ -34182,18 +34194,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34182
34194
  artifactId: string;
34183
34195
  };
34184
34196
  };
34185
- } | {
34186
- output: {
34187
- error: string;
34188
- };
34189
- outputFormat: "json";
34190
- status: 404;
34191
- input: {
34192
- param: {
34193
- id: string;
34194
- artifactId: string;
34195
- };
34196
- };
34197
34197
  };
34198
34198
  };
34199
34199
  } & {
@@ -34369,22 +34369,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34369
34369
  id: string;
34370
34370
  };
34371
34371
  };
34372
- } | {
34373
- output: {
34374
- error: string;
34375
- };
34376
- outputFormat: "json";
34377
- status: 404 | 409;
34378
- input: {
34379
- query: {
34380
- path?: string | undefined;
34381
- raw?: string | undefined;
34382
- };
34383
- } & {
34384
- param: {
34385
- id: string;
34386
- };
34387
- };
34388
34372
  } | {
34389
34373
  output: {
34390
34374
  type: 'file';
@@ -34429,16 +34413,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34429
34413
  id: string;
34430
34414
  };
34431
34415
  };
34416
+ } | {
34417
+ output: {
34418
+ error: string;
34419
+ };
34420
+ outputFormat: "json";
34421
+ status: 404 | 409;
34422
+ input: {
34423
+ query: {
34424
+ path?: string | undefined;
34425
+ raw?: string | undefined;
34426
+ };
34427
+ } & {
34428
+ param: {
34429
+ id: string;
34430
+ };
34431
+ };
34432
34432
  };
34433
34433
  };
34434
34434
  } & {
34435
34435
  "/runs/:id/git/commit": {
34436
34436
  $post: {
34437
34437
  output: {
34438
- error: string;
34438
+ committed: true;
34439
+ sha: string;
34439
34440
  };
34440
34441
  outputFormat: "json";
34441
- status: 404 | 409;
34442
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34442
34443
  input: {
34443
34444
  json: {
34444
34445
  message: string;
@@ -34450,11 +34451,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34450
34451
  };
34451
34452
  } | {
34452
34453
  output: {
34453
- committed: true;
34454
- sha: string;
34454
+ error: string;
34455
34455
  };
34456
34456
  outputFormat: "json";
34457
- status: import("hono/utils/http-status").ContentfulStatusCode;
34457
+ status: 404 | 409;
34458
34458
  input: {
34459
34459
  json: {
34460
34460
  message: string;
@@ -34470,10 +34470,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34470
34470
  "/runs/:id/git/push": {
34471
34471
  $post: {
34472
34472
  output: {
34473
- error: string;
34473
+ pushed: true;
34474
+ branch: string;
34475
+ remote: string;
34476
+ upstreamSet: boolean;
34474
34477
  };
34475
34478
  outputFormat: "json";
34476
- status: 404 | 409;
34479
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34477
34480
  input: {
34478
34481
  param: {
34479
34482
  id: string;
@@ -34481,13 +34484,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34481
34484
  };
34482
34485
  } | {
34483
34486
  output: {
34484
- pushed: true;
34485
- branch: string;
34486
- remote: string;
34487
- upstreamSet: boolean;
34487
+ error: string;
34488
34488
  };
34489
34489
  outputFormat: "json";
34490
- status: import("hono/utils/http-status").ContentfulStatusCode;
34490
+ status: 404 | 409;
34491
34491
  input: {
34492
34492
  param: {
34493
34493
  id: string;
@@ -34499,10 +34499,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34499
34499
  "/runs/:id/pr": {
34500
34500
  $post: {
34501
34501
  output: {
34502
- error: string;
34502
+ url: string;
34503
+ dryRun: boolean;
34503
34504
  };
34504
34505
  outputFormat: "json";
34505
- status: 404 | 409;
34506
+ status: 201;
34506
34507
  input: {
34507
34508
  param: {
34508
34509
  id: string;
@@ -34510,11 +34511,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34510
34511
  };
34511
34512
  } | {
34512
34513
  output: {
34513
- url: string;
34514
- dryRun: boolean;
34514
+ error: string;
34515
34515
  };
34516
34516
  outputFormat: "json";
34517
- status: 201;
34517
+ status: 404 | 409;
34518
34518
  input: {
34519
34519
  param: {
34520
34520
  id: string;
@@ -34526,10 +34526,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34526
34526
  "/runs/:id/remove-worktree": {
34527
34527
  $post: {
34528
34528
  output: {
34529
- error: string;
34529
+ removed: true;
34530
34530
  };
34531
34531
  outputFormat: "json";
34532
- status: 404 | 409;
34532
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34533
34533
  input: {
34534
34534
  param: {
34535
34535
  id: string;
@@ -34537,10 +34537,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34537
34537
  };
34538
34538
  } | {
34539
34539
  output: {
34540
- removed: true;
34540
+ error: string;
34541
34541
  };
34542
34542
  outputFormat: "json";
34543
- status: import("hono/utils/http-status").ContentfulStatusCode;
34543
+ status: 404 | 409;
34544
34544
  input: {
34545
34545
  param: {
34546
34546
  id: string;
@@ -34552,10 +34552,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34552
34552
  "/runs/:id": {
34553
34553
  $delete: {
34554
34554
  output: {
34555
- error: string;
34555
+ deleted: true;
34556
34556
  };
34557
34557
  outputFormat: "json";
34558
- status: 404 | 409;
34558
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34559
34559
  input: {
34560
34560
  param: {
34561
34561
  id: string;
@@ -34563,10 +34563,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34563
34563
  };
34564
34564
  } | {
34565
34565
  output: {
34566
- deleted: true;
34566
+ error: string;
34567
34567
  };
34568
34568
  outputFormat: "json";
34569
- status: import("hono/utils/http-status").ContentfulStatusCode;
34569
+ status: 404 | 409;
34570
34570
  input: {
34571
34571
  param: {
34572
34572
  id: string;