@wjarka/cezarion 0.17.0-dev.5511 → 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 (57) 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/routes.d.ts +62 -62
  10. package/dist/delegation/transport.d.ts +62 -62
  11. package/dist/jobs/cli.d.ts +2 -0
  12. package/dist/jobs/cli.js +53 -0
  13. package/dist/jobs/cli.js.map +1 -0
  14. package/dist/jobs/command.d.ts +9 -0
  15. package/dist/jobs/command.js +19 -0
  16. package/dist/jobs/command.js.map +1 -0
  17. package/dist/jobs/job.d.ts +77 -0
  18. package/dist/jobs/job.js +252 -0
  19. package/dist/jobs/job.js.map +1 -0
  20. package/dist/server/activity-routes.d.ts +23 -23
  21. package/dist/server/live-routes.d.ts +6 -6
  22. package/dist/server/self-update-routes.d.ts +19 -19
  23. package/dist/server/server.d.ts +1395 -1395
  24. package/dist/subcommands.d.ts +1 -1
  25. package/dist/subcommands.js +2 -1
  26. package/dist/subcommands.js.map +1 -1
  27. package/dist/workflows/run/session-events.d.ts +1 -1
  28. package/dist/workflows/run/session-events.js +3 -2
  29. package/dist/workflows/run/session-events.js.map +1 -1
  30. package/dist/workflows/run/wait-kinds.d.ts +3 -0
  31. package/dist/workflows/run/wait-kinds.js +11 -1
  32. package/dist/workflows/run/wait-kinds.js.map +1 -1
  33. package/package.json +3 -3
  34. package/web/dist/assets/{activity-motion-BHr-ZAZp.js → activity-motion-D-wNjCZO.js} +1 -1
  35. package/web/dist/assets/{activity-route-Bk7-QeK_.js → activity-route-CEhKA6LC.js} +1 -1
  36. package/web/dist/assets/{commit-diff-panel-C9vHxqqQ.js → commit-diff-panel-C5SEnKvj.js} +1 -1
  37. package/web/dist/assets/{diff-gmuErI3F.js → diff-DOKQG121.js} +2 -2
  38. package/web/dist/assets/{diff-view-DigfbKBX.js → diff-view-Dlbaomc6.js} +1 -1
  39. package/web/dist/assets/{git-toolbar-DOUDDTBC.js → git-toolbar-B_lgnDi3.js} +1 -1
  40. package/web/dist/assets/{github-DBcdEsSz.js → github-89EDv5jm.js} +1 -1
  41. package/web/dist/assets/{global-activity-route-CxCecB2W.js → global-activity-route-2SM3xKBA.js} +1 -1
  42. package/web/dist/assets/{index-Cybrk3p9.js → index-DKIv9VPA.js} +3 -3
  43. package/web/dist/assets/{preview-pane-connected-mMMD4IiM.js → preview-pane-connected-B730Jv1e.js} +1 -1
  44. package/web/dist/assets/{repo-git-Dv-6cKAC.js → repo-git-D6gQXbHu.js} +1 -1
  45. package/web/dist/assets/{report-reader-Dtus2Ua4.js → report-reader-DP43jeNM.js} +1 -1
  46. package/web/dist/assets/{reports-DAgEuUbp.js → reports-DV8NzFp3.js} +1 -1
  47. package/web/dist/assets/{run-header-BPaPARge.js → run-header-DjXPrh23.js} +1 -1
  48. package/web/dist/assets/{skills-XYpWQDCm.js → skills-DuZYEbo5.js} +1 -1
  49. package/web/dist/assets/{task-changes-BAQ4Gn66.js → task-changes-CUWFco57.js} +1 -1
  50. package/web/dist/assets/{task-commits-DS7kN8JG.js → task-commits-Cgoxt66y.js} +1 -1
  51. package/web/dist/assets/{task-files-D7YFhWFg.js → task-files-BmTRfJ5K.js} +1 -1
  52. package/web/dist/assets/{task-github-item-bRgH9WkE.js → task-github-item-Cmro8m-6.js} +1 -1
  53. package/web/dist/assets/{task-thread-CuRhXDEj.js → task-thread-BTjoNRed.js} +2 -2
  54. package/web/dist/assets/{thread-state-DDD8tLGN.js → thread-state-Cd3ERj1h.js} +1 -1
  55. package/web/dist/assets/{use-hand-to-agent-state-b8KEA5pM.js → use-hand-to-agent-state-C2rQan6D.js} +1 -1
  56. package/web/dist/assets/{workflows-BdKDN9aF.js → workflows-DemG2-He.js} +1 -1
  57. 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
  } & {
@@ -19286,10 +19286,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19286
19286
  };
19287
19287
  } | {
19288
19288
  output: {
19289
- error: string;
19289
+ type: 'dir';
19290
+ path: string;
19291
+ entries: {
19292
+ name: string;
19293
+ type: 'dir' | 'file';
19294
+ size?: number;
19295
+ }[];
19290
19296
  };
19291
19297
  outputFormat: "json";
19292
- status: 404 | 409;
19298
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19293
19299
  input: {
19294
19300
  query: {
19295
19301
  path?: string | undefined;
@@ -19302,13 +19308,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19302
19308
  };
19303
19309
  } | {
19304
19310
  output: {
19305
- type: 'dir';
19311
+ type: 'file';
19306
19312
  path: string;
19307
- entries: {
19308
- name: string;
19309
- type: 'dir' | 'file';
19310
- size?: number;
19311
- }[];
19313
+ size: number;
19314
+ binary: boolean;
19315
+ tooLarge: boolean;
19316
+ content?: string | undefined;
19312
19317
  };
19313
19318
  outputFormat: "json";
19314
19319
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -19324,15 +19329,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19324
19329
  };
19325
19330
  } | {
19326
19331
  output: {
19327
- type: 'file';
19328
- path: string;
19329
- size: number;
19330
- binary: boolean;
19331
- tooLarge: boolean;
19332
- content?: string | undefined;
19332
+ error: string;
19333
19333
  };
19334
19334
  outputFormat: "json";
19335
- status: import("hono/utils/http-status").ContentfulStatusCode;
19335
+ status: 404 | 409;
19336
19336
  input: {
19337
19337
  query: {
19338
19338
  path?: string | undefined;
@@ -19349,10 +19349,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19349
19349
  "/runs/:id/git/commit": {
19350
19350
  $post: {
19351
19351
  output: {
19352
- error: string;
19352
+ committed: true;
19353
+ sha: string;
19353
19354
  };
19354
19355
  outputFormat: "json";
19355
- status: 404 | 409;
19356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19356
19357
  input: {
19357
19358
  json: {
19358
19359
  message: string;
@@ -19364,11 +19365,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19364
19365
  };
19365
19366
  } | {
19366
19367
  output: {
19367
- committed: true;
19368
- sha: string;
19368
+ error: string;
19369
19369
  };
19370
19370
  outputFormat: "json";
19371
- status: import("hono/utils/http-status").ContentfulStatusCode;
19371
+ status: 404 | 409;
19372
19372
  input: {
19373
19373
  json: {
19374
19374
  message: string;
@@ -19384,10 +19384,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19384
19384
  "/runs/:id/git/push": {
19385
19385
  $post: {
19386
19386
  output: {
19387
- error: string;
19387
+ pushed: true;
19388
+ branch: string;
19389
+ remote: string;
19390
+ upstreamSet: boolean;
19388
19391
  };
19389
19392
  outputFormat: "json";
19390
- status: 404 | 409;
19393
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19391
19394
  input: {
19392
19395
  param: {
19393
19396
  id: string;
@@ -19395,13 +19398,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19395
19398
  };
19396
19399
  } | {
19397
19400
  output: {
19398
- pushed: true;
19399
- branch: string;
19400
- remote: string;
19401
- upstreamSet: boolean;
19401
+ error: string;
19402
19402
  };
19403
19403
  outputFormat: "json";
19404
- status: import("hono/utils/http-status").ContentfulStatusCode;
19404
+ status: 404 | 409;
19405
19405
  input: {
19406
19406
  param: {
19407
19407
  id: string;
@@ -19413,10 +19413,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19413
19413
  "/runs/:id/pr": {
19414
19414
  $post: {
19415
19415
  output: {
19416
- error: string;
19416
+ url: string;
19417
+ dryRun: boolean;
19417
19418
  };
19418
19419
  outputFormat: "json";
19419
- status: 404;
19420
+ status: 201;
19420
19421
  input: {
19421
19422
  param: {
19422
19423
  id: string;
@@ -19427,7 +19428,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19427
19428
  error: string;
19428
19429
  };
19429
19430
  outputFormat: "json";
19430
- status: 409;
19431
+ status: 400;
19431
19432
  input: {
19432
19433
  param: {
19433
19434
  id: string;
@@ -19438,7 +19439,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19438
19439
  error: string;
19439
19440
  };
19440
19441
  outputFormat: "json";
19441
- status: 400;
19442
+ status: 404;
19442
19443
  input: {
19443
19444
  param: {
19444
19445
  id: string;
@@ -19446,11 +19447,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19446
19447
  };
19447
19448
  } | {
19448
19449
  output: {
19449
- url: string;
19450
- dryRun: boolean;
19450
+ error: string;
19451
19451
  };
19452
19452
  outputFormat: "json";
19453
- status: 201;
19453
+ status: 409;
19454
19454
  input: {
19455
19455
  param: {
19456
19456
  id: string;
@@ -19502,7 +19502,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19502
19502
  error: string;
19503
19503
  };
19504
19504
  outputFormat: "json";
19505
- status: 409;
19505
+ status: 404;
19506
19506
  input: {
19507
19507
  param: {
19508
19508
  id: string;
@@ -19513,7 +19513,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19513
19513
  error: string;
19514
19514
  };
19515
19515
  outputFormat: "json";
19516
- status: 404;
19516
+ status: 409;
19517
19517
  input: {
19518
19518
  param: {
19519
19519
  id: string;
@@ -19788,7 +19788,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19788
19788
  error: string;
19789
19789
  };
19790
19790
  outputFormat: "json";
19791
- status: 409;
19791
+ status: 400;
19792
19792
  input: {
19793
19793
  json: {
19794
19794
  target: string;
@@ -19799,7 +19799,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19799
19799
  error: string;
19800
19800
  };
19801
19801
  outputFormat: "json";
19802
- status: 400;
19802
+ status: 409;
19803
19803
  input: {
19804
19804
  json: {
19805
19805
  target: string;
@@ -19822,9 +19822,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19822
19822
  }, "/"> | import("hono/types").MergeSchemaPath<{
19823
19823
  "/runs/:id/events": {
19824
19824
  $get: {
19825
- output: {};
19826
- outputFormat: string;
19827
- status: import("hono/utils/http-status").StatusCode;
19825
+ output: {
19826
+ error: string;
19827
+ code?: "invalid_input" | undefined;
19828
+ };
19829
+ outputFormat: "json";
19830
+ status: 400;
19828
19831
  input: {
19829
19832
  param: {
19830
19833
  id: string;
@@ -19836,12 +19839,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19836
19839
  };
19837
19840
  };
19838
19841
  } | {
19839
- output: {
19840
- error: string;
19841
- code?: "invalid_input" | undefined;
19842
- };
19843
- outputFormat: "json";
19844
- status: 400;
19842
+ output: {};
19843
+ outputFormat: string;
19844
+ status: import("hono/utils/http-status").StatusCode;
19845
19845
  input: {
19846
19846
  param: {
19847
19847
  id: string;
@@ -19902,34 +19902,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19902
19902
  "/config": {
19903
19903
  $put: {
19904
19904
  output: {
19905
- archiveOnMerge: boolean | null;
19906
- effectiveArchiveOnMerge: boolean;
19907
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19908
- baseBranch: string | null;
19909
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
19910
- systemPrompt: string | null;
19911
- defaultModels: {
19912
- claude?: string | undefined;
19913
- codex?: string | undefined;
19914
- opencode?: string | undefined;
19915
- pi?: string | undefined;
19916
- cursor?: string | undefined;
19917
- omp?: string | undefined;
19918
- };
19919
- modelsLocked: boolean;
19920
- maxParallel: number;
19921
- memoryLimitMb: number | null;
19922
- worktreeRetention: number;
19923
- liveTitleUpdates: boolean | null;
19924
- reviewGate: boolean | null;
19925
- worktreeSetup: {
19926
- commands: string[];
19927
- timeoutSeconds: number;
19928
- } | null;
19929
- worktreeSetupIssue: string | null;
19905
+ error: string;
19930
19906
  };
19931
19907
  outputFormat: "json";
19932
- status: import("hono/utils/http-status").ContentfulStatusCode;
19908
+ status: 409;
19933
19909
  input: {
19934
19910
  json: {
19935
19911
  archiveOnMerge?: boolean | null | undefined;
@@ -19960,7 +19936,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19960
19936
  error: string;
19961
19937
  };
19962
19938
  outputFormat: "json";
19963
- status: 409;
19939
+ status: 500;
19964
19940
  input: {
19965
19941
  json: {
19966
19942
  archiveOnMerge?: boolean | null | undefined;
@@ -19988,10 +19964,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19988
19964
  };
19989
19965
  } | {
19990
19966
  output: {
19991
- 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;
19992
19992
  };
19993
19993
  outputFormat: "json";
19994
- status: 500;
19994
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19995
19995
  input: {
19996
19996
  json: {
19997
19997
  archiveOnMerge?: boolean | null | undefined;
@@ -20022,25 +20022,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20022
20022
  }, "/"> | import("hono/types").MergeSchemaPath<{
20023
20023
  "/voice/decide": {
20024
20024
  $post: {
20025
- output: {
20026
- error: string;
20027
- };
20028
- outputFormat: "json";
20029
- status: 503;
20030
- input: {
20031
- json: {
20032
- text: string;
20033
- sidebarView: "active" | "automations";
20034
- openRunId?: string | undefined;
20035
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
20036
- askRequestId?: string | null | undefined;
20037
- proposal?: {
20038
- decisionId: string;
20039
- action: "answer" | "tell";
20040
- } | undefined;
20041
- };
20042
- };
20043
- } | {
20044
20025
  output: {
20045
20026
  action: "open";
20046
20027
  decisionId: string;
@@ -20098,6 +20079,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20098
20079
  } | undefined;
20099
20080
  };
20100
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
+ };
20101
20101
  };
20102
20102
  };
20103
20103
  } & {
@@ -20240,7 +20240,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20240
20240
  error: string;
20241
20241
  };
20242
20242
  outputFormat: "json";
20243
- status: 409;
20243
+ status: 400;
20244
20244
  input: {
20245
20245
  query: {
20246
20246
  q?: string | undefined;
@@ -20253,7 +20253,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20253
20253
  error: string;
20254
20254
  };
20255
20255
  outputFormat: "json";
20256
- status: 400;
20256
+ status: 409;
20257
20257
  input: {
20258
20258
  query: {
20259
20259
  q?: string | undefined;
@@ -20290,6 +20290,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20290
20290
  }, "/"> | import("hono/types").MergeSchemaPath<{
20291
20291
  "/skills": {
20292
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
+ } | {
20293
20305
  output: {
20294
20306
  name: string;
20295
20307
  description?: string | undefined;
@@ -20312,7 +20324,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20312
20324
  wait?: string | undefined;
20313
20325
  };
20314
20326
  };
20315
- } | {
20327
+ };
20328
+ };
20329
+ } & {
20330
+ "/skills/importable": {
20331
+ $get: {
20316
20332
  output: {
20317
20333
  error: string;
20318
20334
  code?: "invalid_input" | undefined;
@@ -20324,11 +20340,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20324
20340
  wait?: string | undefined;
20325
20341
  };
20326
20342
  };
20327
- };
20328
- };
20329
- } & {
20330
- "/skills/importable": {
20331
- $get: {
20343
+ } | {
20332
20344
  output: {
20333
20345
  name: string;
20334
20346
  description?: string | undefined;
@@ -20351,18 +20363,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20351
20363
  wait?: string | undefined;
20352
20364
  };
20353
20365
  };
20354
- } | {
20355
- output: {
20356
- error: string;
20357
- code?: "invalid_input" | undefined;
20358
- };
20359
- outputFormat: "json";
20360
- status: 400;
20361
- input: {
20362
- query: {
20363
- wait?: string | undefined;
20364
- };
20365
- };
20366
20366
  };
20367
20367
  };
20368
20368
  } & {
@@ -20563,14 +20563,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20563
20563
  "/agent-config/:id": {
20564
20564
  $put: {
20565
20565
  output: {
20566
- id: string;
20567
- path: string;
20568
- exists: boolean;
20569
- content: string;
20570
- version: string | null;
20566
+ error: string;
20571
20567
  };
20572
20568
  outputFormat: "json";
20573
- status: import("hono/utils/http-status").ContentfulStatusCode;
20569
+ status: 404;
20574
20570
  input: {
20575
20571
  json: {
20576
20572
  content: string;
@@ -20583,10 +20579,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20583
20579
  };
20584
20580
  } | {
20585
20581
  output: {
20586
- error: string;
20582
+ id: string;
20583
+ path: string;
20584
+ exists: boolean;
20585
+ content: string;
20586
+ version: string | null;
20587
20587
  };
20588
20588
  outputFormat: "json";
20589
- status: 404;
20589
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20590
20590
  input: {
20591
20591
  json: {
20592
20592
  content: string;
@@ -20657,10 +20657,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20657
20657
  "/workflows": {
20658
20658
  $post: {
20659
20659
  output: {
20660
- error: string;
20660
+ path: string;
20661
+ name: string;
20661
20662
  };
20662
20663
  outputFormat: "json";
20663
- status: 400;
20664
+ status: 201;
20664
20665
  input: {
20665
20666
  json: {
20666
20667
  name: string;
@@ -20690,10 +20691,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20690
20691
  } | {
20691
20692
  output: {
20692
20693
  error: string;
20693
- exists: true;
20694
20694
  };
20695
20695
  outputFormat: "json";
20696
- status: 409;
20696
+ status: 400;
20697
20697
  input: {
20698
20698
  json: {
20699
20699
  name: string;
@@ -20723,9 +20723,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20723
20723
  } | {
20724
20724
  output: {
20725
20725
  error: string;
20726
+ exists: true;
20726
20727
  };
20727
20728
  outputFormat: "json";
20728
- status: 500;
20729
+ status: 409;
20729
20730
  input: {
20730
20731
  json: {
20731
20732
  name: string;
@@ -20754,11 +20755,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20754
20755
  };
20755
20756
  } | {
20756
20757
  output: {
20757
- path: string;
20758
- name: string;
20758
+ error: string;
20759
20759
  };
20760
20760
  outputFormat: "json";
20761
- status: 201;
20761
+ status: 500;
20762
20762
  input: {
20763
20763
  json: {
20764
20764
  name: string;
@@ -20791,10 +20791,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20791
20791
  "/workflows/:name": {
20792
20792
  $delete: {
20793
20793
  output: {
20794
- error: string;
20794
+ ok: true;
20795
+ path: string;
20795
20796
  };
20796
20797
  outputFormat: "json";
20797
- status: 400 | 404 | 409 | 500;
20798
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20798
20799
  input: {
20799
20800
  param: {
20800
20801
  name: string;
@@ -20802,11 +20803,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20802
20803
  };
20803
20804
  } | {
20804
20805
  output: {
20805
- ok: true;
20806
- path: string;
20806
+ error: string;
20807
20807
  };
20808
20808
  outputFormat: "json";
20809
- status: import("hono/utils/http-status").ContentfulStatusCode;
20809
+ status: 400 | 404 | 409 | 500;
20810
20810
  input: {
20811
20811
  param: {
20812
20812
  name: string;
@@ -21196,14 +21196,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21196
21196
  "/repo/branches/delete": {
21197
21197
  $post: {
21198
21198
  output: {
21199
- error: string;
21199
+ deleted: string[];
21200
21200
  refused: {
21201
21201
  name: string;
21202
21202
  reason: string;
21203
21203
  }[];
21204
+ dropped?: {
21205
+ sha: string;
21206
+ subject: string;
21207
+ }[] | undefined;
21204
21208
  };
21205
21209
  outputFormat: "json";
21206
- status: 409;
21210
+ status: 200;
21207
21211
  input: {
21208
21212
  json: {
21209
21213
  names: string[];
@@ -21212,18 +21216,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21212
21216
  };
21213
21217
  } | {
21214
21218
  output: {
21215
- deleted: string[];
21219
+ error: string;
21216
21220
  refused: {
21217
21221
  name: string;
21218
21222
  reason: string;
21219
21223
  }[];
21220
- dropped?: {
21221
- sha: string;
21222
- subject: string;
21223
- }[] | undefined;
21224
21224
  };
21225
21225
  outputFormat: "json";
21226
- status: 200;
21226
+ status: 409;
21227
21227
  input: {
21228
21228
  json: {
21229
21229
  names: string[];
@@ -21244,9 +21244,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21244
21244
  } & {
21245
21245
  "/repo/commit/:sha": {
21246
21246
  $get: {
21247
- output: string;
21248
- outputFormat: "text";
21249
- status: import("hono/utils/http-status").ContentfulStatusCode;
21247
+ output: {
21248
+ error: string;
21249
+ code?: "invalid_input" | undefined;
21250
+ };
21251
+ outputFormat: "json";
21252
+ status: 400;
21250
21253
  input: {
21251
21254
  query: {
21252
21255
  structured?: string | undefined;
@@ -21259,10 +21262,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21259
21262
  } | {
21260
21263
  output: {
21261
21264
  error: string;
21262
- code?: "invalid_input" | undefined;
21263
21265
  };
21264
21266
  outputFormat: "json";
21265
- status: 400;
21267
+ status: 409;
21266
21268
  input: {
21267
21269
  query: {
21268
21270
  structured?: string | undefined;
@@ -21306,11 +21308,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21306
21308
  };
21307
21309
  };
21308
21310
  } | {
21309
- output: {
21310
- error: string;
21311
- };
21312
- outputFormat: "json";
21313
- status: 409;
21311
+ output: string;
21312
+ outputFormat: "text";
21313
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21314
21314
  input: {
21315
21315
  query: {
21316
21316
  structured?: string | undefined;
@@ -21325,6 +21325,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21325
21325
  } & {
21326
21326
  "/repo/changes": {
21327
21327
  $get: {
21328
+ output: {
21329
+ error: string;
21330
+ };
21331
+ outputFormat: "json";
21332
+ status: 409;
21333
+ input: {};
21334
+ } | {
21328
21335
  output: {
21329
21336
  files: {
21330
21337
  path: string;
@@ -21349,13 +21356,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21349
21356
  outputFormat: "json";
21350
21357
  status: import("hono/utils/http-status").ContentfulStatusCode;
21351
21358
  input: {};
21352
- } | {
21353
- output: {
21354
- error: string;
21355
- };
21356
- outputFormat: "json";
21357
- status: 409;
21358
- input: {};
21359
21359
  };
21360
21360
  };
21361
21361
  } & {
@@ -21380,10 +21380,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21380
21380
  "/repo/pull": {
21381
21381
  $post: {
21382
21382
  output: {
21383
- error: string;
21383
+ branch: string;
21384
+ pulled: true;
21385
+ summary: string;
21384
21386
  };
21385
21387
  outputFormat: "json";
21386
- status: 409;
21388
+ status: 200;
21387
21389
  input: {
21388
21390
  json: {
21389
21391
  branch?: string | undefined;
@@ -21392,12 +21394,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21392
21394
  };
21393
21395
  } | {
21394
21396
  output: {
21395
- branch: string;
21396
- pulled: true;
21397
- summary: string;
21397
+ error: string;
21398
21398
  };
21399
21399
  outputFormat: "json";
21400
- status: 200;
21400
+ status: 409;
21401
21401
  input: {
21402
21402
  json: {
21403
21403
  branch?: string | undefined;
@@ -22348,80 +22348,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22348
22348
  } & {
22349
22349
  "/automations": {
22350
22350
  $post: {
22351
- output: {
22352
- error: string;
22353
- };
22354
- outputFormat: "json";
22355
- status: 400 | 404 | 409;
22356
- input: {
22357
- json: {
22358
- name: string;
22359
- description?: string | undefined;
22360
- enabled?: boolean | undefined;
22361
- kind?: "github" | "schedule" | undefined;
22362
- events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22363
- intervalSeconds?: number | undefined;
22364
- filters?: {
22365
- [x: string]: unknown;
22366
- includeExisting?: boolean | undefined;
22367
- requireCurrentLabels?: boolean | undefined;
22368
- authors?: string[] | undefined;
22369
- assignees?: string[] | undefined;
22370
- allLabels?: string[] | undefined;
22371
- anyLabels?: string[] | undefined;
22372
- excludeLabels?: string[] | undefined;
22373
- changedLabels?: string[] | undefined;
22374
- lookbackDays?: number | undefined;
22375
- maxRecords?: number | undefined;
22376
- } | undefined;
22377
- schedule?: {
22378
- type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22379
- hour?: number | undefined;
22380
- minute?: number | undefined;
22381
- day?: number | undefined;
22382
- every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
22383
- at?: string | undefined;
22384
- timeZone?: string | undefined;
22385
- latestStartMinutes?: number | undefined;
22386
- } | undefined;
22387
- task: {
22388
- [x: string]: unknown;
22389
- archiveWhenDone?: boolean | undefined;
22390
- autoMergePr?: boolean | undefined;
22391
- allowWorkers?: boolean | undefined;
22392
- allowMessaging?: boolean | undefined;
22393
- prompt: string;
22394
- workflow?: string | undefined;
22395
- steps?: {
22396
- id: string;
22397
- name?: string | undefined;
22398
- prompt?: string | undefined;
22399
- skill?: string | undefined;
22400
- model?: string | undefined;
22401
- effort?: string | undefined;
22402
- timeoutMs?: number | undefined;
22403
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22404
- agentProfile?: string | undefined;
22405
- allowedTools?: string[] | undefined;
22406
- bashAllowlist?: string[] | undefined;
22407
- command?: string | undefined;
22408
- onFail?: {
22409
- retry: string;
22410
- max?: number | undefined;
22411
- } | undefined;
22412
- }[] | undefined;
22413
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22414
- model?: string | undefined;
22415
- effort?: string | undefined;
22416
- worktree?: boolean | undefined;
22417
- autonomous?: boolean | undefined;
22418
- systemPrompt?: string | undefined;
22419
- variants?: 1 | undefined;
22420
- };
22421
- enable?: boolean | undefined;
22422
- };
22423
- };
22424
- } | {
22425
22351
  output: {
22426
22352
  automation: {
22427
22353
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22579,22 +22505,85 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22579
22505
  enable?: boolean | undefined;
22580
22506
  };
22581
22507
  };
22582
- };
22583
- };
22584
- } & {
22585
- "/automations/:id": {
22586
- $get: {
22508
+ } | {
22587
22509
  output: {
22588
22510
  error: string;
22589
22511
  };
22590
22512
  outputFormat: "json";
22591
22513
  status: 400 | 404 | 409;
22592
22514
  input: {
22593
- param: {
22594
- 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;
22595
22580
  };
22596
22581
  };
22597
- } | {
22582
+ };
22583
+ };
22584
+ } & {
22585
+ "/automations/:id": {
22586
+ $get: {
22598
22587
  output: {
22599
22588
  automation: {
22600
22589
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22750,26 +22739,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22750
22739
  id: string;
22751
22740
  };
22752
22741
  };
22753
- };
22754
- };
22755
- } & {
22756
- "/automations/:id": {
22757
- $put: {
22742
+ } | {
22758
22743
  output: {
22759
22744
  error: string;
22760
22745
  };
22761
22746
  outputFormat: "json";
22762
22747
  status: 400 | 404 | 409;
22763
22748
  input: {
22764
- 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;
22765
22763
  name: string;
22766
22764
  description?: string | undefined;
22767
- enabled?: boolean | undefined;
22768
- kind?: "github" | "schedule" | undefined;
22765
+ enabled: boolean;
22766
+ kind: "github" | "schedule";
22769
22767
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22770
22768
  intervalSeconds?: number | undefined;
22771
22769
  filters?: {
22772
- [x: string]: unknown;
22770
+ [x: string]: import("hono/utils/types").JSONValue;
22773
22771
  includeExisting?: boolean | undefined;
22774
22772
  requireCurrentLabels?: boolean | undefined;
22775
22773
  authors?: string[] | undefined;
@@ -22778,10 +22776,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22778
22776
  anyLabels?: string[] | undefined;
22779
22777
  excludeLabels?: string[] | undefined;
22780
22778
  changedLabels?: string[] | undefined;
22781
- lookbackDays?: number | undefined;
22782
- maxRecords?: number | undefined;
22779
+ lookbackDays: number;
22780
+ maxRecords: number;
22783
22781
  } | undefined;
22784
22782
  schedule?: {
22783
+ [x: string]: import("hono/utils/types").JSONValue;
22785
22784
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22786
22785
  hour?: number | undefined;
22787
22786
  minute?: number | undefined;
@@ -22792,7 +22791,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22792
22791
  latestStartMinutes?: number | undefined;
22793
22792
  } | undefined;
22794
22793
  task: {
22795
- [x: string]: unknown;
22794
+ [x: string]: import("hono/utils/types").JSONValue;
22796
22795
  archiveWhenDone?: boolean | undefined;
22797
22796
  autoMergePr?: boolean | undefined;
22798
22797
  allowWorkers?: boolean | undefined;
@@ -22814,38 +22813,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22814
22813
  command?: string | undefined;
22815
22814
  onFail?: {
22816
22815
  retry: string;
22817
- max?: number | undefined;
22816
+ max: number;
22818
22817
  } | undefined;
22819
22818
  }[] | undefined;
22820
22819
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22821
22820
  model?: string | undefined;
22822
22821
  effort?: string | undefined;
22822
+ variants?: 1 | 2 | 3 | undefined;
22823
22823
  worktree?: boolean | undefined;
22824
22824
  autonomous?: boolean | undefined;
22825
22825
  systemPrompt?: string | undefined;
22826
- variants?: 1 | undefined;
22827
22826
  };
22828
- expectedRevision: number;
22829
- };
22830
- } & {
22831
- param: {
22832
- 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;
22833
22837
  };
22834
22838
  };
22835
- } | {
22836
- output: {
22837
- automation: {
22838
- [x: string]: import("hono/utils/types").JSONValue;
22839
- id: string;
22840
- revision: number;
22839
+ outputFormat: "json";
22840
+ status: import("hono/utils/http-status").ContentfulStatusCode;
22841
+ input: {
22842
+ json: {
22841
22843
  name: string;
22842
22844
  description?: string | undefined;
22843
- enabled: boolean;
22844
- kind: "github" | "schedule";
22845
+ enabled?: boolean | undefined;
22846
+ kind?: "github" | "schedule" | undefined;
22845
22847
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22846
22848
  intervalSeconds?: number | undefined;
22847
22849
  filters?: {
22848
- [x: string]: import("hono/utils/types").JSONValue;
22850
+ [x: string]: unknown;
22849
22851
  includeExisting?: boolean | undefined;
22850
22852
  requireCurrentLabels?: boolean | undefined;
22851
22853
  authors?: string[] | undefined;
@@ -22854,11 +22856,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22854
22856
  anyLabels?: string[] | undefined;
22855
22857
  excludeLabels?: string[] | undefined;
22856
22858
  changedLabels?: string[] | undefined;
22857
- lookbackDays: number;
22858
- maxRecords: number;
22859
+ lookbackDays?: number | undefined;
22860
+ maxRecords?: number | undefined;
22859
22861
  } | undefined;
22860
22862
  schedule?: {
22861
- [x: string]: import("hono/utils/types").JSONValue;
22862
22863
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22863
22864
  hour?: number | undefined;
22864
22865
  minute?: number | undefined;
@@ -22869,7 +22870,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22869
22870
  latestStartMinutes?: number | undefined;
22870
22871
  } | undefined;
22871
22872
  task: {
22872
- [x: string]: import("hono/utils/types").JSONValue;
22873
+ [x: string]: unknown;
22873
22874
  archiveWhenDone?: boolean | undefined;
22874
22875
  autoMergePr?: boolean | undefined;
22875
22876
  allowWorkers?: boolean | undefined;
@@ -22891,31 +22892,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22891
22892
  command?: string | undefined;
22892
22893
  onFail?: {
22893
22894
  retry: string;
22894
- max: number;
22895
+ max?: number | undefined;
22895
22896
  } | undefined;
22896
22897
  }[] | undefined;
22897
22898
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22898
22899
  model?: string | undefined;
22899
22900
  effort?: string | undefined;
22900
- variants?: 1 | 2 | 3 | undefined;
22901
22901
  worktree?: boolean | undefined;
22902
22902
  autonomous?: boolean | undefined;
22903
22903
  systemPrompt?: string | undefined;
22904
+ variants?: 1 | undefined;
22904
22905
  };
22905
- archived?: {
22906
- [x: string]: import("hono/utils/types").JSONValue;
22907
- at: string;
22908
- outcome: "cancelled" | "launched";
22909
- runId?: string | undefined;
22910
- receiptId?: string | undefined;
22911
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22912
- } | undefined;
22913
- createdAt: string;
22914
- updatedAt: string;
22906
+ expectedRevision: number;
22907
+ };
22908
+ } & {
22909
+ param: {
22910
+ id: string;
22915
22911
  };
22916
22912
  };
22913
+ } | {
22914
+ output: {
22915
+ error: string;
22916
+ };
22917
22917
  outputFormat: "json";
22918
- status: import("hono/utils/http-status").ContentfulStatusCode;
22918
+ status: 400 | 404 | 409;
22919
22919
  input: {
22920
22920
  json: {
22921
22921
  name: string;
@@ -23017,17 +23017,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23017
23017
  } & {
23018
23018
  "/automations/:id/enable": {
23019
23019
  $post: {
23020
- output: {
23021
- error: string;
23022
- };
23023
- outputFormat: "json";
23024
- status: 400 | 404 | 409;
23025
- input: {
23026
- param: {
23027
- id: string;
23028
- };
23029
- };
23030
- } | {
23031
23020
  output: {
23032
23021
  automation: {
23033
23022
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23116,11 +23105,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23116
23105
  id: string;
23117
23106
  };
23118
23107
  };
23119
- };
23120
- };
23121
- } & {
23122
- "/automations/:id/pause": {
23123
- $post: {
23108
+ } | {
23124
23109
  output: {
23125
23110
  error: string;
23126
23111
  };
@@ -23131,7 +23116,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23131
23116
  id: string;
23132
23117
  };
23133
23118
  };
23134
- } | {
23119
+ };
23120
+ };
23121
+ } & {
23122
+ "/automations/:id/pause": {
23123
+ $post: {
23135
23124
  output: {
23136
23125
  automation: {
23137
23126
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23220,11 +23209,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23220
23209
  id: string;
23221
23210
  };
23222
23211
  };
23223
- };
23224
- };
23225
- } & {
23226
- "/automations/:id/cancel": {
23227
- $post: {
23212
+ } | {
23228
23213
  output: {
23229
23214
  error: string;
23230
23215
  };
@@ -23235,7 +23220,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23235
23220
  id: string;
23236
23221
  };
23237
23222
  };
23238
- } | {
23223
+ };
23224
+ };
23225
+ } & {
23226
+ "/automations/:id/cancel": {
23227
+ $post: {
23239
23228
  output: {
23240
23229
  automation: {
23241
23230
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23324,16 +23313,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23324
23313
  id: string;
23325
23314
  };
23326
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
+ };
23327
23327
  };
23328
23328
  };
23329
23329
  } & {
23330
23330
  "/automations/:id/run": {
23331
23331
  $post: {
23332
23332
  output: {
23333
- error: string;
23333
+ runId: string;
23334
23334
  };
23335
23335
  outputFormat: "json";
23336
- status: 400 | 404 | 409;
23336
+ status: 202;
23337
23337
  input: {
23338
23338
  param: {
23339
23339
  id: string;
@@ -23341,10 +23341,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23341
23341
  };
23342
23342
  } | {
23343
23343
  output: {
23344
- runId: string;
23344
+ error: string;
23345
23345
  };
23346
23346
  outputFormat: "json";
23347
- status: 202;
23347
+ status: 400 | 404 | 409;
23348
23348
  input: {
23349
23349
  param: {
23350
23350
  id: string;
@@ -23356,10 +23356,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23356
23356
  "/automations/:id/check": {
23357
23357
  $post: {
23358
23358
  output: {
23359
- error: string;
23359
+ checkId: string;
23360
23360
  };
23361
23361
  outputFormat: "json";
23362
- status: 404;
23362
+ status: 202;
23363
23363
  input: {
23364
23364
  json: {
23365
23365
  mode: "execute" | "preview";
@@ -23374,7 +23374,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23374
23374
  error: string;
23375
23375
  };
23376
23376
  outputFormat: "json";
23377
- status: 409;
23377
+ status: 404;
23378
23378
  input: {
23379
23379
  json: {
23380
23380
  mode: "execute" | "preview";
@@ -23386,10 +23386,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23386
23386
  };
23387
23387
  } | {
23388
23388
  output: {
23389
- checkId: string;
23389
+ error: string;
23390
23390
  };
23391
23391
  outputFormat: "json";
23392
- status: 202;
23392
+ status: 409;
23393
23393
  input: {
23394
23394
  json: {
23395
23395
  mode: "execute" | "preview";
@@ -24561,6 +24561,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24561
24561
  } & {
24562
24562
  "/run-summaries": {
24563
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
+ } | {
24564
24576
  output: {
24565
24577
  id: string;
24566
24578
  title: string;
@@ -24685,18 +24697,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24685
24697
  archived?: "all" | "recent" | undefined;
24686
24698
  };
24687
24699
  };
24688
- } | {
24689
- output: {
24690
- error: string;
24691
- code?: "invalid_input" | undefined;
24692
- };
24693
- outputFormat: "json";
24694
- status: 400;
24695
- input: {
24696
- query: {
24697
- archived?: "all" | "recent" | undefined;
24698
- };
24699
- };
24700
24700
  };
24701
24701
  };
24702
24702
  } & {
@@ -25023,22 +25023,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25023
25023
  "/runs/:id/worker-destroy": {
25024
25024
  $post: {
25025
25025
  output: {
25026
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
25027
- readonly error: string;
25028
- readonly modelChoices?: {
25029
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
25030
- requestedModel: string;
25031
- availableModels: {
25032
- id: string;
25033
- label: string;
25034
- description: string;
25035
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
25036
- }[];
25037
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
25038
- } | 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;
25039
25037
  };
25040
25038
  outputFormat: "json";
25041
- status: 400 | 401 | 403 | 409 | 503;
25039
+ status: 200;
25042
25040
  input: {
25043
25041
  query: {
25044
25042
  [x: string]: string | string[];
@@ -25083,7 +25081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25083
25081
  error?: string | undefined;
25084
25082
  };
25085
25083
  outputFormat: "json";
25086
- status: 200;
25084
+ status: 409;
25087
25085
  input: {
25088
25086
  query: {
25089
25087
  [x: string]: string | string[];
@@ -25097,20 +25095,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25097
25095
  };
25098
25096
  } | {
25099
25097
  output: {
25100
- workerId: string;
25101
- state: "complete" | "incomplete";
25102
- deleted?: ({
25103
- kind: "worktree";
25104
- path: string;
25105
- } | {
25106
- kind: "branch";
25107
- ref: string;
25108
- })[] | undefined;
25109
- remaining: ("branch" | "process" | "worktree")[];
25110
- 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;
25111
25111
  };
25112
25112
  outputFormat: "json";
25113
- status: 409;
25113
+ status: 400 | 401 | 403 | 409 | 503;
25114
25114
  input: {
25115
25115
  query: {
25116
25116
  [x: string]: string | string[];
@@ -25160,6 +25160,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25160
25160
  } & {
25161
25161
  "/runs/:id/archive": {
25162
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
+ } | {
25163
25178
  output: {
25164
25179
  archiveWhenDone?: boolean | undefined;
25165
25180
  autoMergePr?: boolean | undefined;
@@ -26217,32 +26232,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26217
26232
  id: string;
26218
26233
  };
26219
26234
  };
26220
- } | {
26235
+ };
26236
+ };
26237
+ } & {
26238
+ "/runs/:id/pin": {
26239
+ $post: {
26221
26240
  output: {
26222
26241
  error: string;
26242
+ code?: "invalid_input" | undefined;
26223
26243
  };
26224
26244
  outputFormat: "json";
26225
- status: 404;
26245
+ status: 400;
26226
26246
  input: {
26227
- json: {
26228
- archived?: boolean | undefined;
26229
- };
26230
- } & {
26231
26247
  param: {
26232
26248
  id: string;
26233
26249
  };
26250
+ } & {
26251
+ json: {
26252
+ pinned?: boolean | undefined;
26253
+ };
26234
26254
  };
26235
- };
26236
- };
26237
- } & {
26238
- "/runs/:id/pin": {
26239
- $post: {
26255
+ } | {
26240
26256
  output: {
26241
26257
  error: string;
26242
- code?: "invalid_input" | undefined;
26243
26258
  };
26244
26259
  outputFormat: "json";
26245
- status: 400;
26260
+ status: 404;
26246
26261
  input: {
26247
26262
  param: {
26248
26263
  id: string;
@@ -27310,29 +27325,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27310
27325
  pinned?: boolean | undefined;
27311
27326
  };
27312
27327
  };
27313
- } | {
27328
+ };
27329
+ };
27330
+ } & {
27331
+ "/runs/:id/notify": {
27332
+ $post: {
27314
27333
  output: {
27315
27334
  error: string;
27335
+ code?: "invalid_input" | undefined;
27316
27336
  };
27317
27337
  outputFormat: "json";
27318
- status: 404;
27338
+ status: 400;
27319
27339
  input: {
27320
27340
  param: {
27321
27341
  id: string;
27322
27342
  };
27323
27343
  } & {
27324
27344
  json: {
27325
- pinned?: boolean | undefined;
27345
+ notify: boolean;
27346
+ message?: string | undefined;
27326
27347
  };
27327
27348
  };
27328
- };
27329
- };
27330
- } & {
27331
- "/runs/:id/notify": {
27332
- $post: {
27349
+ } | {
27333
27350
  output: {
27334
27351
  error: string;
27335
- code?: "invalid_input" | undefined;
27336
27352
  };
27337
27353
  outputFormat: "json";
27338
27354
  status: 400;
@@ -27346,6 +27362,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27346
27362
  message?: string | undefined;
27347
27363
  };
27348
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
+ };
27349
27381
  } | {
27350
27382
  output: {
27351
27383
  archiveWhenDone?: boolean | undefined;
@@ -28405,7 +28437,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28405
28437
  message?: string | undefined;
28406
28438
  };
28407
28439
  };
28408
- } | {
28440
+ };
28441
+ };
28442
+ } & {
28443
+ "/runs/:id/auto-resume": {
28444
+ $delete: {
28409
28445
  output: {
28410
28446
  error: string;
28411
28447
  };
@@ -28415,33 +28451,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28415
28451
  param: {
28416
28452
  id: string;
28417
28453
  };
28418
- } & {
28419
- json: {
28420
- notify: boolean;
28421
- message?: string | undefined;
28422
- };
28423
28454
  };
28424
28455
  } | {
28425
28456
  output: {
28426
- error: string;
28457
+ cancelled: true;
28427
28458
  };
28428
28459
  outputFormat: "json";
28429
- status: 400;
28460
+ status: import("hono/utils/http-status").ContentfulStatusCode;
28430
28461
  input: {
28431
28462
  param: {
28432
28463
  id: string;
28433
28464
  };
28434
- } & {
28435
- json: {
28436
- notify: boolean;
28437
- message?: string | undefined;
28438
- };
28439
28465
  };
28440
28466
  };
28441
28467
  };
28442
28468
  } & {
28443
- "/runs/:id/auto-resume": {
28444
- $delete: {
28469
+ "/runs/:id/read": {
28470
+ $post: {
28445
28471
  output: {
28446
28472
  error: string;
28447
28473
  };
@@ -28453,21 +28479,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28453
28479
  };
28454
28480
  };
28455
28481
  } | {
28456
- output: {
28457
- cancelled: true;
28458
- };
28459
- outputFormat: "json";
28460
- status: import("hono/utils/http-status").ContentfulStatusCode;
28461
- input: {
28462
- param: {
28463
- id: string;
28464
- };
28465
- };
28466
- };
28467
- };
28468
- } & {
28469
- "/runs/:id/read": {
28470
- $post: {
28471
28482
  output: {
28472
28483
  archiveWhenDone?: boolean | undefined;
28473
28484
  autoMergePr?: boolean | undefined;
@@ -29521,7 +29532,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29521
29532
  id: string;
29522
29533
  };
29523
29534
  };
29524
- } | {
29535
+ };
29536
+ };
29537
+ } & {
29538
+ "/runs/:id/unread": {
29539
+ $post: {
29525
29540
  output: {
29526
29541
  error: string;
29527
29542
  };
@@ -29532,11 +29547,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29532
29547
  id: string;
29533
29548
  };
29534
29549
  };
29535
- };
29536
- };
29537
- } & {
29538
- "/runs/:id/unread": {
29539
- $post: {
29550
+ } | {
29540
29551
  output: {
29541
29552
  archiveWhenDone?: boolean | undefined;
29542
29553
  autoMergePr?: boolean | undefined;
@@ -30590,17 +30601,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30590
30601
  id: string;
30591
30602
  };
30592
30603
  };
30593
- } | {
30594
- output: {
30595
- error: string;
30596
- };
30597
- outputFormat: "json";
30598
- status: 404;
30599
- input: {
30600
- param: {
30601
- id: string;
30602
- };
30603
- };
30604
30604
  };
30605
30605
  };
30606
30606
  } & {
@@ -31749,6 +31749,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31749
31749
  } & {
31750
31750
  "/runs/:id": {
31751
31751
  $get: {
31752
+ output: {
31753
+ error: string;
31754
+ };
31755
+ outputFormat: "json";
31756
+ status: 404;
31757
+ input: {
31758
+ param: {
31759
+ id: string;
31760
+ };
31761
+ };
31762
+ } | {
31752
31763
  output: {
31753
31764
  archiveWhenDone?: boolean | undefined;
31754
31765
  autoMergePr?: boolean | undefined;
@@ -32809,17 +32820,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32809
32820
  id: string;
32810
32821
  };
32811
32822
  };
32812
- } | {
32813
- output: {
32814
- error: string;
32815
- };
32816
- outputFormat: "json";
32817
- status: 404;
32818
- input: {
32819
- param: {
32820
- id: string;
32821
- };
32822
- };
32823
32823
  };
32824
32824
  };
32825
32825
  } & {
@@ -32947,6 +32947,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32947
32947
  } & {
32948
32948
  "/runs/:id": {
32949
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
+ } | {
32950
33010
  output: {
32951
33011
  archiveWhenDone?: boolean | undefined;
32952
33012
  autoMergePr?: boolean | undefined;
@@ -34009,66 +34069,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34009
34069
  id: string;
34010
34070
  };
34011
34071
  };
34012
- } | {
34013
- output: {
34014
- error: string;
34015
- };
34016
- outputFormat: "json";
34017
- status: 404;
34018
- input: {
34019
- json: {
34020
- archiveWhenDone?: boolean | undefined;
34021
- autoMergePr?: boolean | undefined;
34022
- allowWorkers?: boolean | undefined;
34023
- allowMessaging?: boolean | undefined;
34024
- title?: string | undefined;
34025
- task?: string | undefined;
34026
- };
34027
- } & {
34028
- param: {
34029
- id: string;
34030
- };
34031
- };
34032
- } | {
34033
- output: {
34034
- error: string;
34035
- };
34036
- outputFormat: "json";
34037
- status: 400;
34038
- input: {
34039
- json: {
34040
- archiveWhenDone?: boolean | undefined;
34041
- autoMergePr?: boolean | undefined;
34042
- allowWorkers?: boolean | undefined;
34043
- allowMessaging?: boolean | undefined;
34044
- title?: string | undefined;
34045
- task?: string | undefined;
34046
- };
34047
- } & {
34048
- param: {
34049
- id: string;
34050
- };
34051
- };
34052
- } | {
34053
- output: {
34054
- error: string;
34055
- };
34056
- outputFormat: "json";
34057
- status: 409;
34058
- input: {
34059
- json: {
34060
- archiveWhenDone?: boolean | undefined;
34061
- autoMergePr?: boolean | undefined;
34062
- allowWorkers?: boolean | undefined;
34063
- allowMessaging?: boolean | undefined;
34064
- title?: string | undefined;
34065
- task?: string | undefined;
34066
- };
34067
- } & {
34068
- param: {
34069
- id: string;
34070
- };
34071
- };
34072
34072
  };
34073
34073
  };
34074
34074
  } & {
@@ -34173,7 +34173,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34173
34173
  error: string;
34174
34174
  };
34175
34175
  outputFormat: "json";
34176
- status: 404;
34176
+ status: 400;
34177
34177
  input: {
34178
34178
  json: {
34179
34179
  text?: string | undefined;
@@ -34192,7 +34192,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34192
34192
  error: string;
34193
34193
  };
34194
34194
  outputFormat: "json";
34195
- status: 409;
34195
+ status: 404;
34196
34196
  input: {
34197
34197
  json: {
34198
34198
  text?: string | undefined;
@@ -34208,10 +34208,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34208
34208
  };
34209
34209
  } | {
34210
34210
  output: {
34211
- delivered: true;
34211
+ error: string;
34212
34212
  };
34213
34213
  outputFormat: "json";
34214
- status: import("hono/utils/http-status").ContentfulStatusCode;
34214
+ status: 409;
34215
34215
  input: {
34216
34216
  json: {
34217
34217
  text?: string | undefined;
@@ -34227,10 +34227,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34227
34227
  };
34228
34228
  } | {
34229
34229
  output: {
34230
- error: string;
34230
+ delivered: true;
34231
34231
  };
34232
34232
  outputFormat: "json";
34233
- status: 400;
34233
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34234
34234
  input: {
34235
34235
  json: {
34236
34236
  text?: string | undefined;
@@ -34297,7 +34297,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34297
34297
  error: string;
34298
34298
  };
34299
34299
  outputFormat: "json";
34300
- status: 404;
34300
+ status: 400;
34301
34301
  input: {
34302
34302
  json: {
34303
34303
  text?: string | undefined;
@@ -34318,7 +34318,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34318
34318
  error: string;
34319
34319
  };
34320
34320
  outputFormat: "json";
34321
- status: 400;
34321
+ status: 404;
34322
34322
  input: {
34323
34323
  json: {
34324
34324
  text?: string | undefined;
@@ -34470,7 +34470,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34470
34470
  error: string;
34471
34471
  };
34472
34472
  outputFormat: "json";
34473
- status: 404;
34473
+ status: 400;
34474
34474
  input: {
34475
34475
  json: {
34476
34476
  text?: string | undefined;
@@ -34493,7 +34493,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34493
34493
  error: string;
34494
34494
  };
34495
34495
  outputFormat: "json";
34496
- status: 400;
34496
+ status: 404;
34497
34497
  input: {
34498
34498
  json: {
34499
34499
  text?: string | undefined;
@@ -34604,7 +34604,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34604
34604
  error: string;
34605
34605
  };
34606
34606
  outputFormat: "json";
34607
- status: 404;
34607
+ status: 400;
34608
34608
  input: {
34609
34609
  json: {
34610
34610
  target: string;
@@ -34620,7 +34620,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34620
34620
  error: string;
34621
34621
  };
34622
34622
  outputFormat: "json";
34623
- status: 409;
34623
+ status: 404;
34624
34624
  input: {
34625
34625
  json: {
34626
34626
  target: string;
@@ -34636,7 +34636,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34636
34636
  error: string;
34637
34637
  };
34638
34638
  outputFormat: "json";
34639
- status: 400;
34639
+ status: 409;
34640
34640
  input: {
34641
34641
  json: {
34642
34642
  target: string;
@@ -34693,9 +34693,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34693
34693
  } & {
34694
34694
  "/runs/:id/images/:file": {
34695
34695
  $get: {
34696
- output: {};
34697
- outputFormat: string;
34698
- status: import("hono/utils/http-status").StatusCode;
34696
+ output: {
34697
+ error: string;
34698
+ code?: "invalid_input" | undefined;
34699
+ };
34700
+ outputFormat: "json";
34701
+ status: 400;
34699
34702
  input: {
34700
34703
  param: {
34701
34704
  id: string;
@@ -34703,12 +34706,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34703
34706
  };
34704
34707
  };
34705
34708
  } | {
34706
- output: {
34707
- error: string;
34708
- code?: "invalid_input" | undefined;
34709
- };
34710
- outputFormat: "json";
34711
- status: 400;
34709
+ output: {};
34710
+ outputFormat: string;
34711
+ status: import("hono/utils/http-status").StatusCode;
34712
34712
  input: {
34713
34713
  param: {
34714
34714
  id: string;
@@ -34744,17 +34744,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34744
34744
  } & {
34745
34745
  "/runs/:id/changes": {
34746
34746
  $get: {
34747
- output: {
34748
- error: string;
34749
- };
34750
- outputFormat: "json";
34751
- status: 404 | 409;
34752
- input: {
34753
- param: {
34754
- id: string;
34755
- };
34756
- };
34757
- } | {
34758
34747
  output: {
34759
34748
  files: {
34760
34749
  path: string;
@@ -34783,11 +34772,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34783
34772
  id: string;
34784
34773
  };
34785
34774
  };
34786
- };
34787
- };
34788
- } & {
34789
- "/runs/:id/commits": {
34790
- $get: {
34775
+ } | {
34791
34776
  output: {
34792
34777
  error: string;
34793
34778
  };
@@ -34798,7 +34783,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34798
34783
  id: string;
34799
34784
  };
34800
34785
  };
34801
- } | {
34786
+ };
34787
+ };
34788
+ } & {
34789
+ "/runs/:id/commits": {
34790
+ $get: {
34802
34791
  output: {
34803
34792
  commits: {
34804
34793
  sha: string;
@@ -34814,11 +34803,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34814
34803
  id: string;
34815
34804
  };
34816
34805
  };
34817
- };
34818
- };
34819
- } & {
34820
- "/runs/:id/commit/:sha": {
34821
- $get: {
34806
+ } | {
34822
34807
  output: {
34823
34808
  error: string;
34824
34809
  };
@@ -34827,11 +34812,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34827
34812
  input: {
34828
34813
  param: {
34829
34814
  id: string;
34830
- } & {
34831
- sha: string;
34832
34815
  };
34833
34816
  };
34834
- } | {
34817
+ };
34818
+ };
34819
+ } & {
34820
+ "/runs/:id/commit/:sha": {
34821
+ $get: {
34835
34822
  output: {
34836
34823
  sha: string;
34837
34824
  subject: string;
@@ -34862,6 +34849,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34862
34849
  sha: string;
34863
34850
  };
34864
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
+ };
34865
34865
  };
34866
34866
  };
34867
34867
  } & {
@@ -34897,22 +34897,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34897
34897
  raw?: "1" | undefined;
34898
34898
  };
34899
34899
  };
34900
- } | {
34901
- output: {
34902
- error: string;
34903
- };
34904
- outputFormat: "json";
34905
- status: 404 | 409;
34906
- input: {
34907
- param: {
34908
- id: string;
34909
- };
34910
- } & {
34911
- query: {
34912
- path: string | string[];
34913
- raw?: "1" | undefined;
34914
- };
34915
- };
34916
34900
  } | {
34917
34901
  output: {
34918
34902
  type: "file";
@@ -34949,6 +34933,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34949
34933
  raw?: "1" | undefined;
34950
34934
  };
34951
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
+ };
34952
34952
  };
34953
34953
  };
34954
34954
  } & {
@@ -35013,6 +35013,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35013
35013
  artifactId: string;
35014
35014
  };
35015
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
+ };
35016
35028
  } | {
35017
35029
  output: {
35018
35030
  type: "file";
@@ -35041,18 +35053,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35041
35053
  artifactId: string;
35042
35054
  };
35043
35055
  };
35044
- } | {
35045
- output: {
35046
- error: string;
35047
- };
35048
- outputFormat: "json";
35049
- status: 404;
35050
- input: {
35051
- param: {
35052
- id: string;
35053
- artifactId: string;
35054
- };
35055
- };
35056
35056
  };
35057
35057
  };
35058
35058
  } & {
@@ -35230,10 +35230,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35230
35230
  };
35231
35231
  } | {
35232
35232
  output: {
35233
- error: string;
35233
+ type: 'dir';
35234
+ path: string;
35235
+ entries: {
35236
+ name: string;
35237
+ type: 'dir' | 'file';
35238
+ size?: number;
35239
+ }[];
35234
35240
  };
35235
35241
  outputFormat: "json";
35236
- status: 404 | 409;
35242
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35237
35243
  input: {
35238
35244
  query: {
35239
35245
  path?: string | undefined;
@@ -35246,13 +35252,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35246
35252
  };
35247
35253
  } | {
35248
35254
  output: {
35249
- type: 'dir';
35255
+ type: 'file';
35250
35256
  path: string;
35251
- entries: {
35252
- name: string;
35253
- type: 'dir' | 'file';
35254
- size?: number;
35255
- }[];
35257
+ size: number;
35258
+ binary: boolean;
35259
+ tooLarge: boolean;
35260
+ content?: string | undefined;
35256
35261
  };
35257
35262
  outputFormat: "json";
35258
35263
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -35268,15 +35273,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35268
35273
  };
35269
35274
  } | {
35270
35275
  output: {
35271
- type: 'file';
35272
- path: string;
35273
- size: number;
35274
- binary: boolean;
35275
- tooLarge: boolean;
35276
- content?: string | undefined;
35276
+ error: string;
35277
35277
  };
35278
35278
  outputFormat: "json";
35279
- status: import("hono/utils/http-status").ContentfulStatusCode;
35279
+ status: 404 | 409;
35280
35280
  input: {
35281
35281
  query: {
35282
35282
  path?: string | undefined;
@@ -35293,10 +35293,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35293
35293
  "/runs/:id/git/commit": {
35294
35294
  $post: {
35295
35295
  output: {
35296
- error: string;
35296
+ committed: true;
35297
+ sha: string;
35297
35298
  };
35298
35299
  outputFormat: "json";
35299
- status: 404 | 409;
35300
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35300
35301
  input: {
35301
35302
  json: {
35302
35303
  message: string;
@@ -35308,11 +35309,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35308
35309
  };
35309
35310
  } | {
35310
35311
  output: {
35311
- committed: true;
35312
- sha: string;
35312
+ error: string;
35313
35313
  };
35314
35314
  outputFormat: "json";
35315
- status: import("hono/utils/http-status").ContentfulStatusCode;
35315
+ status: 404 | 409;
35316
35316
  input: {
35317
35317
  json: {
35318
35318
  message: string;
@@ -35328,10 +35328,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35328
35328
  "/runs/:id/git/push": {
35329
35329
  $post: {
35330
35330
  output: {
35331
- error: string;
35331
+ pushed: true;
35332
+ branch: string;
35333
+ remote: string;
35334
+ upstreamSet: boolean;
35332
35335
  };
35333
35336
  outputFormat: "json";
35334
- status: 404 | 409;
35337
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35335
35338
  input: {
35336
35339
  param: {
35337
35340
  id: string;
@@ -35339,13 +35342,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35339
35342
  };
35340
35343
  } | {
35341
35344
  output: {
35342
- pushed: true;
35343
- branch: string;
35344
- remote: string;
35345
- upstreamSet: boolean;
35345
+ error: string;
35346
35346
  };
35347
35347
  outputFormat: "json";
35348
- status: import("hono/utils/http-status").ContentfulStatusCode;
35348
+ status: 404 | 409;
35349
35349
  input: {
35350
35350
  param: {
35351
35351
  id: string;
@@ -35357,10 +35357,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35357
35357
  "/runs/:id/pr": {
35358
35358
  $post: {
35359
35359
  output: {
35360
- error: string;
35360
+ url: string;
35361
+ dryRun: boolean;
35361
35362
  };
35362
35363
  outputFormat: "json";
35363
- status: 404;
35364
+ status: 201;
35364
35365
  input: {
35365
35366
  param: {
35366
35367
  id: string;
@@ -35371,7 +35372,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35371
35372
  error: string;
35372
35373
  };
35373
35374
  outputFormat: "json";
35374
- status: 409;
35375
+ status: 400;
35375
35376
  input: {
35376
35377
  param: {
35377
35378
  id: string;
@@ -35382,7 +35383,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35382
35383
  error: string;
35383
35384
  };
35384
35385
  outputFormat: "json";
35385
- status: 400;
35386
+ status: 404;
35386
35387
  input: {
35387
35388
  param: {
35388
35389
  id: string;
@@ -35390,11 +35391,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35390
35391
  };
35391
35392
  } | {
35392
35393
  output: {
35393
- url: string;
35394
- dryRun: boolean;
35394
+ error: string;
35395
35395
  };
35396
35396
  outputFormat: "json";
35397
- status: 201;
35397
+ status: 409;
35398
35398
  input: {
35399
35399
  param: {
35400
35400
  id: string;
@@ -35446,7 +35446,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35446
35446
  error: string;
35447
35447
  };
35448
35448
  outputFormat: "json";
35449
- status: 409;
35449
+ status: 404;
35450
35450
  input: {
35451
35451
  param: {
35452
35452
  id: string;
@@ -35457,7 +35457,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35457
35457
  error: string;
35458
35458
  };
35459
35459
  outputFormat: "json";
35460
- status: 404;
35460
+ status: 409;
35461
35461
  input: {
35462
35462
  param: {
35463
35463
  id: string;