@hearsay-tools/squawk 0.19.0-dev.9065 → 0.19.0-dev.9069

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 (75) hide show
  1. package/dist/delegation/transport.d.ts +78 -78
  2. package/dist/features/automations/automations-routes.d.ts +150 -150
  3. package/dist/features/hosts/routes.d.ts +44 -44
  4. package/dist/server/models-routes.d.ts +12 -12
  5. package/dist/server/project-settings-routes.d.ts +107 -107
  6. package/dist/server/projects-routes.d.ts +73 -73
  7. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  8. package/dist/server/repo-routes.d.ts +52 -52
  9. package/dist/server/reports-api.d.ts +2 -2
  10. package/dist/server/runners-routes.d.ts +10 -10
  11. package/dist/server/runs-routes.d.ts +335 -335
  12. package/dist/server/server.d.ts +1190 -1190
  13. package/dist/server/workspace-routes.d.ts +85 -85
  14. package/package.json +4 -4
  15. package/web/dist/assets/{accounts-section-CdmTsc7W.js → accounts-section-CiO5OMkx.js} +1 -1
  16. package/web/dist/assets/{activity-motion-CrFzRrI5.js → activity-motion-D2RZtcZk.js} +1 -1
  17. package/web/dist/assets/{activity-route-CGRkPwJP.js → activity-route-D7WKghms.js} +1 -1
  18. package/web/dist/assets/{agent-config-section-C6I_sRta.js → agent-config-section-DW7oAwLi.js} +1 -1
  19. package/web/dist/assets/{agent-defaults-section-CiOFMcep.js → agent-defaults-section-BsfycjfC.js} +1 -1
  20. package/web/dist/assets/{appearance-CBX1qOwx.js → appearance-D-a_UJUm.js} +1 -1
  21. package/web/dist/assets/{archive-on-merge-field-BzxW7NJS.js → archive-on-merge-field-RMn227ry.js} +1 -1
  22. package/web/dist/assets/{ask-card-CKD_gFDN.js → ask-card-DP9b-lI-.js} +1 -1
  23. package/web/dist/assets/{automations-route-CoSNUId5.js → automations-route-_Pv3FEnT.js} +1 -1
  24. package/web/dist/assets/{commit-list-CCgF6z16.js → commit-list-FjUd56tK.js} +1 -1
  25. package/web/dist/assets/{diff-BcseHLlM.js → diff-ZyKzQmlr.js} +2 -2
  26. package/web/dist/assets/{diff-controls-DhD4a7Z4.js → diff-controls-DHvk5BOR.js} +1 -1
  27. package/web/dist/assets/{diff-view--Nv4Px8F.js → diff-view-wHArQrRv.js} +1 -1
  28. package/web/dist/assets/{discard-changes-dialog-CD2HMH7E.js → discard-changes-dialog-u_8VAiFD.js} +1 -1
  29. package/web/dist/assets/{file-preview-BwrymAy7.js → file-preview-DbDhvIx2.js} +1 -1
  30. package/web/dist/assets/{git-toolbar-CYgIbgOf.js → git-toolbar-Bjvqzoo_.js} +1 -1
  31. package/web/dist/assets/{github-CtYRNNDH.js → github-DZyhI-94.js} +1 -1
  32. package/web/dist/assets/{global-activity-route-BXAhhLrt.js → global-activity-route-B20p5-qQ.js} +1 -1
  33. package/web/dist/assets/index-C8nM086t.css +1 -0
  34. package/web/dist/assets/{index-CXvWnyZg.js → index-TOx-AA67.js} +4 -4
  35. package/web/dist/assets/{markdown-BAmUNyiK.js → markdown-Ce0jEzBL.js} +1 -1
  36. package/web/dist/assets/{option-select-BxFrlK_-.js → option-select-BUpASY9Q.js} +1 -1
  37. package/web/dist/assets/{preferences-section-ByeO0I87.js → preferences-section-Cayq_QJk.js} +1 -1
  38. package/web/dist/assets/{preview-pane-connected-CJy9Miri.js → preview-pane-connected-C6q9f2y-.js} +1 -1
  39. package/web/dist/assets/{project-location-Cq1K7hXN.js → project-location-QEQeyIDW.js} +1 -1
  40. package/web/dist/assets/{projects-section-P0RuBn2c.js → projects-section-Ws3Kp5ky.js} +1 -1
  41. package/web/dist/assets/{prompt-templates-section-ChqZ2Gl4.js → prompt-templates-section-CfyNaD_K.js} +1 -1
  42. package/web/dist/assets/{remote-settings-notice-DYOP5Yxe.js → remote-settings-notice-DEs9jV72.js} +1 -1
  43. package/web/dist/assets/{repo-git-DcZTZ70-.js → repo-git-DpqwxFN6.js} +1 -1
  44. package/web/dist/assets/{report-reader-D0ud2uIA.js → report-reader-mwLAF_a8.js} +1 -1
  45. package/web/dist/assets/{reports-BNO0jrQI.js → reports-CN8KHXFF.js} +1 -1
  46. package/web/dist/assets/{resources-section-CQkpzv63.js → resources-section-BzYmdxRV.js} +1 -1
  47. package/web/dist/assets/{review-notes-drafts-B_Mb82AK.js → review-notes-drafts-D9s8XFRQ.js} +1 -1
  48. package/web/dist/assets/{review-panel-DcEmHodb.js → review-panel-Ds3S11Go.js} +1 -1
  49. package/web/dist/assets/{review-strip-En21aXDx.js → review-strip-BFq2VP2u.js} +1 -1
  50. package/web/dist/assets/run-header-788Dmvef.css +1 -0
  51. package/web/dist/assets/{run-header-DE0wTSnO.js → run-header-Bedua8do.js} +2 -2
  52. package/web/dist/assets/{select--dGOlrzM.js → select-CGjqNwut.js} +1 -1
  53. package/web/dist/assets/{session-context-section-b4-i_DSE.js → session-context-section-D0e8HLzL.js} +1 -1
  54. package/web/dist/assets/{settings-agent-picker-BhyVKLRu.js → settings-agent-picker-hFnntaW2.js} +1 -1
  55. package/web/dist/assets/{settings-save-bar-9D1QPg_P.js → settings-save-bar-DmONROMw.js} +1 -1
  56. package/web/dist/assets/{settings-shell-Ct4CWWvw.js → settings-shell-DjfeA3BW.js} +1 -1
  57. package/web/dist/assets/{sidebar-section-azclPE--.js → sidebar-section-DHJR37sv.js} +1 -1
  58. package/web/dist/assets/{skills-BizIiogS.js → skills-CFRO_xLW.js} +1 -1
  59. package/web/dist/assets/{task-changes-DjB5jujp.js → task-changes-BuNxS6PG.js} +1 -1
  60. package/web/dist/assets/{task-commits-cDkfIAvD.js → task-commits--1qJdD-O.js} +1 -1
  61. package/web/dist/assets/{task-file-scope-DLVI8zBp.js → task-file-scope-CFMwJrto.js} +1 -1
  62. package/web/dist/assets/{task-files-BVbjuEaL.js → task-files-CwH0b_vv.js} +1 -1
  63. package/web/dist/assets/{task-github-item-DW5Rl7Me.js → task-github-item-BezEGvZC.js} +1 -1
  64. package/web/dist/assets/{task-thread-DTLhAQbe.js → task-thread-T_RG916v.js} +2 -2
  65. package/web/dist/assets/{thread-state-VRKiUyJj.js → thread-state-zzV37Hgs.js} +1 -1
  66. package/web/dist/assets/{use-finish-run-BK7gmbXh.js → use-finish-run-CyV1CCkZ.js} +1 -1
  67. package/web/dist/assets/{use-hand-to-agent-state-pINTYkY9.js → use-hand-to-agent-state-Ci2rVhws.js} +1 -1
  68. package/web/dist/assets/use-path-bases-Cimv7R-0.js +1 -0
  69. package/web/dist/assets/{workflows-D2h67tAS.js → workflows-B9NzpaaA.js} +1 -1
  70. package/web/dist/assets/{workspace-tools-uIbmvTfR.js → workspace-tools-C0K5dFxy.js} +1 -1
  71. package/web/dist/assets/{worktrees-section-Cm1pcQ9g.js → worktrees-section-D48xLdpr.js} +1 -1
  72. package/web/dist/index.html +2 -2
  73. package/web/dist/assets/index-BUmO8olN.css +0 -1
  74. package/web/dist/assets/run-header-V9BxPSvn.css +0 -1
  75. package/web/dist/assets/use-path-bases-D1yBeTzY.js +0 -1
@@ -176,18 +176,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
176
176
  profileId?: string | undefined;
177
177
  };
178
178
  };
179
- } | {
180
- output: {
181
- error: string;
182
- };
183
- outputFormat: "json";
184
- status: 400;
185
- input: {
186
- query: {
187
- runner: string | string[];
188
- profileId?: string | undefined;
189
- };
190
- };
191
179
  } | {
192
180
  output: {
193
181
  runner: string;
@@ -209,6 +197,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
209
197
  profileId?: string | undefined;
210
198
  };
211
199
  };
200
+ } | {
201
+ output: {
202
+ error: string;
203
+ };
204
+ outputFormat: "json";
205
+ status: 400;
206
+ input: {
207
+ query: {
208
+ runner: string | string[];
209
+ profileId?: string | undefined;
210
+ };
211
+ };
212
212
  };
213
213
  };
214
214
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -285,6 +285,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
285
285
  showHidden?: string | undefined;
286
286
  };
287
287
  };
288
+ } | {
289
+ output: {
290
+ error: string;
291
+ };
292
+ outputFormat: "json";
293
+ status: 400 | 403 | 404;
294
+ input: {
295
+ query: {
296
+ path?: string | undefined;
297
+ showHidden?: string | undefined;
298
+ };
299
+ };
288
300
  } | {
289
301
  output: {
290
302
  path: string;
@@ -304,22 +316,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
304
316
  showHidden?: string | undefined;
305
317
  };
306
318
  };
319
+ };
320
+ };
321
+ }, "/"> | import("hono/types").MergeSchemaPath<{
322
+ "/workspace/events": {
323
+ $get: {
324
+ output: {};
325
+ outputFormat: string;
326
+ status: import("hono/utils/http-status").StatusCode;
327
+ input: {
328
+ query: {
329
+ runs?: "summary" | undefined;
330
+ };
331
+ };
307
332
  } | {
308
333
  output: {
309
334
  error: string;
335
+ code?: "invalid_input" | undefined;
310
336
  };
311
337
  outputFormat: "json";
312
- status: 400 | 403 | 404;
338
+ status: 400;
313
339
  input: {
314
340
  query: {
315
- path?: string | undefined;
316
- showHidden?: string | undefined;
341
+ runs?: "summary" | undefined;
317
342
  };
318
343
  };
319
344
  };
320
345
  };
321
346
  }, "/"> | import("hono/types").MergeSchemaPath<{
322
- "/workspace/events": {
347
+ "/workspace/activity": {
323
348
  $get: {
324
349
  output: {
325
350
  error: string;
@@ -329,23 +354,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
329
354
  status: 400;
330
355
  input: {
331
356
  query: {
332
- runs?: "summary" | undefined;
357
+ project?: string | undefined;
333
358
  };
334
359
  };
335
360
  } | {
336
- output: {};
337
- outputFormat: string;
338
- status: import("hono/utils/http-status").StatusCode;
361
+ output: {
362
+ error: string;
363
+ };
364
+ outputFormat: "json";
365
+ status: 404 | 409 | 503;
339
366
  input: {
340
367
  query: {
341
- runs?: "summary" | undefined;
368
+ project?: string | undefined;
342
369
  };
343
370
  };
344
- };
345
- };
346
- }, "/"> | import("hono/types").MergeSchemaPath<{
347
- "/workspace/activity": {
348
- $get: {
371
+ } | {
349
372
  output: {
350
373
  generatedAt: string;
351
374
  projects: {
@@ -596,29 +619,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
596
619
  project?: string | undefined;
597
620
  };
598
621
  };
599
- } | {
600
- output: {
601
- error: string;
602
- code?: "invalid_input" | undefined;
603
- };
604
- outputFormat: "json";
605
- status: 400;
606
- input: {
607
- query: {
608
- project?: string | undefined;
609
- };
610
- };
611
- } | {
612
- output: {
613
- error: string;
614
- };
615
- outputFormat: "json";
616
- status: 404 | 409 | 503;
617
- input: {
618
- query: {
619
- project?: string | undefined;
620
- };
621
- };
622
622
  };
623
623
  };
624
624
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -991,10 +991,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
991
991
  };
992
992
  } | {
993
993
  output: {
994
- error: string;
994
+ providers: {
995
+ requiresAccountHome?: boolean | undefined;
996
+ provider: string;
997
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
998
+ enabled?: boolean | undefined;
999
+ hint?: string | undefined;
1000
+ authFailureId?: string | undefined;
1001
+ profileId?: string | undefined;
1002
+ }[];
995
1003
  };
996
1004
  outputFormat: "json";
997
- status: 500;
1005
+ status: import("hono/utils/http-status").ContentfulStatusCode;
998
1006
  input: {
999
1007
  param: {
1000
1008
  provider: string;
@@ -1006,18 +1014,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1006
1014
  };
1007
1015
  } | {
1008
1016
  output: {
1009
- providers: {
1010
- requiresAccountHome?: boolean | undefined;
1011
- provider: string;
1012
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1013
- enabled?: boolean | undefined;
1014
- hint?: string | undefined;
1015
- authFailureId?: string | undefined;
1016
- profileId?: string | undefined;
1017
- }[];
1017
+ error: string;
1018
1018
  };
1019
1019
  outputFormat: "json";
1020
- status: import("hono/utils/http-status").ContentfulStatusCode;
1020
+ status: 500;
1021
1021
  input: {
1022
1022
  param: {
1023
1023
  provider: string;
@@ -1049,10 +1049,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1049
1049
  };
1050
1050
  } | {
1051
1051
  output: {
1052
- error: string;
1052
+ providers: {
1053
+ requiresAccountHome?: boolean | undefined;
1054
+ provider: string;
1055
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1056
+ enabled?: boolean | undefined;
1057
+ hint?: string | undefined;
1058
+ authFailureId?: string | undefined;
1059
+ profileId?: string | undefined;
1060
+ }[];
1053
1061
  };
1054
1062
  outputFormat: "json";
1055
- status: 409;
1063
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1056
1064
  input: {
1057
1065
  param: {
1058
1066
  provider: string;
@@ -1064,18 +1072,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1064
1072
  };
1065
1073
  } | {
1066
1074
  output: {
1067
- providers: {
1068
- requiresAccountHome?: boolean | undefined;
1069
- provider: string;
1070
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1071
- enabled?: boolean | undefined;
1072
- hint?: string | undefined;
1073
- authFailureId?: string | undefined;
1074
- profileId?: string | undefined;
1075
- }[];
1075
+ error: string;
1076
1076
  };
1077
1077
  outputFormat: "json";
1078
- status: import("hono/utils/http-status").ContentfulStatusCode;
1078
+ status: 409;
1079
1079
  input: {
1080
1080
  param: {
1081
1081
  provider: string;
@@ -1094,7 +1094,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1094
1094
  error: string;
1095
1095
  };
1096
1096
  outputFormat: "json";
1097
- status: 400;
1097
+ status: 409;
1098
1098
  input: {
1099
1099
  json: {
1100
1100
  provider: string;
@@ -1106,7 +1106,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1106
1106
  error: string;
1107
1107
  };
1108
1108
  outputFormat: "json";
1109
- status: 409;
1109
+ status: 400;
1110
1110
  input: {
1111
1111
  json: {
1112
1112
  provider: string;
@@ -1194,10 +1194,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1194
1194
  "/workspace/config": {
1195
1195
  $put: {
1196
1196
  output: {
1197
- error: string;
1197
+ homeDir: string;
1198
+ browseRoot: string;
1199
+ projectsDir: string;
1200
+ archiveOnMerge: boolean | null;
1201
+ effectiveArchiveOnMerge: boolean;
1202
+ archiveOnMergeSource: "default" | "environment" | "global";
1203
+ composerDefaults: {
1204
+ autonomous: boolean | null;
1205
+ worktree: boolean | null;
1206
+ inheritedAutonomous: "source-dependent" | boolean;
1207
+ inheritedWorktree: boolean;
1208
+ };
1209
+ resources: {
1210
+ maxParallel: number;
1211
+ maxMonitoringSessions: number;
1212
+ monitoringWakeIntervalMinutes: number | null;
1213
+ autoResumeOnUsageLimit: boolean;
1214
+ memoryLimitMb: number | null;
1215
+ worktreeRetentionDefault: number;
1216
+ };
1217
+ agentDefaults: {
1218
+ runner?: string | undefined;
1219
+ models?: {
1220
+ [x: string]: string | undefined;
1221
+ } | undefined;
1222
+ };
1198
1223
  };
1199
1224
  outputFormat: "json";
1200
- status: 400;
1225
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1201
1226
  input: {
1202
1227
  json: {
1203
1228
  browseRoot?: string | undefined;
@@ -1226,7 +1251,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1226
1251
  error: string;
1227
1252
  };
1228
1253
  outputFormat: "json";
1229
- status: 500;
1254
+ status: 400;
1230
1255
  input: {
1231
1256
  json: {
1232
1257
  browseRoot?: string | undefined;
@@ -1252,35 +1277,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1252
1277
  };
1253
1278
  } | {
1254
1279
  output: {
1255
- homeDir: string;
1256
- browseRoot: string;
1257
- projectsDir: string;
1258
- archiveOnMerge: boolean | null;
1259
- effectiveArchiveOnMerge: boolean;
1260
- archiveOnMergeSource: "default" | "environment" | "global";
1261
- composerDefaults: {
1262
- autonomous: boolean | null;
1263
- worktree: boolean | null;
1264
- inheritedAutonomous: "source-dependent" | boolean;
1265
- inheritedWorktree: boolean;
1266
- };
1267
- resources: {
1268
- maxParallel: number;
1269
- maxMonitoringSessions: number;
1270
- monitoringWakeIntervalMinutes: number | null;
1271
- autoResumeOnUsageLimit: boolean;
1272
- memoryLimitMb: number | null;
1273
- worktreeRetentionDefault: number;
1274
- };
1275
- agentDefaults: {
1276
- runner?: string | undefined;
1277
- models?: {
1278
- [x: string]: string | undefined;
1279
- } | undefined;
1280
- };
1280
+ error: string;
1281
1281
  };
1282
1282
  outputFormat: "json";
1283
- status: import("hono/utils/http-status").ContentfulStatusCode;
1283
+ status: 500;
1284
1284
  input: {
1285
1285
  json: {
1286
1286
  browseRoot?: string | undefined;
@@ -1351,6 +1351,73 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1351
1351
  } & {
1352
1352
  "/workspace/ui-state": {
1353
1353
  $put: {
1354
+ output: {
1355
+ [x: string]: import("hono/utils/types").JSONValue;
1356
+ sidebar?: {
1357
+ [x: string]: import("hono/utils/types").JSONValue;
1358
+ collapsed?: {
1359
+ [x: string]: boolean;
1360
+ } | undefined;
1361
+ projectOrder?: string[] | undefined;
1362
+ } | undefined;
1363
+ dismissedProviderAuthFailures?: {
1364
+ [x: string]: string | undefined;
1365
+ } | undefined;
1366
+ appearance?: {
1367
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1368
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1369
+ width?: "narrow" | "wide" | undefined;
1370
+ } | undefined;
1371
+ notifications?: {
1372
+ [x: string]: import("hono/utils/types").JSONValue;
1373
+ enabled?: boolean | undefined;
1374
+ } | undefined;
1375
+ taskTable?: {
1376
+ [x: string]: import("hono/utils/types").JSONValue;
1377
+ expandedColumns?: {
1378
+ [x: string]: boolean;
1379
+ } | undefined;
1380
+ } | undefined;
1381
+ lastLocation?: {
1382
+ projectId: string;
1383
+ pathname: string;
1384
+ search?: string | undefined;
1385
+ hash?: string | undefined;
1386
+ } | undefined;
1387
+ };
1388
+ outputFormat: "json";
1389
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1390
+ input: {
1391
+ json: {
1392
+ [x: string]: unknown;
1393
+ appearance?: {
1394
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1395
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1396
+ width?: "narrow" | "wide" | undefined;
1397
+ } | undefined;
1398
+ notifications?: {
1399
+ [x: string]: unknown;
1400
+ enabled?: boolean | undefined;
1401
+ } | undefined;
1402
+ lastLocation?: {
1403
+ projectId: string;
1404
+ pathname: string;
1405
+ search?: string | undefined;
1406
+ hash?: string | undefined;
1407
+ } | undefined;
1408
+ sidebar?: {
1409
+ [x: string]: unknown;
1410
+ collapsed?: Record<string, boolean> | undefined;
1411
+ projectOrder?: string[] | undefined;
1412
+ } | undefined;
1413
+ dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1414
+ taskTable?: {
1415
+ [x: string]: unknown;
1416
+ expandedColumns?: Record<string, boolean> | undefined;
1417
+ } | undefined;
1418
+ };
1419
+ };
1420
+ } | {
1354
1421
  output: {
1355
1422
  error: string;
1356
1423
  };
@@ -1386,73 +1453,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1386
1453
  } | undefined;
1387
1454
  };
1388
1455
  };
1389
- } | {
1390
- output: {
1391
- [x: string]: import("hono/utils/types").JSONValue;
1392
- sidebar?: {
1393
- [x: string]: import("hono/utils/types").JSONValue;
1394
- collapsed?: {
1395
- [x: string]: boolean;
1396
- } | undefined;
1397
- projectOrder?: string[] | undefined;
1398
- } | undefined;
1399
- dismissedProviderAuthFailures?: {
1400
- [x: string]: string | undefined;
1401
- } | undefined;
1402
- appearance?: {
1403
- accent?: "cezarion" | "lime" | "violet" | undefined;
1404
- density?: "comfortable" | "compact" | "ultra" | undefined;
1405
- width?: "narrow" | "wide" | undefined;
1406
- } | undefined;
1407
- notifications?: {
1408
- [x: string]: import("hono/utils/types").JSONValue;
1409
- enabled?: boolean | undefined;
1410
- } | undefined;
1411
- taskTable?: {
1412
- [x: string]: import("hono/utils/types").JSONValue;
1413
- expandedColumns?: {
1414
- [x: string]: boolean;
1415
- } | undefined;
1416
- } | undefined;
1417
- lastLocation?: {
1418
- projectId: string;
1419
- pathname: string;
1420
- search?: string | undefined;
1421
- hash?: string | undefined;
1422
- } | undefined;
1423
- };
1424
- outputFormat: "json";
1425
- status: import("hono/utils/http-status").ContentfulStatusCode;
1426
- input: {
1427
- json: {
1428
- [x: string]: unknown;
1429
- appearance?: {
1430
- accent?: "cezarion" | "lime" | "violet" | undefined;
1431
- density?: "comfortable" | "compact" | "ultra" | undefined;
1432
- width?: "narrow" | "wide" | undefined;
1433
- } | undefined;
1434
- notifications?: {
1435
- [x: string]: unknown;
1436
- enabled?: boolean | undefined;
1437
- } | undefined;
1438
- lastLocation?: {
1439
- projectId: string;
1440
- pathname: string;
1441
- search?: string | undefined;
1442
- hash?: string | undefined;
1443
- } | undefined;
1444
- sidebar?: {
1445
- [x: string]: unknown;
1446
- collapsed?: Record<string, boolean> | undefined;
1447
- projectOrder?: string[] | undefined;
1448
- } | undefined;
1449
- dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1450
- taskTable?: {
1451
- [x: string]: unknown;
1452
- expandedColumns?: Record<string, boolean> | undefined;
1453
- } | undefined;
1454
- };
1455
- };
1456
1456
  };
1457
1457
  };
1458
1458
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1462,7 +1462,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1462
1462
  error: string;
1463
1463
  };
1464
1464
  outputFormat: "json";
1465
- status: 400;
1465
+ status: 409;
1466
1466
  input: {
1467
1467
  json: {
1468
1468
  provider: string;
@@ -1474,7 +1474,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1474
1474
  error: string;
1475
1475
  };
1476
1476
  outputFormat: "json";
1477
- status: 409;
1477
+ status: 400;
1478
1478
  input: {
1479
1479
  json: {
1480
1480
  provider: string;
@@ -1717,28 +1717,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1717
1717
  "/workspace/agent-profiles": {
1718
1718
  $post: {
1719
1719
  output: {
1720
- profile: {
1721
- id: string;
1722
- provider: string;
1723
- label: string;
1724
- configDir?: string | undefined;
1725
- path?: string | undefined;
1726
- exists: boolean;
1727
- looksValid: boolean;
1728
- isDefault: boolean;
1729
- status?: {
1730
- requiresAccountHome?: boolean | undefined;
1731
- provider: string;
1732
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1733
- enabled?: boolean | undefined;
1734
- hint?: string | undefined;
1735
- authFailureId?: string | undefined;
1736
- profileId?: string | undefined;
1737
- } | undefined;
1738
- };
1720
+ error: string;
1739
1721
  };
1740
1722
  outputFormat: "json";
1741
- status: 201;
1723
+ status: 409;
1742
1724
  input: {
1743
1725
  json: {
1744
1726
  provider: string;
@@ -1764,7 +1746,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1764
1746
  error: string;
1765
1747
  };
1766
1748
  outputFormat: "json";
1767
- status: 409;
1749
+ status: 500;
1768
1750
  input: {
1769
1751
  json: {
1770
1752
  provider: string;
@@ -1774,10 +1756,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1774
1756
  };
1775
1757
  } | {
1776
1758
  output: {
1777
- error: string;
1759
+ profile: {
1760
+ id: string;
1761
+ provider: string;
1762
+ label: string;
1763
+ configDir?: string | undefined;
1764
+ path?: string | undefined;
1765
+ exists: boolean;
1766
+ looksValid: boolean;
1767
+ isDefault: boolean;
1768
+ status?: {
1769
+ requiresAccountHome?: boolean | undefined;
1770
+ provider: string;
1771
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1772
+ enabled?: boolean | undefined;
1773
+ hint?: string | undefined;
1774
+ authFailureId?: string | undefined;
1775
+ profileId?: string | undefined;
1776
+ } | undefined;
1777
+ };
1778
1778
  };
1779
1779
  outputFormat: "json";
1780
- status: 500;
1780
+ status: 201;
1781
1781
  input: {
1782
1782
  json: {
1783
1783
  provider: string;
@@ -1811,7 +1811,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1811
1811
  error: string;
1812
1812
  };
1813
1813
  outputFormat: "json";
1814
- status: 400;
1814
+ status: 409;
1815
1815
  input: {
1816
1816
  param: {
1817
1817
  id: string;
@@ -1827,7 +1827,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1827
1827
  error: string;
1828
1828
  };
1829
1829
  outputFormat: "json";
1830
- status: 404;
1830
+ status: 400;
1831
1831
  input: {
1832
1832
  param: {
1833
1833
  id: string;
@@ -1843,7 +1843,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1843
1843
  error: string;
1844
1844
  };
1845
1845
  outputFormat: "json";
1846
- status: 409;
1846
+ status: 404;
1847
1847
  input: {
1848
1848
  param: {
1849
1849
  id: string;
@@ -1969,9 +1969,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1969
1969
  $put: {
1970
1970
  output: {
1971
1971
  error: string;
1972
+ code: "no-boot-project";
1972
1973
  };
1973
1974
  outputFormat: "json";
1974
- status: 400;
1975
+ status: 409;
1975
1976
  input: {
1976
1977
  json: {
1977
1978
  projectId: string;
@@ -1995,10 +1996,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1995
1996
  } | {
1996
1997
  output: {
1997
1998
  error: string;
1998
- code: "no-boot-project";
1999
1999
  };
2000
2000
  outputFormat: "json";
2001
- status: 409;
2001
+ status: 400;
2002
2002
  input: {
2003
2003
  json: {
2004
2004
  projectId: string;
@@ -2062,7 +2062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2062
2062
  error: string;
2063
2063
  };
2064
2064
  outputFormat: "json";
2065
- status: 404;
2065
+ status: 409;
2066
2066
  input: {
2067
2067
  param: {
2068
2068
  id: string;
@@ -2073,7 +2073,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2073
2073
  error: string;
2074
2074
  };
2075
2075
  outputFormat: "json";
2076
- status: 409;
2076
+ status: 500;
2077
2077
  input: {
2078
2078
  param: {
2079
2079
  id: string;
@@ -2084,7 +2084,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2084
2084
  error: string;
2085
2085
  };
2086
2086
  outputFormat: "json";
2087
- status: 500;
2087
+ status: 404;
2088
2088
  input: {
2089
2089
  param: {
2090
2090
  id: string;
@@ -2148,6 +2148,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2148
2148
  } & {
2149
2149
  "/projects": {
2150
2150
  $post: {
2151
+ output: {
2152
+ error: string;
2153
+ };
2154
+ outputFormat: "json";
2155
+ status: 400 | 500;
2156
+ input: {
2157
+ json: {
2158
+ root: string;
2159
+ };
2160
+ };
2161
+ } | {
2151
2162
  output: {
2152
2163
  project: {
2153
2164
  id: string;
@@ -2178,10 +2189,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2178
2189
  agent: boolean;
2179
2190
  }[] | undefined;
2180
2191
  };
2181
- error?: string | undefined;
2192
+ error: string;
2182
2193
  };
2183
2194
  outputFormat: "json";
2184
- status: 200;
2195
+ status: 409;
2185
2196
  input: {
2186
2197
  json: {
2187
2198
  root: string;
@@ -2218,31 +2229,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2218
2229
  agent: boolean;
2219
2230
  }[] | undefined;
2220
2231
  };
2221
- error: string;
2232
+ error?: string | undefined;
2222
2233
  };
2223
2234
  outputFormat: "json";
2224
- status: 409;
2235
+ status: 200;
2225
2236
  input: {
2226
2237
  json: {
2227
2238
  root: string;
2228
2239
  };
2229
2240
  };
2230
- } | {
2241
+ };
2242
+ };
2243
+ } & {
2244
+ "/projects/:projectId": {
2245
+ $delete: {
2231
2246
  output: {
2232
2247
  error: string;
2248
+ code?: "no-boot-project" | undefined;
2233
2249
  };
2234
2250
  outputFormat: "json";
2235
- status: 400 | 500;
2251
+ status: 404 | 409;
2236
2252
  input: {
2237
- json: {
2238
- root: string;
2253
+ param: {
2254
+ projectId: string;
2239
2255
  };
2240
2256
  };
2241
- };
2242
- };
2243
- } & {
2244
- "/projects/:projectId": {
2245
- $delete: {
2257
+ } | {
2246
2258
  output: {
2247
2259
  error: string;
2248
2260
  };
@@ -2287,7 +2299,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2287
2299
  projectId: string;
2288
2300
  };
2289
2301
  };
2290
- } | {
2302
+ };
2303
+ };
2304
+ } & {
2305
+ "/projects/:projectId": {
2306
+ $patch: {
2291
2307
  output: {
2292
2308
  error: string;
2293
2309
  code?: "no-boot-project" | undefined;
@@ -2295,15 +2311,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2295
2311
  outputFormat: "json";
2296
2312
  status: 404 | 409;
2297
2313
  input: {
2314
+ json: {
2315
+ maxParallel?: number | null | undefined;
2316
+ tags?: string[] | null | undefined;
2317
+ webhook?: {
2318
+ url: string;
2319
+ token?: string | undefined;
2320
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2321
+ } | null | undefined;
2322
+ };
2323
+ } & {
2298
2324
  param: {
2299
2325
  projectId: string;
2300
2326
  };
2301
2327
  };
2302
- };
2303
- };
2304
- } & {
2305
- "/projects/:projectId": {
2306
- $patch: {
2328
+ } | {
2307
2329
  output: {
2308
2330
  error: string;
2309
2331
  };
@@ -2394,28 +2416,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2394
2416
  projectId: string;
2395
2417
  };
2396
2418
  };
2397
- } | {
2398
- output: {
2399
- error: string;
2400
- code?: "no-boot-project" | undefined;
2401
- };
2402
- outputFormat: "json";
2403
- status: 404 | 409;
2404
- input: {
2405
- json: {
2406
- maxParallel?: number | null | undefined;
2407
- tags?: string[] | null | undefined;
2408
- webhook?: {
2409
- url: string;
2410
- token?: string | undefined;
2411
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2412
- } | null | undefined;
2413
- };
2414
- } & {
2415
- param: {
2416
- projectId: string;
2417
- };
2418
- };
2419
2419
  };
2420
2420
  };
2421
2421
  } & {
@@ -2423,9 +2423,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2423
2423
  $post: {
2424
2424
  output: {
2425
2425
  error: string;
2426
+ code: "no-boot-project";
2426
2427
  };
2427
2428
  outputFormat: "json";
2428
- status: 400;
2429
+ status: 409;
2429
2430
  input: {
2430
2431
  param: {
2431
2432
  projectId: string;
@@ -2445,10 +2446,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2445
2446
  } | {
2446
2447
  output: {
2447
2448
  error: string;
2448
- code: "no-boot-project";
2449
2449
  };
2450
2450
  outputFormat: "json";
2451
- status: 409;
2451
+ status: 400;
2452
2452
  input: {
2453
2453
  param: {
2454
2454
  projectId: string;
@@ -2473,6 +2473,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2473
2473
  } & {
2474
2474
  "/projects/:projectId/webhooks": {
2475
2475
  $post: {
2476
+ output: {
2477
+ error: string;
2478
+ code?: "no-boot-project" | undefined;
2479
+ };
2480
+ outputFormat: "json";
2481
+ status: 400 | 404 | 409 | 500;
2482
+ input: {
2483
+ json: {
2484
+ name: string;
2485
+ description?: string | undefined;
2486
+ url: string;
2487
+ token?: string | undefined;
2488
+ tasks?: boolean | undefined;
2489
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2490
+ agent?: boolean | undefined;
2491
+ };
2492
+ } & {
2493
+ param: {
2494
+ projectId: string;
2495
+ };
2496
+ };
2497
+ } | {
2476
2498
  output: {
2477
2499
  project: {
2478
2500
  id: string;
@@ -2531,28 +2553,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2531
2553
  projectId: string;
2532
2554
  };
2533
2555
  };
2534
- } | {
2535
- output: {
2536
- error: string;
2537
- code?: "no-boot-project" | undefined;
2538
- };
2539
- outputFormat: "json";
2540
- status: 400 | 404 | 409 | 500;
2541
- input: {
2542
- json: {
2543
- name: string;
2544
- description?: string | undefined;
2545
- url: string;
2546
- token?: string | undefined;
2547
- tasks?: boolean | undefined;
2548
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2549
- agent?: boolean | undefined;
2550
- };
2551
- } & {
2552
- param: {
2553
- projectId: string;
2554
- };
2555
- };
2556
2556
  };
2557
2557
  };
2558
2558
  } & {
@@ -2752,10 +2752,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2752
2752
  };
2753
2753
  } | {
2754
2754
  output: {
2755
- error: string;
2755
+ ok: boolean;
2756
+ status?: number | undefined;
2757
+ error?: string | undefined;
2758
+ dryRun?: boolean | undefined;
2756
2759
  };
2757
2760
  outputFormat: "json";
2758
- status: 404;
2761
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2759
2762
  input: {
2760
2763
  param: {
2761
2764
  projectId: string;
@@ -2777,13 +2780,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2777
2780
  };
2778
2781
  } | {
2779
2782
  output: {
2780
- ok: boolean;
2781
- status?: number | undefined;
2782
- error?: string | undefined;
2783
- dryRun?: boolean | undefined;
2783
+ error: string;
2784
2784
  };
2785
2785
  outputFormat: "json";
2786
- status: import("hono/utils/http-status").ContentfulStatusCode;
2786
+ status: 404;
2787
2787
  input: {
2788
2788
  param: {
2789
2789
  projectId: string;
@@ -3024,15 +3024,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3024
3024
  "/runner-install/:runner": {
3025
3025
  $post: {
3026
3026
  output: {
3027
- supported: boolean;
3028
- installedVersion: string | null;
3029
- latestVersion: string | null;
3030
- updateAvailable: boolean;
3031
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
3032
- error: string | null;
3027
+ error: string;
3028
+ code?: "invalid_input" | undefined;
3033
3029
  };
3034
3030
  outputFormat: "json";
3035
- status: 202;
3031
+ status: 400;
3036
3032
  input: {
3037
3033
  param: {
3038
3034
  runner: string;
@@ -3044,11 +3040,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3044
3040
  };
3045
3041
  } | {
3046
3042
  output: {
3047
- error: string;
3048
- code?: "invalid_input" | undefined;
3043
+ supported: boolean;
3044
+ installedVersion: string | null;
3045
+ latestVersion: string | null;
3046
+ updateAvailable: boolean;
3047
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
3048
+ error: string | null;
3049
3049
  };
3050
3050
  outputFormat: "json";
3051
- status: 400;
3051
+ status: 202;
3052
3052
  input: {
3053
3053
  param: {
3054
3054
  runner: string;
@@ -3123,18 +3123,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3123
3123
  "/workspace/identity": {
3124
3124
  $get: {
3125
3125
  output: {
3126
- installId: string;
3127
- version: string;
3126
+ error: string;
3128
3127
  };
3129
3128
  outputFormat: "json";
3130
- status: 200;
3129
+ status: 503;
3131
3130
  input: {};
3132
3131
  } | {
3133
3132
  output: {
3134
- error: string;
3133
+ installId: string;
3134
+ version: string;
3135
3135
  };
3136
3136
  outputFormat: "json";
3137
- status: 503;
3137
+ status: 200;
3138
3138
  input: {};
3139
3139
  };
3140
3140
  };
@@ -3424,6 +3424,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3424
3424
  }, "/"> | import("hono/types").MergeSchemaPath<{
3425
3425
  "/plan": {
3426
3426
  $post: {
3427
+ output: {
3428
+ error: string;
3429
+ };
3430
+ outputFormat: "json";
3431
+ status: 400 | 404 | 409;
3432
+ input: {
3433
+ json: {
3434
+ task: string;
3435
+ agentProfile?: string | undefined;
3436
+ };
3437
+ };
3438
+ } | {
3427
3439
  output: {
3428
3440
  name?: string;
3429
3441
  steps: {
@@ -3460,18 +3472,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3460
3472
  agentProfile?: string | undefined;
3461
3473
  };
3462
3474
  };
3463
- } | {
3464
- output: {
3465
- error: string;
3466
- };
3467
- outputFormat: "json";
3468
- status: 400 | 404 | 409;
3469
- input: {
3470
- json: {
3471
- task: string;
3472
- agentProfile?: string | undefined;
3473
- };
3474
- };
3475
3475
  };
3476
3476
  };
3477
3477
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3521,10 +3521,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3521
3521
  "/ui-state": {
3522
3522
  $put: {
3523
3523
  output: {
3524
- error: string;
3524
+ [x: string]: import("hono/utils/types").JSONValue;
3525
+ sidebarLimits?: {
3526
+ overall?: number | null | undefined;
3527
+ needsYou?: number | null | undefined;
3528
+ finished?: number | null | undefined;
3529
+ working?: number | null | undefined;
3530
+ } | undefined;
3531
+ lastTask?: {
3532
+ source: "skill" | "workflow";
3533
+ ref: string;
3534
+ } | null | undefined;
3535
+ recentSources?: {
3536
+ source: "skill" | "workflow";
3537
+ ref: string;
3538
+ }[] | undefined;
3539
+ lastWorktree?: boolean | undefined;
3540
+ lastAutonomous?: boolean | undefined;
3541
+ skillUsage?: {
3542
+ [x: string]: number;
3543
+ } | undefined;
3544
+ runsView?: "list" | "table" | undefined;
3545
+ githubView?: "issues" | "prs" | undefined;
3546
+ appearance?: {
3547
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3548
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3549
+ width?: "narrow" | "wide" | undefined;
3550
+ } | undefined;
3551
+ promptTemplates?: {
3552
+ id: string;
3553
+ label: string;
3554
+ text: string;
3555
+ skills?: string[] | undefined;
3556
+ }[] | undefined;
3525
3557
  };
3526
3558
  outputFormat: "json";
3527
- status: 500;
3559
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3528
3560
  input: {
3529
3561
  json: {
3530
3562
  [x: string]: unknown;
@@ -3562,42 +3594,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3562
3594
  };
3563
3595
  } | {
3564
3596
  output: {
3565
- [x: string]: import("hono/utils/types").JSONValue;
3566
- sidebarLimits?: {
3567
- overall?: number | null | undefined;
3568
- needsYou?: number | null | undefined;
3569
- finished?: number | null | undefined;
3570
- working?: number | null | undefined;
3571
- } | undefined;
3572
- lastTask?: {
3573
- source: "skill" | "workflow";
3574
- ref: string;
3575
- } | null | undefined;
3576
- recentSources?: {
3577
- source: "skill" | "workflow";
3578
- ref: string;
3579
- }[] | undefined;
3580
- lastWorktree?: boolean | undefined;
3581
- lastAutonomous?: boolean | undefined;
3582
- skillUsage?: {
3583
- [x: string]: number;
3584
- } | undefined;
3585
- runsView?: "list" | "table" | undefined;
3586
- githubView?: "issues" | "prs" | undefined;
3587
- appearance?: {
3588
- accent?: "cezarion" | "lime" | "violet" | undefined;
3589
- density?: "comfortable" | "compact" | "ultra" | undefined;
3590
- width?: "narrow" | "wide" | undefined;
3591
- } | undefined;
3592
- promptTemplates?: {
3593
- id: string;
3594
- label: string;
3595
- text: string;
3596
- skills?: string[] | undefined;
3597
- }[] | undefined;
3597
+ error: string;
3598
3598
  };
3599
3599
  outputFormat: "json";
3600
- status: import("hono/utils/http-status").ContentfulStatusCode;
3600
+ status: 500;
3601
3601
  input: {
3602
3602
  json: {
3603
3603
  [x: string]: unknown;
@@ -3674,10 +3674,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3674
3674
  "/config": {
3675
3675
  $put: {
3676
3676
  output: {
3677
- error: string;
3677
+ archiveOnMerge: boolean | null;
3678
+ effectiveArchiveOnMerge: boolean;
3679
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3680
+ baseBranch: string | null;
3681
+ defaultRunner: string;
3682
+ systemPrompt: string | null;
3683
+ defaultModels: {
3684
+ [x: string]: string | undefined;
3685
+ };
3686
+ modelsLocked: boolean;
3687
+ maxParallel: number;
3688
+ memoryLimitMb: number | null;
3689
+ worktreeRetention: number;
3690
+ liveTitleUpdates: boolean | null;
3691
+ reviewGate: boolean | null;
3692
+ worktreeSetup: {
3693
+ commands: string[];
3694
+ timeoutSeconds: number;
3695
+ } | null;
3696
+ worktreeSetupIssue: string | null;
3697
+ worktreeTeardown: {
3698
+ commands: string[];
3699
+ timeoutSeconds: number;
3700
+ } | null;
3701
+ worktreeTeardownIssue: string | null;
3678
3702
  };
3679
3703
  outputFormat: "json";
3680
- status: 409;
3704
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3681
3705
  input: {
3682
3706
  json: {
3683
3707
  archiveOnMerge?: boolean | null | undefined;
@@ -3705,7 +3729,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3705
3729
  error: string;
3706
3730
  };
3707
3731
  outputFormat: "json";
3708
- status: 500;
3732
+ status: 409;
3709
3733
  input: {
3710
3734
  json: {
3711
3735
  archiveOnMerge?: boolean | null | undefined;
@@ -3730,34 +3754,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3730
3754
  };
3731
3755
  } | {
3732
3756
  output: {
3733
- archiveOnMerge: boolean | null;
3734
- effectiveArchiveOnMerge: boolean;
3735
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3736
- baseBranch: string | null;
3737
- defaultRunner: string;
3738
- systemPrompt: string | null;
3739
- defaultModels: {
3740
- [x: string]: string | undefined;
3741
- };
3742
- modelsLocked: boolean;
3743
- maxParallel: number;
3744
- memoryLimitMb: number | null;
3745
- worktreeRetention: number;
3746
- liveTitleUpdates: boolean | null;
3747
- reviewGate: boolean | null;
3748
- worktreeSetup: {
3749
- commands: string[];
3750
- timeoutSeconds: number;
3751
- } | null;
3752
- worktreeSetupIssue: string | null;
3753
- worktreeTeardown: {
3754
- commands: string[];
3755
- timeoutSeconds: number;
3756
- } | null;
3757
- worktreeTeardownIssue: string | null;
3757
+ error: string;
3758
3758
  };
3759
3759
  outputFormat: "json";
3760
- status: import("hono/utils/http-status").ContentfulStatusCode;
3760
+ status: 500;
3761
3761
  input: {
3762
3762
  json: {
3763
3763
  archiveOnMerge?: boolean | null | undefined;
@@ -3868,12 +3868,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3868
3868
  }, "/"> | import("hono/types").MergeSchemaPath<{
3869
3869
  "/runs/:id/events": {
3870
3870
  $get: {
3871
- output: {
3872
- error: string;
3873
- code?: "invalid_input" | undefined;
3874
- };
3875
- outputFormat: "json";
3876
- status: 400;
3871
+ output: {};
3872
+ outputFormat: string;
3873
+ status: import("hono/utils/http-status").StatusCode;
3877
3874
  input: {
3878
3875
  param: {
3879
3876
  id: string;
@@ -3885,9 +3882,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3885
3882
  };
3886
3883
  };
3887
3884
  } | {
3888
- output: {};
3889
- outputFormat: string;
3890
- status: import("hono/utils/http-status").StatusCode;
3885
+ output: {
3886
+ error: string;
3887
+ code?: "invalid_input" | undefined;
3888
+ };
3889
+ outputFormat: "json";
3890
+ status: 400;
3891
3891
  input: {
3892
3892
  param: {
3893
3893
  id: string;
@@ -3931,7 +3931,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3931
3931
  error: string;
3932
3932
  };
3933
3933
  outputFormat: "json";
3934
- status: 400;
3934
+ status: 409;
3935
3935
  input: {
3936
3936
  json: {
3937
3937
  target: string;
@@ -3942,7 +3942,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3942
3942
  error: string;
3943
3943
  };
3944
3944
  outputFormat: "json";
3945
- status: 409;
3945
+ status: 400;
3946
3946
  input: {
3947
3947
  json: {
3948
3948
  target: string;
@@ -4003,7 +4003,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4003
4003
  error: string;
4004
4004
  };
4005
4005
  outputFormat: "json";
4006
- status: 400;
4006
+ status: 409;
4007
4007
  input: {
4008
4008
  query: {
4009
4009
  q?: string | undefined;
@@ -4016,7 +4016,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4016
4016
  error: string;
4017
4017
  };
4018
4018
  outputFormat: "json";
4019
- status: 409;
4019
+ status: 400;
4020
4020
  input: {
4021
4021
  query: {
4022
4022
  q?: string | undefined;
@@ -4138,10 +4138,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4138
4138
  "/agent-config/:id": {
4139
4139
  $put: {
4140
4140
  output: {
4141
- error: string;
4141
+ id: string;
4142
+ path: string;
4143
+ exists: boolean;
4144
+ content: string;
4145
+ version: string | null;
4142
4146
  };
4143
4147
  outputFormat: "json";
4144
- status: 404;
4148
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4145
4149
  input: {
4146
4150
  json: {
4147
4151
  content: string;
@@ -4154,14 +4158,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4154
4158
  };
4155
4159
  } | {
4156
4160
  output: {
4157
- id: string;
4158
- path: string;
4159
- exists: boolean;
4160
- content: string;
4161
- version: string | null;
4161
+ error: string;
4162
4162
  };
4163
4163
  outputFormat: "json";
4164
- status: import("hono/utils/http-status").ContentfulStatusCode;
4164
+ status: 404;
4165
4165
  input: {
4166
4166
  json: {
4167
4167
  content: string;
@@ -4261,11 +4261,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4261
4261
  };
4262
4262
  } | {
4263
4263
  output: {
4264
- runId: string;
4265
- worktreeReclaimedAt: string;
4264
+ error: string;
4266
4265
  };
4267
4266
  outputFormat: "json";
4268
- status: import("hono/utils/http-status").ContentfulStatusCode;
4267
+ status: 404 | 409;
4269
4268
  input: {
4270
4269
  param: {
4271
4270
  runId: string;
@@ -4277,10 +4276,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4277
4276
  };
4278
4277
  } | {
4279
4278
  output: {
4280
- error: string;
4279
+ runId: string;
4280
+ worktreeReclaimedAt: string;
4281
4281
  };
4282
4282
  outputFormat: "json";
4283
- status: 404 | 409;
4283
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4284
4284
  input: {
4285
4285
  param: {
4286
4286
  runId: string;
@@ -4440,11 +4440,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4440
4440
  "/workflows": {
4441
4441
  $post: {
4442
4442
  output: {
4443
- path: string;
4444
- name: string;
4443
+ error: string;
4445
4444
  };
4446
4445
  outputFormat: "json";
4447
- status: 201;
4446
+ status: 400;
4448
4447
  input: {
4449
4448
  json: {
4450
4449
  name: string;
@@ -4477,9 +4476,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4477
4476
  } | {
4478
4477
  output: {
4479
4478
  error: string;
4479
+ exists: true;
4480
4480
  };
4481
4481
  outputFormat: "json";
4482
- status: 400;
4482
+ status: 409;
4483
4483
  input: {
4484
4484
  json: {
4485
4485
  name: string;
@@ -4512,10 +4512,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4512
4512
  } | {
4513
4513
  output: {
4514
4514
  error: string;
4515
- exists: true;
4516
4515
  };
4517
4516
  outputFormat: "json";
4518
- status: 409;
4517
+ status: 500;
4519
4518
  input: {
4520
4519
  json: {
4521
4520
  name: string;
@@ -4547,10 +4546,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4547
4546
  };
4548
4547
  } | {
4549
4548
  output: {
4550
- error: string;
4549
+ path: string;
4550
+ name: string;
4551
4551
  };
4552
4552
  outputFormat: "json";
4553
- status: 500;
4553
+ status: 201;
4554
4554
  input: {
4555
4555
  json: {
4556
4556
  name: string;
@@ -4586,11 +4586,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4586
4586
  "/workflows/:name": {
4587
4587
  $delete: {
4588
4588
  output: {
4589
- ok: true;
4590
- path: string;
4589
+ error: string;
4591
4590
  };
4592
4591
  outputFormat: "json";
4593
- status: import("hono/utils/http-status").ContentfulStatusCode;
4592
+ status: 400 | 404 | 409 | 500;
4594
4593
  input: {
4595
4594
  param: {
4596
4595
  name: string;
@@ -4598,10 +4597,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4598
4597
  };
4599
4598
  } | {
4600
4599
  output: {
4601
- error: string;
4600
+ ok: true;
4601
+ path: string;
4602
4602
  };
4603
4603
  outputFormat: "json";
4604
- status: 400 | 404 | 409 | 500;
4604
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4605
4605
  input: {
4606
4606
  param: {
4607
4607
  name: string;
@@ -5542,18 +5542,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5542
5542
  "/repo/branches/delete": {
5543
5543
  $post: {
5544
5544
  output: {
5545
- deleted: string[];
5545
+ error: string;
5546
5546
  refused: {
5547
5547
  name: string;
5548
5548
  reason: string;
5549
5549
  }[];
5550
- dropped?: {
5551
- sha: string;
5552
- subject: string;
5553
- }[] | undefined;
5554
5550
  };
5555
5551
  outputFormat: "json";
5556
- status: 200;
5552
+ status: 409;
5557
5553
  input: {
5558
5554
  json: {
5559
5555
  names: string[];
@@ -5562,14 +5558,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5562
5558
  };
5563
5559
  } | {
5564
5560
  output: {
5565
- error: string;
5561
+ deleted: string[];
5566
5562
  refused: {
5567
5563
  name: string;
5568
5564
  reason: string;
5569
5565
  }[];
5566
+ dropped?: {
5567
+ sha: string;
5568
+ subject: string;
5569
+ }[] | undefined;
5570
5570
  };
5571
5571
  outputFormat: "json";
5572
- status: 409;
5572
+ status: 200;
5573
5573
  input: {
5574
5574
  json: {
5575
5575
  names: string[];
@@ -5590,12 +5590,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5590
5590
  } & {
5591
5591
  "/repo/commit/:sha": {
5592
5592
  $get: {
5593
- output: {
5594
- error: string;
5595
- code?: "invalid_input" | undefined;
5596
- };
5597
- outputFormat: "json";
5598
- status: 400;
5593
+ output: string;
5594
+ outputFormat: "text";
5595
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5599
5596
  input: {
5600
5597
  query: {
5601
5598
  structured?: string | undefined;
@@ -5608,9 +5605,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5608
5605
  } | {
5609
5606
  output: {
5610
5607
  error: string;
5608
+ code?: "invalid_input" | undefined;
5611
5609
  };
5612
5610
  outputFormat: "json";
5613
- status: 409;
5611
+ status: 400;
5614
5612
  input: {
5615
5613
  query: {
5616
5614
  structured?: string | undefined;
@@ -5654,9 +5652,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5654
5652
  };
5655
5653
  };
5656
5654
  } | {
5657
- output: string;
5658
- outputFormat: "text";
5659
- status: import("hono/utils/http-status").ContentfulStatusCode;
5655
+ output: {
5656
+ error: string;
5657
+ };
5658
+ outputFormat: "json";
5659
+ status: 409;
5660
5660
  input: {
5661
5661
  query: {
5662
5662
  structured?: string | undefined;
@@ -5688,10 +5688,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5688
5688
  };
5689
5689
  } | {
5690
5690
  output: {
5691
- error: string;
5691
+ type: 'file';
5692
+ path: string;
5693
+ size: number;
5694
+ binary: boolean;
5695
+ tooLarge: boolean;
5696
+ content?: string | undefined;
5692
5697
  };
5693
5698
  outputFormat: "json";
5694
- status: 409;
5699
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5695
5700
  input: {
5696
5701
  param: {
5697
5702
  sha: string;
@@ -5703,15 +5708,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5703
5708
  };
5704
5709
  } | {
5705
5710
  output: {
5706
- type: 'file';
5707
- path: string;
5708
- size: number;
5709
- binary: boolean;
5710
- tooLarge: boolean;
5711
- content?: string | undefined;
5711
+ error: string;
5712
5712
  };
5713
5713
  outputFormat: "json";
5714
- status: import("hono/utils/http-status").ContentfulStatusCode;
5714
+ status: 409;
5715
5715
  input: {
5716
5716
  param: {
5717
5717
  sha: string;
@@ -5739,10 +5739,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5739
5739
  };
5740
5740
  } | {
5741
5741
  output: {
5742
- error: string;
5742
+ type: 'file';
5743
+ path: string;
5744
+ size: number;
5745
+ binary: boolean;
5746
+ tooLarge: boolean;
5747
+ content?: string | undefined;
5743
5748
  };
5744
5749
  outputFormat: "json";
5745
- status: 409;
5750
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5746
5751
  input: {
5747
5752
  query: {
5748
5753
  path: string | string[];
@@ -5750,15 +5755,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5750
5755
  };
5751
5756
  } | {
5752
5757
  output: {
5753
- type: 'file';
5754
- path: string;
5755
- size: number;
5756
- binary: boolean;
5757
- tooLarge: boolean;
5758
- content?: string | undefined;
5758
+ error: string;
5759
5759
  };
5760
5760
  outputFormat: "json";
5761
- status: import("hono/utils/http-status").ContentfulStatusCode;
5761
+ status: 409;
5762
5762
  input: {
5763
5763
  query: {
5764
5764
  path: string | string[];
@@ -5769,13 +5769,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5769
5769
  } & {
5770
5770
  "/repo/changes": {
5771
5771
  $get: {
5772
- output: {
5773
- error: string;
5774
- };
5775
- outputFormat: "json";
5776
- status: 409;
5777
- input: {};
5778
- } | {
5779
5772
  output: {
5780
5773
  files: {
5781
5774
  path: string;
@@ -5800,6 +5793,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5800
5793
  outputFormat: "json";
5801
5794
  status: import("hono/utils/http-status").ContentfulStatusCode;
5802
5795
  input: {};
5796
+ } | {
5797
+ output: {
5798
+ error: string;
5799
+ };
5800
+ outputFormat: "json";
5801
+ status: 409;
5802
+ input: {};
5803
5803
  };
5804
5804
  };
5805
5805
  } & {
@@ -5824,12 +5824,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5824
5824
  "/repo/pull": {
5825
5825
  $post: {
5826
5826
  output: {
5827
- branch: string;
5828
- pulled: true;
5829
- summary: string;
5827
+ error: string;
5830
5828
  };
5831
5829
  outputFormat: "json";
5832
- status: 200;
5830
+ status: 409;
5833
5831
  input: {
5834
5832
  json: {
5835
5833
  branch?: string | undefined;
@@ -5838,10 +5836,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5838
5836
  };
5839
5837
  } | {
5840
5838
  output: {
5841
- error: string;
5839
+ branch: string;
5840
+ pulled: true;
5841
+ summary: string;
5842
5842
  };
5843
5843
  outputFormat: "json";
5844
- status: 409;
5844
+ status: 200;
5845
5845
  input: {
5846
5846
  json: {
5847
5847
  branch?: string | undefined;
@@ -7066,18 +7066,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7066
7066
  } & {
7067
7067
  "/run-summaries": {
7068
7068
  $get: {
7069
- output: {
7070
- error: string;
7071
- code?: "invalid_input" | undefined;
7072
- };
7073
- outputFormat: "json";
7074
- status: 400;
7075
- input: {
7076
- query: {
7077
- archived?: "all" | "recent" | undefined;
7078
- };
7079
- };
7080
- } | {
7081
7069
  output: {
7082
7070
  id: string;
7083
7071
  title: string;
@@ -7215,6 +7203,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7215
7203
  archived?: "all" | "recent" | undefined;
7216
7204
  };
7217
7205
  };
7206
+ } | {
7207
+ output: {
7208
+ error: string;
7209
+ code?: "invalid_input" | undefined;
7210
+ };
7211
+ outputFormat: "json";
7212
+ status: 400;
7213
+ input: {
7214
+ query: {
7215
+ archived?: "all" | "recent" | undefined;
7216
+ };
7217
+ };
7218
7218
  };
7219
7219
  };
7220
7220
  } & {
@@ -7576,24 +7576,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7576
7576
  "/runs/:id/worker-destroy": {
7577
7577
  $post: {
7578
7578
  output: {
7579
- workerId: string;
7580
- state: "complete" | "incomplete";
7581
- work?: {
7582
- uncommittedFiles: number;
7583
- commits: number;
7584
- } | undefined;
7585
- deleted?: ({
7586
- kind: "worktree";
7587
- path: string;
7588
- } | {
7589
- kind: "branch";
7590
- ref: string;
7591
- })[] | undefined;
7592
- remaining: ("branch" | "process" | "worktree")[];
7593
- error?: string | undefined;
7579
+ error: string;
7580
+ code?: "invalid_input" | undefined;
7594
7581
  };
7595
7582
  outputFormat: "json";
7596
- status: 200;
7583
+ status: 400;
7597
7584
  input: {
7598
7585
  query: {
7599
7586
  [x: string]: string | string[];
@@ -7609,11 +7596,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7609
7596
  };
7610
7597
  } | {
7611
7598
  output: {
7612
- error: string;
7613
- code?: "invalid_input" | undefined;
7599
+ workerId: string;
7600
+ state: "complete" | "incomplete";
7601
+ work?: {
7602
+ uncommittedFiles: number;
7603
+ commits: number;
7604
+ } | undefined;
7605
+ deleted?: ({
7606
+ kind: "worktree";
7607
+ path: string;
7608
+ } | {
7609
+ kind: "branch";
7610
+ ref: string;
7611
+ })[] | undefined;
7612
+ remaining: ("branch" | "process" | "worktree")[];
7613
+ error?: string | undefined;
7614
7614
  };
7615
7615
  outputFormat: "json";
7616
- status: 400;
7616
+ status: 200;
7617
7617
  input: {
7618
7618
  query: {
7619
7619
  [x: string]: string | string[];
@@ -7729,21 +7729,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7729
7729
  } & {
7730
7730
  "/runs/:id/archive": {
7731
7731
  $post: {
7732
- output: {
7733
- error: string;
7734
- };
7735
- outputFormat: "json";
7736
- status: 404;
7737
- input: {
7738
- json: {
7739
- archived?: boolean | undefined;
7740
- };
7741
- } & {
7742
- param: {
7743
- id: string;
7744
- };
7745
- };
7746
- } | {
7747
7732
  output: {
7748
7733
  archiveWhenDone?: boolean | undefined;
7749
7734
  autoMergePr?: boolean | undefined;
@@ -8923,32 +8908,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8923
8908
  id: string;
8924
8909
  };
8925
8910
  };
8926
- };
8927
- };
8928
- } & {
8929
- "/runs/:id/pin": {
8930
- $post: {
8911
+ } | {
8931
8912
  output: {
8932
8913
  error: string;
8933
- code?: "invalid_input" | undefined;
8934
8914
  };
8935
8915
  outputFormat: "json";
8936
- status: 400;
8916
+ status: 404;
8937
8917
  input: {
8938
- param: {
8939
- id: string;
8918
+ json: {
8919
+ archived?: boolean | undefined;
8940
8920
  };
8941
8921
  } & {
8942
- json: {
8943
- pinned?: boolean | undefined;
8922
+ param: {
8923
+ id: string;
8944
8924
  };
8945
8925
  };
8946
- } | {
8926
+ };
8927
+ };
8928
+ } & {
8929
+ "/runs/:id/pin": {
8930
+ $post: {
8947
8931
  output: {
8948
8932
  error: string;
8933
+ code?: "invalid_input" | undefined;
8949
8934
  };
8950
8935
  outputFormat: "json";
8951
- status: 404;
8936
+ status: 400;
8952
8937
  input: {
8953
8938
  param: {
8954
8939
  id: string;
@@ -10138,6 +10123,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10138
10123
  pinned?: boolean | undefined;
10139
10124
  };
10140
10125
  };
10126
+ } | {
10127
+ output: {
10128
+ error: string;
10129
+ };
10130
+ outputFormat: "json";
10131
+ status: 404;
10132
+ input: {
10133
+ param: {
10134
+ id: string;
10135
+ };
10136
+ } & {
10137
+ json: {
10138
+ pinned?: boolean | undefined;
10139
+ };
10140
+ };
10141
10141
  };
10142
10142
  };
10143
10143
  } & {
@@ -10164,7 +10164,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10164
10164
  error: string;
10165
10165
  };
10166
10166
  outputFormat: "json";
10167
- status: 400;
10167
+ status: 404;
10168
10168
  input: {
10169
10169
  param: {
10170
10170
  id: string;
@@ -10180,7 +10180,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10180
10180
  error: string;
10181
10181
  };
10182
10182
  outputFormat: "json";
10183
- status: 404;
10183
+ status: 400;
10184
10184
  input: {
10185
10185
  param: {
10186
10186
  id: string;
@@ -11403,17 +11403,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11403
11403
  } & {
11404
11404
  "/runs/:id/read": {
11405
11405
  $post: {
11406
- output: {
11407
- error: string;
11408
- };
11409
- outputFormat: "json";
11410
- status: 404;
11411
- input: {
11412
- param: {
11413
- id: string;
11414
- };
11415
- };
11416
- } | {
11417
11406
  output: {
11418
11407
  archiveWhenDone?: boolean | undefined;
11419
11408
  autoMergePr?: boolean | undefined;
@@ -12589,11 +12578,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12589
12578
  id: string;
12590
12579
  };
12591
12580
  };
12592
- };
12593
- };
12594
- } & {
12595
- "/runs/:id/unread": {
12596
- $post: {
12581
+ } | {
12597
12582
  output: {
12598
12583
  error: string;
12599
12584
  };
@@ -12604,7 +12589,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12604
12589
  id: string;
12605
12590
  };
12606
12591
  };
12607
- } | {
12592
+ };
12593
+ };
12594
+ } & {
12595
+ "/runs/:id/unread": {
12596
+ $post: {
12608
12597
  output: {
12609
12598
  archiveWhenDone?: boolean | undefined;
12610
12599
  autoMergePr?: boolean | undefined;
@@ -13780,6 +13769,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13780
13769
  id: string;
13781
13770
  };
13782
13771
  };
13772
+ } | {
13773
+ output: {
13774
+ error: string;
13775
+ };
13776
+ outputFormat: "json";
13777
+ status: 404;
13778
+ input: {
13779
+ param: {
13780
+ id: string;
13781
+ };
13782
+ };
13783
13783
  };
13784
13784
  };
13785
13785
  } & {
@@ -15056,17 +15056,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15056
15056
  } & {
15057
15057
  "/runs/:id": {
15058
15058
  $get: {
15059
- output: {
15060
- error: string;
15061
- };
15062
- outputFormat: "json";
15063
- status: 404;
15064
- input: {
15065
- param: {
15066
- id: string;
15067
- };
15068
- };
15069
- } | {
15070
15059
  output: {
15071
15060
  archiveWhenDone?: boolean | undefined;
15072
15061
  autoMergePr?: boolean | undefined;
@@ -16250,6 +16239,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16250
16239
  id: string;
16251
16240
  };
16252
16241
  };
16242
+ } | {
16243
+ output: {
16244
+ error: string;
16245
+ };
16246
+ outputFormat: "json";
16247
+ status: 404;
16248
+ input: {
16249
+ param: {
16250
+ id: string;
16251
+ };
16252
+ };
16253
16253
  };
16254
16254
  };
16255
16255
  } & {
@@ -16377,66 +16377,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16377
16377
  } & {
16378
16378
  "/runs/:id": {
16379
16379
  $patch: {
16380
- output: {
16381
- error: string;
16382
- };
16383
- outputFormat: "json";
16384
- status: 400;
16385
- input: {
16386
- json: {
16387
- archiveWhenDone?: boolean | undefined;
16388
- autoMergePr?: boolean | undefined;
16389
- allowWorkers?: boolean | undefined;
16390
- allowMessaging?: boolean | undefined;
16391
- title?: string | undefined;
16392
- task?: string | undefined;
16393
- };
16394
- } & {
16395
- param: {
16396
- id: string;
16397
- };
16398
- };
16399
- } | {
16400
- output: {
16401
- error: string;
16402
- };
16403
- outputFormat: "json";
16404
- status: 404;
16405
- input: {
16406
- json: {
16407
- archiveWhenDone?: boolean | undefined;
16408
- autoMergePr?: boolean | undefined;
16409
- allowWorkers?: boolean | undefined;
16410
- allowMessaging?: boolean | undefined;
16411
- title?: string | undefined;
16412
- task?: string | undefined;
16413
- };
16414
- } & {
16415
- param: {
16416
- id: string;
16417
- };
16418
- };
16419
- } | {
16420
- output: {
16421
- error: string;
16422
- };
16423
- outputFormat: "json";
16424
- status: 409;
16425
- input: {
16426
- json: {
16427
- archiveWhenDone?: boolean | undefined;
16428
- autoMergePr?: boolean | undefined;
16429
- allowWorkers?: boolean | undefined;
16430
- allowMessaging?: boolean | undefined;
16431
- title?: string | undefined;
16432
- task?: string | undefined;
16433
- };
16434
- } & {
16435
- param: {
16436
- id: string;
16437
- };
16438
- };
16439
- } | {
16440
16380
  output: {
16441
16381
  archiveWhenDone?: boolean | undefined;
16442
16382
  autoMergePr?: boolean | undefined;
@@ -17621,6 +17561,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17621
17561
  id: string;
17622
17562
  };
17623
17563
  };
17564
+ } | {
17565
+ output: {
17566
+ error: string;
17567
+ };
17568
+ outputFormat: "json";
17569
+ status: 404;
17570
+ input: {
17571
+ json: {
17572
+ archiveWhenDone?: boolean | undefined;
17573
+ autoMergePr?: boolean | undefined;
17574
+ allowWorkers?: boolean | undefined;
17575
+ allowMessaging?: boolean | undefined;
17576
+ title?: string | undefined;
17577
+ task?: string | undefined;
17578
+ };
17579
+ } & {
17580
+ param: {
17581
+ id: string;
17582
+ };
17583
+ };
17584
+ } | {
17585
+ output: {
17586
+ error: string;
17587
+ };
17588
+ outputFormat: "json";
17589
+ status: 400;
17590
+ input: {
17591
+ json: {
17592
+ archiveWhenDone?: boolean | undefined;
17593
+ autoMergePr?: boolean | undefined;
17594
+ allowWorkers?: boolean | undefined;
17595
+ allowMessaging?: boolean | undefined;
17596
+ title?: string | undefined;
17597
+ task?: string | undefined;
17598
+ };
17599
+ } & {
17600
+ param: {
17601
+ id: string;
17602
+ };
17603
+ };
17604
+ } | {
17605
+ output: {
17606
+ error: string;
17607
+ };
17608
+ outputFormat: "json";
17609
+ status: 409;
17610
+ input: {
17611
+ json: {
17612
+ archiveWhenDone?: boolean | undefined;
17613
+ autoMergePr?: boolean | undefined;
17614
+ allowWorkers?: boolean | undefined;
17615
+ allowMessaging?: boolean | undefined;
17616
+ title?: string | undefined;
17617
+ task?: string | undefined;
17618
+ };
17619
+ } & {
17620
+ param: {
17621
+ id: string;
17622
+ };
17623
+ };
17624
17624
  };
17625
17625
  };
17626
17626
  } & {
@@ -17725,7 +17725,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17725
17725
  error: string;
17726
17726
  };
17727
17727
  outputFormat: "json";
17728
- status: 400;
17728
+ status: 404;
17729
17729
  input: {
17730
17730
  json: {
17731
17731
  text?: string | undefined;
@@ -17744,7 +17744,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17744
17744
  error: string;
17745
17745
  };
17746
17746
  outputFormat: "json";
17747
- status: 404;
17747
+ status: 409;
17748
17748
  input: {
17749
17749
  json: {
17750
17750
  text?: string | undefined;
@@ -17760,10 +17760,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17760
17760
  };
17761
17761
  } | {
17762
17762
  output: {
17763
- error: string;
17763
+ delivered: true;
17764
17764
  };
17765
17765
  outputFormat: "json";
17766
- status: 409;
17766
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17767
17767
  input: {
17768
17768
  json: {
17769
17769
  text?: string | undefined;
@@ -17779,10 +17779,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17779
17779
  };
17780
17780
  } | {
17781
17781
  output: {
17782
- delivered: true;
17782
+ error: string;
17783
17783
  };
17784
17784
  outputFormat: "json";
17785
- status: import("hono/utils/http-status").ContentfulStatusCode;
17785
+ status: 400;
17786
17786
  input: {
17787
17787
  json: {
17788
17788
  text?: string | undefined;
@@ -17850,7 +17850,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17850
17850
  error: string;
17851
17851
  };
17852
17852
  outputFormat: "json";
17853
- status: 400;
17853
+ status: 404;
17854
17854
  input: {
17855
17855
  json: {
17856
17856
  text?: string | undefined;
@@ -17871,7 +17871,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17871
17871
  error: string;
17872
17872
  };
17873
17873
  outputFormat: "json";
17874
- status: 404;
17874
+ status: 400;
17875
17875
  input: {
17876
17876
  json: {
17877
17877
  text?: string | undefined;
@@ -18091,11 +18091,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18091
18091
  "/runs/:id/open-in-cli": {
18092
18092
  $post: {
18093
18093
  output: {
18094
- opened: true;
18095
- command: string;
18094
+ error: string;
18096
18095
  };
18097
18096
  outputFormat: "json";
18098
- status: import("hono/utils/http-status").ContentfulStatusCode;
18097
+ status: 404 | 409;
18099
18098
  input: {
18100
18099
  param: {
18101
18100
  id: string;
@@ -18103,10 +18102,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18103
18102
  };
18104
18103
  } | {
18105
18104
  output: {
18106
- error: string;
18105
+ opened: true;
18106
+ command: string;
18107
18107
  };
18108
18108
  outputFormat: "json";
18109
- status: 404 | 409;
18109
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18110
18110
  input: {
18111
18111
  param: {
18112
18112
  id: string;
@@ -18194,12 +18194,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18194
18194
  } & {
18195
18195
  "/runs/:id/images/:file": {
18196
18196
  $get: {
18197
- output: {
18198
- error: string;
18199
- code?: "invalid_input" | undefined;
18200
- };
18201
- outputFormat: "json";
18202
- status: 400;
18197
+ output: {};
18198
+ outputFormat: string;
18199
+ status: import("hono/utils/http-status").StatusCode;
18203
18200
  input: {
18204
18201
  param: {
18205
18202
  id: string;
@@ -18207,9 +18204,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18207
18204
  };
18208
18205
  };
18209
18206
  } | {
18210
- output: {};
18211
- outputFormat: string;
18212
- status: import("hono/utils/http-status").StatusCode;
18207
+ output: {
18208
+ error: string;
18209
+ code?: "invalid_input" | undefined;
18210
+ };
18211
+ outputFormat: "json";
18212
+ status: 400;
18213
18213
  input: {
18214
18214
  param: {
18215
18215
  id: string;
@@ -18245,6 +18245,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18245
18245
  } & {
18246
18246
  "/runs/:id/changes": {
18247
18247
  $get: {
18248
+ output: {
18249
+ error: string;
18250
+ };
18251
+ outputFormat: "json";
18252
+ status: 404 | 409;
18253
+ input: {
18254
+ param: {
18255
+ id: string;
18256
+ };
18257
+ };
18258
+ } | {
18248
18259
  output: {
18249
18260
  files: {
18250
18261
  path: string;
@@ -18273,7 +18284,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18273
18284
  id: string;
18274
18285
  };
18275
18286
  };
18276
- } | {
18287
+ };
18288
+ };
18289
+ } & {
18290
+ "/runs/:id/commits": {
18291
+ $get: {
18277
18292
  output: {
18278
18293
  error: string;
18279
18294
  };
@@ -18284,11 +18299,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18284
18299
  id: string;
18285
18300
  };
18286
18301
  };
18287
- };
18288
- };
18289
- } & {
18290
- "/runs/:id/commits": {
18291
- $get: {
18302
+ } | {
18292
18303
  output: {
18293
18304
  commits: {
18294
18305
  sha: string;
@@ -18304,7 +18315,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18304
18315
  id: string;
18305
18316
  };
18306
18317
  };
18307
- } | {
18318
+ };
18319
+ };
18320
+ } & {
18321
+ "/runs/:id/commit/:sha": {
18322
+ $get: {
18308
18323
  output: {
18309
18324
  error: string;
18310
18325
  };
@@ -18313,13 +18328,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18313
18328
  input: {
18314
18329
  param: {
18315
18330
  id: string;
18331
+ } & {
18332
+ sha: string;
18316
18333
  };
18317
18334
  };
18318
- };
18319
- };
18320
- } & {
18321
- "/runs/:id/commit/:sha": {
18322
- $get: {
18335
+ } | {
18323
18336
  output: {
18324
18337
  sha: string;
18325
18338
  subject: string;
@@ -18350,30 +18363,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18350
18363
  sha: string;
18351
18364
  };
18352
18365
  };
18353
- } | {
18366
+ };
18367
+ };
18368
+ } & {
18369
+ "/runs/:id/commit/:sha/file": {
18370
+ $get: {
18354
18371
  output: {
18355
18372
  error: string;
18373
+ code?: "invalid_input" | undefined;
18356
18374
  };
18357
18375
  outputFormat: "json";
18358
- status: 404 | 409;
18376
+ status: 400;
18359
18377
  input: {
18360
18378
  param: {
18361
- id: string;
18362
- } & {
18363
18379
  sha: string;
18380
+ id: string;
18381
+ };
18382
+ } & {
18383
+ query: {
18384
+ path: string | string[];
18364
18385
  };
18365
18386
  };
18366
- };
18367
- };
18368
- } & {
18369
- "/runs/:id/commit/:sha/file": {
18370
- $get: {
18387
+ } | {
18371
18388
  output: {
18372
18389
  error: string;
18373
- code?: "invalid_input" | undefined;
18374
18390
  };
18375
18391
  outputFormat: "json";
18376
- status: 400;
18392
+ status: 404 | 409;
18377
18393
  input: {
18378
18394
  param: {
18379
18395
  sha: string;
@@ -18405,22 +18421,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18405
18421
  path: string | string[];
18406
18422
  };
18407
18423
  };
18408
- } | {
18409
- output: {
18410
- error: string;
18411
- };
18412
- outputFormat: "json";
18413
- status: 404 | 409;
18414
- input: {
18415
- param: {
18416
- sha: string;
18417
- id: string;
18418
- };
18419
- } & {
18420
- query: {
18421
- path: string | string[];
18422
- };
18423
- };
18424
18424
  };
18425
18425
  };
18426
18426
  } & {
@@ -18456,6 +18456,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18456
18456
  raw?: "1" | undefined;
18457
18457
  };
18458
18458
  };
18459
+ } | {
18460
+ output: {
18461
+ error: string;
18462
+ };
18463
+ outputFormat: "json";
18464
+ status: 404 | 409;
18465
+ input: {
18466
+ param: {
18467
+ id: string;
18468
+ };
18469
+ } & {
18470
+ query: {
18471
+ path: string | string[];
18472
+ raw?: "1" | undefined;
18473
+ };
18474
+ };
18459
18475
  } | {
18460
18476
  output: {
18461
18477
  type: "file";
@@ -18492,22 +18508,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18492
18508
  raw?: "1" | undefined;
18493
18509
  };
18494
18510
  };
18495
- } | {
18496
- output: {
18497
- error: string;
18498
- };
18499
- outputFormat: "json";
18500
- status: 404 | 409;
18501
- input: {
18502
- param: {
18503
- id: string;
18504
- };
18505
- } & {
18506
- query: {
18507
- path: string | string[];
18508
- raw?: "1" | undefined;
18509
- };
18510
- };
18511
18511
  };
18512
18512
  };
18513
18513
  } & {
@@ -18572,18 +18572,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18572
18572
  artifactId: string;
18573
18573
  };
18574
18574
  };
18575
- } | {
18576
- output: {
18577
- error: string;
18578
- };
18579
- outputFormat: "json";
18580
- status: 404;
18581
- input: {
18582
- param: {
18583
- id: string;
18584
- artifactId: string;
18585
- };
18586
- };
18587
18575
  } | {
18588
18576
  output: {
18589
18577
  type: "file";
@@ -18612,6 +18600,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18612
18600
  artifactId: string;
18613
18601
  };
18614
18602
  };
18603
+ } | {
18604
+ output: {
18605
+ error: string;
18606
+ };
18607
+ outputFormat: "json";
18608
+ status: 404;
18609
+ input: {
18610
+ param: {
18611
+ id: string;
18612
+ artifactId: string;
18613
+ };
18614
+ };
18615
18615
  };
18616
18616
  };
18617
18617
  } & {
@@ -18789,15 +18789,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18789
18789
  };
18790
18790
  } | {
18791
18791
  output: {
18792
- type: 'file';
18793
- path: string;
18794
- size: number;
18795
- binary: boolean;
18796
- tooLarge: boolean;
18797
- content?: string | undefined;
18792
+ error: string;
18798
18793
  };
18799
18794
  outputFormat: "json";
18800
- status: import("hono/utils/http-status").ContentfulStatusCode;
18795
+ status: 404 | 409;
18801
18796
  input: {
18802
18797
  query: {
18803
18798
  path?: string | undefined;
@@ -18810,14 +18805,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18810
18805
  };
18811
18806
  } | {
18812
18807
  output: {
18813
- type: 'dir';
18808
+ type: 'file';
18814
18809
  path: string;
18815
- entries: {
18816
- name: string;
18817
- type: 'dir' | 'file';
18818
- size?: number;
18819
- chain?: string;
18820
- }[];
18810
+ size: number;
18811
+ binary: boolean;
18812
+ tooLarge: boolean;
18813
+ content?: string | undefined;
18821
18814
  };
18822
18815
  outputFormat: "json";
18823
18816
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18833,10 +18826,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18833
18826
  };
18834
18827
  } | {
18835
18828
  output: {
18836
- error: string;
18829
+ type: 'dir';
18830
+ path: string;
18831
+ entries: {
18832
+ name: string;
18833
+ type: 'dir' | 'file';
18834
+ size?: number;
18835
+ chain?: string;
18836
+ }[];
18837
18837
  };
18838
18838
  outputFormat: "json";
18839
- status: 404 | 409;
18839
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18840
18840
  input: {
18841
18841
  query: {
18842
18842
  path?: string | undefined;
@@ -18853,11 +18853,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18853
18853
  "/runs/:id/git/commit": {
18854
18854
  $post: {
18855
18855
  output: {
18856
- committed: true;
18857
- sha: string;
18856
+ error: string;
18858
18857
  };
18859
18858
  outputFormat: "json";
18860
- status: import("hono/utils/http-status").ContentfulStatusCode;
18859
+ status: 404 | 409;
18861
18860
  input: {
18862
18861
  json: {
18863
18862
  message: string;
@@ -18869,10 +18868,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18869
18868
  };
18870
18869
  } | {
18871
18870
  output: {
18872
- error: string;
18871
+ committed: true;
18872
+ sha: string;
18873
18873
  };
18874
18874
  outputFormat: "json";
18875
- status: 404 | 409;
18875
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18876
18876
  input: {
18877
18877
  json: {
18878
18878
  message: string;
@@ -18888,13 +18888,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18888
18888
  "/runs/:id/git/push": {
18889
18889
  $post: {
18890
18890
  output: {
18891
- pushed: true;
18892
- branch: string;
18893
- remote: string;
18894
- upstreamSet: boolean;
18891
+ error: string;
18895
18892
  };
18896
18893
  outputFormat: "json";
18897
- status: import("hono/utils/http-status").ContentfulStatusCode;
18894
+ status: 404 | 409;
18898
18895
  input: {
18899
18896
  param: {
18900
18897
  id: string;
@@ -18902,10 +18899,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18902
18899
  };
18903
18900
  } | {
18904
18901
  output: {
18905
- error: string;
18902
+ pushed: true;
18903
+ branch: string;
18904
+ remote: string;
18905
+ upstreamSet: boolean;
18906
18906
  };
18907
18907
  outputFormat: "json";
18908
- status: 404 | 409;
18908
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18909
18909
  input: {
18910
18910
  param: {
18911
18911
  id: string;
@@ -18917,11 +18917,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18917
18917
  "/runs/:id/pr": {
18918
18918
  $post: {
18919
18919
  output: {
18920
- url: string;
18921
- dryRun: boolean;
18920
+ error: string;
18922
18921
  };
18923
18922
  outputFormat: "json";
18924
- status: 201;
18923
+ status: 404 | 409;
18925
18924
  input: {
18926
18925
  param: {
18927
18926
  id: string;
@@ -18929,10 +18928,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18929
18928
  };
18930
18929
  } | {
18931
18930
  output: {
18932
- error: string;
18931
+ url: string;
18932
+ dryRun: boolean;
18933
18933
  };
18934
18934
  outputFormat: "json";
18935
- status: 404 | 409;
18935
+ status: 201;
18936
18936
  input: {
18937
18937
  param: {
18938
18938
  id: string;
@@ -18944,10 +18944,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18944
18944
  "/runs/:id/remove-worktree": {
18945
18945
  $post: {
18946
18946
  output: {
18947
- removed: true;
18947
+ error: string;
18948
18948
  };
18949
18949
  outputFormat: "json";
18950
- status: import("hono/utils/http-status").ContentfulStatusCode;
18950
+ status: 404 | 409;
18951
18951
  input: {
18952
18952
  param: {
18953
18953
  id: string;
@@ -18955,10 +18955,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18955
18955
  };
18956
18956
  } | {
18957
18957
  output: {
18958
- error: string;
18958
+ removed: true;
18959
18959
  };
18960
18960
  outputFormat: "json";
18961
- status: 404 | 409;
18961
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18962
18962
  input: {
18963
18963
  param: {
18964
18964
  id: string;
@@ -18970,10 +18970,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18970
18970
  "/runs/:id": {
18971
18971
  $delete: {
18972
18972
  output: {
18973
- deleted: true;
18973
+ error: string;
18974
18974
  };
18975
18975
  outputFormat: "json";
18976
- status: import("hono/utils/http-status").ContentfulStatusCode;
18976
+ status: 404 | 409;
18977
18977
  input: {
18978
18978
  param: {
18979
18979
  id: string;
@@ -18981,10 +18981,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18981
18981
  };
18982
18982
  } | {
18983
18983
  output: {
18984
- error: string;
18984
+ deleted: true;
18985
18985
  };
18986
18986
  outputFormat: "json";
18987
- status: 404 | 409;
18987
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18988
18988
  input: {
18989
18989
  param: {
18990
18990
  id: string;
@@ -19053,6 +19053,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19053
19053
  }, "/"> | import("hono/types").MergeSchemaPath<{
19054
19054
  "/plan": {
19055
19055
  $post: {
19056
+ output: {
19057
+ error: string;
19058
+ };
19059
+ outputFormat: "json";
19060
+ status: 400 | 404 | 409;
19061
+ input: {
19062
+ json: {
19063
+ task: string;
19064
+ agentProfile?: string | undefined;
19065
+ };
19066
+ };
19067
+ } | {
19056
19068
  output: {
19057
19069
  name?: string;
19058
19070
  steps: {
@@ -19089,18 +19101,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19089
19101
  agentProfile?: string | undefined;
19090
19102
  };
19091
19103
  };
19092
- } | {
19093
- output: {
19094
- error: string;
19095
- };
19096
- outputFormat: "json";
19097
- status: 400 | 404 | 409;
19098
- input: {
19099
- json: {
19100
- task: string;
19101
- agentProfile?: string | undefined;
19102
- };
19103
- };
19104
19104
  };
19105
19105
  };
19106
19106
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -19150,10 +19150,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19150
19150
  "/ui-state": {
19151
19151
  $put: {
19152
19152
  output: {
19153
- error: string;
19153
+ [x: string]: import("hono/utils/types").JSONValue;
19154
+ sidebarLimits?: {
19155
+ overall?: number | null | undefined;
19156
+ needsYou?: number | null | undefined;
19157
+ finished?: number | null | undefined;
19158
+ working?: number | null | undefined;
19159
+ } | undefined;
19160
+ lastTask?: {
19161
+ source: "skill" | "workflow";
19162
+ ref: string;
19163
+ } | null | undefined;
19164
+ recentSources?: {
19165
+ source: "skill" | "workflow";
19166
+ ref: string;
19167
+ }[] | undefined;
19168
+ lastWorktree?: boolean | undefined;
19169
+ lastAutonomous?: boolean | undefined;
19170
+ skillUsage?: {
19171
+ [x: string]: number;
19172
+ } | undefined;
19173
+ runsView?: "list" | "table" | undefined;
19174
+ githubView?: "issues" | "prs" | undefined;
19175
+ appearance?: {
19176
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19177
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19178
+ width?: "narrow" | "wide" | undefined;
19179
+ } | undefined;
19180
+ promptTemplates?: {
19181
+ id: string;
19182
+ label: string;
19183
+ text: string;
19184
+ skills?: string[] | undefined;
19185
+ }[] | undefined;
19154
19186
  };
19155
19187
  outputFormat: "json";
19156
- status: 500;
19188
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19157
19189
  input: {
19158
19190
  json: {
19159
19191
  [x: string]: unknown;
@@ -19191,42 +19223,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19191
19223
  };
19192
19224
  } | {
19193
19225
  output: {
19194
- [x: string]: import("hono/utils/types").JSONValue;
19195
- sidebarLimits?: {
19196
- overall?: number | null | undefined;
19197
- needsYou?: number | null | undefined;
19198
- finished?: number | null | undefined;
19199
- working?: number | null | undefined;
19200
- } | undefined;
19201
- lastTask?: {
19202
- source: "skill" | "workflow";
19203
- ref: string;
19204
- } | null | undefined;
19205
- recentSources?: {
19206
- source: "skill" | "workflow";
19207
- ref: string;
19208
- }[] | undefined;
19209
- lastWorktree?: boolean | undefined;
19210
- lastAutonomous?: boolean | undefined;
19211
- skillUsage?: {
19212
- [x: string]: number;
19213
- } | undefined;
19214
- runsView?: "list" | "table" | undefined;
19215
- githubView?: "issues" | "prs" | undefined;
19216
- appearance?: {
19217
- accent?: "cezarion" | "lime" | "violet" | undefined;
19218
- density?: "comfortable" | "compact" | "ultra" | undefined;
19219
- width?: "narrow" | "wide" | undefined;
19220
- } | undefined;
19221
- promptTemplates?: {
19222
- id: string;
19223
- label: string;
19224
- text: string;
19225
- skills?: string[] | undefined;
19226
- }[] | undefined;
19226
+ error: string;
19227
19227
  };
19228
19228
  outputFormat: "json";
19229
- status: import("hono/utils/http-status").ContentfulStatusCode;
19229
+ status: 500;
19230
19230
  input: {
19231
19231
  json: {
19232
19232
  [x: string]: unknown;
@@ -19303,10 +19303,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19303
19303
  "/config": {
19304
19304
  $put: {
19305
19305
  output: {
19306
- error: string;
19306
+ archiveOnMerge: boolean | null;
19307
+ effectiveArchiveOnMerge: boolean;
19308
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19309
+ baseBranch: string | null;
19310
+ defaultRunner: string;
19311
+ systemPrompt: string | null;
19312
+ defaultModels: {
19313
+ [x: string]: string | undefined;
19314
+ };
19315
+ modelsLocked: boolean;
19316
+ maxParallel: number;
19317
+ memoryLimitMb: number | null;
19318
+ worktreeRetention: number;
19319
+ liveTitleUpdates: boolean | null;
19320
+ reviewGate: boolean | null;
19321
+ worktreeSetup: {
19322
+ commands: string[];
19323
+ timeoutSeconds: number;
19324
+ } | null;
19325
+ worktreeSetupIssue: string | null;
19326
+ worktreeTeardown: {
19327
+ commands: string[];
19328
+ timeoutSeconds: number;
19329
+ } | null;
19330
+ worktreeTeardownIssue: string | null;
19307
19331
  };
19308
19332
  outputFormat: "json";
19309
- status: 409;
19333
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19310
19334
  input: {
19311
19335
  json: {
19312
19336
  archiveOnMerge?: boolean | null | undefined;
@@ -19334,7 +19358,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19334
19358
  error: string;
19335
19359
  };
19336
19360
  outputFormat: "json";
19337
- status: 500;
19361
+ status: 409;
19338
19362
  input: {
19339
19363
  json: {
19340
19364
  archiveOnMerge?: boolean | null | undefined;
@@ -19359,34 +19383,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19359
19383
  };
19360
19384
  } | {
19361
19385
  output: {
19362
- archiveOnMerge: boolean | null;
19363
- effectiveArchiveOnMerge: boolean;
19364
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19365
- baseBranch: string | null;
19366
- defaultRunner: string;
19367
- systemPrompt: string | null;
19368
- defaultModels: {
19369
- [x: string]: string | undefined;
19370
- };
19371
- modelsLocked: boolean;
19372
- maxParallel: number;
19373
- memoryLimitMb: number | null;
19374
- worktreeRetention: number;
19375
- liveTitleUpdates: boolean | null;
19376
- reviewGate: boolean | null;
19377
- worktreeSetup: {
19378
- commands: string[];
19379
- timeoutSeconds: number;
19380
- } | null;
19381
- worktreeSetupIssue: string | null;
19382
- worktreeTeardown: {
19383
- commands: string[];
19384
- timeoutSeconds: number;
19385
- } | null;
19386
- worktreeTeardownIssue: string | null;
19386
+ error: string;
19387
19387
  };
19388
19388
  outputFormat: "json";
19389
- status: import("hono/utils/http-status").ContentfulStatusCode;
19389
+ status: 500;
19390
19390
  input: {
19391
19391
  json: {
19392
19392
  archiveOnMerge?: boolean | null | undefined;
@@ -19497,12 +19497,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19497
19497
  }, "/"> | import("hono/types").MergeSchemaPath<{
19498
19498
  "/runs/:id/events": {
19499
19499
  $get: {
19500
- output: {
19501
- error: string;
19502
- code?: "invalid_input" | undefined;
19503
- };
19504
- outputFormat: "json";
19505
- status: 400;
19500
+ output: {};
19501
+ outputFormat: string;
19502
+ status: import("hono/utils/http-status").StatusCode;
19506
19503
  input: {
19507
19504
  param: {
19508
19505
  id: string;
@@ -19514,9 +19511,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19514
19511
  };
19515
19512
  };
19516
19513
  } | {
19517
- output: {};
19518
- outputFormat: string;
19519
- status: import("hono/utils/http-status").StatusCode;
19514
+ output: {
19515
+ error: string;
19516
+ code?: "invalid_input" | undefined;
19517
+ };
19518
+ outputFormat: "json";
19519
+ status: 400;
19520
19520
  input: {
19521
19521
  param: {
19522
19522
  id: string;
@@ -19560,7 +19560,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19560
19560
  error: string;
19561
19561
  };
19562
19562
  outputFormat: "json";
19563
- status: 400;
19563
+ status: 409;
19564
19564
  input: {
19565
19565
  json: {
19566
19566
  target: string;
@@ -19571,7 +19571,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19571
19571
  error: string;
19572
19572
  };
19573
19573
  outputFormat: "json";
19574
- status: 409;
19574
+ status: 400;
19575
19575
  input: {
19576
19576
  json: {
19577
19577
  target: string;
@@ -19632,7 +19632,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19632
19632
  error: string;
19633
19633
  };
19634
19634
  outputFormat: "json";
19635
- status: 400;
19635
+ status: 409;
19636
19636
  input: {
19637
19637
  query: {
19638
19638
  q?: string | undefined;
@@ -19645,7 +19645,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19645
19645
  error: string;
19646
19646
  };
19647
19647
  outputFormat: "json";
19648
- status: 409;
19648
+ status: 400;
19649
19649
  input: {
19650
19650
  query: {
19651
19651
  q?: string | undefined;
@@ -19767,10 +19767,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19767
19767
  "/agent-config/:id": {
19768
19768
  $put: {
19769
19769
  output: {
19770
- error: string;
19770
+ id: string;
19771
+ path: string;
19772
+ exists: boolean;
19773
+ content: string;
19774
+ version: string | null;
19771
19775
  };
19772
19776
  outputFormat: "json";
19773
- status: 404;
19777
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19774
19778
  input: {
19775
19779
  json: {
19776
19780
  content: string;
@@ -19783,14 +19787,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19783
19787
  };
19784
19788
  } | {
19785
19789
  output: {
19786
- id: string;
19787
- path: string;
19788
- exists: boolean;
19789
- content: string;
19790
- version: string | null;
19790
+ error: string;
19791
19791
  };
19792
19792
  outputFormat: "json";
19793
- status: import("hono/utils/http-status").ContentfulStatusCode;
19793
+ status: 404;
19794
19794
  input: {
19795
19795
  json: {
19796
19796
  content: string;
@@ -19890,11 +19890,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19890
19890
  };
19891
19891
  } | {
19892
19892
  output: {
19893
- runId: string;
19894
- worktreeReclaimedAt: string;
19893
+ error: string;
19895
19894
  };
19896
19895
  outputFormat: "json";
19897
- status: import("hono/utils/http-status").ContentfulStatusCode;
19896
+ status: 404 | 409;
19898
19897
  input: {
19899
19898
  param: {
19900
19899
  runId: string;
@@ -19906,10 +19905,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19906
19905
  };
19907
19906
  } | {
19908
19907
  output: {
19909
- error: string;
19908
+ runId: string;
19909
+ worktreeReclaimedAt: string;
19910
19910
  };
19911
19911
  outputFormat: "json";
19912
- status: 404 | 409;
19912
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19913
19913
  input: {
19914
19914
  param: {
19915
19915
  runId: string;
@@ -20069,11 +20069,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20069
20069
  "/workflows": {
20070
20070
  $post: {
20071
20071
  output: {
20072
- path: string;
20073
- name: string;
20072
+ error: string;
20074
20073
  };
20075
20074
  outputFormat: "json";
20076
- status: 201;
20075
+ status: 400;
20077
20076
  input: {
20078
20077
  json: {
20079
20078
  name: string;
@@ -20106,9 +20105,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20106
20105
  } | {
20107
20106
  output: {
20108
20107
  error: string;
20108
+ exists: true;
20109
20109
  };
20110
20110
  outputFormat: "json";
20111
- status: 400;
20111
+ status: 409;
20112
20112
  input: {
20113
20113
  json: {
20114
20114
  name: string;
@@ -20141,10 +20141,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20141
20141
  } | {
20142
20142
  output: {
20143
20143
  error: string;
20144
- exists: true;
20145
20144
  };
20146
20145
  outputFormat: "json";
20147
- status: 409;
20146
+ status: 500;
20148
20147
  input: {
20149
20148
  json: {
20150
20149
  name: string;
@@ -20176,10 +20175,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20176
20175
  };
20177
20176
  } | {
20178
20177
  output: {
20179
- error: string;
20178
+ path: string;
20179
+ name: string;
20180
20180
  };
20181
20181
  outputFormat: "json";
20182
- status: 500;
20182
+ status: 201;
20183
20183
  input: {
20184
20184
  json: {
20185
20185
  name: string;
@@ -20215,11 +20215,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20215
20215
  "/workflows/:name": {
20216
20216
  $delete: {
20217
20217
  output: {
20218
- ok: true;
20219
- path: string;
20218
+ error: string;
20220
20219
  };
20221
20220
  outputFormat: "json";
20222
- status: import("hono/utils/http-status").ContentfulStatusCode;
20221
+ status: 400 | 404 | 409 | 500;
20223
20222
  input: {
20224
20223
  param: {
20225
20224
  name: string;
@@ -20227,10 +20226,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20227
20226
  };
20228
20227
  } | {
20229
20228
  output: {
20230
- error: string;
20229
+ ok: true;
20230
+ path: string;
20231
20231
  };
20232
20232
  outputFormat: "json";
20233
- status: 400 | 404 | 409 | 500;
20233
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20234
20234
  input: {
20235
20235
  param: {
20236
20236
  name: string;
@@ -21171,18 +21171,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21171
21171
  "/repo/branches/delete": {
21172
21172
  $post: {
21173
21173
  output: {
21174
- deleted: string[];
21174
+ error: string;
21175
21175
  refused: {
21176
21176
  name: string;
21177
21177
  reason: string;
21178
21178
  }[];
21179
- dropped?: {
21180
- sha: string;
21181
- subject: string;
21182
- }[] | undefined;
21183
21179
  };
21184
21180
  outputFormat: "json";
21185
- status: 200;
21181
+ status: 409;
21186
21182
  input: {
21187
21183
  json: {
21188
21184
  names: string[];
@@ -21191,14 +21187,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21191
21187
  };
21192
21188
  } | {
21193
21189
  output: {
21194
- error: string;
21190
+ deleted: string[];
21195
21191
  refused: {
21196
21192
  name: string;
21197
21193
  reason: string;
21198
21194
  }[];
21195
+ dropped?: {
21196
+ sha: string;
21197
+ subject: string;
21198
+ }[] | undefined;
21199
21199
  };
21200
21200
  outputFormat: "json";
21201
- status: 409;
21201
+ status: 200;
21202
21202
  input: {
21203
21203
  json: {
21204
21204
  names: string[];
@@ -21219,12 +21219,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21219
21219
  } & {
21220
21220
  "/repo/commit/:sha": {
21221
21221
  $get: {
21222
- output: {
21223
- error: string;
21224
- code?: "invalid_input" | undefined;
21225
- };
21226
- outputFormat: "json";
21227
- status: 400;
21222
+ output: string;
21223
+ outputFormat: "text";
21224
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21228
21225
  input: {
21229
21226
  query: {
21230
21227
  structured?: string | undefined;
@@ -21237,9 +21234,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21237
21234
  } | {
21238
21235
  output: {
21239
21236
  error: string;
21237
+ code?: "invalid_input" | undefined;
21240
21238
  };
21241
21239
  outputFormat: "json";
21242
- status: 409;
21240
+ status: 400;
21243
21241
  input: {
21244
21242
  query: {
21245
21243
  structured?: string | undefined;
@@ -21283,9 +21281,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21283
21281
  };
21284
21282
  };
21285
21283
  } | {
21286
- output: string;
21287
- outputFormat: "text";
21288
- status: import("hono/utils/http-status").ContentfulStatusCode;
21284
+ output: {
21285
+ error: string;
21286
+ };
21287
+ outputFormat: "json";
21288
+ status: 409;
21289
21289
  input: {
21290
21290
  query: {
21291
21291
  structured?: string | undefined;
@@ -21317,10 +21317,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21317
21317
  };
21318
21318
  } | {
21319
21319
  output: {
21320
- error: string;
21320
+ type: 'file';
21321
+ path: string;
21322
+ size: number;
21323
+ binary: boolean;
21324
+ tooLarge: boolean;
21325
+ content?: string | undefined;
21321
21326
  };
21322
21327
  outputFormat: "json";
21323
- status: 409;
21328
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21324
21329
  input: {
21325
21330
  param: {
21326
21331
  sha: string;
@@ -21332,15 +21337,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21332
21337
  };
21333
21338
  } | {
21334
21339
  output: {
21335
- type: 'file';
21336
- path: string;
21337
- size: number;
21338
- binary: boolean;
21339
- tooLarge: boolean;
21340
- content?: string | undefined;
21340
+ error: string;
21341
21341
  };
21342
21342
  outputFormat: "json";
21343
- status: import("hono/utils/http-status").ContentfulStatusCode;
21343
+ status: 409;
21344
21344
  input: {
21345
21345
  param: {
21346
21346
  sha: string;
@@ -21368,10 +21368,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21368
21368
  };
21369
21369
  } | {
21370
21370
  output: {
21371
- error: string;
21371
+ type: 'file';
21372
+ path: string;
21373
+ size: number;
21374
+ binary: boolean;
21375
+ tooLarge: boolean;
21376
+ content?: string | undefined;
21372
21377
  };
21373
21378
  outputFormat: "json";
21374
- status: 409;
21379
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21375
21380
  input: {
21376
21381
  query: {
21377
21382
  path: string | string[];
@@ -21379,15 +21384,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21379
21384
  };
21380
21385
  } | {
21381
21386
  output: {
21382
- type: 'file';
21383
- path: string;
21384
- size: number;
21385
- binary: boolean;
21386
- tooLarge: boolean;
21387
- content?: string | undefined;
21387
+ error: string;
21388
21388
  };
21389
21389
  outputFormat: "json";
21390
- status: import("hono/utils/http-status").ContentfulStatusCode;
21390
+ status: 409;
21391
21391
  input: {
21392
21392
  query: {
21393
21393
  path: string | string[];
@@ -21398,13 +21398,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21398
21398
  } & {
21399
21399
  "/repo/changes": {
21400
21400
  $get: {
21401
- output: {
21402
- error: string;
21403
- };
21404
- outputFormat: "json";
21405
- status: 409;
21406
- input: {};
21407
- } | {
21408
21401
  output: {
21409
21402
  files: {
21410
21403
  path: string;
@@ -21429,6 +21422,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21429
21422
  outputFormat: "json";
21430
21423
  status: import("hono/utils/http-status").ContentfulStatusCode;
21431
21424
  input: {};
21425
+ } | {
21426
+ output: {
21427
+ error: string;
21428
+ };
21429
+ outputFormat: "json";
21430
+ status: 409;
21431
+ input: {};
21432
21432
  };
21433
21433
  };
21434
21434
  } & {
@@ -21453,12 +21453,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21453
21453
  "/repo/pull": {
21454
21454
  $post: {
21455
21455
  output: {
21456
- branch: string;
21457
- pulled: true;
21458
- summary: string;
21456
+ error: string;
21459
21457
  };
21460
21458
  outputFormat: "json";
21461
- status: 200;
21459
+ status: 409;
21462
21460
  input: {
21463
21461
  json: {
21464
21462
  branch?: string | undefined;
@@ -21467,10 +21465,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21467
21465
  };
21468
21466
  } | {
21469
21467
  output: {
21470
- error: string;
21468
+ branch: string;
21469
+ pulled: true;
21470
+ summary: string;
21471
21471
  };
21472
21472
  outputFormat: "json";
21473
- status: 409;
21473
+ status: 200;
21474
21474
  input: {
21475
21475
  json: {
21476
21476
  branch?: string | undefined;
@@ -22695,18 +22695,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22695
22695
  } & {
22696
22696
  "/run-summaries": {
22697
22697
  $get: {
22698
- output: {
22699
- error: string;
22700
- code?: "invalid_input" | undefined;
22701
- };
22702
- outputFormat: "json";
22703
- status: 400;
22704
- input: {
22705
- query: {
22706
- archived?: "all" | "recent" | undefined;
22707
- };
22708
- };
22709
- } | {
22710
22698
  output: {
22711
22699
  id: string;
22712
22700
  title: string;
@@ -22844,6 +22832,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22844
22832
  archived?: "all" | "recent" | undefined;
22845
22833
  };
22846
22834
  };
22835
+ } | {
22836
+ output: {
22837
+ error: string;
22838
+ code?: "invalid_input" | undefined;
22839
+ };
22840
+ outputFormat: "json";
22841
+ status: 400;
22842
+ input: {
22843
+ query: {
22844
+ archived?: "all" | "recent" | undefined;
22845
+ };
22846
+ };
22847
22847
  };
22848
22848
  };
22849
22849
  } & {
@@ -23205,24 +23205,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23205
23205
  "/runs/:id/worker-destroy": {
23206
23206
  $post: {
23207
23207
  output: {
23208
- workerId: string;
23209
- state: "complete" | "incomplete";
23210
- work?: {
23211
- uncommittedFiles: number;
23212
- commits: number;
23213
- } | undefined;
23214
- deleted?: ({
23215
- kind: "worktree";
23216
- path: string;
23217
- } | {
23218
- kind: "branch";
23219
- ref: string;
23220
- })[] | undefined;
23221
- remaining: ("branch" | "process" | "worktree")[];
23222
- error?: string | undefined;
23208
+ error: string;
23209
+ code?: "invalid_input" | undefined;
23223
23210
  };
23224
23211
  outputFormat: "json";
23225
- status: 200;
23212
+ status: 400;
23226
23213
  input: {
23227
23214
  query: {
23228
23215
  [x: string]: string | string[];
@@ -23238,11 +23225,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23238
23225
  };
23239
23226
  } | {
23240
23227
  output: {
23241
- error: string;
23242
- code?: "invalid_input" | undefined;
23228
+ workerId: string;
23229
+ state: "complete" | "incomplete";
23230
+ work?: {
23231
+ uncommittedFiles: number;
23232
+ commits: number;
23233
+ } | undefined;
23234
+ deleted?: ({
23235
+ kind: "worktree";
23236
+ path: string;
23237
+ } | {
23238
+ kind: "branch";
23239
+ ref: string;
23240
+ })[] | undefined;
23241
+ remaining: ("branch" | "process" | "worktree")[];
23242
+ error?: string | undefined;
23243
23243
  };
23244
23244
  outputFormat: "json";
23245
- status: 400;
23245
+ status: 200;
23246
23246
  input: {
23247
23247
  query: {
23248
23248
  [x: string]: string | string[];
@@ -23358,21 +23358,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23358
23358
  } & {
23359
23359
  "/runs/:id/archive": {
23360
23360
  $post: {
23361
- output: {
23362
- error: string;
23363
- };
23364
- outputFormat: "json";
23365
- status: 404;
23366
- input: {
23367
- json: {
23368
- archived?: boolean | undefined;
23369
- };
23370
- } & {
23371
- param: {
23372
- id: string;
23373
- };
23374
- };
23375
- } | {
23376
23361
  output: {
23377
23362
  archiveWhenDone?: boolean | undefined;
23378
23363
  autoMergePr?: boolean | undefined;
@@ -24552,32 +24537,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24552
24537
  id: string;
24553
24538
  };
24554
24539
  };
24555
- };
24556
- };
24557
- } & {
24558
- "/runs/:id/pin": {
24559
- $post: {
24540
+ } | {
24560
24541
  output: {
24561
24542
  error: string;
24562
- code?: "invalid_input" | undefined;
24563
24543
  };
24564
24544
  outputFormat: "json";
24565
- status: 400;
24545
+ status: 404;
24566
24546
  input: {
24567
- param: {
24568
- id: string;
24547
+ json: {
24548
+ archived?: boolean | undefined;
24569
24549
  };
24570
24550
  } & {
24571
- json: {
24572
- pinned?: boolean | undefined;
24551
+ param: {
24552
+ id: string;
24573
24553
  };
24574
24554
  };
24575
- } | {
24555
+ };
24556
+ };
24557
+ } & {
24558
+ "/runs/:id/pin": {
24559
+ $post: {
24576
24560
  output: {
24577
24561
  error: string;
24562
+ code?: "invalid_input" | undefined;
24578
24563
  };
24579
24564
  outputFormat: "json";
24580
- status: 404;
24565
+ status: 400;
24581
24566
  input: {
24582
24567
  param: {
24583
24568
  id: string;
@@ -25767,6 +25752,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25767
25752
  pinned?: boolean | undefined;
25768
25753
  };
25769
25754
  };
25755
+ } | {
25756
+ output: {
25757
+ error: string;
25758
+ };
25759
+ outputFormat: "json";
25760
+ status: 404;
25761
+ input: {
25762
+ param: {
25763
+ id: string;
25764
+ };
25765
+ } & {
25766
+ json: {
25767
+ pinned?: boolean | undefined;
25768
+ };
25769
+ };
25770
25770
  };
25771
25771
  };
25772
25772
  } & {
@@ -25793,7 +25793,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25793
25793
  error: string;
25794
25794
  };
25795
25795
  outputFormat: "json";
25796
- status: 400;
25796
+ status: 404;
25797
25797
  input: {
25798
25798
  param: {
25799
25799
  id: string;
@@ -25809,7 +25809,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25809
25809
  error: string;
25810
25810
  };
25811
25811
  outputFormat: "json";
25812
- status: 404;
25812
+ status: 400;
25813
25813
  input: {
25814
25814
  param: {
25815
25815
  id: string;
@@ -27032,17 +27032,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27032
27032
  } & {
27033
27033
  "/runs/:id/read": {
27034
27034
  $post: {
27035
- output: {
27036
- error: string;
27037
- };
27038
- outputFormat: "json";
27039
- status: 404;
27040
- input: {
27041
- param: {
27042
- id: string;
27043
- };
27044
- };
27045
- } | {
27046
27035
  output: {
27047
27036
  archiveWhenDone?: boolean | undefined;
27048
27037
  autoMergePr?: boolean | undefined;
@@ -28218,11 +28207,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28218
28207
  id: string;
28219
28208
  };
28220
28209
  };
28221
- };
28222
- };
28223
- } & {
28224
- "/runs/:id/unread": {
28225
- $post: {
28210
+ } | {
28226
28211
  output: {
28227
28212
  error: string;
28228
28213
  };
@@ -28233,7 +28218,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28233
28218
  id: string;
28234
28219
  };
28235
28220
  };
28236
- } | {
28221
+ };
28222
+ };
28223
+ } & {
28224
+ "/runs/:id/unread": {
28225
+ $post: {
28237
28226
  output: {
28238
28227
  archiveWhenDone?: boolean | undefined;
28239
28228
  autoMergePr?: boolean | undefined;
@@ -29409,6 +29398,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29409
29398
  id: string;
29410
29399
  };
29411
29400
  };
29401
+ } | {
29402
+ output: {
29403
+ error: string;
29404
+ };
29405
+ outputFormat: "json";
29406
+ status: 404;
29407
+ input: {
29408
+ param: {
29409
+ id: string;
29410
+ };
29411
+ };
29412
29412
  };
29413
29413
  };
29414
29414
  } & {
@@ -30685,17 +30685,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30685
30685
  } & {
30686
30686
  "/runs/:id": {
30687
30687
  $get: {
30688
- output: {
30689
- error: string;
30690
- };
30691
- outputFormat: "json";
30692
- status: 404;
30693
- input: {
30694
- param: {
30695
- id: string;
30696
- };
30697
- };
30698
- } | {
30699
30688
  output: {
30700
30689
  archiveWhenDone?: boolean | undefined;
30701
30690
  autoMergePr?: boolean | undefined;
@@ -31879,6 +31868,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31879
31868
  id: string;
31880
31869
  };
31881
31870
  };
31871
+ } | {
31872
+ output: {
31873
+ error: string;
31874
+ };
31875
+ outputFormat: "json";
31876
+ status: 404;
31877
+ input: {
31878
+ param: {
31879
+ id: string;
31880
+ };
31881
+ };
31882
31882
  };
31883
31883
  };
31884
31884
  } & {
@@ -32006,66 +32006,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32006
32006
  } & {
32007
32007
  "/runs/:id": {
32008
32008
  $patch: {
32009
- output: {
32010
- error: string;
32011
- };
32012
- outputFormat: "json";
32013
- status: 400;
32014
- input: {
32015
- json: {
32016
- archiveWhenDone?: boolean | undefined;
32017
- autoMergePr?: boolean | undefined;
32018
- allowWorkers?: boolean | undefined;
32019
- allowMessaging?: boolean | undefined;
32020
- title?: string | undefined;
32021
- task?: string | undefined;
32022
- };
32023
- } & {
32024
- param: {
32025
- id: string;
32026
- };
32027
- };
32028
- } | {
32029
- output: {
32030
- error: string;
32031
- };
32032
- outputFormat: "json";
32033
- status: 404;
32034
- input: {
32035
- json: {
32036
- archiveWhenDone?: boolean | undefined;
32037
- autoMergePr?: boolean | undefined;
32038
- allowWorkers?: boolean | undefined;
32039
- allowMessaging?: boolean | undefined;
32040
- title?: string | undefined;
32041
- task?: string | undefined;
32042
- };
32043
- } & {
32044
- param: {
32045
- id: string;
32046
- };
32047
- };
32048
- } | {
32049
- output: {
32050
- error: string;
32051
- };
32052
- outputFormat: "json";
32053
- status: 409;
32054
- input: {
32055
- json: {
32056
- archiveWhenDone?: boolean | undefined;
32057
- autoMergePr?: boolean | undefined;
32058
- allowWorkers?: boolean | undefined;
32059
- allowMessaging?: boolean | undefined;
32060
- title?: string | undefined;
32061
- task?: string | undefined;
32062
- };
32063
- } & {
32064
- param: {
32065
- id: string;
32066
- };
32067
- };
32068
- } | {
32069
32009
  output: {
32070
32010
  archiveWhenDone?: boolean | undefined;
32071
32011
  autoMergePr?: boolean | undefined;
@@ -33250,6 +33190,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33250
33190
  id: string;
33251
33191
  };
33252
33192
  };
33193
+ } | {
33194
+ output: {
33195
+ error: string;
33196
+ };
33197
+ outputFormat: "json";
33198
+ status: 404;
33199
+ input: {
33200
+ json: {
33201
+ archiveWhenDone?: boolean | undefined;
33202
+ autoMergePr?: boolean | undefined;
33203
+ allowWorkers?: boolean | undefined;
33204
+ allowMessaging?: boolean | undefined;
33205
+ title?: string | undefined;
33206
+ task?: string | undefined;
33207
+ };
33208
+ } & {
33209
+ param: {
33210
+ id: string;
33211
+ };
33212
+ };
33213
+ } | {
33214
+ output: {
33215
+ error: string;
33216
+ };
33217
+ outputFormat: "json";
33218
+ status: 400;
33219
+ input: {
33220
+ json: {
33221
+ archiveWhenDone?: boolean | undefined;
33222
+ autoMergePr?: boolean | undefined;
33223
+ allowWorkers?: boolean | undefined;
33224
+ allowMessaging?: boolean | undefined;
33225
+ title?: string | undefined;
33226
+ task?: string | undefined;
33227
+ };
33228
+ } & {
33229
+ param: {
33230
+ id: string;
33231
+ };
33232
+ };
33233
+ } | {
33234
+ output: {
33235
+ error: string;
33236
+ };
33237
+ outputFormat: "json";
33238
+ status: 409;
33239
+ input: {
33240
+ json: {
33241
+ archiveWhenDone?: boolean | undefined;
33242
+ autoMergePr?: boolean | undefined;
33243
+ allowWorkers?: boolean | undefined;
33244
+ allowMessaging?: boolean | undefined;
33245
+ title?: string | undefined;
33246
+ task?: string | undefined;
33247
+ };
33248
+ } & {
33249
+ param: {
33250
+ id: string;
33251
+ };
33252
+ };
33253
33253
  };
33254
33254
  };
33255
33255
  } & {
@@ -33350,25 +33350,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33350
33350
  } & {
33351
33351
  "/runs/:id/messages": {
33352
33352
  $post: {
33353
- output: {
33354
- error: string;
33355
- };
33356
- outputFormat: "json";
33357
- status: 400;
33358
- input: {
33359
- json: {
33360
- text?: string | undefined;
33361
- images?: {
33362
- mediaType: string;
33363
- data: string;
33364
- }[] | undefined;
33365
- };
33366
- } & {
33367
- param: {
33368
- id: string;
33369
- };
33370
- };
33371
- } | {
33372
33353
  output: {
33373
33354
  error: string;
33374
33355
  };
@@ -33425,6 +33406,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33425
33406
  id: string;
33426
33407
  };
33427
33408
  };
33409
+ } | {
33410
+ output: {
33411
+ error: string;
33412
+ };
33413
+ outputFormat: "json";
33414
+ status: 400;
33415
+ input: {
33416
+ json: {
33417
+ text?: string | undefined;
33418
+ images?: {
33419
+ mediaType: string;
33420
+ data: string;
33421
+ }[] | undefined;
33422
+ };
33423
+ } & {
33424
+ param: {
33425
+ id: string;
33426
+ };
33427
+ };
33428
33428
  } | {
33429
33429
  output: {
33430
33430
  queued: true;
@@ -33479,7 +33479,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33479
33479
  error: string;
33480
33480
  };
33481
33481
  outputFormat: "json";
33482
- status: 400;
33482
+ status: 404;
33483
33483
  input: {
33484
33484
  json: {
33485
33485
  text?: string | undefined;
@@ -33500,7 +33500,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33500
33500
  error: string;
33501
33501
  };
33502
33502
  outputFormat: "json";
33503
- status: 404;
33503
+ status: 400;
33504
33504
  input: {
33505
33505
  json: {
33506
33506
  text?: string | undefined;
@@ -33720,11 +33720,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33720
33720
  "/runs/:id/open-in-cli": {
33721
33721
  $post: {
33722
33722
  output: {
33723
- opened: true;
33724
- command: string;
33723
+ error: string;
33725
33724
  };
33726
33725
  outputFormat: "json";
33727
- status: import("hono/utils/http-status").ContentfulStatusCode;
33726
+ status: 404 | 409;
33728
33727
  input: {
33729
33728
  param: {
33730
33729
  id: string;
@@ -33732,10 +33731,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33732
33731
  };
33733
33732
  } | {
33734
33733
  output: {
33735
- error: string;
33734
+ opened: true;
33735
+ command: string;
33736
33736
  };
33737
33737
  outputFormat: "json";
33738
- status: 404 | 409;
33738
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33739
33739
  input: {
33740
33740
  param: {
33741
33741
  id: string;
@@ -33823,12 +33823,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33823
33823
  } & {
33824
33824
  "/runs/:id/images/:file": {
33825
33825
  $get: {
33826
- output: {
33827
- error: string;
33828
- code?: "invalid_input" | undefined;
33829
- };
33830
- outputFormat: "json";
33831
- status: 400;
33826
+ output: {};
33827
+ outputFormat: string;
33828
+ status: import("hono/utils/http-status").StatusCode;
33832
33829
  input: {
33833
33830
  param: {
33834
33831
  id: string;
@@ -33836,9 +33833,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33836
33833
  };
33837
33834
  };
33838
33835
  } | {
33839
- output: {};
33840
- outputFormat: string;
33841
- status: import("hono/utils/http-status").StatusCode;
33836
+ output: {
33837
+ error: string;
33838
+ code?: "invalid_input" | undefined;
33839
+ };
33840
+ outputFormat: "json";
33841
+ status: 400;
33842
33842
  input: {
33843
33843
  param: {
33844
33844
  id: string;
@@ -33874,6 +33874,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33874
33874
  } & {
33875
33875
  "/runs/:id/changes": {
33876
33876
  $get: {
33877
+ output: {
33878
+ error: string;
33879
+ };
33880
+ outputFormat: "json";
33881
+ status: 404 | 409;
33882
+ input: {
33883
+ param: {
33884
+ id: string;
33885
+ };
33886
+ };
33887
+ } | {
33877
33888
  output: {
33878
33889
  files: {
33879
33890
  path: string;
@@ -33902,7 +33913,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33902
33913
  id: string;
33903
33914
  };
33904
33915
  };
33905
- } | {
33916
+ };
33917
+ };
33918
+ } & {
33919
+ "/runs/:id/commits": {
33920
+ $get: {
33906
33921
  output: {
33907
33922
  error: string;
33908
33923
  };
@@ -33913,11 +33928,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33913
33928
  id: string;
33914
33929
  };
33915
33930
  };
33916
- };
33917
- };
33918
- } & {
33919
- "/runs/:id/commits": {
33920
- $get: {
33931
+ } | {
33921
33932
  output: {
33922
33933
  commits: {
33923
33934
  sha: string;
@@ -33933,7 +33944,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33933
33944
  id: string;
33934
33945
  };
33935
33946
  };
33936
- } | {
33947
+ };
33948
+ };
33949
+ } & {
33950
+ "/runs/:id/commit/:sha": {
33951
+ $get: {
33937
33952
  output: {
33938
33953
  error: string;
33939
33954
  };
@@ -33942,13 +33957,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33942
33957
  input: {
33943
33958
  param: {
33944
33959
  id: string;
33960
+ } & {
33961
+ sha: string;
33945
33962
  };
33946
33963
  };
33947
- };
33948
- };
33949
- } & {
33950
- "/runs/:id/commit/:sha": {
33951
- $get: {
33964
+ } | {
33952
33965
  output: {
33953
33966
  sha: string;
33954
33967
  subject: string;
@@ -33979,19 +33992,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33979
33992
  sha: string;
33980
33993
  };
33981
33994
  };
33982
- } | {
33983
- output: {
33984
- error: string;
33985
- };
33986
- outputFormat: "json";
33987
- status: 404 | 409;
33988
- input: {
33989
- param: {
33990
- id: string;
33991
- } & {
33992
- sha: string;
33993
- };
33994
- };
33995
33995
  };
33996
33996
  };
33997
33997
  } & {
@@ -34015,15 +34015,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34015
34015
  };
34016
34016
  } | {
34017
34017
  output: {
34018
- type: 'file';
34019
- path: string;
34020
- size: number;
34021
- binary: boolean;
34022
- tooLarge: boolean;
34023
- content?: string | undefined;
34018
+ error: string;
34024
34019
  };
34025
34020
  outputFormat: "json";
34026
- status: import("hono/utils/http-status").ContentfulStatusCode;
34021
+ status: 404 | 409;
34027
34022
  input: {
34028
34023
  param: {
34029
34024
  sha: string;
@@ -34036,10 +34031,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34036
34031
  };
34037
34032
  } | {
34038
34033
  output: {
34039
- error: string;
34034
+ type: 'file';
34035
+ path: string;
34036
+ size: number;
34037
+ binary: boolean;
34038
+ tooLarge: boolean;
34039
+ content?: string | undefined;
34040
34040
  };
34041
34041
  outputFormat: "json";
34042
- status: 404 | 409;
34042
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34043
34043
  input: {
34044
34044
  param: {
34045
34045
  sha: string;
@@ -34085,6 +34085,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34085
34085
  raw?: "1" | undefined;
34086
34086
  };
34087
34087
  };
34088
+ } | {
34089
+ output: {
34090
+ error: string;
34091
+ };
34092
+ outputFormat: "json";
34093
+ status: 404 | 409;
34094
+ input: {
34095
+ param: {
34096
+ id: string;
34097
+ };
34098
+ } & {
34099
+ query: {
34100
+ path: string | string[];
34101
+ raw?: "1" | undefined;
34102
+ };
34103
+ };
34088
34104
  } | {
34089
34105
  output: {
34090
34106
  type: "file";
@@ -34121,22 +34137,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34121
34137
  raw?: "1" | undefined;
34122
34138
  };
34123
34139
  };
34124
- } | {
34125
- output: {
34126
- error: string;
34127
- };
34128
- outputFormat: "json";
34129
- status: 404 | 409;
34130
- input: {
34131
- param: {
34132
- id: string;
34133
- };
34134
- } & {
34135
- query: {
34136
- path: string | string[];
34137
- raw?: "1" | undefined;
34138
- };
34139
- };
34140
34140
  };
34141
34141
  };
34142
34142
  } & {
@@ -34201,18 +34201,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34201
34201
  artifactId: string;
34202
34202
  };
34203
34203
  };
34204
- } | {
34205
- output: {
34206
- error: string;
34207
- };
34208
- outputFormat: "json";
34209
- status: 404;
34210
- input: {
34211
- param: {
34212
- id: string;
34213
- artifactId: string;
34214
- };
34215
- };
34216
34204
  } | {
34217
34205
  output: {
34218
34206
  type: "file";
@@ -34241,6 +34229,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34241
34229
  artifactId: string;
34242
34230
  };
34243
34231
  };
34232
+ } | {
34233
+ output: {
34234
+ error: string;
34235
+ };
34236
+ outputFormat: "json";
34237
+ status: 404;
34238
+ input: {
34239
+ param: {
34240
+ id: string;
34241
+ artifactId: string;
34242
+ };
34243
+ };
34244
34244
  };
34245
34245
  };
34246
34246
  } & {
@@ -34418,15 +34418,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34418
34418
  };
34419
34419
  } | {
34420
34420
  output: {
34421
- type: 'file';
34422
- path: string;
34423
- size: number;
34424
- binary: boolean;
34425
- tooLarge: boolean;
34426
- content?: string | undefined;
34421
+ error: string;
34427
34422
  };
34428
34423
  outputFormat: "json";
34429
- status: import("hono/utils/http-status").ContentfulStatusCode;
34424
+ status: 404 | 409;
34430
34425
  input: {
34431
34426
  query: {
34432
34427
  path?: string | undefined;
@@ -34439,14 +34434,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34439
34434
  };
34440
34435
  } | {
34441
34436
  output: {
34442
- type: 'dir';
34437
+ type: 'file';
34443
34438
  path: string;
34444
- entries: {
34445
- name: string;
34446
- type: 'dir' | 'file';
34447
- size?: number;
34448
- chain?: string;
34449
- }[];
34439
+ size: number;
34440
+ binary: boolean;
34441
+ tooLarge: boolean;
34442
+ content?: string | undefined;
34450
34443
  };
34451
34444
  outputFormat: "json";
34452
34445
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -34462,10 +34455,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34462
34455
  };
34463
34456
  } | {
34464
34457
  output: {
34465
- error: string;
34458
+ type: 'dir';
34459
+ path: string;
34460
+ entries: {
34461
+ name: string;
34462
+ type: 'dir' | 'file';
34463
+ size?: number;
34464
+ chain?: string;
34465
+ }[];
34466
34466
  };
34467
34467
  outputFormat: "json";
34468
- status: 404 | 409;
34468
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34469
34469
  input: {
34470
34470
  query: {
34471
34471
  path?: string | undefined;
@@ -34482,11 +34482,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34482
34482
  "/runs/:id/git/commit": {
34483
34483
  $post: {
34484
34484
  output: {
34485
- committed: true;
34486
- sha: string;
34485
+ error: string;
34487
34486
  };
34488
34487
  outputFormat: "json";
34489
- status: import("hono/utils/http-status").ContentfulStatusCode;
34488
+ status: 404 | 409;
34490
34489
  input: {
34491
34490
  json: {
34492
34491
  message: string;
@@ -34498,10 +34497,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34498
34497
  };
34499
34498
  } | {
34500
34499
  output: {
34501
- error: string;
34500
+ committed: true;
34501
+ sha: string;
34502
34502
  };
34503
34503
  outputFormat: "json";
34504
- status: 404 | 409;
34504
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34505
34505
  input: {
34506
34506
  json: {
34507
34507
  message: string;
@@ -34517,13 +34517,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34517
34517
  "/runs/:id/git/push": {
34518
34518
  $post: {
34519
34519
  output: {
34520
- pushed: true;
34521
- branch: string;
34522
- remote: string;
34523
- upstreamSet: boolean;
34520
+ error: string;
34524
34521
  };
34525
34522
  outputFormat: "json";
34526
- status: import("hono/utils/http-status").ContentfulStatusCode;
34523
+ status: 404 | 409;
34527
34524
  input: {
34528
34525
  param: {
34529
34526
  id: string;
@@ -34531,10 +34528,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34531
34528
  };
34532
34529
  } | {
34533
34530
  output: {
34534
- error: string;
34531
+ pushed: true;
34532
+ branch: string;
34533
+ remote: string;
34534
+ upstreamSet: boolean;
34535
34535
  };
34536
34536
  outputFormat: "json";
34537
- status: 404 | 409;
34537
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34538
34538
  input: {
34539
34539
  param: {
34540
34540
  id: string;
@@ -34546,11 +34546,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34546
34546
  "/runs/:id/pr": {
34547
34547
  $post: {
34548
34548
  output: {
34549
- url: string;
34550
- dryRun: boolean;
34549
+ error: string;
34551
34550
  };
34552
34551
  outputFormat: "json";
34553
- status: 201;
34552
+ status: 404 | 409;
34554
34553
  input: {
34555
34554
  param: {
34556
34555
  id: string;
@@ -34558,10 +34557,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34558
34557
  };
34559
34558
  } | {
34560
34559
  output: {
34561
- error: string;
34560
+ url: string;
34561
+ dryRun: boolean;
34562
34562
  };
34563
34563
  outputFormat: "json";
34564
- status: 404 | 409;
34564
+ status: 201;
34565
34565
  input: {
34566
34566
  param: {
34567
34567
  id: string;
@@ -34573,10 +34573,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34573
34573
  "/runs/:id/remove-worktree": {
34574
34574
  $post: {
34575
34575
  output: {
34576
- removed: true;
34576
+ error: string;
34577
34577
  };
34578
34578
  outputFormat: "json";
34579
- status: import("hono/utils/http-status").ContentfulStatusCode;
34579
+ status: 404 | 409;
34580
34580
  input: {
34581
34581
  param: {
34582
34582
  id: string;
@@ -34584,10 +34584,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34584
34584
  };
34585
34585
  } | {
34586
34586
  output: {
34587
- error: string;
34587
+ removed: true;
34588
34588
  };
34589
34589
  outputFormat: "json";
34590
- status: 404 | 409;
34590
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34591
34591
  input: {
34592
34592
  param: {
34593
34593
  id: string;
@@ -34599,10 +34599,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34599
34599
  "/runs/:id": {
34600
34600
  $delete: {
34601
34601
  output: {
34602
- deleted: true;
34602
+ error: string;
34603
34603
  };
34604
34604
  outputFormat: "json";
34605
- status: import("hono/utils/http-status").ContentfulStatusCode;
34605
+ status: 404 | 409;
34606
34606
  input: {
34607
34607
  param: {
34608
34608
  id: string;
@@ -34610,10 +34610,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34610
34610
  };
34611
34611
  } | {
34612
34612
  output: {
34613
- error: string;
34613
+ deleted: true;
34614
34614
  };
34615
34615
  outputFormat: "json";
34616
- status: 404 | 409;
34616
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34617
34617
  input: {
34618
34618
  param: {
34619
34619
  id: string;