@hearsay-tools/squawk 0.19.0-pr4514.8939 → 0.19.0-pr4517.8948

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 (103) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/index.js +4 -1
  3. package/dist/contract/repo.d.ts +2 -0
  4. package/dist/delegation/transport.d.ts +65 -65
  5. package/dist/features/automations/automations-routes.d.ts +150 -150
  6. package/dist/server/activity-routes.d.ts +23 -23
  7. package/dist/server/{github-routes.d.ts → forge-routes.d.ts} +9 -6
  8. package/dist/server/{github-routes.js → forge-routes.js} +9 -6
  9. package/dist/server/forge-routes.js.map +1 -0
  10. package/dist/server/git-changes.d.ts +5 -0
  11. package/dist/server/git-changes.js +17 -1
  12. package/dist/server/git-changes.js.map +1 -1
  13. package/dist/server/project-settings-routes.d.ts +107 -107
  14. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  15. package/dist/server/providers-routes.d.ts +57 -57
  16. package/dist/server/repo-routes.d.ts +34 -34
  17. package/dist/server/runner-install-routes.d.ts +10 -10
  18. package/dist/server/runners-routes.d.ts +10 -10
  19. package/dist/server/runs-routes.d.ts +307 -306
  20. package/dist/server/server.d.ts +1210 -1208
  21. package/dist/server/server.js +3 -3
  22. package/dist/server/server.js.map +1 -1
  23. package/dist/server/workspace-routes.d.ts +85 -85
  24. package/package.json +4 -4
  25. package/web/dist/assets/{accounts-section-BWs_Op4q.js → accounts-section-CaxmZTt5.js} +1 -1
  26. package/web/dist/assets/{activity-motion-D_lzlbol.js → activity-motion-CbrUkQTd.js} +1 -1
  27. package/web/dist/assets/{activity-route-npBjTy91.js → activity-route-CadJy7vi.js} +1 -1
  28. package/web/dist/assets/{agent-config-section-CBwn34fV.js → agent-config-section-VRb4FLFD.js} +1 -1
  29. package/web/dist/assets/{agent-defaults-section-BLeHBg4E.js → agent-defaults-section-DkHcYJIf.js} +1 -1
  30. package/web/dist/assets/{appearance-LEzL_45W.js → appearance-BJIHxYbs.js} +1 -1
  31. package/web/dist/assets/{archive-on-merge-field-ave6eYwU.js → archive-on-merge-field-CU4_trJk.js} +1 -1
  32. package/web/dist/assets/attention-C9zoC-gL.js +1 -0
  33. package/web/dist/assets/automations-route-XUZUpXQ5.js +2 -0
  34. package/web/dist/assets/{automations-route-CzqZXK0W.css → automations-route-mn5aFSDU.css} +1 -1
  35. package/web/dist/assets/{commit-list-BpFn0yy-.js → commit-list-CErY8XX8.js} +1 -1
  36. package/web/dist/assets/{diff-C9prkoMN.js → diff-CceWqUDd.js} +2 -2
  37. package/web/dist/assets/{diff-controls-BlMnNuV4.js → diff-controls-DfCDXi9N.js} +1 -1
  38. package/web/dist/assets/{diff-view-B4HIRvi0.js → diff-view-CR6FPxJL.js} +1 -1
  39. package/web/dist/assets/{discard-changes-dialog-DSEAPMnA.js → discard-changes-dialog-DuFz1hmp.js} +1 -1
  40. package/web/dist/assets/{file-preview-BT_5H3ms.js → file-preview-kFFGzNc5.js} +1 -1
  41. package/web/dist/assets/{folder-browser-BSGB9hhQ.js → folder-browser-DiQGbqCN.js} +1 -1
  42. package/web/dist/assets/git-toolbar-C62biT4w.js +1 -0
  43. package/web/dist/assets/{github-NIisNx1G.js → github-5vuhHVRU.js} +1 -1
  44. package/web/dist/assets/{global-activity-route-E8K9u2n2.js → global-activity-route-CZmgudQQ.js} +1 -1
  45. package/web/dist/assets/index-BBQaXbpc.css +1 -0
  46. package/web/dist/assets/{index-DCiyvOmJ.js → index-bs9cMtXe.js} +5 -5
  47. package/web/dist/assets/{label-CV8tuTOO.js → label-B1zf-eXb.js} +1 -1
  48. package/web/dist/assets/{markdown-BUeamWrQ.js → markdown-Bj-PaWay.js} +1 -1
  49. package/web/dist/assets/middle-truncated-name-CFKiVLF5.js +1 -0
  50. package/web/dist/assets/{open-in-menu-Uw-sJhbG.js → open-in-menu-DCAALDG-.js} +1 -1
  51. package/web/dist/assets/{option-select-Cdd2UPAV.js → option-select-BkYWQoJr.js} +1 -1
  52. package/web/dist/assets/{preferences-section-XoysgB81.js → preferences-section-MzNXmTGy.js} +1 -1
  53. package/web/dist/assets/{preview-pane-connected-Dgx7IuKI.js → preview-pane-connected-CVmxGajb.js} +1 -1
  54. package/web/dist/assets/{project-location-BGsUFEoZ.js → project-location-C8aQlPwO.js} +1 -1
  55. package/web/dist/assets/{project-router-BHFXTx5l.js → project-router-onKnSy5a.js} +1 -1
  56. package/web/dist/assets/{projects-section-DImMzOUS.js → projects-section-CMLqvSxl.js} +1 -1
  57. package/web/dist/assets/{prompt-templates-section-DmEZQQiJ.js → prompt-templates-section-CjPFTpLk.js} +1 -1
  58. package/web/dist/assets/{queries-CIeJg62Y.js → queries-CII6fTHH.js} +1 -1
  59. package/web/dist/assets/{reference-chip-Dk69XD7Q.js → reference-chip-DS4MThmV.js} +1 -1
  60. package/web/dist/assets/{remote-settings-notice-De6tIJ-L.js → remote-settings-notice-4U3UwRJT.js} +1 -1
  61. package/web/dist/assets/repo-git-Bot1fcAC.js +1 -0
  62. package/web/dist/assets/{report-reader-DTgtThoF.js → report-reader-CyF6nudi.js} +1 -1
  63. package/web/dist/assets/{report-selection-BH0M_8bk.js → report-selection-DEA-7JTb.js} +1 -1
  64. package/web/dist/assets/{reports-BcNh-ewR.js → reports-Pl0nV_O2.js} +1 -1
  65. package/web/dist/assets/{resources-section-CLGNYsEI.js → resources-section-BkwpbFpC.js} +1 -1
  66. package/web/dist/assets/{review-panel-DJrz0DKA.js → review-panel-DWef76ZV.js} +1 -1
  67. package/web/dist/assets/{run-detail-refresh-DTnwaDy2.js → run-detail-refresh-Caj4BPPd.js} +1 -1
  68. package/web/dist/assets/{run-header-rOZ7Bfbt.js → run-header-DoNH-rZo.js} +1 -1
  69. package/web/dist/assets/{select-BRh3a5hj.js → select-BW2zjOcv.js} +1 -1
  70. package/web/dist/assets/{session-context-section-Cx7XfXh7.js → session-context-section-OVFScyl5.js} +1 -1
  71. package/web/dist/assets/{settings-agent-picker-BJ4aWg6X.js → settings-agent-picker-D-qjtUIC.js} +1 -1
  72. package/web/dist/assets/{settings-save-bar-CoztcQSE.js → settings-save-bar-DCLb4LnC.js} +1 -1
  73. package/web/dist/assets/{settings-shell-D9jjYoK8.js → settings-shell-BGoQDXtL.js} +1 -1
  74. package/web/dist/assets/{sidebar-section-YRmC93zR.js → sidebar-section-CsQbyixg.js} +1 -1
  75. package/web/dist/assets/{skills-7RaRLcTg.js → skills-BsAEL--O.js} +1 -1
  76. package/web/dist/assets/{tab-link-BYYXdpLn.js → tab-link-B2k-zaeP.js} +1 -1
  77. package/web/dist/assets/task-changes-DVG2ZAtj.js +1 -0
  78. package/web/dist/assets/{task-commits-oONZqAkn.js → task-commits-DdO0EE1M.js} +1 -1
  79. package/web/dist/assets/{task-file-scope-DkIxyIoZ.js → task-file-scope-_--iGnmN.js} +1 -1
  80. package/web/dist/assets/task-files-CwdiBpAM.js +1 -0
  81. package/web/dist/assets/{task-github-item-DRFTfSWl.js → task-github-item-C5-V9WYI.js} +1 -1
  82. package/web/dist/assets/{task-groups-C9pTQm-2.js → task-groups-dEzH1nMg.js} +1 -1
  83. package/web/dist/assets/{task-thread-hcPcygid.js → task-thread-B3lhaQy8.js} +1 -1
  84. package/web/dist/assets/{tasks-table-CvZ2ZyCa.js → tasks-table-CPAY1N-E.js} +1 -1
  85. package/web/dist/assets/{thread-state-DDyUg5uH.js → thread-state-DncSPvjE.js} +1 -1
  86. package/web/dist/assets/{toaster-D0HMoto5.js → toaster-Bs1mVYf9.js} +1 -1
  87. package/web/dist/assets/{use-hand-to-agent-state-BvvZrw7O.js → use-hand-to-agent-state-XS92Zdva.js} +1 -1
  88. package/web/dist/assets/use-path-bases-Dwb5siyK.js +1 -0
  89. package/web/dist/assets/use-workspace-config-save-0Mtdwfrd.js +1 -0
  90. package/web/dist/assets/{workflows-DhW8Xvde.js → workflows-le48G5Li.js} +1 -1
  91. package/web/dist/assets/{workspace-tools-DzOGYPoN.js → workspace-tools-DFmvcYzq.js} +1 -1
  92. package/web/dist/assets/{worktrees-section-CfyXCPMF.js → worktrees-section-D5BwHxP8.js} +1 -1
  93. package/web/dist/index.html +14 -14
  94. package/dist/server/github-routes.js.map +0 -1
  95. package/web/dist/assets/attention-V1gJ7gKo.js +0 -1
  96. package/web/dist/assets/automations-route-BxEJmAn2.js +0 -2
  97. package/web/dist/assets/git-toolbar-DK4_0Ylw.js +0 -1
  98. package/web/dist/assets/index-DfudDolc.css +0 -1
  99. package/web/dist/assets/repo-git-DRAJhkDz.js +0 -1
  100. package/web/dist/assets/task-changes-CHfNtrjT.js +0 -1
  101. package/web/dist/assets/task-files-BRdhOHRY.js +0 -1
  102. package/web/dist/assets/use-path-bases-DuMOLy3W.js +0 -1
  103. package/web/dist/assets/use-workspace-config-save-bZksgjRK.js +0 -1
@@ -231,10 +231,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
231
231
  };
232
232
  } | {
233
233
  output: {
234
- error: string;
234
+ path: string;
235
+ parent: string | null;
236
+ dirs: {
237
+ name: string;
238
+ path: string;
239
+ isRepo: boolean;
240
+ }[];
241
+ truncated: boolean;
235
242
  };
236
243
  outputFormat: "json";
237
- status: 400 | 403 | 404;
244
+ status: import("hono/utils/http-status").ContentfulStatusCode;
238
245
  input: {
239
246
  query: {
240
247
  path?: string | undefined;
@@ -243,17 +250,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
243
250
  };
244
251
  } | {
245
252
  output: {
246
- path: string;
247
- parent: string | null;
248
- dirs: {
249
- name: string;
250
- path: string;
251
- isRepo: boolean;
252
- }[];
253
- truncated: boolean;
253
+ error: string;
254
254
  };
255
255
  outputFormat: "json";
256
- status: import("hono/utils/http-status").ContentfulStatusCode;
256
+ status: 400 | 403 | 404;
257
257
  input: {
258
258
  query: {
259
259
  path?: string | undefined;
@@ -265,6 +265,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
265
265
  }, "/"> | import("hono/types").MergeSchemaPath<{
266
266
  "/workspace/events": {
267
267
  $get: {
268
+ output: {
269
+ error: string;
270
+ code?: "invalid_input" | undefined;
271
+ };
272
+ outputFormat: "json";
273
+ status: 400;
274
+ input: {
275
+ query: {
276
+ runs?: "summary" | undefined;
277
+ };
278
+ };
279
+ } | {
268
280
  output: {};
269
281
  outputFormat: string;
270
282
  status: import("hono/utils/http-status").StatusCode;
@@ -273,7 +285,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
273
285
  runs?: "summary" | undefined;
274
286
  };
275
287
  };
276
- } | {
288
+ };
289
+ };
290
+ }, "/"> | import("hono/types").MergeSchemaPath<{
291
+ "/models": {
292
+ $get: {
277
293
  output: {
278
294
  error: string;
279
295
  code?: "invalid_input" | undefined;
@@ -282,17 +298,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
282
298
  status: 400;
283
299
  input: {
284
300
  query: {
285
- runs?: "summary" | undefined;
301
+ runner: string | string[];
302
+ profileId?: string | undefined;
286
303
  };
287
304
  };
288
- };
289
- };
290
- }, "/"> | import("hono/types").MergeSchemaPath<{
291
- "/models": {
292
- $get: {
305
+ } | {
293
306
  output: {
294
307
  error: string;
295
- code?: "invalid_input" | undefined;
296
308
  };
297
309
  outputFormat: "json";
298
310
  status: 400;
@@ -323,46 +335,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
323
335
  profileId?: string | undefined;
324
336
  };
325
337
  };
326
- } | {
327
- output: {
328
- error: string;
329
- };
330
- outputFormat: "json";
331
- status: 400;
332
- input: {
333
- query: {
334
- runner: string | string[];
335
- profileId?: string | undefined;
336
- };
337
- };
338
338
  };
339
339
  };
340
340
  }, "/"> | import("hono/types").MergeSchemaPath<{
341
341
  "/workspace/activity": {
342
342
  $get: {
343
- output: {
344
- error: string;
345
- code?: "invalid_input" | undefined;
346
- };
347
- outputFormat: "json";
348
- status: 400;
349
- input: {
350
- query: {
351
- project?: string | undefined;
352
- };
353
- };
354
- } | {
355
- output: {
356
- error: string;
357
- };
358
- outputFormat: "json";
359
- status: 404 | 409 | 503;
360
- input: {
361
- query: {
362
- project?: string | undefined;
363
- };
364
- };
365
- } | {
366
343
  output: {
367
344
  generatedAt: string;
368
345
  projects: {
@@ -613,6 +590,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
613
590
  project?: string | undefined;
614
591
  };
615
592
  };
593
+ } | {
594
+ output: {
595
+ error: string;
596
+ code?: "invalid_input" | undefined;
597
+ };
598
+ outputFormat: "json";
599
+ status: 400;
600
+ input: {
601
+ query: {
602
+ project?: string | undefined;
603
+ };
604
+ };
605
+ } | {
606
+ output: {
607
+ error: string;
608
+ };
609
+ outputFormat: "json";
610
+ status: 404 | 409 | 503;
611
+ input: {
612
+ query: {
613
+ project?: string | undefined;
614
+ };
615
+ };
616
616
  };
617
617
  };
618
618
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -937,7 +937,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
937
937
  error: string;
938
938
  };
939
939
  outputFormat: "json";
940
- status: 409;
940
+ status: 400;
941
941
  input: {
942
942
  json: {
943
943
  provider: string;
@@ -949,7 +949,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
949
949
  error: string;
950
950
  };
951
951
  outputFormat: "json";
952
- status: 400;
952
+ status: 409;
953
953
  input: {
954
954
  json: {
955
955
  provider: string;
@@ -1202,18 +1202,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1202
1202
  };
1203
1203
  } | {
1204
1204
  output: {
1205
- providers: {
1206
- requiresAccountHome?: boolean | undefined;
1207
- provider: string;
1208
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1209
- enabled?: boolean | undefined;
1210
- hint?: string | undefined;
1211
- authFailureId?: string | undefined;
1212
- profileId?: string | undefined;
1213
- }[];
1205
+ error: string;
1214
1206
  };
1215
1207
  outputFormat: "json";
1216
- status: import("hono/utils/http-status").ContentfulStatusCode;
1208
+ status: 500;
1217
1209
  input: {
1218
1210
  param: {
1219
1211
  provider: string;
@@ -1225,10 +1217,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1225
1217
  };
1226
1218
  } | {
1227
1219
  output: {
1228
- error: string;
1220
+ providers: {
1221
+ requiresAccountHome?: boolean | undefined;
1222
+ provider: string;
1223
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1224
+ enabled?: boolean | undefined;
1225
+ hint?: string | undefined;
1226
+ authFailureId?: string | undefined;
1227
+ profileId?: string | undefined;
1228
+ }[];
1229
1229
  };
1230
1230
  outputFormat: "json";
1231
- status: 500;
1231
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1232
1232
  input: {
1233
1233
  param: {
1234
1234
  provider: string;
@@ -1260,18 +1260,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1260
1260
  };
1261
1261
  } | {
1262
1262
  output: {
1263
- providers: {
1264
- requiresAccountHome?: boolean | undefined;
1265
- provider: string;
1266
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1267
- enabled?: boolean | undefined;
1268
- hint?: string | undefined;
1269
- authFailureId?: string | undefined;
1270
- profileId?: string | undefined;
1271
- }[];
1263
+ error: string;
1272
1264
  };
1273
1265
  outputFormat: "json";
1274
- status: import("hono/utils/http-status").ContentfulStatusCode;
1266
+ status: 409;
1275
1267
  input: {
1276
1268
  param: {
1277
1269
  provider: string;
@@ -1283,10 +1275,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1283
1275
  };
1284
1276
  } | {
1285
1277
  output: {
1286
- error: string;
1278
+ providers: {
1279
+ requiresAccountHome?: boolean | undefined;
1280
+ provider: string;
1281
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1282
+ enabled?: boolean | undefined;
1283
+ hint?: string | undefined;
1284
+ authFailureId?: string | undefined;
1285
+ profileId?: string | undefined;
1286
+ }[];
1287
1287
  };
1288
1288
  outputFormat: "json";
1289
- status: 409;
1289
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1290
1290
  input: {
1291
1291
  param: {
1292
1292
  provider: string;
@@ -1305,7 +1305,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1305
1305
  error: string;
1306
1306
  };
1307
1307
  outputFormat: "json";
1308
- status: 409;
1308
+ status: 400;
1309
1309
  input: {
1310
1310
  json: {
1311
1311
  provider: string;
@@ -1317,7 +1317,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1317
1317
  error: string;
1318
1318
  };
1319
1319
  outputFormat: "json";
1320
- status: 400;
1320
+ status: 409;
1321
1321
  input: {
1322
1322
  json: {
1323
1323
  provider: string;
@@ -1405,35 +1405,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1405
1405
  "/workspace/config": {
1406
1406
  $put: {
1407
1407
  output: {
1408
- homeDir: string;
1409
- browseRoot: string;
1410
- projectsDir: string;
1411
- archiveOnMerge: boolean | null;
1412
- effectiveArchiveOnMerge: boolean;
1413
- archiveOnMergeSource: "default" | "environment" | "global";
1414
- composerDefaults: {
1415
- autonomous: boolean | null;
1416
- worktree: boolean | null;
1417
- inheritedAutonomous: "source-dependent" | boolean;
1418
- inheritedWorktree: boolean;
1419
- };
1420
- resources: {
1421
- maxParallel: number;
1422
- maxMonitoringSessions: number;
1423
- monitoringWakeIntervalMinutes: number | null;
1424
- autoResumeOnUsageLimit: boolean;
1425
- memoryLimitMb: number | null;
1426
- worktreeRetentionDefault: number;
1427
- };
1428
- agentDefaults: {
1429
- runner?: string | undefined;
1430
- models?: {
1431
- [x: string]: string | undefined;
1432
- } | undefined;
1433
- };
1408
+ error: string;
1434
1409
  };
1435
1410
  outputFormat: "json";
1436
- status: import("hono/utils/http-status").ContentfulStatusCode;
1411
+ status: 400;
1437
1412
  input: {
1438
1413
  json: {
1439
1414
  browseRoot?: string | undefined;
@@ -1462,7 +1437,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1462
1437
  error: string;
1463
1438
  };
1464
1439
  outputFormat: "json";
1465
- status: 400;
1440
+ status: 500;
1466
1441
  input: {
1467
1442
  json: {
1468
1443
  browseRoot?: string | undefined;
@@ -1488,10 +1463,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1488
1463
  };
1489
1464
  } | {
1490
1465
  output: {
1491
- error: string;
1466
+ homeDir: string;
1467
+ browseRoot: string;
1468
+ projectsDir: string;
1469
+ archiveOnMerge: boolean | null;
1470
+ effectiveArchiveOnMerge: boolean;
1471
+ archiveOnMergeSource: "default" | "environment" | "global";
1472
+ composerDefaults: {
1473
+ autonomous: boolean | null;
1474
+ worktree: boolean | null;
1475
+ inheritedAutonomous: "source-dependent" | boolean;
1476
+ inheritedWorktree: boolean;
1477
+ };
1478
+ resources: {
1479
+ maxParallel: number;
1480
+ maxMonitoringSessions: number;
1481
+ monitoringWakeIntervalMinutes: number | null;
1482
+ autoResumeOnUsageLimit: boolean;
1483
+ memoryLimitMb: number | null;
1484
+ worktreeRetentionDefault: number;
1485
+ };
1486
+ agentDefaults: {
1487
+ runner?: string | undefined;
1488
+ models?: {
1489
+ [x: string]: string | undefined;
1490
+ } | undefined;
1491
+ };
1492
1492
  };
1493
1493
  outputFormat: "json";
1494
- status: 500;
1494
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1495
1495
  input: {
1496
1496
  json: {
1497
1497
  browseRoot?: string | undefined;
@@ -1563,41 +1563,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1563
1563
  "/workspace/ui-state": {
1564
1564
  $put: {
1565
1565
  output: {
1566
- [x: string]: import("hono/utils/types").JSONValue;
1567
- sidebar?: {
1568
- [x: string]: import("hono/utils/types").JSONValue;
1569
- collapsed?: {
1570
- [x: string]: boolean;
1571
- } | undefined;
1572
- projectOrder?: string[] | undefined;
1573
- } | undefined;
1574
- dismissedProviderAuthFailures?: {
1575
- [x: string]: string | undefined;
1576
- } | undefined;
1577
- appearance?: {
1578
- accent?: "cezarion" | "lime" | "violet" | undefined;
1579
- density?: "comfortable" | "compact" | "ultra" | undefined;
1580
- width?: "narrow" | "wide" | undefined;
1581
- } | undefined;
1582
- notifications?: {
1583
- [x: string]: import("hono/utils/types").JSONValue;
1584
- enabled?: boolean | undefined;
1585
- } | undefined;
1586
- taskTable?: {
1587
- [x: string]: import("hono/utils/types").JSONValue;
1588
- expandedColumns?: {
1589
- [x: string]: boolean;
1590
- } | undefined;
1591
- } | undefined;
1592
- lastLocation?: {
1593
- projectId: string;
1594
- pathname: string;
1595
- search?: string | undefined;
1596
- hash?: string | undefined;
1597
- } | undefined;
1566
+ error: string;
1598
1567
  };
1599
1568
  outputFormat: "json";
1600
- status: import("hono/utils/http-status").ContentfulStatusCode;
1569
+ status: 500;
1601
1570
  input: {
1602
1571
  json: {
1603
1572
  [x: string]: unknown;
@@ -1630,10 +1599,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1630
1599
  };
1631
1600
  } | {
1632
1601
  output: {
1633
- error: string;
1602
+ [x: string]: import("hono/utils/types").JSONValue;
1603
+ sidebar?: {
1604
+ [x: string]: import("hono/utils/types").JSONValue;
1605
+ collapsed?: {
1606
+ [x: string]: boolean;
1607
+ } | undefined;
1608
+ projectOrder?: string[] | undefined;
1609
+ } | undefined;
1610
+ dismissedProviderAuthFailures?: {
1611
+ [x: string]: string | undefined;
1612
+ } | undefined;
1613
+ appearance?: {
1614
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1615
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1616
+ width?: "narrow" | "wide" | undefined;
1617
+ } | undefined;
1618
+ notifications?: {
1619
+ [x: string]: import("hono/utils/types").JSONValue;
1620
+ enabled?: boolean | undefined;
1621
+ } | undefined;
1622
+ taskTable?: {
1623
+ [x: string]: import("hono/utils/types").JSONValue;
1624
+ expandedColumns?: {
1625
+ [x: string]: boolean;
1626
+ } | undefined;
1627
+ } | undefined;
1628
+ lastLocation?: {
1629
+ projectId: string;
1630
+ pathname: string;
1631
+ search?: string | undefined;
1632
+ hash?: string | undefined;
1633
+ } | undefined;
1634
1634
  };
1635
1635
  outputFormat: "json";
1636
- status: 500;
1636
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1637
1637
  input: {
1638
1638
  json: {
1639
1639
  [x: string]: unknown;
@@ -1711,10 +1711,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1711
1711
  "/workspace/agent-profiles": {
1712
1712
  $post: {
1713
1713
  output: {
1714
- error: string;
1714
+ profile: {
1715
+ id: string;
1716
+ provider: string;
1717
+ label: string;
1718
+ configDir?: string | undefined;
1719
+ path?: string | undefined;
1720
+ exists: boolean;
1721
+ looksValid: boolean;
1722
+ isDefault: boolean;
1723
+ status?: {
1724
+ requiresAccountHome?: boolean | undefined;
1725
+ provider: string;
1726
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1727
+ enabled?: boolean | undefined;
1728
+ hint?: string | undefined;
1729
+ authFailureId?: string | undefined;
1730
+ profileId?: string | undefined;
1731
+ } | undefined;
1732
+ };
1715
1733
  };
1716
1734
  outputFormat: "json";
1717
- status: 409;
1735
+ status: 201;
1718
1736
  input: {
1719
1737
  json: {
1720
1738
  provider: string;
@@ -1740,7 +1758,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1740
1758
  error: string;
1741
1759
  };
1742
1760
  outputFormat: "json";
1743
- status: 500;
1761
+ status: 409;
1744
1762
  input: {
1745
1763
  json: {
1746
1764
  provider: string;
@@ -1750,28 +1768,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1750
1768
  };
1751
1769
  } | {
1752
1770
  output: {
1753
- profile: {
1754
- id: string;
1755
- provider: string;
1756
- label: string;
1757
- configDir?: string | undefined;
1758
- path?: string | undefined;
1759
- exists: boolean;
1760
- looksValid: boolean;
1761
- isDefault: boolean;
1762
- status?: {
1763
- requiresAccountHome?: boolean | undefined;
1764
- provider: string;
1765
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1766
- enabled?: boolean | undefined;
1767
- hint?: string | undefined;
1768
- authFailureId?: string | undefined;
1769
- profileId?: string | undefined;
1770
- } | undefined;
1771
- };
1771
+ error: string;
1772
1772
  };
1773
1773
  outputFormat: "json";
1774
- status: 201;
1774
+ status: 500;
1775
1775
  input: {
1776
1776
  json: {
1777
1777
  provider: string;
@@ -1805,7 +1805,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1805
1805
  error: string;
1806
1806
  };
1807
1807
  outputFormat: "json";
1808
- status: 409;
1808
+ status: 400;
1809
1809
  input: {
1810
1810
  param: {
1811
1811
  id: string;
@@ -1821,7 +1821,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1821
1821
  error: string;
1822
1822
  };
1823
1823
  outputFormat: "json";
1824
- status: 400;
1824
+ status: 404;
1825
1825
  input: {
1826
1826
  param: {
1827
1827
  id: string;
@@ -1837,7 +1837,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1837
1837
  error: string;
1838
1838
  };
1839
1839
  outputFormat: "json";
1840
- status: 404;
1840
+ status: 409;
1841
1841
  input: {
1842
1842
  param: {
1843
1843
  id: string;
@@ -1965,7 +1965,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1965
1965
  error: string;
1966
1966
  };
1967
1967
  outputFormat: "json";
1968
- status: 404;
1968
+ status: 400;
1969
1969
  input: {
1970
1970
  json: {
1971
1971
  projectId: string;
@@ -1978,7 +1978,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1978
1978
  error: string;
1979
1979
  };
1980
1980
  outputFormat: "json";
1981
- status: 400;
1981
+ status: 404;
1982
1982
  input: {
1983
1983
  json: {
1984
1984
  projectId: string;
@@ -2042,7 +2042,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2042
2042
  error: string;
2043
2043
  };
2044
2044
  outputFormat: "json";
2045
- status: 409;
2045
+ status: 404;
2046
2046
  input: {
2047
2047
  param: {
2048
2048
  id: string;
@@ -2053,7 +2053,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2053
2053
  error: string;
2054
2054
  };
2055
2055
  outputFormat: "json";
2056
- status: 500;
2056
+ status: 409;
2057
2057
  input: {
2058
2058
  param: {
2059
2059
  id: string;
@@ -2064,7 +2064,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2064
2064
  error: string;
2065
2065
  };
2066
2066
  outputFormat: "json";
2067
- status: 404;
2067
+ status: 500;
2068
2068
  input: {
2069
2069
  param: {
2070
2070
  id: string;
@@ -2128,17 +2128,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2128
2128
  } & {
2129
2129
  "/projects": {
2130
2130
  $post: {
2131
- output: {
2132
- error: string;
2133
- };
2134
- outputFormat: "json";
2135
- status: 400 | 500;
2136
- input: {
2137
- json: {
2138
- root: string;
2139
- };
2140
- };
2141
- } | {
2142
2131
  output: {
2143
2132
  project: {
2144
2133
  id: string;
@@ -2169,10 +2158,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2169
2158
  agent: boolean;
2170
2159
  }[] | undefined;
2171
2160
  };
2172
- error: string;
2161
+ error?: string | undefined;
2173
2162
  };
2174
2163
  outputFormat: "json";
2175
- status: 409;
2164
+ status: 200;
2176
2165
  input: {
2177
2166
  json: {
2178
2167
  root: string;
@@ -2209,10 +2198,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2209
2198
  agent: boolean;
2210
2199
  }[] | undefined;
2211
2200
  };
2212
- error?: string | undefined;
2201
+ error: string;
2213
2202
  };
2214
2203
  outputFormat: "json";
2215
- status: 200;
2204
+ status: 409;
2205
+ input: {
2206
+ json: {
2207
+ root: string;
2208
+ };
2209
+ };
2210
+ } | {
2211
+ output: {
2212
+ error: string;
2213
+ };
2214
+ outputFormat: "json";
2215
+ status: 400 | 500;
2216
2216
  input: {
2217
2217
  json: {
2218
2218
  root: string;
@@ -2371,7 +2371,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2371
2371
  error: string;
2372
2372
  };
2373
2373
  outputFormat: "json";
2374
- status: 404;
2374
+ status: 400;
2375
2375
  input: {
2376
2376
  param: {
2377
2377
  projectId: string;
@@ -2382,7 +2382,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2382
2382
  error: string;
2383
2383
  };
2384
2384
  outputFormat: "json";
2385
- status: 400;
2385
+ status: 404;
2386
2386
  input: {
2387
2387
  param: {
2388
2388
  projectId: string;
@@ -2407,6 +2407,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2407
2407
  } & {
2408
2408
  "/projects/:projectId/webhooks": {
2409
2409
  $post: {
2410
+ output: {
2411
+ project: {
2412
+ id: string;
2413
+ name: string;
2414
+ root: string;
2415
+ addedAt: string;
2416
+ lastOpenedAt: string;
2417
+ source: "checkout" | "local";
2418
+ status: "missing" | "not-git" | "ok";
2419
+ branch?: string | undefined;
2420
+ forge?: string | undefined;
2421
+ repoUrl?: string | undefined;
2422
+ maxParallel?: number | undefined;
2423
+ tags?: string[] | undefined;
2424
+ webhook?: {
2425
+ url: string;
2426
+ tokenSet: boolean;
2427
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2428
+ } | undefined;
2429
+ webhooks?: {
2430
+ id: string;
2431
+ name: string;
2432
+ description?: string | undefined;
2433
+ url: string;
2434
+ tokenSet: boolean;
2435
+ tasks: boolean;
2436
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2437
+ agent: boolean;
2438
+ }[] | undefined;
2439
+ };
2440
+ webhook: {
2441
+ id: string;
2442
+ name: string;
2443
+ description?: string | undefined;
2444
+ url: string;
2445
+ tokenSet: boolean;
2446
+ tasks: boolean;
2447
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2448
+ agent: boolean;
2449
+ };
2450
+ };
2451
+ outputFormat: "json";
2452
+ status: 201;
2453
+ input: {
2454
+ json: {
2455
+ name: string;
2456
+ description?: string | undefined;
2457
+ url: string;
2458
+ token?: string | undefined;
2459
+ tasks?: boolean | undefined;
2460
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2461
+ agent?: boolean | undefined;
2462
+ };
2463
+ } & {
2464
+ param: {
2465
+ projectId: string;
2466
+ };
2467
+ };
2468
+ } | {
2410
2469
  output: {
2411
2470
  error: string;
2412
2471
  };
@@ -2427,6 +2486,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2427
2486
  projectId: string;
2428
2487
  };
2429
2488
  };
2489
+ };
2490
+ };
2491
+ } & {
2492
+ "/projects/:projectId/webhooks/:webhookId": {
2493
+ $patch: {
2494
+ output: {
2495
+ error: string;
2496
+ code?: "invalid_input" | undefined;
2497
+ };
2498
+ outputFormat: "json";
2499
+ status: 400;
2500
+ input: {
2501
+ param: {
2502
+ projectId: string;
2503
+ webhookId: string;
2504
+ };
2505
+ } & {
2506
+ json: {
2507
+ name?: string | undefined;
2508
+ description?: string | undefined;
2509
+ url?: string | undefined;
2510
+ token?: string | undefined;
2511
+ tasks?: boolean | undefined;
2512
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2513
+ agent?: boolean | undefined;
2514
+ };
2515
+ };
2430
2516
  } | {
2431
2517
  output: {
2432
2518
  project: {
@@ -2470,33 +2556,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2470
2556
  };
2471
2557
  };
2472
2558
  outputFormat: "json";
2473
- status: 201;
2559
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2474
2560
  input: {
2561
+ param: {
2562
+ projectId: string;
2563
+ webhookId: string;
2564
+ };
2565
+ } & {
2475
2566
  json: {
2476
- name: string;
2567
+ name?: string | undefined;
2477
2568
  description?: string | undefined;
2478
- url: string;
2569
+ url?: string | undefined;
2479
2570
  token?: string | undefined;
2480
2571
  tasks?: boolean | undefined;
2481
2572
  triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2482
2573
  agent?: boolean | undefined;
2483
2574
  };
2484
- } & {
2485
- param: {
2486
- projectId: string;
2487
- };
2488
2575
  };
2489
- };
2490
- };
2491
- } & {
2492
- "/projects/:projectId/webhooks/:webhookId": {
2493
- $patch: {
2576
+ } | {
2494
2577
  output: {
2495
2578
  error: string;
2496
- code?: "invalid_input" | undefined;
2497
2579
  };
2498
2580
  outputFormat: "json";
2499
- status: 400;
2581
+ status: 400 | 404 | 409 | 500;
2500
2582
  input: {
2501
2583
  param: {
2502
2584
  projectId: string;
@@ -2513,6 +2595,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2513
2595
  agent?: boolean | undefined;
2514
2596
  };
2515
2597
  };
2598
+ };
2599
+ };
2600
+ } & {
2601
+ "/projects/:projectId/webhooks/:webhookId": {
2602
+ $delete: {
2603
+ output: {
2604
+ error: string;
2605
+ code?: "invalid_input" | undefined;
2606
+ };
2607
+ outputFormat: "json";
2608
+ status: 400;
2609
+ input: {
2610
+ param: {
2611
+ projectId: string;
2612
+ webhookId: string;
2613
+ };
2614
+ };
2516
2615
  } | {
2517
2616
  output: {
2518
2617
  project: {
@@ -2544,16 +2643,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2544
2643
  agent: boolean;
2545
2644
  }[] | undefined;
2546
2645
  };
2547
- webhook: {
2548
- id: string;
2549
- name: string;
2550
- description?: string | undefined;
2551
- url: string;
2552
- tokenSet: boolean;
2553
- tasks: boolean;
2554
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2555
- agent: boolean;
2556
- };
2557
2646
  };
2558
2647
  outputFormat: "json";
2559
2648
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -2562,16 +2651,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2562
2651
  projectId: string;
2563
2652
  webhookId: string;
2564
2653
  };
2565
- } & {
2566
- json: {
2567
- name?: string | undefined;
2568
- description?: string | undefined;
2569
- url?: string | undefined;
2570
- token?: string | undefined;
2571
- tasks?: boolean | undefined;
2572
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2573
- agent?: boolean | undefined;
2574
- };
2575
2654
  };
2576
2655
  } | {
2577
2656
  output: {
@@ -2584,22 +2663,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2584
2663
  projectId: string;
2585
2664
  webhookId: string;
2586
2665
  };
2587
- } & {
2588
- json: {
2589
- name?: string | undefined;
2590
- description?: string | undefined;
2591
- url?: string | undefined;
2592
- token?: string | undefined;
2593
- tasks?: boolean | undefined;
2594
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2595
- agent?: boolean | undefined;
2596
- };
2597
2666
  };
2598
2667
  };
2599
2668
  };
2600
2669
  } & {
2601
- "/projects/:projectId/webhooks/:webhookId": {
2602
- $delete: {
2670
+ "/projects/:projectId/webhooks/:webhookId/test": {
2671
+ $post: {
2603
2672
  output: {
2604
2673
  error: string;
2605
2674
  code?: "invalid_input" | undefined;
@@ -2613,68 +2682,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2613
2682
  };
2614
2683
  };
2615
2684
  } | {
2616
- output: {
2617
- project: {
2618
- id: string;
2619
- name: string;
2620
- root: string;
2621
- addedAt: string;
2622
- lastOpenedAt: string;
2623
- source: "checkout" | "local";
2624
- status: "missing" | "not-git" | "ok";
2625
- branch?: string | undefined;
2626
- forge?: string | undefined;
2627
- repoUrl?: string | undefined;
2628
- maxParallel?: number | undefined;
2629
- tags?: string[] | undefined;
2630
- webhook?: {
2631
- url: string;
2632
- tokenSet: boolean;
2633
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2634
- } | undefined;
2635
- webhooks?: {
2636
- id: string;
2637
- name: string;
2638
- description?: string | undefined;
2639
- url: string;
2640
- tokenSet: boolean;
2641
- tasks: boolean;
2642
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2643
- agent: boolean;
2644
- }[] | undefined;
2645
- };
2646
- };
2647
- outputFormat: "json";
2648
- status: import("hono/utils/http-status").ContentfulStatusCode;
2649
- input: {
2650
- param: {
2651
- projectId: string;
2652
- webhookId: string;
2653
- };
2654
- };
2655
- } | {
2656
- output: {
2657
- error: string;
2658
- };
2659
- outputFormat: "json";
2660
- status: 400 | 404 | 409 | 500;
2661
- input: {
2662
- param: {
2663
- projectId: string;
2664
- webhookId: string;
2665
- };
2666
- };
2667
- };
2668
- };
2669
- } & {
2670
- "/projects/:projectId/webhooks/:webhookId/test": {
2671
- $post: {
2672
2685
  output: {
2673
2686
  error: string;
2674
- code?: "invalid_input" | undefined;
2675
2687
  };
2676
2688
  outputFormat: "json";
2677
- status: 400;
2689
+ status: 404;
2678
2690
  input: {
2679
2691
  param: {
2680
2692
  projectId: string;
@@ -2696,18 +2708,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2696
2708
  webhookId: string;
2697
2709
  };
2698
2710
  };
2699
- } | {
2700
- output: {
2701
- error: string;
2702
- };
2703
- outputFormat: "json";
2704
- status: 404;
2705
- input: {
2706
- param: {
2707
- projectId: string;
2708
- webhookId: string;
2709
- };
2710
- };
2711
2711
  };
2712
2712
  };
2713
2713
  } & {
@@ -2942,11 +2942,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2942
2942
  "/runner-install/:runner": {
2943
2943
  $post: {
2944
2944
  output: {
2945
- error: string;
2946
- code?: "invalid_input" | undefined;
2945
+ supported: boolean;
2946
+ installedVersion: string | null;
2947
+ latestVersion: string | null;
2948
+ updateAvailable: boolean;
2949
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2950
+ error: string | null;
2947
2951
  };
2948
2952
  outputFormat: "json";
2949
- status: 400;
2953
+ status: 202;
2950
2954
  input: {
2951
2955
  param: {
2952
2956
  runner: string;
@@ -2958,15 +2962,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2958
2962
  };
2959
2963
  } | {
2960
2964
  output: {
2961
- supported: boolean;
2962
- installedVersion: string | null;
2963
- latestVersion: string | null;
2964
- updateAvailable: boolean;
2965
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2966
- error: string | null;
2965
+ error: string;
2966
+ code?: "invalid_input" | undefined;
2967
2967
  };
2968
2968
  outputFormat: "json";
2969
- status: 202;
2969
+ status: 400;
2970
2970
  input: {
2971
2971
  param: {
2972
2972
  runner: string;
@@ -3323,18 +3323,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3323
3323
  }, "/"> | import("hono/types").MergeSchemaPath<{
3324
3324
  "/plan": {
3325
3325
  $post: {
3326
- output: {
3327
- error: string;
3328
- };
3329
- outputFormat: "json";
3330
- status: 400 | 404 | 409;
3331
- input: {
3332
- json: {
3333
- task: string;
3334
- agentProfile?: string | undefined;
3335
- };
3336
- };
3337
- } | {
3338
3326
  output: {
3339
3327
  name?: string;
3340
3328
  steps: {
@@ -3371,6 +3359,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3371
3359
  agentProfile?: string | undefined;
3372
3360
  };
3373
3361
  };
3362
+ } | {
3363
+ output: {
3364
+ error: string;
3365
+ };
3366
+ outputFormat: "json";
3367
+ status: 400 | 404 | 409;
3368
+ input: {
3369
+ json: {
3370
+ task: string;
3371
+ agentProfile?: string | undefined;
3372
+ };
3373
+ };
3374
3374
  };
3375
3375
  };
3376
3376
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3420,42 +3420,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3420
3420
  "/ui-state": {
3421
3421
  $put: {
3422
3422
  output: {
3423
- [x: string]: import("hono/utils/types").JSONValue;
3424
- sidebarLimits?: {
3425
- overall?: number | null | undefined;
3426
- needsYou?: number | null | undefined;
3427
- finished?: number | null | undefined;
3428
- working?: number | null | undefined;
3429
- } | undefined;
3430
- lastTask?: {
3431
- source: "skill" | "workflow";
3432
- ref: string;
3433
- } | null | undefined;
3434
- recentSources?: {
3435
- source: "skill" | "workflow";
3436
- ref: string;
3437
- }[] | undefined;
3438
- lastWorktree?: boolean | undefined;
3439
- lastAutonomous?: boolean | undefined;
3440
- skillUsage?: {
3441
- [x: string]: number;
3442
- } | undefined;
3443
- runsView?: "list" | "table" | undefined;
3444
- githubView?: "issues" | "prs" | undefined;
3445
- appearance?: {
3446
- accent?: "cezarion" | "lime" | "violet" | undefined;
3447
- density?: "comfortable" | "compact" | "ultra" | undefined;
3448
- width?: "narrow" | "wide" | undefined;
3449
- } | undefined;
3450
- promptTemplates?: {
3451
- id: string;
3452
- label: string;
3453
- text: string;
3454
- skills?: string[] | undefined;
3455
- }[] | undefined;
3423
+ error: string;
3456
3424
  };
3457
3425
  outputFormat: "json";
3458
- status: import("hono/utils/http-status").ContentfulStatusCode;
3426
+ status: 500;
3459
3427
  input: {
3460
3428
  json: {
3461
3429
  [x: string]: unknown;
@@ -3493,10 +3461,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3493
3461
  };
3494
3462
  } | {
3495
3463
  output: {
3496
- error: string;
3464
+ [x: string]: import("hono/utils/types").JSONValue;
3465
+ sidebarLimits?: {
3466
+ overall?: number | null | undefined;
3467
+ needsYou?: number | null | undefined;
3468
+ finished?: number | null | undefined;
3469
+ working?: number | null | undefined;
3470
+ } | undefined;
3471
+ lastTask?: {
3472
+ source: "skill" | "workflow";
3473
+ ref: string;
3474
+ } | null | undefined;
3475
+ recentSources?: {
3476
+ source: "skill" | "workflow";
3477
+ ref: string;
3478
+ }[] | undefined;
3479
+ lastWorktree?: boolean | undefined;
3480
+ lastAutonomous?: boolean | undefined;
3481
+ skillUsage?: {
3482
+ [x: string]: number;
3483
+ } | undefined;
3484
+ runsView?: "list" | "table" | undefined;
3485
+ githubView?: "issues" | "prs" | undefined;
3486
+ appearance?: {
3487
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3488
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3489
+ width?: "narrow" | "wide" | undefined;
3490
+ } | undefined;
3491
+ promptTemplates?: {
3492
+ id: string;
3493
+ label: string;
3494
+ text: string;
3495
+ skills?: string[] | undefined;
3496
+ }[] | undefined;
3497
3497
  };
3498
3498
  outputFormat: "json";
3499
- status: 500;
3499
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3500
3500
  input: {
3501
3501
  json: {
3502
3502
  [x: string]: unknown;
@@ -3572,58 +3572,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3572
3572
  } & {
3573
3573
  "/config": {
3574
3574
  $put: {
3575
- output: {
3576
- archiveOnMerge: boolean | null;
3577
- effectiveArchiveOnMerge: boolean;
3578
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3579
- baseBranch: string | null;
3580
- defaultRunner: string;
3581
- systemPrompt: string | null;
3582
- defaultModels: {
3583
- [x: string]: string | undefined;
3584
- };
3585
- modelsLocked: boolean;
3586
- maxParallel: number;
3587
- memoryLimitMb: number | null;
3588
- worktreeRetention: number;
3589
- liveTitleUpdates: boolean | null;
3590
- reviewGate: boolean | null;
3591
- worktreeSetup: {
3592
- commands: string[];
3593
- timeoutSeconds: number;
3594
- } | null;
3595
- worktreeSetupIssue: string | null;
3596
- worktreeTeardown: {
3597
- commands: string[];
3598
- timeoutSeconds: number;
3599
- } | null;
3600
- worktreeTeardownIssue: string | null;
3601
- };
3602
- outputFormat: "json";
3603
- status: import("hono/utils/http-status").ContentfulStatusCode;
3604
- input: {
3605
- json: {
3606
- archiveOnMerge?: boolean | null | undefined;
3607
- baseBranch?: string | null | undefined;
3608
- defaultRunner?: string | undefined;
3609
- defaultModels?: Record<string, string | null | undefined> | undefined;
3610
- maxParallel?: number | undefined;
3611
- memoryLimitMb?: number | null | undefined;
3612
- worktreeRetention?: number | null | undefined;
3613
- liveTitleUpdates?: boolean | null | undefined;
3614
- reviewGate?: boolean | null | undefined;
3615
- worktreeSetup?: {
3616
- commands: string[];
3617
- timeoutSeconds?: number | undefined;
3618
- } | null | undefined;
3619
- worktreeTeardown?: {
3620
- commands: string[];
3621
- timeoutSeconds?: number | undefined;
3622
- } | null | undefined;
3623
- systemPrompt?: string | null | undefined;
3624
- };
3625
- };
3626
- } | {
3627
3575
  output: {
3628
3576
  error: string;
3629
3577
  };
@@ -3679,6 +3627,58 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3679
3627
  systemPrompt?: string | null | undefined;
3680
3628
  };
3681
3629
  };
3630
+ } | {
3631
+ output: {
3632
+ archiveOnMerge: boolean | null;
3633
+ effectiveArchiveOnMerge: boolean;
3634
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3635
+ baseBranch: string | null;
3636
+ defaultRunner: string;
3637
+ systemPrompt: string | null;
3638
+ defaultModels: {
3639
+ [x: string]: string | undefined;
3640
+ };
3641
+ modelsLocked: boolean;
3642
+ maxParallel: number;
3643
+ memoryLimitMb: number | null;
3644
+ worktreeRetention: number;
3645
+ liveTitleUpdates: boolean | null;
3646
+ reviewGate: boolean | null;
3647
+ worktreeSetup: {
3648
+ commands: string[];
3649
+ timeoutSeconds: number;
3650
+ } | null;
3651
+ worktreeSetupIssue: string | null;
3652
+ worktreeTeardown: {
3653
+ commands: string[];
3654
+ timeoutSeconds: number;
3655
+ } | null;
3656
+ worktreeTeardownIssue: string | null;
3657
+ };
3658
+ outputFormat: "json";
3659
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3660
+ input: {
3661
+ json: {
3662
+ archiveOnMerge?: boolean | null | undefined;
3663
+ baseBranch?: string | null | undefined;
3664
+ defaultRunner?: string | undefined;
3665
+ defaultModels?: Record<string, string | null | undefined> | undefined;
3666
+ maxParallel?: number | undefined;
3667
+ memoryLimitMb?: number | null | undefined;
3668
+ worktreeRetention?: number | null | undefined;
3669
+ liveTitleUpdates?: boolean | null | undefined;
3670
+ reviewGate?: boolean | null | undefined;
3671
+ worktreeSetup?: {
3672
+ commands: string[];
3673
+ timeoutSeconds?: number | undefined;
3674
+ } | null | undefined;
3675
+ worktreeTeardown?: {
3676
+ commands: string[];
3677
+ timeoutSeconds?: number | undefined;
3678
+ } | null | undefined;
3679
+ systemPrompt?: string | null | undefined;
3680
+ };
3681
+ };
3682
3682
  };
3683
3683
  };
3684
3684
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3767,9 +3767,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3767
3767
  }, "/"> | import("hono/types").MergeSchemaPath<{
3768
3768
  "/runs/:id/events": {
3769
3769
  $get: {
3770
- output: {};
3771
- outputFormat: string;
3772
- status: import("hono/utils/http-status").StatusCode;
3770
+ output: {
3771
+ error: string;
3772
+ code?: "invalid_input" | undefined;
3773
+ };
3774
+ outputFormat: "json";
3775
+ status: 400;
3773
3776
  input: {
3774
3777
  param: {
3775
3778
  id: string;
@@ -3781,12 +3784,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3781
3784
  };
3782
3785
  };
3783
3786
  } | {
3784
- output: {
3785
- error: string;
3786
- code?: "invalid_input" | undefined;
3787
- };
3788
- outputFormat: "json";
3789
- status: 400;
3787
+ output: {};
3788
+ outputFormat: string;
3789
+ status: import("hono/utils/http-status").StatusCode;
3790
3790
  input: {
3791
3791
  param: {
3792
3792
  id: string;
@@ -3830,7 +3830,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3830
3830
  error: string;
3831
3831
  };
3832
3832
  outputFormat: "json";
3833
- status: 409;
3833
+ status: 400;
3834
3834
  input: {
3835
3835
  json: {
3836
3836
  target: string;
@@ -3841,7 +3841,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3841
3841
  error: string;
3842
3842
  };
3843
3843
  outputFormat: "json";
3844
- status: 400;
3844
+ status: 409;
3845
3845
  input: {
3846
3846
  json: {
3847
3847
  target: string;
@@ -3902,7 +3902,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3902
3902
  error: string;
3903
3903
  };
3904
3904
  outputFormat: "json";
3905
- status: 409;
3905
+ status: 400;
3906
3906
  input: {
3907
3907
  query: {
3908
3908
  q?: string | undefined;
@@ -3915,7 +3915,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3915
3915
  error: string;
3916
3916
  };
3917
3917
  outputFormat: "json";
3918
- status: 400;
3918
+ status: 409;
3919
3919
  input: {
3920
3920
  query: {
3921
3921
  q?: string | undefined;
@@ -4037,14 +4037,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4037
4037
  "/agent-config/:id": {
4038
4038
  $put: {
4039
4039
  output: {
4040
- id: string;
4041
- path: string;
4042
- exists: boolean;
4043
- content: string;
4044
- version: string | null;
4040
+ error: string;
4045
4041
  };
4046
4042
  outputFormat: "json";
4047
- status: import("hono/utils/http-status").ContentfulStatusCode;
4043
+ status: 404;
4048
4044
  input: {
4049
4045
  json: {
4050
4046
  content: string;
@@ -4057,10 +4053,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4057
4053
  };
4058
4054
  } | {
4059
4055
  output: {
4060
- error: string;
4056
+ id: string;
4057
+ path: string;
4058
+ exists: boolean;
4059
+ content: string;
4060
+ version: string | null;
4061
4061
  };
4062
4062
  outputFormat: "json";
4063
- status: 404;
4063
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4064
4064
  input: {
4065
4065
  json: {
4066
4066
  content: string;
@@ -4160,10 +4160,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4160
4160
  };
4161
4161
  } | {
4162
4162
  output: {
4163
- error: string;
4163
+ runId: string;
4164
+ worktreeReclaimedAt: string;
4164
4165
  };
4165
4166
  outputFormat: "json";
4166
- status: 404 | 409;
4167
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4167
4168
  input: {
4168
4169
  param: {
4169
4170
  runId: string;
@@ -4175,11 +4176,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4175
4176
  };
4176
4177
  } | {
4177
4178
  output: {
4178
- runId: string;
4179
- worktreeReclaimedAt: string;
4179
+ error: string;
4180
4180
  };
4181
4181
  outputFormat: "json";
4182
- status: import("hono/utils/http-status").ContentfulStatusCode;
4182
+ status: 404 | 409;
4183
4183
  input: {
4184
4184
  param: {
4185
4185
  runId: string;
@@ -4339,10 +4339,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4339
4339
  "/workflows": {
4340
4340
  $post: {
4341
4341
  output: {
4342
- error: string;
4342
+ path: string;
4343
+ name: string;
4343
4344
  };
4344
4345
  outputFormat: "json";
4345
- status: 400;
4346
+ status: 201;
4346
4347
  input: {
4347
4348
  json: {
4348
4349
  name: string;
@@ -4375,10 +4376,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4375
4376
  } | {
4376
4377
  output: {
4377
4378
  error: string;
4378
- exists: true;
4379
4379
  };
4380
4380
  outputFormat: "json";
4381
- status: 409;
4381
+ status: 400;
4382
4382
  input: {
4383
4383
  json: {
4384
4384
  name: string;
@@ -4411,9 +4411,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4411
4411
  } | {
4412
4412
  output: {
4413
4413
  error: string;
4414
+ exists: true;
4414
4415
  };
4415
4416
  outputFormat: "json";
4416
- status: 500;
4417
+ status: 409;
4417
4418
  input: {
4418
4419
  json: {
4419
4420
  name: string;
@@ -4445,11 +4446,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4445
4446
  };
4446
4447
  } | {
4447
4448
  output: {
4448
- path: string;
4449
- name: string;
4449
+ error: string;
4450
4450
  };
4451
4451
  outputFormat: "json";
4452
- status: 201;
4452
+ status: 500;
4453
4453
  input: {
4454
4454
  json: {
4455
4455
  name: string;
@@ -4485,10 +4485,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4485
4485
  "/workflows/:name": {
4486
4486
  $delete: {
4487
4487
  output: {
4488
- error: string;
4488
+ ok: true;
4489
+ path: string;
4489
4490
  };
4490
4491
  outputFormat: "json";
4491
- status: 400 | 404 | 409 | 500;
4492
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4492
4493
  input: {
4493
4494
  param: {
4494
4495
  name: string;
@@ -4496,11 +4497,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4496
4497
  };
4497
4498
  } | {
4498
4499
  output: {
4499
- ok: true;
4500
- path: string;
4500
+ error: string;
4501
4501
  };
4502
4502
  outputFormat: "json";
4503
- status: import("hono/utils/http-status").ContentfulStatusCode;
4503
+ status: 400 | 404 | 409 | 500;
4504
4504
  input: {
4505
4505
  param: {
4506
4506
  name: string;
@@ -4676,14 +4676,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4676
4676
  "/repo/branches/delete": {
4677
4677
  $post: {
4678
4678
  output: {
4679
- error: string;
4679
+ deleted: string[];
4680
4680
  refused: {
4681
4681
  name: string;
4682
4682
  reason: string;
4683
4683
  }[];
4684
+ dropped?: {
4685
+ sha: string;
4686
+ subject: string;
4687
+ }[] | undefined;
4684
4688
  };
4685
4689
  outputFormat: "json";
4686
- status: 409;
4690
+ status: 200;
4687
4691
  input: {
4688
4692
  json: {
4689
4693
  names: string[];
@@ -4692,18 +4696,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4692
4696
  };
4693
4697
  } | {
4694
4698
  output: {
4695
- deleted: string[];
4699
+ error: string;
4696
4700
  refused: {
4697
4701
  name: string;
4698
4702
  reason: string;
4699
4703
  }[];
4700
- dropped?: {
4701
- sha: string;
4702
- subject: string;
4703
- }[] | undefined;
4704
4704
  };
4705
4705
  outputFormat: "json";
4706
- status: 200;
4706
+ status: 409;
4707
4707
  input: {
4708
4708
  json: {
4709
4709
  names: string[];
@@ -4724,9 +4724,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4724
4724
  } & {
4725
4725
  "/repo/commit/:sha": {
4726
4726
  $get: {
4727
- output: string;
4728
- outputFormat: "text";
4729
- status: import("hono/utils/http-status").ContentfulStatusCode;
4727
+ output: {
4728
+ error: string;
4729
+ code?: "invalid_input" | undefined;
4730
+ };
4731
+ outputFormat: "json";
4732
+ status: 400;
4730
4733
  input: {
4731
4734
  query: {
4732
4735
  structured?: string | undefined;
@@ -4739,10 +4742,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4739
4742
  } | {
4740
4743
  output: {
4741
4744
  error: string;
4742
- code?: "invalid_input" | undefined;
4743
4745
  };
4744
4746
  outputFormat: "json";
4745
- status: 400;
4747
+ status: 409;
4746
4748
  input: {
4747
4749
  query: {
4748
4750
  structured?: string | undefined;
@@ -4786,11 +4788,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4786
4788
  };
4787
4789
  };
4788
4790
  } | {
4789
- output: {
4790
- error: string;
4791
- };
4792
- outputFormat: "json";
4793
- status: 409;
4791
+ output: string;
4792
+ outputFormat: "text";
4793
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4794
4794
  input: {
4795
4795
  query: {
4796
4796
  structured?: string | undefined;
@@ -4805,6 +4805,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4805
4805
  } & {
4806
4806
  "/repo/changes": {
4807
4807
  $get: {
4808
+ output: {
4809
+ error: string;
4810
+ };
4811
+ outputFormat: "json";
4812
+ status: 409;
4813
+ input: {};
4814
+ } | {
4808
4815
  output: {
4809
4816
  files: {
4810
4817
  path: string;
@@ -4829,13 +4836,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4829
4836
  outputFormat: "json";
4830
4837
  status: import("hono/utils/http-status").ContentfulStatusCode;
4831
4838
  input: {};
4832
- } | {
4833
- output: {
4834
- error: string;
4835
- };
4836
- outputFormat: "json";
4837
- status: 409;
4838
- input: {};
4839
4839
  };
4840
4840
  };
4841
4841
  } & {
@@ -4860,10 +4860,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4860
4860
  "/repo/pull": {
4861
4861
  $post: {
4862
4862
  output: {
4863
- error: string;
4863
+ branch: string;
4864
+ pulled: true;
4865
+ summary: string;
4864
4866
  };
4865
4867
  outputFormat: "json";
4866
- status: 409;
4868
+ status: 200;
4867
4869
  input: {
4868
4870
  json: {
4869
4871
  branch?: string | undefined;
@@ -4872,12 +4874,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4872
4874
  };
4873
4875
  } | {
4874
4876
  output: {
4875
- branch: string;
4876
- pulled: true;
4877
- summary: string;
4877
+ error: string;
4878
4878
  };
4879
4879
  outputFormat: "json";
4880
- status: 200;
4880
+ status: 409;
4881
4881
  input: {
4882
4882
  json: {
4883
4883
  branch?: string | undefined;
@@ -6865,6 +6865,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6865
6865
  } & {
6866
6866
  "/run-summaries": {
6867
6867
  $get: {
6868
+ output: {
6869
+ error: string;
6870
+ code?: "invalid_input" | undefined;
6871
+ };
6872
+ outputFormat: "json";
6873
+ status: 400;
6874
+ input: {
6875
+ query: {
6876
+ archived?: "all" | "recent" | undefined;
6877
+ };
6878
+ };
6879
+ } | {
6868
6880
  output: {
6869
6881
  id: string;
6870
6882
  title: string;
@@ -7002,18 +7014,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7002
7014
  archived?: "all" | "recent" | undefined;
7003
7015
  };
7004
7016
  };
7005
- } | {
7006
- output: {
7007
- error: string;
7008
- code?: "invalid_input" | undefined;
7009
- };
7010
- outputFormat: "json";
7011
- status: 400;
7012
- input: {
7013
- query: {
7014
- archived?: "all" | "recent" | undefined;
7015
- };
7016
- };
7017
7017
  };
7018
7018
  };
7019
7019
  } & {
@@ -7374,57 +7374,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7374
7374
  } & {
7375
7375
  "/runs/:id/worker-destroy": {
7376
7376
  $post: {
7377
- output: {
7378
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7379
- readonly error: string;
7380
- readonly modelChoices?: {
7381
- runner: string;
7382
- requestedModel: string;
7383
- availableModels: {
7384
- id: string;
7385
- label: string;
7386
- description: string;
7387
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7388
- }[];
7389
- otherRunners: string[];
7390
- } | undefined;
7391
- };
7392
- outputFormat: "json";
7393
- status: 400 | 401 | 403 | 409 | 503;
7394
- input: {
7395
- query: {
7396
- [x: string]: string | string[];
7397
- };
7398
- } & {
7399
- param: {
7400
- id: string;
7401
- };
7402
- } & {
7403
- json: {
7404
- discardWork?: true | undefined;
7405
- };
7406
- };
7407
- } | {
7408
- output: {
7409
- error: string;
7410
- code?: "invalid_input" | undefined;
7411
- };
7412
- outputFormat: "json";
7413
- status: 400;
7414
- input: {
7415
- query: {
7416
- [x: string]: string | string[];
7417
- };
7418
- } & {
7419
- param: {
7420
- id: string;
7421
- };
7422
- } & {
7423
- json: {
7424
- discardWork?: true | undefined;
7425
- };
7426
- };
7427
- } | {
7428
7377
  output: {
7429
7378
  workerId: string;
7430
7379
  state: "complete" | "incomplete";
@@ -7457,6 +7406,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7457
7406
  discardWork?: true | undefined;
7458
7407
  };
7459
7408
  };
7409
+ } | {
7410
+ output: {
7411
+ error: string;
7412
+ code?: "invalid_input" | undefined;
7413
+ };
7414
+ outputFormat: "json";
7415
+ status: 400;
7416
+ input: {
7417
+ query: {
7418
+ [x: string]: string | string[];
7419
+ };
7420
+ } & {
7421
+ param: {
7422
+ id: string;
7423
+ };
7424
+ } & {
7425
+ json: {
7426
+ discardWork?: true | undefined;
7427
+ };
7428
+ };
7460
7429
  } | {
7461
7430
  output: {
7462
7431
  workerId: string;
@@ -7490,6 +7459,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7490
7459
  discardWork?: true | undefined;
7491
7460
  };
7492
7461
  };
7462
+ } | {
7463
+ output: {
7464
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7465
+ readonly error: string;
7466
+ readonly modelChoices?: {
7467
+ runner: string;
7468
+ requestedModel: string;
7469
+ availableModels: {
7470
+ id: string;
7471
+ label: string;
7472
+ description: string;
7473
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7474
+ }[];
7475
+ otherRunners: string[];
7476
+ } | undefined;
7477
+ };
7478
+ outputFormat: "json";
7479
+ status: 400 | 401 | 403 | 409 | 503;
7480
+ input: {
7481
+ query: {
7482
+ [x: string]: string | string[];
7483
+ };
7484
+ } & {
7485
+ param: {
7486
+ id: string;
7487
+ };
7488
+ } & {
7489
+ json: {
7490
+ discardWork?: true | undefined;
7491
+ };
7492
+ };
7493
7493
  };
7494
7494
  };
7495
7495
  } & {
@@ -7528,6 +7528,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7528
7528
  } & {
7529
7529
  "/runs/:id/archive": {
7530
7530
  $post: {
7531
+ output: {
7532
+ error: string;
7533
+ };
7534
+ outputFormat: "json";
7535
+ status: 404;
7536
+ input: {
7537
+ json: {
7538
+ archived?: boolean | undefined;
7539
+ };
7540
+ } & {
7541
+ param: {
7542
+ id: string;
7543
+ };
7544
+ };
7545
+ } | {
7531
7546
  output: {
7532
7547
  archiveWhenDone?: boolean | undefined;
7533
7548
  autoMergePr?: boolean | undefined;
@@ -8707,32 +8722,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8707
8722
  id: string;
8708
8723
  };
8709
8724
  };
8710
- } | {
8725
+ };
8726
+ };
8727
+ } & {
8728
+ "/runs/:id/pin": {
8729
+ $post: {
8711
8730
  output: {
8712
8731
  error: string;
8732
+ code?: "invalid_input" | undefined;
8713
8733
  };
8714
8734
  outputFormat: "json";
8715
- status: 404;
8735
+ status: 400;
8716
8736
  input: {
8717
- json: {
8718
- archived?: boolean | undefined;
8719
- };
8720
- } & {
8721
8737
  param: {
8722
8738
  id: string;
8723
8739
  };
8740
+ } & {
8741
+ json: {
8742
+ pinned?: boolean | undefined;
8743
+ };
8724
8744
  };
8725
- };
8726
- };
8727
- } & {
8728
- "/runs/:id/pin": {
8729
- $post: {
8745
+ } | {
8730
8746
  output: {
8731
8747
  error: string;
8732
- code?: "invalid_input" | undefined;
8733
8748
  };
8734
8749
  outputFormat: "json";
8735
- status: 400;
8750
+ status: 404;
8736
8751
  input: {
8737
8752
  param: {
8738
8753
  id: string;
@@ -9922,21 +9937,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9922
9937
  pinned?: boolean | undefined;
9923
9938
  };
9924
9939
  };
9925
- } | {
9926
- output: {
9927
- error: string;
9928
- };
9929
- outputFormat: "json";
9930
- status: 404;
9931
- input: {
9932
- param: {
9933
- id: string;
9934
- };
9935
- } & {
9936
- json: {
9937
- pinned?: boolean | undefined;
9938
- };
9939
- };
9940
9940
  };
9941
9941
  };
9942
9942
  } & {
@@ -9963,7 +9963,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9963
9963
  error: string;
9964
9964
  };
9965
9965
  outputFormat: "json";
9966
- status: 404;
9966
+ status: 400;
9967
9967
  input: {
9968
9968
  param: {
9969
9969
  id: string;
@@ -9979,7 +9979,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9979
9979
  error: string;
9980
9980
  };
9981
9981
  outputFormat: "json";
9982
- status: 400;
9982
+ status: 404;
9983
9983
  input: {
9984
9984
  param: {
9985
9985
  id: string;
@@ -11202,6 +11202,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11202
11202
  } & {
11203
11203
  "/runs/:id/read": {
11204
11204
  $post: {
11205
+ output: {
11206
+ error: string;
11207
+ };
11208
+ outputFormat: "json";
11209
+ status: 404;
11210
+ input: {
11211
+ param: {
11212
+ id: string;
11213
+ };
11214
+ };
11215
+ } | {
11205
11216
  output: {
11206
11217
  archiveWhenDone?: boolean | undefined;
11207
11218
  autoMergePr?: boolean | undefined;
@@ -12377,7 +12388,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12377
12388
  id: string;
12378
12389
  };
12379
12390
  };
12380
- } | {
12391
+ };
12392
+ };
12393
+ } & {
12394
+ "/runs/:id/unread": {
12395
+ $post: {
12381
12396
  output: {
12382
12397
  error: string;
12383
12398
  };
@@ -12388,11 +12403,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12388
12403
  id: string;
12389
12404
  };
12390
12405
  };
12391
- };
12392
- };
12393
- } & {
12394
- "/runs/:id/unread": {
12395
- $post: {
12406
+ } | {
12396
12407
  output: {
12397
12408
  archiveWhenDone?: boolean | undefined;
12398
12409
  autoMergePr?: boolean | undefined;
@@ -13568,17 +13579,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13568
13579
  id: string;
13569
13580
  };
13570
13581
  };
13571
- } | {
13572
- output: {
13573
- error: string;
13574
- };
13575
- outputFormat: "json";
13576
- status: 404;
13577
- input: {
13578
- param: {
13579
- id: string;
13580
- };
13581
- };
13582
13582
  };
13583
13583
  };
13584
13584
  } & {
@@ -14855,6 +14855,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14855
14855
  } & {
14856
14856
  "/runs/:id": {
14857
14857
  $get: {
14858
+ output: {
14859
+ error: string;
14860
+ };
14861
+ outputFormat: "json";
14862
+ status: 404;
14863
+ input: {
14864
+ param: {
14865
+ id: string;
14866
+ };
14867
+ };
14868
+ } | {
14858
14869
  output: {
14859
14870
  archiveWhenDone?: boolean | undefined;
14860
14871
  autoMergePr?: boolean | undefined;
@@ -16038,17 +16049,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16038
16049
  id: string;
16039
16050
  };
16040
16051
  };
16041
- } | {
16042
- output: {
16043
- error: string;
16044
- };
16045
- outputFormat: "json";
16046
- status: 404;
16047
- input: {
16048
- param: {
16049
- id: string;
16050
- };
16051
- };
16052
16052
  };
16053
16053
  };
16054
16054
  } & {
@@ -16176,6 +16176,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16176
16176
  } & {
16177
16177
  "/runs/:id": {
16178
16178
  $patch: {
16179
+ output: {
16180
+ error: string;
16181
+ };
16182
+ outputFormat: "json";
16183
+ status: 400;
16184
+ input: {
16185
+ json: {
16186
+ archiveWhenDone?: boolean | undefined;
16187
+ autoMergePr?: boolean | undefined;
16188
+ allowWorkers?: boolean | undefined;
16189
+ allowMessaging?: boolean | undefined;
16190
+ title?: string | undefined;
16191
+ task?: string | undefined;
16192
+ };
16193
+ } & {
16194
+ param: {
16195
+ id: string;
16196
+ };
16197
+ };
16198
+ } | {
16199
+ output: {
16200
+ error: string;
16201
+ };
16202
+ outputFormat: "json";
16203
+ status: 404;
16204
+ input: {
16205
+ json: {
16206
+ archiveWhenDone?: boolean | undefined;
16207
+ autoMergePr?: boolean | undefined;
16208
+ allowWorkers?: boolean | undefined;
16209
+ allowMessaging?: boolean | undefined;
16210
+ title?: string | undefined;
16211
+ task?: string | undefined;
16212
+ };
16213
+ } & {
16214
+ param: {
16215
+ id: string;
16216
+ };
16217
+ };
16218
+ } | {
16219
+ output: {
16220
+ error: string;
16221
+ };
16222
+ outputFormat: "json";
16223
+ status: 409;
16224
+ input: {
16225
+ json: {
16226
+ archiveWhenDone?: boolean | undefined;
16227
+ autoMergePr?: boolean | undefined;
16228
+ allowWorkers?: boolean | undefined;
16229
+ allowMessaging?: boolean | undefined;
16230
+ title?: string | undefined;
16231
+ task?: string | undefined;
16232
+ };
16233
+ } & {
16234
+ param: {
16235
+ id: string;
16236
+ };
16237
+ };
16238
+ } | {
16179
16239
  output: {
16180
16240
  archiveWhenDone?: boolean | undefined;
16181
16241
  autoMergePr?: boolean | undefined;
@@ -17360,66 +17420,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17360
17420
  id: string;
17361
17421
  };
17362
17422
  };
17363
- } | {
17364
- output: {
17365
- error: string;
17366
- };
17367
- outputFormat: "json";
17368
- status: 404;
17369
- input: {
17370
- json: {
17371
- archiveWhenDone?: boolean | undefined;
17372
- autoMergePr?: boolean | undefined;
17373
- allowWorkers?: boolean | undefined;
17374
- allowMessaging?: boolean | undefined;
17375
- title?: string | undefined;
17376
- task?: string | undefined;
17377
- };
17378
- } & {
17379
- param: {
17380
- id: string;
17381
- };
17382
- };
17383
- } | {
17384
- output: {
17385
- error: string;
17386
- };
17387
- outputFormat: "json";
17388
- status: 400;
17389
- input: {
17390
- json: {
17391
- archiveWhenDone?: boolean | undefined;
17392
- autoMergePr?: boolean | undefined;
17393
- allowWorkers?: boolean | undefined;
17394
- allowMessaging?: boolean | undefined;
17395
- title?: string | undefined;
17396
- task?: string | undefined;
17397
- };
17398
- } & {
17399
- param: {
17400
- id: string;
17401
- };
17402
- };
17403
- } | {
17404
- output: {
17405
- error: string;
17406
- };
17407
- outputFormat: "json";
17408
- status: 409;
17409
- input: {
17410
- json: {
17411
- archiveWhenDone?: boolean | undefined;
17412
- autoMergePr?: boolean | undefined;
17413
- allowWorkers?: boolean | undefined;
17414
- allowMessaging?: boolean | undefined;
17415
- title?: string | undefined;
17416
- task?: string | undefined;
17417
- };
17418
- } & {
17419
- param: {
17420
- id: string;
17421
- };
17422
- };
17423
17423
  };
17424
17424
  };
17425
17425
  } & {
@@ -17524,7 +17524,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17524
17524
  error: string;
17525
17525
  };
17526
17526
  outputFormat: "json";
17527
- status: 404;
17527
+ status: 400;
17528
17528
  input: {
17529
17529
  json: {
17530
17530
  text?: string | undefined;
@@ -17543,7 +17543,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17543
17543
  error: string;
17544
17544
  };
17545
17545
  outputFormat: "json";
17546
- status: 409;
17546
+ status: 404;
17547
17547
  input: {
17548
17548
  json: {
17549
17549
  text?: string | undefined;
@@ -17559,10 +17559,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17559
17559
  };
17560
17560
  } | {
17561
17561
  output: {
17562
- delivered: true;
17562
+ error: string;
17563
17563
  };
17564
17564
  outputFormat: "json";
17565
- status: import("hono/utils/http-status").ContentfulStatusCode;
17565
+ status: 409;
17566
17566
  input: {
17567
17567
  json: {
17568
17568
  text?: string | undefined;
@@ -17578,10 +17578,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17578
17578
  };
17579
17579
  } | {
17580
17580
  output: {
17581
- error: string;
17581
+ delivered: true;
17582
17582
  };
17583
17583
  outputFormat: "json";
17584
- status: 400;
17584
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17585
17585
  input: {
17586
17586
  json: {
17587
17587
  text?: string | undefined;
@@ -17649,7 +17649,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17649
17649
  error: string;
17650
17650
  };
17651
17651
  outputFormat: "json";
17652
- status: 404;
17652
+ status: 400;
17653
17653
  input: {
17654
17654
  json: {
17655
17655
  text?: string | undefined;
@@ -17670,7 +17670,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17670
17670
  error: string;
17671
17671
  };
17672
17672
  outputFormat: "json";
17673
- status: 400;
17673
+ status: 404;
17674
17674
  input: {
17675
17675
  json: {
17676
17676
  text?: string | undefined;
@@ -17890,10 +17890,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17890
17890
  "/runs/:id/open-in-cli": {
17891
17891
  $post: {
17892
17892
  output: {
17893
- error: string;
17893
+ opened: true;
17894
+ command: string;
17894
17895
  };
17895
17896
  outputFormat: "json";
17896
- status: 404 | 409;
17897
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17897
17898
  input: {
17898
17899
  param: {
17899
17900
  id: string;
@@ -17901,11 +17902,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17901
17902
  };
17902
17903
  } | {
17903
17904
  output: {
17904
- opened: true;
17905
- command: string;
17905
+ error: string;
17906
17906
  };
17907
17907
  outputFormat: "json";
17908
- status: import("hono/utils/http-status").ContentfulStatusCode;
17908
+ status: 404 | 409;
17909
17909
  input: {
17910
17910
  param: {
17911
17911
  id: string;
@@ -17993,9 +17993,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17993
17993
  } & {
17994
17994
  "/runs/:id/images/:file": {
17995
17995
  $get: {
17996
- output: {};
17997
- outputFormat: string;
17998
- status: import("hono/utils/http-status").StatusCode;
17996
+ output: {
17997
+ error: string;
17998
+ code?: "invalid_input" | undefined;
17999
+ };
18000
+ outputFormat: "json";
18001
+ status: 400;
17999
18002
  input: {
18000
18003
  param: {
18001
18004
  id: string;
@@ -18003,12 +18006,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18003
18006
  };
18004
18007
  };
18005
18008
  } | {
18006
- output: {
18007
- error: string;
18008
- code?: "invalid_input" | undefined;
18009
- };
18010
- outputFormat: "json";
18011
- status: 400;
18009
+ output: {};
18010
+ outputFormat: string;
18011
+ status: import("hono/utils/http-status").StatusCode;
18012
18012
  input: {
18013
18013
  param: {
18014
18014
  id: string;
@@ -18044,17 +18044,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18044
18044
  } & {
18045
18045
  "/runs/:id/changes": {
18046
18046
  $get: {
18047
- output: {
18048
- error: string;
18049
- };
18050
- outputFormat: "json";
18051
- status: 404 | 409;
18052
- input: {
18053
- param: {
18054
- id: string;
18055
- };
18056
- };
18057
- } | {
18058
18047
  output: {
18059
18048
  files: {
18060
18049
  path: string;
@@ -18083,11 +18072,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18083
18072
  id: string;
18084
18073
  };
18085
18074
  };
18086
- };
18087
- };
18088
- } & {
18089
- "/runs/:id/commits": {
18090
- $get: {
18075
+ } | {
18091
18076
  output: {
18092
18077
  error: string;
18093
18078
  };
@@ -18098,7 +18083,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18098
18083
  id: string;
18099
18084
  };
18100
18085
  };
18101
- } | {
18086
+ };
18087
+ };
18088
+ } & {
18089
+ "/runs/:id/commits": {
18090
+ $get: {
18102
18091
  output: {
18103
18092
  commits: {
18104
18093
  sha: string;
@@ -18114,11 +18103,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18114
18103
  id: string;
18115
18104
  };
18116
18105
  };
18117
- };
18118
- };
18119
- } & {
18120
- "/runs/:id/commit/:sha": {
18121
- $get: {
18106
+ } | {
18122
18107
  output: {
18123
18108
  error: string;
18124
18109
  };
@@ -18127,11 +18112,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18127
18112
  input: {
18128
18113
  param: {
18129
18114
  id: string;
18130
- } & {
18131
- sha: string;
18132
18115
  };
18133
18116
  };
18134
- } | {
18117
+ };
18118
+ };
18119
+ } & {
18120
+ "/runs/:id/commit/:sha": {
18121
+ $get: {
18135
18122
  output: {
18136
18123
  sha: string;
18137
18124
  subject: string;
@@ -18162,6 +18149,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18162
18149
  sha: string;
18163
18150
  };
18164
18151
  };
18152
+ } | {
18153
+ output: {
18154
+ error: string;
18155
+ };
18156
+ outputFormat: "json";
18157
+ status: 404 | 409;
18158
+ input: {
18159
+ param: {
18160
+ id: string;
18161
+ } & {
18162
+ sha: string;
18163
+ };
18164
+ };
18165
18165
  };
18166
18166
  };
18167
18167
  } & {
@@ -18197,22 +18197,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18197
18197
  raw?: "1" | undefined;
18198
18198
  };
18199
18199
  };
18200
- } | {
18201
- output: {
18202
- error: string;
18203
- };
18204
- outputFormat: "json";
18205
- status: 404 | 409;
18206
- input: {
18207
- param: {
18208
- id: string;
18209
- };
18210
- } & {
18211
- query: {
18212
- path: string | string[];
18213
- raw?: "1" | undefined;
18214
- };
18215
- };
18216
18200
  } | {
18217
18201
  output: {
18218
18202
  type: "file";
@@ -18249,6 +18233,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18249
18233
  raw?: "1" | undefined;
18250
18234
  };
18251
18235
  };
18236
+ } | {
18237
+ output: {
18238
+ error: string;
18239
+ };
18240
+ outputFormat: "json";
18241
+ status: 404 | 409;
18242
+ input: {
18243
+ param: {
18244
+ id: string;
18245
+ };
18246
+ } & {
18247
+ query: {
18248
+ path: string | string[];
18249
+ raw?: "1" | undefined;
18250
+ };
18251
+ };
18252
18252
  };
18253
18253
  };
18254
18254
  } & {
@@ -18313,6 +18313,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18313
18313
  artifactId: string;
18314
18314
  };
18315
18315
  };
18316
+ } | {
18317
+ output: {
18318
+ error: string;
18319
+ };
18320
+ outputFormat: "json";
18321
+ status: 404;
18322
+ input: {
18323
+ param: {
18324
+ id: string;
18325
+ artifactId: string;
18326
+ };
18327
+ };
18316
18328
  } | {
18317
18329
  output: {
18318
18330
  type: "file";
@@ -18341,18 +18353,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18341
18353
  artifactId: string;
18342
18354
  };
18343
18355
  };
18344
- } | {
18345
- output: {
18346
- error: string;
18347
- };
18348
- outputFormat: "json";
18349
- status: 404;
18350
- input: {
18351
- param: {
18352
- id: string;
18353
- artifactId: string;
18354
- };
18355
- };
18356
18356
  };
18357
18357
  };
18358
18358
  } & {
@@ -18530,10 +18530,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18530
18530
  };
18531
18531
  } | {
18532
18532
  output: {
18533
- error: string;
18533
+ type: 'dir';
18534
+ path: string;
18535
+ entries: {
18536
+ name: string;
18537
+ type: 'dir' | 'file';
18538
+ size?: number;
18539
+ chain?: string;
18540
+ }[];
18534
18541
  };
18535
18542
  outputFormat: "json";
18536
- status: 404 | 409;
18543
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18537
18544
  input: {
18538
18545
  query: {
18539
18546
  path?: string | undefined;
@@ -18546,13 +18553,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18546
18553
  };
18547
18554
  } | {
18548
18555
  output: {
18549
- type: 'dir';
18556
+ type: 'file';
18550
18557
  path: string;
18551
- entries: {
18552
- name: string;
18553
- type: 'dir' | 'file';
18554
- size?: number;
18555
- }[];
18558
+ size: number;
18559
+ binary: boolean;
18560
+ tooLarge: boolean;
18561
+ content?: string | undefined;
18556
18562
  };
18557
18563
  outputFormat: "json";
18558
18564
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18568,15 +18574,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18568
18574
  };
18569
18575
  } | {
18570
18576
  output: {
18571
- type: 'file';
18572
- path: string;
18573
- size: number;
18574
- binary: boolean;
18575
- tooLarge: boolean;
18576
- content?: string | undefined;
18577
+ error: string;
18577
18578
  };
18578
18579
  outputFormat: "json";
18579
- status: import("hono/utils/http-status").ContentfulStatusCode;
18580
+ status: 404 | 409;
18580
18581
  input: {
18581
18582
  query: {
18582
18583
  path?: string | undefined;
@@ -18593,10 +18594,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18593
18594
  "/runs/:id/git/commit": {
18594
18595
  $post: {
18595
18596
  output: {
18596
- error: string;
18597
+ committed: true;
18598
+ sha: string;
18597
18599
  };
18598
18600
  outputFormat: "json";
18599
- status: 404 | 409;
18601
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18600
18602
  input: {
18601
18603
  json: {
18602
18604
  message: string;
@@ -18608,11 +18610,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18608
18610
  };
18609
18611
  } | {
18610
18612
  output: {
18611
- committed: true;
18612
- sha: string;
18613
+ error: string;
18613
18614
  };
18614
18615
  outputFormat: "json";
18615
- status: import("hono/utils/http-status").ContentfulStatusCode;
18616
+ status: 404 | 409;
18616
18617
  input: {
18617
18618
  json: {
18618
18619
  message: string;
@@ -18628,10 +18629,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18628
18629
  "/runs/:id/git/push": {
18629
18630
  $post: {
18630
18631
  output: {
18631
- error: string;
18632
+ pushed: true;
18633
+ branch: string;
18634
+ remote: string;
18635
+ upstreamSet: boolean;
18632
18636
  };
18633
18637
  outputFormat: "json";
18634
- status: 404 | 409;
18638
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18635
18639
  input: {
18636
18640
  param: {
18637
18641
  id: string;
@@ -18639,13 +18643,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18639
18643
  };
18640
18644
  } | {
18641
18645
  output: {
18642
- pushed: true;
18643
- branch: string;
18644
- remote: string;
18645
- upstreamSet: boolean;
18646
+ error: string;
18646
18647
  };
18647
18648
  outputFormat: "json";
18648
- status: import("hono/utils/http-status").ContentfulStatusCode;
18649
+ status: 404 | 409;
18649
18650
  input: {
18650
18651
  param: {
18651
18652
  id: string;
@@ -18657,10 +18658,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18657
18658
  "/runs/:id/pr": {
18658
18659
  $post: {
18659
18660
  output: {
18660
- error: string;
18661
+ url: string;
18662
+ dryRun: boolean;
18661
18663
  };
18662
18664
  outputFormat: "json";
18663
- status: 404 | 409;
18665
+ status: 201;
18664
18666
  input: {
18665
18667
  param: {
18666
18668
  id: string;
@@ -18668,11 +18670,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18668
18670
  };
18669
18671
  } | {
18670
18672
  output: {
18671
- url: string;
18672
- dryRun: boolean;
18673
+ error: string;
18673
18674
  };
18674
18675
  outputFormat: "json";
18675
- status: 201;
18676
+ status: 404 | 409;
18676
18677
  input: {
18677
18678
  param: {
18678
18679
  id: string;
@@ -18684,10 +18685,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18684
18685
  "/runs/:id/remove-worktree": {
18685
18686
  $post: {
18686
18687
  output: {
18687
- error: string;
18688
+ removed: true;
18688
18689
  };
18689
18690
  outputFormat: "json";
18690
- status: 404 | 409;
18691
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18691
18692
  input: {
18692
18693
  param: {
18693
18694
  id: string;
@@ -18695,10 +18696,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18695
18696
  };
18696
18697
  } | {
18697
18698
  output: {
18698
- removed: true;
18699
+ error: string;
18699
18700
  };
18700
18701
  outputFormat: "json";
18701
- status: import("hono/utils/http-status").ContentfulStatusCode;
18702
+ status: 404 | 409;
18702
18703
  input: {
18703
18704
  param: {
18704
18705
  id: string;
@@ -18710,10 +18711,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18710
18711
  "/runs/:id": {
18711
18712
  $delete: {
18712
18713
  output: {
18713
- error: string;
18714
+ deleted: true;
18714
18715
  };
18715
18716
  outputFormat: "json";
18716
- status: 404 | 409;
18717
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18717
18718
  input: {
18718
18719
  param: {
18719
18720
  id: string;
@@ -18721,10 +18722,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18721
18722
  };
18722
18723
  } | {
18723
18724
  output: {
18724
- deleted: true;
18725
+ error: string;
18725
18726
  };
18726
18727
  outputFormat: "json";
18727
- status: import("hono/utils/http-status").ContentfulStatusCode;
18728
+ status: 404 | 409;
18728
18729
  input: {
18729
18730
  param: {
18730
18731
  id: string;
@@ -18793,18 +18794,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18793
18794
  }, "/"> | import("hono/types").MergeSchemaPath<{
18794
18795
  "/plan": {
18795
18796
  $post: {
18796
- output: {
18797
- error: string;
18798
- };
18799
- outputFormat: "json";
18800
- status: 400 | 404 | 409;
18801
- input: {
18802
- json: {
18803
- task: string;
18804
- agentProfile?: string | undefined;
18805
- };
18806
- };
18807
- } | {
18808
18797
  output: {
18809
18798
  name?: string;
18810
18799
  steps: {
@@ -18841,6 +18830,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18841
18830
  agentProfile?: string | undefined;
18842
18831
  };
18843
18832
  };
18833
+ } | {
18834
+ output: {
18835
+ error: string;
18836
+ };
18837
+ outputFormat: "json";
18838
+ status: 400 | 404 | 409;
18839
+ input: {
18840
+ json: {
18841
+ task: string;
18842
+ agentProfile?: string | undefined;
18843
+ };
18844
+ };
18844
18845
  };
18845
18846
  };
18846
18847
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18890,42 +18891,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18890
18891
  "/ui-state": {
18891
18892
  $put: {
18892
18893
  output: {
18893
- [x: string]: import("hono/utils/types").JSONValue;
18894
- sidebarLimits?: {
18895
- overall?: number | null | undefined;
18896
- needsYou?: number | null | undefined;
18897
- finished?: number | null | undefined;
18898
- working?: number | null | undefined;
18899
- } | undefined;
18900
- lastTask?: {
18901
- source: "skill" | "workflow";
18902
- ref: string;
18903
- } | null | undefined;
18904
- recentSources?: {
18905
- source: "skill" | "workflow";
18906
- ref: string;
18907
- }[] | undefined;
18908
- lastWorktree?: boolean | undefined;
18909
- lastAutonomous?: boolean | undefined;
18910
- skillUsage?: {
18911
- [x: string]: number;
18912
- } | undefined;
18913
- runsView?: "list" | "table" | undefined;
18914
- githubView?: "issues" | "prs" | undefined;
18915
- appearance?: {
18916
- accent?: "cezarion" | "lime" | "violet" | undefined;
18917
- density?: "comfortable" | "compact" | "ultra" | undefined;
18918
- width?: "narrow" | "wide" | undefined;
18919
- } | undefined;
18920
- promptTemplates?: {
18921
- id: string;
18922
- label: string;
18923
- text: string;
18924
- skills?: string[] | undefined;
18925
- }[] | undefined;
18894
+ error: string;
18926
18895
  };
18927
18896
  outputFormat: "json";
18928
- status: import("hono/utils/http-status").ContentfulStatusCode;
18897
+ status: 500;
18929
18898
  input: {
18930
18899
  json: {
18931
18900
  [x: string]: unknown;
@@ -18963,10 +18932,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18963
18932
  };
18964
18933
  } | {
18965
18934
  output: {
18966
- error: string;
18935
+ [x: string]: import("hono/utils/types").JSONValue;
18936
+ sidebarLimits?: {
18937
+ overall?: number | null | undefined;
18938
+ needsYou?: number | null | undefined;
18939
+ finished?: number | null | undefined;
18940
+ working?: number | null | undefined;
18941
+ } | undefined;
18942
+ lastTask?: {
18943
+ source: "skill" | "workflow";
18944
+ ref: string;
18945
+ } | null | undefined;
18946
+ recentSources?: {
18947
+ source: "skill" | "workflow";
18948
+ ref: string;
18949
+ }[] | undefined;
18950
+ lastWorktree?: boolean | undefined;
18951
+ lastAutonomous?: boolean | undefined;
18952
+ skillUsage?: {
18953
+ [x: string]: number;
18954
+ } | undefined;
18955
+ runsView?: "list" | "table" | undefined;
18956
+ githubView?: "issues" | "prs" | undefined;
18957
+ appearance?: {
18958
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18959
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18960
+ width?: "narrow" | "wide" | undefined;
18961
+ } | undefined;
18962
+ promptTemplates?: {
18963
+ id: string;
18964
+ label: string;
18965
+ text: string;
18966
+ skills?: string[] | undefined;
18967
+ }[] | undefined;
18967
18968
  };
18968
18969
  outputFormat: "json";
18969
- status: 500;
18970
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18970
18971
  input: {
18971
18972
  json: {
18972
18973
  [x: string]: unknown;
@@ -19043,34 +19044,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19043
19044
  "/config": {
19044
19045
  $put: {
19045
19046
  output: {
19046
- archiveOnMerge: boolean | null;
19047
- effectiveArchiveOnMerge: boolean;
19048
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19049
- baseBranch: string | null;
19050
- defaultRunner: string;
19051
- systemPrompt: string | null;
19052
- defaultModels: {
19053
- [x: string]: string | undefined;
19054
- };
19055
- modelsLocked: boolean;
19056
- maxParallel: number;
19057
- memoryLimitMb: number | null;
19058
- worktreeRetention: number;
19059
- liveTitleUpdates: boolean | null;
19060
- reviewGate: boolean | null;
19061
- worktreeSetup: {
19062
- commands: string[];
19063
- timeoutSeconds: number;
19064
- } | null;
19065
- worktreeSetupIssue: string | null;
19066
- worktreeTeardown: {
19067
- commands: string[];
19068
- timeoutSeconds: number;
19069
- } | null;
19070
- worktreeTeardownIssue: string | null;
19047
+ error: string;
19071
19048
  };
19072
19049
  outputFormat: "json";
19073
- status: import("hono/utils/http-status").ContentfulStatusCode;
19050
+ status: 409;
19074
19051
  input: {
19075
19052
  json: {
19076
19053
  archiveOnMerge?: boolean | null | undefined;
@@ -19098,7 +19075,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19098
19075
  error: string;
19099
19076
  };
19100
19077
  outputFormat: "json";
19101
- status: 409;
19078
+ status: 500;
19102
19079
  input: {
19103
19080
  json: {
19104
19081
  archiveOnMerge?: boolean | null | undefined;
@@ -19123,10 +19100,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19123
19100
  };
19124
19101
  } | {
19125
19102
  output: {
19126
- error: string;
19103
+ archiveOnMerge: boolean | null;
19104
+ effectiveArchiveOnMerge: boolean;
19105
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19106
+ baseBranch: string | null;
19107
+ defaultRunner: string;
19108
+ systemPrompt: string | null;
19109
+ defaultModels: {
19110
+ [x: string]: string | undefined;
19111
+ };
19112
+ modelsLocked: boolean;
19113
+ maxParallel: number;
19114
+ memoryLimitMb: number | null;
19115
+ worktreeRetention: number;
19116
+ liveTitleUpdates: boolean | null;
19117
+ reviewGate: boolean | null;
19118
+ worktreeSetup: {
19119
+ commands: string[];
19120
+ timeoutSeconds: number;
19121
+ } | null;
19122
+ worktreeSetupIssue: string | null;
19123
+ worktreeTeardown: {
19124
+ commands: string[];
19125
+ timeoutSeconds: number;
19126
+ } | null;
19127
+ worktreeTeardownIssue: string | null;
19127
19128
  };
19128
19129
  outputFormat: "json";
19129
- status: 500;
19130
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19130
19131
  input: {
19131
19132
  json: {
19132
19133
  archiveOnMerge?: boolean | null | undefined;
@@ -19237,9 +19238,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19237
19238
  }, "/"> | import("hono/types").MergeSchemaPath<{
19238
19239
  "/runs/:id/events": {
19239
19240
  $get: {
19240
- output: {};
19241
- outputFormat: string;
19242
- status: import("hono/utils/http-status").StatusCode;
19241
+ output: {
19242
+ error: string;
19243
+ code?: "invalid_input" | undefined;
19244
+ };
19245
+ outputFormat: "json";
19246
+ status: 400;
19243
19247
  input: {
19244
19248
  param: {
19245
19249
  id: string;
@@ -19251,12 +19255,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19251
19255
  };
19252
19256
  };
19253
19257
  } | {
19254
- output: {
19255
- error: string;
19256
- code?: "invalid_input" | undefined;
19257
- };
19258
- outputFormat: "json";
19259
- status: 400;
19258
+ output: {};
19259
+ outputFormat: string;
19260
+ status: import("hono/utils/http-status").StatusCode;
19260
19261
  input: {
19261
19262
  param: {
19262
19263
  id: string;
@@ -19300,7 +19301,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19300
19301
  error: string;
19301
19302
  };
19302
19303
  outputFormat: "json";
19303
- status: 409;
19304
+ status: 400;
19304
19305
  input: {
19305
19306
  json: {
19306
19307
  target: string;
@@ -19311,7 +19312,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19311
19312
  error: string;
19312
19313
  };
19313
19314
  outputFormat: "json";
19314
- status: 400;
19315
+ status: 409;
19315
19316
  input: {
19316
19317
  json: {
19317
19318
  target: string;
@@ -19372,7 +19373,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19372
19373
  error: string;
19373
19374
  };
19374
19375
  outputFormat: "json";
19375
- status: 409;
19376
+ status: 400;
19376
19377
  input: {
19377
19378
  query: {
19378
19379
  q?: string | undefined;
@@ -19385,7 +19386,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19385
19386
  error: string;
19386
19387
  };
19387
19388
  outputFormat: "json";
19388
- status: 400;
19389
+ status: 409;
19389
19390
  input: {
19390
19391
  query: {
19391
19392
  q?: string | undefined;
@@ -19507,14 +19508,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19507
19508
  "/agent-config/:id": {
19508
19509
  $put: {
19509
19510
  output: {
19510
- id: string;
19511
- path: string;
19512
- exists: boolean;
19513
- content: string;
19514
- version: string | null;
19511
+ error: string;
19515
19512
  };
19516
19513
  outputFormat: "json";
19517
- status: import("hono/utils/http-status").ContentfulStatusCode;
19514
+ status: 404;
19518
19515
  input: {
19519
19516
  json: {
19520
19517
  content: string;
@@ -19527,10 +19524,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19527
19524
  };
19528
19525
  } | {
19529
19526
  output: {
19530
- error: string;
19527
+ id: string;
19528
+ path: string;
19529
+ exists: boolean;
19530
+ content: string;
19531
+ version: string | null;
19531
19532
  };
19532
19533
  outputFormat: "json";
19533
- status: 404;
19534
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19534
19535
  input: {
19535
19536
  json: {
19536
19537
  content: string;
@@ -19630,10 +19631,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19630
19631
  };
19631
19632
  } | {
19632
19633
  output: {
19633
- error: string;
19634
+ runId: string;
19635
+ worktreeReclaimedAt: string;
19634
19636
  };
19635
19637
  outputFormat: "json";
19636
- status: 404 | 409;
19638
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19637
19639
  input: {
19638
19640
  param: {
19639
19641
  runId: string;
@@ -19645,11 +19647,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19645
19647
  };
19646
19648
  } | {
19647
19649
  output: {
19648
- runId: string;
19649
- worktreeReclaimedAt: string;
19650
+ error: string;
19650
19651
  };
19651
19652
  outputFormat: "json";
19652
- status: import("hono/utils/http-status").ContentfulStatusCode;
19653
+ status: 404 | 409;
19653
19654
  input: {
19654
19655
  param: {
19655
19656
  runId: string;
@@ -19809,10 +19810,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19809
19810
  "/workflows": {
19810
19811
  $post: {
19811
19812
  output: {
19812
- error: string;
19813
+ path: string;
19814
+ name: string;
19813
19815
  };
19814
19816
  outputFormat: "json";
19815
- status: 400;
19817
+ status: 201;
19816
19818
  input: {
19817
19819
  json: {
19818
19820
  name: string;
@@ -19845,10 +19847,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19845
19847
  } | {
19846
19848
  output: {
19847
19849
  error: string;
19848
- exists: true;
19849
19850
  };
19850
19851
  outputFormat: "json";
19851
- status: 409;
19852
+ status: 400;
19852
19853
  input: {
19853
19854
  json: {
19854
19855
  name: string;
@@ -19881,9 +19882,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19881
19882
  } | {
19882
19883
  output: {
19883
19884
  error: string;
19885
+ exists: true;
19884
19886
  };
19885
19887
  outputFormat: "json";
19886
- status: 500;
19888
+ status: 409;
19887
19889
  input: {
19888
19890
  json: {
19889
19891
  name: string;
@@ -19915,11 +19917,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19915
19917
  };
19916
19918
  } | {
19917
19919
  output: {
19918
- path: string;
19919
- name: string;
19920
+ error: string;
19920
19921
  };
19921
19922
  outputFormat: "json";
19922
- status: 201;
19923
+ status: 500;
19923
19924
  input: {
19924
19925
  json: {
19925
19926
  name: string;
@@ -19955,10 +19956,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19955
19956
  "/workflows/:name": {
19956
19957
  $delete: {
19957
19958
  output: {
19958
- error: string;
19959
+ ok: true;
19960
+ path: string;
19959
19961
  };
19960
19962
  outputFormat: "json";
19961
- status: 400 | 404 | 409 | 500;
19963
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19962
19964
  input: {
19963
19965
  param: {
19964
19966
  name: string;
@@ -19966,11 +19968,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19966
19968
  };
19967
19969
  } | {
19968
19970
  output: {
19969
- ok: true;
19970
- path: string;
19971
+ error: string;
19971
19972
  };
19972
19973
  outputFormat: "json";
19973
- status: import("hono/utils/http-status").ContentfulStatusCode;
19974
+ status: 400 | 404 | 409 | 500;
19974
19975
  input: {
19975
19976
  param: {
19976
19977
  name: string;
@@ -20146,14 +20147,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20146
20147
  "/repo/branches/delete": {
20147
20148
  $post: {
20148
20149
  output: {
20149
- error: string;
20150
+ deleted: string[];
20150
20151
  refused: {
20151
20152
  name: string;
20152
20153
  reason: string;
20153
20154
  }[];
20155
+ dropped?: {
20156
+ sha: string;
20157
+ subject: string;
20158
+ }[] | undefined;
20154
20159
  };
20155
20160
  outputFormat: "json";
20156
- status: 409;
20161
+ status: 200;
20157
20162
  input: {
20158
20163
  json: {
20159
20164
  names: string[];
@@ -20162,18 +20167,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20162
20167
  };
20163
20168
  } | {
20164
20169
  output: {
20165
- deleted: string[];
20170
+ error: string;
20166
20171
  refused: {
20167
20172
  name: string;
20168
20173
  reason: string;
20169
20174
  }[];
20170
- dropped?: {
20171
- sha: string;
20172
- subject: string;
20173
- }[] | undefined;
20174
20175
  };
20175
20176
  outputFormat: "json";
20176
- status: 200;
20177
+ status: 409;
20177
20178
  input: {
20178
20179
  json: {
20179
20180
  names: string[];
@@ -20194,9 +20195,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20194
20195
  } & {
20195
20196
  "/repo/commit/:sha": {
20196
20197
  $get: {
20197
- output: string;
20198
- outputFormat: "text";
20199
- status: import("hono/utils/http-status").ContentfulStatusCode;
20198
+ output: {
20199
+ error: string;
20200
+ code?: "invalid_input" | undefined;
20201
+ };
20202
+ outputFormat: "json";
20203
+ status: 400;
20200
20204
  input: {
20201
20205
  query: {
20202
20206
  structured?: string | undefined;
@@ -20209,10 +20213,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20209
20213
  } | {
20210
20214
  output: {
20211
20215
  error: string;
20212
- code?: "invalid_input" | undefined;
20213
20216
  };
20214
20217
  outputFormat: "json";
20215
- status: 400;
20218
+ status: 409;
20216
20219
  input: {
20217
20220
  query: {
20218
20221
  structured?: string | undefined;
@@ -20256,11 +20259,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20256
20259
  };
20257
20260
  };
20258
20261
  } | {
20259
- output: {
20260
- error: string;
20261
- };
20262
- outputFormat: "json";
20263
- status: 409;
20262
+ output: string;
20263
+ outputFormat: "text";
20264
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20264
20265
  input: {
20265
20266
  query: {
20266
20267
  structured?: string | undefined;
@@ -20275,6 +20276,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20275
20276
  } & {
20276
20277
  "/repo/changes": {
20277
20278
  $get: {
20279
+ output: {
20280
+ error: string;
20281
+ };
20282
+ outputFormat: "json";
20283
+ status: 409;
20284
+ input: {};
20285
+ } | {
20278
20286
  output: {
20279
20287
  files: {
20280
20288
  path: string;
@@ -20299,13 +20307,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20299
20307
  outputFormat: "json";
20300
20308
  status: import("hono/utils/http-status").ContentfulStatusCode;
20301
20309
  input: {};
20302
- } | {
20303
- output: {
20304
- error: string;
20305
- };
20306
- outputFormat: "json";
20307
- status: 409;
20308
- input: {};
20309
20310
  };
20310
20311
  };
20311
20312
  } & {
@@ -20330,10 +20331,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20330
20331
  "/repo/pull": {
20331
20332
  $post: {
20332
20333
  output: {
20333
- error: string;
20334
+ branch: string;
20335
+ pulled: true;
20336
+ summary: string;
20334
20337
  };
20335
20338
  outputFormat: "json";
20336
- status: 409;
20339
+ status: 200;
20337
20340
  input: {
20338
20341
  json: {
20339
20342
  branch?: string | undefined;
@@ -20342,12 +20345,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20342
20345
  };
20343
20346
  } | {
20344
20347
  output: {
20345
- branch: string;
20346
- pulled: true;
20347
- summary: string;
20348
+ error: string;
20348
20349
  };
20349
20350
  outputFormat: "json";
20350
- status: 200;
20351
+ status: 409;
20351
20352
  input: {
20352
20353
  json: {
20353
20354
  branch?: string | undefined;
@@ -22335,6 +22336,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22335
22336
  } & {
22336
22337
  "/run-summaries": {
22337
22338
  $get: {
22339
+ output: {
22340
+ error: string;
22341
+ code?: "invalid_input" | undefined;
22342
+ };
22343
+ outputFormat: "json";
22344
+ status: 400;
22345
+ input: {
22346
+ query: {
22347
+ archived?: "all" | "recent" | undefined;
22348
+ };
22349
+ };
22350
+ } | {
22338
22351
  output: {
22339
22352
  id: string;
22340
22353
  title: string;
@@ -22472,18 +22485,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22472
22485
  archived?: "all" | "recent" | undefined;
22473
22486
  };
22474
22487
  };
22475
- } | {
22476
- output: {
22477
- error: string;
22478
- code?: "invalid_input" | undefined;
22479
- };
22480
- outputFormat: "json";
22481
- status: 400;
22482
- input: {
22483
- query: {
22484
- archived?: "all" | "recent" | undefined;
22485
- };
22486
- };
22487
22488
  };
22488
22489
  };
22489
22490
  } & {
@@ -22845,22 +22846,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22845
22846
  "/runs/:id/worker-destroy": {
22846
22847
  $post: {
22847
22848
  output: {
22848
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22849
- readonly error: string;
22850
- readonly modelChoices?: {
22851
- runner: string;
22852
- requestedModel: string;
22853
- availableModels: {
22854
- id: string;
22855
- label: string;
22856
- description: string;
22857
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22858
- }[];
22859
- otherRunners: string[];
22849
+ workerId: string;
22850
+ state: "complete" | "incomplete";
22851
+ work?: {
22852
+ uncommittedFiles: number;
22853
+ commits: number;
22860
22854
  } | undefined;
22855
+ deleted?: ({
22856
+ kind: "worktree";
22857
+ path: string;
22858
+ } | {
22859
+ kind: "branch";
22860
+ ref: string;
22861
+ })[] | undefined;
22862
+ remaining: ("branch" | "process" | "worktree")[];
22863
+ error?: string | undefined;
22861
22864
  };
22862
22865
  outputFormat: "json";
22863
- status: 400 | 401 | 403 | 409 | 503;
22866
+ status: 200;
22864
22867
  input: {
22865
22868
  query: {
22866
22869
  [x: string]: string | string[];
@@ -22913,7 +22916,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22913
22916
  error?: string | undefined;
22914
22917
  };
22915
22918
  outputFormat: "json";
22916
- status: 200;
22919
+ status: 409;
22917
22920
  input: {
22918
22921
  query: {
22919
22922
  [x: string]: string | string[];
@@ -22929,24 +22932,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22929
22932
  };
22930
22933
  } | {
22931
22934
  output: {
22932
- workerId: string;
22933
- state: "complete" | "incomplete";
22934
- work?: {
22935
- uncommittedFiles: number;
22936
- commits: number;
22935
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22936
+ readonly error: string;
22937
+ readonly modelChoices?: {
22938
+ runner: string;
22939
+ requestedModel: string;
22940
+ availableModels: {
22941
+ id: string;
22942
+ label: string;
22943
+ description: string;
22944
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22945
+ }[];
22946
+ otherRunners: string[];
22937
22947
  } | undefined;
22938
- deleted?: ({
22939
- kind: "worktree";
22940
- path: string;
22941
- } | {
22942
- kind: "branch";
22943
- ref: string;
22944
- })[] | undefined;
22945
- remaining: ("branch" | "process" | "worktree")[];
22946
- error?: string | undefined;
22947
22948
  };
22948
22949
  outputFormat: "json";
22949
- status: 409;
22950
+ status: 400 | 401 | 403 | 409 | 503;
22950
22951
  input: {
22951
22952
  query: {
22952
22953
  [x: string]: string | string[];
@@ -22998,6 +22999,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22998
22999
  } & {
22999
23000
  "/runs/:id/archive": {
23000
23001
  $post: {
23002
+ output: {
23003
+ error: string;
23004
+ };
23005
+ outputFormat: "json";
23006
+ status: 404;
23007
+ input: {
23008
+ json: {
23009
+ archived?: boolean | undefined;
23010
+ };
23011
+ } & {
23012
+ param: {
23013
+ id: string;
23014
+ };
23015
+ };
23016
+ } | {
23001
23017
  output: {
23002
23018
  archiveWhenDone?: boolean | undefined;
23003
23019
  autoMergePr?: boolean | undefined;
@@ -24177,32 +24193,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24177
24193
  id: string;
24178
24194
  };
24179
24195
  };
24180
- } | {
24196
+ };
24197
+ };
24198
+ } & {
24199
+ "/runs/:id/pin": {
24200
+ $post: {
24181
24201
  output: {
24182
24202
  error: string;
24203
+ code?: "invalid_input" | undefined;
24183
24204
  };
24184
24205
  outputFormat: "json";
24185
- status: 404;
24206
+ status: 400;
24186
24207
  input: {
24187
- json: {
24188
- archived?: boolean | undefined;
24189
- };
24190
- } & {
24191
24208
  param: {
24192
24209
  id: string;
24193
24210
  };
24211
+ } & {
24212
+ json: {
24213
+ pinned?: boolean | undefined;
24214
+ };
24194
24215
  };
24195
- };
24196
- };
24197
- } & {
24198
- "/runs/:id/pin": {
24199
- $post: {
24216
+ } | {
24200
24217
  output: {
24201
24218
  error: string;
24202
- code?: "invalid_input" | undefined;
24203
24219
  };
24204
24220
  outputFormat: "json";
24205
- status: 400;
24221
+ status: 404;
24206
24222
  input: {
24207
24223
  param: {
24208
24224
  id: string;
@@ -25392,21 +25408,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25392
25408
  pinned?: boolean | undefined;
25393
25409
  };
25394
25410
  };
25395
- } | {
25396
- output: {
25397
- error: string;
25398
- };
25399
- outputFormat: "json";
25400
- status: 404;
25401
- input: {
25402
- param: {
25403
- id: string;
25404
- };
25405
- } & {
25406
- json: {
25407
- pinned?: boolean | undefined;
25408
- };
25409
- };
25410
25411
  };
25411
25412
  };
25412
25413
  } & {
@@ -25433,7 +25434,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25433
25434
  error: string;
25434
25435
  };
25435
25436
  outputFormat: "json";
25436
- status: 404;
25437
+ status: 400;
25437
25438
  input: {
25438
25439
  param: {
25439
25440
  id: string;
@@ -25449,7 +25450,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25449
25450
  error: string;
25450
25451
  };
25451
25452
  outputFormat: "json";
25452
- status: 400;
25453
+ status: 404;
25453
25454
  input: {
25454
25455
  param: {
25455
25456
  id: string;
@@ -26672,6 +26673,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26672
26673
  } & {
26673
26674
  "/runs/:id/read": {
26674
26675
  $post: {
26676
+ output: {
26677
+ error: string;
26678
+ };
26679
+ outputFormat: "json";
26680
+ status: 404;
26681
+ input: {
26682
+ param: {
26683
+ id: string;
26684
+ };
26685
+ };
26686
+ } | {
26675
26687
  output: {
26676
26688
  archiveWhenDone?: boolean | undefined;
26677
26689
  autoMergePr?: boolean | undefined;
@@ -27847,7 +27859,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27847
27859
  id: string;
27848
27860
  };
27849
27861
  };
27850
- } | {
27862
+ };
27863
+ };
27864
+ } & {
27865
+ "/runs/:id/unread": {
27866
+ $post: {
27851
27867
  output: {
27852
27868
  error: string;
27853
27869
  };
@@ -27858,11 +27874,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27858
27874
  id: string;
27859
27875
  };
27860
27876
  };
27861
- };
27862
- };
27863
- } & {
27864
- "/runs/:id/unread": {
27865
- $post: {
27877
+ } | {
27866
27878
  output: {
27867
27879
  archiveWhenDone?: boolean | undefined;
27868
27880
  autoMergePr?: boolean | undefined;
@@ -29038,17 +29050,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29038
29050
  id: string;
29039
29051
  };
29040
29052
  };
29041
- } | {
29042
- output: {
29043
- error: string;
29044
- };
29045
- outputFormat: "json";
29046
- status: 404;
29047
- input: {
29048
- param: {
29049
- id: string;
29050
- };
29051
- };
29052
29053
  };
29053
29054
  };
29054
29055
  } & {
@@ -30325,6 +30326,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30325
30326
  } & {
30326
30327
  "/runs/:id": {
30327
30328
  $get: {
30329
+ output: {
30330
+ error: string;
30331
+ };
30332
+ outputFormat: "json";
30333
+ status: 404;
30334
+ input: {
30335
+ param: {
30336
+ id: string;
30337
+ };
30338
+ };
30339
+ } | {
30328
30340
  output: {
30329
30341
  archiveWhenDone?: boolean | undefined;
30330
30342
  autoMergePr?: boolean | undefined;
@@ -31508,17 +31520,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31508
31520
  id: string;
31509
31521
  };
31510
31522
  };
31511
- } | {
31512
- output: {
31513
- error: string;
31514
- };
31515
- outputFormat: "json";
31516
- status: 404;
31517
- input: {
31518
- param: {
31519
- id: string;
31520
- };
31521
- };
31522
31523
  };
31523
31524
  };
31524
31525
  } & {
@@ -31646,6 +31647,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31646
31647
  } & {
31647
31648
  "/runs/:id": {
31648
31649
  $patch: {
31650
+ output: {
31651
+ error: string;
31652
+ };
31653
+ outputFormat: "json";
31654
+ status: 400;
31655
+ input: {
31656
+ json: {
31657
+ archiveWhenDone?: boolean | undefined;
31658
+ autoMergePr?: boolean | undefined;
31659
+ allowWorkers?: boolean | undefined;
31660
+ allowMessaging?: boolean | undefined;
31661
+ title?: string | undefined;
31662
+ task?: string | undefined;
31663
+ };
31664
+ } & {
31665
+ param: {
31666
+ id: string;
31667
+ };
31668
+ };
31669
+ } | {
31670
+ output: {
31671
+ error: string;
31672
+ };
31673
+ outputFormat: "json";
31674
+ status: 404;
31675
+ input: {
31676
+ json: {
31677
+ archiveWhenDone?: boolean | undefined;
31678
+ autoMergePr?: boolean | undefined;
31679
+ allowWorkers?: boolean | undefined;
31680
+ allowMessaging?: boolean | undefined;
31681
+ title?: string | undefined;
31682
+ task?: string | undefined;
31683
+ };
31684
+ } & {
31685
+ param: {
31686
+ id: string;
31687
+ };
31688
+ };
31689
+ } | {
31690
+ output: {
31691
+ error: string;
31692
+ };
31693
+ outputFormat: "json";
31694
+ status: 409;
31695
+ input: {
31696
+ json: {
31697
+ archiveWhenDone?: boolean | undefined;
31698
+ autoMergePr?: boolean | undefined;
31699
+ allowWorkers?: boolean | undefined;
31700
+ allowMessaging?: boolean | undefined;
31701
+ title?: string | undefined;
31702
+ task?: string | undefined;
31703
+ };
31704
+ } & {
31705
+ param: {
31706
+ id: string;
31707
+ };
31708
+ };
31709
+ } | {
31649
31710
  output: {
31650
31711
  archiveWhenDone?: boolean | undefined;
31651
31712
  autoMergePr?: boolean | undefined;
@@ -32830,66 +32891,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32830
32891
  id: string;
32831
32892
  };
32832
32893
  };
32833
- } | {
32834
- output: {
32835
- error: string;
32836
- };
32837
- outputFormat: "json";
32838
- status: 404;
32839
- input: {
32840
- json: {
32841
- archiveWhenDone?: boolean | undefined;
32842
- autoMergePr?: boolean | undefined;
32843
- allowWorkers?: boolean | undefined;
32844
- allowMessaging?: boolean | undefined;
32845
- title?: string | undefined;
32846
- task?: string | undefined;
32847
- };
32848
- } & {
32849
- param: {
32850
- id: string;
32851
- };
32852
- };
32853
- } | {
32854
- output: {
32855
- error: string;
32856
- };
32857
- outputFormat: "json";
32858
- status: 400;
32859
- input: {
32860
- json: {
32861
- archiveWhenDone?: boolean | undefined;
32862
- autoMergePr?: boolean | undefined;
32863
- allowWorkers?: boolean | undefined;
32864
- allowMessaging?: boolean | undefined;
32865
- title?: string | undefined;
32866
- task?: string | undefined;
32867
- };
32868
- } & {
32869
- param: {
32870
- id: string;
32871
- };
32872
- };
32873
- } | {
32874
- output: {
32875
- error: string;
32876
- };
32877
- outputFormat: "json";
32878
- status: 409;
32879
- input: {
32880
- json: {
32881
- archiveWhenDone?: boolean | undefined;
32882
- autoMergePr?: boolean | undefined;
32883
- allowWorkers?: boolean | undefined;
32884
- allowMessaging?: boolean | undefined;
32885
- title?: string | undefined;
32886
- task?: string | undefined;
32887
- };
32888
- } & {
32889
- param: {
32890
- id: string;
32891
- };
32892
- };
32893
32894
  };
32894
32895
  };
32895
32896
  } & {
@@ -32994,7 +32995,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32994
32995
  error: string;
32995
32996
  };
32996
32997
  outputFormat: "json";
32997
- status: 404;
32998
+ status: 400;
32998
32999
  input: {
32999
33000
  json: {
33000
33001
  text?: string | undefined;
@@ -33013,7 +33014,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33013
33014
  error: string;
33014
33015
  };
33015
33016
  outputFormat: "json";
33016
- status: 409;
33017
+ status: 404;
33017
33018
  input: {
33018
33019
  json: {
33019
33020
  text?: string | undefined;
@@ -33029,10 +33030,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33029
33030
  };
33030
33031
  } | {
33031
33032
  output: {
33032
- delivered: true;
33033
+ error: string;
33033
33034
  };
33034
33035
  outputFormat: "json";
33035
- status: import("hono/utils/http-status").ContentfulStatusCode;
33036
+ status: 409;
33036
33037
  input: {
33037
33038
  json: {
33038
33039
  text?: string | undefined;
@@ -33048,10 +33049,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33048
33049
  };
33049
33050
  } | {
33050
33051
  output: {
33051
- error: string;
33052
+ delivered: true;
33052
33053
  };
33053
33054
  outputFormat: "json";
33054
- status: 400;
33055
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33055
33056
  input: {
33056
33057
  json: {
33057
33058
  text?: string | undefined;
@@ -33119,7 +33120,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33119
33120
  error: string;
33120
33121
  };
33121
33122
  outputFormat: "json";
33122
- status: 404;
33123
+ status: 400;
33123
33124
  input: {
33124
33125
  json: {
33125
33126
  text?: string | undefined;
@@ -33140,7 +33141,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33140
33141
  error: string;
33141
33142
  };
33142
33143
  outputFormat: "json";
33143
- status: 400;
33144
+ status: 404;
33144
33145
  input: {
33145
33146
  json: {
33146
33147
  text?: string | undefined;
@@ -33360,10 +33361,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33360
33361
  "/runs/:id/open-in-cli": {
33361
33362
  $post: {
33362
33363
  output: {
33363
- error: string;
33364
+ opened: true;
33365
+ command: string;
33364
33366
  };
33365
33367
  outputFormat: "json";
33366
- status: 404 | 409;
33368
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33367
33369
  input: {
33368
33370
  param: {
33369
33371
  id: string;
@@ -33371,11 +33373,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33371
33373
  };
33372
33374
  } | {
33373
33375
  output: {
33374
- opened: true;
33375
- command: string;
33376
+ error: string;
33376
33377
  };
33377
33378
  outputFormat: "json";
33378
- status: import("hono/utils/http-status").ContentfulStatusCode;
33379
+ status: 404 | 409;
33379
33380
  input: {
33380
33381
  param: {
33381
33382
  id: string;
@@ -33463,9 +33464,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33463
33464
  } & {
33464
33465
  "/runs/:id/images/:file": {
33465
33466
  $get: {
33466
- output: {};
33467
- outputFormat: string;
33468
- status: import("hono/utils/http-status").StatusCode;
33467
+ output: {
33468
+ error: string;
33469
+ code?: "invalid_input" | undefined;
33470
+ };
33471
+ outputFormat: "json";
33472
+ status: 400;
33469
33473
  input: {
33470
33474
  param: {
33471
33475
  id: string;
@@ -33473,12 +33477,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33473
33477
  };
33474
33478
  };
33475
33479
  } | {
33476
- output: {
33477
- error: string;
33478
- code?: "invalid_input" | undefined;
33479
- };
33480
- outputFormat: "json";
33481
- status: 400;
33480
+ output: {};
33481
+ outputFormat: string;
33482
+ status: import("hono/utils/http-status").StatusCode;
33482
33483
  input: {
33483
33484
  param: {
33484
33485
  id: string;
@@ -33514,17 +33515,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33514
33515
  } & {
33515
33516
  "/runs/:id/changes": {
33516
33517
  $get: {
33517
- output: {
33518
- error: string;
33519
- };
33520
- outputFormat: "json";
33521
- status: 404 | 409;
33522
- input: {
33523
- param: {
33524
- id: string;
33525
- };
33526
- };
33527
- } | {
33528
33518
  output: {
33529
33519
  files: {
33530
33520
  path: string;
@@ -33553,11 +33543,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33553
33543
  id: string;
33554
33544
  };
33555
33545
  };
33556
- };
33557
- };
33558
- } & {
33559
- "/runs/:id/commits": {
33560
- $get: {
33546
+ } | {
33561
33547
  output: {
33562
33548
  error: string;
33563
33549
  };
@@ -33568,7 +33554,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33568
33554
  id: string;
33569
33555
  };
33570
33556
  };
33571
- } | {
33557
+ };
33558
+ };
33559
+ } & {
33560
+ "/runs/:id/commits": {
33561
+ $get: {
33572
33562
  output: {
33573
33563
  commits: {
33574
33564
  sha: string;
@@ -33584,11 +33574,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33584
33574
  id: string;
33585
33575
  };
33586
33576
  };
33587
- };
33588
- };
33589
- } & {
33590
- "/runs/:id/commit/:sha": {
33591
- $get: {
33577
+ } | {
33592
33578
  output: {
33593
33579
  error: string;
33594
33580
  };
@@ -33597,11 +33583,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33597
33583
  input: {
33598
33584
  param: {
33599
33585
  id: string;
33600
- } & {
33601
- sha: string;
33602
33586
  };
33603
33587
  };
33604
- } | {
33588
+ };
33589
+ };
33590
+ } & {
33591
+ "/runs/:id/commit/:sha": {
33592
+ $get: {
33605
33593
  output: {
33606
33594
  sha: string;
33607
33595
  subject: string;
@@ -33632,6 +33620,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33632
33620
  sha: string;
33633
33621
  };
33634
33622
  };
33623
+ } | {
33624
+ output: {
33625
+ error: string;
33626
+ };
33627
+ outputFormat: "json";
33628
+ status: 404 | 409;
33629
+ input: {
33630
+ param: {
33631
+ id: string;
33632
+ } & {
33633
+ sha: string;
33634
+ };
33635
+ };
33635
33636
  };
33636
33637
  };
33637
33638
  } & {
@@ -33667,22 +33668,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33667
33668
  raw?: "1" | undefined;
33668
33669
  };
33669
33670
  };
33670
- } | {
33671
- output: {
33672
- error: string;
33673
- };
33674
- outputFormat: "json";
33675
- status: 404 | 409;
33676
- input: {
33677
- param: {
33678
- id: string;
33679
- };
33680
- } & {
33681
- query: {
33682
- path: string | string[];
33683
- raw?: "1" | undefined;
33684
- };
33685
- };
33686
33671
  } | {
33687
33672
  output: {
33688
33673
  type: "file";
@@ -33719,6 +33704,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33719
33704
  raw?: "1" | undefined;
33720
33705
  };
33721
33706
  };
33707
+ } | {
33708
+ output: {
33709
+ error: string;
33710
+ };
33711
+ outputFormat: "json";
33712
+ status: 404 | 409;
33713
+ input: {
33714
+ param: {
33715
+ id: string;
33716
+ };
33717
+ } & {
33718
+ query: {
33719
+ path: string | string[];
33720
+ raw?: "1" | undefined;
33721
+ };
33722
+ };
33722
33723
  };
33723
33724
  };
33724
33725
  } & {
@@ -33783,6 +33784,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33783
33784
  artifactId: string;
33784
33785
  };
33785
33786
  };
33787
+ } | {
33788
+ output: {
33789
+ error: string;
33790
+ };
33791
+ outputFormat: "json";
33792
+ status: 404;
33793
+ input: {
33794
+ param: {
33795
+ id: string;
33796
+ artifactId: string;
33797
+ };
33798
+ };
33786
33799
  } | {
33787
33800
  output: {
33788
33801
  type: "file";
@@ -33811,18 +33824,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33811
33824
  artifactId: string;
33812
33825
  };
33813
33826
  };
33814
- } | {
33815
- output: {
33816
- error: string;
33817
- };
33818
- outputFormat: "json";
33819
- status: 404;
33820
- input: {
33821
- param: {
33822
- id: string;
33823
- artifactId: string;
33824
- };
33825
- };
33826
33827
  };
33827
33828
  };
33828
33829
  } & {
@@ -34000,10 +34001,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34000
34001
  };
34001
34002
  } | {
34002
34003
  output: {
34003
- error: string;
34004
+ type: 'dir';
34005
+ path: string;
34006
+ entries: {
34007
+ name: string;
34008
+ type: 'dir' | 'file';
34009
+ size?: number;
34010
+ chain?: string;
34011
+ }[];
34004
34012
  };
34005
34013
  outputFormat: "json";
34006
- status: 404 | 409;
34014
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34007
34015
  input: {
34008
34016
  query: {
34009
34017
  path?: string | undefined;
@@ -34016,13 +34024,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34016
34024
  };
34017
34025
  } | {
34018
34026
  output: {
34019
- type: 'dir';
34027
+ type: 'file';
34020
34028
  path: string;
34021
- entries: {
34022
- name: string;
34023
- type: 'dir' | 'file';
34024
- size?: number;
34025
- }[];
34029
+ size: number;
34030
+ binary: boolean;
34031
+ tooLarge: boolean;
34032
+ content?: string | undefined;
34026
34033
  };
34027
34034
  outputFormat: "json";
34028
34035
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -34038,15 +34045,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34038
34045
  };
34039
34046
  } | {
34040
34047
  output: {
34041
- type: 'file';
34042
- path: string;
34043
- size: number;
34044
- binary: boolean;
34045
- tooLarge: boolean;
34046
- content?: string | undefined;
34048
+ error: string;
34047
34049
  };
34048
34050
  outputFormat: "json";
34049
- status: import("hono/utils/http-status").ContentfulStatusCode;
34051
+ status: 404 | 409;
34050
34052
  input: {
34051
34053
  query: {
34052
34054
  path?: string | undefined;
@@ -34063,10 +34065,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34063
34065
  "/runs/:id/git/commit": {
34064
34066
  $post: {
34065
34067
  output: {
34066
- error: string;
34068
+ committed: true;
34069
+ sha: string;
34067
34070
  };
34068
34071
  outputFormat: "json";
34069
- status: 404 | 409;
34072
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34070
34073
  input: {
34071
34074
  json: {
34072
34075
  message: string;
@@ -34078,11 +34081,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34078
34081
  };
34079
34082
  } | {
34080
34083
  output: {
34081
- committed: true;
34082
- sha: string;
34084
+ error: string;
34083
34085
  };
34084
34086
  outputFormat: "json";
34085
- status: import("hono/utils/http-status").ContentfulStatusCode;
34087
+ status: 404 | 409;
34086
34088
  input: {
34087
34089
  json: {
34088
34090
  message: string;
@@ -34098,10 +34100,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34098
34100
  "/runs/:id/git/push": {
34099
34101
  $post: {
34100
34102
  output: {
34101
- error: string;
34103
+ pushed: true;
34104
+ branch: string;
34105
+ remote: string;
34106
+ upstreamSet: boolean;
34102
34107
  };
34103
34108
  outputFormat: "json";
34104
- status: 404 | 409;
34109
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34105
34110
  input: {
34106
34111
  param: {
34107
34112
  id: string;
@@ -34109,13 +34114,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34109
34114
  };
34110
34115
  } | {
34111
34116
  output: {
34112
- pushed: true;
34113
- branch: string;
34114
- remote: string;
34115
- upstreamSet: boolean;
34117
+ error: string;
34116
34118
  };
34117
34119
  outputFormat: "json";
34118
- status: import("hono/utils/http-status").ContentfulStatusCode;
34120
+ status: 404 | 409;
34119
34121
  input: {
34120
34122
  param: {
34121
34123
  id: string;
@@ -34127,10 +34129,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34127
34129
  "/runs/:id/pr": {
34128
34130
  $post: {
34129
34131
  output: {
34130
- error: string;
34132
+ url: string;
34133
+ dryRun: boolean;
34131
34134
  };
34132
34135
  outputFormat: "json";
34133
- status: 404 | 409;
34136
+ status: 201;
34134
34137
  input: {
34135
34138
  param: {
34136
34139
  id: string;
@@ -34138,11 +34141,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34138
34141
  };
34139
34142
  } | {
34140
34143
  output: {
34141
- url: string;
34142
- dryRun: boolean;
34144
+ error: string;
34143
34145
  };
34144
34146
  outputFormat: "json";
34145
- status: 201;
34147
+ status: 404 | 409;
34146
34148
  input: {
34147
34149
  param: {
34148
34150
  id: string;
@@ -34154,10 +34156,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34154
34156
  "/runs/:id/remove-worktree": {
34155
34157
  $post: {
34156
34158
  output: {
34157
- error: string;
34159
+ removed: true;
34158
34160
  };
34159
34161
  outputFormat: "json";
34160
- status: 404 | 409;
34162
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34161
34163
  input: {
34162
34164
  param: {
34163
34165
  id: string;
@@ -34165,10 +34167,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34165
34167
  };
34166
34168
  } | {
34167
34169
  output: {
34168
- removed: true;
34170
+ error: string;
34169
34171
  };
34170
34172
  outputFormat: "json";
34171
- status: import("hono/utils/http-status").ContentfulStatusCode;
34173
+ status: 404 | 409;
34172
34174
  input: {
34173
34175
  param: {
34174
34176
  id: string;
@@ -34180,10 +34182,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34180
34182
  "/runs/:id": {
34181
34183
  $delete: {
34182
34184
  output: {
34183
- error: string;
34185
+ deleted: true;
34184
34186
  };
34185
34187
  outputFormat: "json";
34186
- status: 404 | 409;
34188
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34187
34189
  input: {
34188
34190
  param: {
34189
34191
  id: string;
@@ -34191,10 +34193,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34191
34193
  };
34192
34194
  } | {
34193
34195
  output: {
34194
- deleted: true;
34196
+ error: string;
34195
34197
  };
34196
34198
  outputFormat: "json";
34197
- status: import("hono/utils/http-status").ContentfulStatusCode;
34199
+ status: 404 | 409;
34198
34200
  input: {
34199
34201
  param: {
34200
34202
  id: string;