@wjarka/cezarion 0.17.0-dev.5506 → 0.17.0-dev.5515

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 (62) hide show
  1. package/README.md +12 -0
  2. package/dist/ci-wait/controller.d.ts +37 -37
  3. package/dist/ci-wait/errors.js +2 -2
  4. package/dist/ci-wait/errors.js.map +1 -1
  5. package/dist/ci-wait/tools.js +8 -6
  6. package/dist/ci-wait/tools.js.map +1 -1
  7. package/dist/cli-dispatch.js +1 -0
  8. package/dist/cli-dispatch.js.map +1 -1
  9. package/dist/delegation/transport.d.ts +62 -62
  10. package/dist/jobs/cli.d.ts +2 -0
  11. package/dist/jobs/cli.js +53 -0
  12. package/dist/jobs/cli.js.map +1 -0
  13. package/dist/jobs/command.d.ts +9 -0
  14. package/dist/jobs/command.js +19 -0
  15. package/dist/jobs/command.js.map +1 -0
  16. package/dist/jobs/job.d.ts +77 -0
  17. package/dist/jobs/job.js +252 -0
  18. package/dist/jobs/job.js.map +1 -0
  19. package/dist/server/activity-routes.d.ts +23 -23
  20. package/dist/server/live-routes.d.ts +6 -6
  21. package/dist/server/run-checkout.d.ts +2 -3
  22. package/dist/server/run-checkout.js +4 -4
  23. package/dist/server/run-checkout.js.map +1 -1
  24. package/dist/server/self-update-routes.d.ts +19 -19
  25. package/dist/server/server.d.ts +1383 -1435
  26. package/dist/server/server.js +11 -24
  27. package/dist/server/server.js.map +1 -1
  28. package/dist/subcommands.d.ts +1 -1
  29. package/dist/subcommands.js +2 -1
  30. package/dist/subcommands.js.map +1 -1
  31. package/dist/voice/routes.d.ts +19 -19
  32. package/dist/workflows/run/session-events.d.ts +1 -1
  33. package/dist/workflows/run/session-events.js +3 -2
  34. package/dist/workflows/run/session-events.js.map +1 -1
  35. package/dist/workflows/run/wait-kinds.d.ts +3 -0
  36. package/dist/workflows/run/wait-kinds.js +11 -1
  37. package/dist/workflows/run/wait-kinds.js.map +1 -1
  38. package/package.json +3 -3
  39. package/web/dist/assets/{activity-motion-BHr-ZAZp.js → activity-motion-D-wNjCZO.js} +1 -1
  40. package/web/dist/assets/{activity-route-Bk7-QeK_.js → activity-route-CEhKA6LC.js} +1 -1
  41. package/web/dist/assets/{commit-diff-panel-C9vHxqqQ.js → commit-diff-panel-C5SEnKvj.js} +1 -1
  42. package/web/dist/assets/{diff-gmuErI3F.js → diff-DOKQG121.js} +2 -2
  43. package/web/dist/assets/{diff-view-DigfbKBX.js → diff-view-Dlbaomc6.js} +1 -1
  44. package/web/dist/assets/{git-toolbar-DOUDDTBC.js → git-toolbar-B_lgnDi3.js} +1 -1
  45. package/web/dist/assets/{github-DBcdEsSz.js → github-89EDv5jm.js} +1 -1
  46. package/web/dist/assets/{global-activity-route-CxCecB2W.js → global-activity-route-2SM3xKBA.js} +1 -1
  47. package/web/dist/assets/{index-Cybrk3p9.js → index-DKIv9VPA.js} +3 -3
  48. package/web/dist/assets/{preview-pane-connected-mMMD4IiM.js → preview-pane-connected-B730Jv1e.js} +1 -1
  49. package/web/dist/assets/{repo-git-Dv-6cKAC.js → repo-git-D6gQXbHu.js} +1 -1
  50. package/web/dist/assets/{report-reader-Dtus2Ua4.js → report-reader-DP43jeNM.js} +1 -1
  51. package/web/dist/assets/{reports-DAgEuUbp.js → reports-DV8NzFp3.js} +1 -1
  52. package/web/dist/assets/{run-header-BPaPARge.js → run-header-DjXPrh23.js} +1 -1
  53. package/web/dist/assets/{skills-XYpWQDCm.js → skills-DuZYEbo5.js} +1 -1
  54. package/web/dist/assets/{task-changes-BAQ4Gn66.js → task-changes-CUWFco57.js} +1 -1
  55. package/web/dist/assets/{task-commits-DS7kN8JG.js → task-commits-Cgoxt66y.js} +1 -1
  56. package/web/dist/assets/{task-files-D7YFhWFg.js → task-files-BmTRfJ5K.js} +1 -1
  57. package/web/dist/assets/{task-github-item-bRgH9WkE.js → task-github-item-Cmro8m-6.js} +1 -1
  58. package/web/dist/assets/{task-thread-CuRhXDEj.js → task-thread-BTjoNRed.js} +2 -2
  59. package/web/dist/assets/{thread-state-DDD8tLGN.js → thread-state-Cd3ERj1h.js} +1 -1
  60. package/web/dist/assets/{use-hand-to-agent-state-b8KEA5pM.js → use-hand-to-agent-state-C2rQan6D.js} +1 -1
  61. package/web/dist/assets/{workflows-BdKDN9aF.js → workflows-DemG2-He.js} +1 -1
  62. package/web/dist/index.html +1 -1
@@ -182,29 +182,6 @@ export declare class WorkspaceEventBus {
182
182
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
183
183
  "/workspace/activity": {
184
184
  $get: {
185
- output: {
186
- error: string;
187
- code?: "invalid_input" | undefined;
188
- };
189
- outputFormat: "json";
190
- status: 400;
191
- input: {
192
- query: {
193
- project?: string | undefined;
194
- };
195
- };
196
- } | {
197
- output: {
198
- error: string;
199
- };
200
- outputFormat: "json";
201
- status: 404 | 409 | 503;
202
- input: {
203
- query: {
204
- project?: string | undefined;
205
- };
206
- };
207
- } | {
208
185
  output: {
209
186
  generatedAt: string;
210
187
  projects: {
@@ -435,6 +412,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
435
412
  project?: string | undefined;
436
413
  };
437
414
  };
415
+ } | {
416
+ output: {
417
+ error: string;
418
+ code?: "invalid_input" | undefined;
419
+ };
420
+ outputFormat: "json";
421
+ status: 400;
422
+ input: {
423
+ query: {
424
+ project?: string | undefined;
425
+ };
426
+ };
427
+ } | {
428
+ output: {
429
+ error: string;
430
+ };
431
+ outputFormat: "json";
432
+ status: 404 | 409 | 503;
433
+ input: {
434
+ query: {
435
+ project?: string | undefined;
436
+ };
437
+ };
438
438
  };
439
439
  };
440
440
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -555,10 +555,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
555
555
  };
556
556
  } | {
557
557
  output: {
558
- error: string;
558
+ path: string;
559
+ parent: string | null;
560
+ dirs: {
561
+ name: string;
562
+ path: string;
563
+ isRepo: boolean;
564
+ }[];
565
+ truncated: boolean;
559
566
  };
560
567
  outputFormat: "json";
561
- status: 400 | 403 | 404;
568
+ status: import("hono/utils/http-status").ContentfulStatusCode;
562
569
  input: {
563
570
  query: {
564
571
  path?: string | undefined;
@@ -567,17 +574,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
567
574
  };
568
575
  } | {
569
576
  output: {
570
- path: string;
571
- parent: string | null;
572
- dirs: {
573
- name: string;
574
- path: string;
575
- isRepo: boolean;
576
- }[];
577
- truncated: boolean;
577
+ error: string;
578
578
  };
579
579
  outputFormat: "json";
580
- status: import("hono/utils/http-status").ContentfulStatusCode;
580
+ status: 400 | 403 | 404;
581
581
  input: {
582
582
  query: {
583
583
  path?: string | undefined;
@@ -589,6 +589,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
589
589
  }, "/"> | import("hono/types").MergeSchemaPath<{
590
590
  "/automation-checks/:checkId": {
591
591
  $get: {
592
+ output: {
593
+ error: string;
594
+ };
595
+ outputFormat: "json";
596
+ status: 404;
597
+ input: {
598
+ param: {
599
+ checkId: string;
600
+ };
601
+ };
602
+ } | {
592
603
  output: {
593
604
  id: string;
594
605
  automationId: string;
@@ -607,31 +618,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
607
618
  checkId: string;
608
619
  };
609
620
  };
610
- } | {
611
- output: {
612
- error: string;
613
- };
614
- outputFormat: "json";
615
- status: 404;
616
- input: {
617
- param: {
618
- checkId: string;
619
- };
620
- };
621
621
  };
622
622
  };
623
623
  }, "/"> | import("hono/types").MergeSchemaPath<{
624
624
  "/workspace/events": {
625
625
  $get: {
626
- output: {};
627
- outputFormat: string;
628
- status: import("hono/utils/http-status").StatusCode;
629
- input: {
630
- query: {
631
- runs?: "summary" | undefined;
632
- };
633
- };
634
- } | {
635
626
  output: {
636
627
  error: string;
637
628
  code?: "invalid_input" | undefined;
@@ -643,6 +634,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
643
634
  runs?: "summary" | undefined;
644
635
  };
645
636
  };
637
+ } | {
638
+ output: {};
639
+ outputFormat: string;
640
+ status: import("hono/utils/http-status").StatusCode;
641
+ input: {
642
+ query: {
643
+ runs?: "summary" | undefined;
644
+ };
645
+ };
646
646
  };
647
647
  };
648
648
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1042,17 +1042,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1042
1042
  };
1043
1043
  } | {
1044
1044
  output: {
1045
- providers: {
1046
- provider: ProviderId;
1047
- status: import("../core/provider-auth.ts").ProviderConnectionState;
1048
- enabled?: boolean;
1049
- hint?: string;
1050
- authFailureId?: string;
1051
- profileId?: string;
1052
- }[];
1045
+ error: string;
1053
1046
  };
1054
1047
  outputFormat: "json";
1055
- status: import("hono/utils/http-status").ContentfulStatusCode;
1048
+ status: 500;
1056
1049
  input: {
1057
1050
  param: {
1058
1051
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1064,10 +1057,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1064
1057
  };
1065
1058
  } | {
1066
1059
  output: {
1067
- error: string;
1060
+ providers: {
1061
+ provider: ProviderId;
1062
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
1063
+ enabled?: boolean;
1064
+ hint?: string;
1065
+ authFailureId?: string;
1066
+ profileId?: string;
1067
+ }[];
1068
1068
  };
1069
1069
  outputFormat: "json";
1070
- status: 500;
1070
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1071
1071
  input: {
1072
1072
  param: {
1073
1073
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1099,17 +1099,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1099
1099
  };
1100
1100
  } | {
1101
1101
  output: {
1102
- providers: {
1103
- provider: ProviderId;
1104
- status: import("../core/provider-auth.ts").ProviderConnectionState;
1105
- enabled?: boolean;
1106
- hint?: string;
1107
- authFailureId?: string;
1108
- profileId?: string;
1109
- }[];
1102
+ error: string;
1110
1103
  };
1111
1104
  outputFormat: "json";
1112
- status: import("hono/utils/http-status").ContentfulStatusCode;
1105
+ status: 409;
1113
1106
  input: {
1114
1107
  param: {
1115
1108
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1121,10 +1114,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1121
1114
  };
1122
1115
  } | {
1123
1116
  output: {
1124
- error: string;
1117
+ providers: {
1118
+ provider: ProviderId;
1119
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
1120
+ enabled?: boolean;
1121
+ hint?: string;
1122
+ authFailureId?: string;
1123
+ profileId?: string;
1124
+ }[];
1125
1125
  };
1126
1126
  outputFormat: "json";
1127
- status: 409;
1127
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1128
1128
  input: {
1129
1129
  param: {
1130
1130
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1143,7 +1143,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1143
1143
  error: string;
1144
1144
  };
1145
1145
  outputFormat: "json";
1146
- status: 409;
1146
+ status: 400;
1147
1147
  input: {
1148
1148
  json: {
1149
1149
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1155,7 +1155,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1155
1155
  error: string;
1156
1156
  };
1157
1157
  outputFormat: "json";
1158
- status: 400;
1158
+ status: 409;
1159
1159
  input: {
1160
1160
  json: {
1161
1161
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1247,39 +1247,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1247
1247
  "/workspace/config": {
1248
1248
  $put: {
1249
1249
  output: {
1250
- browseRoot: string;
1251
- projectsDir: string;
1252
- archiveOnMerge: boolean | null;
1253
- effectiveArchiveOnMerge: boolean;
1254
- archiveOnMergeSource: "default" | "environment" | "global";
1255
- composerDefaults: {
1256
- autonomous: boolean | null;
1257
- worktree: boolean | null;
1258
- inheritedAutonomous: "source-dependent" | boolean;
1259
- inheritedWorktree: boolean;
1260
- };
1261
- resources: {
1262
- maxParallel: number;
1263
- maxMonitoringSessions: number;
1264
- monitoringWakeIntervalMinutes: number | null;
1265
- autoResumeOnUsageLimit: boolean;
1266
- memoryLimitMb: number | null;
1267
- worktreeRetentionDefault: number;
1268
- };
1269
- agentDefaults: {
1270
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1271
- models?: {
1272
- claude?: string | undefined;
1273
- codex?: string | undefined;
1274
- opencode?: string | undefined;
1275
- pi?: string | undefined;
1276
- cursor?: string | undefined;
1277
- omp?: string | undefined;
1278
- } | undefined;
1279
- };
1250
+ error: string;
1280
1251
  };
1281
1252
  outputFormat: "json";
1282
- status: import("hono/utils/http-status").ContentfulStatusCode;
1253
+ status: 400;
1283
1254
  input: {
1284
1255
  json: {
1285
1256
  browseRoot?: string | undefined;
@@ -1315,7 +1286,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1315
1286
  error: string;
1316
1287
  };
1317
1288
  outputFormat: "json";
1318
- status: 400;
1289
+ status: 500;
1319
1290
  input: {
1320
1291
  json: {
1321
1292
  browseRoot?: string | undefined;
@@ -1348,10 +1319,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1348
1319
  };
1349
1320
  } | {
1350
1321
  output: {
1351
- error: string;
1322
+ browseRoot: string;
1323
+ projectsDir: string;
1324
+ archiveOnMerge: boolean | null;
1325
+ effectiveArchiveOnMerge: boolean;
1326
+ archiveOnMergeSource: "default" | "environment" | "global";
1327
+ composerDefaults: {
1328
+ autonomous: boolean | null;
1329
+ worktree: boolean | null;
1330
+ inheritedAutonomous: "source-dependent" | boolean;
1331
+ inheritedWorktree: boolean;
1332
+ };
1333
+ resources: {
1334
+ maxParallel: number;
1335
+ maxMonitoringSessions: number;
1336
+ monitoringWakeIntervalMinutes: number | null;
1337
+ autoResumeOnUsageLimit: boolean;
1338
+ memoryLimitMb: number | null;
1339
+ worktreeRetentionDefault: number;
1340
+ };
1341
+ agentDefaults: {
1342
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1343
+ models?: {
1344
+ claude?: string | undefined;
1345
+ codex?: string | undefined;
1346
+ opencode?: string | undefined;
1347
+ pi?: string | undefined;
1348
+ cursor?: string | undefined;
1349
+ omp?: string | undefined;
1350
+ } | undefined;
1351
+ };
1352
1352
  };
1353
1353
  outputFormat: "json";
1354
- status: 500;
1354
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1355
1355
  input: {
1356
1356
  json: {
1357
1357
  browseRoot?: string | undefined;
@@ -1435,46 +1435,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1435
1435
  "/workspace/ui-state": {
1436
1436
  $put: {
1437
1437
  output: {
1438
- [x: string]: import("hono/utils/types").JSONValue;
1439
- sidebar?: {
1440
- [x: string]: import("hono/utils/types").JSONValue;
1441
- collapsed?: {
1442
- [x: string]: boolean;
1443
- } | undefined;
1444
- projectOrder?: string[] | undefined;
1445
- } | undefined;
1446
- dismissedProviderAuthFailures?: {
1447
- claude?: string | undefined;
1448
- codex?: string | undefined;
1449
- opencode?: string | undefined;
1450
- pi?: string | undefined;
1451
- cursor?: string | undefined;
1452
- omp?: string | undefined;
1453
- } | undefined;
1454
- appearance?: {
1455
- accent?: "cezarion" | "lime" | "violet" | undefined;
1456
- density?: "comfortable" | "compact" | "ultra" | undefined;
1457
- width?: "narrow" | "wide" | undefined;
1458
- } | undefined;
1459
- notifications?: {
1460
- [x: string]: import("hono/utils/types").JSONValue;
1461
- enabled?: boolean | undefined;
1462
- } | undefined;
1463
- taskTable?: {
1464
- [x: string]: import("hono/utils/types").JSONValue;
1465
- expandedColumns?: {
1466
- [x: string]: boolean;
1467
- } | undefined;
1468
- } | undefined;
1469
- lastLocation?: {
1470
- projectId: string;
1471
- pathname: string;
1472
- search?: string | undefined;
1473
- hash?: string | undefined;
1474
- } | undefined;
1438
+ error: string;
1475
1439
  };
1476
1440
  outputFormat: "json";
1477
- status: import("hono/utils/http-status").ContentfulStatusCode;
1441
+ status: 500;
1478
1442
  input: {
1479
1443
  json: {
1480
1444
  [x: string]: unknown;
@@ -1514,10 +1478,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1514
1478
  };
1515
1479
  } | {
1516
1480
  output: {
1517
- error: string;
1481
+ [x: string]: import("hono/utils/types").JSONValue;
1482
+ sidebar?: {
1483
+ [x: string]: import("hono/utils/types").JSONValue;
1484
+ collapsed?: {
1485
+ [x: string]: boolean;
1486
+ } | undefined;
1487
+ projectOrder?: string[] | undefined;
1488
+ } | undefined;
1489
+ dismissedProviderAuthFailures?: {
1490
+ claude?: string | undefined;
1491
+ codex?: string | undefined;
1492
+ opencode?: string | undefined;
1493
+ pi?: string | undefined;
1494
+ cursor?: string | undefined;
1495
+ omp?: string | undefined;
1496
+ } | undefined;
1497
+ appearance?: {
1498
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1499
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1500
+ width?: "narrow" | "wide" | undefined;
1501
+ } | undefined;
1502
+ notifications?: {
1503
+ [x: string]: import("hono/utils/types").JSONValue;
1504
+ enabled?: boolean | undefined;
1505
+ } | undefined;
1506
+ taskTable?: {
1507
+ [x: string]: import("hono/utils/types").JSONValue;
1508
+ expandedColumns?: {
1509
+ [x: string]: boolean;
1510
+ } | undefined;
1511
+ } | undefined;
1512
+ lastLocation?: {
1513
+ projectId: string;
1514
+ pathname: string;
1515
+ search?: string | undefined;
1516
+ hash?: string | undefined;
1517
+ } | undefined;
1518
1518
  };
1519
1519
  outputFormat: "json";
1520
- status: 500;
1520
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1521
1521
  input: {
1522
1522
  json: {
1523
1523
  [x: string]: unknown;
@@ -1718,6 +1718,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1718
1718
  } & {
1719
1719
  "/workspace/self-update/channel": {
1720
1720
  $put: {
1721
+ output: {
1722
+ error: string;
1723
+ };
1724
+ outputFormat: "json";
1725
+ status: 500;
1726
+ input: {
1727
+ json: {
1728
+ channel: "development" | "nightly" | "stable";
1729
+ };
1730
+ };
1731
+ } | {
1721
1732
  output: {
1722
1733
  version: string;
1723
1734
  installKind: "checkout" | "global-npm" | "managed" | "npx" | "unknown";
@@ -1764,22 +1775,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1764
1775
  channel: "development" | "nightly" | "stable";
1765
1776
  };
1766
1777
  };
1767
- } | {
1778
+ };
1779
+ };
1780
+ } & {
1781
+ "/workspace/self-update/apply": {
1782
+ $post: {
1768
1783
  output: {
1769
1784
  error: string;
1770
1785
  };
1771
1786
  outputFormat: "json";
1772
- status: 500;
1787
+ status: 409;
1773
1788
  input: {
1774
1789
  json: {
1775
- channel: "development" | "nightly" | "stable";
1790
+ version: string;
1776
1791
  };
1777
1792
  };
1778
- };
1779
- };
1780
- } & {
1781
- "/workspace/self-update/apply": {
1782
- $post: {
1793
+ } | {
1783
1794
  output: {
1784
1795
  version: string;
1785
1796
  installKind: "checkout" | "global-npm" | "managed" | "npx" | "unknown";
@@ -1826,17 +1837,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1826
1837
  version: string;
1827
1838
  };
1828
1839
  };
1829
- } | {
1830
- output: {
1831
- error: string;
1832
- };
1833
- outputFormat: "json";
1834
- status: 409;
1835
- input: {
1836
- json: {
1837
- version: string;
1838
- };
1839
- };
1840
1840
  };
1841
1841
  };
1842
1842
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1913,45 +1913,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1913
1913
  } & {
1914
1914
  "/workspace/agent-profiles": {
1915
1915
  $post: {
1916
- output: {
1917
- error: string;
1918
- };
1919
- outputFormat: "json";
1920
- status: 409;
1921
- input: {
1922
- json: {
1923
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1924
- label?: string | undefined;
1925
- configDir: string;
1926
- };
1927
- };
1928
- } | {
1929
- output: {
1930
- error: string;
1931
- };
1932
- outputFormat: "json";
1933
- status: 400;
1934
- input: {
1935
- json: {
1936
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1937
- label?: string | undefined;
1938
- configDir: string;
1939
- };
1940
- };
1941
- } | {
1942
- output: {
1943
- error: string;
1944
- };
1945
- outputFormat: "json";
1946
- status: 500;
1947
- input: {
1948
- json: {
1949
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1950
- label?: string | undefined;
1951
- configDir: string;
1952
- };
1953
- };
1954
- } | {
1955
1916
  output: {
1956
1917
  profile: {
1957
1918
  exists: boolean;
@@ -2002,6 +1963,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2002
1963
  configDir: string;
2003
1964
  };
2004
1965
  };
1966
+ } | {
1967
+ output: {
1968
+ error: string;
1969
+ };
1970
+ outputFormat: "json";
1971
+ status: 400;
1972
+ input: {
1973
+ json: {
1974
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1975
+ label?: string | undefined;
1976
+ configDir: string;
1977
+ };
1978
+ };
1979
+ } | {
1980
+ output: {
1981
+ error: string;
1982
+ };
1983
+ outputFormat: "json";
1984
+ status: 409;
1985
+ input: {
1986
+ json: {
1987
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1988
+ label?: string | undefined;
1989
+ configDir: string;
1990
+ };
1991
+ };
1992
+ } | {
1993
+ output: {
1994
+ error: string;
1995
+ };
1996
+ outputFormat: "json";
1997
+ status: 500;
1998
+ input: {
1999
+ json: {
2000
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
2001
+ label?: string | undefined;
2002
+ configDir: string;
2003
+ };
2004
+ };
2005
2005
  };
2006
2006
  };
2007
2007
  } & {
@@ -2028,7 +2028,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2028
2028
  error: string;
2029
2029
  };
2030
2030
  outputFormat: "json";
2031
- status: 409;
2031
+ status: 400;
2032
2032
  input: {
2033
2033
  param: {
2034
2034
  id: string;
@@ -2044,7 +2044,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2044
2044
  error: string;
2045
2045
  };
2046
2046
  outputFormat: "json";
2047
- status: 400;
2047
+ status: 404;
2048
2048
  input: {
2049
2049
  param: {
2050
2050
  id: string;
@@ -2060,7 +2060,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2060
2060
  error: string;
2061
2061
  };
2062
2062
  outputFormat: "json";
2063
- status: 404;
2063
+ status: 409;
2064
2064
  input: {
2065
2065
  param: {
2066
2066
  id: string;
@@ -2166,7 +2166,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2166
2166
  error: string;
2167
2167
  };
2168
2168
  outputFormat: "json";
2169
- status: 409;
2169
+ status: 404;
2170
2170
  input: {
2171
2171
  param: {
2172
2172
  id: string;
@@ -2181,7 +2181,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2181
2181
  error: string;
2182
2182
  };
2183
2183
  outputFormat: "json";
2184
- status: 404;
2184
+ status: 409;
2185
2185
  input: {
2186
2186
  param: {
2187
2187
  id: string;
@@ -2254,7 +2254,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2254
2254
  error: string;
2255
2255
  };
2256
2256
  outputFormat: "json";
2257
- status: 409;
2257
+ status: 404;
2258
2258
  input: {
2259
2259
  param: {
2260
2260
  id: string;
@@ -2265,7 +2265,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2265
2265
  error: string;
2266
2266
  };
2267
2267
  outputFormat: "json";
2268
- status: 404;
2268
+ status: 409;
2269
2269
  input: {
2270
2270
  param: {
2271
2271
  id: string;
@@ -2313,7 +2313,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2313
2313
  error: string;
2314
2314
  };
2315
2315
  outputFormat: "json";
2316
- status: 409;
2316
+ status: 400;
2317
2317
  input: {
2318
2318
  param: {
2319
2319
  id: string;
@@ -2345,7 +2345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2345
2345
  error: string;
2346
2346
  };
2347
2347
  outputFormat: "json";
2348
- status: 400;
2348
+ status: 409;
2349
2349
  input: {
2350
2350
  param: {
2351
2351
  id: string;
@@ -2382,7 +2382,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2382
2382
  error: string;
2383
2383
  };
2384
2384
  outputFormat: "json";
2385
- status: 409;
2385
+ status: 400;
2386
2386
  input: {
2387
2387
  json: {
2388
2388
  projectId: string | null;
@@ -2408,7 +2408,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2408
2408
  error: string;
2409
2409
  };
2410
2410
  outputFormat: "json";
2411
- status: 400;
2411
+ status: 409;
2412
2412
  input: {
2413
2413
  json: {
2414
2414
  projectId: string | null;
@@ -2482,7 +2482,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2482
2482
  error: string;
2483
2483
  };
2484
2484
  outputFormat: "json";
2485
- status: 409;
2485
+ status: 404;
2486
2486
  input: {
2487
2487
  param: {
2488
2488
  id: string;
@@ -2493,7 +2493,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2493
2493
  error: string;
2494
2494
  };
2495
2495
  outputFormat: "json";
2496
- status: 500;
2496
+ status: 409;
2497
2497
  input: {
2498
2498
  param: {
2499
2499
  id: string;
@@ -2504,7 +2504,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2504
2504
  error: string;
2505
2505
  };
2506
2506
  outputFormat: "json";
2507
- status: 404;
2507
+ status: 500;
2508
2508
  input: {
2509
2509
  param: {
2510
2510
  id: string;
@@ -2658,7 +2658,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2658
2658
  error: string;
2659
2659
  };
2660
2660
  outputFormat: "json";
2661
- status: 409;
2661
+ status: 404;
2662
2662
  input: {
2663
2663
  param: {
2664
2664
  projectId: string;
@@ -2669,7 +2669,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2669
2669
  error: string;
2670
2670
  };
2671
2671
  outputFormat: "json";
2672
- status: 404;
2672
+ status: 409;
2673
2673
  input: {
2674
2674
  param: {
2675
2675
  projectId: string;
@@ -2707,7 +2707,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2707
2707
  error: string;
2708
2708
  };
2709
2709
  outputFormat: "json";
2710
- status: 409;
2710
+ status: 404;
2711
2711
  input: {
2712
2712
  json: {
2713
2713
  maxParallel?: number | null | undefined;
@@ -2728,7 +2728,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2728
2728
  error: string;
2729
2729
  };
2730
2730
  outputFormat: "json";
2731
- status: 404;
2731
+ status: 409;
2732
2732
  input: {
2733
2733
  json: {
2734
2734
  maxParallel?: number | null | undefined;
@@ -2823,7 +2823,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2823
2823
  error: string;
2824
2824
  };
2825
2825
  outputFormat: "json";
2826
- status: 409;
2826
+ status: 400;
2827
2827
  input: {
2828
2828
  param: {
2829
2829
  projectId: string;
@@ -2845,7 +2845,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2845
2845
  error: string;
2846
2846
  };
2847
2847
  outputFormat: "json";
2848
- status: 400;
2848
+ status: 409;
2849
2849
  input: {
2850
2850
  param: {
2851
2851
  projectId: string;
@@ -2870,27 +2870,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2870
2870
  } & {
2871
2871
  "/projects/:projectId/webhooks": {
2872
2872
  $post: {
2873
- output: {
2874
- error: string;
2875
- };
2876
- outputFormat: "json";
2877
- status: 400 | 404 | 409 | 500;
2878
- input: {
2879
- json: {
2880
- name: string;
2881
- description?: string | undefined;
2882
- url: string;
2883
- token?: string | undefined;
2884
- tasks?: boolean | undefined;
2885
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2886
- agent?: boolean | undefined;
2887
- };
2888
- } & {
2889
- param: {
2890
- projectId: string;
2891
- };
2892
- };
2893
- } | {
2894
2873
  output: {
2895
2874
  project: {
2896
2875
  id: string;
@@ -2949,6 +2928,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2949
2928
  projectId: string;
2950
2929
  };
2951
2930
  };
2931
+ } | {
2932
+ output: {
2933
+ error: string;
2934
+ };
2935
+ outputFormat: "json";
2936
+ status: 400 | 404 | 409 | 500;
2937
+ input: {
2938
+ json: {
2939
+ name: string;
2940
+ description?: string | undefined;
2941
+ url: string;
2942
+ token?: string | undefined;
2943
+ tasks?: boolean | undefined;
2944
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2945
+ agent?: boolean | undefined;
2946
+ };
2947
+ } & {
2948
+ param: {
2949
+ projectId: string;
2950
+ };
2951
+ };
2952
2952
  };
2953
2953
  };
2954
2954
  } & {
@@ -3149,7 +3149,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3149
3149
  error: string;
3150
3150
  };
3151
3151
  outputFormat: "json";
3152
- status: 409;
3152
+ status: 404;
3153
3153
  input: {
3154
3154
  param: {
3155
3155
  projectId: string;
@@ -3158,13 +3158,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3158
3158
  };
3159
3159
  } | {
3160
3160
  output: {
3161
- ok: boolean;
3162
- status?: number | undefined;
3163
- error?: string | undefined;
3164
- dryRun?: boolean | undefined;
3161
+ error: string;
3165
3162
  };
3166
3163
  outputFormat: "json";
3167
- status: import("hono/utils/http-status").ContentfulStatusCode;
3164
+ status: 409;
3168
3165
  input: {
3169
3166
  param: {
3170
3167
  projectId: string;
@@ -3173,10 +3170,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3173
3170
  };
3174
3171
  } | {
3175
3172
  output: {
3176
- error: string;
3173
+ ok: boolean;
3174
+ status?: number | undefined;
3175
+ error?: string | undefined;
3176
+ dryRun?: boolean | undefined;
3177
3177
  };
3178
3178
  outputFormat: "json";
3179
- status: 404;
3179
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3180
3180
  input: {
3181
3181
  param: {
3182
3182
  projectId: string;
@@ -3844,7 +3844,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3844
3844
  error: string;
3845
3845
  };
3846
3846
  outputFormat: "json";
3847
- status: 409;
3847
+ status: 400;
3848
3848
  input: {
3849
3849
  json: {
3850
3850
  target: string;
@@ -3855,7 +3855,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3855
3855
  error: string;
3856
3856
  };
3857
3857
  outputFormat: "json";
3858
- status: 400;
3858
+ status: 409;
3859
3859
  input: {
3860
3860
  json: {
3861
3861
  target: string;
@@ -3878,9 +3878,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3878
3878
  }, "/"> | import("hono/types").MergeSchemaPath<{
3879
3879
  "/runs/:id/events": {
3880
3880
  $get: {
3881
- output: {};
3882
- outputFormat: string;
3883
- status: import("hono/utils/http-status").StatusCode;
3881
+ output: {
3882
+ error: string;
3883
+ code?: "invalid_input" | undefined;
3884
+ };
3885
+ outputFormat: "json";
3886
+ status: 400;
3884
3887
  input: {
3885
3888
  param: {
3886
3889
  id: string;
@@ -3892,12 +3895,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3892
3895
  };
3893
3896
  };
3894
3897
  } | {
3895
- output: {
3896
- error: string;
3897
- code?: "invalid_input" | undefined;
3898
- };
3899
- outputFormat: "json";
3900
- status: 400;
3898
+ output: {};
3899
+ outputFormat: string;
3900
+ status: import("hono/utils/http-status").StatusCode;
3901
3901
  input: {
3902
3902
  param: {
3903
3903
  id: string;
@@ -3958,34 +3958,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3958
3958
  "/config": {
3959
3959
  $put: {
3960
3960
  output: {
3961
- archiveOnMerge: boolean | null;
3962
- effectiveArchiveOnMerge: boolean;
3963
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3964
- baseBranch: string | null;
3965
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3966
- systemPrompt: string | null;
3967
- defaultModels: {
3968
- claude?: string | undefined;
3969
- codex?: string | undefined;
3970
- opencode?: string | undefined;
3971
- pi?: string | undefined;
3972
- cursor?: string | undefined;
3973
- omp?: string | undefined;
3974
- };
3975
- modelsLocked: boolean;
3976
- maxParallel: number;
3977
- memoryLimitMb: number | null;
3978
- worktreeRetention: number;
3979
- liveTitleUpdates: boolean | null;
3980
- reviewGate: boolean | null;
3981
- worktreeSetup: {
3982
- commands: string[];
3983
- timeoutSeconds: number;
3984
- } | null;
3985
- worktreeSetupIssue: string | null;
3961
+ error: string;
3986
3962
  };
3987
3963
  outputFormat: "json";
3988
- status: import("hono/utils/http-status").ContentfulStatusCode;
3964
+ status: 409;
3989
3965
  input: {
3990
3966
  json: {
3991
3967
  archiveOnMerge?: boolean | null | undefined;
@@ -4016,7 +3992,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4016
3992
  error: string;
4017
3993
  };
4018
3994
  outputFormat: "json";
4019
- status: 409;
3995
+ status: 500;
4020
3996
  input: {
4021
3997
  json: {
4022
3998
  archiveOnMerge?: boolean | null | undefined;
@@ -4044,10 +4020,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4044
4020
  };
4045
4021
  } | {
4046
4022
  output: {
4047
- error: string;
4023
+ archiveOnMerge: boolean | null;
4024
+ effectiveArchiveOnMerge: boolean;
4025
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
4026
+ baseBranch: string | null;
4027
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
4028
+ systemPrompt: string | null;
4029
+ defaultModels: {
4030
+ claude?: string | undefined;
4031
+ codex?: string | undefined;
4032
+ opencode?: string | undefined;
4033
+ pi?: string | undefined;
4034
+ cursor?: string | undefined;
4035
+ omp?: string | undefined;
4036
+ };
4037
+ modelsLocked: boolean;
4038
+ maxParallel: number;
4039
+ memoryLimitMb: number | null;
4040
+ worktreeRetention: number;
4041
+ liveTitleUpdates: boolean | null;
4042
+ reviewGate: boolean | null;
4043
+ worktreeSetup: {
4044
+ commands: string[];
4045
+ timeoutSeconds: number;
4046
+ } | null;
4047
+ worktreeSetupIssue: string | null;
4048
4048
  };
4049
4049
  outputFormat: "json";
4050
- status: 500;
4050
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4051
4051
  input: {
4052
4052
  json: {
4053
4053
  archiveOnMerge?: boolean | null | undefined;
@@ -4078,25 +4078,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4078
4078
  }, "/"> | import("hono/types").MergeSchemaPath<{
4079
4079
  "/voice/decide": {
4080
4080
  $post: {
4081
- output: {
4082
- error: string;
4083
- };
4084
- outputFormat: "json";
4085
- status: 503;
4086
- input: {
4087
- json: {
4088
- text: string;
4089
- sidebarView: "active" | "automations";
4090
- openRunId?: string | undefined;
4091
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
4092
- askRequestId?: string | null | undefined;
4093
- proposal?: {
4094
- decisionId: string;
4095
- action: "answer" | "tell";
4096
- } | undefined;
4097
- };
4098
- };
4099
- } | {
4100
4081
  output: {
4101
4082
  action: "open";
4102
4083
  decisionId: string;
@@ -4154,6 +4135,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4154
4135
  } | undefined;
4155
4136
  };
4156
4137
  };
4138
+ } | {
4139
+ output: {
4140
+ error: string;
4141
+ };
4142
+ outputFormat: "json";
4143
+ status: 503;
4144
+ input: {
4145
+ json: {
4146
+ text: string;
4147
+ sidebarView: "active" | "automations";
4148
+ openRunId?: string | undefined;
4149
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
4150
+ askRequestId?: string | null | undefined;
4151
+ proposal?: {
4152
+ decisionId: string;
4153
+ action: "answer" | "tell";
4154
+ } | undefined;
4155
+ };
4156
+ };
4157
4157
  };
4158
4158
  };
4159
4159
  } & {
@@ -4296,7 +4296,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4296
4296
  error: string;
4297
4297
  };
4298
4298
  outputFormat: "json";
4299
- status: 409;
4299
+ status: 400;
4300
4300
  input: {
4301
4301
  query: {
4302
4302
  q?: string | undefined;
@@ -4309,7 +4309,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4309
4309
  error: string;
4310
4310
  };
4311
4311
  outputFormat: "json";
4312
- status: 400;
4312
+ status: 409;
4313
4313
  input: {
4314
4314
  query: {
4315
4315
  q?: string | undefined;
@@ -4346,6 +4346,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4346
4346
  }, "/"> | import("hono/types").MergeSchemaPath<{
4347
4347
  "/skills": {
4348
4348
  $get: {
4349
+ output: {
4350
+ error: string;
4351
+ code?: "invalid_input" | undefined;
4352
+ };
4353
+ outputFormat: "json";
4354
+ status: 400;
4355
+ input: {
4356
+ query: {
4357
+ wait?: string | undefined;
4358
+ };
4359
+ };
4360
+ } | {
4349
4361
  output: {
4350
4362
  name: string;
4351
4363
  description?: string | undefined;
@@ -4368,7 +4380,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4368
4380
  wait?: string | undefined;
4369
4381
  };
4370
4382
  };
4371
- } | {
4383
+ };
4384
+ };
4385
+ } & {
4386
+ "/skills/importable": {
4387
+ $get: {
4372
4388
  output: {
4373
4389
  error: string;
4374
4390
  code?: "invalid_input" | undefined;
@@ -4380,11 +4396,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4380
4396
  wait?: string | undefined;
4381
4397
  };
4382
4398
  };
4383
- };
4384
- };
4385
- } & {
4386
- "/skills/importable": {
4387
- $get: {
4399
+ } | {
4388
4400
  output: {
4389
4401
  name: string;
4390
4402
  description?: string | undefined;
@@ -4407,18 +4419,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4407
4419
  wait?: string | undefined;
4408
4420
  };
4409
4421
  };
4410
- } | {
4411
- output: {
4412
- error: string;
4413
- code?: "invalid_input" | undefined;
4414
- };
4415
- outputFormat: "json";
4416
- status: 400;
4417
- input: {
4418
- query: {
4419
- wait?: string | undefined;
4420
- };
4421
- };
4422
4422
  };
4423
4423
  };
4424
4424
  } & {
@@ -4619,14 +4619,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4619
4619
  "/agent-config/:id": {
4620
4620
  $put: {
4621
4621
  output: {
4622
- id: string;
4623
- path: string;
4624
- exists: boolean;
4625
- content: string;
4626
- version: string | null;
4622
+ error: string;
4627
4623
  };
4628
4624
  outputFormat: "json";
4629
- status: import("hono/utils/http-status").ContentfulStatusCode;
4625
+ status: 404;
4630
4626
  input: {
4631
4627
  json: {
4632
4628
  content: string;
@@ -4639,10 +4635,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4639
4635
  };
4640
4636
  } | {
4641
4637
  output: {
4642
- error: string;
4638
+ id: string;
4639
+ path: string;
4640
+ exists: boolean;
4641
+ content: string;
4642
+ version: string | null;
4643
4643
  };
4644
4644
  outputFormat: "json";
4645
- status: 404;
4645
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4646
4646
  input: {
4647
4647
  json: {
4648
4648
  content: string;
@@ -4713,10 +4713,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4713
4713
  "/workflows": {
4714
4714
  $post: {
4715
4715
  output: {
4716
- error: string;
4716
+ path: string;
4717
+ name: string;
4717
4718
  };
4718
4719
  outputFormat: "json";
4719
- status: 400;
4720
+ status: 201;
4720
4721
  input: {
4721
4722
  json: {
4722
4723
  name: string;
@@ -4746,10 +4747,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4746
4747
  } | {
4747
4748
  output: {
4748
4749
  error: string;
4749
- exists: true;
4750
4750
  };
4751
4751
  outputFormat: "json";
4752
- status: 409;
4752
+ status: 400;
4753
4753
  input: {
4754
4754
  json: {
4755
4755
  name: string;
@@ -4779,9 +4779,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4779
4779
  } | {
4780
4780
  output: {
4781
4781
  error: string;
4782
+ exists: true;
4782
4783
  };
4783
4784
  outputFormat: "json";
4784
- status: 500;
4785
+ status: 409;
4785
4786
  input: {
4786
4787
  json: {
4787
4788
  name: string;
@@ -4810,11 +4811,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4810
4811
  };
4811
4812
  } | {
4812
4813
  output: {
4813
- path: string;
4814
- name: string;
4814
+ error: string;
4815
4815
  };
4816
4816
  outputFormat: "json";
4817
- status: 201;
4817
+ status: 500;
4818
4818
  input: {
4819
4819
  json: {
4820
4820
  name: string;
@@ -4847,10 +4847,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4847
4847
  "/workflows/:name": {
4848
4848
  $delete: {
4849
4849
  output: {
4850
- error: string;
4850
+ ok: true;
4851
+ path: string;
4851
4852
  };
4852
4853
  outputFormat: "json";
4853
- status: 400 | 404 | 409 | 500;
4854
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4854
4855
  input: {
4855
4856
  param: {
4856
4857
  name: string;
@@ -4858,11 +4859,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4858
4859
  };
4859
4860
  } | {
4860
4861
  output: {
4861
- ok: true;
4862
- path: string;
4862
+ error: string;
4863
4863
  };
4864
4864
  outputFormat: "json";
4865
- status: import("hono/utils/http-status").ContentfulStatusCode;
4865
+ status: 400 | 404 | 409 | 500;
4866
4866
  input: {
4867
4867
  param: {
4868
4868
  name: string;
@@ -5252,14 +5252,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5252
5252
  "/repo/branches/delete": {
5253
5253
  $post: {
5254
5254
  output: {
5255
- error: string;
5255
+ deleted: string[];
5256
5256
  refused: {
5257
5257
  name: string;
5258
5258
  reason: string;
5259
5259
  }[];
5260
+ dropped?: {
5261
+ sha: string;
5262
+ subject: string;
5263
+ }[] | undefined;
5260
5264
  };
5261
5265
  outputFormat: "json";
5262
- status: 409;
5266
+ status: 200;
5263
5267
  input: {
5264
5268
  json: {
5265
5269
  names: string[];
@@ -5268,18 +5272,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5268
5272
  };
5269
5273
  } | {
5270
5274
  output: {
5271
- deleted: string[];
5275
+ error: string;
5272
5276
  refused: {
5273
5277
  name: string;
5274
5278
  reason: string;
5275
5279
  }[];
5276
- dropped?: {
5277
- sha: string;
5278
- subject: string;
5279
- }[] | undefined;
5280
5280
  };
5281
5281
  outputFormat: "json";
5282
- status: 200;
5282
+ status: 409;
5283
5283
  input: {
5284
5284
  json: {
5285
5285
  names: string[];
@@ -5300,9 +5300,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5300
5300
  } & {
5301
5301
  "/repo/commit/:sha": {
5302
5302
  $get: {
5303
- output: string;
5304
- outputFormat: "text";
5305
- status: import("hono/utils/http-status").ContentfulStatusCode;
5303
+ output: {
5304
+ error: string;
5305
+ code?: "invalid_input" | undefined;
5306
+ };
5307
+ outputFormat: "json";
5308
+ status: 400;
5306
5309
  input: {
5307
5310
  query: {
5308
5311
  structured?: string | undefined;
@@ -5315,10 +5318,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5315
5318
  } | {
5316
5319
  output: {
5317
5320
  error: string;
5318
- code?: "invalid_input" | undefined;
5319
5321
  };
5320
5322
  outputFormat: "json";
5321
- status: 400;
5323
+ status: 409;
5322
5324
  input: {
5323
5325
  query: {
5324
5326
  structured?: string | undefined;
@@ -5362,11 +5364,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5362
5364
  };
5363
5365
  };
5364
5366
  } | {
5365
- output: {
5366
- error: string;
5367
- };
5368
- outputFormat: "json";
5369
- status: 409;
5367
+ output: string;
5368
+ outputFormat: "text";
5369
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5370
5370
  input: {
5371
5371
  query: {
5372
5372
  structured?: string | undefined;
@@ -5381,6 +5381,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5381
5381
  } & {
5382
5382
  "/repo/changes": {
5383
5383
  $get: {
5384
+ output: {
5385
+ error: string;
5386
+ };
5387
+ outputFormat: "json";
5388
+ status: 409;
5389
+ input: {};
5390
+ } | {
5384
5391
  output: {
5385
5392
  files: {
5386
5393
  path: string;
@@ -5405,13 +5412,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5405
5412
  outputFormat: "json";
5406
5413
  status: import("hono/utils/http-status").ContentfulStatusCode;
5407
5414
  input: {};
5408
- } | {
5409
- output: {
5410
- error: string;
5411
- };
5412
- outputFormat: "json";
5413
- status: 409;
5414
- input: {};
5415
5415
  };
5416
5416
  };
5417
5417
  } & {
@@ -5436,10 +5436,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5436
5436
  "/repo/pull": {
5437
5437
  $post: {
5438
5438
  output: {
5439
- error: string;
5439
+ branch: string;
5440
+ pulled: true;
5441
+ summary: string;
5440
5442
  };
5441
5443
  outputFormat: "json";
5442
- status: 409;
5444
+ status: 200;
5443
5445
  input: {
5444
5446
  json: {
5445
5447
  branch?: string | undefined;
@@ -5448,12 +5450,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5448
5450
  };
5449
5451
  } | {
5450
5452
  output: {
5451
- branch: string;
5452
- pulled: true;
5453
- summary: string;
5453
+ error: string;
5454
5454
  };
5455
5455
  outputFormat: "json";
5456
- status: 200;
5456
+ status: 409;
5457
5457
  input: {
5458
5458
  json: {
5459
5459
  branch?: string | undefined;
@@ -6405,20 +6405,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6405
6405
  "/automations": {
6406
6406
  $post: {
6407
6407
  output: {
6408
- error: string;
6409
- };
6410
- outputFormat: "json";
6411
- status: 400 | 404 | 409;
6412
- input: {
6413
- json: {
6408
+ automation: {
6409
+ [x: string]: import("hono/utils/types").JSONValue;
6410
+ id: string;
6411
+ revision: number;
6414
6412
  name: string;
6415
6413
  description?: string | undefined;
6416
- enabled?: boolean | undefined;
6417
- kind?: "github" | "schedule" | undefined;
6414
+ enabled: boolean;
6415
+ kind: "github" | "schedule";
6418
6416
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6419
6417
  intervalSeconds?: number | undefined;
6420
6418
  filters?: {
6421
- [x: string]: unknown;
6419
+ [x: string]: import("hono/utils/types").JSONValue;
6422
6420
  includeExisting?: boolean | undefined;
6423
6421
  requireCurrentLabels?: boolean | undefined;
6424
6422
  authors?: string[] | undefined;
@@ -6427,10 +6425,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6427
6425
  anyLabels?: string[] | undefined;
6428
6426
  excludeLabels?: string[] | undefined;
6429
6427
  changedLabels?: string[] | undefined;
6430
- lookbackDays?: number | undefined;
6431
- maxRecords?: number | undefined;
6428
+ lookbackDays: number;
6429
+ maxRecords: number;
6432
6430
  } | undefined;
6433
6431
  schedule?: {
6432
+ [x: string]: import("hono/utils/types").JSONValue;
6434
6433
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6435
6434
  hour?: number | undefined;
6436
6435
  minute?: number | undefined;
@@ -6441,7 +6440,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6441
6440
  latestStartMinutes?: number | undefined;
6442
6441
  } | undefined;
6443
6442
  task: {
6444
- [x: string]: unknown;
6443
+ [x: string]: import("hono/utils/types").JSONValue;
6445
6444
  archiveWhenDone?: boolean | undefined;
6446
6445
  autoMergePr?: boolean | undefined;
6447
6446
  allowWorkers?: boolean | undefined;
@@ -6463,34 +6462,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6463
6462
  command?: string | undefined;
6464
6463
  onFail?: {
6465
6464
  retry: string;
6466
- max?: number | undefined;
6465
+ max: number;
6467
6466
  } | undefined;
6468
6467
  }[] | undefined;
6469
6468
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6470
6469
  model?: string | undefined;
6471
6470
  effort?: string | undefined;
6471
+ variants?: 1 | 2 | 3 | undefined;
6472
6472
  worktree?: boolean | undefined;
6473
6473
  autonomous?: boolean | undefined;
6474
6474
  systemPrompt?: string | undefined;
6475
- variants?: 1 | undefined;
6476
6475
  };
6477
- enable?: boolean | undefined;
6476
+ archived?: {
6477
+ [x: string]: import("hono/utils/types").JSONValue;
6478
+ at: string;
6479
+ outcome: "cancelled" | "launched";
6480
+ runId?: string | undefined;
6481
+ receiptId?: string | undefined;
6482
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6483
+ } | undefined;
6484
+ createdAt: string;
6485
+ updatedAt: string;
6478
6486
  };
6487
+ once?: {
6488
+ dueAt: string;
6489
+ timeZone: string;
6490
+ resolvedInstant: string;
6491
+ note: string;
6492
+ } | undefined;
6479
6493
  };
6480
- } | {
6481
- output: {
6482
- automation: {
6483
- [x: string]: import("hono/utils/types").JSONValue;
6484
- id: string;
6485
- revision: number;
6494
+ outputFormat: "json";
6495
+ status: 201;
6496
+ input: {
6497
+ json: {
6486
6498
  name: string;
6487
6499
  description?: string | undefined;
6488
- enabled: boolean;
6489
- kind: "github" | "schedule";
6500
+ enabled?: boolean | undefined;
6501
+ kind?: "github" | "schedule" | undefined;
6490
6502
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6491
6503
  intervalSeconds?: number | undefined;
6492
6504
  filters?: {
6493
- [x: string]: import("hono/utils/types").JSONValue;
6505
+ [x: string]: unknown;
6494
6506
  includeExisting?: boolean | undefined;
6495
6507
  requireCurrentLabels?: boolean | undefined;
6496
6508
  authors?: string[] | undefined;
@@ -6499,11 +6511,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6499
6511
  anyLabels?: string[] | undefined;
6500
6512
  excludeLabels?: string[] | undefined;
6501
6513
  changedLabels?: string[] | undefined;
6502
- lookbackDays: number;
6503
- maxRecords: number;
6514
+ lookbackDays?: number | undefined;
6515
+ maxRecords?: number | undefined;
6504
6516
  } | undefined;
6505
6517
  schedule?: {
6506
- [x: string]: import("hono/utils/types").JSONValue;
6507
6518
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6508
6519
  hour?: number | undefined;
6509
6520
  minute?: number | undefined;
@@ -6514,7 +6525,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6514
6525
  latestStartMinutes?: number | undefined;
6515
6526
  } | undefined;
6516
6527
  task: {
6517
- [x: string]: import("hono/utils/types").JSONValue;
6528
+ [x: string]: unknown;
6518
6529
  archiveWhenDone?: boolean | undefined;
6519
6530
  autoMergePr?: boolean | undefined;
6520
6531
  allowWorkers?: boolean | undefined;
@@ -6536,37 +6547,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6536
6547
  command?: string | undefined;
6537
6548
  onFail?: {
6538
6549
  retry: string;
6539
- max: number;
6550
+ max?: number | undefined;
6540
6551
  } | undefined;
6541
6552
  }[] | undefined;
6542
6553
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6543
6554
  model?: string | undefined;
6544
6555
  effort?: string | undefined;
6545
- variants?: 1 | 2 | 3 | undefined;
6546
6556
  worktree?: boolean | undefined;
6547
6557
  autonomous?: boolean | undefined;
6548
6558
  systemPrompt?: string | undefined;
6559
+ variants?: 1 | undefined;
6549
6560
  };
6550
- archived?: {
6551
- [x: string]: import("hono/utils/types").JSONValue;
6552
- at: string;
6553
- outcome: "cancelled" | "launched";
6554
- runId?: string | undefined;
6555
- receiptId?: string | undefined;
6556
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6557
- } | undefined;
6558
- createdAt: string;
6559
- updatedAt: string;
6561
+ enable?: boolean | undefined;
6560
6562
  };
6561
- once?: {
6562
- dueAt: string;
6563
- timeZone: string;
6564
- resolvedInstant: string;
6565
- note: string;
6566
- } | undefined;
6563
+ };
6564
+ } | {
6565
+ output: {
6566
+ error: string;
6567
6567
  };
6568
6568
  outputFormat: "json";
6569
- status: 201;
6569
+ status: 400 | 404 | 409;
6570
6570
  input: {
6571
6571
  json: {
6572
6572
  name: string;
@@ -6640,17 +6640,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6640
6640
  } & {
6641
6641
  "/automations/:id": {
6642
6642
  $get: {
6643
- output: {
6644
- error: string;
6645
- };
6646
- outputFormat: "json";
6647
- status: 400 | 404 | 409;
6648
- input: {
6649
- param: {
6650
- id: string;
6651
- };
6652
- };
6653
- } | {
6654
6643
  output: {
6655
6644
  automation: {
6656
6645
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6806,26 +6795,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6806
6795
  id: string;
6807
6796
  };
6808
6797
  };
6809
- };
6810
- };
6811
- } & {
6812
- "/automations/:id": {
6813
- $put: {
6798
+ } | {
6814
6799
  output: {
6815
6800
  error: string;
6816
6801
  };
6817
6802
  outputFormat: "json";
6818
6803
  status: 400 | 404 | 409;
6819
6804
  input: {
6820
- json: {
6805
+ param: {
6806
+ id: string;
6807
+ };
6808
+ };
6809
+ };
6810
+ };
6811
+ } & {
6812
+ "/automations/:id": {
6813
+ $put: {
6814
+ output: {
6815
+ automation: {
6816
+ [x: string]: import("hono/utils/types").JSONValue;
6817
+ id: string;
6818
+ revision: number;
6821
6819
  name: string;
6822
6820
  description?: string | undefined;
6823
- enabled?: boolean | undefined;
6824
- kind?: "github" | "schedule" | undefined;
6821
+ enabled: boolean;
6822
+ kind: "github" | "schedule";
6825
6823
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6826
6824
  intervalSeconds?: number | undefined;
6827
6825
  filters?: {
6828
- [x: string]: unknown;
6826
+ [x: string]: import("hono/utils/types").JSONValue;
6829
6827
  includeExisting?: boolean | undefined;
6830
6828
  requireCurrentLabels?: boolean | undefined;
6831
6829
  authors?: string[] | undefined;
@@ -6834,10 +6832,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6834
6832
  anyLabels?: string[] | undefined;
6835
6833
  excludeLabels?: string[] | undefined;
6836
6834
  changedLabels?: string[] | undefined;
6837
- lookbackDays?: number | undefined;
6838
- maxRecords?: number | undefined;
6835
+ lookbackDays: number;
6836
+ maxRecords: number;
6839
6837
  } | undefined;
6840
6838
  schedule?: {
6839
+ [x: string]: import("hono/utils/types").JSONValue;
6841
6840
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6842
6841
  hour?: number | undefined;
6843
6842
  minute?: number | undefined;
@@ -6848,7 +6847,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6848
6847
  latestStartMinutes?: number | undefined;
6849
6848
  } | undefined;
6850
6849
  task: {
6851
- [x: string]: unknown;
6850
+ [x: string]: import("hono/utils/types").JSONValue;
6852
6851
  archiveWhenDone?: boolean | undefined;
6853
6852
  autoMergePr?: boolean | undefined;
6854
6853
  allowWorkers?: boolean | undefined;
@@ -6870,38 +6869,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6870
6869
  command?: string | undefined;
6871
6870
  onFail?: {
6872
6871
  retry: string;
6873
- max?: number | undefined;
6872
+ max: number;
6874
6873
  } | undefined;
6875
6874
  }[] | undefined;
6876
6875
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6877
6876
  model?: string | undefined;
6878
6877
  effort?: string | undefined;
6878
+ variants?: 1 | 2 | 3 | undefined;
6879
6879
  worktree?: boolean | undefined;
6880
6880
  autonomous?: boolean | undefined;
6881
6881
  systemPrompt?: string | undefined;
6882
- variants?: 1 | undefined;
6883
6882
  };
6884
- expectedRevision: number;
6885
- };
6886
- } & {
6887
- param: {
6888
- id: string;
6883
+ archived?: {
6884
+ [x: string]: import("hono/utils/types").JSONValue;
6885
+ at: string;
6886
+ outcome: "cancelled" | "launched";
6887
+ runId?: string | undefined;
6888
+ receiptId?: string | undefined;
6889
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6890
+ } | undefined;
6891
+ createdAt: string;
6892
+ updatedAt: string;
6889
6893
  };
6890
6894
  };
6891
- } | {
6892
- output: {
6893
- automation: {
6894
- [x: string]: import("hono/utils/types").JSONValue;
6895
- id: string;
6896
- revision: number;
6895
+ outputFormat: "json";
6896
+ status: import("hono/utils/http-status").ContentfulStatusCode;
6897
+ input: {
6898
+ json: {
6897
6899
  name: string;
6898
6900
  description?: string | undefined;
6899
- enabled: boolean;
6900
- kind: "github" | "schedule";
6901
+ enabled?: boolean | undefined;
6902
+ kind?: "github" | "schedule" | undefined;
6901
6903
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6902
6904
  intervalSeconds?: number | undefined;
6903
6905
  filters?: {
6904
- [x: string]: import("hono/utils/types").JSONValue;
6906
+ [x: string]: unknown;
6905
6907
  includeExisting?: boolean | undefined;
6906
6908
  requireCurrentLabels?: boolean | undefined;
6907
6909
  authors?: string[] | undefined;
@@ -6910,11 +6912,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6910
6912
  anyLabels?: string[] | undefined;
6911
6913
  excludeLabels?: string[] | undefined;
6912
6914
  changedLabels?: string[] | undefined;
6913
- lookbackDays: number;
6914
- maxRecords: number;
6915
+ lookbackDays?: number | undefined;
6916
+ maxRecords?: number | undefined;
6915
6917
  } | undefined;
6916
6918
  schedule?: {
6917
- [x: string]: import("hono/utils/types").JSONValue;
6918
6919
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6919
6920
  hour?: number | undefined;
6920
6921
  minute?: number | undefined;
@@ -6925,7 +6926,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6925
6926
  latestStartMinutes?: number | undefined;
6926
6927
  } | undefined;
6927
6928
  task: {
6928
- [x: string]: import("hono/utils/types").JSONValue;
6929
+ [x: string]: unknown;
6929
6930
  archiveWhenDone?: boolean | undefined;
6930
6931
  autoMergePr?: boolean | undefined;
6931
6932
  allowWorkers?: boolean | undefined;
@@ -6947,31 +6948,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6947
6948
  command?: string | undefined;
6948
6949
  onFail?: {
6949
6950
  retry: string;
6950
- max: number;
6951
+ max?: number | undefined;
6951
6952
  } | undefined;
6952
6953
  }[] | undefined;
6953
6954
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6954
6955
  model?: string | undefined;
6955
6956
  effort?: string | undefined;
6956
- variants?: 1 | 2 | 3 | undefined;
6957
6957
  worktree?: boolean | undefined;
6958
6958
  autonomous?: boolean | undefined;
6959
6959
  systemPrompt?: string | undefined;
6960
+ variants?: 1 | undefined;
6960
6961
  };
6961
- archived?: {
6962
- [x: string]: import("hono/utils/types").JSONValue;
6963
- at: string;
6964
- outcome: "cancelled" | "launched";
6965
- runId?: string | undefined;
6966
- receiptId?: string | undefined;
6967
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6968
- } | undefined;
6969
- createdAt: string;
6970
- updatedAt: string;
6962
+ expectedRevision: number;
6963
+ };
6964
+ } & {
6965
+ param: {
6966
+ id: string;
6971
6967
  };
6972
6968
  };
6969
+ } | {
6970
+ output: {
6971
+ error: string;
6972
+ };
6973
6973
  outputFormat: "json";
6974
- status: import("hono/utils/http-status").ContentfulStatusCode;
6974
+ status: 400 | 404 | 409;
6975
6975
  input: {
6976
6976
  json: {
6977
6977
  name: string;
@@ -7073,17 +7073,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7073
7073
  } & {
7074
7074
  "/automations/:id/enable": {
7075
7075
  $post: {
7076
- output: {
7077
- error: string;
7078
- };
7079
- outputFormat: "json";
7080
- status: 400 | 404 | 409;
7081
- input: {
7082
- param: {
7083
- id: string;
7084
- };
7085
- };
7086
- } | {
7087
7076
  output: {
7088
7077
  automation: {
7089
7078
  [x: string]: import("hono/utils/types").JSONValue;
@@ -7172,11 +7161,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7172
7161
  id: string;
7173
7162
  };
7174
7163
  };
7175
- };
7176
- };
7177
- } & {
7178
- "/automations/:id/pause": {
7179
- $post: {
7164
+ } | {
7180
7165
  output: {
7181
7166
  error: string;
7182
7167
  };
@@ -7187,7 +7172,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7187
7172
  id: string;
7188
7173
  };
7189
7174
  };
7190
- } | {
7175
+ };
7176
+ };
7177
+ } & {
7178
+ "/automations/:id/pause": {
7179
+ $post: {
7191
7180
  output: {
7192
7181
  automation: {
7193
7182
  [x: string]: import("hono/utils/types").JSONValue;
@@ -7276,11 +7265,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7276
7265
  id: string;
7277
7266
  };
7278
7267
  };
7279
- };
7280
- };
7281
- } & {
7282
- "/automations/:id/cancel": {
7283
- $post: {
7268
+ } | {
7284
7269
  output: {
7285
7270
  error: string;
7286
7271
  };
@@ -7291,7 +7276,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7291
7276
  id: string;
7292
7277
  };
7293
7278
  };
7294
- } | {
7279
+ };
7280
+ };
7281
+ } & {
7282
+ "/automations/:id/cancel": {
7283
+ $post: {
7295
7284
  output: {
7296
7285
  automation: {
7297
7286
  [x: string]: import("hono/utils/types").JSONValue;
@@ -7380,16 +7369,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7380
7369
  id: string;
7381
7370
  };
7382
7371
  };
7372
+ } | {
7373
+ output: {
7374
+ error: string;
7375
+ };
7376
+ outputFormat: "json";
7377
+ status: 400 | 404 | 409;
7378
+ input: {
7379
+ param: {
7380
+ id: string;
7381
+ };
7382
+ };
7383
7383
  };
7384
7384
  };
7385
7385
  } & {
7386
7386
  "/automations/:id/run": {
7387
7387
  $post: {
7388
7388
  output: {
7389
- error: string;
7389
+ runId: string;
7390
7390
  };
7391
7391
  outputFormat: "json";
7392
- status: 400 | 404 | 409;
7392
+ status: 202;
7393
7393
  input: {
7394
7394
  param: {
7395
7395
  id: string;
@@ -7397,10 +7397,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7397
7397
  };
7398
7398
  } | {
7399
7399
  output: {
7400
- runId: string;
7400
+ error: string;
7401
7401
  };
7402
7402
  outputFormat: "json";
7403
- status: 202;
7403
+ status: 400 | 404 | 409;
7404
7404
  input: {
7405
7405
  param: {
7406
7406
  id: string;
@@ -7412,10 +7412,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7412
7412
  "/automations/:id/check": {
7413
7413
  $post: {
7414
7414
  output: {
7415
- error: string;
7415
+ checkId: string;
7416
7416
  };
7417
7417
  outputFormat: "json";
7418
- status: 404;
7418
+ status: 202;
7419
7419
  input: {
7420
7420
  json: {
7421
7421
  mode: "execute" | "preview";
@@ -7430,7 +7430,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7430
7430
  error: string;
7431
7431
  };
7432
7432
  outputFormat: "json";
7433
- status: 409;
7433
+ status: 404;
7434
7434
  input: {
7435
7435
  json: {
7436
7436
  mode: "execute" | "preview";
@@ -7442,10 +7442,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7442
7442
  };
7443
7443
  } | {
7444
7444
  output: {
7445
- checkId: string;
7445
+ error: string;
7446
7446
  };
7447
7447
  outputFormat: "json";
7448
- status: 202;
7448
+ status: 409;
7449
7449
  input: {
7450
7450
  json: {
7451
7451
  mode: "execute" | "preview";
@@ -8617,6 +8617,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8617
8617
  } & {
8618
8618
  "/run-summaries": {
8619
8619
  $get: {
8620
+ output: {
8621
+ error: string;
8622
+ code?: "invalid_input" | undefined;
8623
+ };
8624
+ outputFormat: "json";
8625
+ status: 400;
8626
+ input: {
8627
+ query: {
8628
+ archived?: "all" | "recent" | undefined;
8629
+ };
8630
+ };
8631
+ } | {
8620
8632
  output: {
8621
8633
  id: string;
8622
8634
  title: string;
@@ -8741,18 +8753,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8741
8753
  archived?: "all" | "recent" | undefined;
8742
8754
  };
8743
8755
  };
8744
- } | {
8745
- output: {
8746
- error: string;
8747
- code?: "invalid_input" | undefined;
8748
- };
8749
- outputFormat: "json";
8750
- status: 400;
8751
- input: {
8752
- query: {
8753
- archived?: "all" | "recent" | undefined;
8754
- };
8755
- };
8756
8756
  };
8757
8757
  };
8758
8758
  } & {
@@ -9079,22 +9079,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9079
9079
  "/runs/:id/worker-destroy": {
9080
9080
  $post: {
9081
9081
  output: {
9082
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
9083
- readonly error: string;
9084
- readonly modelChoices?: {
9085
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
9086
- requestedModel: string;
9087
- availableModels: {
9088
- id: string;
9089
- label: string;
9090
- description: string;
9091
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
9092
- }[];
9093
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
9094
- } | undefined;
9082
+ workerId: string;
9083
+ state: "complete" | "incomplete";
9084
+ deleted?: ({
9085
+ kind: "worktree";
9086
+ path: string;
9087
+ } | {
9088
+ kind: "branch";
9089
+ ref: string;
9090
+ })[] | undefined;
9091
+ remaining: ("branch" | "process" | "worktree")[];
9092
+ error?: string | undefined;
9095
9093
  };
9096
9094
  outputFormat: "json";
9097
- status: 400 | 401 | 403 | 409 | 503;
9095
+ status: 200;
9098
9096
  input: {
9099
9097
  query: {
9100
9098
  [x: string]: string | string[];
@@ -9139,7 +9137,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9139
9137
  error?: string | undefined;
9140
9138
  };
9141
9139
  outputFormat: "json";
9142
- status: 200;
9140
+ status: 409;
9143
9141
  input: {
9144
9142
  query: {
9145
9143
  [x: string]: string | string[];
@@ -9153,20 +9151,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9153
9151
  };
9154
9152
  } | {
9155
9153
  output: {
9156
- workerId: string;
9157
- state: "complete" | "incomplete";
9158
- deleted?: ({
9159
- kind: "worktree";
9160
- path: string;
9161
- } | {
9162
- kind: "branch";
9163
- ref: string;
9164
- })[] | undefined;
9165
- remaining: ("branch" | "process" | "worktree")[];
9166
- error?: string | undefined;
9154
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
9155
+ readonly error: string;
9156
+ readonly modelChoices?: {
9157
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
9158
+ requestedModel: string;
9159
+ availableModels: {
9160
+ id: string;
9161
+ label: string;
9162
+ description: string;
9163
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
9164
+ }[];
9165
+ otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
9166
+ } | undefined;
9167
9167
  };
9168
9168
  outputFormat: "json";
9169
- status: 409;
9169
+ status: 400 | 401 | 403 | 409 | 503;
9170
9170
  input: {
9171
9171
  query: {
9172
9172
  [x: string]: string | string[];
@@ -9216,6 +9216,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9216
9216
  } & {
9217
9217
  "/runs/:id/archive": {
9218
9218
  $post: {
9219
+ output: {
9220
+ error: string;
9221
+ };
9222
+ outputFormat: "json";
9223
+ status: 404;
9224
+ input: {
9225
+ json: {
9226
+ archived?: boolean | undefined;
9227
+ };
9228
+ } & {
9229
+ param: {
9230
+ id: string;
9231
+ };
9232
+ };
9233
+ } | {
9219
9234
  output: {
9220
9235
  archiveWhenDone?: boolean | undefined;
9221
9236
  autoMergePr?: boolean | undefined;
@@ -10273,32 +10288,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10273
10288
  id: string;
10274
10289
  };
10275
10290
  };
10276
- } | {
10291
+ };
10292
+ };
10293
+ } & {
10294
+ "/runs/:id/pin": {
10295
+ $post: {
10277
10296
  output: {
10278
10297
  error: string;
10298
+ code?: "invalid_input" | undefined;
10279
10299
  };
10280
10300
  outputFormat: "json";
10281
- status: 404;
10301
+ status: 400;
10282
10302
  input: {
10283
- json: {
10284
- archived?: boolean | undefined;
10285
- };
10286
- } & {
10287
10303
  param: {
10288
10304
  id: string;
10289
10305
  };
10306
+ } & {
10307
+ json: {
10308
+ pinned?: boolean | undefined;
10309
+ };
10290
10310
  };
10291
- };
10292
- };
10293
- } & {
10294
- "/runs/:id/pin": {
10295
- $post: {
10311
+ } | {
10296
10312
  output: {
10297
10313
  error: string;
10298
- code?: "invalid_input" | undefined;
10299
10314
  };
10300
10315
  outputFormat: "json";
10301
- status: 400;
10316
+ status: 404;
10302
10317
  input: {
10303
10318
  param: {
10304
10319
  id: string;
@@ -11366,29 +11381,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11366
11381
  pinned?: boolean | undefined;
11367
11382
  };
11368
11383
  };
11369
- } | {
11384
+ };
11385
+ };
11386
+ } & {
11387
+ "/runs/:id/notify": {
11388
+ $post: {
11370
11389
  output: {
11371
11390
  error: string;
11391
+ code?: "invalid_input" | undefined;
11372
11392
  };
11373
11393
  outputFormat: "json";
11374
- status: 404;
11394
+ status: 400;
11375
11395
  input: {
11376
11396
  param: {
11377
11397
  id: string;
11378
11398
  };
11379
11399
  } & {
11380
11400
  json: {
11381
- pinned?: boolean | undefined;
11401
+ notify: boolean;
11402
+ message?: string | undefined;
11382
11403
  };
11383
11404
  };
11384
- };
11385
- };
11386
- } & {
11387
- "/runs/:id/notify": {
11388
- $post: {
11405
+ } | {
11389
11406
  output: {
11390
11407
  error: string;
11391
- code?: "invalid_input" | undefined;
11392
11408
  };
11393
11409
  outputFormat: "json";
11394
11410
  status: 400;
@@ -11402,6 +11418,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11402
11418
  message?: string | undefined;
11403
11419
  };
11404
11420
  };
11421
+ } | {
11422
+ output: {
11423
+ error: string;
11424
+ };
11425
+ outputFormat: "json";
11426
+ status: 404;
11427
+ input: {
11428
+ param: {
11429
+ id: string;
11430
+ };
11431
+ } & {
11432
+ json: {
11433
+ notify: boolean;
11434
+ message?: string | undefined;
11435
+ };
11436
+ };
11405
11437
  } | {
11406
11438
  output: {
11407
11439
  archiveWhenDone?: boolean | undefined;
@@ -12461,7 +12493,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12461
12493
  message?: string | undefined;
12462
12494
  };
12463
12495
  };
12464
- } | {
12496
+ };
12497
+ };
12498
+ } & {
12499
+ "/runs/:id/auto-resume": {
12500
+ $delete: {
12465
12501
  output: {
12466
12502
  error: string;
12467
12503
  };
@@ -12471,33 +12507,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12471
12507
  param: {
12472
12508
  id: string;
12473
12509
  };
12474
- } & {
12475
- json: {
12476
- notify: boolean;
12477
- message?: string | undefined;
12478
- };
12479
12510
  };
12480
12511
  } | {
12481
12512
  output: {
12482
- error: string;
12513
+ cancelled: true;
12483
12514
  };
12484
12515
  outputFormat: "json";
12485
- status: 400;
12516
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12486
12517
  input: {
12487
12518
  param: {
12488
12519
  id: string;
12489
12520
  };
12490
- } & {
12491
- json: {
12492
- notify: boolean;
12493
- message?: string | undefined;
12494
- };
12495
12521
  };
12496
12522
  };
12497
12523
  };
12498
12524
  } & {
12499
- "/runs/:id/auto-resume": {
12500
- $delete: {
12525
+ "/runs/:id/read": {
12526
+ $post: {
12501
12527
  output: {
12502
12528
  error: string;
12503
12529
  };
@@ -12509,21 +12535,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12509
12535
  };
12510
12536
  };
12511
12537
  } | {
12512
- output: {
12513
- cancelled: true;
12514
- };
12515
- outputFormat: "json";
12516
- status: import("hono/utils/http-status").ContentfulStatusCode;
12517
- input: {
12518
- param: {
12519
- id: string;
12520
- };
12521
- };
12522
- };
12523
- };
12524
- } & {
12525
- "/runs/:id/read": {
12526
- $post: {
12527
12538
  output: {
12528
12539
  archiveWhenDone?: boolean | undefined;
12529
12540
  autoMergePr?: boolean | undefined;
@@ -13577,7 +13588,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13577
13588
  id: string;
13578
13589
  };
13579
13590
  };
13580
- } | {
13591
+ };
13592
+ };
13593
+ } & {
13594
+ "/runs/:id/unread": {
13595
+ $post: {
13581
13596
  output: {
13582
13597
  error: string;
13583
13598
  };
@@ -13588,11 +13603,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13588
13603
  id: string;
13589
13604
  };
13590
13605
  };
13591
- };
13592
- };
13593
- } & {
13594
- "/runs/:id/unread": {
13595
- $post: {
13606
+ } | {
13596
13607
  output: {
13597
13608
  archiveWhenDone?: boolean | undefined;
13598
13609
  autoMergePr?: boolean | undefined;
@@ -14646,17 +14657,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14646
14657
  id: string;
14647
14658
  };
14648
14659
  };
14649
- } | {
14650
- output: {
14651
- error: string;
14652
- };
14653
- outputFormat: "json";
14654
- status: 404;
14655
- input: {
14656
- param: {
14657
- id: string;
14658
- };
14659
- };
14660
14660
  };
14661
14661
  };
14662
14662
  } & {
@@ -15805,6 +15805,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15805
15805
  } & {
15806
15806
  "/runs/:id": {
15807
15807
  $get: {
15808
+ output: {
15809
+ error: string;
15810
+ };
15811
+ outputFormat: "json";
15812
+ status: 404;
15813
+ input: {
15814
+ param: {
15815
+ id: string;
15816
+ };
15817
+ };
15818
+ } | {
15808
15819
  output: {
15809
15820
  archiveWhenDone?: boolean | undefined;
15810
15821
  autoMergePr?: boolean | undefined;
@@ -16865,17 +16876,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16865
16876
  id: string;
16866
16877
  };
16867
16878
  };
16868
- } | {
16869
- output: {
16870
- error: string;
16871
- };
16872
- outputFormat: "json";
16873
- status: 404;
16874
- input: {
16875
- param: {
16876
- id: string;
16877
- };
16878
- };
16879
16879
  };
16880
16880
  };
16881
16881
  } & {
@@ -17003,6 +17003,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17003
17003
  } & {
17004
17004
  "/runs/:id": {
17005
17005
  $patch: {
17006
+ output: {
17007
+ error: string;
17008
+ };
17009
+ outputFormat: "json";
17010
+ status: 400;
17011
+ input: {
17012
+ json: {
17013
+ archiveWhenDone?: boolean | undefined;
17014
+ autoMergePr?: boolean | undefined;
17015
+ allowWorkers?: boolean | undefined;
17016
+ allowMessaging?: boolean | undefined;
17017
+ title?: string | undefined;
17018
+ task?: string | undefined;
17019
+ };
17020
+ } & {
17021
+ param: {
17022
+ id: string;
17023
+ };
17024
+ };
17025
+ } | {
17026
+ output: {
17027
+ error: string;
17028
+ };
17029
+ outputFormat: "json";
17030
+ status: 404;
17031
+ input: {
17032
+ json: {
17033
+ archiveWhenDone?: boolean | undefined;
17034
+ autoMergePr?: boolean | undefined;
17035
+ allowWorkers?: boolean | undefined;
17036
+ allowMessaging?: boolean | undefined;
17037
+ title?: string | undefined;
17038
+ task?: string | undefined;
17039
+ };
17040
+ } & {
17041
+ param: {
17042
+ id: string;
17043
+ };
17044
+ };
17045
+ } | {
17046
+ output: {
17047
+ error: string;
17048
+ };
17049
+ outputFormat: "json";
17050
+ status: 409;
17051
+ input: {
17052
+ json: {
17053
+ archiveWhenDone?: boolean | undefined;
17054
+ autoMergePr?: boolean | undefined;
17055
+ allowWorkers?: boolean | undefined;
17056
+ allowMessaging?: boolean | undefined;
17057
+ title?: string | undefined;
17058
+ task?: string | undefined;
17059
+ };
17060
+ } & {
17061
+ param: {
17062
+ id: string;
17063
+ };
17064
+ };
17065
+ } | {
17006
17066
  output: {
17007
17067
  archiveWhenDone?: boolean | undefined;
17008
17068
  autoMergePr?: boolean | undefined;
@@ -18065,66 +18125,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18065
18125
  id: string;
18066
18126
  };
18067
18127
  };
18068
- } | {
18069
- output: {
18070
- error: string;
18071
- };
18072
- outputFormat: "json";
18073
- status: 404;
18074
- input: {
18075
- json: {
18076
- archiveWhenDone?: boolean | undefined;
18077
- autoMergePr?: boolean | undefined;
18078
- allowWorkers?: boolean | undefined;
18079
- allowMessaging?: boolean | undefined;
18080
- title?: string | undefined;
18081
- task?: string | undefined;
18082
- };
18083
- } & {
18084
- param: {
18085
- id: string;
18086
- };
18087
- };
18088
- } | {
18089
- output: {
18090
- error: string;
18091
- };
18092
- outputFormat: "json";
18093
- status: 400;
18094
- input: {
18095
- json: {
18096
- archiveWhenDone?: boolean | undefined;
18097
- autoMergePr?: boolean | undefined;
18098
- allowWorkers?: boolean | undefined;
18099
- allowMessaging?: boolean | undefined;
18100
- title?: string | undefined;
18101
- task?: string | undefined;
18102
- };
18103
- } & {
18104
- param: {
18105
- id: string;
18106
- };
18107
- };
18108
- } | {
18109
- output: {
18110
- error: string;
18111
- };
18112
- outputFormat: "json";
18113
- status: 409;
18114
- input: {
18115
- json: {
18116
- archiveWhenDone?: boolean | undefined;
18117
- autoMergePr?: boolean | undefined;
18118
- allowWorkers?: boolean | undefined;
18119
- allowMessaging?: boolean | undefined;
18120
- title?: string | undefined;
18121
- task?: string | undefined;
18122
- };
18123
- } & {
18124
- param: {
18125
- id: string;
18126
- };
18127
- };
18128
18128
  };
18129
18129
  };
18130
18130
  } & {
@@ -18229,7 +18229,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18229
18229
  error: string;
18230
18230
  };
18231
18231
  outputFormat: "json";
18232
- status: 404;
18232
+ status: 400;
18233
18233
  input: {
18234
18234
  json: {
18235
18235
  text?: string | undefined;
@@ -18248,7 +18248,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18248
18248
  error: string;
18249
18249
  };
18250
18250
  outputFormat: "json";
18251
- status: 409;
18251
+ status: 404;
18252
18252
  input: {
18253
18253
  json: {
18254
18254
  text?: string | undefined;
@@ -18264,10 +18264,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18264
18264
  };
18265
18265
  } | {
18266
18266
  output: {
18267
- delivered: true;
18267
+ error: string;
18268
18268
  };
18269
18269
  outputFormat: "json";
18270
- status: import("hono/utils/http-status").ContentfulStatusCode;
18270
+ status: 409;
18271
18271
  input: {
18272
18272
  json: {
18273
18273
  text?: string | undefined;
@@ -18283,10 +18283,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18283
18283
  };
18284
18284
  } | {
18285
18285
  output: {
18286
- error: string;
18286
+ delivered: true;
18287
18287
  };
18288
18288
  outputFormat: "json";
18289
- status: 400;
18289
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18290
18290
  input: {
18291
18291
  json: {
18292
18292
  text?: string | undefined;
@@ -18353,7 +18353,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18353
18353
  error: string;
18354
18354
  };
18355
18355
  outputFormat: "json";
18356
- status: 404;
18356
+ status: 400;
18357
18357
  input: {
18358
18358
  json: {
18359
18359
  text?: string | undefined;
@@ -18374,7 +18374,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18374
18374
  error: string;
18375
18375
  };
18376
18376
  outputFormat: "json";
18377
- status: 400;
18377
+ status: 404;
18378
18378
  input: {
18379
18379
  json: {
18380
18380
  text?: string | undefined;
@@ -18526,7 +18526,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18526
18526
  error: string;
18527
18527
  };
18528
18528
  outputFormat: "json";
18529
- status: 404;
18529
+ status: 400;
18530
18530
  input: {
18531
18531
  json: {
18532
18532
  text?: string | undefined;
@@ -18549,7 +18549,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18549
18549
  error: string;
18550
18550
  };
18551
18551
  outputFormat: "json";
18552
- status: 400;
18552
+ status: 404;
18553
18553
  input: {
18554
18554
  json: {
18555
18555
  text?: string | undefined;
@@ -18660,7 +18660,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18660
18660
  error: string;
18661
18661
  };
18662
18662
  outputFormat: "json";
18663
- status: 404;
18663
+ status: 400;
18664
18664
  input: {
18665
18665
  json: {
18666
18666
  target: string;
@@ -18676,7 +18676,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18676
18676
  error: string;
18677
18677
  };
18678
18678
  outputFormat: "json";
18679
- status: 409;
18679
+ status: 404;
18680
18680
  input: {
18681
18681
  json: {
18682
18682
  target: string;
@@ -18692,7 +18692,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18692
18692
  error: string;
18693
18693
  };
18694
18694
  outputFormat: "json";
18695
- status: 400;
18695
+ status: 409;
18696
18696
  input: {
18697
18697
  json: {
18698
18698
  target: string;
@@ -18749,9 +18749,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18749
18749
  } & {
18750
18750
  "/runs/:id/images/:file": {
18751
18751
  $get: {
18752
- output: {};
18753
- outputFormat: string;
18754
- status: import("hono/utils/http-status").StatusCode;
18752
+ output: {
18753
+ error: string;
18754
+ code?: "invalid_input" | undefined;
18755
+ };
18756
+ outputFormat: "json";
18757
+ status: 400;
18755
18758
  input: {
18756
18759
  param: {
18757
18760
  id: string;
@@ -18759,12 +18762,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18759
18762
  };
18760
18763
  };
18761
18764
  } | {
18762
- output: {
18763
- error: string;
18764
- code?: "invalid_input" | undefined;
18765
- };
18766
- outputFormat: "json";
18767
- status: 400;
18765
+ output: {};
18766
+ outputFormat: string;
18767
+ status: import("hono/utils/http-status").StatusCode;
18768
18768
  input: {
18769
18769
  param: {
18770
18770
  id: string;
@@ -18800,17 +18800,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18800
18800
  } & {
18801
18801
  "/runs/:id/changes": {
18802
18802
  $get: {
18803
- output: {
18804
- error: string;
18805
- };
18806
- outputFormat: "json";
18807
- status: 404 | 409;
18808
- input: {
18809
- param: {
18810
- id: string;
18811
- };
18812
- };
18813
- } | {
18814
18803
  output: {
18815
18804
  files: {
18816
18805
  path: string;
@@ -18839,11 +18828,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18839
18828
  id: string;
18840
18829
  };
18841
18830
  };
18842
- };
18843
- };
18844
- } & {
18845
- "/runs/:id/commits": {
18846
- $get: {
18831
+ } | {
18847
18832
  output: {
18848
18833
  error: string;
18849
18834
  };
@@ -18854,7 +18839,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18854
18839
  id: string;
18855
18840
  };
18856
18841
  };
18857
- } | {
18842
+ };
18843
+ };
18844
+ } & {
18845
+ "/runs/:id/commits": {
18846
+ $get: {
18858
18847
  output: {
18859
18848
  commits: {
18860
18849
  sha: string;
@@ -18870,11 +18859,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18870
18859
  id: string;
18871
18860
  };
18872
18861
  };
18873
- };
18874
- };
18875
- } & {
18876
- "/runs/:id/commit/:sha": {
18877
- $get: {
18862
+ } | {
18878
18863
  output: {
18879
18864
  error: string;
18880
18865
  };
@@ -18883,11 +18868,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18883
18868
  input: {
18884
18869
  param: {
18885
18870
  id: string;
18886
- } & {
18887
- sha: string;
18888
18871
  };
18889
18872
  };
18890
- } | {
18873
+ };
18874
+ };
18875
+ } & {
18876
+ "/runs/:id/commit/:sha": {
18877
+ $get: {
18891
18878
  output: {
18892
18879
  sha: string;
18893
18880
  subject: string;
@@ -18918,6 +18905,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18918
18905
  sha: string;
18919
18906
  };
18920
18907
  };
18908
+ } | {
18909
+ output: {
18910
+ error: string;
18911
+ };
18912
+ outputFormat: "json";
18913
+ status: 404 | 409;
18914
+ input: {
18915
+ param: {
18916
+ id: string;
18917
+ } & {
18918
+ sha: string;
18919
+ };
18920
+ };
18921
18921
  };
18922
18922
  };
18923
18923
  } & {
@@ -18953,22 +18953,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18953
18953
  raw?: "1" | undefined;
18954
18954
  };
18955
18955
  };
18956
- } | {
18957
- output: {
18958
- error: string;
18959
- };
18960
- outputFormat: "json";
18961
- status: 404 | 409;
18962
- input: {
18963
- param: {
18964
- id: string;
18965
- };
18966
- } & {
18967
- query: {
18968
- path: string | string[];
18969
- raw?: "1" | undefined;
18970
- };
18971
- };
18972
18956
  } | {
18973
18957
  output: {
18974
18958
  type: "file";
@@ -19005,6 +18989,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19005
18989
  raw?: "1" | undefined;
19006
18990
  };
19007
18991
  };
18992
+ } | {
18993
+ output: {
18994
+ error: string;
18995
+ };
18996
+ outputFormat: "json";
18997
+ status: 404 | 409;
18998
+ input: {
18999
+ param: {
19000
+ id: string;
19001
+ };
19002
+ } & {
19003
+ query: {
19004
+ path: string | string[];
19005
+ raw?: "1" | undefined;
19006
+ };
19007
+ };
19008
19008
  };
19009
19009
  };
19010
19010
  } & {
@@ -19069,6 +19069,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19069
19069
  artifactId: string;
19070
19070
  };
19071
19071
  };
19072
+ } | {
19073
+ output: {
19074
+ error: string;
19075
+ };
19076
+ outputFormat: "json";
19077
+ status: 404;
19078
+ input: {
19079
+ param: {
19080
+ id: string;
19081
+ artifactId: string;
19082
+ };
19083
+ };
19072
19084
  } | {
19073
19085
  output: {
19074
19086
  type: "file";
@@ -19097,18 +19109,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19097
19109
  artifactId: string;
19098
19110
  };
19099
19111
  };
19100
- } | {
19101
- output: {
19102
- error: string;
19103
- };
19104
- outputFormat: "json";
19105
- status: 404;
19106
- input: {
19107
- param: {
19108
- id: string;
19109
- artifactId: string;
19110
- };
19111
- };
19112
19112
  };
19113
19113
  };
19114
19114
  } & {
@@ -19284,22 +19284,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19284
19284
  id: string;
19285
19285
  };
19286
19286
  };
19287
- } | {
19288
- output: {
19289
- error: string;
19290
- };
19291
- outputFormat: "json";
19292
- status: 404 | 409;
19293
- input: {
19294
- query: {
19295
- path?: string | undefined;
19296
- raw?: string | undefined;
19297
- };
19298
- } & {
19299
- param: {
19300
- id: string;
19301
- };
19302
- };
19303
19287
  } | {
19304
19288
  output: {
19305
19289
  type: 'dir';
@@ -19343,31 +19327,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19343
19327
  id: string;
19344
19328
  };
19345
19329
  };
19346
- };
19347
- };
19348
- } & {
19349
- "/runs/:id/git/commit": {
19350
- $post: {
19330
+ } | {
19351
19331
  output: {
19352
19332
  error: string;
19353
19333
  };
19354
19334
  outputFormat: "json";
19355
- status: 404;
19335
+ status: 404 | 409;
19356
19336
  input: {
19357
- json: {
19358
- message: string;
19337
+ query: {
19338
+ path?: string | undefined;
19339
+ raw?: string | undefined;
19359
19340
  };
19360
19341
  } & {
19361
19342
  param: {
19362
19343
  id: string;
19363
19344
  };
19364
19345
  };
19365
- } | {
19346
+ };
19347
+ };
19348
+ } & {
19349
+ "/runs/:id/git/commit": {
19350
+ $post: {
19366
19351
  output: {
19367
- error: string;
19352
+ committed: true;
19353
+ sha: string;
19368
19354
  };
19369
19355
  outputFormat: "json";
19370
- status: 409;
19356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19371
19357
  input: {
19372
19358
  json: {
19373
19359
  message: string;
@@ -19379,11 +19365,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19379
19365
  };
19380
19366
  } | {
19381
19367
  output: {
19382
- committed: true;
19383
- sha: string;
19368
+ error: string;
19384
19369
  };
19385
19370
  outputFormat: "json";
19386
- status: import("hono/utils/http-status").ContentfulStatusCode;
19371
+ status: 404 | 409;
19387
19372
  input: {
19388
19373
  json: {
19389
19374
  message: string;
@@ -19399,10 +19384,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19399
19384
  "/runs/:id/git/push": {
19400
19385
  $post: {
19401
19386
  output: {
19402
- error: string;
19387
+ pushed: true;
19388
+ branch: string;
19389
+ remote: string;
19390
+ upstreamSet: boolean;
19403
19391
  };
19404
19392
  outputFormat: "json";
19405
- status: 404;
19393
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19406
19394
  input: {
19407
19395
  param: {
19408
19396
  id: string;
@@ -19413,21 +19401,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19413
19401
  error: string;
19414
19402
  };
19415
19403
  outputFormat: "json";
19416
- status: 409;
19417
- input: {
19418
- param: {
19419
- id: string;
19420
- };
19421
- };
19422
- } | {
19423
- output: {
19424
- pushed: true;
19425
- branch: string;
19426
- remote: string;
19427
- upstreamSet: boolean;
19428
- };
19429
- outputFormat: "json";
19430
- status: import("hono/utils/http-status").ContentfulStatusCode;
19404
+ status: 404 | 409;
19431
19405
  input: {
19432
19406
  param: {
19433
19407
  id: string;
@@ -19439,10 +19413,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19439
19413
  "/runs/:id/pr": {
19440
19414
  $post: {
19441
19415
  output: {
19442
- error: string;
19416
+ url: string;
19417
+ dryRun: boolean;
19443
19418
  };
19444
19419
  outputFormat: "json";
19445
- status: 404;
19420
+ status: 201;
19446
19421
  input: {
19447
19422
  param: {
19448
19423
  id: string;
@@ -19453,7 +19428,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19453
19428
  error: string;
19454
19429
  };
19455
19430
  outputFormat: "json";
19456
- status: 409;
19431
+ status: 400;
19457
19432
  input: {
19458
19433
  param: {
19459
19434
  id: string;
@@ -19464,7 +19439,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19464
19439
  error: string;
19465
19440
  };
19466
19441
  outputFormat: "json";
19467
- status: 400;
19442
+ status: 404;
19468
19443
  input: {
19469
19444
  param: {
19470
19445
  id: string;
@@ -19472,11 +19447,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19472
19447
  };
19473
19448
  } | {
19474
19449
  output: {
19475
- url: string;
19476
- dryRun: boolean;
19450
+ error: string;
19477
19451
  };
19478
19452
  outputFormat: "json";
19479
- status: 201;
19453
+ status: 409;
19480
19454
  input: {
19481
19455
  param: {
19482
19456
  id: string;
@@ -19528,7 +19502,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19528
19502
  error: string;
19529
19503
  };
19530
19504
  outputFormat: "json";
19531
- status: 409;
19505
+ status: 404;
19532
19506
  input: {
19533
19507
  param: {
19534
19508
  id: string;
@@ -19539,7 +19513,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19539
19513
  error: string;
19540
19514
  };
19541
19515
  outputFormat: "json";
19542
- status: 404;
19516
+ status: 409;
19543
19517
  input: {
19544
19518
  param: {
19545
19519
  id: string;
@@ -19814,7 +19788,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19814
19788
  error: string;
19815
19789
  };
19816
19790
  outputFormat: "json";
19817
- status: 409;
19791
+ status: 400;
19818
19792
  input: {
19819
19793
  json: {
19820
19794
  target: string;
@@ -19825,7 +19799,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19825
19799
  error: string;
19826
19800
  };
19827
19801
  outputFormat: "json";
19828
- status: 400;
19802
+ status: 409;
19829
19803
  input: {
19830
19804
  json: {
19831
19805
  target: string;
@@ -19848,9 +19822,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19848
19822
  }, "/"> | import("hono/types").MergeSchemaPath<{
19849
19823
  "/runs/:id/events": {
19850
19824
  $get: {
19851
- output: {};
19852
- outputFormat: string;
19853
- status: import("hono/utils/http-status").StatusCode;
19825
+ output: {
19826
+ error: string;
19827
+ code?: "invalid_input" | undefined;
19828
+ };
19829
+ outputFormat: "json";
19830
+ status: 400;
19854
19831
  input: {
19855
19832
  param: {
19856
19833
  id: string;
@@ -19862,12 +19839,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19862
19839
  };
19863
19840
  };
19864
19841
  } | {
19865
- output: {
19866
- error: string;
19867
- code?: "invalid_input" | undefined;
19868
- };
19869
- outputFormat: "json";
19870
- status: 400;
19842
+ output: {};
19843
+ outputFormat: string;
19844
+ status: import("hono/utils/http-status").StatusCode;
19871
19845
  input: {
19872
19846
  param: {
19873
19847
  id: string;
@@ -19928,34 +19902,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19928
19902
  "/config": {
19929
19903
  $put: {
19930
19904
  output: {
19931
- archiveOnMerge: boolean | null;
19932
- effectiveArchiveOnMerge: boolean;
19933
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19934
- baseBranch: string | null;
19935
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
19936
- systemPrompt: string | null;
19937
- defaultModels: {
19938
- claude?: string | undefined;
19939
- codex?: string | undefined;
19940
- opencode?: string | undefined;
19941
- pi?: string | undefined;
19942
- cursor?: string | undefined;
19943
- omp?: string | undefined;
19944
- };
19945
- modelsLocked: boolean;
19946
- maxParallel: number;
19947
- memoryLimitMb: number | null;
19948
- worktreeRetention: number;
19949
- liveTitleUpdates: boolean | null;
19950
- reviewGate: boolean | null;
19951
- worktreeSetup: {
19952
- commands: string[];
19953
- timeoutSeconds: number;
19954
- } | null;
19955
- worktreeSetupIssue: string | null;
19905
+ error: string;
19956
19906
  };
19957
19907
  outputFormat: "json";
19958
- status: import("hono/utils/http-status").ContentfulStatusCode;
19908
+ status: 409;
19959
19909
  input: {
19960
19910
  json: {
19961
19911
  archiveOnMerge?: boolean | null | undefined;
@@ -19986,7 +19936,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19986
19936
  error: string;
19987
19937
  };
19988
19938
  outputFormat: "json";
19989
- status: 409;
19939
+ status: 500;
19990
19940
  input: {
19991
19941
  json: {
19992
19942
  archiveOnMerge?: boolean | null | undefined;
@@ -20014,10 +19964,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20014
19964
  };
20015
19965
  } | {
20016
19966
  output: {
20017
- error: string;
19967
+ archiveOnMerge: boolean | null;
19968
+ effectiveArchiveOnMerge: boolean;
19969
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19970
+ baseBranch: string | null;
19971
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
19972
+ systemPrompt: string | null;
19973
+ defaultModels: {
19974
+ claude?: string | undefined;
19975
+ codex?: string | undefined;
19976
+ opencode?: string | undefined;
19977
+ pi?: string | undefined;
19978
+ cursor?: string | undefined;
19979
+ omp?: string | undefined;
19980
+ };
19981
+ modelsLocked: boolean;
19982
+ maxParallel: number;
19983
+ memoryLimitMb: number | null;
19984
+ worktreeRetention: number;
19985
+ liveTitleUpdates: boolean | null;
19986
+ reviewGate: boolean | null;
19987
+ worktreeSetup: {
19988
+ commands: string[];
19989
+ timeoutSeconds: number;
19990
+ } | null;
19991
+ worktreeSetupIssue: string | null;
20018
19992
  };
20019
19993
  outputFormat: "json";
20020
- status: 500;
19994
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20021
19995
  input: {
20022
19996
  json: {
20023
19997
  archiveOnMerge?: boolean | null | undefined;
@@ -20048,25 +20022,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20048
20022
  }, "/"> | import("hono/types").MergeSchemaPath<{
20049
20023
  "/voice/decide": {
20050
20024
  $post: {
20051
- output: {
20052
- error: string;
20053
- };
20054
- outputFormat: "json";
20055
- status: 503;
20056
- input: {
20057
- json: {
20058
- text: string;
20059
- sidebarView: "active" | "automations";
20060
- openRunId?: string | undefined;
20061
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
20062
- askRequestId?: string | null | undefined;
20063
- proposal?: {
20064
- decisionId: string;
20065
- action: "answer" | "tell";
20066
- } | undefined;
20067
- };
20068
- };
20069
- } | {
20070
20025
  output: {
20071
20026
  action: "open";
20072
20027
  decisionId: string;
@@ -20124,6 +20079,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20124
20079
  } | undefined;
20125
20080
  };
20126
20081
  };
20082
+ } | {
20083
+ output: {
20084
+ error: string;
20085
+ };
20086
+ outputFormat: "json";
20087
+ status: 503;
20088
+ input: {
20089
+ json: {
20090
+ text: string;
20091
+ sidebarView: "active" | "automations";
20092
+ openRunId?: string | undefined;
20093
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
20094
+ askRequestId?: string | null | undefined;
20095
+ proposal?: {
20096
+ decisionId: string;
20097
+ action: "answer" | "tell";
20098
+ } | undefined;
20099
+ };
20100
+ };
20127
20101
  };
20128
20102
  };
20129
20103
  } & {
@@ -20266,7 +20240,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20266
20240
  error: string;
20267
20241
  };
20268
20242
  outputFormat: "json";
20269
- status: 409;
20243
+ status: 400;
20270
20244
  input: {
20271
20245
  query: {
20272
20246
  q?: string | undefined;
@@ -20279,7 +20253,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20279
20253
  error: string;
20280
20254
  };
20281
20255
  outputFormat: "json";
20282
- status: 400;
20256
+ status: 409;
20283
20257
  input: {
20284
20258
  query: {
20285
20259
  q?: string | undefined;
@@ -20316,6 +20290,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20316
20290
  }, "/"> | import("hono/types").MergeSchemaPath<{
20317
20291
  "/skills": {
20318
20292
  $get: {
20293
+ output: {
20294
+ error: string;
20295
+ code?: "invalid_input" | undefined;
20296
+ };
20297
+ outputFormat: "json";
20298
+ status: 400;
20299
+ input: {
20300
+ query: {
20301
+ wait?: string | undefined;
20302
+ };
20303
+ };
20304
+ } | {
20319
20305
  output: {
20320
20306
  name: string;
20321
20307
  description?: string | undefined;
@@ -20338,7 +20324,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20338
20324
  wait?: string | undefined;
20339
20325
  };
20340
20326
  };
20341
- } | {
20327
+ };
20328
+ };
20329
+ } & {
20330
+ "/skills/importable": {
20331
+ $get: {
20342
20332
  output: {
20343
20333
  error: string;
20344
20334
  code?: "invalid_input" | undefined;
@@ -20350,11 +20340,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20350
20340
  wait?: string | undefined;
20351
20341
  };
20352
20342
  };
20353
- };
20354
- };
20355
- } & {
20356
- "/skills/importable": {
20357
- $get: {
20343
+ } | {
20358
20344
  output: {
20359
20345
  name: string;
20360
20346
  description?: string | undefined;
@@ -20377,18 +20363,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20377
20363
  wait?: string | undefined;
20378
20364
  };
20379
20365
  };
20380
- } | {
20381
- output: {
20382
- error: string;
20383
- code?: "invalid_input" | undefined;
20384
- };
20385
- outputFormat: "json";
20386
- status: 400;
20387
- input: {
20388
- query: {
20389
- wait?: string | undefined;
20390
- };
20391
- };
20392
20366
  };
20393
20367
  };
20394
20368
  } & {
@@ -20589,14 +20563,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20589
20563
  "/agent-config/:id": {
20590
20564
  $put: {
20591
20565
  output: {
20592
- id: string;
20593
- path: string;
20594
- exists: boolean;
20595
- content: string;
20596
- version: string | null;
20566
+ error: string;
20597
20567
  };
20598
20568
  outputFormat: "json";
20599
- status: import("hono/utils/http-status").ContentfulStatusCode;
20569
+ status: 404;
20600
20570
  input: {
20601
20571
  json: {
20602
20572
  content: string;
@@ -20609,10 +20579,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20609
20579
  };
20610
20580
  } | {
20611
20581
  output: {
20612
- error: string;
20582
+ id: string;
20583
+ path: string;
20584
+ exists: boolean;
20585
+ content: string;
20586
+ version: string | null;
20613
20587
  };
20614
20588
  outputFormat: "json";
20615
- status: 404;
20589
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20616
20590
  input: {
20617
20591
  json: {
20618
20592
  content: string;
@@ -20683,10 +20657,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20683
20657
  "/workflows": {
20684
20658
  $post: {
20685
20659
  output: {
20686
- error: string;
20660
+ path: string;
20661
+ name: string;
20687
20662
  };
20688
20663
  outputFormat: "json";
20689
- status: 400;
20664
+ status: 201;
20690
20665
  input: {
20691
20666
  json: {
20692
20667
  name: string;
@@ -20716,10 +20691,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20716
20691
  } | {
20717
20692
  output: {
20718
20693
  error: string;
20719
- exists: true;
20720
20694
  };
20721
20695
  outputFormat: "json";
20722
- status: 409;
20696
+ status: 400;
20723
20697
  input: {
20724
20698
  json: {
20725
20699
  name: string;
@@ -20749,9 +20723,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20749
20723
  } | {
20750
20724
  output: {
20751
20725
  error: string;
20726
+ exists: true;
20752
20727
  };
20753
20728
  outputFormat: "json";
20754
- status: 500;
20729
+ status: 409;
20755
20730
  input: {
20756
20731
  json: {
20757
20732
  name: string;
@@ -20780,11 +20755,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20780
20755
  };
20781
20756
  } | {
20782
20757
  output: {
20783
- path: string;
20784
- name: string;
20758
+ error: string;
20785
20759
  };
20786
20760
  outputFormat: "json";
20787
- status: 201;
20761
+ status: 500;
20788
20762
  input: {
20789
20763
  json: {
20790
20764
  name: string;
@@ -20817,10 +20791,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20817
20791
  "/workflows/:name": {
20818
20792
  $delete: {
20819
20793
  output: {
20820
- error: string;
20794
+ ok: true;
20795
+ path: string;
20821
20796
  };
20822
20797
  outputFormat: "json";
20823
- status: 400 | 404 | 409 | 500;
20798
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20824
20799
  input: {
20825
20800
  param: {
20826
20801
  name: string;
@@ -20828,11 +20803,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20828
20803
  };
20829
20804
  } | {
20830
20805
  output: {
20831
- ok: true;
20832
- path: string;
20806
+ error: string;
20833
20807
  };
20834
20808
  outputFormat: "json";
20835
- status: import("hono/utils/http-status").ContentfulStatusCode;
20809
+ status: 400 | 404 | 409 | 500;
20836
20810
  input: {
20837
20811
  param: {
20838
20812
  name: string;
@@ -21222,14 +21196,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21222
21196
  "/repo/branches/delete": {
21223
21197
  $post: {
21224
21198
  output: {
21225
- error: string;
21199
+ deleted: string[];
21226
21200
  refused: {
21227
21201
  name: string;
21228
21202
  reason: string;
21229
21203
  }[];
21204
+ dropped?: {
21205
+ sha: string;
21206
+ subject: string;
21207
+ }[] | undefined;
21230
21208
  };
21231
21209
  outputFormat: "json";
21232
- status: 409;
21210
+ status: 200;
21233
21211
  input: {
21234
21212
  json: {
21235
21213
  names: string[];
@@ -21238,18 +21216,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21238
21216
  };
21239
21217
  } | {
21240
21218
  output: {
21241
- deleted: string[];
21219
+ error: string;
21242
21220
  refused: {
21243
21221
  name: string;
21244
21222
  reason: string;
21245
21223
  }[];
21246
- dropped?: {
21247
- sha: string;
21248
- subject: string;
21249
- }[] | undefined;
21250
21224
  };
21251
21225
  outputFormat: "json";
21252
- status: 200;
21226
+ status: 409;
21253
21227
  input: {
21254
21228
  json: {
21255
21229
  names: string[];
@@ -21270,9 +21244,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21270
21244
  } & {
21271
21245
  "/repo/commit/:sha": {
21272
21246
  $get: {
21273
- output: string;
21274
- outputFormat: "text";
21275
- status: import("hono/utils/http-status").ContentfulStatusCode;
21247
+ output: {
21248
+ error: string;
21249
+ code?: "invalid_input" | undefined;
21250
+ };
21251
+ outputFormat: "json";
21252
+ status: 400;
21276
21253
  input: {
21277
21254
  query: {
21278
21255
  structured?: string | undefined;
@@ -21285,10 +21262,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21285
21262
  } | {
21286
21263
  output: {
21287
21264
  error: string;
21288
- code?: "invalid_input" | undefined;
21289
21265
  };
21290
21266
  outputFormat: "json";
21291
- status: 400;
21267
+ status: 409;
21292
21268
  input: {
21293
21269
  query: {
21294
21270
  structured?: string | undefined;
@@ -21332,11 +21308,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21332
21308
  };
21333
21309
  };
21334
21310
  } | {
21335
- output: {
21336
- error: string;
21337
- };
21338
- outputFormat: "json";
21339
- status: 409;
21311
+ output: string;
21312
+ outputFormat: "text";
21313
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21340
21314
  input: {
21341
21315
  query: {
21342
21316
  structured?: string | undefined;
@@ -21351,6 +21325,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21351
21325
  } & {
21352
21326
  "/repo/changes": {
21353
21327
  $get: {
21328
+ output: {
21329
+ error: string;
21330
+ };
21331
+ outputFormat: "json";
21332
+ status: 409;
21333
+ input: {};
21334
+ } | {
21354
21335
  output: {
21355
21336
  files: {
21356
21337
  path: string;
@@ -21375,13 +21356,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21375
21356
  outputFormat: "json";
21376
21357
  status: import("hono/utils/http-status").ContentfulStatusCode;
21377
21358
  input: {};
21378
- } | {
21379
- output: {
21380
- error: string;
21381
- };
21382
- outputFormat: "json";
21383
- status: 409;
21384
- input: {};
21385
21359
  };
21386
21360
  };
21387
21361
  } & {
@@ -21406,10 +21380,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21406
21380
  "/repo/pull": {
21407
21381
  $post: {
21408
21382
  output: {
21409
- error: string;
21383
+ branch: string;
21384
+ pulled: true;
21385
+ summary: string;
21410
21386
  };
21411
21387
  outputFormat: "json";
21412
- status: 409;
21388
+ status: 200;
21413
21389
  input: {
21414
21390
  json: {
21415
21391
  branch?: string | undefined;
@@ -21418,12 +21394,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21418
21394
  };
21419
21395
  } | {
21420
21396
  output: {
21421
- branch: string;
21422
- pulled: true;
21423
- summary: string;
21397
+ error: string;
21424
21398
  };
21425
21399
  outputFormat: "json";
21426
- status: 200;
21400
+ status: 409;
21427
21401
  input: {
21428
21402
  json: {
21429
21403
  branch?: string | undefined;
@@ -22374,80 +22348,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22374
22348
  } & {
22375
22349
  "/automations": {
22376
22350
  $post: {
22377
- output: {
22378
- error: string;
22379
- };
22380
- outputFormat: "json";
22381
- status: 400 | 404 | 409;
22382
- input: {
22383
- json: {
22384
- name: string;
22385
- description?: string | undefined;
22386
- enabled?: boolean | undefined;
22387
- kind?: "github" | "schedule" | undefined;
22388
- events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22389
- intervalSeconds?: number | undefined;
22390
- filters?: {
22391
- [x: string]: unknown;
22392
- includeExisting?: boolean | undefined;
22393
- requireCurrentLabels?: boolean | undefined;
22394
- authors?: string[] | undefined;
22395
- assignees?: string[] | undefined;
22396
- allLabels?: string[] | undefined;
22397
- anyLabels?: string[] | undefined;
22398
- excludeLabels?: string[] | undefined;
22399
- changedLabels?: string[] | undefined;
22400
- lookbackDays?: number | undefined;
22401
- maxRecords?: number | undefined;
22402
- } | undefined;
22403
- schedule?: {
22404
- type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22405
- hour?: number | undefined;
22406
- minute?: number | undefined;
22407
- day?: number | undefined;
22408
- every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
22409
- at?: string | undefined;
22410
- timeZone?: string | undefined;
22411
- latestStartMinutes?: number | undefined;
22412
- } | undefined;
22413
- task: {
22414
- [x: string]: unknown;
22415
- archiveWhenDone?: boolean | undefined;
22416
- autoMergePr?: boolean | undefined;
22417
- allowWorkers?: boolean | undefined;
22418
- allowMessaging?: boolean | undefined;
22419
- prompt: string;
22420
- workflow?: string | undefined;
22421
- steps?: {
22422
- id: string;
22423
- name?: string | undefined;
22424
- prompt?: string | undefined;
22425
- skill?: string | undefined;
22426
- model?: string | undefined;
22427
- effort?: string | undefined;
22428
- timeoutMs?: number | undefined;
22429
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22430
- agentProfile?: string | undefined;
22431
- allowedTools?: string[] | undefined;
22432
- bashAllowlist?: string[] | undefined;
22433
- command?: string | undefined;
22434
- onFail?: {
22435
- retry: string;
22436
- max?: number | undefined;
22437
- } | undefined;
22438
- }[] | undefined;
22439
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22440
- model?: string | undefined;
22441
- effort?: string | undefined;
22442
- worktree?: boolean | undefined;
22443
- autonomous?: boolean | undefined;
22444
- systemPrompt?: string | undefined;
22445
- variants?: 1 | undefined;
22446
- };
22447
- enable?: boolean | undefined;
22448
- };
22449
- };
22450
- } | {
22451
22351
  output: {
22452
22352
  automation: {
22453
22353
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22605,22 +22505,85 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22605
22505
  enable?: boolean | undefined;
22606
22506
  };
22607
22507
  };
22608
- };
22609
- };
22610
- } & {
22611
- "/automations/:id": {
22612
- $get: {
22508
+ } | {
22613
22509
  output: {
22614
22510
  error: string;
22615
22511
  };
22616
22512
  outputFormat: "json";
22617
22513
  status: 400 | 404 | 409;
22618
22514
  input: {
22619
- param: {
22620
- id: string;
22515
+ json: {
22516
+ name: string;
22517
+ description?: string | undefined;
22518
+ enabled?: boolean | undefined;
22519
+ kind?: "github" | "schedule" | undefined;
22520
+ events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22521
+ intervalSeconds?: number | undefined;
22522
+ filters?: {
22523
+ [x: string]: unknown;
22524
+ includeExisting?: boolean | undefined;
22525
+ requireCurrentLabels?: boolean | undefined;
22526
+ authors?: string[] | undefined;
22527
+ assignees?: string[] | undefined;
22528
+ allLabels?: string[] | undefined;
22529
+ anyLabels?: string[] | undefined;
22530
+ excludeLabels?: string[] | undefined;
22531
+ changedLabels?: string[] | undefined;
22532
+ lookbackDays?: number | undefined;
22533
+ maxRecords?: number | undefined;
22534
+ } | undefined;
22535
+ schedule?: {
22536
+ type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22537
+ hour?: number | undefined;
22538
+ minute?: number | undefined;
22539
+ day?: number | undefined;
22540
+ every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
22541
+ at?: string | undefined;
22542
+ timeZone?: string | undefined;
22543
+ latestStartMinutes?: number | undefined;
22544
+ } | undefined;
22545
+ task: {
22546
+ [x: string]: unknown;
22547
+ archiveWhenDone?: boolean | undefined;
22548
+ autoMergePr?: boolean | undefined;
22549
+ allowWorkers?: boolean | undefined;
22550
+ allowMessaging?: boolean | undefined;
22551
+ prompt: string;
22552
+ workflow?: string | undefined;
22553
+ steps?: {
22554
+ id: string;
22555
+ name?: string | undefined;
22556
+ prompt?: string | undefined;
22557
+ skill?: string | undefined;
22558
+ model?: string | undefined;
22559
+ effort?: string | undefined;
22560
+ timeoutMs?: number | undefined;
22561
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22562
+ agentProfile?: string | undefined;
22563
+ allowedTools?: string[] | undefined;
22564
+ bashAllowlist?: string[] | undefined;
22565
+ command?: string | undefined;
22566
+ onFail?: {
22567
+ retry: string;
22568
+ max?: number | undefined;
22569
+ } | undefined;
22570
+ }[] | undefined;
22571
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22572
+ model?: string | undefined;
22573
+ effort?: string | undefined;
22574
+ worktree?: boolean | undefined;
22575
+ autonomous?: boolean | undefined;
22576
+ systemPrompt?: string | undefined;
22577
+ variants?: 1 | undefined;
22578
+ };
22579
+ enable?: boolean | undefined;
22621
22580
  };
22622
22581
  };
22623
- } | {
22582
+ };
22583
+ };
22584
+ } & {
22585
+ "/automations/:id": {
22586
+ $get: {
22624
22587
  output: {
22625
22588
  automation: {
22626
22589
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22776,26 +22739,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22776
22739
  id: string;
22777
22740
  };
22778
22741
  };
22779
- };
22780
- };
22781
- } & {
22782
- "/automations/:id": {
22783
- $put: {
22742
+ } | {
22784
22743
  output: {
22785
22744
  error: string;
22786
22745
  };
22787
22746
  outputFormat: "json";
22788
22747
  status: 400 | 404 | 409;
22789
22748
  input: {
22790
- json: {
22749
+ param: {
22750
+ id: string;
22751
+ };
22752
+ };
22753
+ };
22754
+ };
22755
+ } & {
22756
+ "/automations/:id": {
22757
+ $put: {
22758
+ output: {
22759
+ automation: {
22760
+ [x: string]: import("hono/utils/types").JSONValue;
22761
+ id: string;
22762
+ revision: number;
22791
22763
  name: string;
22792
22764
  description?: string | undefined;
22793
- enabled?: boolean | undefined;
22794
- kind?: "github" | "schedule" | undefined;
22765
+ enabled: boolean;
22766
+ kind: "github" | "schedule";
22795
22767
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22796
22768
  intervalSeconds?: number | undefined;
22797
22769
  filters?: {
22798
- [x: string]: unknown;
22770
+ [x: string]: import("hono/utils/types").JSONValue;
22799
22771
  includeExisting?: boolean | undefined;
22800
22772
  requireCurrentLabels?: boolean | undefined;
22801
22773
  authors?: string[] | undefined;
@@ -22804,10 +22776,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22804
22776
  anyLabels?: string[] | undefined;
22805
22777
  excludeLabels?: string[] | undefined;
22806
22778
  changedLabels?: string[] | undefined;
22807
- lookbackDays?: number | undefined;
22808
- maxRecords?: number | undefined;
22779
+ lookbackDays: number;
22780
+ maxRecords: number;
22809
22781
  } | undefined;
22810
22782
  schedule?: {
22783
+ [x: string]: import("hono/utils/types").JSONValue;
22811
22784
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22812
22785
  hour?: number | undefined;
22813
22786
  minute?: number | undefined;
@@ -22818,7 +22791,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22818
22791
  latestStartMinutes?: number | undefined;
22819
22792
  } | undefined;
22820
22793
  task: {
22821
- [x: string]: unknown;
22794
+ [x: string]: import("hono/utils/types").JSONValue;
22822
22795
  archiveWhenDone?: boolean | undefined;
22823
22796
  autoMergePr?: boolean | undefined;
22824
22797
  allowWorkers?: boolean | undefined;
@@ -22840,38 +22813,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22840
22813
  command?: string | undefined;
22841
22814
  onFail?: {
22842
22815
  retry: string;
22843
- max?: number | undefined;
22816
+ max: number;
22844
22817
  } | undefined;
22845
22818
  }[] | undefined;
22846
22819
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22847
22820
  model?: string | undefined;
22848
22821
  effort?: string | undefined;
22822
+ variants?: 1 | 2 | 3 | undefined;
22849
22823
  worktree?: boolean | undefined;
22850
22824
  autonomous?: boolean | undefined;
22851
22825
  systemPrompt?: string | undefined;
22852
- variants?: 1 | undefined;
22853
22826
  };
22854
- expectedRevision: number;
22855
- };
22856
- } & {
22857
- param: {
22858
- id: string;
22827
+ archived?: {
22828
+ [x: string]: import("hono/utils/types").JSONValue;
22829
+ at: string;
22830
+ outcome: "cancelled" | "launched";
22831
+ runId?: string | undefined;
22832
+ receiptId?: string | undefined;
22833
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22834
+ } | undefined;
22835
+ createdAt: string;
22836
+ updatedAt: string;
22859
22837
  };
22860
22838
  };
22861
- } | {
22862
- output: {
22863
- automation: {
22864
- [x: string]: import("hono/utils/types").JSONValue;
22865
- id: string;
22866
- revision: number;
22839
+ outputFormat: "json";
22840
+ status: import("hono/utils/http-status").ContentfulStatusCode;
22841
+ input: {
22842
+ json: {
22867
22843
  name: string;
22868
22844
  description?: string | undefined;
22869
- enabled: boolean;
22870
- kind: "github" | "schedule";
22845
+ enabled?: boolean | undefined;
22846
+ kind?: "github" | "schedule" | undefined;
22871
22847
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22872
22848
  intervalSeconds?: number | undefined;
22873
22849
  filters?: {
22874
- [x: string]: import("hono/utils/types").JSONValue;
22850
+ [x: string]: unknown;
22875
22851
  includeExisting?: boolean | undefined;
22876
22852
  requireCurrentLabels?: boolean | undefined;
22877
22853
  authors?: string[] | undefined;
@@ -22880,11 +22856,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22880
22856
  anyLabels?: string[] | undefined;
22881
22857
  excludeLabels?: string[] | undefined;
22882
22858
  changedLabels?: string[] | undefined;
22883
- lookbackDays: number;
22884
- maxRecords: number;
22859
+ lookbackDays?: number | undefined;
22860
+ maxRecords?: number | undefined;
22885
22861
  } | undefined;
22886
22862
  schedule?: {
22887
- [x: string]: import("hono/utils/types").JSONValue;
22888
22863
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22889
22864
  hour?: number | undefined;
22890
22865
  minute?: number | undefined;
@@ -22895,7 +22870,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22895
22870
  latestStartMinutes?: number | undefined;
22896
22871
  } | undefined;
22897
22872
  task: {
22898
- [x: string]: import("hono/utils/types").JSONValue;
22873
+ [x: string]: unknown;
22899
22874
  archiveWhenDone?: boolean | undefined;
22900
22875
  autoMergePr?: boolean | undefined;
22901
22876
  allowWorkers?: boolean | undefined;
@@ -22917,31 +22892,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22917
22892
  command?: string | undefined;
22918
22893
  onFail?: {
22919
22894
  retry: string;
22920
- max: number;
22895
+ max?: number | undefined;
22921
22896
  } | undefined;
22922
22897
  }[] | undefined;
22923
22898
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22924
22899
  model?: string | undefined;
22925
22900
  effort?: string | undefined;
22926
- variants?: 1 | 2 | 3 | undefined;
22927
22901
  worktree?: boolean | undefined;
22928
22902
  autonomous?: boolean | undefined;
22929
22903
  systemPrompt?: string | undefined;
22904
+ variants?: 1 | undefined;
22930
22905
  };
22931
- archived?: {
22932
- [x: string]: import("hono/utils/types").JSONValue;
22933
- at: string;
22934
- outcome: "cancelled" | "launched";
22935
- runId?: string | undefined;
22936
- receiptId?: string | undefined;
22937
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22938
- } | undefined;
22939
- createdAt: string;
22940
- updatedAt: string;
22906
+ expectedRevision: number;
22907
+ };
22908
+ } & {
22909
+ param: {
22910
+ id: string;
22941
22911
  };
22942
22912
  };
22913
+ } | {
22914
+ output: {
22915
+ error: string;
22916
+ };
22943
22917
  outputFormat: "json";
22944
- status: import("hono/utils/http-status").ContentfulStatusCode;
22918
+ status: 400 | 404 | 409;
22945
22919
  input: {
22946
22920
  json: {
22947
22921
  name: string;
@@ -23043,17 +23017,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23043
23017
  } & {
23044
23018
  "/automations/:id/enable": {
23045
23019
  $post: {
23046
- output: {
23047
- error: string;
23048
- };
23049
- outputFormat: "json";
23050
- status: 400 | 404 | 409;
23051
- input: {
23052
- param: {
23053
- id: string;
23054
- };
23055
- };
23056
- } | {
23057
23020
  output: {
23058
23021
  automation: {
23059
23022
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23142,11 +23105,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23142
23105
  id: string;
23143
23106
  };
23144
23107
  };
23145
- };
23146
- };
23147
- } & {
23148
- "/automations/:id/pause": {
23149
- $post: {
23108
+ } | {
23150
23109
  output: {
23151
23110
  error: string;
23152
23111
  };
@@ -23157,7 +23116,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23157
23116
  id: string;
23158
23117
  };
23159
23118
  };
23160
- } | {
23119
+ };
23120
+ };
23121
+ } & {
23122
+ "/automations/:id/pause": {
23123
+ $post: {
23161
23124
  output: {
23162
23125
  automation: {
23163
23126
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23246,11 +23209,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23246
23209
  id: string;
23247
23210
  };
23248
23211
  };
23249
- };
23250
- };
23251
- } & {
23252
- "/automations/:id/cancel": {
23253
- $post: {
23212
+ } | {
23254
23213
  output: {
23255
23214
  error: string;
23256
23215
  };
@@ -23261,7 +23220,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23261
23220
  id: string;
23262
23221
  };
23263
23222
  };
23264
- } | {
23223
+ };
23224
+ };
23225
+ } & {
23226
+ "/automations/:id/cancel": {
23227
+ $post: {
23265
23228
  output: {
23266
23229
  automation: {
23267
23230
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23350,16 +23313,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23350
23313
  id: string;
23351
23314
  };
23352
23315
  };
23316
+ } | {
23317
+ output: {
23318
+ error: string;
23319
+ };
23320
+ outputFormat: "json";
23321
+ status: 400 | 404 | 409;
23322
+ input: {
23323
+ param: {
23324
+ id: string;
23325
+ };
23326
+ };
23353
23327
  };
23354
23328
  };
23355
23329
  } & {
23356
23330
  "/automations/:id/run": {
23357
23331
  $post: {
23358
23332
  output: {
23359
- error: string;
23333
+ runId: string;
23360
23334
  };
23361
23335
  outputFormat: "json";
23362
- status: 400 | 404 | 409;
23336
+ status: 202;
23363
23337
  input: {
23364
23338
  param: {
23365
23339
  id: string;
@@ -23367,10 +23341,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23367
23341
  };
23368
23342
  } | {
23369
23343
  output: {
23370
- runId: string;
23344
+ error: string;
23371
23345
  };
23372
23346
  outputFormat: "json";
23373
- status: 202;
23347
+ status: 400 | 404 | 409;
23374
23348
  input: {
23375
23349
  param: {
23376
23350
  id: string;
@@ -23382,10 +23356,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23382
23356
  "/automations/:id/check": {
23383
23357
  $post: {
23384
23358
  output: {
23385
- error: string;
23359
+ checkId: string;
23386
23360
  };
23387
23361
  outputFormat: "json";
23388
- status: 404;
23362
+ status: 202;
23389
23363
  input: {
23390
23364
  json: {
23391
23365
  mode: "execute" | "preview";
@@ -23400,7 +23374,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23400
23374
  error: string;
23401
23375
  };
23402
23376
  outputFormat: "json";
23403
- status: 409;
23377
+ status: 404;
23404
23378
  input: {
23405
23379
  json: {
23406
23380
  mode: "execute" | "preview";
@@ -23412,10 +23386,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23412
23386
  };
23413
23387
  } | {
23414
23388
  output: {
23415
- checkId: string;
23389
+ error: string;
23416
23390
  };
23417
23391
  outputFormat: "json";
23418
- status: 202;
23392
+ status: 409;
23419
23393
  input: {
23420
23394
  json: {
23421
23395
  mode: "execute" | "preview";
@@ -24587,6 +24561,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24587
24561
  } & {
24588
24562
  "/run-summaries": {
24589
24563
  $get: {
24564
+ output: {
24565
+ error: string;
24566
+ code?: "invalid_input" | undefined;
24567
+ };
24568
+ outputFormat: "json";
24569
+ status: 400;
24570
+ input: {
24571
+ query: {
24572
+ archived?: "all" | "recent" | undefined;
24573
+ };
24574
+ };
24575
+ } | {
24590
24576
  output: {
24591
24577
  id: string;
24592
24578
  title: string;
@@ -24711,18 +24697,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24711
24697
  archived?: "all" | "recent" | undefined;
24712
24698
  };
24713
24699
  };
24714
- } | {
24715
- output: {
24716
- error: string;
24717
- code?: "invalid_input" | undefined;
24718
- };
24719
- outputFormat: "json";
24720
- status: 400;
24721
- input: {
24722
- query: {
24723
- archived?: "all" | "recent" | undefined;
24724
- };
24725
- };
24726
24700
  };
24727
24701
  };
24728
24702
  } & {
@@ -25049,22 +25023,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25049
25023
  "/runs/:id/worker-destroy": {
25050
25024
  $post: {
25051
25025
  output: {
25052
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
25053
- readonly error: string;
25054
- readonly modelChoices?: {
25055
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
25056
- requestedModel: string;
25057
- availableModels: {
25058
- id: string;
25059
- label: string;
25060
- description: string;
25061
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
25062
- }[];
25063
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
25064
- } | undefined;
25026
+ workerId: string;
25027
+ state: "complete" | "incomplete";
25028
+ deleted?: ({
25029
+ kind: "worktree";
25030
+ path: string;
25031
+ } | {
25032
+ kind: "branch";
25033
+ ref: string;
25034
+ })[] | undefined;
25035
+ remaining: ("branch" | "process" | "worktree")[];
25036
+ error?: string | undefined;
25065
25037
  };
25066
25038
  outputFormat: "json";
25067
- status: 400 | 401 | 403 | 409 | 503;
25039
+ status: 200;
25068
25040
  input: {
25069
25041
  query: {
25070
25042
  [x: string]: string | string[];
@@ -25109,7 +25081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25109
25081
  error?: string | undefined;
25110
25082
  };
25111
25083
  outputFormat: "json";
25112
- status: 200;
25084
+ status: 409;
25113
25085
  input: {
25114
25086
  query: {
25115
25087
  [x: string]: string | string[];
@@ -25123,20 +25095,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25123
25095
  };
25124
25096
  } | {
25125
25097
  output: {
25126
- workerId: string;
25127
- state: "complete" | "incomplete";
25128
- deleted?: ({
25129
- kind: "worktree";
25130
- path: string;
25131
- } | {
25132
- kind: "branch";
25133
- ref: string;
25134
- })[] | undefined;
25135
- remaining: ("branch" | "process" | "worktree")[];
25136
- error?: string | undefined;
25098
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
25099
+ readonly error: string;
25100
+ readonly modelChoices?: {
25101
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
25102
+ requestedModel: string;
25103
+ availableModels: {
25104
+ id: string;
25105
+ label: string;
25106
+ description: string;
25107
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
25108
+ }[];
25109
+ otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
25110
+ } | undefined;
25137
25111
  };
25138
25112
  outputFormat: "json";
25139
- status: 409;
25113
+ status: 400 | 401 | 403 | 409 | 503;
25140
25114
  input: {
25141
25115
  query: {
25142
25116
  [x: string]: string | string[];
@@ -25186,6 +25160,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25186
25160
  } & {
25187
25161
  "/runs/:id/archive": {
25188
25162
  $post: {
25163
+ output: {
25164
+ error: string;
25165
+ };
25166
+ outputFormat: "json";
25167
+ status: 404;
25168
+ input: {
25169
+ json: {
25170
+ archived?: boolean | undefined;
25171
+ };
25172
+ } & {
25173
+ param: {
25174
+ id: string;
25175
+ };
25176
+ };
25177
+ } | {
25189
25178
  output: {
25190
25179
  archiveWhenDone?: boolean | undefined;
25191
25180
  autoMergePr?: boolean | undefined;
@@ -26243,32 +26232,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26243
26232
  id: string;
26244
26233
  };
26245
26234
  };
26246
- } | {
26235
+ };
26236
+ };
26237
+ } & {
26238
+ "/runs/:id/pin": {
26239
+ $post: {
26247
26240
  output: {
26248
26241
  error: string;
26242
+ code?: "invalid_input" | undefined;
26249
26243
  };
26250
26244
  outputFormat: "json";
26251
- status: 404;
26245
+ status: 400;
26252
26246
  input: {
26253
- json: {
26254
- archived?: boolean | undefined;
26255
- };
26256
- } & {
26257
26247
  param: {
26258
26248
  id: string;
26259
26249
  };
26250
+ } & {
26251
+ json: {
26252
+ pinned?: boolean | undefined;
26253
+ };
26260
26254
  };
26261
- };
26262
- };
26263
- } & {
26264
- "/runs/:id/pin": {
26265
- $post: {
26255
+ } | {
26266
26256
  output: {
26267
26257
  error: string;
26268
- code?: "invalid_input" | undefined;
26269
26258
  };
26270
26259
  outputFormat: "json";
26271
- status: 400;
26260
+ status: 404;
26272
26261
  input: {
26273
26262
  param: {
26274
26263
  id: string;
@@ -27336,29 +27325,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27336
27325
  pinned?: boolean | undefined;
27337
27326
  };
27338
27327
  };
27339
- } | {
27328
+ };
27329
+ };
27330
+ } & {
27331
+ "/runs/:id/notify": {
27332
+ $post: {
27340
27333
  output: {
27341
27334
  error: string;
27335
+ code?: "invalid_input" | undefined;
27342
27336
  };
27343
27337
  outputFormat: "json";
27344
- status: 404;
27338
+ status: 400;
27345
27339
  input: {
27346
27340
  param: {
27347
27341
  id: string;
27348
27342
  };
27349
27343
  } & {
27350
27344
  json: {
27351
- pinned?: boolean | undefined;
27345
+ notify: boolean;
27346
+ message?: string | undefined;
27352
27347
  };
27353
27348
  };
27354
- };
27355
- };
27356
- } & {
27357
- "/runs/:id/notify": {
27358
- $post: {
27349
+ } | {
27359
27350
  output: {
27360
27351
  error: string;
27361
- code?: "invalid_input" | undefined;
27362
27352
  };
27363
27353
  outputFormat: "json";
27364
27354
  status: 400;
@@ -27372,6 +27362,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27372
27362
  message?: string | undefined;
27373
27363
  };
27374
27364
  };
27365
+ } | {
27366
+ output: {
27367
+ error: string;
27368
+ };
27369
+ outputFormat: "json";
27370
+ status: 404;
27371
+ input: {
27372
+ param: {
27373
+ id: string;
27374
+ };
27375
+ } & {
27376
+ json: {
27377
+ notify: boolean;
27378
+ message?: string | undefined;
27379
+ };
27380
+ };
27375
27381
  } | {
27376
27382
  output: {
27377
27383
  archiveWhenDone?: boolean | undefined;
@@ -28431,7 +28437,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28431
28437
  message?: string | undefined;
28432
28438
  };
28433
28439
  };
28434
- } | {
28440
+ };
28441
+ };
28442
+ } & {
28443
+ "/runs/:id/auto-resume": {
28444
+ $delete: {
28435
28445
  output: {
28436
28446
  error: string;
28437
28447
  };
@@ -28441,33 +28451,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28441
28451
  param: {
28442
28452
  id: string;
28443
28453
  };
28444
- } & {
28445
- json: {
28446
- notify: boolean;
28447
- message?: string | undefined;
28448
- };
28449
28454
  };
28450
28455
  } | {
28451
28456
  output: {
28452
- error: string;
28457
+ cancelled: true;
28453
28458
  };
28454
28459
  outputFormat: "json";
28455
- status: 400;
28460
+ status: import("hono/utils/http-status").ContentfulStatusCode;
28456
28461
  input: {
28457
28462
  param: {
28458
28463
  id: string;
28459
28464
  };
28460
- } & {
28461
- json: {
28462
- notify: boolean;
28463
- message?: string | undefined;
28464
- };
28465
28465
  };
28466
28466
  };
28467
28467
  };
28468
28468
  } & {
28469
- "/runs/:id/auto-resume": {
28470
- $delete: {
28469
+ "/runs/:id/read": {
28470
+ $post: {
28471
28471
  output: {
28472
28472
  error: string;
28473
28473
  };
@@ -28479,21 +28479,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28479
28479
  };
28480
28480
  };
28481
28481
  } | {
28482
- output: {
28483
- cancelled: true;
28484
- };
28485
- outputFormat: "json";
28486
- status: import("hono/utils/http-status").ContentfulStatusCode;
28487
- input: {
28488
- param: {
28489
- id: string;
28490
- };
28491
- };
28492
- };
28493
- };
28494
- } & {
28495
- "/runs/:id/read": {
28496
- $post: {
28497
28482
  output: {
28498
28483
  archiveWhenDone?: boolean | undefined;
28499
28484
  autoMergePr?: boolean | undefined;
@@ -29547,7 +29532,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29547
29532
  id: string;
29548
29533
  };
29549
29534
  };
29550
- } | {
29535
+ };
29536
+ };
29537
+ } & {
29538
+ "/runs/:id/unread": {
29539
+ $post: {
29551
29540
  output: {
29552
29541
  error: string;
29553
29542
  };
@@ -29558,11 +29547,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29558
29547
  id: string;
29559
29548
  };
29560
29549
  };
29561
- };
29562
- };
29563
- } & {
29564
- "/runs/:id/unread": {
29565
- $post: {
29550
+ } | {
29566
29551
  output: {
29567
29552
  archiveWhenDone?: boolean | undefined;
29568
29553
  autoMergePr?: boolean | undefined;
@@ -30616,17 +30601,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30616
30601
  id: string;
30617
30602
  };
30618
30603
  };
30619
- } | {
30620
- output: {
30621
- error: string;
30622
- };
30623
- outputFormat: "json";
30624
- status: 404;
30625
- input: {
30626
- param: {
30627
- id: string;
30628
- };
30629
- };
30630
30604
  };
30631
30605
  };
30632
30606
  } & {
@@ -31775,6 +31749,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31775
31749
  } & {
31776
31750
  "/runs/:id": {
31777
31751
  $get: {
31752
+ output: {
31753
+ error: string;
31754
+ };
31755
+ outputFormat: "json";
31756
+ status: 404;
31757
+ input: {
31758
+ param: {
31759
+ id: string;
31760
+ };
31761
+ };
31762
+ } | {
31778
31763
  output: {
31779
31764
  archiveWhenDone?: boolean | undefined;
31780
31765
  autoMergePr?: boolean | undefined;
@@ -32835,17 +32820,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32835
32820
  id: string;
32836
32821
  };
32837
32822
  };
32838
- } | {
32839
- output: {
32840
- error: string;
32841
- };
32842
- outputFormat: "json";
32843
- status: 404;
32844
- input: {
32845
- param: {
32846
- id: string;
32847
- };
32848
- };
32849
32823
  };
32850
32824
  };
32851
32825
  } & {
@@ -32973,6 +32947,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32973
32947
  } & {
32974
32948
  "/runs/:id": {
32975
32949
  $patch: {
32950
+ output: {
32951
+ error: string;
32952
+ };
32953
+ outputFormat: "json";
32954
+ status: 400;
32955
+ input: {
32956
+ json: {
32957
+ archiveWhenDone?: boolean | undefined;
32958
+ autoMergePr?: boolean | undefined;
32959
+ allowWorkers?: boolean | undefined;
32960
+ allowMessaging?: boolean | undefined;
32961
+ title?: string | undefined;
32962
+ task?: string | undefined;
32963
+ };
32964
+ } & {
32965
+ param: {
32966
+ id: string;
32967
+ };
32968
+ };
32969
+ } | {
32970
+ output: {
32971
+ error: string;
32972
+ };
32973
+ outputFormat: "json";
32974
+ status: 404;
32975
+ input: {
32976
+ json: {
32977
+ archiveWhenDone?: boolean | undefined;
32978
+ autoMergePr?: boolean | undefined;
32979
+ allowWorkers?: boolean | undefined;
32980
+ allowMessaging?: boolean | undefined;
32981
+ title?: string | undefined;
32982
+ task?: string | undefined;
32983
+ };
32984
+ } & {
32985
+ param: {
32986
+ id: string;
32987
+ };
32988
+ };
32989
+ } | {
32990
+ output: {
32991
+ error: string;
32992
+ };
32993
+ outputFormat: "json";
32994
+ status: 409;
32995
+ input: {
32996
+ json: {
32997
+ archiveWhenDone?: boolean | undefined;
32998
+ autoMergePr?: boolean | undefined;
32999
+ allowWorkers?: boolean | undefined;
33000
+ allowMessaging?: boolean | undefined;
33001
+ title?: string | undefined;
33002
+ task?: string | undefined;
33003
+ };
33004
+ } & {
33005
+ param: {
33006
+ id: string;
33007
+ };
33008
+ };
33009
+ } | {
32976
33010
  output: {
32977
33011
  archiveWhenDone?: boolean | undefined;
32978
33012
  autoMergePr?: boolean | undefined;
@@ -34035,66 +34069,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34035
34069
  id: string;
34036
34070
  };
34037
34071
  };
34038
- } | {
34039
- output: {
34040
- error: string;
34041
- };
34042
- outputFormat: "json";
34043
- status: 404;
34044
- input: {
34045
- json: {
34046
- archiveWhenDone?: boolean | undefined;
34047
- autoMergePr?: boolean | undefined;
34048
- allowWorkers?: boolean | undefined;
34049
- allowMessaging?: boolean | undefined;
34050
- title?: string | undefined;
34051
- task?: string | undefined;
34052
- };
34053
- } & {
34054
- param: {
34055
- id: string;
34056
- };
34057
- };
34058
- } | {
34059
- output: {
34060
- error: string;
34061
- };
34062
- outputFormat: "json";
34063
- status: 400;
34064
- input: {
34065
- json: {
34066
- archiveWhenDone?: boolean | undefined;
34067
- autoMergePr?: boolean | undefined;
34068
- allowWorkers?: boolean | undefined;
34069
- allowMessaging?: boolean | undefined;
34070
- title?: string | undefined;
34071
- task?: string | undefined;
34072
- };
34073
- } & {
34074
- param: {
34075
- id: string;
34076
- };
34077
- };
34078
- } | {
34079
- output: {
34080
- error: string;
34081
- };
34082
- outputFormat: "json";
34083
- status: 409;
34084
- input: {
34085
- json: {
34086
- archiveWhenDone?: boolean | undefined;
34087
- autoMergePr?: boolean | undefined;
34088
- allowWorkers?: boolean | undefined;
34089
- allowMessaging?: boolean | undefined;
34090
- title?: string | undefined;
34091
- task?: string | undefined;
34092
- };
34093
- } & {
34094
- param: {
34095
- id: string;
34096
- };
34097
- };
34098
34072
  };
34099
34073
  };
34100
34074
  } & {
@@ -34199,7 +34173,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34199
34173
  error: string;
34200
34174
  };
34201
34175
  outputFormat: "json";
34202
- status: 404;
34176
+ status: 400;
34203
34177
  input: {
34204
34178
  json: {
34205
34179
  text?: string | undefined;
@@ -34218,7 +34192,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34218
34192
  error: string;
34219
34193
  };
34220
34194
  outputFormat: "json";
34221
- status: 409;
34195
+ status: 404;
34222
34196
  input: {
34223
34197
  json: {
34224
34198
  text?: string | undefined;
@@ -34234,10 +34208,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34234
34208
  };
34235
34209
  } | {
34236
34210
  output: {
34237
- delivered: true;
34211
+ error: string;
34238
34212
  };
34239
34213
  outputFormat: "json";
34240
- status: import("hono/utils/http-status").ContentfulStatusCode;
34214
+ status: 409;
34241
34215
  input: {
34242
34216
  json: {
34243
34217
  text?: string | undefined;
@@ -34253,10 +34227,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34253
34227
  };
34254
34228
  } | {
34255
34229
  output: {
34256
- error: string;
34230
+ delivered: true;
34257
34231
  };
34258
34232
  outputFormat: "json";
34259
- status: 400;
34233
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34260
34234
  input: {
34261
34235
  json: {
34262
34236
  text?: string | undefined;
@@ -34323,7 +34297,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34323
34297
  error: string;
34324
34298
  };
34325
34299
  outputFormat: "json";
34326
- status: 404;
34300
+ status: 400;
34327
34301
  input: {
34328
34302
  json: {
34329
34303
  text?: string | undefined;
@@ -34344,7 +34318,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34344
34318
  error: string;
34345
34319
  };
34346
34320
  outputFormat: "json";
34347
- status: 400;
34321
+ status: 404;
34348
34322
  input: {
34349
34323
  json: {
34350
34324
  text?: string | undefined;
@@ -34496,7 +34470,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34496
34470
  error: string;
34497
34471
  };
34498
34472
  outputFormat: "json";
34499
- status: 404;
34473
+ status: 400;
34500
34474
  input: {
34501
34475
  json: {
34502
34476
  text?: string | undefined;
@@ -34519,7 +34493,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34519
34493
  error: string;
34520
34494
  };
34521
34495
  outputFormat: "json";
34522
- status: 400;
34496
+ status: 404;
34523
34497
  input: {
34524
34498
  json: {
34525
34499
  text?: string | undefined;
@@ -34630,7 +34604,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34630
34604
  error: string;
34631
34605
  };
34632
34606
  outputFormat: "json";
34633
- status: 404;
34607
+ status: 400;
34634
34608
  input: {
34635
34609
  json: {
34636
34610
  target: string;
@@ -34646,7 +34620,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34646
34620
  error: string;
34647
34621
  };
34648
34622
  outputFormat: "json";
34649
- status: 409;
34623
+ status: 404;
34650
34624
  input: {
34651
34625
  json: {
34652
34626
  target: string;
@@ -34662,7 +34636,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34662
34636
  error: string;
34663
34637
  };
34664
34638
  outputFormat: "json";
34665
- status: 400;
34639
+ status: 409;
34666
34640
  input: {
34667
34641
  json: {
34668
34642
  target: string;
@@ -34719,9 +34693,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34719
34693
  } & {
34720
34694
  "/runs/:id/images/:file": {
34721
34695
  $get: {
34722
- output: {};
34723
- outputFormat: string;
34724
- status: import("hono/utils/http-status").StatusCode;
34696
+ output: {
34697
+ error: string;
34698
+ code?: "invalid_input" | undefined;
34699
+ };
34700
+ outputFormat: "json";
34701
+ status: 400;
34725
34702
  input: {
34726
34703
  param: {
34727
34704
  id: string;
@@ -34729,12 +34706,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34729
34706
  };
34730
34707
  };
34731
34708
  } | {
34732
- output: {
34733
- error: string;
34734
- code?: "invalid_input" | undefined;
34735
- };
34736
- outputFormat: "json";
34737
- status: 400;
34709
+ output: {};
34710
+ outputFormat: string;
34711
+ status: import("hono/utils/http-status").StatusCode;
34738
34712
  input: {
34739
34713
  param: {
34740
34714
  id: string;
@@ -34770,17 +34744,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34770
34744
  } & {
34771
34745
  "/runs/:id/changes": {
34772
34746
  $get: {
34773
- output: {
34774
- error: string;
34775
- };
34776
- outputFormat: "json";
34777
- status: 404 | 409;
34778
- input: {
34779
- param: {
34780
- id: string;
34781
- };
34782
- };
34783
- } | {
34784
34747
  output: {
34785
34748
  files: {
34786
34749
  path: string;
@@ -34809,11 +34772,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34809
34772
  id: string;
34810
34773
  };
34811
34774
  };
34812
- };
34813
- };
34814
- } & {
34815
- "/runs/:id/commits": {
34816
- $get: {
34775
+ } | {
34817
34776
  output: {
34818
34777
  error: string;
34819
34778
  };
@@ -34824,7 +34783,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34824
34783
  id: string;
34825
34784
  };
34826
34785
  };
34827
- } | {
34786
+ };
34787
+ };
34788
+ } & {
34789
+ "/runs/:id/commits": {
34790
+ $get: {
34828
34791
  output: {
34829
34792
  commits: {
34830
34793
  sha: string;
@@ -34840,11 +34803,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34840
34803
  id: string;
34841
34804
  };
34842
34805
  };
34843
- };
34844
- };
34845
- } & {
34846
- "/runs/:id/commit/:sha": {
34847
- $get: {
34806
+ } | {
34848
34807
  output: {
34849
34808
  error: string;
34850
34809
  };
@@ -34853,11 +34812,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34853
34812
  input: {
34854
34813
  param: {
34855
34814
  id: string;
34856
- } & {
34857
- sha: string;
34858
34815
  };
34859
34816
  };
34860
- } | {
34817
+ };
34818
+ };
34819
+ } & {
34820
+ "/runs/:id/commit/:sha": {
34821
+ $get: {
34861
34822
  output: {
34862
34823
  sha: string;
34863
34824
  subject: string;
@@ -34888,6 +34849,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34888
34849
  sha: string;
34889
34850
  };
34890
34851
  };
34852
+ } | {
34853
+ output: {
34854
+ error: string;
34855
+ };
34856
+ outputFormat: "json";
34857
+ status: 404 | 409;
34858
+ input: {
34859
+ param: {
34860
+ id: string;
34861
+ } & {
34862
+ sha: string;
34863
+ };
34864
+ };
34891
34865
  };
34892
34866
  };
34893
34867
  } & {
@@ -34923,22 +34897,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34923
34897
  raw?: "1" | undefined;
34924
34898
  };
34925
34899
  };
34926
- } | {
34927
- output: {
34928
- error: string;
34929
- };
34930
- outputFormat: "json";
34931
- status: 404 | 409;
34932
- input: {
34933
- param: {
34934
- id: string;
34935
- };
34936
- } & {
34937
- query: {
34938
- path: string | string[];
34939
- raw?: "1" | undefined;
34940
- };
34941
- };
34942
34900
  } | {
34943
34901
  output: {
34944
34902
  type: "file";
@@ -34975,6 +34933,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34975
34933
  raw?: "1" | undefined;
34976
34934
  };
34977
34935
  };
34936
+ } | {
34937
+ output: {
34938
+ error: string;
34939
+ };
34940
+ outputFormat: "json";
34941
+ status: 404 | 409;
34942
+ input: {
34943
+ param: {
34944
+ id: string;
34945
+ };
34946
+ } & {
34947
+ query: {
34948
+ path: string | string[];
34949
+ raw?: "1" | undefined;
34950
+ };
34951
+ };
34978
34952
  };
34979
34953
  };
34980
34954
  } & {
@@ -35039,6 +35013,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35039
35013
  artifactId: string;
35040
35014
  };
35041
35015
  };
35016
+ } | {
35017
+ output: {
35018
+ error: string;
35019
+ };
35020
+ outputFormat: "json";
35021
+ status: 404;
35022
+ input: {
35023
+ param: {
35024
+ id: string;
35025
+ artifactId: string;
35026
+ };
35027
+ };
35042
35028
  } | {
35043
35029
  output: {
35044
35030
  type: "file";
@@ -35067,18 +35053,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35067
35053
  artifactId: string;
35068
35054
  };
35069
35055
  };
35070
- } | {
35071
- output: {
35072
- error: string;
35073
- };
35074
- outputFormat: "json";
35075
- status: 404;
35076
- input: {
35077
- param: {
35078
- id: string;
35079
- artifactId: string;
35080
- };
35081
- };
35082
35056
  };
35083
35057
  };
35084
35058
  } & {
@@ -35254,22 +35228,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35254
35228
  id: string;
35255
35229
  };
35256
35230
  };
35257
- } | {
35258
- output: {
35259
- error: string;
35260
- };
35261
- outputFormat: "json";
35262
- status: 404 | 409;
35263
- input: {
35264
- query: {
35265
- path?: string | undefined;
35266
- raw?: string | undefined;
35267
- };
35268
- } & {
35269
- param: {
35270
- id: string;
35271
- };
35272
- };
35273
35231
  } | {
35274
35232
  output: {
35275
35233
  type: 'dir';
@@ -35313,31 +35271,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35313
35271
  id: string;
35314
35272
  };
35315
35273
  };
35316
- };
35317
- };
35318
- } & {
35319
- "/runs/:id/git/commit": {
35320
- $post: {
35274
+ } | {
35321
35275
  output: {
35322
35276
  error: string;
35323
35277
  };
35324
35278
  outputFormat: "json";
35325
- status: 404;
35279
+ status: 404 | 409;
35326
35280
  input: {
35327
- json: {
35328
- message: string;
35281
+ query: {
35282
+ path?: string | undefined;
35283
+ raw?: string | undefined;
35329
35284
  };
35330
35285
  } & {
35331
35286
  param: {
35332
35287
  id: string;
35333
35288
  };
35334
35289
  };
35335
- } | {
35290
+ };
35291
+ };
35292
+ } & {
35293
+ "/runs/:id/git/commit": {
35294
+ $post: {
35336
35295
  output: {
35337
- error: string;
35296
+ committed: true;
35297
+ sha: string;
35338
35298
  };
35339
35299
  outputFormat: "json";
35340
- status: 409;
35300
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35341
35301
  input: {
35342
35302
  json: {
35343
35303
  message: string;
@@ -35349,11 +35309,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35349
35309
  };
35350
35310
  } | {
35351
35311
  output: {
35352
- committed: true;
35353
- sha: string;
35312
+ error: string;
35354
35313
  };
35355
35314
  outputFormat: "json";
35356
- status: import("hono/utils/http-status").ContentfulStatusCode;
35315
+ status: 404 | 409;
35357
35316
  input: {
35358
35317
  json: {
35359
35318
  message: string;
@@ -35369,10 +35328,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35369
35328
  "/runs/:id/git/push": {
35370
35329
  $post: {
35371
35330
  output: {
35372
- error: string;
35331
+ pushed: true;
35332
+ branch: string;
35333
+ remote: string;
35334
+ upstreamSet: boolean;
35373
35335
  };
35374
35336
  outputFormat: "json";
35375
- status: 404;
35337
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35376
35338
  input: {
35377
35339
  param: {
35378
35340
  id: string;
@@ -35383,21 +35345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35383
35345
  error: string;
35384
35346
  };
35385
35347
  outputFormat: "json";
35386
- status: 409;
35387
- input: {
35388
- param: {
35389
- id: string;
35390
- };
35391
- };
35392
- } | {
35393
- output: {
35394
- pushed: true;
35395
- branch: string;
35396
- remote: string;
35397
- upstreamSet: boolean;
35398
- };
35399
- outputFormat: "json";
35400
- status: import("hono/utils/http-status").ContentfulStatusCode;
35348
+ status: 404 | 409;
35401
35349
  input: {
35402
35350
  param: {
35403
35351
  id: string;
@@ -35409,10 +35357,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35409
35357
  "/runs/:id/pr": {
35410
35358
  $post: {
35411
35359
  output: {
35412
- error: string;
35360
+ url: string;
35361
+ dryRun: boolean;
35413
35362
  };
35414
35363
  outputFormat: "json";
35415
- status: 404;
35364
+ status: 201;
35416
35365
  input: {
35417
35366
  param: {
35418
35367
  id: string;
@@ -35423,7 +35372,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35423
35372
  error: string;
35424
35373
  };
35425
35374
  outputFormat: "json";
35426
- status: 409;
35375
+ status: 400;
35427
35376
  input: {
35428
35377
  param: {
35429
35378
  id: string;
@@ -35434,7 +35383,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35434
35383
  error: string;
35435
35384
  };
35436
35385
  outputFormat: "json";
35437
- status: 400;
35386
+ status: 404;
35438
35387
  input: {
35439
35388
  param: {
35440
35389
  id: string;
@@ -35442,11 +35391,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35442
35391
  };
35443
35392
  } | {
35444
35393
  output: {
35445
- url: string;
35446
- dryRun: boolean;
35394
+ error: string;
35447
35395
  };
35448
35396
  outputFormat: "json";
35449
- status: 201;
35397
+ status: 409;
35450
35398
  input: {
35451
35399
  param: {
35452
35400
  id: string;
@@ -35498,7 +35446,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35498
35446
  error: string;
35499
35447
  };
35500
35448
  outputFormat: "json";
35501
- status: 409;
35449
+ status: 404;
35502
35450
  input: {
35503
35451
  param: {
35504
35452
  id: string;
@@ -35509,7 +35457,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35509
35457
  error: string;
35510
35458
  };
35511
35459
  outputFormat: "json";
35512
- status: 404;
35460
+ status: 409;
35513
35461
  input: {
35514
35462
  param: {
35515
35463
  id: string;