@hearsay-tools/squawk 0.19.0-pr4622.9212 → 0.19.0-pr4622.9213

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 (91) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/delegation/routes.d.ts +78 -78
  3. package/dist/features/hosts/routes.d.ts +64 -64
  4. package/dist/features/reports/routes.d.ts +2 -2
  5. package/dist/features/webhooks/routes.d.ts +38 -38
  6. package/dist/server/activity-routes.d.ts +23 -23
  7. package/dist/server/models-routes.d.ts +12 -12
  8. package/dist/server/project-settings-routes.d.ts +107 -107
  9. package/dist/server/projects-routes.d.ts +41 -41
  10. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  11. package/dist/server/providers-routes.d.ts +58 -58
  12. package/dist/server/runner-install-routes.d.ts +10 -10
  13. package/dist/server/runners-routes.d.ts +10 -10
  14. package/dist/server/runs-routes.d.ts +333 -333
  15. package/dist/server/server.d.ts +1170 -1170
  16. package/dist/server/workspace-identity-routes.d.ts +5 -5
  17. package/dist/server/workspace-live-routes.d.ts +5 -5
  18. package/dist/server/workspace-routes.d.ts +85 -85
  19. package/package.json +4 -4
  20. package/web/dist/assets/{accounts-section-BinzShaf.js → accounts-section-BwVLJgxK.js} +1 -1
  21. package/web/dist/assets/{activity-motion-BvqTKSqo.js → activity-motion-tBH9QmZu.js} +1 -1
  22. package/web/dist/assets/{activity-route-DPk44gEy.js → activity-route-CkXs29ji.js} +1 -1
  23. package/web/dist/assets/{agent-accounts-ChU4vfBl.js → agent-accounts-DQ_JY8H9.js} +1 -1
  24. package/web/dist/assets/{agent-config-section-CcQAu9b7.js → agent-config-section-Bii12by6.js} +1 -1
  25. package/web/dist/assets/{agent-defaults-section-CSqx1479.js → agent-defaults-section-BpiqyCUf.js} +1 -1
  26. package/web/dist/assets/{appearance-DH-VN7Hg.js → appearance-B_765RRk.js} +1 -1
  27. package/web/dist/assets/{archive-on-merge-field-CqTj_p3K.js → archive-on-merge-field-B6O9ruku.js} +1 -1
  28. package/web/dist/assets/{ask-card-Dn7OYHTC.js → ask-card-Cd0Xc7Uq.js} +1 -1
  29. package/web/dist/assets/{automations-route-DWfE1BUv.js → automations-route-CcVVZs26.js} +1 -1
  30. package/web/dist/assets/{commit-list-CqWkVSfv.js → commit-list-Dcd0WekD.js} +1 -1
  31. package/web/dist/assets/{diff-CO4Md6Jv.js → diff-B_cIEbs-.js} +2 -2
  32. package/web/dist/assets/{diff-controls-C-wQd4Ib.js → diff-controls-BTGIDnSs.js} +1 -1
  33. package/web/dist/assets/{diff-view-KejwMx_e.js → diff-view-J684vGFE.js} +1 -1
  34. package/web/dist/assets/{discard-changes-dialog-DJcvcxDg.js → discard-changes-dialog-BtnFyMRT.js} +1 -1
  35. package/web/dist/assets/{file-preview-BSAsYRmQ.js → file-preview-B3jXfVP7.js} +1 -1
  36. package/web/dist/assets/{folder-browser-BvE0XQDC.js → folder-browser-sYsHX_an.js} +1 -1
  37. package/web/dist/assets/{git-toolbar-BoP7hEiL.js → git-toolbar-SKqi4XfU.js} +1 -1
  38. package/web/dist/assets/{github-Brwd2u17.js → github-T6wolZwH.js} +1 -1
  39. package/web/dist/assets/{global-activity-route-ylRv5i0B.js → global-activity-route-Dx-kvhpz.js} +1 -1
  40. package/web/dist/assets/{hosts-BIgzlJ2i.js → hosts-DeyANWdw.js} +1 -1
  41. package/web/dist/assets/{index-Cf0HK2YW.js → index-6oRe52sM.js} +5 -5
  42. package/web/dist/assets/label-BXbOoPSF.js +1 -0
  43. package/web/dist/assets/{markdown-_RWbSoHA.js → markdown-TRVPj3Mg.js} +1 -1
  44. package/web/dist/assets/{open-in-menu-zrukT4IK.js → open-in-menu-g5K4vTnb.js} +1 -1
  45. package/web/dist/assets/{option-select-BtavcdtM.js → option-select-B76TaZGm.js} +1 -1
  46. package/web/dist/assets/{preferences-section-DBoTeoB0.js → preferences-section-DZRKsK2E.js} +1 -1
  47. package/web/dist/assets/{preview-pane-connected-CqZ7qR53.js → preview-pane-connected-CM10_MPC.js} +1 -1
  48. package/web/dist/assets/{project-location-DQob1g0E.js → project-location-F5rU1iQp.js} +1 -1
  49. package/web/dist/assets/{projects-section-ClWFVviV.js → projects-section-DvYKR18b.js} +1 -1
  50. package/web/dist/assets/{prompt-templates-section-C32HXWo3.js → prompt-templates-section-DFiGQ_kP.js} +1 -1
  51. package/web/dist/assets/queries-DQVUxiSU.js +1 -0
  52. package/web/dist/assets/{read-state-B1VLxOM6.js → read-state-DlkdVJHO.js} +1 -1
  53. package/web/dist/assets/{reference-chip-Bj_PKUc4.js → reference-chip-DTWd5NlK.js} +1 -1
  54. package/web/dist/assets/{remote-settings-notice-C8VV_iw0.js → remote-settings-notice-4jnKyzkr.js} +1 -1
  55. package/web/dist/assets/{repo-git-CjUQ0g26.js → repo-git-bpVnYJKi.js} +1 -1
  56. package/web/dist/assets/{report-reader-C_yAYPmW.js → report-reader-DMyNCIiX.js} +1 -1
  57. package/web/dist/assets/{report-selection-D-asrNb1.js → report-selection-BJgUwTp3.js} +1 -1
  58. package/web/dist/assets/{reports-DtdpSXDD.js → reports-CBzt0Dmc.js} +1 -1
  59. package/web/dist/assets/{resources-section-PEx4v01N.js → resources-section-DrFTKHSn.js} +1 -1
  60. package/web/dist/assets/{review-notes-drafts-C2MYGz6Z.js → review-notes-drafts-N0GgOh1J.js} +1 -1
  61. package/web/dist/assets/{review-panel-I3KgOMmg.js → review-panel-BhyjEDJC.js} +1 -1
  62. package/web/dist/assets/{review-strip-OOHBg4No.js → review-strip-DoWuOvcF.js} +1 -1
  63. package/web/dist/assets/{run-detail-refresh-CoCrbq8v.js → run-detail-refresh-Bx9zlPFP.js} +1 -1
  64. package/web/dist/assets/{run-diff-DlyvdCr9.js → run-diff-BqvMg-mp.js} +1 -1
  65. package/web/dist/assets/{run-header-CC-99Rq_.js → run-header-Bg2x1hvz.js} +1 -1
  66. package/web/dist/assets/{select-DaeMMrqM.js → select-Cbi8vDBU.js} +1 -1
  67. package/web/dist/assets/{session-context-section-DkPFGHH0.js → session-context-section-BnezEi_b.js} +1 -1
  68. package/web/dist/assets/{settings-agent-picker-wN3FpFa5.js → settings-agent-picker-DCmAHz6j.js} +1 -1
  69. package/web/dist/assets/{settings-save-bar-PHQFfhCk.js → settings-save-bar-De7cR5EO.js} +1 -1
  70. package/web/dist/assets/{settings-shell-Z0rNc1xx.js → settings-shell-kQCF-IMK.js} +1 -1
  71. package/web/dist/assets/{sidebar-section-BE5SSKrX.js → sidebar-section-BZHg8W-H.js} +1 -1
  72. package/web/dist/assets/{skills-Dm5hGdd8.js → skills-DUOE73c3.js} +1 -1
  73. package/web/dist/assets/{task-changes-CS1uSQfH.js → task-changes-fRMZxCzG.js} +1 -1
  74. package/web/dist/assets/{task-commits-DCbUyMTZ.js → task-commits-Cenv0zsB.js} +1 -1
  75. package/web/dist/assets/{task-file-scope-CcmDJfUC.js → task-file-scope-K1Ban5eN.js} +1 -1
  76. package/web/dist/assets/{task-files-CO9gRC8O.js → task-files-EU03WHnV.js} +1 -1
  77. package/web/dist/assets/{task-github-item-C7Qtl-R4.js → task-github-item-Dhte1Ixh.js} +1 -1
  78. package/web/dist/assets/{task-groups-1B3qWNle.js → task-groups-DcQL5SKa.js} +1 -1
  79. package/web/dist/assets/{task-thread-BXPhkg3D.js → task-thread-DDMomGRh.js} +1 -1
  80. package/web/dist/assets/{thread-state-Co15rrhn.js → thread-state-K3qTs1EO.js} +1 -1
  81. package/web/dist/assets/{use-finish-run-BAu374MO.js → use-finish-run-C8c9NAvg.js} +1 -1
  82. package/web/dist/assets/{use-hand-to-agent-state-BO7f9Vja.js → use-hand-to-agent-state-BIvAHKwY.js} +1 -1
  83. package/web/dist/assets/use-path-bases-DxT4eodL.js +1 -0
  84. package/web/dist/assets/{use-workspace-config-save-y-EQHm5n.js → use-workspace-config-save-D6M-r6_i.js} +1 -1
  85. package/web/dist/assets/{workflows-Bawt8WPJ.js → workflows-jSPeMWLl.js} +1 -1
  86. package/web/dist/assets/{workspace-tools-Bjxxd-mY.js → workspace-tools-DmZ9LMQc.js} +1 -1
  87. package/web/dist/assets/{worktrees-section-CqdaU9Rf.js → worktrees-section-CsXzXEwX.js} +1 -1
  88. package/web/dist/index.html +12 -12
  89. package/web/dist/assets/label-D6E1lpRI.js +0 -1
  90. package/web/dist/assets/queries-CNjDebHy.js +0 -1
  91. package/web/dist/assets/use-path-bases-DQnmY-WP.js +0 -1
@@ -234,17 +234,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
234
234
  };
235
235
  } | {
236
236
  output: {
237
- path: string;
238
- parent: string | null;
239
- dirs: {
240
- name: string;
241
- path: string;
242
- isRepo: boolean;
243
- }[];
244
- truncated: boolean;
237
+ error: string;
245
238
  };
246
239
  outputFormat: "json";
247
- status: import("hono/utils/http-status").ContentfulStatusCode;
240
+ status: 400 | 403 | 404;
248
241
  input: {
249
242
  query: {
250
243
  path?: string | undefined;
@@ -253,10 +246,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
253
246
  };
254
247
  } | {
255
248
  output: {
256
- error: string;
249
+ path: string;
250
+ parent: string | null;
251
+ dirs: {
252
+ name: string;
253
+ path: string;
254
+ isRepo: boolean;
255
+ }[];
256
+ truncated: boolean;
257
257
  };
258
258
  outputFormat: "json";
259
- status: 400 | 403 | 404;
259
+ status: import("hono/utils/http-status").ContentfulStatusCode;
260
260
  input: {
261
261
  query: {
262
262
  path?: string | undefined;
@@ -268,18 +268,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
268
268
  }, "/"> | import("hono/types").MergeSchemaPath<{
269
269
  "/workspace/events": {
270
270
  $get: {
271
- output: {
272
- error: string;
273
- code?: "invalid_input" | undefined;
274
- };
275
- outputFormat: "json";
276
- status: 400;
277
- input: {
278
- query: {
279
- runs?: "summary" | undefined;
280
- };
281
- };
282
- } | {
283
271
  output: {};
284
272
  outputFormat: string;
285
273
  status: import("hono/utils/http-status").StatusCode;
@@ -288,11 +276,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
288
276
  runs?: "summary" | undefined;
289
277
  };
290
278
  };
291
- };
292
- };
293
- }, "/"> | import("hono/types").MergeSchemaPath<{
294
- "/models": {
295
- $get: {
279
+ } | {
296
280
  output: {
297
281
  error: string;
298
282
  code?: "invalid_input" | undefined;
@@ -301,13 +285,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
301
285
  status: 400;
302
286
  input: {
303
287
  query: {
304
- runner: string | string[];
305
- profileId?: string | undefined;
288
+ runs?: "summary" | undefined;
306
289
  };
307
290
  };
308
- } | {
291
+ };
292
+ };
293
+ }, "/"> | import("hono/types").MergeSchemaPath<{
294
+ "/models": {
295
+ $get: {
309
296
  output: {
310
297
  error: string;
298
+ code?: "invalid_input" | undefined;
311
299
  };
312
300
  outputFormat: "json";
313
301
  status: 400;
@@ -338,11 +326,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
338
326
  profileId?: string | undefined;
339
327
  };
340
328
  };
329
+ } | {
330
+ output: {
331
+ error: string;
332
+ };
333
+ outputFormat: "json";
334
+ status: 400;
335
+ input: {
336
+ query: {
337
+ runner: string | string[];
338
+ profileId?: string | undefined;
339
+ };
340
+ };
341
341
  };
342
342
  };
343
343
  }, "/"> | import("hono/types").MergeSchemaPath<{
344
344
  "/workspace/activity": {
345
345
  $get: {
346
+ output: {
347
+ error: string;
348
+ code?: "invalid_input" | undefined;
349
+ };
350
+ outputFormat: "json";
351
+ status: 400;
352
+ input: {
353
+ query: {
354
+ project?: string | undefined;
355
+ };
356
+ };
357
+ } | {
358
+ output: {
359
+ error: string;
360
+ };
361
+ outputFormat: "json";
362
+ status: 404 | 409 | 503;
363
+ input: {
364
+ query: {
365
+ project?: string | undefined;
366
+ };
367
+ };
368
+ } | {
346
369
  output: {
347
370
  generatedAt: string;
348
371
  projects: {
@@ -593,29 +616,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
593
616
  project?: string | undefined;
594
617
  };
595
618
  };
596
- } | {
597
- output: {
598
- error: string;
599
- code?: "invalid_input" | undefined;
600
- };
601
- outputFormat: "json";
602
- status: 400;
603
- input: {
604
- query: {
605
- project?: string | undefined;
606
- };
607
- };
608
- } | {
609
- output: {
610
- error: string;
611
- };
612
- outputFormat: "json";
613
- status: 404 | 409 | 503;
614
- input: {
615
- query: {
616
- project?: string | undefined;
617
- };
618
- };
619
619
  };
620
620
  };
621
621
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -940,7 +940,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
940
940
  error: string;
941
941
  };
942
942
  outputFormat: "json";
943
- status: 400;
943
+ status: 409;
944
944
  input: {
945
945
  json: {
946
946
  provider: string;
@@ -952,7 +952,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
952
952
  error: string;
953
953
  };
954
954
  outputFormat: "json";
955
- status: 409;
955
+ status: 400;
956
956
  input: {
957
957
  json: {
958
958
  provider: string;
@@ -1205,10 +1205,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1205
1205
  };
1206
1206
  } | {
1207
1207
  output: {
1208
- error: string;
1208
+ providers: {
1209
+ requiresAccountHome?: boolean | undefined;
1210
+ provider: string;
1211
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1212
+ enabled?: boolean | undefined;
1213
+ hint?: string | undefined;
1214
+ authFailureId?: string | undefined;
1215
+ profileId?: string | undefined;
1216
+ }[];
1209
1217
  };
1210
1218
  outputFormat: "json";
1211
- status: 500;
1219
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1212
1220
  input: {
1213
1221
  param: {
1214
1222
  provider: string;
@@ -1220,18 +1228,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1220
1228
  };
1221
1229
  } | {
1222
1230
  output: {
1223
- providers: {
1224
- requiresAccountHome?: boolean | undefined;
1225
- provider: string;
1226
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1227
- enabled?: boolean | undefined;
1228
- hint?: string | undefined;
1229
- authFailureId?: string | undefined;
1230
- profileId?: string | undefined;
1231
- }[];
1231
+ error: string;
1232
1232
  };
1233
1233
  outputFormat: "json";
1234
- status: import("hono/utils/http-status").ContentfulStatusCode;
1234
+ status: 500;
1235
1235
  input: {
1236
1236
  param: {
1237
1237
  provider: string;
@@ -1263,10 +1263,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1263
1263
  };
1264
1264
  } | {
1265
1265
  output: {
1266
- error: string;
1266
+ providers: {
1267
+ requiresAccountHome?: boolean | undefined;
1268
+ provider: string;
1269
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1270
+ enabled?: boolean | undefined;
1271
+ hint?: string | undefined;
1272
+ authFailureId?: string | undefined;
1273
+ profileId?: string | undefined;
1274
+ }[];
1267
1275
  };
1268
1276
  outputFormat: "json";
1269
- status: 409;
1277
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1270
1278
  input: {
1271
1279
  param: {
1272
1280
  provider: string;
@@ -1278,18 +1286,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1278
1286
  };
1279
1287
  } | {
1280
1288
  output: {
1281
- providers: {
1282
- requiresAccountHome?: boolean | undefined;
1283
- provider: string;
1284
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1285
- enabled?: boolean | undefined;
1286
- hint?: string | undefined;
1287
- authFailureId?: string | undefined;
1288
- profileId?: string | undefined;
1289
- }[];
1289
+ error: string;
1290
1290
  };
1291
1291
  outputFormat: "json";
1292
- status: import("hono/utils/http-status").ContentfulStatusCode;
1292
+ status: 409;
1293
1293
  input: {
1294
1294
  param: {
1295
1295
  provider: string;
@@ -1308,7 +1308,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1308
1308
  error: string;
1309
1309
  };
1310
1310
  outputFormat: "json";
1311
- status: 400;
1311
+ status: 409;
1312
1312
  input: {
1313
1313
  json: {
1314
1314
  provider: string;
@@ -1320,7 +1320,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1320
1320
  error: string;
1321
1321
  };
1322
1322
  outputFormat: "json";
1323
- status: 409;
1323
+ status: 400;
1324
1324
  input: {
1325
1325
  json: {
1326
1326
  provider: string;
@@ -1408,10 +1408,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1408
1408
  "/workspace/config": {
1409
1409
  $put: {
1410
1410
  output: {
1411
- error: string;
1411
+ homeDir: string;
1412
+ browseRoot: string;
1413
+ projectsDir: string;
1414
+ archiveOnMerge: boolean | null;
1415
+ effectiveArchiveOnMerge: boolean;
1416
+ archiveOnMergeSource: "default" | "environment" | "global";
1417
+ composerDefaults: {
1418
+ autonomous: boolean | null;
1419
+ worktree: boolean | null;
1420
+ inheritedAutonomous: "source-dependent" | boolean;
1421
+ inheritedWorktree: boolean;
1422
+ };
1423
+ resources: {
1424
+ maxParallel: number;
1425
+ maxMonitoringSessions: number;
1426
+ monitoringWakeIntervalMinutes: number | null;
1427
+ autoResumeOnUsageLimit: boolean;
1428
+ memoryLimitMb: number | null;
1429
+ worktreeRetentionDefault: number;
1430
+ };
1431
+ agentDefaults: {
1432
+ runner?: string | undefined;
1433
+ models?: {
1434
+ [x: string]: string | undefined;
1435
+ } | undefined;
1436
+ };
1412
1437
  };
1413
1438
  outputFormat: "json";
1414
- status: 400;
1439
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1415
1440
  input: {
1416
1441
  json: {
1417
1442
  browseRoot?: string | undefined;
@@ -1440,7 +1465,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1440
1465
  error: string;
1441
1466
  };
1442
1467
  outputFormat: "json";
1443
- status: 500;
1468
+ status: 400;
1444
1469
  input: {
1445
1470
  json: {
1446
1471
  browseRoot?: string | undefined;
@@ -1466,35 +1491,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1466
1491
  };
1467
1492
  } | {
1468
1493
  output: {
1469
- homeDir: string;
1470
- browseRoot: string;
1471
- projectsDir: string;
1472
- archiveOnMerge: boolean | null;
1473
- effectiveArchiveOnMerge: boolean;
1474
- archiveOnMergeSource: "default" | "environment" | "global";
1475
- composerDefaults: {
1476
- autonomous: boolean | null;
1477
- worktree: boolean | null;
1478
- inheritedAutonomous: "source-dependent" | boolean;
1479
- inheritedWorktree: boolean;
1480
- };
1481
- resources: {
1482
- maxParallel: number;
1483
- maxMonitoringSessions: number;
1484
- monitoringWakeIntervalMinutes: number | null;
1485
- autoResumeOnUsageLimit: boolean;
1486
- memoryLimitMb: number | null;
1487
- worktreeRetentionDefault: number;
1488
- };
1489
- agentDefaults: {
1490
- runner?: string | undefined;
1491
- models?: {
1492
- [x: string]: string | undefined;
1493
- } | undefined;
1494
- };
1494
+ error: string;
1495
1495
  };
1496
1496
  outputFormat: "json";
1497
- status: import("hono/utils/http-status").ContentfulStatusCode;
1497
+ status: 500;
1498
1498
  input: {
1499
1499
  json: {
1500
1500
  browseRoot?: string | undefined;
@@ -1566,10 +1566,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1566
1566
  "/workspace/ui-state": {
1567
1567
  $put: {
1568
1568
  output: {
1569
- error: string;
1569
+ [x: string]: import("hono/utils/types").JSONValue;
1570
+ sidebar?: {
1571
+ [x: string]: import("hono/utils/types").JSONValue;
1572
+ collapsed?: {
1573
+ [x: string]: boolean;
1574
+ } | undefined;
1575
+ projectOrder?: string[] | undefined;
1576
+ } | undefined;
1577
+ dismissedProviderAuthFailures?: {
1578
+ [x: string]: string | undefined;
1579
+ } | undefined;
1580
+ appearance?: {
1581
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1582
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1583
+ width?: "narrow" | "wide" | undefined;
1584
+ } | undefined;
1585
+ notifications?: {
1586
+ [x: string]: import("hono/utils/types").JSONValue;
1587
+ enabled?: boolean | undefined;
1588
+ } | undefined;
1589
+ taskTable?: {
1590
+ [x: string]: import("hono/utils/types").JSONValue;
1591
+ expandedColumns?: {
1592
+ [x: string]: boolean;
1593
+ } | undefined;
1594
+ } | undefined;
1595
+ lastLocation?: {
1596
+ projectId: string;
1597
+ pathname: string;
1598
+ search?: string | undefined;
1599
+ hash?: string | undefined;
1600
+ } | undefined;
1570
1601
  };
1571
1602
  outputFormat: "json";
1572
- status: 500;
1603
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1573
1604
  input: {
1574
1605
  json: {
1575
1606
  [x: string]: unknown;
@@ -1602,41 +1633,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1602
1633
  };
1603
1634
  } | {
1604
1635
  output: {
1605
- [x: string]: import("hono/utils/types").JSONValue;
1606
- sidebar?: {
1607
- [x: string]: import("hono/utils/types").JSONValue;
1608
- collapsed?: {
1609
- [x: string]: boolean;
1610
- } | undefined;
1611
- projectOrder?: string[] | undefined;
1612
- } | undefined;
1613
- dismissedProviderAuthFailures?: {
1614
- [x: string]: string | undefined;
1615
- } | undefined;
1616
- appearance?: {
1617
- accent?: "cezarion" | "lime" | "violet" | undefined;
1618
- density?: "comfortable" | "compact" | "ultra" | undefined;
1619
- width?: "narrow" | "wide" | undefined;
1620
- } | undefined;
1621
- notifications?: {
1622
- [x: string]: import("hono/utils/types").JSONValue;
1623
- enabled?: boolean | undefined;
1624
- } | undefined;
1625
- taskTable?: {
1626
- [x: string]: import("hono/utils/types").JSONValue;
1627
- expandedColumns?: {
1628
- [x: string]: boolean;
1629
- } | undefined;
1630
- } | undefined;
1631
- lastLocation?: {
1632
- projectId: string;
1633
- pathname: string;
1634
- search?: string | undefined;
1635
- hash?: string | undefined;
1636
- } | undefined;
1636
+ error: string;
1637
1637
  };
1638
1638
  outputFormat: "json";
1639
- status: import("hono/utils/http-status").ContentfulStatusCode;
1639
+ status: 500;
1640
1640
  input: {
1641
1641
  json: {
1642
1642
  [x: string]: unknown;
@@ -1714,28 +1714,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1714
1714
  "/workspace/agent-profiles": {
1715
1715
  $post: {
1716
1716
  output: {
1717
- profile: {
1718
- id: string;
1719
- provider: string;
1720
- label: string;
1721
- configDir?: string | undefined;
1722
- path?: string | undefined;
1723
- exists: boolean;
1724
- looksValid: boolean;
1725
- isDefault: boolean;
1726
- status?: {
1727
- requiresAccountHome?: boolean | undefined;
1728
- provider: string;
1729
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1730
- enabled?: boolean | undefined;
1731
- hint?: string | undefined;
1732
- authFailureId?: string | undefined;
1733
- profileId?: string | undefined;
1734
- } | undefined;
1735
- };
1717
+ error: string;
1736
1718
  };
1737
1719
  outputFormat: "json";
1738
- status: 201;
1720
+ status: 409;
1739
1721
  input: {
1740
1722
  json: {
1741
1723
  provider: string;
@@ -1761,7 +1743,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1761
1743
  error: string;
1762
1744
  };
1763
1745
  outputFormat: "json";
1764
- status: 409;
1746
+ status: 500;
1765
1747
  input: {
1766
1748
  json: {
1767
1749
  provider: string;
@@ -1771,10 +1753,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1771
1753
  };
1772
1754
  } | {
1773
1755
  output: {
1774
- error: string;
1756
+ profile: {
1757
+ id: string;
1758
+ provider: string;
1759
+ label: string;
1760
+ configDir?: string | undefined;
1761
+ path?: string | undefined;
1762
+ exists: boolean;
1763
+ looksValid: boolean;
1764
+ isDefault: boolean;
1765
+ status?: {
1766
+ requiresAccountHome?: boolean | undefined;
1767
+ provider: string;
1768
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1769
+ enabled?: boolean | undefined;
1770
+ hint?: string | undefined;
1771
+ authFailureId?: string | undefined;
1772
+ profileId?: string | undefined;
1773
+ } | undefined;
1774
+ };
1775
1775
  };
1776
1776
  outputFormat: "json";
1777
- status: 500;
1777
+ status: 201;
1778
1778
  input: {
1779
1779
  json: {
1780
1780
  provider: string;
@@ -1808,7 +1808,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1808
1808
  error: string;
1809
1809
  };
1810
1810
  outputFormat: "json";
1811
- status: 400;
1811
+ status: 409;
1812
1812
  input: {
1813
1813
  param: {
1814
1814
  id: string;
@@ -1824,7 +1824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1824
1824
  error: string;
1825
1825
  };
1826
1826
  outputFormat: "json";
1827
- status: 404;
1827
+ status: 400;
1828
1828
  input: {
1829
1829
  param: {
1830
1830
  id: string;
@@ -1840,7 +1840,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1840
1840
  error: string;
1841
1841
  };
1842
1842
  outputFormat: "json";
1843
- status: 409;
1843
+ status: 404;
1844
1844
  input: {
1845
1845
  param: {
1846
1846
  id: string;
@@ -1966,9 +1966,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1966
1966
  $put: {
1967
1967
  output: {
1968
1968
  error: string;
1969
+ code: "no-boot-project";
1969
1970
  };
1970
1971
  outputFormat: "json";
1971
- status: 400;
1972
+ status: 409;
1972
1973
  input: {
1973
1974
  json: {
1974
1975
  projectId: string;
@@ -1992,10 +1993,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1992
1993
  } | {
1993
1994
  output: {
1994
1995
  error: string;
1995
- code: "no-boot-project";
1996
1996
  };
1997
1997
  outputFormat: "json";
1998
- status: 409;
1998
+ status: 400;
1999
1999
  input: {
2000
2000
  json: {
2001
2001
  projectId: string;
@@ -2059,7 +2059,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2059
2059
  error: string;
2060
2060
  };
2061
2061
  outputFormat: "json";
2062
- status: 404;
2062
+ status: 409;
2063
2063
  input: {
2064
2064
  param: {
2065
2065
  id: string;
@@ -2070,7 +2070,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2070
2070
  error: string;
2071
2071
  };
2072
2072
  outputFormat: "json";
2073
- status: 409;
2073
+ status: 500;
2074
2074
  input: {
2075
2075
  param: {
2076
2076
  id: string;
@@ -2081,7 +2081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2081
2081
  error: string;
2082
2082
  };
2083
2083
  outputFormat: "json";
2084
- status: 500;
2084
+ status: 404;
2085
2085
  input: {
2086
2086
  param: {
2087
2087
  id: string;
@@ -2145,6 +2145,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2145
2145
  } & {
2146
2146
  "/projects": {
2147
2147
  $post: {
2148
+ output: {
2149
+ error: string;
2150
+ };
2151
+ outputFormat: "json";
2152
+ status: 400 | 500;
2153
+ input: {
2154
+ json: {
2155
+ root: string;
2156
+ };
2157
+ };
2158
+ } | {
2148
2159
  output: {
2149
2160
  project: {
2150
2161
  id: string;
@@ -2175,10 +2186,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2175
2186
  agent: boolean;
2176
2187
  }[] | undefined;
2177
2188
  };
2178
- error?: string | undefined;
2189
+ error: string;
2179
2190
  };
2180
2191
  outputFormat: "json";
2181
- status: 200;
2192
+ status: 409;
2182
2193
  input: {
2183
2194
  json: {
2184
2195
  root: string;
@@ -2215,31 +2226,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2215
2226
  agent: boolean;
2216
2227
  }[] | undefined;
2217
2228
  };
2218
- error: string;
2229
+ error?: string | undefined;
2219
2230
  };
2220
2231
  outputFormat: "json";
2221
- status: 409;
2232
+ status: 200;
2222
2233
  input: {
2223
2234
  json: {
2224
2235
  root: string;
2225
2236
  };
2226
2237
  };
2227
- } | {
2238
+ };
2239
+ };
2240
+ } & {
2241
+ "/projects/:projectId": {
2242
+ $delete: {
2228
2243
  output: {
2229
2244
  error: string;
2245
+ code?: "no-boot-project" | undefined;
2230
2246
  };
2231
2247
  outputFormat: "json";
2232
- status: 400 | 500;
2248
+ status: 404 | 409;
2233
2249
  input: {
2234
- json: {
2235
- root: string;
2250
+ param: {
2251
+ projectId: string;
2236
2252
  };
2237
2253
  };
2238
- };
2239
- };
2240
- } & {
2241
- "/projects/:projectId": {
2242
- $delete: {
2254
+ } | {
2243
2255
  output: {
2244
2256
  error: string;
2245
2257
  };
@@ -2284,7 +2296,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2284
2296
  projectId: string;
2285
2297
  };
2286
2298
  };
2287
- } | {
2299
+ };
2300
+ };
2301
+ } & {
2302
+ "/projects/:projectId": {
2303
+ $patch: {
2288
2304
  output: {
2289
2305
  error: string;
2290
2306
  code?: "no-boot-project" | undefined;
@@ -2292,15 +2308,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2292
2308
  outputFormat: "json";
2293
2309
  status: 404 | 409;
2294
2310
  input: {
2311
+ json: {
2312
+ maxParallel?: number | null | undefined;
2313
+ tags?: string[] | null | undefined;
2314
+ webhook?: {
2315
+ url: string;
2316
+ token?: string | undefined;
2317
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2318
+ } | null | undefined;
2319
+ };
2320
+ } & {
2295
2321
  param: {
2296
2322
  projectId: string;
2297
2323
  };
2298
2324
  };
2299
- };
2300
- };
2301
- } & {
2302
- "/projects/:projectId": {
2303
- $patch: {
2325
+ } | {
2304
2326
  output: {
2305
2327
  error: string;
2306
2328
  };
@@ -2391,28 +2413,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2391
2413
  projectId: string;
2392
2414
  };
2393
2415
  };
2394
- } | {
2395
- output: {
2396
- error: string;
2397
- code?: "no-boot-project" | undefined;
2398
- };
2399
- outputFormat: "json";
2400
- status: 404 | 409;
2401
- input: {
2402
- json: {
2403
- maxParallel?: number | null | undefined;
2404
- tags?: string[] | null | undefined;
2405
- webhook?: {
2406
- url: string;
2407
- token?: string | undefined;
2408
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2409
- } | null | undefined;
2410
- };
2411
- } & {
2412
- param: {
2413
- projectId: string;
2414
- };
2415
- };
2416
2416
  };
2417
2417
  };
2418
2418
  } & {
@@ -2647,15 +2647,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2647
2647
  "/runner-install/:runner": {
2648
2648
  $post: {
2649
2649
  output: {
2650
- supported: boolean;
2651
- installedVersion: string | null;
2652
- latestVersion: string | null;
2653
- updateAvailable: boolean;
2654
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2655
- error: string | null;
2650
+ error: string;
2651
+ code?: "invalid_input" | undefined;
2656
2652
  };
2657
2653
  outputFormat: "json";
2658
- status: 202;
2654
+ status: 400;
2659
2655
  input: {
2660
2656
  param: {
2661
2657
  runner: string;
@@ -2667,11 +2663,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2667
2663
  };
2668
2664
  } | {
2669
2665
  output: {
2670
- error: string;
2671
- code?: "invalid_input" | undefined;
2666
+ supported: boolean;
2667
+ installedVersion: string | null;
2668
+ latestVersion: string | null;
2669
+ updateAvailable: boolean;
2670
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2671
+ error: string | null;
2672
2672
  };
2673
2673
  outputFormat: "json";
2674
- status: 400;
2674
+ status: 202;
2675
2675
  input: {
2676
2676
  param: {
2677
2677
  runner: string;
@@ -2746,18 +2746,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2746
2746
  "/workspace/identity": {
2747
2747
  $get: {
2748
2748
  output: {
2749
- installId: string;
2750
- version: string;
2749
+ error: string;
2751
2750
  };
2752
2751
  outputFormat: "json";
2753
- status: 200;
2752
+ status: 503;
2754
2753
  input: {};
2755
2754
  } | {
2756
2755
  output: {
2757
- error: string;
2756
+ installId: string;
2757
+ version: string;
2758
2758
  };
2759
2759
  outputFormat: "json";
2760
- status: 503;
2760
+ status: 200;
2761
2761
  input: {};
2762
2762
  };
2763
2763
  };
@@ -3047,6 +3047,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3047
3047
  }, "/"> | import("hono/types").MergeSchemaPath<{
3048
3048
  "/plan": {
3049
3049
  $post: {
3050
+ output: {
3051
+ error: string;
3052
+ };
3053
+ outputFormat: "json";
3054
+ status: 400 | 404 | 409;
3055
+ input: {
3056
+ json: {
3057
+ task: string;
3058
+ agentProfile?: string | undefined;
3059
+ };
3060
+ };
3061
+ } | {
3050
3062
  output: {
3051
3063
  name?: string;
3052
3064
  steps: {
@@ -3083,18 +3095,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3083
3095
  agentProfile?: string | undefined;
3084
3096
  };
3085
3097
  };
3086
- } | {
3087
- output: {
3088
- error: string;
3089
- };
3090
- outputFormat: "json";
3091
- status: 400 | 404 | 409;
3092
- input: {
3093
- json: {
3094
- task: string;
3095
- agentProfile?: string | undefined;
3096
- };
3097
- };
3098
3098
  };
3099
3099
  };
3100
3100
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3144,10 +3144,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3144
3144
  "/ui-state": {
3145
3145
  $put: {
3146
3146
  output: {
3147
- error: string;
3147
+ [x: string]: import("hono/utils/types").JSONValue;
3148
+ sidebarLimits?: {
3149
+ overall?: number | null | undefined;
3150
+ needsYou?: number | null | undefined;
3151
+ finished?: number | null | undefined;
3152
+ working?: number | null | undefined;
3153
+ } | undefined;
3154
+ lastTask?: {
3155
+ source: "skill" | "workflow";
3156
+ ref: string;
3157
+ } | null | undefined;
3158
+ recentSources?: {
3159
+ source: "skill" | "workflow";
3160
+ ref: string;
3161
+ }[] | undefined;
3162
+ lastWorktree?: boolean | undefined;
3163
+ lastAutonomous?: boolean | undefined;
3164
+ skillUsage?: {
3165
+ [x: string]: number;
3166
+ } | undefined;
3167
+ runsView?: "list" | "table" | undefined;
3168
+ githubView?: "issues" | "prs" | undefined;
3169
+ appearance?: {
3170
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3171
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3172
+ width?: "narrow" | "wide" | undefined;
3173
+ } | undefined;
3174
+ promptTemplates?: {
3175
+ id: string;
3176
+ label: string;
3177
+ text: string;
3178
+ skills?: string[] | undefined;
3179
+ }[] | undefined;
3148
3180
  };
3149
3181
  outputFormat: "json";
3150
- status: 500;
3182
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3151
3183
  input: {
3152
3184
  json: {
3153
3185
  [x: string]: unknown;
@@ -3185,42 +3217,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3185
3217
  };
3186
3218
  } | {
3187
3219
  output: {
3188
- [x: string]: import("hono/utils/types").JSONValue;
3189
- sidebarLimits?: {
3190
- overall?: number | null | undefined;
3191
- needsYou?: number | null | undefined;
3192
- finished?: number | null | undefined;
3193
- working?: number | null | undefined;
3194
- } | undefined;
3195
- lastTask?: {
3196
- source: "skill" | "workflow";
3197
- ref: string;
3198
- } | null | undefined;
3199
- recentSources?: {
3200
- source: "skill" | "workflow";
3201
- ref: string;
3202
- }[] | undefined;
3203
- lastWorktree?: boolean | undefined;
3204
- lastAutonomous?: boolean | undefined;
3205
- skillUsage?: {
3206
- [x: string]: number;
3207
- } | undefined;
3208
- runsView?: "list" | "table" | undefined;
3209
- githubView?: "issues" | "prs" | undefined;
3210
- appearance?: {
3211
- accent?: "cezarion" | "lime" | "violet" | undefined;
3212
- density?: "comfortable" | "compact" | "ultra" | undefined;
3213
- width?: "narrow" | "wide" | undefined;
3214
- } | undefined;
3215
- promptTemplates?: {
3216
- id: string;
3217
- label: string;
3218
- text: string;
3219
- skills?: string[] | undefined;
3220
- }[] | undefined;
3220
+ error: string;
3221
3221
  };
3222
3222
  outputFormat: "json";
3223
- status: import("hono/utils/http-status").ContentfulStatusCode;
3223
+ status: 500;
3224
3224
  input: {
3225
3225
  json: {
3226
3226
  [x: string]: unknown;
@@ -3297,10 +3297,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3297
3297
  "/config": {
3298
3298
  $put: {
3299
3299
  output: {
3300
- error: string;
3300
+ archiveOnMerge: boolean | null;
3301
+ effectiveArchiveOnMerge: boolean;
3302
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3303
+ baseBranch: string | null;
3304
+ defaultRunner: string;
3305
+ systemPrompt: string | null;
3306
+ defaultModels: {
3307
+ [x: string]: string | undefined;
3308
+ };
3309
+ modelsLocked: boolean;
3310
+ maxParallel: number;
3311
+ memoryLimitMb: number | null;
3312
+ worktreeRetention: number;
3313
+ liveTitleUpdates: boolean | null;
3314
+ reviewGate: boolean | null;
3315
+ worktreeSetup: {
3316
+ commands: string[];
3317
+ timeoutSeconds: number;
3318
+ } | null;
3319
+ worktreeSetupIssue: string | null;
3320
+ worktreeTeardown: {
3321
+ commands: string[];
3322
+ timeoutSeconds: number;
3323
+ } | null;
3324
+ worktreeTeardownIssue: string | null;
3301
3325
  };
3302
3326
  outputFormat: "json";
3303
- status: 409;
3327
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3304
3328
  input: {
3305
3329
  json: {
3306
3330
  archiveOnMerge?: boolean | null | undefined;
@@ -3328,7 +3352,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3328
3352
  error: string;
3329
3353
  };
3330
3354
  outputFormat: "json";
3331
- status: 500;
3355
+ status: 409;
3332
3356
  input: {
3333
3357
  json: {
3334
3358
  archiveOnMerge?: boolean | null | undefined;
@@ -3353,34 +3377,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3353
3377
  };
3354
3378
  } | {
3355
3379
  output: {
3356
- archiveOnMerge: boolean | null;
3357
- effectiveArchiveOnMerge: boolean;
3358
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3359
- baseBranch: string | null;
3360
- defaultRunner: string;
3361
- systemPrompt: string | null;
3362
- defaultModels: {
3363
- [x: string]: string | undefined;
3364
- };
3365
- modelsLocked: boolean;
3366
- maxParallel: number;
3367
- memoryLimitMb: number | null;
3368
- worktreeRetention: number;
3369
- liveTitleUpdates: boolean | null;
3370
- reviewGate: boolean | null;
3371
- worktreeSetup: {
3372
- commands: string[];
3373
- timeoutSeconds: number;
3374
- } | null;
3375
- worktreeSetupIssue: string | null;
3376
- worktreeTeardown: {
3377
- commands: string[];
3378
- timeoutSeconds: number;
3379
- } | null;
3380
- worktreeTeardownIssue: string | null;
3380
+ error: string;
3381
3381
  };
3382
3382
  outputFormat: "json";
3383
- status: import("hono/utils/http-status").ContentfulStatusCode;
3383
+ status: 500;
3384
3384
  input: {
3385
3385
  json: {
3386
3386
  archiveOnMerge?: boolean | null | undefined;
@@ -3408,12 +3408,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3408
3408
  }, "/"> | import("hono/types").MergeSchemaPath<{
3409
3409
  "/runs/:id/events": {
3410
3410
  $get: {
3411
- output: {
3412
- error: string;
3413
- code?: "invalid_input" | undefined;
3414
- };
3415
- outputFormat: "json";
3416
- status: 400;
3411
+ output: {};
3412
+ outputFormat: string;
3413
+ status: import("hono/utils/http-status").StatusCode;
3417
3414
  input: {
3418
3415
  param: {
3419
3416
  id: string;
@@ -3425,9 +3422,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3425
3422
  };
3426
3423
  };
3427
3424
  } | {
3428
- output: {};
3429
- outputFormat: string;
3430
- status: import("hono/utils/http-status").StatusCode;
3425
+ output: {
3426
+ error: string;
3427
+ code?: "invalid_input" | undefined;
3428
+ };
3429
+ outputFormat: "json";
3430
+ status: 400;
3431
3431
  input: {
3432
3432
  param: {
3433
3433
  id: string;
@@ -3471,7 +3471,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3471
3471
  error: string;
3472
3472
  };
3473
3473
  outputFormat: "json";
3474
- status: 400;
3474
+ status: 409;
3475
3475
  input: {
3476
3476
  json: {
3477
3477
  target: string;
@@ -3482,7 +3482,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3482
3482
  error: string;
3483
3483
  };
3484
3484
  outputFormat: "json";
3485
- status: 409;
3485
+ status: 400;
3486
3486
  input: {
3487
3487
  json: {
3488
3488
  target: string;
@@ -3590,10 +3590,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3590
3590
  "/agent-config/:id": {
3591
3591
  $put: {
3592
3592
  output: {
3593
- error: string;
3593
+ id: string;
3594
+ path: string;
3595
+ exists: boolean;
3596
+ content: string;
3597
+ version: string | null;
3594
3598
  };
3595
3599
  outputFormat: "json";
3596
- status: 404;
3600
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3597
3601
  input: {
3598
3602
  json: {
3599
3603
  content: string;
@@ -3606,14 +3610,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3606
3610
  };
3607
3611
  } | {
3608
3612
  output: {
3609
- id: string;
3610
- path: string;
3611
- exists: boolean;
3612
- content: string;
3613
- version: string | null;
3613
+ error: string;
3614
3614
  };
3615
3615
  outputFormat: "json";
3616
- status: import("hono/utils/http-status").ContentfulStatusCode;
3616
+ status: 404;
3617
3617
  input: {
3618
3618
  json: {
3619
3619
  content: string;
@@ -3713,11 +3713,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3713
3713
  };
3714
3714
  } | {
3715
3715
  output: {
3716
- runId: string;
3717
- worktreeReclaimedAt: string;
3716
+ error: string;
3718
3717
  };
3719
3718
  outputFormat: "json";
3720
- status: import("hono/utils/http-status").ContentfulStatusCode;
3719
+ status: 404 | 409;
3721
3720
  input: {
3722
3721
  param: {
3723
3722
  runId: string;
@@ -3729,10 +3728,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3729
3728
  };
3730
3729
  } | {
3731
3730
  output: {
3732
- error: string;
3731
+ runId: string;
3732
+ worktreeReclaimedAt: string;
3733
3733
  };
3734
3734
  outputFormat: "json";
3735
- status: 404 | 409;
3735
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3736
3736
  input: {
3737
3737
  param: {
3738
3738
  runId: string;
@@ -3892,11 +3892,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3892
3892
  "/workflows": {
3893
3893
  $post: {
3894
3894
  output: {
3895
- path: string;
3896
- name: string;
3895
+ error: string;
3897
3896
  };
3898
3897
  outputFormat: "json";
3899
- status: 201;
3898
+ status: 400;
3900
3899
  input: {
3901
3900
  json: {
3902
3901
  name: string;
@@ -3929,9 +3928,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3929
3928
  } | {
3930
3929
  output: {
3931
3930
  error: string;
3931
+ exists: true;
3932
3932
  };
3933
3933
  outputFormat: "json";
3934
- status: 400;
3934
+ status: 409;
3935
3935
  input: {
3936
3936
  json: {
3937
3937
  name: string;
@@ -3964,10 +3964,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3964
3964
  } | {
3965
3965
  output: {
3966
3966
  error: string;
3967
- exists: true;
3968
3967
  };
3969
3968
  outputFormat: "json";
3970
- status: 409;
3969
+ status: 500;
3971
3970
  input: {
3972
3971
  json: {
3973
3972
  name: string;
@@ -3999,10 +3998,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3999
3998
  };
4000
3999
  } | {
4001
4000
  output: {
4002
- error: string;
4001
+ path: string;
4002
+ name: string;
4003
4003
  };
4004
4004
  outputFormat: "json";
4005
- status: 500;
4005
+ status: 201;
4006
4006
  input: {
4007
4007
  json: {
4008
4008
  name: string;
@@ -4038,11 +4038,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4038
4038
  "/workflows/:name": {
4039
4039
  $delete: {
4040
4040
  output: {
4041
- ok: true;
4042
- path: string;
4041
+ error: string;
4043
4042
  };
4044
4043
  outputFormat: "json";
4045
- status: import("hono/utils/http-status").ContentfulStatusCode;
4044
+ status: 400 | 404 | 409 | 500;
4046
4045
  input: {
4047
4046
  param: {
4048
4047
  name: string;
@@ -4050,10 +4049,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4050
4049
  };
4051
4050
  } | {
4052
4051
  output: {
4053
- error: string;
4052
+ ok: true;
4053
+ path: string;
4054
4054
  };
4055
4055
  outputFormat: "json";
4056
- status: 400 | 404 | 409 | 500;
4056
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4057
4057
  input: {
4058
4058
  param: {
4059
4059
  name: string;
@@ -4994,18 +4994,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4994
4994
  "/repo/branches/delete": {
4995
4995
  $post: {
4996
4996
  output: {
4997
- deleted: string[];
4997
+ error: string;
4998
4998
  refused: {
4999
4999
  name: string;
5000
5000
  reason: string;
5001
5001
  }[];
5002
- dropped?: {
5003
- sha: string;
5004
- subject: string;
5005
- }[] | undefined;
5006
5002
  };
5007
5003
  outputFormat: "json";
5008
- status: 200;
5004
+ status: 409;
5009
5005
  input: {
5010
5006
  json: {
5011
5007
  names: string[];
@@ -5014,14 +5010,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5014
5010
  };
5015
5011
  } | {
5016
5012
  output: {
5017
- error: string;
5013
+ deleted: string[];
5018
5014
  refused: {
5019
5015
  name: string;
5020
5016
  reason: string;
5021
5017
  }[];
5018
+ dropped?: {
5019
+ sha: string;
5020
+ subject: string;
5021
+ }[] | undefined;
5022
5022
  };
5023
5023
  outputFormat: "json";
5024
- status: 409;
5024
+ status: 200;
5025
5025
  input: {
5026
5026
  json: {
5027
5027
  names: string[];
@@ -5042,12 +5042,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5042
5042
  } & {
5043
5043
  "/repo/commit/:sha": {
5044
5044
  $get: {
5045
- output: {
5046
- error: string;
5047
- code?: "invalid_input" | undefined;
5048
- };
5049
- outputFormat: "json";
5050
- status: 400;
5045
+ output: string;
5046
+ outputFormat: "text";
5047
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5051
5048
  input: {
5052
5049
  query: {
5053
5050
  structured?: string | undefined;
@@ -5060,9 +5057,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5060
5057
  } | {
5061
5058
  output: {
5062
5059
  error: string;
5060
+ code?: "invalid_input" | undefined;
5063
5061
  };
5064
5062
  outputFormat: "json";
5065
- status: 409;
5063
+ status: 400;
5066
5064
  input: {
5067
5065
  query: {
5068
5066
  structured?: string | undefined;
@@ -5106,9 +5104,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5106
5104
  };
5107
5105
  };
5108
5106
  } | {
5109
- output: string;
5110
- outputFormat: "text";
5111
- status: import("hono/utils/http-status").ContentfulStatusCode;
5107
+ output: {
5108
+ error: string;
5109
+ };
5110
+ outputFormat: "json";
5111
+ status: 409;
5112
5112
  input: {
5113
5113
  query: {
5114
5114
  structured?: string | undefined;
@@ -5140,10 +5140,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5140
5140
  };
5141
5141
  } | {
5142
5142
  output: {
5143
- error: string;
5143
+ type: 'file';
5144
+ path: string;
5145
+ size: number;
5146
+ binary: boolean;
5147
+ tooLarge: boolean;
5148
+ content?: string | undefined;
5144
5149
  };
5145
5150
  outputFormat: "json";
5146
- status: 409;
5151
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5147
5152
  input: {
5148
5153
  param: {
5149
5154
  sha: string;
@@ -5155,15 +5160,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5155
5160
  };
5156
5161
  } | {
5157
5162
  output: {
5158
- type: 'file';
5159
- path: string;
5160
- size: number;
5161
- binary: boolean;
5162
- tooLarge: boolean;
5163
- content?: string | undefined;
5163
+ error: string;
5164
5164
  };
5165
5165
  outputFormat: "json";
5166
- status: import("hono/utils/http-status").ContentfulStatusCode;
5166
+ status: 409;
5167
5167
  input: {
5168
5168
  param: {
5169
5169
  sha: string;
@@ -5191,10 +5191,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5191
5191
  };
5192
5192
  } | {
5193
5193
  output: {
5194
- error: string;
5194
+ type: 'file';
5195
+ path: string;
5196
+ size: number;
5197
+ binary: boolean;
5198
+ tooLarge: boolean;
5199
+ content?: string | undefined;
5195
5200
  };
5196
5201
  outputFormat: "json";
5197
- status: 409;
5202
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5198
5203
  input: {
5199
5204
  query: {
5200
5205
  path: string | string[];
@@ -5202,15 +5207,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5202
5207
  };
5203
5208
  } | {
5204
5209
  output: {
5205
- type: 'file';
5206
- path: string;
5207
- size: number;
5208
- binary: boolean;
5209
- tooLarge: boolean;
5210
- content?: string | undefined;
5210
+ error: string;
5211
5211
  };
5212
5212
  outputFormat: "json";
5213
- status: import("hono/utils/http-status").ContentfulStatusCode;
5213
+ status: 409;
5214
5214
  input: {
5215
5215
  query: {
5216
5216
  path: string | string[];
@@ -5221,13 +5221,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5221
5221
  } & {
5222
5222
  "/repo/changes": {
5223
5223
  $get: {
5224
- output: {
5225
- error: string;
5226
- };
5227
- outputFormat: "json";
5228
- status: 409;
5229
- input: {};
5230
- } | {
5231
5224
  output: {
5232
5225
  files: {
5233
5226
  path: string;
@@ -5252,6 +5245,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5252
5245
  outputFormat: "json";
5253
5246
  status: import("hono/utils/http-status").ContentfulStatusCode;
5254
5247
  input: {};
5248
+ } | {
5249
+ output: {
5250
+ error: string;
5251
+ };
5252
+ outputFormat: "json";
5253
+ status: 409;
5254
+ input: {};
5255
5255
  };
5256
5256
  };
5257
5257
  } & {
@@ -5276,12 +5276,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5276
5276
  "/repo/pull": {
5277
5277
  $post: {
5278
5278
  output: {
5279
- branch: string;
5280
- pulled: true;
5281
- summary: string;
5279
+ error: string;
5282
5280
  };
5283
5281
  outputFormat: "json";
5284
- status: 200;
5282
+ status: 409;
5285
5283
  input: {
5286
5284
  json: {
5287
5285
  branch?: string | undefined;
@@ -5290,10 +5288,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5290
5288
  };
5291
5289
  } | {
5292
5290
  output: {
5293
- error: string;
5291
+ branch: string;
5292
+ pulled: true;
5293
+ summary: string;
5294
5294
  };
5295
5295
  outputFormat: "json";
5296
- status: 409;
5296
+ status: 200;
5297
5297
  input: {
5298
5298
  json: {
5299
5299
  branch?: string | undefined;
@@ -6518,18 +6518,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6518
6518
  } & {
6519
6519
  "/run-summaries": {
6520
6520
  $get: {
6521
- output: {
6522
- error: string;
6523
- code?: "invalid_input" | undefined;
6524
- };
6525
- outputFormat: "json";
6526
- status: 400;
6527
- input: {
6528
- query: {
6529
- archived?: "all" | "recent" | undefined;
6530
- };
6531
- };
6532
- } | {
6533
6521
  output: {
6534
6522
  id: string;
6535
6523
  title: string;
@@ -6667,6 +6655,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6667
6655
  archived?: "all" | "recent" | undefined;
6668
6656
  };
6669
6657
  };
6658
+ } | {
6659
+ output: {
6660
+ error: string;
6661
+ code?: "invalid_input" | undefined;
6662
+ };
6663
+ outputFormat: "json";
6664
+ status: 400;
6665
+ input: {
6666
+ query: {
6667
+ archived?: "all" | "recent" | undefined;
6668
+ };
6669
+ };
6670
6670
  };
6671
6671
  };
6672
6672
  } & {
@@ -7028,24 +7028,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7028
7028
  "/runs/:id/worker-destroy": {
7029
7029
  $post: {
7030
7030
  output: {
7031
- workerId: string;
7032
- state: "complete" | "incomplete";
7033
- work?: {
7034
- uncommittedFiles: number;
7035
- commits: number;
7031
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7032
+ readonly error: string;
7033
+ readonly modelChoices?: {
7034
+ runner: string;
7035
+ requestedModel: string;
7036
+ availableModels: {
7037
+ id: string;
7038
+ label: string;
7039
+ description: string;
7040
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7041
+ }[];
7042
+ otherRunners: string[];
7036
7043
  } | undefined;
7037
- deleted?: ({
7038
- kind: "worktree";
7039
- path: string;
7040
- } | {
7041
- kind: "branch";
7042
- ref: string;
7043
- })[] | undefined;
7044
- remaining: ("branch" | "process" | "worktree")[];
7045
- error?: string | undefined;
7046
7044
  };
7047
7045
  outputFormat: "json";
7048
- status: 200;
7046
+ status: 400 | 401 | 403 | 409 | 503;
7049
7047
  input: {
7050
7048
  query: {
7051
7049
  [x: string]: string | string[];
@@ -7098,7 +7096,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7098
7096
  error?: string | undefined;
7099
7097
  };
7100
7098
  outputFormat: "json";
7101
- status: 409;
7099
+ status: 200;
7102
7100
  input: {
7103
7101
  query: {
7104
7102
  [x: string]: string | string[];
@@ -7114,22 +7112,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7114
7112
  };
7115
7113
  } | {
7116
7114
  output: {
7117
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7118
- readonly error: string;
7119
- readonly modelChoices?: {
7120
- runner: string;
7121
- requestedModel: string;
7122
- availableModels: {
7123
- id: string;
7124
- label: string;
7125
- description: string;
7126
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7127
- }[];
7128
- otherRunners: string[];
7115
+ workerId: string;
7116
+ state: "complete" | "incomplete";
7117
+ work?: {
7118
+ uncommittedFiles: number;
7119
+ commits: number;
7129
7120
  } | undefined;
7121
+ deleted?: ({
7122
+ kind: "worktree";
7123
+ path: string;
7124
+ } | {
7125
+ kind: "branch";
7126
+ ref: string;
7127
+ })[] | undefined;
7128
+ remaining: ("branch" | "process" | "worktree")[];
7129
+ error?: string | undefined;
7130
7130
  };
7131
7131
  outputFormat: "json";
7132
- status: 400 | 401 | 403 | 409 | 503;
7132
+ status: 409;
7133
7133
  input: {
7134
7134
  query: {
7135
7135
  [x: string]: string | string[];
@@ -7181,21 +7181,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7181
7181
  } & {
7182
7182
  "/runs/:id/archive": {
7183
7183
  $post: {
7184
- output: {
7185
- error: string;
7186
- };
7187
- outputFormat: "json";
7188
- status: 404;
7189
- input: {
7190
- json: {
7191
- archived?: boolean | undefined;
7192
- };
7193
- } & {
7194
- param: {
7195
- id: string;
7196
- };
7197
- };
7198
- } | {
7199
7184
  output: {
7200
7185
  archiveWhenDone?: boolean | undefined;
7201
7186
  autoMergePr?: boolean | undefined;
@@ -8375,32 +8360,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8375
8360
  id: string;
8376
8361
  };
8377
8362
  };
8378
- };
8379
- };
8380
- } & {
8381
- "/runs/:id/pin": {
8382
- $post: {
8363
+ } | {
8383
8364
  output: {
8384
8365
  error: string;
8385
- code?: "invalid_input" | undefined;
8386
8366
  };
8387
8367
  outputFormat: "json";
8388
- status: 400;
8368
+ status: 404;
8389
8369
  input: {
8390
- param: {
8391
- id: string;
8370
+ json: {
8371
+ archived?: boolean | undefined;
8392
8372
  };
8393
8373
  } & {
8394
- json: {
8395
- pinned?: boolean | undefined;
8374
+ param: {
8375
+ id: string;
8396
8376
  };
8397
8377
  };
8398
- } | {
8378
+ };
8379
+ };
8380
+ } & {
8381
+ "/runs/:id/pin": {
8382
+ $post: {
8399
8383
  output: {
8400
8384
  error: string;
8385
+ code?: "invalid_input" | undefined;
8401
8386
  };
8402
8387
  outputFormat: "json";
8403
- status: 404;
8388
+ status: 400;
8404
8389
  input: {
8405
8390
  param: {
8406
8391
  id: string;
@@ -9590,6 +9575,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9590
9575
  pinned?: boolean | undefined;
9591
9576
  };
9592
9577
  };
9578
+ } | {
9579
+ output: {
9580
+ error: string;
9581
+ };
9582
+ outputFormat: "json";
9583
+ status: 404;
9584
+ input: {
9585
+ param: {
9586
+ id: string;
9587
+ };
9588
+ } & {
9589
+ json: {
9590
+ pinned?: boolean | undefined;
9591
+ };
9592
+ };
9593
9593
  };
9594
9594
  };
9595
9595
  } & {
@@ -9611,6 +9611,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9611
9611
  message?: string | undefined;
9612
9612
  };
9613
9613
  };
9614
+ } | {
9615
+ output: {
9616
+ error: string;
9617
+ };
9618
+ outputFormat: "json";
9619
+ status: 400 | 404 | 409;
9620
+ input: {
9621
+ param: {
9622
+ id: string;
9623
+ };
9624
+ } & {
9625
+ json: {
9626
+ notify: boolean;
9627
+ message?: string | undefined;
9628
+ };
9629
+ };
9614
9630
  } | {
9615
9631
  output: {
9616
9632
  archiveWhenDone?: boolean | undefined;
@@ -10792,22 +10808,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10792
10808
  message?: string | undefined;
10793
10809
  };
10794
10810
  };
10795
- } | {
10796
- output: {
10797
- error: string;
10798
- };
10799
- outputFormat: "json";
10800
- status: 400 | 404 | 409;
10801
- input: {
10802
- param: {
10803
- id: string;
10804
- };
10805
- } & {
10806
- json: {
10807
- notify: boolean;
10808
- message?: string | undefined;
10809
- };
10810
- };
10811
10811
  };
10812
10812
  };
10813
10813
  } & {
@@ -10839,17 +10839,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10839
10839
  } & {
10840
10840
  "/runs/:id/read": {
10841
10841
  $post: {
10842
- output: {
10843
- error: string;
10844
- };
10845
- outputFormat: "json";
10846
- status: 404;
10847
- input: {
10848
- param: {
10849
- id: string;
10850
- };
10851
- };
10852
- } | {
10853
10842
  output: {
10854
10843
  archiveWhenDone?: boolean | undefined;
10855
10844
  autoMergePr?: boolean | undefined;
@@ -12025,11 +12014,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12025
12014
  id: string;
12026
12015
  };
12027
12016
  };
12028
- };
12029
- };
12030
- } & {
12031
- "/runs/:id/unread": {
12032
- $post: {
12017
+ } | {
12033
12018
  output: {
12034
12019
  error: string;
12035
12020
  };
@@ -12040,7 +12025,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12040
12025
  id: string;
12041
12026
  };
12042
12027
  };
12043
- } | {
12028
+ };
12029
+ };
12030
+ } & {
12031
+ "/runs/:id/unread": {
12032
+ $post: {
12044
12033
  output: {
12045
12034
  archiveWhenDone?: boolean | undefined;
12046
12035
  autoMergePr?: boolean | undefined;
@@ -13216,6 +13205,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13216
13205
  id: string;
13217
13206
  };
13218
13207
  };
13208
+ } | {
13209
+ output: {
13210
+ error: string;
13211
+ };
13212
+ outputFormat: "json";
13213
+ status: 404;
13214
+ input: {
13215
+ param: {
13216
+ id: string;
13217
+ };
13218
+ };
13219
13219
  };
13220
13220
  };
13221
13221
  } & {
@@ -14492,17 +14492,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14492
14492
  } & {
14493
14493
  "/runs/:id": {
14494
14494
  $get: {
14495
- output: {
14496
- error: string;
14497
- };
14498
- outputFormat: "json";
14499
- status: 404;
14500
- input: {
14501
- param: {
14502
- id: string;
14503
- };
14504
- };
14505
- } | {
14506
14495
  output: {
14507
14496
  archiveWhenDone?: boolean | undefined;
14508
14497
  autoMergePr?: boolean | undefined;
@@ -15686,6 +15675,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15686
15675
  id: string;
15687
15676
  };
15688
15677
  };
15678
+ } | {
15679
+ output: {
15680
+ error: string;
15681
+ };
15682
+ outputFormat: "json";
15683
+ status: 404;
15684
+ input: {
15685
+ param: {
15686
+ id: string;
15687
+ };
15688
+ };
15689
15689
  };
15690
15690
  };
15691
15691
  } & {
@@ -15813,66 +15813,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15813
15813
  } & {
15814
15814
  "/runs/:id": {
15815
15815
  $patch: {
15816
- output: {
15817
- error: string;
15818
- };
15819
- outputFormat: "json";
15820
- status: 400;
15821
- input: {
15822
- json: {
15823
- archiveWhenDone?: boolean | undefined;
15824
- autoMergePr?: boolean | undefined;
15825
- allowWorkers?: boolean | undefined;
15826
- allowMessaging?: boolean | undefined;
15827
- title?: string | undefined;
15828
- task?: string | undefined;
15829
- };
15830
- } & {
15831
- param: {
15832
- id: string;
15833
- };
15834
- };
15835
- } | {
15836
- output: {
15837
- error: string;
15838
- };
15839
- outputFormat: "json";
15840
- status: 404;
15841
- input: {
15842
- json: {
15843
- archiveWhenDone?: boolean | undefined;
15844
- autoMergePr?: boolean | undefined;
15845
- allowWorkers?: boolean | undefined;
15846
- allowMessaging?: boolean | undefined;
15847
- title?: string | undefined;
15848
- task?: string | undefined;
15849
- };
15850
- } & {
15851
- param: {
15852
- id: string;
15853
- };
15854
- };
15855
- } | {
15856
- output: {
15857
- error: string;
15858
- };
15859
- outputFormat: "json";
15860
- status: 409;
15861
- input: {
15862
- json: {
15863
- archiveWhenDone?: boolean | undefined;
15864
- autoMergePr?: boolean | undefined;
15865
- allowWorkers?: boolean | undefined;
15866
- allowMessaging?: boolean | undefined;
15867
- title?: string | undefined;
15868
- task?: string | undefined;
15869
- };
15870
- } & {
15871
- param: {
15872
- id: string;
15873
- };
15874
- };
15875
- } | {
15876
15816
  output: {
15877
15817
  archiveWhenDone?: boolean | undefined;
15878
15818
  autoMergePr?: boolean | undefined;
@@ -17057,6 +16997,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17057
16997
  id: string;
17058
16998
  };
17059
16999
  };
17000
+ } | {
17001
+ output: {
17002
+ error: string;
17003
+ };
17004
+ outputFormat: "json";
17005
+ status: 404;
17006
+ input: {
17007
+ json: {
17008
+ archiveWhenDone?: boolean | undefined;
17009
+ autoMergePr?: boolean | undefined;
17010
+ allowWorkers?: boolean | undefined;
17011
+ allowMessaging?: boolean | undefined;
17012
+ title?: string | undefined;
17013
+ task?: string | undefined;
17014
+ };
17015
+ } & {
17016
+ param: {
17017
+ id: string;
17018
+ };
17019
+ };
17020
+ } | {
17021
+ output: {
17022
+ error: string;
17023
+ };
17024
+ outputFormat: "json";
17025
+ status: 400;
17026
+ input: {
17027
+ json: {
17028
+ archiveWhenDone?: boolean | undefined;
17029
+ autoMergePr?: boolean | undefined;
17030
+ allowWorkers?: boolean | undefined;
17031
+ allowMessaging?: boolean | undefined;
17032
+ title?: string | undefined;
17033
+ task?: string | undefined;
17034
+ };
17035
+ } & {
17036
+ param: {
17037
+ id: string;
17038
+ };
17039
+ };
17040
+ } | {
17041
+ output: {
17042
+ error: string;
17043
+ };
17044
+ outputFormat: "json";
17045
+ status: 409;
17046
+ input: {
17047
+ json: {
17048
+ archiveWhenDone?: boolean | undefined;
17049
+ autoMergePr?: boolean | undefined;
17050
+ allowWorkers?: boolean | undefined;
17051
+ allowMessaging?: boolean | undefined;
17052
+ title?: string | undefined;
17053
+ task?: string | undefined;
17054
+ };
17055
+ } & {
17056
+ param: {
17057
+ id: string;
17058
+ };
17059
+ };
17060
17060
  };
17061
17061
  };
17062
17062
  } & {
@@ -17161,7 +17161,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17161
17161
  error: string;
17162
17162
  };
17163
17163
  outputFormat: "json";
17164
- status: 400;
17164
+ status: 404;
17165
17165
  input: {
17166
17166
  json: {
17167
17167
  text?: string | undefined;
@@ -17180,7 +17180,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17180
17180
  error: string;
17181
17181
  };
17182
17182
  outputFormat: "json";
17183
- status: 404;
17183
+ status: 409;
17184
17184
  input: {
17185
17185
  json: {
17186
17186
  text?: string | undefined;
@@ -17196,10 +17196,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17196
17196
  };
17197
17197
  } | {
17198
17198
  output: {
17199
- error: string;
17199
+ delivered: true;
17200
17200
  };
17201
17201
  outputFormat: "json";
17202
- status: 409;
17202
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17203
17203
  input: {
17204
17204
  json: {
17205
17205
  text?: string | undefined;
@@ -17215,10 +17215,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17215
17215
  };
17216
17216
  } | {
17217
17217
  output: {
17218
- delivered: true;
17218
+ error: string;
17219
17219
  };
17220
17220
  outputFormat: "json";
17221
- status: import("hono/utils/http-status").ContentfulStatusCode;
17221
+ status: 400;
17222
17222
  input: {
17223
17223
  json: {
17224
17224
  text?: string | undefined;
@@ -17286,7 +17286,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17286
17286
  error: string;
17287
17287
  };
17288
17288
  outputFormat: "json";
17289
- status: 400;
17289
+ status: 404;
17290
17290
  input: {
17291
17291
  json: {
17292
17292
  text?: string | undefined;
@@ -17307,7 +17307,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17307
17307
  error: string;
17308
17308
  };
17309
17309
  outputFormat: "json";
17310
- status: 404;
17310
+ status: 400;
17311
17311
  input: {
17312
17312
  json: {
17313
17313
  text?: string | undefined;
@@ -17527,11 +17527,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17527
17527
  "/runs/:id/open-in-cli": {
17528
17528
  $post: {
17529
17529
  output: {
17530
- opened: true;
17531
- command: string;
17530
+ error: string;
17532
17531
  };
17533
17532
  outputFormat: "json";
17534
- status: import("hono/utils/http-status").ContentfulStatusCode;
17533
+ status: 404 | 409;
17535
17534
  input: {
17536
17535
  param: {
17537
17536
  id: string;
@@ -17539,10 +17538,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17539
17538
  };
17540
17539
  } | {
17541
17540
  output: {
17542
- error: string;
17541
+ opened: true;
17542
+ command: string;
17543
17543
  };
17544
17544
  outputFormat: "json";
17545
- status: 404 | 409;
17545
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17546
17546
  input: {
17547
17547
  param: {
17548
17548
  id: string;
@@ -17630,12 +17630,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17630
17630
  } & {
17631
17631
  "/runs/:id/images/:file": {
17632
17632
  $get: {
17633
- output: {
17634
- error: string;
17635
- code?: "invalid_input" | undefined;
17636
- };
17637
- outputFormat: "json";
17638
- status: 400;
17633
+ output: {};
17634
+ outputFormat: string;
17635
+ status: import("hono/utils/http-status").StatusCode;
17639
17636
  input: {
17640
17637
  param: {
17641
17638
  id: string;
@@ -17643,9 +17640,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17643
17640
  };
17644
17641
  };
17645
17642
  } | {
17646
- output: {};
17647
- outputFormat: string;
17648
- status: import("hono/utils/http-status").StatusCode;
17643
+ output: {
17644
+ error: string;
17645
+ code?: "invalid_input" | undefined;
17646
+ };
17647
+ outputFormat: "json";
17648
+ status: 400;
17649
17649
  input: {
17650
17650
  param: {
17651
17651
  id: string;
@@ -17681,6 +17681,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17681
17681
  } & {
17682
17682
  "/runs/:id/changes": {
17683
17683
  $get: {
17684
+ output: {
17685
+ error: string;
17686
+ };
17687
+ outputFormat: "json";
17688
+ status: 404 | 409;
17689
+ input: {
17690
+ param: {
17691
+ id: string;
17692
+ };
17693
+ };
17694
+ } | {
17684
17695
  output: {
17685
17696
  files: {
17686
17697
  path: string;
@@ -17709,7 +17720,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17709
17720
  id: string;
17710
17721
  };
17711
17722
  };
17712
- } | {
17723
+ };
17724
+ };
17725
+ } & {
17726
+ "/runs/:id/commits": {
17727
+ $get: {
17713
17728
  output: {
17714
17729
  error: string;
17715
17730
  };
@@ -17720,11 +17735,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17720
17735
  id: string;
17721
17736
  };
17722
17737
  };
17723
- };
17724
- };
17725
- } & {
17726
- "/runs/:id/commits": {
17727
- $get: {
17738
+ } | {
17728
17739
  output: {
17729
17740
  commits: {
17730
17741
  sha: string;
@@ -17740,7 +17751,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17740
17751
  id: string;
17741
17752
  };
17742
17753
  };
17743
- } | {
17754
+ };
17755
+ };
17756
+ } & {
17757
+ "/runs/:id/commit/:sha": {
17758
+ $get: {
17744
17759
  output: {
17745
17760
  error: string;
17746
17761
  };
@@ -17749,13 +17764,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17749
17764
  input: {
17750
17765
  param: {
17751
17766
  id: string;
17767
+ } & {
17768
+ sha: string;
17752
17769
  };
17753
17770
  };
17754
- };
17755
- };
17756
- } & {
17757
- "/runs/:id/commit/:sha": {
17758
- $get: {
17771
+ } | {
17759
17772
  output: {
17760
17773
  sha: string;
17761
17774
  subject: string;
@@ -17786,19 +17799,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17786
17799
  sha: string;
17787
17800
  };
17788
17801
  };
17789
- } | {
17790
- output: {
17791
- error: string;
17792
- };
17793
- outputFormat: "json";
17794
- status: 404 | 409;
17795
- input: {
17796
- param: {
17797
- id: string;
17798
- } & {
17799
- sha: string;
17800
- };
17801
- };
17802
17802
  };
17803
17803
  };
17804
17804
  } & {
@@ -17822,15 +17822,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17822
17822
  };
17823
17823
  } | {
17824
17824
  output: {
17825
- type: 'file';
17826
- path: string;
17827
- size: number;
17828
- binary: boolean;
17829
- tooLarge: boolean;
17830
- content?: string | undefined;
17825
+ error: string;
17831
17826
  };
17832
17827
  outputFormat: "json";
17833
- status: import("hono/utils/http-status").ContentfulStatusCode;
17828
+ status: 404 | 409;
17834
17829
  input: {
17835
17830
  param: {
17836
17831
  sha: string;
@@ -17843,10 +17838,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17843
17838
  };
17844
17839
  } | {
17845
17840
  output: {
17846
- error: string;
17841
+ type: 'file';
17842
+ path: string;
17843
+ size: number;
17844
+ binary: boolean;
17845
+ tooLarge: boolean;
17846
+ content?: string | undefined;
17847
17847
  };
17848
17848
  outputFormat: "json";
17849
- status: 404 | 409;
17849
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17850
17850
  input: {
17851
17851
  param: {
17852
17852
  sha: string;
@@ -17892,6 +17892,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17892
17892
  raw?: "1" | undefined;
17893
17893
  };
17894
17894
  };
17895
+ } | {
17896
+ output: {
17897
+ error: string;
17898
+ };
17899
+ outputFormat: "json";
17900
+ status: 404 | 409;
17901
+ input: {
17902
+ param: {
17903
+ id: string;
17904
+ };
17905
+ } & {
17906
+ query: {
17907
+ path: string | string[];
17908
+ raw?: "1" | undefined;
17909
+ };
17910
+ };
17895
17911
  } | {
17896
17912
  output: {
17897
17913
  type: "file";
@@ -17928,22 +17944,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17928
17944
  raw?: "1" | undefined;
17929
17945
  };
17930
17946
  };
17931
- } | {
17932
- output: {
17933
- error: string;
17934
- };
17935
- outputFormat: "json";
17936
- status: 404 | 409;
17937
- input: {
17938
- param: {
17939
- id: string;
17940
- };
17941
- } & {
17942
- query: {
17943
- path: string | string[];
17944
- raw?: "1" | undefined;
17945
- };
17946
- };
17947
17947
  };
17948
17948
  };
17949
17949
  } & {
@@ -18008,18 +18008,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18008
18008
  artifactId: string;
18009
18009
  };
18010
18010
  };
18011
- } | {
18012
- output: {
18013
- error: string;
18014
- };
18015
- outputFormat: "json";
18016
- status: 404;
18017
- input: {
18018
- param: {
18019
- id: string;
18020
- artifactId: string;
18021
- };
18022
- };
18023
18011
  } | {
18024
18012
  output: {
18025
18013
  type: "file";
@@ -18048,6 +18036,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18048
18036
  artifactId: string;
18049
18037
  };
18050
18038
  };
18039
+ } | {
18040
+ output: {
18041
+ error: string;
18042
+ };
18043
+ outputFormat: "json";
18044
+ status: 404;
18045
+ input: {
18046
+ param: {
18047
+ id: string;
18048
+ artifactId: string;
18049
+ };
18050
+ };
18051
18051
  };
18052
18052
  };
18053
18053
  } & {
@@ -18225,15 +18225,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18225
18225
  };
18226
18226
  } | {
18227
18227
  output: {
18228
- type: 'file';
18229
- path: string;
18230
- size: number;
18231
- binary: boolean;
18232
- tooLarge: boolean;
18233
- content?: string | undefined;
18228
+ error: string;
18234
18229
  };
18235
18230
  outputFormat: "json";
18236
- status: import("hono/utils/http-status").ContentfulStatusCode;
18231
+ status: 404 | 409;
18237
18232
  input: {
18238
18233
  query: {
18239
18234
  path?: string | undefined;
@@ -18246,14 +18241,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18246
18241
  };
18247
18242
  } | {
18248
18243
  output: {
18249
- type: 'dir';
18244
+ type: 'file';
18250
18245
  path: string;
18251
- entries: {
18252
- name: string;
18253
- type: 'dir' | 'file';
18254
- size?: number;
18255
- chain?: string;
18256
- }[];
18246
+ size: number;
18247
+ binary: boolean;
18248
+ tooLarge: boolean;
18249
+ content?: string | undefined;
18257
18250
  };
18258
18251
  outputFormat: "json";
18259
18252
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18269,10 +18262,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18269
18262
  };
18270
18263
  } | {
18271
18264
  output: {
18272
- error: string;
18265
+ type: 'dir';
18266
+ path: string;
18267
+ entries: {
18268
+ name: string;
18269
+ type: 'dir' | 'file';
18270
+ size?: number;
18271
+ chain?: string;
18272
+ }[];
18273
18273
  };
18274
18274
  outputFormat: "json";
18275
- status: 404 | 409;
18275
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18276
18276
  input: {
18277
18277
  query: {
18278
18278
  path?: string | undefined;
@@ -18289,11 +18289,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18289
18289
  "/runs/:id/git/commit": {
18290
18290
  $post: {
18291
18291
  output: {
18292
- committed: true;
18293
- sha: string;
18292
+ error: string;
18294
18293
  };
18295
18294
  outputFormat: "json";
18296
- status: import("hono/utils/http-status").ContentfulStatusCode;
18295
+ status: 404 | 409;
18297
18296
  input: {
18298
18297
  json: {
18299
18298
  message: string;
@@ -18305,10 +18304,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18305
18304
  };
18306
18305
  } | {
18307
18306
  output: {
18308
- error: string;
18307
+ committed: true;
18308
+ sha: string;
18309
18309
  };
18310
18310
  outputFormat: "json";
18311
- status: 404 | 409;
18311
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18312
18312
  input: {
18313
18313
  json: {
18314
18314
  message: string;
@@ -18324,13 +18324,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18324
18324
  "/runs/:id/git/push": {
18325
18325
  $post: {
18326
18326
  output: {
18327
- pushed: true;
18328
- branch: string;
18329
- remote: string;
18330
- upstreamSet: boolean;
18327
+ error: string;
18331
18328
  };
18332
18329
  outputFormat: "json";
18333
- status: import("hono/utils/http-status").ContentfulStatusCode;
18330
+ status: 404 | 409;
18334
18331
  input: {
18335
18332
  param: {
18336
18333
  id: string;
@@ -18338,10 +18335,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18338
18335
  };
18339
18336
  } | {
18340
18337
  output: {
18341
- error: string;
18338
+ pushed: true;
18339
+ branch: string;
18340
+ remote: string;
18341
+ upstreamSet: boolean;
18342
18342
  };
18343
18343
  outputFormat: "json";
18344
- status: 404 | 409;
18344
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18345
18345
  input: {
18346
18346
  param: {
18347
18347
  id: string;
@@ -18353,11 +18353,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18353
18353
  "/runs/:id/pr": {
18354
18354
  $post: {
18355
18355
  output: {
18356
- url: string;
18357
- dryRun: boolean;
18356
+ error: string;
18358
18357
  };
18359
18358
  outputFormat: "json";
18360
- status: 201;
18359
+ status: 404 | 409;
18361
18360
  input: {
18362
18361
  param: {
18363
18362
  id: string;
@@ -18365,10 +18364,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18365
18364
  };
18366
18365
  } | {
18367
18366
  output: {
18368
- error: string;
18367
+ url: string;
18368
+ dryRun: boolean;
18369
18369
  };
18370
18370
  outputFormat: "json";
18371
- status: 404 | 409;
18371
+ status: 201;
18372
18372
  input: {
18373
18373
  param: {
18374
18374
  id: string;
@@ -18380,10 +18380,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18380
18380
  "/runs/:id/remove-worktree": {
18381
18381
  $post: {
18382
18382
  output: {
18383
- removed: true;
18383
+ error: string;
18384
18384
  };
18385
18385
  outputFormat: "json";
18386
- status: import("hono/utils/http-status").ContentfulStatusCode;
18386
+ status: 404 | 409;
18387
18387
  input: {
18388
18388
  param: {
18389
18389
  id: string;
@@ -18391,10 +18391,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18391
18391
  };
18392
18392
  } | {
18393
18393
  output: {
18394
- error: string;
18394
+ removed: true;
18395
18395
  };
18396
18396
  outputFormat: "json";
18397
- status: 404 | 409;
18397
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18398
18398
  input: {
18399
18399
  param: {
18400
18400
  id: string;
@@ -18406,10 +18406,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18406
18406
  "/runs/:id": {
18407
18407
  $delete: {
18408
18408
  output: {
18409
- deleted: true;
18409
+ error: string;
18410
18410
  };
18411
18411
  outputFormat: "json";
18412
- status: import("hono/utils/http-status").ContentfulStatusCode;
18412
+ status: 404 | 409;
18413
18413
  input: {
18414
18414
  param: {
18415
18415
  id: string;
@@ -18417,10 +18417,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18417
18417
  };
18418
18418
  } | {
18419
18419
  output: {
18420
- error: string;
18420
+ deleted: true;
18421
18421
  };
18422
18422
  outputFormat: "json";
18423
- status: 404 | 409;
18423
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18424
18424
  input: {
18425
18425
  param: {
18426
18426
  id: string;
@@ -18489,6 +18489,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18489
18489
  }, "/"> | import("hono/types").MergeSchemaPath<{
18490
18490
  "/plan": {
18491
18491
  $post: {
18492
+ output: {
18493
+ error: string;
18494
+ };
18495
+ outputFormat: "json";
18496
+ status: 400 | 404 | 409;
18497
+ input: {
18498
+ json: {
18499
+ task: string;
18500
+ agentProfile?: string | undefined;
18501
+ };
18502
+ };
18503
+ } | {
18492
18504
  output: {
18493
18505
  name?: string;
18494
18506
  steps: {
@@ -18525,18 +18537,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18525
18537
  agentProfile?: string | undefined;
18526
18538
  };
18527
18539
  };
18528
- } | {
18529
- output: {
18530
- error: string;
18531
- };
18532
- outputFormat: "json";
18533
- status: 400 | 404 | 409;
18534
- input: {
18535
- json: {
18536
- task: string;
18537
- agentProfile?: string | undefined;
18538
- };
18539
- };
18540
18540
  };
18541
18541
  };
18542
18542
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18586,10 +18586,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18586
18586
  "/ui-state": {
18587
18587
  $put: {
18588
18588
  output: {
18589
- error: string;
18589
+ [x: string]: import("hono/utils/types").JSONValue;
18590
+ sidebarLimits?: {
18591
+ overall?: number | null | undefined;
18592
+ needsYou?: number | null | undefined;
18593
+ finished?: number | null | undefined;
18594
+ working?: number | null | undefined;
18595
+ } | undefined;
18596
+ lastTask?: {
18597
+ source: "skill" | "workflow";
18598
+ ref: string;
18599
+ } | null | undefined;
18600
+ recentSources?: {
18601
+ source: "skill" | "workflow";
18602
+ ref: string;
18603
+ }[] | undefined;
18604
+ lastWorktree?: boolean | undefined;
18605
+ lastAutonomous?: boolean | undefined;
18606
+ skillUsage?: {
18607
+ [x: string]: number;
18608
+ } | undefined;
18609
+ runsView?: "list" | "table" | undefined;
18610
+ githubView?: "issues" | "prs" | undefined;
18611
+ appearance?: {
18612
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18613
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18614
+ width?: "narrow" | "wide" | undefined;
18615
+ } | undefined;
18616
+ promptTemplates?: {
18617
+ id: string;
18618
+ label: string;
18619
+ text: string;
18620
+ skills?: string[] | undefined;
18621
+ }[] | undefined;
18590
18622
  };
18591
18623
  outputFormat: "json";
18592
- status: 500;
18624
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18593
18625
  input: {
18594
18626
  json: {
18595
18627
  [x: string]: unknown;
@@ -18627,42 +18659,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18627
18659
  };
18628
18660
  } | {
18629
18661
  output: {
18630
- [x: string]: import("hono/utils/types").JSONValue;
18631
- sidebarLimits?: {
18632
- overall?: number | null | undefined;
18633
- needsYou?: number | null | undefined;
18634
- finished?: number | null | undefined;
18635
- working?: number | null | undefined;
18636
- } | undefined;
18637
- lastTask?: {
18638
- source: "skill" | "workflow";
18639
- ref: string;
18640
- } | null | undefined;
18641
- recentSources?: {
18642
- source: "skill" | "workflow";
18643
- ref: string;
18644
- }[] | undefined;
18645
- lastWorktree?: boolean | undefined;
18646
- lastAutonomous?: boolean | undefined;
18647
- skillUsage?: {
18648
- [x: string]: number;
18649
- } | undefined;
18650
- runsView?: "list" | "table" | undefined;
18651
- githubView?: "issues" | "prs" | undefined;
18652
- appearance?: {
18653
- accent?: "cezarion" | "lime" | "violet" | undefined;
18654
- density?: "comfortable" | "compact" | "ultra" | undefined;
18655
- width?: "narrow" | "wide" | undefined;
18656
- } | undefined;
18657
- promptTemplates?: {
18658
- id: string;
18659
- label: string;
18660
- text: string;
18661
- skills?: string[] | undefined;
18662
- }[] | undefined;
18662
+ error: string;
18663
18663
  };
18664
18664
  outputFormat: "json";
18665
- status: import("hono/utils/http-status").ContentfulStatusCode;
18665
+ status: 500;
18666
18666
  input: {
18667
18667
  json: {
18668
18668
  [x: string]: unknown;
@@ -18739,10 +18739,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18739
18739
  "/config": {
18740
18740
  $put: {
18741
18741
  output: {
18742
- error: string;
18742
+ archiveOnMerge: boolean | null;
18743
+ effectiveArchiveOnMerge: boolean;
18744
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
18745
+ baseBranch: string | null;
18746
+ defaultRunner: string;
18747
+ systemPrompt: string | null;
18748
+ defaultModels: {
18749
+ [x: string]: string | undefined;
18750
+ };
18751
+ modelsLocked: boolean;
18752
+ maxParallel: number;
18753
+ memoryLimitMb: number | null;
18754
+ worktreeRetention: number;
18755
+ liveTitleUpdates: boolean | null;
18756
+ reviewGate: boolean | null;
18757
+ worktreeSetup: {
18758
+ commands: string[];
18759
+ timeoutSeconds: number;
18760
+ } | null;
18761
+ worktreeSetupIssue: string | null;
18762
+ worktreeTeardown: {
18763
+ commands: string[];
18764
+ timeoutSeconds: number;
18765
+ } | null;
18766
+ worktreeTeardownIssue: string | null;
18743
18767
  };
18744
18768
  outputFormat: "json";
18745
- status: 409;
18769
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18746
18770
  input: {
18747
18771
  json: {
18748
18772
  archiveOnMerge?: boolean | null | undefined;
@@ -18770,7 +18794,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18770
18794
  error: string;
18771
18795
  };
18772
18796
  outputFormat: "json";
18773
- status: 500;
18797
+ status: 409;
18774
18798
  input: {
18775
18799
  json: {
18776
18800
  archiveOnMerge?: boolean | null | undefined;
@@ -18795,34 +18819,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18795
18819
  };
18796
18820
  } | {
18797
18821
  output: {
18798
- archiveOnMerge: boolean | null;
18799
- effectiveArchiveOnMerge: boolean;
18800
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
18801
- baseBranch: string | null;
18802
- defaultRunner: string;
18803
- systemPrompt: string | null;
18804
- defaultModels: {
18805
- [x: string]: string | undefined;
18806
- };
18807
- modelsLocked: boolean;
18808
- maxParallel: number;
18809
- memoryLimitMb: number | null;
18810
- worktreeRetention: number;
18811
- liveTitleUpdates: boolean | null;
18812
- reviewGate: boolean | null;
18813
- worktreeSetup: {
18814
- commands: string[];
18815
- timeoutSeconds: number;
18816
- } | null;
18817
- worktreeSetupIssue: string | null;
18818
- worktreeTeardown: {
18819
- commands: string[];
18820
- timeoutSeconds: number;
18821
- } | null;
18822
- worktreeTeardownIssue: string | null;
18822
+ error: string;
18823
18823
  };
18824
18824
  outputFormat: "json";
18825
- status: import("hono/utils/http-status").ContentfulStatusCode;
18825
+ status: 500;
18826
18826
  input: {
18827
18827
  json: {
18828
18828
  archiveOnMerge?: boolean | null | undefined;
@@ -18850,12 +18850,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18850
18850
  }, "/"> | import("hono/types").MergeSchemaPath<{
18851
18851
  "/runs/:id/events": {
18852
18852
  $get: {
18853
- output: {
18854
- error: string;
18855
- code?: "invalid_input" | undefined;
18856
- };
18857
- outputFormat: "json";
18858
- status: 400;
18853
+ output: {};
18854
+ outputFormat: string;
18855
+ status: import("hono/utils/http-status").StatusCode;
18859
18856
  input: {
18860
18857
  param: {
18861
18858
  id: string;
@@ -18867,9 +18864,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18867
18864
  };
18868
18865
  };
18869
18866
  } | {
18870
- output: {};
18871
- outputFormat: string;
18872
- status: import("hono/utils/http-status").StatusCode;
18867
+ output: {
18868
+ error: string;
18869
+ code?: "invalid_input" | undefined;
18870
+ };
18871
+ outputFormat: "json";
18872
+ status: 400;
18873
18873
  input: {
18874
18874
  param: {
18875
18875
  id: string;
@@ -18913,7 +18913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18913
18913
  error: string;
18914
18914
  };
18915
18915
  outputFormat: "json";
18916
- status: 400;
18916
+ status: 409;
18917
18917
  input: {
18918
18918
  json: {
18919
18919
  target: string;
@@ -18924,7 +18924,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18924
18924
  error: string;
18925
18925
  };
18926
18926
  outputFormat: "json";
18927
- status: 409;
18927
+ status: 400;
18928
18928
  input: {
18929
18929
  json: {
18930
18930
  target: string;
@@ -19032,10 +19032,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19032
19032
  "/agent-config/:id": {
19033
19033
  $put: {
19034
19034
  output: {
19035
- error: string;
19035
+ id: string;
19036
+ path: string;
19037
+ exists: boolean;
19038
+ content: string;
19039
+ version: string | null;
19036
19040
  };
19037
19041
  outputFormat: "json";
19038
- status: 404;
19042
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19039
19043
  input: {
19040
19044
  json: {
19041
19045
  content: string;
@@ -19048,14 +19052,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19048
19052
  };
19049
19053
  } | {
19050
19054
  output: {
19051
- id: string;
19052
- path: string;
19053
- exists: boolean;
19054
- content: string;
19055
- version: string | null;
19055
+ error: string;
19056
19056
  };
19057
19057
  outputFormat: "json";
19058
- status: import("hono/utils/http-status").ContentfulStatusCode;
19058
+ status: 404;
19059
19059
  input: {
19060
19060
  json: {
19061
19061
  content: string;
@@ -19155,11 +19155,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19155
19155
  };
19156
19156
  } | {
19157
19157
  output: {
19158
- runId: string;
19159
- worktreeReclaimedAt: string;
19158
+ error: string;
19160
19159
  };
19161
19160
  outputFormat: "json";
19162
- status: import("hono/utils/http-status").ContentfulStatusCode;
19161
+ status: 404 | 409;
19163
19162
  input: {
19164
19163
  param: {
19165
19164
  runId: string;
@@ -19171,10 +19170,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19171
19170
  };
19172
19171
  } | {
19173
19172
  output: {
19174
- error: string;
19173
+ runId: string;
19174
+ worktreeReclaimedAt: string;
19175
19175
  };
19176
19176
  outputFormat: "json";
19177
- status: 404 | 409;
19177
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19178
19178
  input: {
19179
19179
  param: {
19180
19180
  runId: string;
@@ -19334,11 +19334,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19334
19334
  "/workflows": {
19335
19335
  $post: {
19336
19336
  output: {
19337
- path: string;
19338
- name: string;
19337
+ error: string;
19339
19338
  };
19340
19339
  outputFormat: "json";
19341
- status: 201;
19340
+ status: 400;
19342
19341
  input: {
19343
19342
  json: {
19344
19343
  name: string;
@@ -19371,9 +19370,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19371
19370
  } | {
19372
19371
  output: {
19373
19372
  error: string;
19373
+ exists: true;
19374
19374
  };
19375
19375
  outputFormat: "json";
19376
- status: 400;
19376
+ status: 409;
19377
19377
  input: {
19378
19378
  json: {
19379
19379
  name: string;
@@ -19406,10 +19406,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19406
19406
  } | {
19407
19407
  output: {
19408
19408
  error: string;
19409
- exists: true;
19410
19409
  };
19411
19410
  outputFormat: "json";
19412
- status: 409;
19411
+ status: 500;
19413
19412
  input: {
19414
19413
  json: {
19415
19414
  name: string;
@@ -19441,10 +19440,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19441
19440
  };
19442
19441
  } | {
19443
19442
  output: {
19444
- error: string;
19443
+ path: string;
19444
+ name: string;
19445
19445
  };
19446
19446
  outputFormat: "json";
19447
- status: 500;
19447
+ status: 201;
19448
19448
  input: {
19449
19449
  json: {
19450
19450
  name: string;
@@ -19480,11 +19480,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19480
19480
  "/workflows/:name": {
19481
19481
  $delete: {
19482
19482
  output: {
19483
- ok: true;
19484
- path: string;
19483
+ error: string;
19485
19484
  };
19486
19485
  outputFormat: "json";
19487
- status: import("hono/utils/http-status").ContentfulStatusCode;
19486
+ status: 400 | 404 | 409 | 500;
19488
19487
  input: {
19489
19488
  param: {
19490
19489
  name: string;
@@ -19492,10 +19491,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19492
19491
  };
19493
19492
  } | {
19494
19493
  output: {
19495
- error: string;
19494
+ ok: true;
19495
+ path: string;
19496
19496
  };
19497
19497
  outputFormat: "json";
19498
- status: 400 | 404 | 409 | 500;
19498
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19499
19499
  input: {
19500
19500
  param: {
19501
19501
  name: string;
@@ -20436,18 +20436,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20436
20436
  "/repo/branches/delete": {
20437
20437
  $post: {
20438
20438
  output: {
20439
- deleted: string[];
20439
+ error: string;
20440
20440
  refused: {
20441
20441
  name: string;
20442
20442
  reason: string;
20443
20443
  }[];
20444
- dropped?: {
20445
- sha: string;
20446
- subject: string;
20447
- }[] | undefined;
20448
20444
  };
20449
20445
  outputFormat: "json";
20450
- status: 200;
20446
+ status: 409;
20451
20447
  input: {
20452
20448
  json: {
20453
20449
  names: string[];
@@ -20456,14 +20452,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20456
20452
  };
20457
20453
  } | {
20458
20454
  output: {
20459
- error: string;
20455
+ deleted: string[];
20460
20456
  refused: {
20461
20457
  name: string;
20462
20458
  reason: string;
20463
20459
  }[];
20460
+ dropped?: {
20461
+ sha: string;
20462
+ subject: string;
20463
+ }[] | undefined;
20464
20464
  };
20465
20465
  outputFormat: "json";
20466
- status: 409;
20466
+ status: 200;
20467
20467
  input: {
20468
20468
  json: {
20469
20469
  names: string[];
@@ -20484,12 +20484,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20484
20484
  } & {
20485
20485
  "/repo/commit/:sha": {
20486
20486
  $get: {
20487
- output: {
20488
- error: string;
20489
- code?: "invalid_input" | undefined;
20490
- };
20491
- outputFormat: "json";
20492
- status: 400;
20487
+ output: string;
20488
+ outputFormat: "text";
20489
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20493
20490
  input: {
20494
20491
  query: {
20495
20492
  structured?: string | undefined;
@@ -20502,9 +20499,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20502
20499
  } | {
20503
20500
  output: {
20504
20501
  error: string;
20502
+ code?: "invalid_input" | undefined;
20505
20503
  };
20506
20504
  outputFormat: "json";
20507
- status: 409;
20505
+ status: 400;
20508
20506
  input: {
20509
20507
  query: {
20510
20508
  structured?: string | undefined;
@@ -20548,9 +20546,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20548
20546
  };
20549
20547
  };
20550
20548
  } | {
20551
- output: string;
20552
- outputFormat: "text";
20553
- status: import("hono/utils/http-status").ContentfulStatusCode;
20549
+ output: {
20550
+ error: string;
20551
+ };
20552
+ outputFormat: "json";
20553
+ status: 409;
20554
20554
  input: {
20555
20555
  query: {
20556
20556
  structured?: string | undefined;
@@ -20582,10 +20582,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20582
20582
  };
20583
20583
  } | {
20584
20584
  output: {
20585
- error: string;
20585
+ type: 'file';
20586
+ path: string;
20587
+ size: number;
20588
+ binary: boolean;
20589
+ tooLarge: boolean;
20590
+ content?: string | undefined;
20586
20591
  };
20587
20592
  outputFormat: "json";
20588
- status: 409;
20593
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20589
20594
  input: {
20590
20595
  param: {
20591
20596
  sha: string;
@@ -20597,15 +20602,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20597
20602
  };
20598
20603
  } | {
20599
20604
  output: {
20600
- type: 'file';
20601
- path: string;
20602
- size: number;
20603
- binary: boolean;
20604
- tooLarge: boolean;
20605
- content?: string | undefined;
20605
+ error: string;
20606
20606
  };
20607
20607
  outputFormat: "json";
20608
- status: import("hono/utils/http-status").ContentfulStatusCode;
20608
+ status: 409;
20609
20609
  input: {
20610
20610
  param: {
20611
20611
  sha: string;
@@ -20633,10 +20633,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20633
20633
  };
20634
20634
  } | {
20635
20635
  output: {
20636
- error: string;
20636
+ type: 'file';
20637
+ path: string;
20638
+ size: number;
20639
+ binary: boolean;
20640
+ tooLarge: boolean;
20641
+ content?: string | undefined;
20637
20642
  };
20638
20643
  outputFormat: "json";
20639
- status: 409;
20644
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20640
20645
  input: {
20641
20646
  query: {
20642
20647
  path: string | string[];
@@ -20644,15 +20649,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20644
20649
  };
20645
20650
  } | {
20646
20651
  output: {
20647
- type: 'file';
20648
- path: string;
20649
- size: number;
20650
- binary: boolean;
20651
- tooLarge: boolean;
20652
- content?: string | undefined;
20652
+ error: string;
20653
20653
  };
20654
20654
  outputFormat: "json";
20655
- status: import("hono/utils/http-status").ContentfulStatusCode;
20655
+ status: 409;
20656
20656
  input: {
20657
20657
  query: {
20658
20658
  path: string | string[];
@@ -20663,13 +20663,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20663
20663
  } & {
20664
20664
  "/repo/changes": {
20665
20665
  $get: {
20666
- output: {
20667
- error: string;
20668
- };
20669
- outputFormat: "json";
20670
- status: 409;
20671
- input: {};
20672
- } | {
20673
20666
  output: {
20674
20667
  files: {
20675
20668
  path: string;
@@ -20694,6 +20687,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20694
20687
  outputFormat: "json";
20695
20688
  status: import("hono/utils/http-status").ContentfulStatusCode;
20696
20689
  input: {};
20690
+ } | {
20691
+ output: {
20692
+ error: string;
20693
+ };
20694
+ outputFormat: "json";
20695
+ status: 409;
20696
+ input: {};
20697
20697
  };
20698
20698
  };
20699
20699
  } & {
@@ -20718,12 +20718,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20718
20718
  "/repo/pull": {
20719
20719
  $post: {
20720
20720
  output: {
20721
- branch: string;
20722
- pulled: true;
20723
- summary: string;
20721
+ error: string;
20724
20722
  };
20725
20723
  outputFormat: "json";
20726
- status: 200;
20724
+ status: 409;
20727
20725
  input: {
20728
20726
  json: {
20729
20727
  branch?: string | undefined;
@@ -20732,10 +20730,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20732
20730
  };
20733
20731
  } | {
20734
20732
  output: {
20735
- error: string;
20733
+ branch: string;
20734
+ pulled: true;
20735
+ summary: string;
20736
20736
  };
20737
20737
  outputFormat: "json";
20738
- status: 409;
20738
+ status: 200;
20739
20739
  input: {
20740
20740
  json: {
20741
20741
  branch?: string | undefined;
@@ -21960,18 +21960,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21960
21960
  } & {
21961
21961
  "/run-summaries": {
21962
21962
  $get: {
21963
- output: {
21964
- error: string;
21965
- code?: "invalid_input" | undefined;
21966
- };
21967
- outputFormat: "json";
21968
- status: 400;
21969
- input: {
21970
- query: {
21971
- archived?: "all" | "recent" | undefined;
21972
- };
21973
- };
21974
- } | {
21975
21963
  output: {
21976
21964
  id: string;
21977
21965
  title: string;
@@ -22109,6 +22097,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22109
22097
  archived?: "all" | "recent" | undefined;
22110
22098
  };
22111
22099
  };
22100
+ } | {
22101
+ output: {
22102
+ error: string;
22103
+ code?: "invalid_input" | undefined;
22104
+ };
22105
+ outputFormat: "json";
22106
+ status: 400;
22107
+ input: {
22108
+ query: {
22109
+ archived?: "all" | "recent" | undefined;
22110
+ };
22111
+ };
22112
22112
  };
22113
22113
  };
22114
22114
  } & {
@@ -22470,24 +22470,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22470
22470
  "/runs/:id/worker-destroy": {
22471
22471
  $post: {
22472
22472
  output: {
22473
- workerId: string;
22474
- state: "complete" | "incomplete";
22475
- work?: {
22476
- uncommittedFiles: number;
22477
- commits: number;
22473
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22474
+ readonly error: string;
22475
+ readonly modelChoices?: {
22476
+ runner: string;
22477
+ requestedModel: string;
22478
+ availableModels: {
22479
+ id: string;
22480
+ label: string;
22481
+ description: string;
22482
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22483
+ }[];
22484
+ otherRunners: string[];
22478
22485
  } | undefined;
22479
- deleted?: ({
22480
- kind: "worktree";
22481
- path: string;
22482
- } | {
22483
- kind: "branch";
22484
- ref: string;
22485
- })[] | undefined;
22486
- remaining: ("branch" | "process" | "worktree")[];
22487
- error?: string | undefined;
22488
22486
  };
22489
22487
  outputFormat: "json";
22490
- status: 200;
22488
+ status: 400 | 401 | 403 | 409 | 503;
22491
22489
  input: {
22492
22490
  query: {
22493
22491
  [x: string]: string | string[];
@@ -22540,7 +22538,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22540
22538
  error?: string | undefined;
22541
22539
  };
22542
22540
  outputFormat: "json";
22543
- status: 409;
22541
+ status: 200;
22544
22542
  input: {
22545
22543
  query: {
22546
22544
  [x: string]: string | string[];
@@ -22556,22 +22554,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22556
22554
  };
22557
22555
  } | {
22558
22556
  output: {
22559
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22560
- readonly error: string;
22561
- readonly modelChoices?: {
22562
- runner: string;
22563
- requestedModel: string;
22564
- availableModels: {
22565
- id: string;
22566
- label: string;
22567
- description: string;
22568
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22569
- }[];
22570
- otherRunners: string[];
22557
+ workerId: string;
22558
+ state: "complete" | "incomplete";
22559
+ work?: {
22560
+ uncommittedFiles: number;
22561
+ commits: number;
22571
22562
  } | undefined;
22563
+ deleted?: ({
22564
+ kind: "worktree";
22565
+ path: string;
22566
+ } | {
22567
+ kind: "branch";
22568
+ ref: string;
22569
+ })[] | undefined;
22570
+ remaining: ("branch" | "process" | "worktree")[];
22571
+ error?: string | undefined;
22572
22572
  };
22573
22573
  outputFormat: "json";
22574
- status: 400 | 401 | 403 | 409 | 503;
22574
+ status: 409;
22575
22575
  input: {
22576
22576
  query: {
22577
22577
  [x: string]: string | string[];
@@ -22623,21 +22623,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22623
22623
  } & {
22624
22624
  "/runs/:id/archive": {
22625
22625
  $post: {
22626
- output: {
22627
- error: string;
22628
- };
22629
- outputFormat: "json";
22630
- status: 404;
22631
- input: {
22632
- json: {
22633
- archived?: boolean | undefined;
22634
- };
22635
- } & {
22636
- param: {
22637
- id: string;
22638
- };
22639
- };
22640
- } | {
22641
22626
  output: {
22642
22627
  archiveWhenDone?: boolean | undefined;
22643
22628
  autoMergePr?: boolean | undefined;
@@ -23817,32 +23802,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23817
23802
  id: string;
23818
23803
  };
23819
23804
  };
23820
- };
23821
- };
23822
- } & {
23823
- "/runs/:id/pin": {
23824
- $post: {
23805
+ } | {
23825
23806
  output: {
23826
23807
  error: string;
23827
- code?: "invalid_input" | undefined;
23828
23808
  };
23829
23809
  outputFormat: "json";
23830
- status: 400;
23810
+ status: 404;
23831
23811
  input: {
23832
- param: {
23833
- id: string;
23812
+ json: {
23813
+ archived?: boolean | undefined;
23834
23814
  };
23835
23815
  } & {
23836
- json: {
23837
- pinned?: boolean | undefined;
23816
+ param: {
23817
+ id: string;
23838
23818
  };
23839
23819
  };
23840
- } | {
23820
+ };
23821
+ };
23822
+ } & {
23823
+ "/runs/:id/pin": {
23824
+ $post: {
23841
23825
  output: {
23842
23826
  error: string;
23827
+ code?: "invalid_input" | undefined;
23843
23828
  };
23844
23829
  outputFormat: "json";
23845
- status: 404;
23830
+ status: 400;
23846
23831
  input: {
23847
23832
  param: {
23848
23833
  id: string;
@@ -25032,6 +25017,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25032
25017
  pinned?: boolean | undefined;
25033
25018
  };
25034
25019
  };
25020
+ } | {
25021
+ output: {
25022
+ error: string;
25023
+ };
25024
+ outputFormat: "json";
25025
+ status: 404;
25026
+ input: {
25027
+ param: {
25028
+ id: string;
25029
+ };
25030
+ } & {
25031
+ json: {
25032
+ pinned?: boolean | undefined;
25033
+ };
25034
+ };
25035
25035
  };
25036
25036
  };
25037
25037
  } & {
@@ -25053,6 +25053,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25053
25053
  message?: string | undefined;
25054
25054
  };
25055
25055
  };
25056
+ } | {
25057
+ output: {
25058
+ error: string;
25059
+ };
25060
+ outputFormat: "json";
25061
+ status: 400 | 404 | 409;
25062
+ input: {
25063
+ param: {
25064
+ id: string;
25065
+ };
25066
+ } & {
25067
+ json: {
25068
+ notify: boolean;
25069
+ message?: string | undefined;
25070
+ };
25071
+ };
25056
25072
  } | {
25057
25073
  output: {
25058
25074
  archiveWhenDone?: boolean | undefined;
@@ -26234,22 +26250,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26234
26250
  message?: string | undefined;
26235
26251
  };
26236
26252
  };
26237
- } | {
26238
- output: {
26239
- error: string;
26240
- };
26241
- outputFormat: "json";
26242
- status: 400 | 404 | 409;
26243
- input: {
26244
- param: {
26245
- id: string;
26246
- };
26247
- } & {
26248
- json: {
26249
- notify: boolean;
26250
- message?: string | undefined;
26251
- };
26252
- };
26253
26253
  };
26254
26254
  };
26255
26255
  } & {
@@ -26281,17 +26281,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26281
26281
  } & {
26282
26282
  "/runs/:id/read": {
26283
26283
  $post: {
26284
- output: {
26285
- error: string;
26286
- };
26287
- outputFormat: "json";
26288
- status: 404;
26289
- input: {
26290
- param: {
26291
- id: string;
26292
- };
26293
- };
26294
- } | {
26295
26284
  output: {
26296
26285
  archiveWhenDone?: boolean | undefined;
26297
26286
  autoMergePr?: boolean | undefined;
@@ -27467,11 +27456,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27467
27456
  id: string;
27468
27457
  };
27469
27458
  };
27470
- };
27471
- };
27472
- } & {
27473
- "/runs/:id/unread": {
27474
- $post: {
27459
+ } | {
27475
27460
  output: {
27476
27461
  error: string;
27477
27462
  };
@@ -27482,7 +27467,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27482
27467
  id: string;
27483
27468
  };
27484
27469
  };
27485
- } | {
27470
+ };
27471
+ };
27472
+ } & {
27473
+ "/runs/:id/unread": {
27474
+ $post: {
27486
27475
  output: {
27487
27476
  archiveWhenDone?: boolean | undefined;
27488
27477
  autoMergePr?: boolean | undefined;
@@ -28658,6 +28647,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28658
28647
  id: string;
28659
28648
  };
28660
28649
  };
28650
+ } | {
28651
+ output: {
28652
+ error: string;
28653
+ };
28654
+ outputFormat: "json";
28655
+ status: 404;
28656
+ input: {
28657
+ param: {
28658
+ id: string;
28659
+ };
28660
+ };
28661
28661
  };
28662
28662
  };
28663
28663
  } & {
@@ -29934,17 +29934,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29934
29934
  } & {
29935
29935
  "/runs/:id": {
29936
29936
  $get: {
29937
- output: {
29938
- error: string;
29939
- };
29940
- outputFormat: "json";
29941
- status: 404;
29942
- input: {
29943
- param: {
29944
- id: string;
29945
- };
29946
- };
29947
- } | {
29948
29937
  output: {
29949
29938
  archiveWhenDone?: boolean | undefined;
29950
29939
  autoMergePr?: boolean | undefined;
@@ -31128,6 +31117,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31128
31117
  id: string;
31129
31118
  };
31130
31119
  };
31120
+ } | {
31121
+ output: {
31122
+ error: string;
31123
+ };
31124
+ outputFormat: "json";
31125
+ status: 404;
31126
+ input: {
31127
+ param: {
31128
+ id: string;
31129
+ };
31130
+ };
31131
31131
  };
31132
31132
  };
31133
31133
  } & {
@@ -31255,66 +31255,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31255
31255
  } & {
31256
31256
  "/runs/:id": {
31257
31257
  $patch: {
31258
- output: {
31259
- error: string;
31260
- };
31261
- outputFormat: "json";
31262
- status: 400;
31263
- input: {
31264
- json: {
31265
- archiveWhenDone?: boolean | undefined;
31266
- autoMergePr?: boolean | undefined;
31267
- allowWorkers?: boolean | undefined;
31268
- allowMessaging?: boolean | undefined;
31269
- title?: string | undefined;
31270
- task?: string | undefined;
31271
- };
31272
- } & {
31273
- param: {
31274
- id: string;
31275
- };
31276
- };
31277
- } | {
31278
- output: {
31279
- error: string;
31280
- };
31281
- outputFormat: "json";
31282
- status: 404;
31283
- input: {
31284
- json: {
31285
- archiveWhenDone?: boolean | undefined;
31286
- autoMergePr?: boolean | undefined;
31287
- allowWorkers?: boolean | undefined;
31288
- allowMessaging?: boolean | undefined;
31289
- title?: string | undefined;
31290
- task?: string | undefined;
31291
- };
31292
- } & {
31293
- param: {
31294
- id: string;
31295
- };
31296
- };
31297
- } | {
31298
- output: {
31299
- error: string;
31300
- };
31301
- outputFormat: "json";
31302
- status: 409;
31303
- input: {
31304
- json: {
31305
- archiveWhenDone?: boolean | undefined;
31306
- autoMergePr?: boolean | undefined;
31307
- allowWorkers?: boolean | undefined;
31308
- allowMessaging?: boolean | undefined;
31309
- title?: string | undefined;
31310
- task?: string | undefined;
31311
- };
31312
- } & {
31313
- param: {
31314
- id: string;
31315
- };
31316
- };
31317
- } | {
31318
31258
  output: {
31319
31259
  archiveWhenDone?: boolean | undefined;
31320
31260
  autoMergePr?: boolean | undefined;
@@ -32499,6 +32439,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32499
32439
  id: string;
32500
32440
  };
32501
32441
  };
32442
+ } | {
32443
+ output: {
32444
+ error: string;
32445
+ };
32446
+ outputFormat: "json";
32447
+ status: 404;
32448
+ input: {
32449
+ json: {
32450
+ archiveWhenDone?: boolean | undefined;
32451
+ autoMergePr?: boolean | undefined;
32452
+ allowWorkers?: boolean | undefined;
32453
+ allowMessaging?: boolean | undefined;
32454
+ title?: string | undefined;
32455
+ task?: string | undefined;
32456
+ };
32457
+ } & {
32458
+ param: {
32459
+ id: string;
32460
+ };
32461
+ };
32462
+ } | {
32463
+ output: {
32464
+ error: string;
32465
+ };
32466
+ outputFormat: "json";
32467
+ status: 400;
32468
+ input: {
32469
+ json: {
32470
+ archiveWhenDone?: boolean | undefined;
32471
+ autoMergePr?: boolean | undefined;
32472
+ allowWorkers?: boolean | undefined;
32473
+ allowMessaging?: boolean | undefined;
32474
+ title?: string | undefined;
32475
+ task?: string | undefined;
32476
+ };
32477
+ } & {
32478
+ param: {
32479
+ id: string;
32480
+ };
32481
+ };
32482
+ } | {
32483
+ output: {
32484
+ error: string;
32485
+ };
32486
+ outputFormat: "json";
32487
+ status: 409;
32488
+ input: {
32489
+ json: {
32490
+ archiveWhenDone?: boolean | undefined;
32491
+ autoMergePr?: boolean | undefined;
32492
+ allowWorkers?: boolean | undefined;
32493
+ allowMessaging?: boolean | undefined;
32494
+ title?: string | undefined;
32495
+ task?: string | undefined;
32496
+ };
32497
+ } & {
32498
+ param: {
32499
+ id: string;
32500
+ };
32501
+ };
32502
32502
  };
32503
32503
  };
32504
32504
  } & {
@@ -32599,25 +32599,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32599
32599
  } & {
32600
32600
  "/runs/:id/messages": {
32601
32601
  $post: {
32602
- output: {
32603
- error: string;
32604
- };
32605
- outputFormat: "json";
32606
- status: 400;
32607
- input: {
32608
- json: {
32609
- text?: string | undefined;
32610
- images?: {
32611
- mediaType: string;
32612
- data: string;
32613
- }[] | undefined;
32614
- };
32615
- } & {
32616
- param: {
32617
- id: string;
32618
- };
32619
- };
32620
- } | {
32621
32602
  output: {
32622
32603
  error: string;
32623
32604
  };
@@ -32674,6 +32655,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32674
32655
  id: string;
32675
32656
  };
32676
32657
  };
32658
+ } | {
32659
+ output: {
32660
+ error: string;
32661
+ };
32662
+ outputFormat: "json";
32663
+ status: 400;
32664
+ input: {
32665
+ json: {
32666
+ text?: string | undefined;
32667
+ images?: {
32668
+ mediaType: string;
32669
+ data: string;
32670
+ }[] | undefined;
32671
+ };
32672
+ } & {
32673
+ param: {
32674
+ id: string;
32675
+ };
32676
+ };
32677
32677
  } | {
32678
32678
  output: {
32679
32679
  queued: true;
@@ -32728,7 +32728,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32728
32728
  error: string;
32729
32729
  };
32730
32730
  outputFormat: "json";
32731
- status: 400;
32731
+ status: 404;
32732
32732
  input: {
32733
32733
  json: {
32734
32734
  text?: string | undefined;
@@ -32749,7 +32749,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32749
32749
  error: string;
32750
32750
  };
32751
32751
  outputFormat: "json";
32752
- status: 404;
32752
+ status: 400;
32753
32753
  input: {
32754
32754
  json: {
32755
32755
  text?: string | undefined;
@@ -32969,11 +32969,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32969
32969
  "/runs/:id/open-in-cli": {
32970
32970
  $post: {
32971
32971
  output: {
32972
- opened: true;
32973
- command: string;
32972
+ error: string;
32974
32973
  };
32975
32974
  outputFormat: "json";
32976
- status: import("hono/utils/http-status").ContentfulStatusCode;
32975
+ status: 404 | 409;
32977
32976
  input: {
32978
32977
  param: {
32979
32978
  id: string;
@@ -32981,10 +32980,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32981
32980
  };
32982
32981
  } | {
32983
32982
  output: {
32984
- error: string;
32983
+ opened: true;
32984
+ command: string;
32985
32985
  };
32986
32986
  outputFormat: "json";
32987
- status: 404 | 409;
32987
+ status: import("hono/utils/http-status").ContentfulStatusCode;
32988
32988
  input: {
32989
32989
  param: {
32990
32990
  id: string;
@@ -33072,12 +33072,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33072
33072
  } & {
33073
33073
  "/runs/:id/images/:file": {
33074
33074
  $get: {
33075
- output: {
33076
- error: string;
33077
- code?: "invalid_input" | undefined;
33078
- };
33079
- outputFormat: "json";
33080
- status: 400;
33075
+ output: {};
33076
+ outputFormat: string;
33077
+ status: import("hono/utils/http-status").StatusCode;
33081
33078
  input: {
33082
33079
  param: {
33083
33080
  id: string;
@@ -33085,9 +33082,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33085
33082
  };
33086
33083
  };
33087
33084
  } | {
33088
- output: {};
33089
- outputFormat: string;
33090
- status: import("hono/utils/http-status").StatusCode;
33085
+ output: {
33086
+ error: string;
33087
+ code?: "invalid_input" | undefined;
33088
+ };
33089
+ outputFormat: "json";
33090
+ status: 400;
33091
33091
  input: {
33092
33092
  param: {
33093
33093
  id: string;
@@ -33123,6 +33123,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33123
33123
  } & {
33124
33124
  "/runs/:id/changes": {
33125
33125
  $get: {
33126
+ output: {
33127
+ error: string;
33128
+ };
33129
+ outputFormat: "json";
33130
+ status: 404 | 409;
33131
+ input: {
33132
+ param: {
33133
+ id: string;
33134
+ };
33135
+ };
33136
+ } | {
33126
33137
  output: {
33127
33138
  files: {
33128
33139
  path: string;
@@ -33151,7 +33162,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33151
33162
  id: string;
33152
33163
  };
33153
33164
  };
33154
- } | {
33165
+ };
33166
+ };
33167
+ } & {
33168
+ "/runs/:id/commits": {
33169
+ $get: {
33155
33170
  output: {
33156
33171
  error: string;
33157
33172
  };
@@ -33162,11 +33177,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33162
33177
  id: string;
33163
33178
  };
33164
33179
  };
33165
- };
33166
- };
33167
- } & {
33168
- "/runs/:id/commits": {
33169
- $get: {
33180
+ } | {
33170
33181
  output: {
33171
33182
  commits: {
33172
33183
  sha: string;
@@ -33182,7 +33193,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33182
33193
  id: string;
33183
33194
  };
33184
33195
  };
33185
- } | {
33196
+ };
33197
+ };
33198
+ } & {
33199
+ "/runs/:id/commit/:sha": {
33200
+ $get: {
33186
33201
  output: {
33187
33202
  error: string;
33188
33203
  };
@@ -33191,13 +33206,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33191
33206
  input: {
33192
33207
  param: {
33193
33208
  id: string;
33209
+ } & {
33210
+ sha: string;
33194
33211
  };
33195
33212
  };
33196
- };
33197
- };
33198
- } & {
33199
- "/runs/:id/commit/:sha": {
33200
- $get: {
33213
+ } | {
33201
33214
  output: {
33202
33215
  sha: string;
33203
33216
  subject: string;
@@ -33228,19 +33241,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33228
33241
  sha: string;
33229
33242
  };
33230
33243
  };
33231
- } | {
33232
- output: {
33233
- error: string;
33234
- };
33235
- outputFormat: "json";
33236
- status: 404 | 409;
33237
- input: {
33238
- param: {
33239
- id: string;
33240
- } & {
33241
- sha: string;
33242
- };
33243
- };
33244
33244
  };
33245
33245
  };
33246
33246
  } & {
@@ -33264,15 +33264,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33264
33264
  };
33265
33265
  } | {
33266
33266
  output: {
33267
- type: 'file';
33268
- path: string;
33269
- size: number;
33270
- binary: boolean;
33271
- tooLarge: boolean;
33272
- content?: string | undefined;
33267
+ error: string;
33273
33268
  };
33274
33269
  outputFormat: "json";
33275
- status: import("hono/utils/http-status").ContentfulStatusCode;
33270
+ status: 404 | 409;
33276
33271
  input: {
33277
33272
  param: {
33278
33273
  sha: string;
@@ -33285,10 +33280,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33285
33280
  };
33286
33281
  } | {
33287
33282
  output: {
33288
- error: string;
33283
+ type: 'file';
33284
+ path: string;
33285
+ size: number;
33286
+ binary: boolean;
33287
+ tooLarge: boolean;
33288
+ content?: string | undefined;
33289
33289
  };
33290
33290
  outputFormat: "json";
33291
- status: 404 | 409;
33291
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33292
33292
  input: {
33293
33293
  param: {
33294
33294
  sha: string;
@@ -33334,6 +33334,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33334
33334
  raw?: "1" | undefined;
33335
33335
  };
33336
33336
  };
33337
+ } | {
33338
+ output: {
33339
+ error: string;
33340
+ };
33341
+ outputFormat: "json";
33342
+ status: 404 | 409;
33343
+ input: {
33344
+ param: {
33345
+ id: string;
33346
+ };
33347
+ } & {
33348
+ query: {
33349
+ path: string | string[];
33350
+ raw?: "1" | undefined;
33351
+ };
33352
+ };
33337
33353
  } | {
33338
33354
  output: {
33339
33355
  type: "file";
@@ -33370,22 +33386,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33370
33386
  raw?: "1" | undefined;
33371
33387
  };
33372
33388
  };
33373
- } | {
33374
- output: {
33375
- error: string;
33376
- };
33377
- outputFormat: "json";
33378
- status: 404 | 409;
33379
- input: {
33380
- param: {
33381
- id: string;
33382
- };
33383
- } & {
33384
- query: {
33385
- path: string | string[];
33386
- raw?: "1" | undefined;
33387
- };
33388
- };
33389
33389
  };
33390
33390
  };
33391
33391
  } & {
@@ -33450,18 +33450,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33450
33450
  artifactId: string;
33451
33451
  };
33452
33452
  };
33453
- } | {
33454
- output: {
33455
- error: string;
33456
- };
33457
- outputFormat: "json";
33458
- status: 404;
33459
- input: {
33460
- param: {
33461
- id: string;
33462
- artifactId: string;
33463
- };
33464
- };
33465
33453
  } | {
33466
33454
  output: {
33467
33455
  type: "file";
@@ -33490,6 +33478,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33490
33478
  artifactId: string;
33491
33479
  };
33492
33480
  };
33481
+ } | {
33482
+ output: {
33483
+ error: string;
33484
+ };
33485
+ outputFormat: "json";
33486
+ status: 404;
33487
+ input: {
33488
+ param: {
33489
+ id: string;
33490
+ artifactId: string;
33491
+ };
33492
+ };
33493
33493
  };
33494
33494
  };
33495
33495
  } & {
@@ -33667,15 +33667,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33667
33667
  };
33668
33668
  } | {
33669
33669
  output: {
33670
- type: 'file';
33671
- path: string;
33672
- size: number;
33673
- binary: boolean;
33674
- tooLarge: boolean;
33675
- content?: string | undefined;
33670
+ error: string;
33676
33671
  };
33677
33672
  outputFormat: "json";
33678
- status: import("hono/utils/http-status").ContentfulStatusCode;
33673
+ status: 404 | 409;
33679
33674
  input: {
33680
33675
  query: {
33681
33676
  path?: string | undefined;
@@ -33688,14 +33683,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33688
33683
  };
33689
33684
  } | {
33690
33685
  output: {
33691
- type: 'dir';
33686
+ type: 'file';
33692
33687
  path: string;
33693
- entries: {
33694
- name: string;
33695
- type: 'dir' | 'file';
33696
- size?: number;
33697
- chain?: string;
33698
- }[];
33688
+ size: number;
33689
+ binary: boolean;
33690
+ tooLarge: boolean;
33691
+ content?: string | undefined;
33699
33692
  };
33700
33693
  outputFormat: "json";
33701
33694
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33711,10 +33704,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33711
33704
  };
33712
33705
  } | {
33713
33706
  output: {
33714
- error: string;
33707
+ type: 'dir';
33708
+ path: string;
33709
+ entries: {
33710
+ name: string;
33711
+ type: 'dir' | 'file';
33712
+ size?: number;
33713
+ chain?: string;
33714
+ }[];
33715
33715
  };
33716
33716
  outputFormat: "json";
33717
- status: 404 | 409;
33717
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33718
33718
  input: {
33719
33719
  query: {
33720
33720
  path?: string | undefined;
@@ -33731,11 +33731,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33731
33731
  "/runs/:id/git/commit": {
33732
33732
  $post: {
33733
33733
  output: {
33734
- committed: true;
33735
- sha: string;
33734
+ error: string;
33736
33735
  };
33737
33736
  outputFormat: "json";
33738
- status: import("hono/utils/http-status").ContentfulStatusCode;
33737
+ status: 404 | 409;
33739
33738
  input: {
33740
33739
  json: {
33741
33740
  message: string;
@@ -33747,10 +33746,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33747
33746
  };
33748
33747
  } | {
33749
33748
  output: {
33750
- error: string;
33749
+ committed: true;
33750
+ sha: string;
33751
33751
  };
33752
33752
  outputFormat: "json";
33753
- status: 404 | 409;
33753
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33754
33754
  input: {
33755
33755
  json: {
33756
33756
  message: string;
@@ -33766,13 +33766,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33766
33766
  "/runs/:id/git/push": {
33767
33767
  $post: {
33768
33768
  output: {
33769
- pushed: true;
33770
- branch: string;
33771
- remote: string;
33772
- upstreamSet: boolean;
33769
+ error: string;
33773
33770
  };
33774
33771
  outputFormat: "json";
33775
- status: import("hono/utils/http-status").ContentfulStatusCode;
33772
+ status: 404 | 409;
33776
33773
  input: {
33777
33774
  param: {
33778
33775
  id: string;
@@ -33780,10 +33777,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33780
33777
  };
33781
33778
  } | {
33782
33779
  output: {
33783
- error: string;
33780
+ pushed: true;
33781
+ branch: string;
33782
+ remote: string;
33783
+ upstreamSet: boolean;
33784
33784
  };
33785
33785
  outputFormat: "json";
33786
- status: 404 | 409;
33786
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33787
33787
  input: {
33788
33788
  param: {
33789
33789
  id: string;
@@ -33795,11 +33795,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33795
33795
  "/runs/:id/pr": {
33796
33796
  $post: {
33797
33797
  output: {
33798
- url: string;
33799
- dryRun: boolean;
33798
+ error: string;
33800
33799
  };
33801
33800
  outputFormat: "json";
33802
- status: 201;
33801
+ status: 404 | 409;
33803
33802
  input: {
33804
33803
  param: {
33805
33804
  id: string;
@@ -33807,10 +33806,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33807
33806
  };
33808
33807
  } | {
33809
33808
  output: {
33810
- error: string;
33809
+ url: string;
33810
+ dryRun: boolean;
33811
33811
  };
33812
33812
  outputFormat: "json";
33813
- status: 404 | 409;
33813
+ status: 201;
33814
33814
  input: {
33815
33815
  param: {
33816
33816
  id: string;
@@ -33822,10 +33822,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33822
33822
  "/runs/:id/remove-worktree": {
33823
33823
  $post: {
33824
33824
  output: {
33825
- removed: true;
33825
+ error: string;
33826
33826
  };
33827
33827
  outputFormat: "json";
33828
- status: import("hono/utils/http-status").ContentfulStatusCode;
33828
+ status: 404 | 409;
33829
33829
  input: {
33830
33830
  param: {
33831
33831
  id: string;
@@ -33833,10 +33833,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33833
33833
  };
33834
33834
  } | {
33835
33835
  output: {
33836
- error: string;
33836
+ removed: true;
33837
33837
  };
33838
33838
  outputFormat: "json";
33839
- status: 404 | 409;
33839
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33840
33840
  input: {
33841
33841
  param: {
33842
33842
  id: string;
@@ -33848,10 +33848,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33848
33848
  "/runs/:id": {
33849
33849
  $delete: {
33850
33850
  output: {
33851
- deleted: true;
33851
+ error: string;
33852
33852
  };
33853
33853
  outputFormat: "json";
33854
- status: import("hono/utils/http-status").ContentfulStatusCode;
33854
+ status: 404 | 409;
33855
33855
  input: {
33856
33856
  param: {
33857
33857
  id: string;
@@ -33859,10 +33859,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33859
33859
  };
33860
33860
  } | {
33861
33861
  output: {
33862
- error: string;
33862
+ deleted: true;
33863
33863
  };
33864
33864
  outputFormat: "json";
33865
- status: 404 | 409;
33865
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33866
33866
  input: {
33867
33867
  param: {
33868
33868
  id: string;