@hearsay-tools/squawk 0.19.0-dev.9012 → 0.19.0-dev.9025

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 (76) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/index.js +5 -1
  3. package/dist/contract/scheduled-tasks.d.ts +6 -0
  4. package/dist/delegation/transport.d.ts +65 -65
  5. package/dist/features/automations/automations-routes.d.ts +150 -150
  6. package/dist/features/automations/prompts.js +1 -1
  7. package/dist/features/automations/task-template.js +4 -1
  8. package/dist/features/automations/task-template.js.map +1 -1
  9. package/dist/features/automations/tool-adapter.js +9 -3
  10. package/dist/features/automations/tool-adapter.js.map +1 -1
  11. package/dist/features/automations/tool-catalog.d.ts +1 -0
  12. package/dist/features/automations/tool-catalog.js +1 -1
  13. package/dist/features/automations/tool-catalog.js.map +1 -1
  14. package/dist/features/automations/tools.d.ts +6 -0
  15. package/dist/server/models-routes.d.ts +12 -12
  16. package/dist/server/project-settings-routes.d.ts +107 -107
  17. package/dist/server/projects-routes.d.ts +45 -45
  18. package/dist/server/reports-api.d.ts +2 -2
  19. package/dist/server/runs-routes.d.ts +18 -18
  20. package/dist/server/server.d.ts +1196 -1196
  21. package/package.json +4 -4
  22. package/web/dist/assets/{accounts-section-Wc73jQ4s.js → accounts-section-DINhWaKE.js} +1 -1
  23. package/web/dist/assets/{activity-motion-BPRLw_I9.js → activity-motion-BzO8epGW.js} +1 -1
  24. package/web/dist/assets/{activity-route-Da5ta_G-.js → activity-route-BTHXYoE4.js} +1 -1
  25. package/web/dist/assets/{agent-config-section-ZOyd2cRC.js → agent-config-section-tjZMzOZC.js} +1 -1
  26. package/web/dist/assets/{agent-defaults-section-_X3y2Omu.js → agent-defaults-section-CYGoNzJ-.js} +1 -1
  27. package/web/dist/assets/{appearance-BmdfStvY.js → appearance-CCuTu0sL.js} +1 -1
  28. package/web/dist/assets/{archive-on-merge-field-CAF2EWzH.js → archive-on-merge-field-CeUWkcwK.js} +1 -1
  29. package/web/dist/assets/{automations-route-_7obPTdz.js → automations-route-CJmcm2Vr.js} +1 -1
  30. package/web/dist/assets/{commit-list-CO8vRunh.js → commit-list-DHm1bCGH.js} +1 -1
  31. package/web/dist/assets/{diff-9Oy07HJg.js → diff-CZJXpxat.js} +2 -2
  32. package/web/dist/assets/{diff-controls-DWdkazFx.js → diff-controls-Cr1qbI1O.js} +1 -1
  33. package/web/dist/assets/{diff-view-BSehoQ7R.js → diff-view-BxzlLybI.js} +1 -1
  34. package/web/dist/assets/{discard-changes-dialog-BhaVmNO6.js → discard-changes-dialog-aAzdjye-.js} +1 -1
  35. package/web/dist/assets/{file-preview-C83OUAjD.js → file-preview-DE1-2MRD.js} +1 -1
  36. package/web/dist/assets/{git-toolbar--xUjN-yG.js → git-toolbar-CKcT_0rO.js} +1 -1
  37. package/web/dist/assets/{github-CU_L3Gzq.js → github-DYJRmmIn.js} +1 -1
  38. package/web/dist/assets/{global-activity-route-JAN35ZZ7.js → global-activity-route-BsG3-J8A.js} +1 -1
  39. package/web/dist/assets/index-aGnZVJo_.css +1 -0
  40. package/web/dist/assets/{index-CpBnI67l.js → index-lCPcoWSv.js} +4 -4
  41. package/web/dist/assets/{markdown-CRffTry_.js → markdown-CfYkmPQA.js} +1 -1
  42. package/web/dist/assets/{option-select-CANEdKB3.js → option-select-BakZdSgu.js} +1 -1
  43. package/web/dist/assets/{preferences-section-ChSaVzf5.js → preferences-section-D8yX5A40.js} +1 -1
  44. package/web/dist/assets/{preview-pane-connected-DEoWwg1D.js → preview-pane-connected-677KPPpd.js} +1 -1
  45. package/web/dist/assets/{project-location-C6kWal8h.js → project-location-l_7MLXzp.js} +1 -1
  46. package/web/dist/assets/{projects-section-C2ILzM0u.js → projects-section-aX9WMTbw.js} +1 -1
  47. package/web/dist/assets/{prompt-templates-section-DR2g3ICn.js → prompt-templates-section-DV_VhZ8D.js} +1 -1
  48. package/web/dist/assets/{remote-settings-notice-mR8dmhH6.js → remote-settings-notice-9x62rpqO.js} +1 -1
  49. package/web/dist/assets/{repo-git-DYTJUaV2.js → repo-git-m0GYtWKT.js} +1 -1
  50. package/web/dist/assets/{report-reader-CHCeip_w.js → report-reader-C-YM9WMx.js} +1 -1
  51. package/web/dist/assets/{reports-fVt2woJj.js → reports-Bdpvl1tm.js} +1 -1
  52. package/web/dist/assets/{resources-section-CvKw1n42.js → resources-section-CIrP33CN.js} +1 -1
  53. package/web/dist/assets/{review-panel-KthwDPFp.js → review-panel-B8zs0CSP.js} +1 -1
  54. package/web/dist/assets/{run-header-qJ9QeZZe.js → run-header-B6l8_e9X.js} +1 -1
  55. package/web/dist/assets/{select-DGiv2EMm.js → select-fYRFfIZp.js} +1 -1
  56. package/web/dist/assets/{session-context-section-1M2fJo4z.js → session-context-section-DwmxBYhL.js} +1 -1
  57. package/web/dist/assets/{settings-agent-picker-BJY-YMtE.js → settings-agent-picker-B0Q0ke-Q.js} +1 -1
  58. package/web/dist/assets/{settings-save-bar-BPJUUAP3.js → settings-save-bar-D_OxLOmj.js} +1 -1
  59. package/web/dist/assets/{settings-shell-DrNPCX8c.js → settings-shell-tteBTOed.js} +1 -1
  60. package/web/dist/assets/{sidebar-section-DOWp6Dmy.js → sidebar-section-gGolq8j8.js} +1 -1
  61. package/web/dist/assets/{skills-CkVpnXS3.js → skills-BB3x_sd8.js} +1 -1
  62. package/web/dist/assets/{task-changes-DdbXePt5.js → task-changes-Yj9HftST.js} +1 -1
  63. package/web/dist/assets/{task-commits-D2JgTdX6.js → task-commits-D_J1D_WR.js} +1 -1
  64. package/web/dist/assets/{task-file-scope-B1WT9BWp.js → task-file-scope-BZFb10De.js} +1 -1
  65. package/web/dist/assets/{task-files-DGsexDEU.js → task-files-Cc4ZU-AA.js} +1 -1
  66. package/web/dist/assets/{task-github-item-q7DCEOfn.js → task-github-item-DSuJFWRJ.js} +1 -1
  67. package/web/dist/assets/{task-thread-_SnaFIGF.js → task-thread-D2korRS1.js} +1 -1
  68. package/web/dist/assets/{thread-state-BM9FWd8L.js → thread-state-C3TBW7mO.js} +1 -1
  69. package/web/dist/assets/{use-hand-to-agent-state-Bep2f9LG.js → use-hand-to-agent-state-CQB8qtWC.js} +1 -1
  70. package/web/dist/assets/use-path-bases-BYeWywf7.js +1 -0
  71. package/web/dist/assets/{workflows-CU7SKlFm.js → workflows-m3fecleC.js} +1 -1
  72. package/web/dist/assets/{workspace-tools-DO5szf7G.js → workspace-tools-B0HwrAFS.js} +1 -1
  73. package/web/dist/assets/{worktrees-section-Ct-gx72w.js → worktrees-section-D92EMSjm.js} +1 -1
  74. package/web/dist/index.html +2 -2
  75. package/web/dist/assets/index-HPYKV4O4.css +0 -1
  76. package/web/dist/assets/use-path-bases-CS-lRH5B.js +0 -1
@@ -170,6 +170,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
170
170
  profileId?: string | undefined;
171
171
  };
172
172
  };
173
+ } | {
174
+ output: {
175
+ error: string;
176
+ };
177
+ outputFormat: "json";
178
+ status: 400;
179
+ input: {
180
+ query: {
181
+ runner: string | string[];
182
+ profileId?: string | undefined;
183
+ };
184
+ };
173
185
  } | {
174
186
  output: {
175
187
  runner: string;
@@ -191,18 +203,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
191
203
  profileId?: string | undefined;
192
204
  };
193
205
  };
194
- } | {
195
- output: {
196
- error: string;
197
- };
198
- outputFormat: "json";
199
- status: 400;
200
- input: {
201
- query: {
202
- runner: string | string[];
203
- profileId?: string | undefined;
204
- };
205
- };
206
206
  };
207
207
  };
208
208
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -279,18 +279,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
279
279
  showHidden?: string | undefined;
280
280
  };
281
281
  };
282
- } | {
283
- output: {
284
- error: string;
285
- };
286
- outputFormat: "json";
287
- status: 400 | 403 | 404;
288
- input: {
289
- query: {
290
- path?: string | undefined;
291
- showHidden?: string | undefined;
292
- };
293
- };
294
282
  } | {
295
283
  output: {
296
284
  path: string;
@@ -310,35 +298,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
310
298
  showHidden?: string | undefined;
311
299
  };
312
300
  };
313
- };
314
- };
315
- }, "/"> | import("hono/types").MergeSchemaPath<{
316
- "/workspace/events": {
317
- $get: {
318
- output: {};
319
- outputFormat: string;
320
- status: import("hono/utils/http-status").StatusCode;
321
- input: {
322
- query: {
323
- runs?: "summary" | undefined;
324
- };
325
- };
326
301
  } | {
327
302
  output: {
328
303
  error: string;
329
- code?: "invalid_input" | undefined;
330
304
  };
331
305
  outputFormat: "json";
332
- status: 400;
306
+ status: 400 | 403 | 404;
333
307
  input: {
334
308
  query: {
335
- runs?: "summary" | undefined;
309
+ path?: string | undefined;
310
+ showHidden?: string | undefined;
336
311
  };
337
312
  };
338
313
  };
339
314
  };
340
315
  }, "/"> | import("hono/types").MergeSchemaPath<{
341
- "/workspace/activity": {
316
+ "/workspace/events": {
342
317
  $get: {
343
318
  output: {
344
319
  error: string;
@@ -348,21 +323,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
348
323
  status: 400;
349
324
  input: {
350
325
  query: {
351
- project?: string | undefined;
326
+ runs?: "summary" | undefined;
352
327
  };
353
328
  };
354
329
  } | {
355
- output: {
356
- error: string;
357
- };
358
- outputFormat: "json";
359
- status: 404 | 409 | 503;
330
+ output: {};
331
+ outputFormat: string;
332
+ status: import("hono/utils/http-status").StatusCode;
360
333
  input: {
361
334
  query: {
362
- project?: string | undefined;
335
+ runs?: "summary" | undefined;
363
336
  };
364
337
  };
365
- } | {
338
+ };
339
+ };
340
+ }, "/"> | import("hono/types").MergeSchemaPath<{
341
+ "/workspace/activity": {
342
+ $get: {
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<{
@@ -985,18 +985,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
985
985
  };
986
986
  } | {
987
987
  output: {
988
- providers: {
989
- requiresAccountHome?: boolean | undefined;
990
- provider: string;
991
- status: "connected" | "disconnected" | "not-installed" | "unknown";
992
- enabled?: boolean | undefined;
993
- hint?: string | undefined;
994
- authFailureId?: string | undefined;
995
- profileId?: string | undefined;
996
- }[];
988
+ error: string;
997
989
  };
998
990
  outputFormat: "json";
999
- status: import("hono/utils/http-status").ContentfulStatusCode;
991
+ status: 500;
1000
992
  input: {
1001
993
  param: {
1002
994
  provider: string;
@@ -1008,10 +1000,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1008
1000
  };
1009
1001
  } | {
1010
1002
  output: {
1011
- error: string;
1003
+ providers: {
1004
+ requiresAccountHome?: boolean | undefined;
1005
+ provider: string;
1006
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1007
+ enabled?: boolean | undefined;
1008
+ hint?: string | undefined;
1009
+ authFailureId?: string | undefined;
1010
+ profileId?: string | undefined;
1011
+ }[];
1012
1012
  };
1013
1013
  outputFormat: "json";
1014
- status: 500;
1014
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1015
1015
  input: {
1016
1016
  param: {
1017
1017
  provider: string;
@@ -1043,18 +1043,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1043
1043
  };
1044
1044
  } | {
1045
1045
  output: {
1046
- providers: {
1047
- requiresAccountHome?: boolean | undefined;
1048
- provider: string;
1049
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1050
- enabled?: boolean | undefined;
1051
- hint?: string | undefined;
1052
- authFailureId?: string | undefined;
1053
- profileId?: string | undefined;
1054
- }[];
1046
+ error: string;
1055
1047
  };
1056
1048
  outputFormat: "json";
1057
- status: import("hono/utils/http-status").ContentfulStatusCode;
1049
+ status: 409;
1058
1050
  input: {
1059
1051
  param: {
1060
1052
  provider: string;
@@ -1066,10 +1058,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1066
1058
  };
1067
1059
  } | {
1068
1060
  output: {
1069
- error: string;
1061
+ providers: {
1062
+ requiresAccountHome?: boolean | undefined;
1063
+ provider: string;
1064
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1065
+ enabled?: boolean | undefined;
1066
+ hint?: string | undefined;
1067
+ authFailureId?: string | undefined;
1068
+ profileId?: string | undefined;
1069
+ }[];
1070
1070
  };
1071
1071
  outputFormat: "json";
1072
- status: 409;
1072
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1073
1073
  input: {
1074
1074
  param: {
1075
1075
  provider: string;
@@ -1088,7 +1088,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1088
1088
  error: string;
1089
1089
  };
1090
1090
  outputFormat: "json";
1091
- status: 409;
1091
+ status: 400;
1092
1092
  input: {
1093
1093
  json: {
1094
1094
  provider: string;
@@ -1100,7 +1100,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1100
1100
  error: string;
1101
1101
  };
1102
1102
  outputFormat: "json";
1103
- status: 400;
1103
+ status: 409;
1104
1104
  input: {
1105
1105
  json: {
1106
1106
  provider: string;
@@ -1188,35 +1188,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1188
1188
  "/workspace/config": {
1189
1189
  $put: {
1190
1190
  output: {
1191
- homeDir: string;
1192
- browseRoot: string;
1193
- projectsDir: string;
1194
- archiveOnMerge: boolean | null;
1195
- effectiveArchiveOnMerge: boolean;
1196
- archiveOnMergeSource: "default" | "environment" | "global";
1197
- composerDefaults: {
1198
- autonomous: boolean | null;
1199
- worktree: boolean | null;
1200
- inheritedAutonomous: "source-dependent" | boolean;
1201
- inheritedWorktree: boolean;
1202
- };
1203
- resources: {
1204
- maxParallel: number;
1205
- maxMonitoringSessions: number;
1206
- monitoringWakeIntervalMinutes: number | null;
1207
- autoResumeOnUsageLimit: boolean;
1208
- memoryLimitMb: number | null;
1209
- worktreeRetentionDefault: number;
1210
- };
1211
- agentDefaults: {
1212
- runner?: string | undefined;
1213
- models?: {
1214
- [x: string]: string | undefined;
1215
- } | undefined;
1216
- };
1191
+ error: string;
1217
1192
  };
1218
1193
  outputFormat: "json";
1219
- status: import("hono/utils/http-status").ContentfulStatusCode;
1194
+ status: 400;
1220
1195
  input: {
1221
1196
  json: {
1222
1197
  browseRoot?: string | undefined;
@@ -1245,7 +1220,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1245
1220
  error: string;
1246
1221
  };
1247
1222
  outputFormat: "json";
1248
- status: 400;
1223
+ status: 500;
1249
1224
  input: {
1250
1225
  json: {
1251
1226
  browseRoot?: string | undefined;
@@ -1271,10 +1246,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1271
1246
  };
1272
1247
  } | {
1273
1248
  output: {
1274
- error: string;
1249
+ homeDir: string;
1250
+ browseRoot: string;
1251
+ projectsDir: string;
1252
+ archiveOnMerge: boolean | null;
1253
+ effectiveArchiveOnMerge: boolean;
1254
+ archiveOnMergeSource: "default" | "environment" | "global";
1255
+ composerDefaults: {
1256
+ autonomous: boolean | null;
1257
+ worktree: boolean | null;
1258
+ inheritedAutonomous: "source-dependent" | boolean;
1259
+ inheritedWorktree: boolean;
1260
+ };
1261
+ resources: {
1262
+ maxParallel: number;
1263
+ maxMonitoringSessions: number;
1264
+ monitoringWakeIntervalMinutes: number | null;
1265
+ autoResumeOnUsageLimit: boolean;
1266
+ memoryLimitMb: number | null;
1267
+ worktreeRetentionDefault: number;
1268
+ };
1269
+ agentDefaults: {
1270
+ runner?: string | undefined;
1271
+ models?: {
1272
+ [x: string]: string | undefined;
1273
+ } | undefined;
1274
+ };
1275
1275
  };
1276
1276
  outputFormat: "json";
1277
- status: 500;
1277
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1278
1278
  input: {
1279
1279
  json: {
1280
1280
  browseRoot?: string | undefined;
@@ -1345,73 +1345,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1345
1345
  } & {
1346
1346
  "/workspace/ui-state": {
1347
1347
  $put: {
1348
- output: {
1349
- [x: string]: import("hono/utils/types").JSONValue;
1350
- sidebar?: {
1351
- [x: string]: import("hono/utils/types").JSONValue;
1352
- collapsed?: {
1353
- [x: string]: boolean;
1354
- } | undefined;
1355
- projectOrder?: string[] | undefined;
1356
- } | undefined;
1357
- dismissedProviderAuthFailures?: {
1358
- [x: string]: string | undefined;
1359
- } | undefined;
1360
- appearance?: {
1361
- accent?: "cezarion" | "lime" | "violet" | undefined;
1362
- density?: "comfortable" | "compact" | "ultra" | undefined;
1363
- width?: "narrow" | "wide" | undefined;
1364
- } | undefined;
1365
- notifications?: {
1366
- [x: string]: import("hono/utils/types").JSONValue;
1367
- enabled?: boolean | undefined;
1368
- } | undefined;
1369
- taskTable?: {
1370
- [x: string]: import("hono/utils/types").JSONValue;
1371
- expandedColumns?: {
1372
- [x: string]: boolean;
1373
- } | undefined;
1374
- } | undefined;
1375
- lastLocation?: {
1376
- projectId: string;
1377
- pathname: string;
1378
- search?: string | undefined;
1379
- hash?: string | undefined;
1380
- } | undefined;
1381
- };
1382
- outputFormat: "json";
1383
- status: import("hono/utils/http-status").ContentfulStatusCode;
1384
- input: {
1385
- json: {
1386
- [x: string]: unknown;
1387
- appearance?: {
1388
- accent?: "cezarion" | "lime" | "violet" | undefined;
1389
- density?: "comfortable" | "compact" | "ultra" | undefined;
1390
- width?: "narrow" | "wide" | undefined;
1391
- } | undefined;
1392
- notifications?: {
1393
- [x: string]: unknown;
1394
- enabled?: boolean | undefined;
1395
- } | undefined;
1396
- lastLocation?: {
1397
- projectId: string;
1398
- pathname: string;
1399
- search?: string | undefined;
1400
- hash?: string | undefined;
1401
- } | undefined;
1402
- sidebar?: {
1403
- [x: string]: unknown;
1404
- collapsed?: Record<string, boolean> | undefined;
1405
- projectOrder?: string[] | undefined;
1406
- } | undefined;
1407
- dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1408
- taskTable?: {
1409
- [x: string]: unknown;
1410
- expandedColumns?: Record<string, boolean> | undefined;
1411
- } | undefined;
1412
- };
1413
- };
1414
- } | {
1415
1348
  output: {
1416
1349
  error: string;
1417
1350
  };
@@ -1447,6 +1380,73 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1447
1380
  } | undefined;
1448
1381
  };
1449
1382
  };
1383
+ } | {
1384
+ output: {
1385
+ [x: string]: import("hono/utils/types").JSONValue;
1386
+ sidebar?: {
1387
+ [x: string]: import("hono/utils/types").JSONValue;
1388
+ collapsed?: {
1389
+ [x: string]: boolean;
1390
+ } | undefined;
1391
+ projectOrder?: string[] | undefined;
1392
+ } | undefined;
1393
+ dismissedProviderAuthFailures?: {
1394
+ [x: string]: string | undefined;
1395
+ } | undefined;
1396
+ appearance?: {
1397
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1398
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1399
+ width?: "narrow" | "wide" | undefined;
1400
+ } | undefined;
1401
+ notifications?: {
1402
+ [x: string]: import("hono/utils/types").JSONValue;
1403
+ enabled?: boolean | undefined;
1404
+ } | undefined;
1405
+ taskTable?: {
1406
+ [x: string]: import("hono/utils/types").JSONValue;
1407
+ expandedColumns?: {
1408
+ [x: string]: boolean;
1409
+ } | undefined;
1410
+ } | undefined;
1411
+ lastLocation?: {
1412
+ projectId: string;
1413
+ pathname: string;
1414
+ search?: string | undefined;
1415
+ hash?: string | undefined;
1416
+ } | undefined;
1417
+ };
1418
+ outputFormat: "json";
1419
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1420
+ input: {
1421
+ json: {
1422
+ [x: string]: unknown;
1423
+ appearance?: {
1424
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1425
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1426
+ width?: "narrow" | "wide" | undefined;
1427
+ } | undefined;
1428
+ notifications?: {
1429
+ [x: string]: unknown;
1430
+ enabled?: boolean | undefined;
1431
+ } | undefined;
1432
+ lastLocation?: {
1433
+ projectId: string;
1434
+ pathname: string;
1435
+ search?: string | undefined;
1436
+ hash?: string | undefined;
1437
+ } | undefined;
1438
+ sidebar?: {
1439
+ [x: string]: unknown;
1440
+ collapsed?: Record<string, boolean> | undefined;
1441
+ projectOrder?: string[] | undefined;
1442
+ } | undefined;
1443
+ dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1444
+ taskTable?: {
1445
+ [x: string]: unknown;
1446
+ expandedColumns?: Record<string, boolean> | undefined;
1447
+ } | undefined;
1448
+ };
1449
+ };
1450
1450
  };
1451
1451
  };
1452
1452
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1456,7 +1456,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1456
1456
  error: string;
1457
1457
  };
1458
1458
  outputFormat: "json";
1459
- status: 409;
1459
+ status: 400;
1460
1460
  input: {
1461
1461
  json: {
1462
1462
  provider: string;
@@ -1468,7 +1468,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1468
1468
  error: string;
1469
1469
  };
1470
1470
  outputFormat: "json";
1471
- status: 400;
1471
+ status: 409;
1472
1472
  input: {
1473
1473
  json: {
1474
1474
  provider: string;
@@ -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,27 +2407,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2407
2407
  } & {
2408
2408
  "/projects/:projectId/webhooks": {
2409
2409
  $post: {
2410
- output: {
2411
- error: string;
2412
- };
2413
- outputFormat: "json";
2414
- status: 400 | 404 | 409 | 500;
2415
- input: {
2416
- json: {
2417
- name: string;
2418
- description?: string | undefined;
2419
- url: string;
2420
- token?: string | undefined;
2421
- tasks?: boolean | undefined;
2422
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2423
- agent?: boolean | undefined;
2424
- };
2425
- } & {
2426
- param: {
2427
- projectId: string;
2428
- };
2429
- };
2430
- } | {
2431
2410
  output: {
2432
2411
  project: {
2433
2412
  id: string;
@@ -2486,6 +2465,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2486
2465
  projectId: string;
2487
2466
  };
2488
2467
  };
2468
+ } | {
2469
+ output: {
2470
+ error: string;
2471
+ };
2472
+ outputFormat: "json";
2473
+ status: 400 | 404 | 409 | 500;
2474
+ input: {
2475
+ json: {
2476
+ name: string;
2477
+ description?: string | undefined;
2478
+ url: string;
2479
+ token?: string | undefined;
2480
+ tasks?: boolean | undefined;
2481
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2482
+ agent?: boolean | undefined;
2483
+ };
2484
+ } & {
2485
+ param: {
2486
+ projectId: string;
2487
+ };
2488
+ };
2489
2489
  };
2490
2490
  };
2491
2491
  } & {
@@ -2683,13 +2683,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2683
2683
  };
2684
2684
  } | {
2685
2685
  output: {
2686
- ok: boolean;
2687
- status?: number | undefined;
2688
- error?: string | undefined;
2689
- dryRun?: boolean | undefined;
2686
+ error: string;
2690
2687
  };
2691
2688
  outputFormat: "json";
2692
- status: import("hono/utils/http-status").ContentfulStatusCode;
2689
+ status: 404;
2693
2690
  input: {
2694
2691
  param: {
2695
2692
  projectId: string;
@@ -2698,10 +2695,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2698
2695
  };
2699
2696
  } | {
2700
2697
  output: {
2701
- error: string;
2698
+ ok: boolean;
2699
+ status?: number | undefined;
2700
+ error?: string | undefined;
2701
+ dryRun?: boolean | undefined;
2702
2702
  };
2703
2703
  outputFormat: "json";
2704
- status: 404;
2704
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2705
2705
  input: {
2706
2706
  param: {
2707
2707
  projectId: string;
@@ -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<{
@@ -3414,7 +3414,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3414
3414
  error: string;
3415
3415
  };
3416
3416
  outputFormat: "json";
3417
- status: 409;
3417
+ status: 400;
3418
3418
  input: {
3419
3419
  query: {
3420
3420
  q?: string | undefined;
@@ -3427,7 +3427,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3427
3427
  error: string;
3428
3428
  };
3429
3429
  outputFormat: "json";
3430
- status: 400;
3430
+ status: 409;
3431
3431
  input: {
3432
3432
  query: {
3433
3433
  q?: string | undefined;
@@ -3508,42 +3508,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3508
3508
  "/ui-state": {
3509
3509
  $put: {
3510
3510
  output: {
3511
- [x: string]: import("hono/utils/types").JSONValue;
3512
- sidebarLimits?: {
3513
- overall?: number | null | undefined;
3514
- needsYou?: number | null | undefined;
3515
- finished?: number | null | undefined;
3516
- working?: number | null | undefined;
3517
- } | undefined;
3518
- lastTask?: {
3519
- source: "skill" | "workflow";
3520
- ref: string;
3521
- } | null | undefined;
3522
- recentSources?: {
3523
- source: "skill" | "workflow";
3524
- ref: string;
3525
- }[] | undefined;
3526
- lastWorktree?: boolean | undefined;
3527
- lastAutonomous?: boolean | undefined;
3528
- skillUsage?: {
3529
- [x: string]: number;
3530
- } | undefined;
3531
- runsView?: "list" | "table" | undefined;
3532
- githubView?: "issues" | "prs" | undefined;
3533
- appearance?: {
3534
- accent?: "cezarion" | "lime" | "violet" | undefined;
3535
- density?: "comfortable" | "compact" | "ultra" | undefined;
3536
- width?: "narrow" | "wide" | undefined;
3537
- } | undefined;
3538
- promptTemplates?: {
3539
- id: string;
3540
- label: string;
3541
- text: string;
3542
- skills?: string[] | undefined;
3543
- }[] | undefined;
3511
+ error: string;
3544
3512
  };
3545
3513
  outputFormat: "json";
3546
- status: import("hono/utils/http-status").ContentfulStatusCode;
3514
+ status: 500;
3547
3515
  input: {
3548
3516
  json: {
3549
3517
  [x: string]: unknown;
@@ -3581,10 +3549,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3581
3549
  };
3582
3550
  } | {
3583
3551
  output: {
3584
- error: string;
3552
+ [x: string]: import("hono/utils/types").JSONValue;
3553
+ sidebarLimits?: {
3554
+ overall?: number | null | undefined;
3555
+ needsYou?: number | null | undefined;
3556
+ finished?: number | null | undefined;
3557
+ working?: number | null | undefined;
3558
+ } | undefined;
3559
+ lastTask?: {
3560
+ source: "skill" | "workflow";
3561
+ ref: string;
3562
+ } | null | undefined;
3563
+ recentSources?: {
3564
+ source: "skill" | "workflow";
3565
+ ref: string;
3566
+ }[] | undefined;
3567
+ lastWorktree?: boolean | undefined;
3568
+ lastAutonomous?: boolean | undefined;
3569
+ skillUsage?: {
3570
+ [x: string]: number;
3571
+ } | undefined;
3572
+ runsView?: "list" | "table" | undefined;
3573
+ githubView?: "issues" | "prs" | undefined;
3574
+ appearance?: {
3575
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3576
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3577
+ width?: "narrow" | "wide" | undefined;
3578
+ } | undefined;
3579
+ promptTemplates?: {
3580
+ id: string;
3581
+ label: string;
3582
+ text: string;
3583
+ skills?: string[] | undefined;
3584
+ }[] | undefined;
3585
3585
  };
3586
3586
  outputFormat: "json";
3587
- status: 500;
3587
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3588
3588
  input: {
3589
3589
  json: {
3590
3590
  [x: string]: unknown;
@@ -3661,34 +3661,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3661
3661
  "/config": {
3662
3662
  $put: {
3663
3663
  output: {
3664
- archiveOnMerge: boolean | null;
3665
- effectiveArchiveOnMerge: boolean;
3666
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3667
- baseBranch: string | null;
3668
- defaultRunner: string;
3669
- systemPrompt: string | null;
3670
- defaultModels: {
3671
- [x: string]: string | undefined;
3672
- };
3673
- modelsLocked: boolean;
3674
- maxParallel: number;
3675
- memoryLimitMb: number | null;
3676
- worktreeRetention: number;
3677
- liveTitleUpdates: boolean | null;
3678
- reviewGate: boolean | null;
3679
- worktreeSetup: {
3680
- commands: string[];
3681
- timeoutSeconds: number;
3682
- } | null;
3683
- worktreeSetupIssue: string | null;
3684
- worktreeTeardown: {
3685
- commands: string[];
3686
- timeoutSeconds: number;
3687
- } | null;
3688
- worktreeTeardownIssue: string | null;
3664
+ error: string;
3689
3665
  };
3690
3666
  outputFormat: "json";
3691
- status: import("hono/utils/http-status").ContentfulStatusCode;
3667
+ status: 409;
3692
3668
  input: {
3693
3669
  json: {
3694
3670
  archiveOnMerge?: boolean | null | undefined;
@@ -3716,7 +3692,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3716
3692
  error: string;
3717
3693
  };
3718
3694
  outputFormat: "json";
3719
- status: 409;
3695
+ status: 500;
3720
3696
  input: {
3721
3697
  json: {
3722
3698
  archiveOnMerge?: boolean | null | undefined;
@@ -3741,10 +3717,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3741
3717
  };
3742
3718
  } | {
3743
3719
  output: {
3744
- error: string;
3720
+ archiveOnMerge: boolean | null;
3721
+ effectiveArchiveOnMerge: boolean;
3722
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3723
+ baseBranch: string | null;
3724
+ defaultRunner: string;
3725
+ systemPrompt: string | null;
3726
+ defaultModels: {
3727
+ [x: string]: string | undefined;
3728
+ };
3729
+ modelsLocked: boolean;
3730
+ maxParallel: number;
3731
+ memoryLimitMb: number | null;
3732
+ worktreeRetention: number;
3733
+ liveTitleUpdates: boolean | null;
3734
+ reviewGate: boolean | null;
3735
+ worktreeSetup: {
3736
+ commands: string[];
3737
+ timeoutSeconds: number;
3738
+ } | null;
3739
+ worktreeSetupIssue: string | null;
3740
+ worktreeTeardown: {
3741
+ commands: string[];
3742
+ timeoutSeconds: number;
3743
+ } | null;
3744
+ worktreeTeardownIssue: string | null;
3745
3745
  };
3746
3746
  outputFormat: "json";
3747
- status: 500;
3747
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3748
3748
  input: {
3749
3749
  json: {
3750
3750
  archiveOnMerge?: boolean | null | undefined;
@@ -3855,9 +3855,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3855
3855
  }, "/"> | import("hono/types").MergeSchemaPath<{
3856
3856
  "/runs/:id/events": {
3857
3857
  $get: {
3858
- output: {};
3859
- outputFormat: string;
3860
- status: import("hono/utils/http-status").StatusCode;
3858
+ output: {
3859
+ error: string;
3860
+ code?: "invalid_input" | undefined;
3861
+ };
3862
+ outputFormat: "json";
3863
+ status: 400;
3861
3864
  input: {
3862
3865
  param: {
3863
3866
  id: string;
@@ -3869,12 +3872,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3869
3872
  };
3870
3873
  };
3871
3874
  } | {
3872
- output: {
3873
- error: string;
3874
- code?: "invalid_input" | undefined;
3875
- };
3876
- outputFormat: "json";
3877
- status: 400;
3875
+ output: {};
3876
+ outputFormat: string;
3877
+ status: import("hono/utils/http-status").StatusCode;
3878
3878
  input: {
3879
3879
  param: {
3880
3880
  id: string;
@@ -3918,7 +3918,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3918
3918
  error: string;
3919
3919
  };
3920
3920
  outputFormat: "json";
3921
- status: 409;
3921
+ status: 400;
3922
3922
  input: {
3923
3923
  json: {
3924
3924
  target: string;
@@ -3929,7 +3929,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3929
3929
  error: string;
3930
3930
  };
3931
3931
  outputFormat: "json";
3932
- status: 400;
3932
+ status: 409;
3933
3933
  input: {
3934
3934
  json: {
3935
3935
  target: string;
@@ -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;
@@ -5441,14 +5441,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5441
5441
  "/repo/branches/delete": {
5442
5442
  $post: {
5443
5443
  output: {
5444
- error: string;
5444
+ deleted: string[];
5445
5445
  refused: {
5446
5446
  name: string;
5447
5447
  reason: string;
5448
5448
  }[];
5449
+ dropped?: {
5450
+ sha: string;
5451
+ subject: string;
5452
+ }[] | undefined;
5449
5453
  };
5450
5454
  outputFormat: "json";
5451
- status: 409;
5455
+ status: 200;
5452
5456
  input: {
5453
5457
  json: {
5454
5458
  names: string[];
@@ -5457,18 +5461,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5457
5461
  };
5458
5462
  } | {
5459
5463
  output: {
5460
- deleted: string[];
5464
+ error: string;
5461
5465
  refused: {
5462
5466
  name: string;
5463
5467
  reason: string;
5464
5468
  }[];
5465
- dropped?: {
5466
- sha: string;
5467
- subject: string;
5468
- }[] | undefined;
5469
5469
  };
5470
5470
  outputFormat: "json";
5471
- status: 200;
5471
+ status: 409;
5472
5472
  input: {
5473
5473
  json: {
5474
5474
  names: string[];
@@ -5504,6 +5504,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5504
5504
  sha: string;
5505
5505
  };
5506
5506
  };
5507
+ } | {
5508
+ output: {
5509
+ error: string;
5510
+ };
5511
+ outputFormat: "json";
5512
+ status: 409;
5513
+ input: {
5514
+ query: {
5515
+ structured?: string | undefined;
5516
+ };
5517
+ } & {
5518
+ param: {
5519
+ sha: string;
5520
+ };
5521
+ };
5507
5522
  } | {
5508
5523
  output: {
5509
5524
  sha: string;
@@ -5537,21 +5552,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5537
5552
  sha: string;
5538
5553
  };
5539
5554
  };
5540
- } | {
5541
- output: {
5542
- error: string;
5543
- };
5544
- outputFormat: "json";
5545
- status: 409;
5546
- input: {
5547
- query: {
5548
- structured?: string | undefined;
5549
- };
5550
- } & {
5551
- param: {
5552
- sha: string;
5553
- };
5554
- };
5555
5555
  } | {
5556
5556
  output: string;
5557
5557
  outputFormat: "text";
@@ -5587,15 +5587,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5587
5587
  };
5588
5588
  } | {
5589
5589
  output: {
5590
- type: 'file';
5591
- path: string;
5592
- size: number;
5593
- binary: boolean;
5594
- tooLarge: boolean;
5595
- content?: string | undefined;
5590
+ error: string;
5596
5591
  };
5597
5592
  outputFormat: "json";
5598
- status: import("hono/utils/http-status").ContentfulStatusCode;
5593
+ status: 409;
5599
5594
  input: {
5600
5595
  param: {
5601
5596
  sha: string;
@@ -5607,10 +5602,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5607
5602
  };
5608
5603
  } | {
5609
5604
  output: {
5610
- error: string;
5605
+ type: 'file';
5606
+ path: string;
5607
+ size: number;
5608
+ binary: boolean;
5609
+ tooLarge: boolean;
5610
+ content?: string | undefined;
5611
5611
  };
5612
5612
  outputFormat: "json";
5613
- status: 409;
5613
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5614
5614
  input: {
5615
5615
  param: {
5616
5616
  sha: string;
@@ -5638,15 +5638,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5638
5638
  };
5639
5639
  } | {
5640
5640
  output: {
5641
- type: 'file';
5642
- path: string;
5643
- size: number;
5644
- binary: boolean;
5645
- tooLarge: boolean;
5646
- content?: string | undefined;
5641
+ error: string;
5647
5642
  };
5648
5643
  outputFormat: "json";
5649
- status: import("hono/utils/http-status").ContentfulStatusCode;
5644
+ status: 409;
5650
5645
  input: {
5651
5646
  query: {
5652
5647
  path: string | string[];
@@ -5654,10 +5649,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5654
5649
  };
5655
5650
  } | {
5656
5651
  output: {
5657
- error: string;
5652
+ type: 'file';
5653
+ path: string;
5654
+ size: number;
5655
+ binary: boolean;
5656
+ tooLarge: boolean;
5657
+ content?: string | undefined;
5658
5658
  };
5659
5659
  outputFormat: "json";
5660
- status: 409;
5660
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5661
5661
  input: {
5662
5662
  query: {
5663
5663
  path: string | string[];
@@ -5668,6 +5668,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5668
5668
  } & {
5669
5669
  "/repo/changes": {
5670
5670
  $get: {
5671
+ output: {
5672
+ error: string;
5673
+ };
5674
+ outputFormat: "json";
5675
+ status: 409;
5676
+ input: {};
5677
+ } | {
5671
5678
  output: {
5672
5679
  files: {
5673
5680
  path: string;
@@ -5692,13 +5699,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5692
5699
  outputFormat: "json";
5693
5700
  status: import("hono/utils/http-status").ContentfulStatusCode;
5694
5701
  input: {};
5695
- } | {
5696
- output: {
5697
- error: string;
5698
- };
5699
- outputFormat: "json";
5700
- status: 409;
5701
- input: {};
5702
5702
  };
5703
5703
  };
5704
5704
  } & {
@@ -5723,10 +5723,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5723
5723
  "/repo/pull": {
5724
5724
  $post: {
5725
5725
  output: {
5726
- error: string;
5726
+ branch: string;
5727
+ pulled: true;
5728
+ summary: string;
5727
5729
  };
5728
5730
  outputFormat: "json";
5729
- status: 409;
5731
+ status: 200;
5730
5732
  input: {
5731
5733
  json: {
5732
5734
  branch?: string | undefined;
@@ -5735,12 +5737,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5735
5737
  };
5736
5738
  } | {
5737
5739
  output: {
5738
- branch: string;
5739
- pulled: true;
5740
- summary: string;
5740
+ error: string;
5741
5741
  };
5742
5742
  outputFormat: "json";
5743
- status: 200;
5743
+ status: 409;
5744
5744
  input: {
5745
5745
  json: {
5746
5746
  branch?: string | undefined;
@@ -6965,6 +6965,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6965
6965
  } & {
6966
6966
  "/run-summaries": {
6967
6967
  $get: {
6968
+ output: {
6969
+ error: string;
6970
+ code?: "invalid_input" | undefined;
6971
+ };
6972
+ outputFormat: "json";
6973
+ status: 400;
6974
+ input: {
6975
+ query: {
6976
+ archived?: "all" | "recent" | undefined;
6977
+ };
6978
+ };
6979
+ } | {
6968
6980
  output: {
6969
6981
  id: string;
6970
6982
  title: string;
@@ -7102,18 +7114,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7102
7114
  archived?: "all" | "recent" | undefined;
7103
7115
  };
7104
7116
  };
7105
- } | {
7106
- output: {
7107
- error: string;
7108
- code?: "invalid_input" | undefined;
7109
- };
7110
- outputFormat: "json";
7111
- status: 400;
7112
- input: {
7113
- query: {
7114
- archived?: "all" | "recent" | undefined;
7115
- };
7116
- };
7117
7117
  };
7118
7118
  };
7119
7119
  } & {
@@ -7475,22 +7475,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7475
7475
  "/runs/:id/worker-destroy": {
7476
7476
  $post: {
7477
7477
  output: {
7478
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7479
- readonly error: string;
7480
- readonly modelChoices?: {
7481
- runner: string;
7482
- requestedModel: string;
7483
- availableModels: {
7484
- id: string;
7485
- label: string;
7486
- description: string;
7487
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7488
- }[];
7489
- otherRunners: string[];
7478
+ workerId: string;
7479
+ state: "complete" | "incomplete";
7480
+ work?: {
7481
+ uncommittedFiles: number;
7482
+ commits: number;
7490
7483
  } | undefined;
7484
+ deleted?: ({
7485
+ kind: "worktree";
7486
+ path: string;
7487
+ } | {
7488
+ kind: "branch";
7489
+ ref: string;
7490
+ })[] | undefined;
7491
+ remaining: ("branch" | "process" | "worktree")[];
7492
+ error?: string | undefined;
7491
7493
  };
7492
7494
  outputFormat: "json";
7493
- status: 400 | 401 | 403 | 409 | 503;
7495
+ status: 200;
7494
7496
  input: {
7495
7497
  query: {
7496
7498
  [x: string]: string | string[];
@@ -7543,7 +7545,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7543
7545
  error?: string | undefined;
7544
7546
  };
7545
7547
  outputFormat: "json";
7546
- status: 200;
7548
+ status: 409;
7547
7549
  input: {
7548
7550
  query: {
7549
7551
  [x: string]: string | string[];
@@ -7559,24 +7561,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7559
7561
  };
7560
7562
  } | {
7561
7563
  output: {
7562
- workerId: string;
7563
- state: "complete" | "incomplete";
7564
- work?: {
7565
- uncommittedFiles: number;
7566
- commits: number;
7564
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7565
+ readonly error: string;
7566
+ readonly modelChoices?: {
7567
+ runner: string;
7568
+ requestedModel: string;
7569
+ availableModels: {
7570
+ id: string;
7571
+ label: string;
7572
+ description: string;
7573
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7574
+ }[];
7575
+ otherRunners: string[];
7567
7576
  } | undefined;
7568
- deleted?: ({
7569
- kind: "worktree";
7570
- path: string;
7571
- } | {
7572
- kind: "branch";
7573
- ref: string;
7574
- })[] | undefined;
7575
- remaining: ("branch" | "process" | "worktree")[];
7576
- error?: string | undefined;
7577
7577
  };
7578
7578
  outputFormat: "json";
7579
- status: 409;
7579
+ status: 400 | 401 | 403 | 409 | 503;
7580
7580
  input: {
7581
7581
  query: {
7582
7582
  [x: string]: string | string[];
@@ -7628,6 +7628,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7628
7628
  } & {
7629
7629
  "/runs/:id/archive": {
7630
7630
  $post: {
7631
+ output: {
7632
+ error: string;
7633
+ };
7634
+ outputFormat: "json";
7635
+ status: 404;
7636
+ input: {
7637
+ json: {
7638
+ archived?: boolean | undefined;
7639
+ };
7640
+ } & {
7641
+ param: {
7642
+ id: string;
7643
+ };
7644
+ };
7645
+ } | {
7631
7646
  output: {
7632
7647
  archiveWhenDone?: boolean | undefined;
7633
7648
  autoMergePr?: boolean | undefined;
@@ -8807,32 +8822,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8807
8822
  id: string;
8808
8823
  };
8809
8824
  };
8810
- } | {
8825
+ };
8826
+ };
8827
+ } & {
8828
+ "/runs/:id/pin": {
8829
+ $post: {
8811
8830
  output: {
8812
8831
  error: string;
8832
+ code?: "invalid_input" | undefined;
8813
8833
  };
8814
8834
  outputFormat: "json";
8815
- status: 404;
8835
+ status: 400;
8816
8836
  input: {
8817
- json: {
8818
- archived?: boolean | undefined;
8819
- };
8820
- } & {
8821
8837
  param: {
8822
8838
  id: string;
8823
8839
  };
8840
+ } & {
8841
+ json: {
8842
+ pinned?: boolean | undefined;
8843
+ };
8824
8844
  };
8825
- };
8826
- };
8827
- } & {
8828
- "/runs/:id/pin": {
8829
- $post: {
8845
+ } | {
8830
8846
  output: {
8831
8847
  error: string;
8832
- code?: "invalid_input" | undefined;
8833
8848
  };
8834
8849
  outputFormat: "json";
8835
- status: 400;
8850
+ status: 404;
8836
8851
  input: {
8837
8852
  param: {
8838
8853
  id: string;
@@ -10022,21 +10037,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10022
10037
  pinned?: boolean | undefined;
10023
10038
  };
10024
10039
  };
10025
- } | {
10026
- output: {
10027
- error: string;
10028
- };
10029
- outputFormat: "json";
10030
- status: 404;
10031
- input: {
10032
- param: {
10033
- id: string;
10034
- };
10035
- } & {
10036
- json: {
10037
- pinned?: boolean | undefined;
10038
- };
10039
- };
10040
10040
  };
10041
10041
  };
10042
10042
  } & {
@@ -10063,7 +10063,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10063
10063
  error: string;
10064
10064
  };
10065
10065
  outputFormat: "json";
10066
- status: 404;
10066
+ status: 400;
10067
10067
  input: {
10068
10068
  param: {
10069
10069
  id: string;
@@ -10079,7 +10079,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10079
10079
  error: string;
10080
10080
  };
10081
10081
  outputFormat: "json";
10082
- status: 400;
10082
+ status: 404;
10083
10083
  input: {
10084
10084
  param: {
10085
10085
  id: string;
@@ -11302,6 +11302,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11302
11302
  } & {
11303
11303
  "/runs/:id/read": {
11304
11304
  $post: {
11305
+ output: {
11306
+ error: string;
11307
+ };
11308
+ outputFormat: "json";
11309
+ status: 404;
11310
+ input: {
11311
+ param: {
11312
+ id: string;
11313
+ };
11314
+ };
11315
+ } | {
11305
11316
  output: {
11306
11317
  archiveWhenDone?: boolean | undefined;
11307
11318
  autoMergePr?: boolean | undefined;
@@ -12477,7 +12488,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12477
12488
  id: string;
12478
12489
  };
12479
12490
  };
12480
- } | {
12491
+ };
12492
+ };
12493
+ } & {
12494
+ "/runs/:id/unread": {
12495
+ $post: {
12481
12496
  output: {
12482
12497
  error: string;
12483
12498
  };
@@ -12488,11 +12503,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12488
12503
  id: string;
12489
12504
  };
12490
12505
  };
12491
- };
12492
- };
12493
- } & {
12494
- "/runs/:id/unread": {
12495
- $post: {
12506
+ } | {
12496
12507
  output: {
12497
12508
  archiveWhenDone?: boolean | undefined;
12498
12509
  autoMergePr?: boolean | undefined;
@@ -13668,17 +13679,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13668
13679
  id: string;
13669
13680
  };
13670
13681
  };
13671
- } | {
13672
- output: {
13673
- error: string;
13674
- };
13675
- outputFormat: "json";
13676
- status: 404;
13677
- input: {
13678
- param: {
13679
- id: string;
13680
- };
13681
- };
13682
13682
  };
13683
13683
  };
13684
13684
  } & {
@@ -14955,6 +14955,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14955
14955
  } & {
14956
14956
  "/runs/:id": {
14957
14957
  $get: {
14958
+ output: {
14959
+ error: string;
14960
+ };
14961
+ outputFormat: "json";
14962
+ status: 404;
14963
+ input: {
14964
+ param: {
14965
+ id: string;
14966
+ };
14967
+ };
14968
+ } | {
14958
14969
  output: {
14959
14970
  archiveWhenDone?: boolean | undefined;
14960
14971
  autoMergePr?: boolean | undefined;
@@ -16138,17 +16149,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16138
16149
  id: string;
16139
16150
  };
16140
16151
  };
16141
- } | {
16142
- output: {
16143
- error: string;
16144
- };
16145
- outputFormat: "json";
16146
- status: 404;
16147
- input: {
16148
- param: {
16149
- id: string;
16150
- };
16151
- };
16152
16152
  };
16153
16153
  };
16154
16154
  } & {
@@ -16276,6 +16276,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16276
16276
  } & {
16277
16277
  "/runs/:id": {
16278
16278
  $patch: {
16279
+ output: {
16280
+ error: string;
16281
+ };
16282
+ outputFormat: "json";
16283
+ status: 400;
16284
+ input: {
16285
+ json: {
16286
+ archiveWhenDone?: boolean | undefined;
16287
+ autoMergePr?: boolean | undefined;
16288
+ allowWorkers?: boolean | undefined;
16289
+ allowMessaging?: boolean | undefined;
16290
+ title?: string | undefined;
16291
+ task?: string | undefined;
16292
+ };
16293
+ } & {
16294
+ param: {
16295
+ id: string;
16296
+ };
16297
+ };
16298
+ } | {
16299
+ output: {
16300
+ error: string;
16301
+ };
16302
+ outputFormat: "json";
16303
+ status: 404;
16304
+ input: {
16305
+ json: {
16306
+ archiveWhenDone?: boolean | undefined;
16307
+ autoMergePr?: boolean | undefined;
16308
+ allowWorkers?: boolean | undefined;
16309
+ allowMessaging?: boolean | undefined;
16310
+ title?: string | undefined;
16311
+ task?: string | undefined;
16312
+ };
16313
+ } & {
16314
+ param: {
16315
+ id: string;
16316
+ };
16317
+ };
16318
+ } | {
16319
+ output: {
16320
+ error: string;
16321
+ };
16322
+ outputFormat: "json";
16323
+ status: 409;
16324
+ input: {
16325
+ json: {
16326
+ archiveWhenDone?: boolean | undefined;
16327
+ autoMergePr?: boolean | undefined;
16328
+ allowWorkers?: boolean | undefined;
16329
+ allowMessaging?: boolean | undefined;
16330
+ title?: string | undefined;
16331
+ task?: string | undefined;
16332
+ };
16333
+ } & {
16334
+ param: {
16335
+ id: string;
16336
+ };
16337
+ };
16338
+ } | {
16279
16339
  output: {
16280
16340
  archiveWhenDone?: boolean | undefined;
16281
16341
  autoMergePr?: boolean | undefined;
@@ -17460,66 +17520,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17460
17520
  id: string;
17461
17521
  };
17462
17522
  };
17463
- } | {
17464
- output: {
17465
- error: string;
17466
- };
17467
- outputFormat: "json";
17468
- status: 404;
17469
- input: {
17470
- json: {
17471
- archiveWhenDone?: boolean | undefined;
17472
- autoMergePr?: boolean | undefined;
17473
- allowWorkers?: boolean | undefined;
17474
- allowMessaging?: boolean | undefined;
17475
- title?: string | undefined;
17476
- task?: string | undefined;
17477
- };
17478
- } & {
17479
- param: {
17480
- id: string;
17481
- };
17482
- };
17483
- } | {
17484
- output: {
17485
- error: string;
17486
- };
17487
- outputFormat: "json";
17488
- status: 400;
17489
- input: {
17490
- json: {
17491
- archiveWhenDone?: boolean | undefined;
17492
- autoMergePr?: boolean | undefined;
17493
- allowWorkers?: boolean | undefined;
17494
- allowMessaging?: boolean | undefined;
17495
- title?: string | undefined;
17496
- task?: string | undefined;
17497
- };
17498
- } & {
17499
- param: {
17500
- id: string;
17501
- };
17502
- };
17503
- } | {
17504
- output: {
17505
- error: string;
17506
- };
17507
- outputFormat: "json";
17508
- status: 409;
17509
- input: {
17510
- json: {
17511
- archiveWhenDone?: boolean | undefined;
17512
- autoMergePr?: boolean | undefined;
17513
- allowWorkers?: boolean | undefined;
17514
- allowMessaging?: boolean | undefined;
17515
- title?: string | undefined;
17516
- task?: string | undefined;
17517
- };
17518
- } & {
17519
- param: {
17520
- id: string;
17521
- };
17522
- };
17523
17523
  };
17524
17524
  };
17525
17525
  } & {
@@ -17624,7 +17624,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17624
17624
  error: string;
17625
17625
  };
17626
17626
  outputFormat: "json";
17627
- status: 404;
17627
+ status: 400;
17628
17628
  input: {
17629
17629
  json: {
17630
17630
  text?: string | undefined;
@@ -17643,7 +17643,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17643
17643
  error: string;
17644
17644
  };
17645
17645
  outputFormat: "json";
17646
- status: 409;
17646
+ status: 404;
17647
17647
  input: {
17648
17648
  json: {
17649
17649
  text?: string | undefined;
@@ -17659,10 +17659,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17659
17659
  };
17660
17660
  } | {
17661
17661
  output: {
17662
- delivered: true;
17662
+ error: string;
17663
17663
  };
17664
17664
  outputFormat: "json";
17665
- status: import("hono/utils/http-status").ContentfulStatusCode;
17665
+ status: 409;
17666
17666
  input: {
17667
17667
  json: {
17668
17668
  text?: string | undefined;
@@ -17678,10 +17678,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17678
17678
  };
17679
17679
  } | {
17680
17680
  output: {
17681
- error: string;
17681
+ delivered: true;
17682
17682
  };
17683
17683
  outputFormat: "json";
17684
- status: 400;
17684
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17685
17685
  input: {
17686
17686
  json: {
17687
17687
  text?: string | undefined;
@@ -17749,7 +17749,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17749
17749
  error: string;
17750
17750
  };
17751
17751
  outputFormat: "json";
17752
- status: 404;
17752
+ status: 400;
17753
17753
  input: {
17754
17754
  json: {
17755
17755
  text?: string | undefined;
@@ -17770,7 +17770,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17770
17770
  error: string;
17771
17771
  };
17772
17772
  outputFormat: "json";
17773
- status: 400;
17773
+ status: 404;
17774
17774
  input: {
17775
17775
  json: {
17776
17776
  text?: string | undefined;
@@ -17990,10 +17990,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17990
17990
  "/runs/:id/open-in-cli": {
17991
17991
  $post: {
17992
17992
  output: {
17993
- error: string;
17993
+ opened: true;
17994
+ command: string;
17994
17995
  };
17995
17996
  outputFormat: "json";
17996
- status: 404 | 409;
17997
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17997
17998
  input: {
17998
17999
  param: {
17999
18000
  id: string;
@@ -18001,11 +18002,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18001
18002
  };
18002
18003
  } | {
18003
18004
  output: {
18004
- opened: true;
18005
- command: string;
18005
+ error: string;
18006
18006
  };
18007
18007
  outputFormat: "json";
18008
- status: import("hono/utils/http-status").ContentfulStatusCode;
18008
+ status: 404 | 409;
18009
18009
  input: {
18010
18010
  param: {
18011
18011
  id: string;
@@ -18069,20 +18069,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18069
18069
  } & {
18070
18070
  "/runs/:id/handoff": {
18071
18071
  $get: {
18072
- output: {
18073
- error: string;
18074
- };
18075
- outputFormat: "json";
18076
- status: 404;
18072
+ output: string;
18073
+ outputFormat: "text";
18074
+ status: 200;
18077
18075
  input: {
18078
18076
  param: {
18079
18077
  id: string;
18080
18078
  };
18081
18079
  };
18082
18080
  } | {
18083
- output: string;
18084
- outputFormat: "text";
18085
- status: 200;
18081
+ output: {
18082
+ error: string;
18083
+ };
18084
+ outputFormat: "json";
18085
+ status: 404;
18086
18086
  input: {
18087
18087
  param: {
18088
18088
  id: string;
@@ -18093,9 +18093,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18093
18093
  } & {
18094
18094
  "/runs/:id/images/:file": {
18095
18095
  $get: {
18096
- output: {};
18097
- outputFormat: string;
18098
- status: import("hono/utils/http-status").StatusCode;
18096
+ output: {
18097
+ error: string;
18098
+ code?: "invalid_input" | undefined;
18099
+ };
18100
+ outputFormat: "json";
18101
+ status: 400;
18099
18102
  input: {
18100
18103
  param: {
18101
18104
  id: string;
@@ -18103,12 +18106,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18103
18106
  };
18104
18107
  };
18105
18108
  } | {
18106
- output: {
18107
- error: string;
18108
- code?: "invalid_input" | undefined;
18109
- };
18110
- outputFormat: "json";
18111
- status: 400;
18109
+ output: {};
18110
+ outputFormat: string;
18111
+ status: import("hono/utils/http-status").StatusCode;
18112
18112
  input: {
18113
18113
  param: {
18114
18114
  id: string;
@@ -18120,17 +18120,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18120
18120
  } & {
18121
18121
  "/runs/:id/diff": {
18122
18122
  $get: {
18123
- output: {
18124
- error: string;
18125
- };
18126
- outputFormat: "json";
18127
- status: 404 | 409;
18128
- input: {
18129
- param: {
18130
- id: string;
18131
- };
18132
- };
18133
- } | {
18134
18123
  output: string;
18135
18124
  outputFormat: "text";
18136
18125
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18139,11 +18128,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18139
18128
  id: string;
18140
18129
  };
18141
18130
  };
18142
- };
18143
- };
18144
- } & {
18145
- "/runs/:id/changes": {
18146
- $get: {
18131
+ } | {
18147
18132
  output: {
18148
18133
  error: string;
18149
18134
  };
@@ -18154,7 +18139,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18154
18139
  id: string;
18155
18140
  };
18156
18141
  };
18157
- } | {
18142
+ };
18143
+ };
18144
+ } & {
18145
+ "/runs/:id/changes": {
18146
+ $get: {
18158
18147
  output: {
18159
18148
  files: {
18160
18149
  path: string;
@@ -18183,11 +18172,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18183
18172
  id: string;
18184
18173
  };
18185
18174
  };
18186
- };
18187
- };
18188
- } & {
18189
- "/runs/:id/commits": {
18190
- $get: {
18175
+ } | {
18191
18176
  output: {
18192
18177
  error: string;
18193
18178
  };
@@ -18198,7 +18183,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18198
18183
  id: string;
18199
18184
  };
18200
18185
  };
18201
- } | {
18186
+ };
18187
+ };
18188
+ } & {
18189
+ "/runs/:id/commits": {
18190
+ $get: {
18202
18191
  output: {
18203
18192
  commits: {
18204
18193
  sha: string;
@@ -18214,11 +18203,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18214
18203
  id: string;
18215
18204
  };
18216
18205
  };
18217
- };
18218
- };
18219
- } & {
18220
- "/runs/:id/commit/:sha": {
18221
- $get: {
18206
+ } | {
18222
18207
  output: {
18223
18208
  error: string;
18224
18209
  };
@@ -18227,11 +18212,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18227
18212
  input: {
18228
18213
  param: {
18229
18214
  id: string;
18230
- } & {
18231
- sha: string;
18232
18215
  };
18233
18216
  };
18234
- } | {
18217
+ };
18218
+ };
18219
+ } & {
18220
+ "/runs/:id/commit/:sha": {
18221
+ $get: {
18235
18222
  output: {
18236
18223
  sha: string;
18237
18224
  subject: string;
@@ -18262,6 +18249,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18262
18249
  sha: string;
18263
18250
  };
18264
18251
  };
18252
+ } | {
18253
+ output: {
18254
+ error: string;
18255
+ };
18256
+ outputFormat: "json";
18257
+ status: 404 | 409;
18258
+ input: {
18259
+ param: {
18260
+ id: string;
18261
+ } & {
18262
+ sha: string;
18263
+ };
18264
+ };
18265
18265
  };
18266
18266
  };
18267
18267
  } & {
@@ -18285,10 +18285,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18285
18285
  };
18286
18286
  } | {
18287
18287
  output: {
18288
- error: string;
18288
+ type: 'file';
18289
+ path: string;
18290
+ size: number;
18291
+ binary: boolean;
18292
+ tooLarge: boolean;
18293
+ content?: string | undefined;
18289
18294
  };
18290
18295
  outputFormat: "json";
18291
- status: 404 | 409;
18296
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18292
18297
  input: {
18293
18298
  param: {
18294
18299
  sha: string;
@@ -18301,15 +18306,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18301
18306
  };
18302
18307
  } | {
18303
18308
  output: {
18304
- type: 'file';
18305
- path: string;
18306
- size: number;
18307
- binary: boolean;
18308
- tooLarge: boolean;
18309
- content?: string | undefined;
18309
+ error: string;
18310
18310
  };
18311
18311
  outputFormat: "json";
18312
- status: import("hono/utils/http-status").ContentfulStatusCode;
18312
+ status: 404 | 409;
18313
18313
  input: {
18314
18314
  param: {
18315
18315
  sha: string;
@@ -18355,22 +18355,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18355
18355
  raw?: "1" | undefined;
18356
18356
  };
18357
18357
  };
18358
- } | {
18359
- output: {
18360
- error: string;
18361
- };
18362
- outputFormat: "json";
18363
- status: 404 | 409;
18364
- input: {
18365
- param: {
18366
- id: string;
18367
- };
18368
- } & {
18369
- query: {
18370
- path: string | string[];
18371
- raw?: "1" | undefined;
18372
- };
18373
- };
18374
18358
  } | {
18375
18359
  output: {
18376
18360
  type: "file";
@@ -18407,6 +18391,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18407
18391
  raw?: "1" | undefined;
18408
18392
  };
18409
18393
  };
18394
+ } | {
18395
+ output: {
18396
+ error: string;
18397
+ };
18398
+ outputFormat: "json";
18399
+ status: 404 | 409;
18400
+ input: {
18401
+ param: {
18402
+ id: string;
18403
+ };
18404
+ } & {
18405
+ query: {
18406
+ path: string | string[];
18407
+ raw?: "1" | undefined;
18408
+ };
18409
+ };
18410
18410
  };
18411
18411
  };
18412
18412
  } & {
@@ -18471,6 +18471,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18471
18471
  artifactId: string;
18472
18472
  };
18473
18473
  };
18474
+ } | {
18475
+ output: {
18476
+ error: string;
18477
+ };
18478
+ outputFormat: "json";
18479
+ status: 404;
18480
+ input: {
18481
+ param: {
18482
+ id: string;
18483
+ artifactId: string;
18484
+ };
18485
+ };
18474
18486
  } | {
18475
18487
  output: {
18476
18488
  type: "file";
@@ -18499,18 +18511,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18499
18511
  artifactId: string;
18500
18512
  };
18501
18513
  };
18502
- } | {
18503
- output: {
18504
- error: string;
18505
- };
18506
- outputFormat: "json";
18507
- status: 404;
18508
- input: {
18509
- param: {
18510
- id: string;
18511
- artifactId: string;
18512
- };
18513
- };
18514
18514
  };
18515
18515
  };
18516
18516
  } & {
@@ -18686,22 +18686,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18686
18686
  id: string;
18687
18687
  };
18688
18688
  };
18689
- } | {
18690
- output: {
18691
- error: string;
18692
- };
18693
- outputFormat: "json";
18694
- status: 404 | 409;
18695
- input: {
18696
- query: {
18697
- path?: string | undefined;
18698
- raw?: string | undefined;
18699
- };
18700
- } & {
18701
- param: {
18702
- id: string;
18703
- };
18704
- };
18705
18689
  } | {
18706
18690
  output: {
18707
18691
  type: 'file';
@@ -18746,16 +18730,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18746
18730
  id: string;
18747
18731
  };
18748
18732
  };
18733
+ } | {
18734
+ output: {
18735
+ error: string;
18736
+ };
18737
+ outputFormat: "json";
18738
+ status: 404 | 409;
18739
+ input: {
18740
+ query: {
18741
+ path?: string | undefined;
18742
+ raw?: string | undefined;
18743
+ };
18744
+ } & {
18745
+ param: {
18746
+ id: string;
18747
+ };
18748
+ };
18749
18749
  };
18750
18750
  };
18751
18751
  } & {
18752
18752
  "/runs/:id/git/commit": {
18753
18753
  $post: {
18754
18754
  output: {
18755
- error: string;
18755
+ committed: true;
18756
+ sha: string;
18756
18757
  };
18757
18758
  outputFormat: "json";
18758
- status: 404 | 409;
18759
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18759
18760
  input: {
18760
18761
  json: {
18761
18762
  message: string;
@@ -18767,11 +18768,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18767
18768
  };
18768
18769
  } | {
18769
18770
  output: {
18770
- committed: true;
18771
- sha: string;
18771
+ error: string;
18772
18772
  };
18773
18773
  outputFormat: "json";
18774
- status: import("hono/utils/http-status").ContentfulStatusCode;
18774
+ status: 404 | 409;
18775
18775
  input: {
18776
18776
  json: {
18777
18777
  message: string;
@@ -18787,10 +18787,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18787
18787
  "/runs/:id/git/push": {
18788
18788
  $post: {
18789
18789
  output: {
18790
- error: string;
18790
+ pushed: true;
18791
+ branch: string;
18792
+ remote: string;
18793
+ upstreamSet: boolean;
18791
18794
  };
18792
18795
  outputFormat: "json";
18793
- status: 404 | 409;
18796
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18794
18797
  input: {
18795
18798
  param: {
18796
18799
  id: string;
@@ -18798,13 +18801,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18798
18801
  };
18799
18802
  } | {
18800
18803
  output: {
18801
- pushed: true;
18802
- branch: string;
18803
- remote: string;
18804
- upstreamSet: boolean;
18804
+ error: string;
18805
18805
  };
18806
18806
  outputFormat: "json";
18807
- status: import("hono/utils/http-status").ContentfulStatusCode;
18807
+ status: 404 | 409;
18808
18808
  input: {
18809
18809
  param: {
18810
18810
  id: string;
@@ -18816,10 +18816,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18816
18816
  "/runs/:id/pr": {
18817
18817
  $post: {
18818
18818
  output: {
18819
- error: string;
18819
+ url: string;
18820
+ dryRun: boolean;
18820
18821
  };
18821
18822
  outputFormat: "json";
18822
- status: 404 | 409;
18823
+ status: 201;
18823
18824
  input: {
18824
18825
  param: {
18825
18826
  id: string;
@@ -18827,11 +18828,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18827
18828
  };
18828
18829
  } | {
18829
18830
  output: {
18830
- url: string;
18831
- dryRun: boolean;
18831
+ error: string;
18832
18832
  };
18833
18833
  outputFormat: "json";
18834
- status: 201;
18834
+ status: 404 | 409;
18835
18835
  input: {
18836
18836
  param: {
18837
18837
  id: string;
@@ -18843,10 +18843,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18843
18843
  "/runs/:id/remove-worktree": {
18844
18844
  $post: {
18845
18845
  output: {
18846
- error: string;
18846
+ removed: true;
18847
18847
  };
18848
18848
  outputFormat: "json";
18849
- status: 404 | 409;
18849
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18850
18850
  input: {
18851
18851
  param: {
18852
18852
  id: string;
@@ -18854,10 +18854,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18854
18854
  };
18855
18855
  } | {
18856
18856
  output: {
18857
- removed: true;
18857
+ error: string;
18858
18858
  };
18859
18859
  outputFormat: "json";
18860
- status: import("hono/utils/http-status").ContentfulStatusCode;
18860
+ status: 404 | 409;
18861
18861
  input: {
18862
18862
  param: {
18863
18863
  id: string;
@@ -18869,10 +18869,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18869
18869
  "/runs/:id": {
18870
18870
  $delete: {
18871
18871
  output: {
18872
- error: string;
18872
+ deleted: true;
18873
18873
  };
18874
18874
  outputFormat: "json";
18875
- status: 404 | 409;
18875
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18876
18876
  input: {
18877
18877
  param: {
18878
18878
  id: string;
@@ -18880,10 +18880,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18880
18880
  };
18881
18881
  } | {
18882
18882
  output: {
18883
- deleted: true;
18883
+ error: string;
18884
18884
  };
18885
18885
  outputFormat: "json";
18886
- status: import("hono/utils/http-status").ContentfulStatusCode;
18886
+ status: 404 | 409;
18887
18887
  input: {
18888
18888
  param: {
18889
18889
  id: string;
@@ -18952,18 +18952,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18952
18952
  }, "/"> | import("hono/types").MergeSchemaPath<{
18953
18953
  "/plan": {
18954
18954
  $post: {
18955
- output: {
18956
- error: string;
18957
- };
18958
- outputFormat: "json";
18959
- status: 400 | 404 | 409;
18960
- input: {
18961
- json: {
18962
- task: string;
18963
- agentProfile?: string | undefined;
18964
- };
18965
- };
18966
- } | {
18967
18955
  output: {
18968
18956
  name?: string;
18969
18957
  steps: {
@@ -19000,6 +18988,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19000
18988
  agentProfile?: string | undefined;
19001
18989
  };
19002
18990
  };
18991
+ } | {
18992
+ output: {
18993
+ error: string;
18994
+ };
18995
+ outputFormat: "json";
18996
+ status: 400 | 404 | 409;
18997
+ input: {
18998
+ json: {
18999
+ task: string;
19000
+ agentProfile?: string | undefined;
19001
+ };
19002
+ };
19003
19003
  };
19004
19004
  };
19005
19005
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -19043,7 +19043,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19043
19043
  error: string;
19044
19044
  };
19045
19045
  outputFormat: "json";
19046
- status: 409;
19046
+ status: 400;
19047
19047
  input: {
19048
19048
  query: {
19049
19049
  q?: string | undefined;
@@ -19056,7 +19056,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19056
19056
  error: string;
19057
19057
  };
19058
19058
  outputFormat: "json";
19059
- status: 400;
19059
+ status: 409;
19060
19060
  input: {
19061
19061
  query: {
19062
19062
  q?: string | undefined;
@@ -19137,42 +19137,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19137
19137
  "/ui-state": {
19138
19138
  $put: {
19139
19139
  output: {
19140
- [x: string]: import("hono/utils/types").JSONValue;
19141
- sidebarLimits?: {
19142
- overall?: number | null | undefined;
19143
- needsYou?: number | null | undefined;
19144
- finished?: number | null | undefined;
19145
- working?: number | null | undefined;
19146
- } | undefined;
19147
- lastTask?: {
19148
- source: "skill" | "workflow";
19149
- ref: string;
19150
- } | null | undefined;
19151
- recentSources?: {
19152
- source: "skill" | "workflow";
19153
- ref: string;
19154
- }[] | undefined;
19155
- lastWorktree?: boolean | undefined;
19156
- lastAutonomous?: boolean | undefined;
19157
- skillUsage?: {
19158
- [x: string]: number;
19159
- } | undefined;
19160
- runsView?: "list" | "table" | undefined;
19161
- githubView?: "issues" | "prs" | undefined;
19162
- appearance?: {
19163
- accent?: "cezarion" | "lime" | "violet" | undefined;
19164
- density?: "comfortable" | "compact" | "ultra" | undefined;
19165
- width?: "narrow" | "wide" | undefined;
19166
- } | undefined;
19167
- promptTemplates?: {
19168
- id: string;
19169
- label: string;
19170
- text: string;
19171
- skills?: string[] | undefined;
19172
- }[] | undefined;
19140
+ error: string;
19173
19141
  };
19174
19142
  outputFormat: "json";
19175
- status: import("hono/utils/http-status").ContentfulStatusCode;
19143
+ status: 500;
19176
19144
  input: {
19177
19145
  json: {
19178
19146
  [x: string]: unknown;
@@ -19210,10 +19178,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19210
19178
  };
19211
19179
  } | {
19212
19180
  output: {
19213
- error: string;
19181
+ [x: string]: import("hono/utils/types").JSONValue;
19182
+ sidebarLimits?: {
19183
+ overall?: number | null | undefined;
19184
+ needsYou?: number | null | undefined;
19185
+ finished?: number | null | undefined;
19186
+ working?: number | null | undefined;
19187
+ } | undefined;
19188
+ lastTask?: {
19189
+ source: "skill" | "workflow";
19190
+ ref: string;
19191
+ } | null | undefined;
19192
+ recentSources?: {
19193
+ source: "skill" | "workflow";
19194
+ ref: string;
19195
+ }[] | undefined;
19196
+ lastWorktree?: boolean | undefined;
19197
+ lastAutonomous?: boolean | undefined;
19198
+ skillUsage?: {
19199
+ [x: string]: number;
19200
+ } | undefined;
19201
+ runsView?: "list" | "table" | undefined;
19202
+ githubView?: "issues" | "prs" | undefined;
19203
+ appearance?: {
19204
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19205
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19206
+ width?: "narrow" | "wide" | undefined;
19207
+ } | undefined;
19208
+ promptTemplates?: {
19209
+ id: string;
19210
+ label: string;
19211
+ text: string;
19212
+ skills?: string[] | undefined;
19213
+ }[] | undefined;
19214
19214
  };
19215
19215
  outputFormat: "json";
19216
- status: 500;
19216
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19217
19217
  input: {
19218
19218
  json: {
19219
19219
  [x: string]: unknown;
@@ -19290,34 +19290,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19290
19290
  "/config": {
19291
19291
  $put: {
19292
19292
  output: {
19293
- archiveOnMerge: boolean | null;
19294
- effectiveArchiveOnMerge: boolean;
19295
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19296
- baseBranch: string | null;
19297
- defaultRunner: string;
19298
- systemPrompt: string | null;
19299
- defaultModels: {
19300
- [x: string]: string | undefined;
19301
- };
19302
- modelsLocked: boolean;
19303
- maxParallel: number;
19304
- memoryLimitMb: number | null;
19305
- worktreeRetention: number;
19306
- liveTitleUpdates: boolean | null;
19307
- reviewGate: boolean | null;
19308
- worktreeSetup: {
19309
- commands: string[];
19310
- timeoutSeconds: number;
19311
- } | null;
19312
- worktreeSetupIssue: string | null;
19313
- worktreeTeardown: {
19314
- commands: string[];
19315
- timeoutSeconds: number;
19316
- } | null;
19317
- worktreeTeardownIssue: string | null;
19293
+ error: string;
19318
19294
  };
19319
19295
  outputFormat: "json";
19320
- status: import("hono/utils/http-status").ContentfulStatusCode;
19296
+ status: 409;
19321
19297
  input: {
19322
19298
  json: {
19323
19299
  archiveOnMerge?: boolean | null | undefined;
@@ -19345,7 +19321,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19345
19321
  error: string;
19346
19322
  };
19347
19323
  outputFormat: "json";
19348
- status: 409;
19324
+ status: 500;
19349
19325
  input: {
19350
19326
  json: {
19351
19327
  archiveOnMerge?: boolean | null | undefined;
@@ -19370,10 +19346,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19370
19346
  };
19371
19347
  } | {
19372
19348
  output: {
19373
- error: string;
19349
+ archiveOnMerge: boolean | null;
19350
+ effectiveArchiveOnMerge: boolean;
19351
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19352
+ baseBranch: string | null;
19353
+ defaultRunner: string;
19354
+ systemPrompt: string | null;
19355
+ defaultModels: {
19356
+ [x: string]: string | undefined;
19357
+ };
19358
+ modelsLocked: boolean;
19359
+ maxParallel: number;
19360
+ memoryLimitMb: number | null;
19361
+ worktreeRetention: number;
19362
+ liveTitleUpdates: boolean | null;
19363
+ reviewGate: boolean | null;
19364
+ worktreeSetup: {
19365
+ commands: string[];
19366
+ timeoutSeconds: number;
19367
+ } | null;
19368
+ worktreeSetupIssue: string | null;
19369
+ worktreeTeardown: {
19370
+ commands: string[];
19371
+ timeoutSeconds: number;
19372
+ } | null;
19373
+ worktreeTeardownIssue: string | null;
19374
19374
  };
19375
19375
  outputFormat: "json";
19376
- status: 500;
19376
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19377
19377
  input: {
19378
19378
  json: {
19379
19379
  archiveOnMerge?: boolean | null | undefined;
@@ -19484,9 +19484,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19484
19484
  }, "/"> | import("hono/types").MergeSchemaPath<{
19485
19485
  "/runs/:id/events": {
19486
19486
  $get: {
19487
- output: {};
19488
- outputFormat: string;
19489
- status: import("hono/utils/http-status").StatusCode;
19487
+ output: {
19488
+ error: string;
19489
+ code?: "invalid_input" | undefined;
19490
+ };
19491
+ outputFormat: "json";
19492
+ status: 400;
19490
19493
  input: {
19491
19494
  param: {
19492
19495
  id: string;
@@ -19498,12 +19501,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19498
19501
  };
19499
19502
  };
19500
19503
  } | {
19501
- output: {
19502
- error: string;
19503
- code?: "invalid_input" | undefined;
19504
- };
19505
- outputFormat: "json";
19506
- status: 400;
19504
+ output: {};
19505
+ outputFormat: string;
19506
+ status: import("hono/utils/http-status").StatusCode;
19507
19507
  input: {
19508
19508
  param: {
19509
19509
  id: string;
@@ -19547,7 +19547,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19547
19547
  error: string;
19548
19548
  };
19549
19549
  outputFormat: "json";
19550
- status: 409;
19550
+ status: 400;
19551
19551
  input: {
19552
19552
  json: {
19553
19553
  target: string;
@@ -19558,7 +19558,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19558
19558
  error: string;
19559
19559
  };
19560
19560
  outputFormat: "json";
19561
- status: 400;
19561
+ status: 409;
19562
19562
  input: {
19563
19563
  json: {
19564
19564
  target: string;
@@ -19666,14 +19666,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19666
19666
  "/agent-config/:id": {
19667
19667
  $put: {
19668
19668
  output: {
19669
- id: string;
19670
- path: string;
19671
- exists: boolean;
19672
- content: string;
19673
- version: string | null;
19669
+ error: string;
19674
19670
  };
19675
19671
  outputFormat: "json";
19676
- status: import("hono/utils/http-status").ContentfulStatusCode;
19672
+ status: 404;
19677
19673
  input: {
19678
19674
  json: {
19679
19675
  content: string;
@@ -19686,10 +19682,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19686
19682
  };
19687
19683
  } | {
19688
19684
  output: {
19689
- error: string;
19685
+ id: string;
19686
+ path: string;
19687
+ exists: boolean;
19688
+ content: string;
19689
+ version: string | null;
19690
19690
  };
19691
19691
  outputFormat: "json";
19692
- status: 404;
19692
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19693
19693
  input: {
19694
19694
  json: {
19695
19695
  content: string;
@@ -19789,10 +19789,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19789
19789
  };
19790
19790
  } | {
19791
19791
  output: {
19792
- error: string;
19792
+ runId: string;
19793
+ worktreeReclaimedAt: string;
19793
19794
  };
19794
19795
  outputFormat: "json";
19795
- status: 404 | 409;
19796
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19796
19797
  input: {
19797
19798
  param: {
19798
19799
  runId: string;
@@ -19804,11 +19805,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19804
19805
  };
19805
19806
  } | {
19806
19807
  output: {
19807
- runId: string;
19808
- worktreeReclaimedAt: string;
19808
+ error: string;
19809
19809
  };
19810
19810
  outputFormat: "json";
19811
- status: import("hono/utils/http-status").ContentfulStatusCode;
19811
+ status: 404 | 409;
19812
19812
  input: {
19813
19813
  param: {
19814
19814
  runId: string;
@@ -19968,10 +19968,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19968
19968
  "/workflows": {
19969
19969
  $post: {
19970
19970
  output: {
19971
- error: string;
19971
+ path: string;
19972
+ name: string;
19972
19973
  };
19973
19974
  outputFormat: "json";
19974
- status: 400;
19975
+ status: 201;
19975
19976
  input: {
19976
19977
  json: {
19977
19978
  name: string;
@@ -20004,10 +20005,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20004
20005
  } | {
20005
20006
  output: {
20006
20007
  error: string;
20007
- exists: true;
20008
20008
  };
20009
20009
  outputFormat: "json";
20010
- status: 409;
20010
+ status: 400;
20011
20011
  input: {
20012
20012
  json: {
20013
20013
  name: string;
@@ -20040,9 +20040,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20040
20040
  } | {
20041
20041
  output: {
20042
20042
  error: string;
20043
+ exists: true;
20043
20044
  };
20044
20045
  outputFormat: "json";
20045
- status: 500;
20046
+ status: 409;
20046
20047
  input: {
20047
20048
  json: {
20048
20049
  name: string;
@@ -20074,11 +20075,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20074
20075
  };
20075
20076
  } | {
20076
20077
  output: {
20077
- path: string;
20078
- name: string;
20078
+ error: string;
20079
20079
  };
20080
20080
  outputFormat: "json";
20081
- status: 201;
20081
+ status: 500;
20082
20082
  input: {
20083
20083
  json: {
20084
20084
  name: string;
@@ -20114,10 +20114,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20114
20114
  "/workflows/:name": {
20115
20115
  $delete: {
20116
20116
  output: {
20117
- error: string;
20117
+ ok: true;
20118
+ path: string;
20118
20119
  };
20119
20120
  outputFormat: "json";
20120
- status: 400 | 404 | 409 | 500;
20121
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20121
20122
  input: {
20122
20123
  param: {
20123
20124
  name: string;
@@ -20125,11 +20126,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20125
20126
  };
20126
20127
  } | {
20127
20128
  output: {
20128
- ok: true;
20129
- path: string;
20129
+ error: string;
20130
20130
  };
20131
20131
  outputFormat: "json";
20132
- status: import("hono/utils/http-status").ContentfulStatusCode;
20132
+ status: 400 | 404 | 409 | 500;
20133
20133
  input: {
20134
20134
  param: {
20135
20135
  name: string;
@@ -21070,14 +21070,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21070
21070
  "/repo/branches/delete": {
21071
21071
  $post: {
21072
21072
  output: {
21073
- error: string;
21073
+ deleted: string[];
21074
21074
  refused: {
21075
21075
  name: string;
21076
21076
  reason: string;
21077
21077
  }[];
21078
+ dropped?: {
21079
+ sha: string;
21080
+ subject: string;
21081
+ }[] | undefined;
21078
21082
  };
21079
21083
  outputFormat: "json";
21080
- status: 409;
21084
+ status: 200;
21081
21085
  input: {
21082
21086
  json: {
21083
21087
  names: string[];
@@ -21086,18 +21090,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21086
21090
  };
21087
21091
  } | {
21088
21092
  output: {
21089
- deleted: string[];
21093
+ error: string;
21090
21094
  refused: {
21091
21095
  name: string;
21092
21096
  reason: string;
21093
21097
  }[];
21094
- dropped?: {
21095
- sha: string;
21096
- subject: string;
21097
- }[] | undefined;
21098
21098
  };
21099
21099
  outputFormat: "json";
21100
- status: 200;
21100
+ status: 409;
21101
21101
  input: {
21102
21102
  json: {
21103
21103
  names: string[];
@@ -21133,6 +21133,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21133
21133
  sha: string;
21134
21134
  };
21135
21135
  };
21136
+ } | {
21137
+ output: {
21138
+ error: string;
21139
+ };
21140
+ outputFormat: "json";
21141
+ status: 409;
21142
+ input: {
21143
+ query: {
21144
+ structured?: string | undefined;
21145
+ };
21146
+ } & {
21147
+ param: {
21148
+ sha: string;
21149
+ };
21150
+ };
21136
21151
  } | {
21137
21152
  output: {
21138
21153
  sha: string;
@@ -21166,21 +21181,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21166
21181
  sha: string;
21167
21182
  };
21168
21183
  };
21169
- } | {
21170
- output: {
21171
- error: string;
21172
- };
21173
- outputFormat: "json";
21174
- status: 409;
21175
- input: {
21176
- query: {
21177
- structured?: string | undefined;
21178
- };
21179
- } & {
21180
- param: {
21181
- sha: string;
21182
- };
21183
- };
21184
21184
  } | {
21185
21185
  output: string;
21186
21186
  outputFormat: "text";
@@ -21216,15 +21216,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21216
21216
  };
21217
21217
  } | {
21218
21218
  output: {
21219
- type: 'file';
21220
- path: string;
21221
- size: number;
21222
- binary: boolean;
21223
- tooLarge: boolean;
21224
- content?: string | undefined;
21219
+ error: string;
21225
21220
  };
21226
21221
  outputFormat: "json";
21227
- status: import("hono/utils/http-status").ContentfulStatusCode;
21222
+ status: 409;
21228
21223
  input: {
21229
21224
  param: {
21230
21225
  sha: string;
@@ -21236,10 +21231,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21236
21231
  };
21237
21232
  } | {
21238
21233
  output: {
21239
- error: string;
21234
+ type: 'file';
21235
+ path: string;
21236
+ size: number;
21237
+ binary: boolean;
21238
+ tooLarge: boolean;
21239
+ content?: string | undefined;
21240
21240
  };
21241
21241
  outputFormat: "json";
21242
- status: 409;
21242
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21243
21243
  input: {
21244
21244
  param: {
21245
21245
  sha: string;
@@ -21267,15 +21267,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21267
21267
  };
21268
21268
  } | {
21269
21269
  output: {
21270
- type: 'file';
21271
- path: string;
21272
- size: number;
21273
- binary: boolean;
21274
- tooLarge: boolean;
21275
- content?: string | undefined;
21270
+ error: string;
21276
21271
  };
21277
21272
  outputFormat: "json";
21278
- status: import("hono/utils/http-status").ContentfulStatusCode;
21273
+ status: 409;
21279
21274
  input: {
21280
21275
  query: {
21281
21276
  path: string | string[];
@@ -21283,10 +21278,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21283
21278
  };
21284
21279
  } | {
21285
21280
  output: {
21286
- error: string;
21281
+ type: 'file';
21282
+ path: string;
21283
+ size: number;
21284
+ binary: boolean;
21285
+ tooLarge: boolean;
21286
+ content?: string | undefined;
21287
21287
  };
21288
21288
  outputFormat: "json";
21289
- status: 409;
21289
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21290
21290
  input: {
21291
21291
  query: {
21292
21292
  path: string | string[];
@@ -21297,6 +21297,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21297
21297
  } & {
21298
21298
  "/repo/changes": {
21299
21299
  $get: {
21300
+ output: {
21301
+ error: string;
21302
+ };
21303
+ outputFormat: "json";
21304
+ status: 409;
21305
+ input: {};
21306
+ } | {
21300
21307
  output: {
21301
21308
  files: {
21302
21309
  path: string;
@@ -21321,13 +21328,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21321
21328
  outputFormat: "json";
21322
21329
  status: import("hono/utils/http-status").ContentfulStatusCode;
21323
21330
  input: {};
21324
- } | {
21325
- output: {
21326
- error: string;
21327
- };
21328
- outputFormat: "json";
21329
- status: 409;
21330
- input: {};
21331
21331
  };
21332
21332
  };
21333
21333
  } & {
@@ -21352,10 +21352,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21352
21352
  "/repo/pull": {
21353
21353
  $post: {
21354
21354
  output: {
21355
- error: string;
21355
+ branch: string;
21356
+ pulled: true;
21357
+ summary: string;
21356
21358
  };
21357
21359
  outputFormat: "json";
21358
- status: 409;
21360
+ status: 200;
21359
21361
  input: {
21360
21362
  json: {
21361
21363
  branch?: string | undefined;
@@ -21364,12 +21366,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21364
21366
  };
21365
21367
  } | {
21366
21368
  output: {
21367
- branch: string;
21368
- pulled: true;
21369
- summary: string;
21369
+ error: string;
21370
21370
  };
21371
21371
  outputFormat: "json";
21372
- status: 200;
21372
+ status: 409;
21373
21373
  input: {
21374
21374
  json: {
21375
21375
  branch?: string | undefined;
@@ -22594,6 +22594,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22594
22594
  } & {
22595
22595
  "/run-summaries": {
22596
22596
  $get: {
22597
+ output: {
22598
+ error: string;
22599
+ code?: "invalid_input" | undefined;
22600
+ };
22601
+ outputFormat: "json";
22602
+ status: 400;
22603
+ input: {
22604
+ query: {
22605
+ archived?: "all" | "recent" | undefined;
22606
+ };
22607
+ };
22608
+ } | {
22597
22609
  output: {
22598
22610
  id: string;
22599
22611
  title: string;
@@ -22731,18 +22743,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22731
22743
  archived?: "all" | "recent" | undefined;
22732
22744
  };
22733
22745
  };
22734
- } | {
22735
- output: {
22736
- error: string;
22737
- code?: "invalid_input" | undefined;
22738
- };
22739
- outputFormat: "json";
22740
- status: 400;
22741
- input: {
22742
- query: {
22743
- archived?: "all" | "recent" | undefined;
22744
- };
22745
- };
22746
22746
  };
22747
22747
  };
22748
22748
  } & {
@@ -23104,22 +23104,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23104
23104
  "/runs/:id/worker-destroy": {
23105
23105
  $post: {
23106
23106
  output: {
23107
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23108
- readonly error: string;
23109
- readonly modelChoices?: {
23110
- runner: string;
23111
- requestedModel: string;
23112
- availableModels: {
23113
- id: string;
23114
- label: string;
23115
- description: string;
23116
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23117
- }[];
23118
- otherRunners: string[];
23107
+ workerId: string;
23108
+ state: "complete" | "incomplete";
23109
+ work?: {
23110
+ uncommittedFiles: number;
23111
+ commits: number;
23119
23112
  } | undefined;
23113
+ deleted?: ({
23114
+ kind: "worktree";
23115
+ path: string;
23116
+ } | {
23117
+ kind: "branch";
23118
+ ref: string;
23119
+ })[] | undefined;
23120
+ remaining: ("branch" | "process" | "worktree")[];
23121
+ error?: string | undefined;
23120
23122
  };
23121
23123
  outputFormat: "json";
23122
- status: 400 | 401 | 403 | 409 | 503;
23124
+ status: 200;
23123
23125
  input: {
23124
23126
  query: {
23125
23127
  [x: string]: string | string[];
@@ -23172,7 +23174,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23172
23174
  error?: string | undefined;
23173
23175
  };
23174
23176
  outputFormat: "json";
23175
- status: 200;
23177
+ status: 409;
23176
23178
  input: {
23177
23179
  query: {
23178
23180
  [x: string]: string | string[];
@@ -23188,24 +23190,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23188
23190
  };
23189
23191
  } | {
23190
23192
  output: {
23191
- workerId: string;
23192
- state: "complete" | "incomplete";
23193
- work?: {
23194
- uncommittedFiles: number;
23195
- commits: number;
23193
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23194
+ readonly error: string;
23195
+ readonly modelChoices?: {
23196
+ runner: string;
23197
+ requestedModel: string;
23198
+ availableModels: {
23199
+ id: string;
23200
+ label: string;
23201
+ description: string;
23202
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23203
+ }[];
23204
+ otherRunners: string[];
23196
23205
  } | undefined;
23197
- deleted?: ({
23198
- kind: "worktree";
23199
- path: string;
23200
- } | {
23201
- kind: "branch";
23202
- ref: string;
23203
- })[] | undefined;
23204
- remaining: ("branch" | "process" | "worktree")[];
23205
- error?: string | undefined;
23206
23206
  };
23207
23207
  outputFormat: "json";
23208
- status: 409;
23208
+ status: 400 | 401 | 403 | 409 | 503;
23209
23209
  input: {
23210
23210
  query: {
23211
23211
  [x: string]: string | string[];
@@ -23257,6 +23257,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23257
23257
  } & {
23258
23258
  "/runs/:id/archive": {
23259
23259
  $post: {
23260
+ output: {
23261
+ error: string;
23262
+ };
23263
+ outputFormat: "json";
23264
+ status: 404;
23265
+ input: {
23266
+ json: {
23267
+ archived?: boolean | undefined;
23268
+ };
23269
+ } & {
23270
+ param: {
23271
+ id: string;
23272
+ };
23273
+ };
23274
+ } | {
23260
23275
  output: {
23261
23276
  archiveWhenDone?: boolean | undefined;
23262
23277
  autoMergePr?: boolean | undefined;
@@ -24436,32 +24451,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24436
24451
  id: string;
24437
24452
  };
24438
24453
  };
24439
- } | {
24454
+ };
24455
+ };
24456
+ } & {
24457
+ "/runs/:id/pin": {
24458
+ $post: {
24440
24459
  output: {
24441
24460
  error: string;
24461
+ code?: "invalid_input" | undefined;
24442
24462
  };
24443
24463
  outputFormat: "json";
24444
- status: 404;
24464
+ status: 400;
24445
24465
  input: {
24446
- json: {
24447
- archived?: boolean | undefined;
24448
- };
24449
- } & {
24450
24466
  param: {
24451
24467
  id: string;
24452
24468
  };
24469
+ } & {
24470
+ json: {
24471
+ pinned?: boolean | undefined;
24472
+ };
24453
24473
  };
24454
- };
24455
- };
24456
- } & {
24457
- "/runs/:id/pin": {
24458
- $post: {
24474
+ } | {
24459
24475
  output: {
24460
24476
  error: string;
24461
- code?: "invalid_input" | undefined;
24462
24477
  };
24463
24478
  outputFormat: "json";
24464
- status: 400;
24479
+ status: 404;
24465
24480
  input: {
24466
24481
  param: {
24467
24482
  id: string;
@@ -25651,21 +25666,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25651
25666
  pinned?: boolean | undefined;
25652
25667
  };
25653
25668
  };
25654
- } | {
25655
- output: {
25656
- error: string;
25657
- };
25658
- outputFormat: "json";
25659
- status: 404;
25660
- input: {
25661
- param: {
25662
- id: string;
25663
- };
25664
- } & {
25665
- json: {
25666
- pinned?: boolean | undefined;
25667
- };
25668
- };
25669
25669
  };
25670
25670
  };
25671
25671
  } & {
@@ -25692,7 +25692,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25692
25692
  error: string;
25693
25693
  };
25694
25694
  outputFormat: "json";
25695
- status: 404;
25695
+ status: 400;
25696
25696
  input: {
25697
25697
  param: {
25698
25698
  id: string;
@@ -25708,7 +25708,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25708
25708
  error: string;
25709
25709
  };
25710
25710
  outputFormat: "json";
25711
- status: 400;
25711
+ status: 404;
25712
25712
  input: {
25713
25713
  param: {
25714
25714
  id: string;
@@ -26931,6 +26931,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26931
26931
  } & {
26932
26932
  "/runs/:id/read": {
26933
26933
  $post: {
26934
+ output: {
26935
+ error: string;
26936
+ };
26937
+ outputFormat: "json";
26938
+ status: 404;
26939
+ input: {
26940
+ param: {
26941
+ id: string;
26942
+ };
26943
+ };
26944
+ } | {
26934
26945
  output: {
26935
26946
  archiveWhenDone?: boolean | undefined;
26936
26947
  autoMergePr?: boolean | undefined;
@@ -28106,7 +28117,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28106
28117
  id: string;
28107
28118
  };
28108
28119
  };
28109
- } | {
28120
+ };
28121
+ };
28122
+ } & {
28123
+ "/runs/:id/unread": {
28124
+ $post: {
28110
28125
  output: {
28111
28126
  error: string;
28112
28127
  };
@@ -28117,11 +28132,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28117
28132
  id: string;
28118
28133
  };
28119
28134
  };
28120
- };
28121
- };
28122
- } & {
28123
- "/runs/:id/unread": {
28124
- $post: {
28135
+ } | {
28125
28136
  output: {
28126
28137
  archiveWhenDone?: boolean | undefined;
28127
28138
  autoMergePr?: boolean | undefined;
@@ -29297,17 +29308,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29297
29308
  id: string;
29298
29309
  };
29299
29310
  };
29300
- } | {
29301
- output: {
29302
- error: string;
29303
- };
29304
- outputFormat: "json";
29305
- status: 404;
29306
- input: {
29307
- param: {
29308
- id: string;
29309
- };
29310
- };
29311
29311
  };
29312
29312
  };
29313
29313
  } & {
@@ -30584,6 +30584,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30584
30584
  } & {
30585
30585
  "/runs/:id": {
30586
30586
  $get: {
30587
+ output: {
30588
+ error: string;
30589
+ };
30590
+ outputFormat: "json";
30591
+ status: 404;
30592
+ input: {
30593
+ param: {
30594
+ id: string;
30595
+ };
30596
+ };
30597
+ } | {
30587
30598
  output: {
30588
30599
  archiveWhenDone?: boolean | undefined;
30589
30600
  autoMergePr?: boolean | undefined;
@@ -31767,17 +31778,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31767
31778
  id: string;
31768
31779
  };
31769
31780
  };
31770
- } | {
31771
- output: {
31772
- error: string;
31773
- };
31774
- outputFormat: "json";
31775
- status: 404;
31776
- input: {
31777
- param: {
31778
- id: string;
31779
- };
31780
- };
31781
31781
  };
31782
31782
  };
31783
31783
  } & {
@@ -31905,6 +31905,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31905
31905
  } & {
31906
31906
  "/runs/:id": {
31907
31907
  $patch: {
31908
+ output: {
31909
+ error: string;
31910
+ };
31911
+ outputFormat: "json";
31912
+ status: 400;
31913
+ input: {
31914
+ json: {
31915
+ archiveWhenDone?: boolean | undefined;
31916
+ autoMergePr?: boolean | undefined;
31917
+ allowWorkers?: boolean | undefined;
31918
+ allowMessaging?: boolean | undefined;
31919
+ title?: string | undefined;
31920
+ task?: string | undefined;
31921
+ };
31922
+ } & {
31923
+ param: {
31924
+ id: string;
31925
+ };
31926
+ };
31927
+ } | {
31928
+ output: {
31929
+ error: string;
31930
+ };
31931
+ outputFormat: "json";
31932
+ status: 404;
31933
+ input: {
31934
+ json: {
31935
+ archiveWhenDone?: boolean | undefined;
31936
+ autoMergePr?: boolean | undefined;
31937
+ allowWorkers?: boolean | undefined;
31938
+ allowMessaging?: boolean | undefined;
31939
+ title?: string | undefined;
31940
+ task?: string | undefined;
31941
+ };
31942
+ } & {
31943
+ param: {
31944
+ id: string;
31945
+ };
31946
+ };
31947
+ } | {
31948
+ output: {
31949
+ error: string;
31950
+ };
31951
+ outputFormat: "json";
31952
+ status: 409;
31953
+ input: {
31954
+ json: {
31955
+ archiveWhenDone?: boolean | undefined;
31956
+ autoMergePr?: boolean | undefined;
31957
+ allowWorkers?: boolean | undefined;
31958
+ allowMessaging?: boolean | undefined;
31959
+ title?: string | undefined;
31960
+ task?: string | undefined;
31961
+ };
31962
+ } & {
31963
+ param: {
31964
+ id: string;
31965
+ };
31966
+ };
31967
+ } | {
31908
31968
  output: {
31909
31969
  archiveWhenDone?: boolean | undefined;
31910
31970
  autoMergePr?: boolean | undefined;
@@ -33089,66 +33149,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33089
33149
  id: string;
33090
33150
  };
33091
33151
  };
33092
- } | {
33093
- output: {
33094
- error: string;
33095
- };
33096
- outputFormat: "json";
33097
- status: 404;
33098
- input: {
33099
- json: {
33100
- archiveWhenDone?: boolean | undefined;
33101
- autoMergePr?: boolean | undefined;
33102
- allowWorkers?: boolean | undefined;
33103
- allowMessaging?: boolean | undefined;
33104
- title?: string | undefined;
33105
- task?: string | undefined;
33106
- };
33107
- } & {
33108
- param: {
33109
- id: string;
33110
- };
33111
- };
33112
- } | {
33113
- output: {
33114
- error: string;
33115
- };
33116
- outputFormat: "json";
33117
- status: 400;
33118
- input: {
33119
- json: {
33120
- archiveWhenDone?: boolean | undefined;
33121
- autoMergePr?: boolean | undefined;
33122
- allowWorkers?: boolean | undefined;
33123
- allowMessaging?: boolean | undefined;
33124
- title?: string | undefined;
33125
- task?: string | undefined;
33126
- };
33127
- } & {
33128
- param: {
33129
- id: string;
33130
- };
33131
- };
33132
- } | {
33133
- output: {
33134
- error: string;
33135
- };
33136
- outputFormat: "json";
33137
- status: 409;
33138
- input: {
33139
- json: {
33140
- archiveWhenDone?: boolean | undefined;
33141
- autoMergePr?: boolean | undefined;
33142
- allowWorkers?: boolean | undefined;
33143
- allowMessaging?: boolean | undefined;
33144
- title?: string | undefined;
33145
- task?: string | undefined;
33146
- };
33147
- } & {
33148
- param: {
33149
- id: string;
33150
- };
33151
- };
33152
33152
  };
33153
33153
  };
33154
33154
  } & {
@@ -33253,7 +33253,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33253
33253
  error: string;
33254
33254
  };
33255
33255
  outputFormat: "json";
33256
- status: 404;
33256
+ status: 400;
33257
33257
  input: {
33258
33258
  json: {
33259
33259
  text?: string | undefined;
@@ -33272,7 +33272,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33272
33272
  error: string;
33273
33273
  };
33274
33274
  outputFormat: "json";
33275
- status: 409;
33275
+ status: 404;
33276
33276
  input: {
33277
33277
  json: {
33278
33278
  text?: string | undefined;
@@ -33288,10 +33288,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33288
33288
  };
33289
33289
  } | {
33290
33290
  output: {
33291
- delivered: true;
33291
+ error: string;
33292
33292
  };
33293
33293
  outputFormat: "json";
33294
- status: import("hono/utils/http-status").ContentfulStatusCode;
33294
+ status: 409;
33295
33295
  input: {
33296
33296
  json: {
33297
33297
  text?: string | undefined;
@@ -33307,10 +33307,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33307
33307
  };
33308
33308
  } | {
33309
33309
  output: {
33310
- error: string;
33310
+ delivered: true;
33311
33311
  };
33312
33312
  outputFormat: "json";
33313
- status: 400;
33313
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33314
33314
  input: {
33315
33315
  json: {
33316
33316
  text?: string | undefined;
@@ -33378,7 +33378,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33378
33378
  error: string;
33379
33379
  };
33380
33380
  outputFormat: "json";
33381
- status: 404;
33381
+ status: 400;
33382
33382
  input: {
33383
33383
  json: {
33384
33384
  text?: string | undefined;
@@ -33399,7 +33399,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33399
33399
  error: string;
33400
33400
  };
33401
33401
  outputFormat: "json";
33402
- status: 400;
33402
+ status: 404;
33403
33403
  input: {
33404
33404
  json: {
33405
33405
  text?: string | undefined;
@@ -33619,10 +33619,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33619
33619
  "/runs/:id/open-in-cli": {
33620
33620
  $post: {
33621
33621
  output: {
33622
- error: string;
33622
+ opened: true;
33623
+ command: string;
33623
33624
  };
33624
33625
  outputFormat: "json";
33625
- status: 404 | 409;
33626
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33626
33627
  input: {
33627
33628
  param: {
33628
33629
  id: string;
@@ -33630,11 +33631,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33630
33631
  };
33631
33632
  } | {
33632
33633
  output: {
33633
- opened: true;
33634
- command: string;
33634
+ error: string;
33635
33635
  };
33636
33636
  outputFormat: "json";
33637
- status: import("hono/utils/http-status").ContentfulStatusCode;
33637
+ status: 404 | 409;
33638
33638
  input: {
33639
33639
  param: {
33640
33640
  id: string;
@@ -33698,20 +33698,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33698
33698
  } & {
33699
33699
  "/runs/:id/handoff": {
33700
33700
  $get: {
33701
- output: {
33702
- error: string;
33703
- };
33704
- outputFormat: "json";
33705
- status: 404;
33701
+ output: string;
33702
+ outputFormat: "text";
33703
+ status: 200;
33706
33704
  input: {
33707
33705
  param: {
33708
33706
  id: string;
33709
33707
  };
33710
33708
  };
33711
33709
  } | {
33712
- output: string;
33713
- outputFormat: "text";
33714
- status: 200;
33710
+ output: {
33711
+ error: string;
33712
+ };
33713
+ outputFormat: "json";
33714
+ status: 404;
33715
33715
  input: {
33716
33716
  param: {
33717
33717
  id: string;
@@ -33722,9 +33722,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33722
33722
  } & {
33723
33723
  "/runs/:id/images/:file": {
33724
33724
  $get: {
33725
- output: {};
33726
- outputFormat: string;
33727
- status: import("hono/utils/http-status").StatusCode;
33725
+ output: {
33726
+ error: string;
33727
+ code?: "invalid_input" | undefined;
33728
+ };
33729
+ outputFormat: "json";
33730
+ status: 400;
33728
33731
  input: {
33729
33732
  param: {
33730
33733
  id: string;
@@ -33732,12 +33735,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33732
33735
  };
33733
33736
  };
33734
33737
  } | {
33735
- output: {
33736
- error: string;
33737
- code?: "invalid_input" | undefined;
33738
- };
33739
- outputFormat: "json";
33740
- status: 400;
33738
+ output: {};
33739
+ outputFormat: string;
33740
+ status: import("hono/utils/http-status").StatusCode;
33741
33741
  input: {
33742
33742
  param: {
33743
33743
  id: string;
@@ -33749,17 +33749,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33749
33749
  } & {
33750
33750
  "/runs/:id/diff": {
33751
33751
  $get: {
33752
- output: {
33753
- error: string;
33754
- };
33755
- outputFormat: "json";
33756
- status: 404 | 409;
33757
- input: {
33758
- param: {
33759
- id: string;
33760
- };
33761
- };
33762
- } | {
33763
33752
  output: string;
33764
33753
  outputFormat: "text";
33765
33754
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33768,11 +33757,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33768
33757
  id: string;
33769
33758
  };
33770
33759
  };
33771
- };
33772
- };
33773
- } & {
33774
- "/runs/:id/changes": {
33775
- $get: {
33760
+ } | {
33776
33761
  output: {
33777
33762
  error: string;
33778
33763
  };
@@ -33783,7 +33768,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33783
33768
  id: string;
33784
33769
  };
33785
33770
  };
33786
- } | {
33771
+ };
33772
+ };
33773
+ } & {
33774
+ "/runs/:id/changes": {
33775
+ $get: {
33787
33776
  output: {
33788
33777
  files: {
33789
33778
  path: string;
@@ -33812,11 +33801,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33812
33801
  id: string;
33813
33802
  };
33814
33803
  };
33815
- };
33816
- };
33817
- } & {
33818
- "/runs/:id/commits": {
33819
- $get: {
33804
+ } | {
33820
33805
  output: {
33821
33806
  error: string;
33822
33807
  };
@@ -33827,7 +33812,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33827
33812
  id: string;
33828
33813
  };
33829
33814
  };
33830
- } | {
33815
+ };
33816
+ };
33817
+ } & {
33818
+ "/runs/:id/commits": {
33819
+ $get: {
33831
33820
  output: {
33832
33821
  commits: {
33833
33822
  sha: string;
@@ -33843,11 +33832,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33843
33832
  id: string;
33844
33833
  };
33845
33834
  };
33846
- };
33847
- };
33848
- } & {
33849
- "/runs/:id/commit/:sha": {
33850
- $get: {
33835
+ } | {
33851
33836
  output: {
33852
33837
  error: string;
33853
33838
  };
@@ -33856,11 +33841,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33856
33841
  input: {
33857
33842
  param: {
33858
33843
  id: string;
33859
- } & {
33860
- sha: string;
33861
33844
  };
33862
33845
  };
33863
- } | {
33846
+ };
33847
+ };
33848
+ } & {
33849
+ "/runs/:id/commit/:sha": {
33850
+ $get: {
33864
33851
  output: {
33865
33852
  sha: string;
33866
33853
  subject: string;
@@ -33891,6 +33878,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33891
33878
  sha: string;
33892
33879
  };
33893
33880
  };
33881
+ } | {
33882
+ output: {
33883
+ error: string;
33884
+ };
33885
+ outputFormat: "json";
33886
+ status: 404 | 409;
33887
+ input: {
33888
+ param: {
33889
+ id: string;
33890
+ } & {
33891
+ sha: string;
33892
+ };
33893
+ };
33894
33894
  };
33895
33895
  };
33896
33896
  } & {
@@ -33914,10 +33914,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33914
33914
  };
33915
33915
  } | {
33916
33916
  output: {
33917
- error: string;
33917
+ type: 'file';
33918
+ path: string;
33919
+ size: number;
33920
+ binary: boolean;
33921
+ tooLarge: boolean;
33922
+ content?: string | undefined;
33918
33923
  };
33919
33924
  outputFormat: "json";
33920
- status: 404 | 409;
33925
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33921
33926
  input: {
33922
33927
  param: {
33923
33928
  sha: string;
@@ -33930,15 +33935,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33930
33935
  };
33931
33936
  } | {
33932
33937
  output: {
33933
- type: 'file';
33934
- path: string;
33935
- size: number;
33936
- binary: boolean;
33937
- tooLarge: boolean;
33938
- content?: string | undefined;
33938
+ error: string;
33939
33939
  };
33940
33940
  outputFormat: "json";
33941
- status: import("hono/utils/http-status").ContentfulStatusCode;
33941
+ status: 404 | 409;
33942
33942
  input: {
33943
33943
  param: {
33944
33944
  sha: string;
@@ -33984,22 +33984,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33984
33984
  raw?: "1" | undefined;
33985
33985
  };
33986
33986
  };
33987
- } | {
33988
- output: {
33989
- error: string;
33990
- };
33991
- outputFormat: "json";
33992
- status: 404 | 409;
33993
- input: {
33994
- param: {
33995
- id: string;
33996
- };
33997
- } & {
33998
- query: {
33999
- path: string | string[];
34000
- raw?: "1" | undefined;
34001
- };
34002
- };
34003
33987
  } | {
34004
33988
  output: {
34005
33989
  type: "file";
@@ -34036,6 +34020,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34036
34020
  raw?: "1" | undefined;
34037
34021
  };
34038
34022
  };
34023
+ } | {
34024
+ output: {
34025
+ error: string;
34026
+ };
34027
+ outputFormat: "json";
34028
+ status: 404 | 409;
34029
+ input: {
34030
+ param: {
34031
+ id: string;
34032
+ };
34033
+ } & {
34034
+ query: {
34035
+ path: string | string[];
34036
+ raw?: "1" | undefined;
34037
+ };
34038
+ };
34039
34039
  };
34040
34040
  };
34041
34041
  } & {
@@ -34100,6 +34100,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34100
34100
  artifactId: string;
34101
34101
  };
34102
34102
  };
34103
+ } | {
34104
+ output: {
34105
+ error: string;
34106
+ };
34107
+ outputFormat: "json";
34108
+ status: 404;
34109
+ input: {
34110
+ param: {
34111
+ id: string;
34112
+ artifactId: string;
34113
+ };
34114
+ };
34103
34115
  } | {
34104
34116
  output: {
34105
34117
  type: "file";
@@ -34128,18 +34140,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34128
34140
  artifactId: string;
34129
34141
  };
34130
34142
  };
34131
- } | {
34132
- output: {
34133
- error: string;
34134
- };
34135
- outputFormat: "json";
34136
- status: 404;
34137
- input: {
34138
- param: {
34139
- id: string;
34140
- artifactId: string;
34141
- };
34142
- };
34143
34143
  };
34144
34144
  };
34145
34145
  } & {
@@ -34315,22 +34315,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34315
34315
  id: string;
34316
34316
  };
34317
34317
  };
34318
- } | {
34319
- output: {
34320
- error: string;
34321
- };
34322
- outputFormat: "json";
34323
- status: 404 | 409;
34324
- input: {
34325
- query: {
34326
- path?: string | undefined;
34327
- raw?: string | undefined;
34328
- };
34329
- } & {
34330
- param: {
34331
- id: string;
34332
- };
34333
- };
34334
34318
  } | {
34335
34319
  output: {
34336
34320
  type: 'file';
@@ -34375,16 +34359,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34375
34359
  id: string;
34376
34360
  };
34377
34361
  };
34362
+ } | {
34363
+ output: {
34364
+ error: string;
34365
+ };
34366
+ outputFormat: "json";
34367
+ status: 404 | 409;
34368
+ input: {
34369
+ query: {
34370
+ path?: string | undefined;
34371
+ raw?: string | undefined;
34372
+ };
34373
+ } & {
34374
+ param: {
34375
+ id: string;
34376
+ };
34377
+ };
34378
34378
  };
34379
34379
  };
34380
34380
  } & {
34381
34381
  "/runs/:id/git/commit": {
34382
34382
  $post: {
34383
34383
  output: {
34384
- error: string;
34384
+ committed: true;
34385
+ sha: string;
34385
34386
  };
34386
34387
  outputFormat: "json";
34387
- status: 404 | 409;
34388
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34388
34389
  input: {
34389
34390
  json: {
34390
34391
  message: string;
@@ -34396,11 +34397,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34396
34397
  };
34397
34398
  } | {
34398
34399
  output: {
34399
- committed: true;
34400
- sha: string;
34400
+ error: string;
34401
34401
  };
34402
34402
  outputFormat: "json";
34403
- status: import("hono/utils/http-status").ContentfulStatusCode;
34403
+ status: 404 | 409;
34404
34404
  input: {
34405
34405
  json: {
34406
34406
  message: string;
@@ -34416,10 +34416,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34416
34416
  "/runs/:id/git/push": {
34417
34417
  $post: {
34418
34418
  output: {
34419
- error: string;
34419
+ pushed: true;
34420
+ branch: string;
34421
+ remote: string;
34422
+ upstreamSet: boolean;
34420
34423
  };
34421
34424
  outputFormat: "json";
34422
- status: 404 | 409;
34425
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34423
34426
  input: {
34424
34427
  param: {
34425
34428
  id: string;
@@ -34427,13 +34430,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34427
34430
  };
34428
34431
  } | {
34429
34432
  output: {
34430
- pushed: true;
34431
- branch: string;
34432
- remote: string;
34433
- upstreamSet: boolean;
34433
+ error: string;
34434
34434
  };
34435
34435
  outputFormat: "json";
34436
- status: import("hono/utils/http-status").ContentfulStatusCode;
34436
+ status: 404 | 409;
34437
34437
  input: {
34438
34438
  param: {
34439
34439
  id: string;
@@ -34445,10 +34445,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34445
34445
  "/runs/:id/pr": {
34446
34446
  $post: {
34447
34447
  output: {
34448
- error: string;
34448
+ url: string;
34449
+ dryRun: boolean;
34449
34450
  };
34450
34451
  outputFormat: "json";
34451
- status: 404 | 409;
34452
+ status: 201;
34452
34453
  input: {
34453
34454
  param: {
34454
34455
  id: string;
@@ -34456,11 +34457,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34456
34457
  };
34457
34458
  } | {
34458
34459
  output: {
34459
- url: string;
34460
- dryRun: boolean;
34460
+ error: string;
34461
34461
  };
34462
34462
  outputFormat: "json";
34463
- status: 201;
34463
+ status: 404 | 409;
34464
34464
  input: {
34465
34465
  param: {
34466
34466
  id: string;
@@ -34472,10 +34472,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34472
34472
  "/runs/:id/remove-worktree": {
34473
34473
  $post: {
34474
34474
  output: {
34475
- error: string;
34475
+ removed: true;
34476
34476
  };
34477
34477
  outputFormat: "json";
34478
- status: 404 | 409;
34478
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34479
34479
  input: {
34480
34480
  param: {
34481
34481
  id: string;
@@ -34483,10 +34483,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34483
34483
  };
34484
34484
  } | {
34485
34485
  output: {
34486
- removed: true;
34486
+ error: string;
34487
34487
  };
34488
34488
  outputFormat: "json";
34489
- status: import("hono/utils/http-status").ContentfulStatusCode;
34489
+ status: 404 | 409;
34490
34490
  input: {
34491
34491
  param: {
34492
34492
  id: string;
@@ -34498,10 +34498,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34498
34498
  "/runs/:id": {
34499
34499
  $delete: {
34500
34500
  output: {
34501
- error: string;
34501
+ deleted: true;
34502
34502
  };
34503
34503
  outputFormat: "json";
34504
- status: 404 | 409;
34504
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34505
34505
  input: {
34506
34506
  param: {
34507
34507
  id: string;
@@ -34509,10 +34509,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34509
34509
  };
34510
34510
  } | {
34511
34511
  output: {
34512
- deleted: true;
34512
+ error: string;
34513
34513
  };
34514
34514
  outputFormat: "json";
34515
- status: import("hono/utils/http-status").ContentfulStatusCode;
34515
+ status: 404 | 409;
34516
34516
  input: {
34517
34517
  param: {
34518
34518
  id: string;