@wjarka/cezarion 0.17.0-pr2491.3821 → 0.17.0-pr2499.3824

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.
@@ -294,17 +294,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
294
294
  };
295
295
  } | {
296
296
  output: {
297
- path: string;
298
- parent: string | null;
299
- dirs: {
300
- name: string;
301
- path: string;
302
- isRepo: boolean;
303
- }[];
304
- truncated: boolean;
297
+ error: string;
305
298
  };
306
299
  outputFormat: "json";
307
- status: import("hono/utils/http-status").ContentfulStatusCode;
300
+ status: 400 | 403 | 404;
308
301
  input: {
309
302
  query: {
310
303
  path?: string | undefined;
@@ -313,10 +306,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
313
306
  };
314
307
  } | {
315
308
  output: {
316
- error: string;
309
+ path: string;
310
+ parent: string | null;
311
+ dirs: {
312
+ name: string;
313
+ path: string;
314
+ isRepo: boolean;
315
+ }[];
316
+ truncated: boolean;
317
317
  };
318
318
  outputFormat: "json";
319
- status: 400 | 403 | 404;
319
+ status: import("hono/utils/http-status").ContentfulStatusCode;
320
320
  input: {
321
321
  query: {
322
322
  path?: string | undefined;
@@ -328,17 +328,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
328
328
  }, "/"> | import("hono/types").MergeSchemaPath<{
329
329
  "/automation-checks/:checkId": {
330
330
  $get: {
331
- output: {
332
- error: string;
333
- };
334
- outputFormat: "json";
335
- status: 404;
336
- input: {
337
- param: {
338
- checkId: string;
339
- };
340
- };
341
- } | {
342
331
  output: {
343
332
  id: string;
344
333
  automationId: string;
@@ -357,6 +346,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
357
346
  checkId: string;
358
347
  };
359
348
  };
349
+ } | {
350
+ output: {
351
+ error: string;
352
+ };
353
+ outputFormat: "json";
354
+ status: 404;
355
+ input: {
356
+ param: {
357
+ checkId: string;
358
+ };
359
+ };
360
360
  };
361
361
  };
362
362
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -822,10 +822,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
822
822
  };
823
823
  } | {
824
824
  output: {
825
- error: string;
825
+ providers: {
826
+ provider: ProviderId;
827
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
828
+ enabled?: boolean;
829
+ hint?: string;
830
+ authFailureId?: string;
831
+ profileId?: string;
832
+ }[];
826
833
  };
827
834
  outputFormat: "json";
828
- status: 500;
835
+ status: import("hono/utils/http-status").ContentfulStatusCode;
829
836
  input: {
830
837
  param: {
831
838
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -837,17 +844,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
837
844
  };
838
845
  } | {
839
846
  output: {
840
- providers: {
841
- provider: ProviderId;
842
- status: import("../core/provider-auth.ts").ProviderConnectionState;
843
- enabled?: boolean;
844
- hint?: string;
845
- authFailureId?: string;
846
- profileId?: string;
847
- }[];
847
+ error: string;
848
848
  };
849
849
  outputFormat: "json";
850
- status: import("hono/utils/http-status").ContentfulStatusCode;
850
+ status: 500;
851
851
  input: {
852
852
  param: {
853
853
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -879,10 +879,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
879
879
  };
880
880
  } | {
881
881
  output: {
882
- error: string;
882
+ providers: {
883
+ provider: ProviderId;
884
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
885
+ enabled?: boolean;
886
+ hint?: string;
887
+ authFailureId?: string;
888
+ profileId?: string;
889
+ }[];
883
890
  };
884
891
  outputFormat: "json";
885
- status: 409;
892
+ status: import("hono/utils/http-status").ContentfulStatusCode;
886
893
  input: {
887
894
  param: {
888
895
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -894,17 +901,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
894
901
  };
895
902
  } | {
896
903
  output: {
897
- providers: {
898
- provider: ProviderId;
899
- status: import("../core/provider-auth.ts").ProviderConnectionState;
900
- enabled?: boolean;
901
- hint?: string;
902
- authFailureId?: string;
903
- profileId?: string;
904
- }[];
904
+ error: string;
905
905
  };
906
906
  outputFormat: "json";
907
- status: import("hono/utils/http-status").ContentfulStatusCode;
907
+ status: 409;
908
908
  input: {
909
909
  param: {
910
910
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -923,7 +923,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
923
923
  error: string;
924
924
  };
925
925
  outputFormat: "json";
926
- status: 400;
926
+ status: 409;
927
927
  input: {
928
928
  json: {
929
929
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -935,7 +935,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
935
935
  error: string;
936
936
  };
937
937
  outputFormat: "json";
938
- status: 409;
938
+ status: 400;
939
939
  input: {
940
940
  json: {
941
941
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1027,10 +1027,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1027
1027
  "/workspace/config": {
1028
1028
  $put: {
1029
1029
  output: {
1030
- error: string;
1030
+ browseRoot: string;
1031
+ projectsDir: string;
1032
+ archiveOnMerge: boolean | null;
1033
+ effectiveArchiveOnMerge: boolean;
1034
+ archiveOnMergeSource: "default" | "environment" | "global";
1035
+ composerDefaults: {
1036
+ autonomous: boolean | null;
1037
+ worktree: boolean | null;
1038
+ inheritedAutonomous: "source-dependent" | boolean;
1039
+ inheritedWorktree: boolean;
1040
+ };
1041
+ resources: {
1042
+ maxParallel: number;
1043
+ maxMonitoringSessions: number;
1044
+ monitoringWakeIntervalMinutes: number | null;
1045
+ autoResumeOnUsageLimit: boolean;
1046
+ memoryLimitMb: number | null;
1047
+ worktreeRetentionDefault: number;
1048
+ };
1049
+ agentDefaults: {
1050
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1051
+ models?: {
1052
+ claude?: string | undefined;
1053
+ codex?: string | undefined;
1054
+ opencode?: string | undefined;
1055
+ pi?: string | undefined;
1056
+ cursor?: string | undefined;
1057
+ omp?: string | undefined;
1058
+ } | undefined;
1059
+ };
1031
1060
  };
1032
1061
  outputFormat: "json";
1033
- status: 400;
1062
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1034
1063
  input: {
1035
1064
  json: {
1036
1065
  browseRoot?: string | undefined;
@@ -1066,7 +1095,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1066
1095
  error: string;
1067
1096
  };
1068
1097
  outputFormat: "json";
1069
- status: 500;
1098
+ status: 400;
1070
1099
  input: {
1071
1100
  json: {
1072
1101
  browseRoot?: string | undefined;
@@ -1099,39 +1128,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1099
1128
  };
1100
1129
  } | {
1101
1130
  output: {
1102
- browseRoot: string;
1103
- projectsDir: string;
1104
- archiveOnMerge: boolean | null;
1105
- effectiveArchiveOnMerge: boolean;
1106
- archiveOnMergeSource: "default" | "environment" | "global";
1107
- composerDefaults: {
1108
- autonomous: boolean | null;
1109
- worktree: boolean | null;
1110
- inheritedAutonomous: "source-dependent" | boolean;
1111
- inheritedWorktree: boolean;
1112
- };
1113
- resources: {
1114
- maxParallel: number;
1115
- maxMonitoringSessions: number;
1116
- monitoringWakeIntervalMinutes: number | null;
1117
- autoResumeOnUsageLimit: boolean;
1118
- memoryLimitMb: number | null;
1119
- worktreeRetentionDefault: number;
1120
- };
1121
- agentDefaults: {
1122
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1123
- models?: {
1124
- claude?: string | undefined;
1125
- codex?: string | undefined;
1126
- opencode?: string | undefined;
1127
- pi?: string | undefined;
1128
- cursor?: string | undefined;
1129
- omp?: string | undefined;
1130
- } | undefined;
1131
- };
1131
+ error: string;
1132
1132
  };
1133
1133
  outputFormat: "json";
1134
- status: import("hono/utils/http-status").ContentfulStatusCode;
1134
+ status: 500;
1135
1135
  input: {
1136
1136
  json: {
1137
1137
  browseRoot?: string | undefined;
@@ -1215,10 +1215,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1215
1215
  "/workspace/ui-state": {
1216
1216
  $put: {
1217
1217
  output: {
1218
- error: string;
1218
+ [x: string]: import("hono/utils/types").JSONValue;
1219
+ sidebar?: {
1220
+ [x: string]: import("hono/utils/types").JSONValue;
1221
+ collapsed?: {
1222
+ [x: string]: boolean;
1223
+ } | undefined;
1224
+ projectOrder?: string[] | undefined;
1225
+ } | undefined;
1226
+ dismissedProviderAuthFailures?: {
1227
+ claude?: string | undefined;
1228
+ codex?: string | undefined;
1229
+ opencode?: string | undefined;
1230
+ pi?: string | undefined;
1231
+ cursor?: string | undefined;
1232
+ omp?: string | undefined;
1233
+ } | undefined;
1234
+ appearance?: {
1235
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1236
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1237
+ width?: "narrow" | "wide" | undefined;
1238
+ } | undefined;
1239
+ notifications?: {
1240
+ [x: string]: import("hono/utils/types").JSONValue;
1241
+ enabled?: boolean | undefined;
1242
+ } | undefined;
1243
+ taskTable?: {
1244
+ [x: string]: import("hono/utils/types").JSONValue;
1245
+ expandedColumns?: {
1246
+ [x: string]: boolean;
1247
+ } | undefined;
1248
+ } | undefined;
1249
+ lastLocation?: {
1250
+ projectId: string;
1251
+ pathname: string;
1252
+ search?: string | undefined;
1253
+ hash?: string | undefined;
1254
+ } | undefined;
1219
1255
  };
1220
1256
  outputFormat: "json";
1221
- status: 500;
1257
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1222
1258
  input: {
1223
1259
  json: {
1224
1260
  [x: string]: unknown;
@@ -1258,46 +1294,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1258
1294
  };
1259
1295
  } | {
1260
1296
  output: {
1261
- [x: string]: import("hono/utils/types").JSONValue;
1262
- sidebar?: {
1263
- [x: string]: import("hono/utils/types").JSONValue;
1264
- collapsed?: {
1265
- [x: string]: boolean;
1266
- } | undefined;
1267
- projectOrder?: string[] | undefined;
1268
- } | undefined;
1269
- dismissedProviderAuthFailures?: {
1270
- claude?: string | undefined;
1271
- codex?: string | undefined;
1272
- opencode?: string | undefined;
1273
- pi?: string | undefined;
1274
- cursor?: string | undefined;
1275
- omp?: string | undefined;
1276
- } | undefined;
1277
- appearance?: {
1278
- accent?: "cezarion" | "lime" | "violet" | undefined;
1279
- density?: "comfortable" | "compact" | "ultra" | undefined;
1280
- width?: "narrow" | "wide" | undefined;
1281
- } | undefined;
1282
- notifications?: {
1283
- [x: string]: import("hono/utils/types").JSONValue;
1284
- enabled?: boolean | undefined;
1285
- } | undefined;
1286
- taskTable?: {
1287
- [x: string]: import("hono/utils/types").JSONValue;
1288
- expandedColumns?: {
1289
- [x: string]: boolean;
1290
- } | undefined;
1291
- } | undefined;
1292
- lastLocation?: {
1293
- projectId: string;
1294
- pathname: string;
1295
- search?: string | undefined;
1296
- hash?: string | undefined;
1297
- } | undefined;
1297
+ error: string;
1298
1298
  };
1299
1299
  outputFormat: "json";
1300
- status: import("hono/utils/http-status").ContentfulStatusCode;
1300
+ status: 500;
1301
1301
  input: {
1302
1302
  json: {
1303
1303
  [x: string]: unknown;
@@ -1549,17 +1549,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1549
1549
  } & {
1550
1550
  "/workspace/self-update/apply": {
1551
1551
  $post: {
1552
- output: {
1553
- error: string;
1554
- };
1555
- outputFormat: "json";
1556
- status: 409;
1557
- input: {
1558
- json: {
1559
- version: string;
1560
- };
1561
- };
1562
- } | {
1563
1552
  output: {
1564
1553
  version: string;
1565
1554
  installKind: "checkout" | "global-npm" | "managed" | "npx" | "unknown";
@@ -1606,6 +1595,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1606
1595
  version: string;
1607
1596
  };
1608
1597
  };
1598
+ } | {
1599
+ output: {
1600
+ error: string;
1601
+ };
1602
+ outputFormat: "json";
1603
+ status: 409;
1604
+ input: {
1605
+ json: {
1606
+ version: string;
1607
+ };
1608
+ };
1609
1609
  };
1610
1610
  };
1611
1611
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1682,6 +1682,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1682
1682
  } & {
1683
1683
  "/workspace/agent-profiles": {
1684
1684
  $post: {
1685
+ output: {
1686
+ error: string;
1687
+ };
1688
+ outputFormat: "json";
1689
+ status: 409;
1690
+ input: {
1691
+ json: {
1692
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1693
+ label?: string | undefined;
1694
+ configDir: string;
1695
+ };
1696
+ };
1697
+ } | {
1698
+ output: {
1699
+ error: string;
1700
+ };
1701
+ outputFormat: "json";
1702
+ status: 400;
1703
+ input: {
1704
+ json: {
1705
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1706
+ label?: string | undefined;
1707
+ configDir: string;
1708
+ };
1709
+ };
1710
+ } | {
1711
+ output: {
1712
+ error: string;
1713
+ };
1714
+ outputFormat: "json";
1715
+ status: 500;
1716
+ input: {
1717
+ json: {
1718
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1719
+ label?: string | undefined;
1720
+ configDir: string;
1721
+ };
1722
+ };
1723
+ } | {
1685
1724
  output: {
1686
1725
  profile: {
1687
1726
  exists: boolean;
@@ -1732,45 +1771,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1732
1771
  configDir: string;
1733
1772
  };
1734
1773
  };
1735
- } | {
1736
- output: {
1737
- error: string;
1738
- };
1739
- outputFormat: "json";
1740
- status: 400;
1741
- input: {
1742
- json: {
1743
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1744
- label?: string | undefined;
1745
- configDir: string;
1746
- };
1747
- };
1748
- } | {
1749
- output: {
1750
- error: string;
1751
- };
1752
- outputFormat: "json";
1753
- status: 409;
1754
- input: {
1755
- json: {
1756
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1757
- label?: string | undefined;
1758
- configDir: string;
1759
- };
1760
- };
1761
- } | {
1762
- output: {
1763
- error: string;
1764
- };
1765
- outputFormat: "json";
1766
- status: 500;
1767
- input: {
1768
- json: {
1769
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1770
- label?: string | undefined;
1771
- configDir: string;
1772
- };
1773
- };
1774
1774
  };
1775
1775
  };
1776
1776
  } & {
@@ -1797,7 +1797,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1797
1797
  error: string;
1798
1798
  };
1799
1799
  outputFormat: "json";
1800
- status: 400;
1800
+ status: 409;
1801
1801
  input: {
1802
1802
  param: {
1803
1803
  id: string;
@@ -1813,7 +1813,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1813
1813
  error: string;
1814
1814
  };
1815
1815
  outputFormat: "json";
1816
- status: 404;
1816
+ status: 400;
1817
1817
  input: {
1818
1818
  param: {
1819
1819
  id: string;
@@ -1829,7 +1829,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1829
1829
  error: string;
1830
1830
  };
1831
1831
  outputFormat: "json";
1832
- status: 409;
1832
+ status: 404;
1833
1833
  input: {
1834
1834
  param: {
1835
1835
  id: string;
@@ -1935,7 +1935,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1935
1935
  error: string;
1936
1936
  };
1937
1937
  outputFormat: "json";
1938
- status: 404;
1938
+ status: 409;
1939
1939
  input: {
1940
1940
  param: {
1941
1941
  id: string;
@@ -1950,7 +1950,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1950
1950
  error: string;
1951
1951
  };
1952
1952
  outputFormat: "json";
1953
- status: 409;
1953
+ status: 404;
1954
1954
  input: {
1955
1955
  param: {
1956
1956
  id: string;
@@ -2023,7 +2023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2023
2023
  error: string;
2024
2024
  };
2025
2025
  outputFormat: "json";
2026
- status: 404;
2026
+ status: 409;
2027
2027
  input: {
2028
2028
  param: {
2029
2029
  id: string;
@@ -2034,7 +2034,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2034
2034
  error: string;
2035
2035
  };
2036
2036
  outputFormat: "json";
2037
- status: 409;
2037
+ status: 404;
2038
2038
  input: {
2039
2039
  param: {
2040
2040
  id: string;
@@ -2082,7 +2082,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2082
2082
  error: string;
2083
2083
  };
2084
2084
  outputFormat: "json";
2085
- status: 400;
2085
+ status: 409;
2086
2086
  input: {
2087
2087
  param: {
2088
2088
  id: string;
@@ -2114,7 +2114,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2114
2114
  error: string;
2115
2115
  };
2116
2116
  outputFormat: "json";
2117
- status: 409;
2117
+ status: 400;
2118
2118
  input: {
2119
2119
  param: {
2120
2120
  id: string;
@@ -2151,7 +2151,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2151
2151
  error: string;
2152
2152
  };
2153
2153
  outputFormat: "json";
2154
- status: 400;
2154
+ status: 409;
2155
2155
  input: {
2156
2156
  json: {
2157
2157
  projectId: string | null;
@@ -2177,7 +2177,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2177
2177
  error: string;
2178
2178
  };
2179
2179
  outputFormat: "json";
2180
- status: 409;
2180
+ status: 400;
2181
2181
  input: {
2182
2182
  json: {
2183
2183
  projectId: string | null;
@@ -2251,7 +2251,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2251
2251
  error: string;
2252
2252
  };
2253
2253
  outputFormat: "json";
2254
- status: 404;
2254
+ status: 409;
2255
2255
  input: {
2256
2256
  param: {
2257
2257
  id: string;
@@ -2262,7 +2262,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2262
2262
  error: string;
2263
2263
  };
2264
2264
  outputFormat: "json";
2265
- status: 409;
2265
+ status: 500;
2266
2266
  input: {
2267
2267
  param: {
2268
2268
  id: string;
@@ -2273,7 +2273,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2273
2273
  error: string;
2274
2274
  };
2275
2275
  outputFormat: "json";
2276
- status: 500;
2276
+ status: 404;
2277
2277
  input: {
2278
2278
  param: {
2279
2279
  id: string;
@@ -2427,7 +2427,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2427
2427
  error: string;
2428
2428
  };
2429
2429
  outputFormat: "json";
2430
- status: 404;
2430
+ status: 409;
2431
2431
  input: {
2432
2432
  param: {
2433
2433
  projectId: string;
@@ -2438,7 +2438,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2438
2438
  error: string;
2439
2439
  };
2440
2440
  outputFormat: "json";
2441
- status: 409;
2441
+ status: 404;
2442
2442
  input: {
2443
2443
  param: {
2444
2444
  projectId: string;
@@ -2476,7 +2476,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2476
2476
  error: string;
2477
2477
  };
2478
2478
  outputFormat: "json";
2479
- status: 404;
2479
+ status: 409;
2480
2480
  input: {
2481
2481
  json: {
2482
2482
  maxParallel?: number | null | undefined;
@@ -2497,7 +2497,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2497
2497
  error: string;
2498
2498
  };
2499
2499
  outputFormat: "json";
2500
- status: 409;
2500
+ status: 404;
2501
2501
  input: {
2502
2502
  json: {
2503
2503
  maxParallel?: number | null | undefined;
@@ -2592,7 +2592,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2592
2592
  error: string;
2593
2593
  };
2594
2594
  outputFormat: "json";
2595
- status: 400;
2595
+ status: 409;
2596
2596
  input: {
2597
2597
  param: {
2598
2598
  projectId: string;
@@ -2614,7 +2614,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2614
2614
  error: string;
2615
2615
  };
2616
2616
  outputFormat: "json";
2617
- status: 409;
2617
+ status: 400;
2618
2618
  input: {
2619
2619
  param: {
2620
2620
  projectId: string;
@@ -2639,6 +2639,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2639
2639
  } & {
2640
2640
  "/projects/:projectId/webhooks": {
2641
2641
  $post: {
2642
+ output: {
2643
+ error: string;
2644
+ };
2645
+ outputFormat: "json";
2646
+ status: 400 | 404 | 409 | 500;
2647
+ input: {
2648
+ json: {
2649
+ name: string;
2650
+ description?: string | undefined;
2651
+ url: string;
2652
+ token?: string | undefined;
2653
+ tasks?: boolean | undefined;
2654
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2655
+ agent?: boolean | undefined;
2656
+ };
2657
+ } & {
2658
+ param: {
2659
+ projectId: string;
2660
+ };
2661
+ };
2662
+ } | {
2642
2663
  output: {
2643
2664
  project: {
2644
2665
  id: string;
@@ -2697,27 +2718,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2697
2718
  projectId: string;
2698
2719
  };
2699
2720
  };
2700
- } | {
2701
- output: {
2702
- error: string;
2703
- };
2704
- outputFormat: "json";
2705
- status: 400 | 404 | 409 | 500;
2706
- input: {
2707
- json: {
2708
- name: string;
2709
- description?: string | undefined;
2710
- url: string;
2711
- token?: string | undefined;
2712
- tasks?: boolean | undefined;
2713
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2714
- agent?: boolean | undefined;
2715
- };
2716
- } & {
2717
- param: {
2718
- projectId: string;
2719
- };
2720
- };
2721
2721
  };
2722
2722
  };
2723
2723
  } & {
@@ -2918,7 +2918,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2918
2918
  error: string;
2919
2919
  };
2920
2920
  outputFormat: "json";
2921
- status: 404;
2921
+ status: 409;
2922
2922
  input: {
2923
2923
  param: {
2924
2924
  projectId: string;
@@ -2927,10 +2927,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2927
2927
  };
2928
2928
  } | {
2929
2929
  output: {
2930
- error: string;
2930
+ ok: boolean;
2931
+ status?: number | undefined;
2932
+ error?: string | undefined;
2933
+ dryRun?: boolean | undefined;
2931
2934
  };
2932
2935
  outputFormat: "json";
2933
- status: 409;
2936
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2934
2937
  input: {
2935
2938
  param: {
2936
2939
  projectId: string;
@@ -2939,13 +2942,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2939
2942
  };
2940
2943
  } | {
2941
2944
  output: {
2942
- ok: boolean;
2943
- status?: number | undefined;
2944
- error?: string | undefined;
2945
- dryRun?: boolean | undefined;
2945
+ error: string;
2946
2946
  };
2947
2947
  outputFormat: "json";
2948
- status: import("hono/utils/http-status").ContentfulStatusCode;
2948
+ status: 404;
2949
2949
  input: {
2950
2950
  param: {
2951
2951
  projectId: string;
@@ -3217,7 +3217,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3217
3217
  error: string;
3218
3218
  };
3219
3219
  outputFormat: "json";
3220
- status: 400;
3220
+ status: 409;
3221
3221
  input: {
3222
3222
  query: {
3223
3223
  q?: string | undefined;
@@ -3230,7 +3230,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3230
3230
  error: string;
3231
3231
  };
3232
3232
  outputFormat: "json";
3233
- status: 409;
3233
+ status: 400;
3234
3234
  input: {
3235
3235
  query: {
3236
3236
  q?: string | undefined;
@@ -3267,6 +3267,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3267
3267
  }, "/"> | import("hono/types").MergeSchemaPath<{
3268
3268
  "/voice/decide": {
3269
3269
  $post: {
3270
+ output: {
3271
+ error: string;
3272
+ };
3273
+ outputFormat: "json";
3274
+ status: 503;
3275
+ input: {
3276
+ json: {
3277
+ text: string;
3278
+ sidebarView: "active" | "automations";
3279
+ openRunId?: string | undefined;
3280
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3281
+ askRequestId?: string | null | undefined;
3282
+ proposal?: {
3283
+ decisionId: string;
3284
+ action: "answer" | "tell";
3285
+ } | undefined;
3286
+ };
3287
+ };
3288
+ } | {
3270
3289
  output: {
3271
3290
  action: "open";
3272
3291
  decisionId: string;
@@ -3324,25 +3343,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3324
3343
  } | undefined;
3325
3344
  };
3326
3345
  };
3327
- } | {
3328
- output: {
3329
- error: string;
3330
- };
3331
- outputFormat: "json";
3332
- status: 503;
3333
- input: {
3334
- json: {
3335
- text: string;
3336
- sidebarView: "active" | "automations";
3337
- openRunId?: string | undefined;
3338
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3339
- askRequestId?: string | null | undefined;
3340
- proposal?: {
3341
- decisionId: string;
3342
- action: "answer" | "tell";
3343
- } | undefined;
3344
- };
3345
- };
3346
3346
  };
3347
3347
  };
3348
3348
  } & {
@@ -3560,7 +3560,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3560
3560
  error: string;
3561
3561
  };
3562
3562
  outputFormat: "json";
3563
- status: 400;
3563
+ status: 409;
3564
3564
  input: {
3565
3565
  json: {
3566
3566
  target: string;
@@ -3571,7 +3571,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3571
3571
  error: string;
3572
3572
  };
3573
3573
  outputFormat: "json";
3574
- status: 409;
3574
+ status: 400;
3575
3575
  input: {
3576
3576
  json: {
3577
3577
  target: string;
@@ -3594,12 +3594,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3594
3594
  }, "/"> | import("hono/types").MergeSchemaPath<{
3595
3595
  "/runs/:id/events": {
3596
3596
  $get: {
3597
- output: {
3598
- error: string;
3599
- code?: "invalid_input" | undefined;
3600
- };
3601
- outputFormat: "json";
3602
- status: 400;
3597
+ output: {};
3598
+ outputFormat: string;
3599
+ status: import("hono/utils/http-status").StatusCode;
3603
3600
  input: {
3604
3601
  param: {
3605
3602
  id: string;
@@ -3611,9 +3608,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3611
3608
  };
3612
3609
  };
3613
3610
  } | {
3614
- output: {};
3615
- outputFormat: string;
3616
- status: import("hono/utils/http-status").StatusCode;
3611
+ output: {
3612
+ error: string;
3613
+ code?: "invalid_input" | undefined;
3614
+ };
3615
+ outputFormat: "json";
3616
+ status: 400;
3617
3617
  input: {
3618
3618
  param: {
3619
3619
  id: string;
@@ -3674,10 +3674,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3674
3674
  "/config": {
3675
3675
  $put: {
3676
3676
  output: {
3677
- error: string;
3677
+ archiveOnMerge: boolean | null;
3678
+ effectiveArchiveOnMerge: boolean;
3679
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3680
+ baseBranch: string | null;
3681
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3682
+ systemPrompt: string | null;
3683
+ defaultModels: {
3684
+ claude?: string | undefined;
3685
+ codex?: string | undefined;
3686
+ opencode?: string | undefined;
3687
+ pi?: string | undefined;
3688
+ cursor?: string | undefined;
3689
+ omp?: string | undefined;
3690
+ };
3691
+ modelsLocked: boolean;
3692
+ maxParallel: number;
3693
+ memoryLimitMb: number | null;
3694
+ worktreeRetention: number;
3695
+ liveTitleUpdates: boolean | null;
3696
+ reviewGate: boolean | null;
3697
+ worktreeSetup: {
3698
+ commands: string[];
3699
+ timeoutSeconds: number;
3700
+ } | null;
3701
+ worktreeSetupIssue: string | null;
3678
3702
  };
3679
3703
  outputFormat: "json";
3680
- status: 409;
3704
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3681
3705
  input: {
3682
3706
  json: {
3683
3707
  archiveOnMerge?: boolean | null | undefined;
@@ -3708,7 +3732,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3708
3732
  error: string;
3709
3733
  };
3710
3734
  outputFormat: "json";
3711
- status: 500;
3735
+ status: 409;
3712
3736
  input: {
3713
3737
  json: {
3714
3738
  archiveOnMerge?: boolean | null | undefined;
@@ -3736,34 +3760,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3736
3760
  };
3737
3761
  } | {
3738
3762
  output: {
3739
- archiveOnMerge: boolean | null;
3740
- effectiveArchiveOnMerge: boolean;
3741
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3742
- baseBranch: string | null;
3743
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3744
- systemPrompt: string | null;
3745
- defaultModels: {
3746
- claude?: string | undefined;
3747
- codex?: string | undefined;
3748
- opencode?: string | undefined;
3749
- pi?: string | undefined;
3750
- cursor?: string | undefined;
3751
- omp?: string | undefined;
3752
- };
3753
- modelsLocked: boolean;
3754
- maxParallel: number;
3755
- memoryLimitMb: number | null;
3756
- worktreeRetention: number;
3757
- liveTitleUpdates: boolean | null;
3758
- reviewGate: boolean | null;
3759
- worktreeSetup: {
3760
- commands: string[];
3761
- timeoutSeconds: number;
3762
- } | null;
3763
- worktreeSetupIssue: string | null;
3763
+ error: string;
3764
3764
  };
3765
3765
  outputFormat: "json";
3766
- status: import("hono/utils/http-status").ContentfulStatusCode;
3766
+ status: 500;
3767
3767
  input: {
3768
3768
  json: {
3769
3769
  archiveOnMerge?: boolean | null | undefined;
@@ -3877,18 +3877,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3877
3877
  }, "/"> | import("hono/types").MergeSchemaPath<{
3878
3878
  "/skills": {
3879
3879
  $get: {
3880
- output: {
3881
- error: string;
3882
- code?: "invalid_input" | undefined;
3883
- };
3884
- outputFormat: "json";
3885
- status: 400;
3886
- input: {
3887
- query: {
3888
- wait?: string | undefined;
3889
- };
3890
- };
3891
- } | {
3892
3880
  output: {
3893
3881
  name: string;
3894
3882
  description?: string | undefined;
@@ -3911,11 +3899,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3911
3899
  wait?: string | undefined;
3912
3900
  };
3913
3901
  };
3914
- };
3915
- };
3916
- } & {
3917
- "/skills/importable": {
3918
- $get: {
3902
+ } | {
3919
3903
  output: {
3920
3904
  error: string;
3921
3905
  code?: "invalid_input" | undefined;
@@ -3927,7 +3911,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3927
3911
  wait?: string | undefined;
3928
3912
  };
3929
3913
  };
3930
- } | {
3914
+ };
3915
+ };
3916
+ } & {
3917
+ "/skills/importable": {
3918
+ $get: {
3931
3919
  output: {
3932
3920
  name: string;
3933
3921
  description?: string | undefined;
@@ -3950,6 +3938,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3950
3938
  wait?: string | undefined;
3951
3939
  };
3952
3940
  };
3941
+ } | {
3942
+ output: {
3943
+ error: string;
3944
+ code?: "invalid_input" | undefined;
3945
+ };
3946
+ outputFormat: "json";
3947
+ status: 400;
3948
+ input: {
3949
+ query: {
3950
+ wait?: string | undefined;
3951
+ };
3952
+ };
3953
3953
  };
3954
3954
  };
3955
3955
  } & {
@@ -4150,10 +4150,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4150
4150
  "/agent-config/:id": {
4151
4151
  $put: {
4152
4152
  output: {
4153
- error: string;
4153
+ id: string;
4154
+ path: string;
4155
+ exists: boolean;
4156
+ content: string;
4157
+ version: string | null;
4154
4158
  };
4155
4159
  outputFormat: "json";
4156
- status: 404;
4160
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4157
4161
  input: {
4158
4162
  json: {
4159
4163
  content: string;
@@ -4166,14 +4170,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4166
4170
  };
4167
4171
  } | {
4168
4172
  output: {
4169
- id: string;
4170
- path: string;
4171
- exists: boolean;
4172
- content: string;
4173
- version: string | null;
4173
+ error: string;
4174
4174
  };
4175
4175
  outputFormat: "json";
4176
- status: import("hono/utils/http-status").ContentfulStatusCode;
4176
+ status: 404;
4177
4177
  input: {
4178
4178
  json: {
4179
4179
  content: string;
@@ -4244,11 +4244,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4244
4244
  "/workflows": {
4245
4245
  $post: {
4246
4246
  output: {
4247
- path: string;
4248
- name: string;
4247
+ error: string;
4249
4248
  };
4250
4249
  outputFormat: "json";
4251
- status: 201;
4250
+ status: 400;
4252
4251
  input: {
4253
4252
  json: {
4254
4253
  name: string;
@@ -4278,9 +4277,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4278
4277
  } | {
4279
4278
  output: {
4280
4279
  error: string;
4280
+ exists: true;
4281
4281
  };
4282
4282
  outputFormat: "json";
4283
- status: 400;
4283
+ status: 409;
4284
4284
  input: {
4285
4285
  json: {
4286
4286
  name: string;
@@ -4310,10 +4310,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4310
4310
  } | {
4311
4311
  output: {
4312
4312
  error: string;
4313
- exists: true;
4314
4313
  };
4315
4314
  outputFormat: "json";
4316
- status: 409;
4315
+ status: 500;
4317
4316
  input: {
4318
4317
  json: {
4319
4318
  name: string;
@@ -4342,10 +4341,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4342
4341
  };
4343
4342
  } | {
4344
4343
  output: {
4345
- error: string;
4344
+ path: string;
4345
+ name: string;
4346
4346
  };
4347
4347
  outputFormat: "json";
4348
- status: 500;
4348
+ status: 201;
4349
4349
  input: {
4350
4350
  json: {
4351
4351
  name: string;
@@ -4381,7 +4381,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4381
4381
  error: string;
4382
4382
  };
4383
4383
  outputFormat: "json";
4384
- status: 400;
4384
+ status: 404;
4385
4385
  input: {
4386
4386
  param: {
4387
4387
  name: string;
@@ -4392,7 +4392,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4392
4392
  error: string;
4393
4393
  };
4394
4394
  outputFormat: "json";
4395
- status: 404;
4395
+ status: 400;
4396
4396
  input: {
4397
4397
  param: {
4398
4398
  name: string;
@@ -4585,18 +4585,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4585
4585
  "/repo/branches/delete": {
4586
4586
  $post: {
4587
4587
  output: {
4588
- deleted: string[];
4588
+ error: string;
4589
4589
  refused: {
4590
4590
  name: string;
4591
4591
  reason: string;
4592
4592
  }[];
4593
- dropped?: {
4594
- sha: string;
4595
- subject: string;
4596
- }[] | undefined;
4597
4593
  };
4598
4594
  outputFormat: "json";
4599
- status: 200;
4595
+ status: 409;
4600
4596
  input: {
4601
4597
  json: {
4602
4598
  names: string[];
@@ -4605,14 +4601,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4605
4601
  };
4606
4602
  } | {
4607
4603
  output: {
4608
- error: string;
4604
+ deleted: string[];
4609
4605
  refused: {
4610
4606
  name: string;
4611
4607
  reason: string;
4612
4608
  }[];
4609
+ dropped?: {
4610
+ sha: string;
4611
+ subject: string;
4612
+ }[] | undefined;
4613
4613
  };
4614
4614
  outputFormat: "json";
4615
- status: 409;
4615
+ status: 200;
4616
4616
  input: {
4617
4617
  json: {
4618
4618
  names: string[];
@@ -4633,12 +4633,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4633
4633
  } & {
4634
4634
  "/repo/commit/:sha": {
4635
4635
  $get: {
4636
- output: {
4637
- error: string;
4638
- code?: "invalid_input" | undefined;
4639
- };
4640
- outputFormat: "json";
4641
- status: 400;
4636
+ output: string;
4637
+ outputFormat: "text";
4638
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4642
4639
  input: {
4643
4640
  query: {
4644
4641
  structured?: string | undefined;
@@ -4651,9 +4648,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4651
4648
  } | {
4652
4649
  output: {
4653
4650
  error: string;
4651
+ code?: "invalid_input" | undefined;
4654
4652
  };
4655
4653
  outputFormat: "json";
4656
- status: 409;
4654
+ status: 400;
4657
4655
  input: {
4658
4656
  query: {
4659
4657
  structured?: string | undefined;
@@ -4697,9 +4695,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4697
4695
  };
4698
4696
  };
4699
4697
  } | {
4700
- output: string;
4701
- outputFormat: "text";
4702
- status: import("hono/utils/http-status").ContentfulStatusCode;
4698
+ output: {
4699
+ error: string;
4700
+ };
4701
+ outputFormat: "json";
4702
+ status: 409;
4703
4703
  input: {
4704
4704
  query: {
4705
4705
  structured?: string | undefined;
@@ -4714,13 +4714,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4714
4714
  } & {
4715
4715
  "/repo/changes": {
4716
4716
  $get: {
4717
- output: {
4718
- error: string;
4719
- };
4720
- outputFormat: "json";
4721
- status: 409;
4722
- input: {};
4723
- } | {
4724
4717
  output: {
4725
4718
  files: {
4726
4719
  path: string;
@@ -4745,6 +4738,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4745
4738
  outputFormat: "json";
4746
4739
  status: import("hono/utils/http-status").ContentfulStatusCode;
4747
4740
  input: {};
4741
+ } | {
4742
+ output: {
4743
+ error: string;
4744
+ };
4745
+ outputFormat: "json";
4746
+ status: 409;
4747
+ input: {};
4748
4748
  };
4749
4749
  };
4750
4750
  } & {
@@ -4769,12 +4769,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4769
4769
  "/repo/pull": {
4770
4770
  $post: {
4771
4771
  output: {
4772
- branch: string;
4773
- pulled: true;
4774
- summary: string;
4772
+ error: string;
4775
4773
  };
4776
4774
  outputFormat: "json";
4777
- status: 200;
4775
+ status: 409;
4778
4776
  input: {
4779
4777
  json: {
4780
4778
  branch?: string | undefined;
@@ -4783,10 +4781,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4783
4781
  };
4784
4782
  } | {
4785
4783
  output: {
4786
- error: string;
4784
+ branch: string;
4785
+ pulled: true;
4786
+ summary: string;
4787
4787
  };
4788
4788
  outputFormat: "json";
4789
- status: 409;
4789
+ status: 200;
4790
4790
  input: {
4791
4791
  json: {
4792
4792
  branch?: string | undefined;
@@ -5736,18 +5736,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5736
5736
  "/automations": {
5737
5737
  $post: {
5738
5738
  output: {
5739
- automation: {
5740
- [x: string]: import("hono/utils/types").JSONValue;
5741
- id: string;
5742
- revision: number;
5739
+ error: string;
5740
+ };
5741
+ outputFormat: "json";
5742
+ status: 400 | 404 | 409;
5743
+ input: {
5744
+ json: {
5743
5745
  name: string;
5744
5746
  description?: string | undefined;
5745
- enabled: boolean;
5746
- kind: "github" | "schedule";
5747
+ enabled?: boolean | undefined;
5748
+ kind?: "github" | "schedule" | undefined;
5747
5749
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5748
5750
  intervalSeconds?: number | undefined;
5749
5751
  filters?: {
5750
- [x: string]: import("hono/utils/types").JSONValue;
5752
+ [x: string]: unknown;
5751
5753
  includeExisting?: boolean | undefined;
5752
5754
  requireCurrentLabels?: boolean | undefined;
5753
5755
  authors?: string[] | undefined;
@@ -5756,11 +5758,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5756
5758
  anyLabels?: string[] | undefined;
5757
5759
  excludeLabels?: string[] | undefined;
5758
5760
  changedLabels?: string[] | undefined;
5759
- lookbackDays: number;
5760
- maxRecords: number;
5761
+ lookbackDays?: number | undefined;
5762
+ maxRecords?: number | undefined;
5761
5763
  } | undefined;
5762
5764
  schedule?: {
5763
- [x: string]: import("hono/utils/types").JSONValue;
5764
5765
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5765
5766
  hour?: number | undefined;
5766
5767
  minute?: number | undefined;
@@ -5771,7 +5772,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5771
5772
  latestStartMinutes?: number | undefined;
5772
5773
  } | undefined;
5773
5774
  task: {
5774
- [x: string]: import("hono/utils/types").JSONValue;
5775
+ [x: string]: unknown;
5775
5776
  prompt: string;
5776
5777
  workflow?: string | undefined;
5777
5778
  steps?: {
@@ -5789,49 +5790,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5789
5790
  command?: string | undefined;
5790
5791
  onFail?: {
5791
5792
  retry: string;
5792
- max: number;
5793
+ max?: number | undefined;
5793
5794
  } | undefined;
5794
5795
  }[] | undefined;
5795
5796
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5796
5797
  model?: string | undefined;
5797
5798
  effort?: string | undefined;
5798
- variants?: 1 | 2 | 3 | undefined;
5799
5799
  worktree?: boolean | undefined;
5800
5800
  autonomous?: boolean | undefined;
5801
5801
  archiveWhenDone?: boolean | undefined;
5802
5802
  autoMergePr?: boolean | undefined;
5803
5803
  systemPrompt?: string | undefined;
5804
+ variants?: 1 | undefined;
5804
5805
  };
5805
- archived?: {
5806
- [x: string]: import("hono/utils/types").JSONValue;
5807
- at: string;
5808
- outcome: "cancelled" | "launched";
5809
- runId?: string | undefined;
5810
- receiptId?: string | undefined;
5811
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5812
- } | undefined;
5813
- createdAt: string;
5814
- updatedAt: string;
5806
+ enable?: boolean | undefined;
5815
5807
  };
5816
- once?: {
5817
- dueAt: string;
5818
- timeZone: string;
5819
- resolvedInstant: string;
5820
- note: string;
5821
- } | undefined;
5822
5808
  };
5823
- outputFormat: "json";
5824
- status: 201;
5825
- input: {
5826
- json: {
5809
+ } | {
5810
+ output: {
5811
+ automation: {
5812
+ [x: string]: import("hono/utils/types").JSONValue;
5813
+ id: string;
5814
+ revision: number;
5827
5815
  name: string;
5828
5816
  description?: string | undefined;
5829
- enabled?: boolean | undefined;
5830
- kind?: "github" | "schedule" | undefined;
5817
+ enabled: boolean;
5818
+ kind: "github" | "schedule";
5831
5819
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5832
5820
  intervalSeconds?: number | undefined;
5833
5821
  filters?: {
5834
- [x: string]: unknown;
5822
+ [x: string]: import("hono/utils/types").JSONValue;
5835
5823
  includeExisting?: boolean | undefined;
5836
5824
  requireCurrentLabels?: boolean | undefined;
5837
5825
  authors?: string[] | undefined;
@@ -5840,10 +5828,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5840
5828
  anyLabels?: string[] | undefined;
5841
5829
  excludeLabels?: string[] | undefined;
5842
5830
  changedLabels?: string[] | undefined;
5843
- lookbackDays?: number | undefined;
5844
- maxRecords?: number | undefined;
5831
+ lookbackDays: number;
5832
+ maxRecords: number;
5845
5833
  } | undefined;
5846
5834
  schedule?: {
5835
+ [x: string]: import("hono/utils/types").JSONValue;
5847
5836
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5848
5837
  hour?: number | undefined;
5849
5838
  minute?: number | undefined;
@@ -5854,7 +5843,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5854
5843
  latestStartMinutes?: number | undefined;
5855
5844
  } | undefined;
5856
5845
  task: {
5857
- [x: string]: unknown;
5846
+ [x: string]: import("hono/utils/types").JSONValue;
5858
5847
  prompt: string;
5859
5848
  workflow?: string | undefined;
5860
5849
  steps?: {
@@ -5872,28 +5861,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5872
5861
  command?: string | undefined;
5873
5862
  onFail?: {
5874
5863
  retry: string;
5875
- max?: number | undefined;
5864
+ max: number;
5876
5865
  } | undefined;
5877
5866
  }[] | undefined;
5878
5867
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5879
5868
  model?: string | undefined;
5880
5869
  effort?: string | undefined;
5870
+ variants?: 1 | 2 | 3 | undefined;
5881
5871
  worktree?: boolean | undefined;
5882
5872
  autonomous?: boolean | undefined;
5883
5873
  archiveWhenDone?: boolean | undefined;
5884
5874
  autoMergePr?: boolean | undefined;
5885
5875
  systemPrompt?: string | undefined;
5886
- variants?: 1 | undefined;
5887
5876
  };
5888
- enable?: boolean | undefined;
5877
+ archived?: {
5878
+ [x: string]: import("hono/utils/types").JSONValue;
5879
+ at: string;
5880
+ outcome: "cancelled" | "launched";
5881
+ runId?: string | undefined;
5882
+ receiptId?: string | undefined;
5883
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5884
+ } | undefined;
5885
+ createdAt: string;
5886
+ updatedAt: string;
5889
5887
  };
5890
- };
5891
- } | {
5892
- output: {
5893
- error: string;
5888
+ once?: {
5889
+ dueAt: string;
5890
+ timeZone: string;
5891
+ resolvedInstant: string;
5892
+ note: string;
5893
+ } | undefined;
5894
5894
  };
5895
5895
  outputFormat: "json";
5896
- status: 400 | 404 | 409;
5896
+ status: 201;
5897
5897
  input: {
5898
5898
  json: {
5899
5899
  name: string;
@@ -5965,6 +5965,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5965
5965
  } & {
5966
5966
  "/automations/:id": {
5967
5967
  $get: {
5968
+ output: {
5969
+ error: string;
5970
+ };
5971
+ outputFormat: "json";
5972
+ status: 400 | 404 | 409;
5973
+ input: {
5974
+ param: {
5975
+ id: string;
5976
+ };
5977
+ };
5978
+ } | {
5968
5979
  output: {
5969
5980
  automation: {
5970
5981
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6118,35 +6129,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6118
6129
  id: string;
6119
6130
  };
6120
6131
  };
6121
- } | {
6122
- output: {
6123
- error: string;
6124
- };
6125
- outputFormat: "json";
6126
- status: 400 | 404 | 409;
6127
- input: {
6128
- param: {
6129
- id: string;
6130
- };
6131
- };
6132
6132
  };
6133
6133
  };
6134
6134
  } & {
6135
6135
  "/automations/:id": {
6136
6136
  $put: {
6137
6137
  output: {
6138
- automation: {
6139
- [x: string]: import("hono/utils/types").JSONValue;
6140
- id: string;
6141
- revision: number;
6138
+ error: string;
6139
+ };
6140
+ outputFormat: "json";
6141
+ status: 400 | 404 | 409;
6142
+ input: {
6143
+ json: {
6142
6144
  name: string;
6143
6145
  description?: string | undefined;
6144
- enabled: boolean;
6145
- kind: "github" | "schedule";
6146
+ enabled?: boolean | undefined;
6147
+ kind?: "github" | "schedule" | undefined;
6146
6148
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6147
6149
  intervalSeconds?: number | undefined;
6148
6150
  filters?: {
6149
- [x: string]: import("hono/utils/types").JSONValue;
6151
+ [x: string]: unknown;
6150
6152
  includeExisting?: boolean | undefined;
6151
6153
  requireCurrentLabels?: boolean | undefined;
6152
6154
  authors?: string[] | undefined;
@@ -6155,11 +6157,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6155
6157
  anyLabels?: string[] | undefined;
6156
6158
  excludeLabels?: string[] | undefined;
6157
6159
  changedLabels?: string[] | undefined;
6158
- lookbackDays: number;
6159
- maxRecords: number;
6160
+ lookbackDays?: number | undefined;
6161
+ maxRecords?: number | undefined;
6160
6162
  } | undefined;
6161
6163
  schedule?: {
6162
- [x: string]: import("hono/utils/types").JSONValue;
6163
6164
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6164
6165
  hour?: number | undefined;
6165
6166
  minute?: number | undefined;
@@ -6170,7 +6171,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6170
6171
  latestStartMinutes?: number | undefined;
6171
6172
  } | undefined;
6172
6173
  task: {
6173
- [x: string]: import("hono/utils/types").JSONValue;
6174
+ [x: string]: unknown;
6174
6175
  prompt: string;
6175
6176
  workflow?: string | undefined;
6176
6177
  steps?: {
@@ -6188,43 +6189,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6188
6189
  command?: string | undefined;
6189
6190
  onFail?: {
6190
6191
  retry: string;
6191
- max: number;
6192
+ max?: number | undefined;
6192
6193
  } | undefined;
6193
6194
  }[] | undefined;
6194
6195
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6195
- model?: string | undefined;
6196
- effort?: string | undefined;
6197
- variants?: 1 | 2 | 3 | undefined;
6198
- worktree?: boolean | undefined;
6199
- autonomous?: boolean | undefined;
6200
- archiveWhenDone?: boolean | undefined;
6201
- autoMergePr?: boolean | undefined;
6202
- systemPrompt?: string | undefined;
6203
- };
6204
- archived?: {
6205
- [x: string]: import("hono/utils/types").JSONValue;
6206
- at: string;
6207
- outcome: "cancelled" | "launched";
6208
- runId?: string | undefined;
6209
- receiptId?: string | undefined;
6210
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6211
- } | undefined;
6212
- createdAt: string;
6213
- updatedAt: string;
6196
+ model?: string | undefined;
6197
+ effort?: string | undefined;
6198
+ worktree?: boolean | undefined;
6199
+ autonomous?: boolean | undefined;
6200
+ archiveWhenDone?: boolean | undefined;
6201
+ autoMergePr?: boolean | undefined;
6202
+ systemPrompt?: string | undefined;
6203
+ variants?: 1 | undefined;
6204
+ };
6205
+ expectedRevision: number;
6206
+ };
6207
+ } & {
6208
+ param: {
6209
+ id: string;
6214
6210
  };
6215
6211
  };
6216
- outputFormat: "json";
6217
- status: import("hono/utils/http-status").ContentfulStatusCode;
6218
- input: {
6219
- json: {
6212
+ } | {
6213
+ output: {
6214
+ automation: {
6215
+ [x: string]: import("hono/utils/types").JSONValue;
6216
+ id: string;
6217
+ revision: number;
6220
6218
  name: string;
6221
6219
  description?: string | undefined;
6222
- enabled?: boolean | undefined;
6223
- kind?: "github" | "schedule" | undefined;
6220
+ enabled: boolean;
6221
+ kind: "github" | "schedule";
6224
6222
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6225
6223
  intervalSeconds?: number | undefined;
6226
6224
  filters?: {
6227
- [x: string]: unknown;
6225
+ [x: string]: import("hono/utils/types").JSONValue;
6228
6226
  includeExisting?: boolean | undefined;
6229
6227
  requireCurrentLabels?: boolean | undefined;
6230
6228
  authors?: string[] | undefined;
@@ -6233,10 +6231,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6233
6231
  anyLabels?: string[] | undefined;
6234
6232
  excludeLabels?: string[] | undefined;
6235
6233
  changedLabels?: string[] | undefined;
6236
- lookbackDays?: number | undefined;
6237
- maxRecords?: number | undefined;
6234
+ lookbackDays: number;
6235
+ maxRecords: number;
6238
6236
  } | undefined;
6239
6237
  schedule?: {
6238
+ [x: string]: import("hono/utils/types").JSONValue;
6240
6239
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6241
6240
  hour?: number | undefined;
6242
6241
  minute?: number | undefined;
@@ -6247,7 +6246,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6247
6246
  latestStartMinutes?: number | undefined;
6248
6247
  } | undefined;
6249
6248
  task: {
6250
- [x: string]: unknown;
6249
+ [x: string]: import("hono/utils/types").JSONValue;
6251
6250
  prompt: string;
6252
6251
  workflow?: string | undefined;
6253
6252
  steps?: {
@@ -6265,32 +6264,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6265
6264
  command?: string | undefined;
6266
6265
  onFail?: {
6267
6266
  retry: string;
6268
- max?: number | undefined;
6267
+ max: number;
6269
6268
  } | undefined;
6270
6269
  }[] | undefined;
6271
6270
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6272
6271
  model?: string | undefined;
6273
6272
  effort?: string | undefined;
6273
+ variants?: 1 | 2 | 3 | undefined;
6274
6274
  worktree?: boolean | undefined;
6275
6275
  autonomous?: boolean | undefined;
6276
6276
  archiveWhenDone?: boolean | undefined;
6277
6277
  autoMergePr?: boolean | undefined;
6278
6278
  systemPrompt?: string | undefined;
6279
- variants?: 1 | undefined;
6280
6279
  };
6281
- expectedRevision: number;
6282
- };
6283
- } & {
6284
- param: {
6285
- id: string;
6280
+ archived?: {
6281
+ [x: string]: import("hono/utils/types").JSONValue;
6282
+ at: string;
6283
+ outcome: "cancelled" | "launched";
6284
+ runId?: string | undefined;
6285
+ receiptId?: string | undefined;
6286
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6287
+ } | undefined;
6288
+ createdAt: string;
6289
+ updatedAt: string;
6286
6290
  };
6287
6291
  };
6288
- } | {
6289
- output: {
6290
- error: string;
6291
- };
6292
6292
  outputFormat: "json";
6293
- status: 400 | 404 | 409;
6293
+ status: import("hono/utils/http-status").ContentfulStatusCode;
6294
6294
  input: {
6295
6295
  json: {
6296
6296
  name: string;
@@ -6390,6 +6390,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6390
6390
  } & {
6391
6391
  "/automations/:id/enable": {
6392
6392
  $post: {
6393
+ output: {
6394
+ error: string;
6395
+ };
6396
+ outputFormat: "json";
6397
+ status: 400 | 404 | 409;
6398
+ input: {
6399
+ param: {
6400
+ id: string;
6401
+ };
6402
+ };
6403
+ } | {
6393
6404
  output: {
6394
6405
  automation: {
6395
6406
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6476,7 +6487,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6476
6487
  id: string;
6477
6488
  };
6478
6489
  };
6479
- } | {
6490
+ };
6491
+ };
6492
+ } & {
6493
+ "/automations/:id/pause": {
6494
+ $post: {
6480
6495
  output: {
6481
6496
  error: string;
6482
6497
  };
@@ -6487,11 +6502,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6487
6502
  id: string;
6488
6503
  };
6489
6504
  };
6490
- };
6491
- };
6492
- } & {
6493
- "/automations/:id/pause": {
6494
- $post: {
6505
+ } | {
6495
6506
  output: {
6496
6507
  automation: {
6497
6508
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6578,7 +6589,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6578
6589
  id: string;
6579
6590
  };
6580
6591
  };
6581
- } | {
6592
+ };
6593
+ };
6594
+ } & {
6595
+ "/automations/:id/cancel": {
6596
+ $post: {
6582
6597
  output: {
6583
6598
  error: string;
6584
6599
  };
@@ -6589,11 +6604,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6589
6604
  id: string;
6590
6605
  };
6591
6606
  };
6592
- };
6593
- };
6594
- } & {
6595
- "/automations/:id/cancel": {
6596
- $post: {
6607
+ } | {
6597
6608
  output: {
6598
6609
  automation: {
6599
6610
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6680,27 +6691,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6680
6691
  id: string;
6681
6692
  };
6682
6693
  };
6683
- } | {
6684
- output: {
6685
- error: string;
6686
- };
6687
- outputFormat: "json";
6688
- status: 400 | 404 | 409;
6689
- input: {
6690
- param: {
6691
- id: string;
6692
- };
6693
- };
6694
6694
  };
6695
6695
  };
6696
6696
  } & {
6697
6697
  "/automations/:id/run": {
6698
6698
  $post: {
6699
6699
  output: {
6700
- runId: string;
6700
+ error: string;
6701
6701
  };
6702
6702
  outputFormat: "json";
6703
- status: 202;
6703
+ status: 400 | 404 | 409;
6704
6704
  input: {
6705
6705
  param: {
6706
6706
  id: string;
@@ -6708,10 +6708,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6708
6708
  };
6709
6709
  } | {
6710
6710
  output: {
6711
- error: string;
6711
+ runId: string;
6712
6712
  };
6713
6713
  outputFormat: "json";
6714
- status: 400 | 404 | 409;
6714
+ status: 202;
6715
6715
  input: {
6716
6716
  param: {
6717
6717
  id: string;
@@ -6723,10 +6723,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6723
6723
  "/automations/:id/check": {
6724
6724
  $post: {
6725
6725
  output: {
6726
- checkId: string;
6726
+ error: string;
6727
6727
  };
6728
6728
  outputFormat: "json";
6729
- status: 202;
6729
+ status: 404;
6730
6730
  input: {
6731
6731
  json: {
6732
6732
  mode: "execute" | "preview";
@@ -6741,7 +6741,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6741
6741
  error: string;
6742
6742
  };
6743
6743
  outputFormat: "json";
6744
- status: 404;
6744
+ status: 409;
6745
6745
  input: {
6746
6746
  json: {
6747
6747
  mode: "execute" | "preview";
@@ -6753,10 +6753,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6753
6753
  };
6754
6754
  } | {
6755
6755
  output: {
6756
- error: string;
6756
+ checkId: string;
6757
6757
  };
6758
6758
  outputFormat: "json";
6759
- status: 409;
6759
+ status: 202;
6760
6760
  input: {
6761
6761
  json: {
6762
6762
  mode: "execute" | "preview";
@@ -6830,11 +6830,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6830
6830
  "/automation-log/:receiptId/retry": {
6831
6831
  $post: {
6832
6832
  output: {
6833
- receiptId: string;
6834
- runId: string;
6833
+ error: string;
6835
6834
  };
6836
6835
  outputFormat: "json";
6837
- status: 202;
6836
+ status: 404;
6838
6837
  input: {
6839
6838
  param: {
6840
6839
  receiptId: string;
@@ -6845,7 +6844,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6845
6844
  error: string;
6846
6845
  };
6847
6846
  outputFormat: "json";
6848
- status: 404;
6847
+ status: 409;
6849
6848
  input: {
6850
6849
  param: {
6851
6850
  receiptId: string;
@@ -6853,10 +6852,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6853
6852
  };
6854
6853
  } | {
6855
6854
  output: {
6856
- error: string;
6855
+ receiptId: string;
6856
+ runId: string;
6857
6857
  };
6858
6858
  outputFormat: "json";
6859
- status: 409;
6859
+ status: 202;
6860
6860
  input: {
6861
6861
  param: {
6862
6862
  receiptId: string;
@@ -7708,18 +7708,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7708
7708
  } & {
7709
7709
  "/run-summaries": {
7710
7710
  $get: {
7711
- output: {
7712
- error: string;
7713
- code?: "invalid_input" | undefined;
7714
- };
7715
- outputFormat: "json";
7716
- status: 400;
7717
- input: {
7718
- query: {
7719
- archived?: "all" | "recent" | undefined;
7720
- };
7721
- };
7722
- } | {
7723
7711
  output: {
7724
7712
  id: string;
7725
7713
  title: string;
@@ -7844,6 +7832,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7844
7832
  archived?: "all" | "recent" | undefined;
7845
7833
  };
7846
7834
  };
7835
+ } | {
7836
+ output: {
7837
+ error: string;
7838
+ code?: "invalid_input" | undefined;
7839
+ };
7840
+ outputFormat: "json";
7841
+ status: 400;
7842
+ input: {
7843
+ query: {
7844
+ archived?: "all" | "recent" | undefined;
7845
+ };
7846
+ };
7847
7847
  };
7848
7848
  };
7849
7849
  } & {
@@ -8170,20 +8170,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8170
8170
  "/runs/:id/worker-destroy": {
8171
8171
  $post: {
8172
8172
  output: {
8173
- workerId: string;
8174
- state: "complete" | "incomplete";
8175
- deleted?: ({
8176
- kind: "worktree";
8177
- path: string;
8178
- } | {
8179
- kind: "branch";
8180
- ref: string;
8181
- })[] | undefined;
8182
- remaining: ("branch" | "process" | "worktree")[];
8183
- error?: string | undefined;
8173
+ error: string;
8174
+ code?: "invalid_input" | undefined;
8184
8175
  };
8185
8176
  outputFormat: "json";
8186
- status: 200;
8177
+ status: 400;
8187
8178
  input: {
8188
8179
  query: {
8189
8180
  [x: string]: string | string[];
@@ -8197,11 +8188,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8197
8188
  };
8198
8189
  } | {
8199
8190
  output: {
8200
- error: string;
8201
- code?: "invalid_input" | undefined;
8191
+ workerId: string;
8192
+ state: "complete" | "incomplete";
8193
+ deleted?: ({
8194
+ kind: "worktree";
8195
+ path: string;
8196
+ } | {
8197
+ kind: "branch";
8198
+ ref: string;
8199
+ })[] | undefined;
8200
+ remaining: ("branch" | "process" | "worktree")[];
8201
+ error?: string | undefined;
8202
8202
  };
8203
8203
  outputFormat: "json";
8204
- status: 400;
8204
+ status: 200;
8205
8205
  input: {
8206
8206
  query: {
8207
8207
  [x: string]: string | string[];
@@ -8307,21 +8307,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8307
8307
  } & {
8308
8308
  "/runs/:id/archive": {
8309
8309
  $post: {
8310
- output: {
8311
- error: string;
8312
- };
8313
- outputFormat: "json";
8314
- status: 404;
8315
- input: {
8316
- json: {
8317
- archived?: boolean | undefined;
8318
- };
8319
- } & {
8320
- param: {
8321
- id: string;
8322
- };
8323
- };
8324
- } | {
8325
8310
  output: {
8326
8311
  id: string;
8327
8312
  title: string;
@@ -9159,32 +9144,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9159
9144
  id: string;
9160
9145
  };
9161
9146
  };
9162
- };
9163
- };
9164
- } & {
9165
- "/runs/:id/pin": {
9166
- $post: {
9147
+ } | {
9167
9148
  output: {
9168
9149
  error: string;
9169
- code?: "invalid_input" | undefined;
9170
9150
  };
9171
9151
  outputFormat: "json";
9172
- status: 400;
9152
+ status: 404;
9173
9153
  input: {
9174
- param: {
9175
- id: string;
9154
+ json: {
9155
+ archived?: boolean | undefined;
9176
9156
  };
9177
9157
  } & {
9178
- json: {
9179
- pinned?: boolean | undefined;
9158
+ param: {
9159
+ id: string;
9180
9160
  };
9181
9161
  };
9182
- } | {
9162
+ };
9163
+ };
9164
+ } & {
9165
+ "/runs/:id/pin": {
9166
+ $post: {
9183
9167
  output: {
9184
9168
  error: string;
9169
+ code?: "invalid_input" | undefined;
9185
9170
  };
9186
9171
  outputFormat: "json";
9187
- status: 404;
9172
+ status: 400;
9188
9173
  input: {
9189
9174
  param: {
9190
9175
  id: string;
@@ -10032,49 +10017,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10032
10017
  pinned?: boolean | undefined;
10033
10018
  };
10034
10019
  };
10035
- };
10036
- };
10037
- } & {
10038
- "/runs/:id/notify": {
10039
- $post: {
10040
- output: {
10041
- error: string;
10042
- code?: "invalid_input" | undefined;
10043
- };
10044
- outputFormat: "json";
10045
- status: 400;
10046
- input: {
10047
- param: {
10048
- id: string;
10049
- };
10050
- } & {
10051
- json: {
10052
- notify: boolean;
10053
- message?: string | undefined;
10054
- };
10055
- };
10056
10020
  } | {
10057
10021
  output: {
10058
10022
  error: string;
10059
10023
  };
10060
10024
  outputFormat: "json";
10061
- status: 400;
10025
+ status: 404;
10062
10026
  input: {
10063
10027
  param: {
10064
10028
  id: string;
10065
10029
  };
10066
10030
  } & {
10067
10031
  json: {
10068
- notify: boolean;
10069
- message?: string | undefined;
10032
+ pinned?: boolean | undefined;
10070
10033
  };
10071
10034
  };
10072
- } | {
10035
+ };
10036
+ };
10037
+ } & {
10038
+ "/runs/:id/notify": {
10039
+ $post: {
10073
10040
  output: {
10074
10041
  error: string;
10042
+ code?: "invalid_input" | undefined;
10075
10043
  };
10076
10044
  outputFormat: "json";
10077
- status: 404;
10045
+ status: 400;
10078
10046
  input: {
10079
10047
  param: {
10080
10048
  id: string;
@@ -10924,11 +10892,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10924
10892
  message?: string | undefined;
10925
10893
  };
10926
10894
  };
10927
- };
10928
- };
10929
- } & {
10930
- "/runs/:id/auto-resume": {
10931
- $delete: {
10895
+ } | {
10932
10896
  output: {
10933
10897
  error: string;
10934
10898
  };
@@ -10938,23 +10902,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10938
10902
  param: {
10939
10903
  id: string;
10940
10904
  };
10905
+ } & {
10906
+ json: {
10907
+ notify: boolean;
10908
+ message?: string | undefined;
10909
+ };
10941
10910
  };
10942
10911
  } | {
10943
10912
  output: {
10944
- cancelled: true;
10913
+ error: string;
10945
10914
  };
10946
10915
  outputFormat: "json";
10947
- status: import("hono/utils/http-status").ContentfulStatusCode;
10916
+ status: 400;
10948
10917
  input: {
10949
10918
  param: {
10950
10919
  id: string;
10951
10920
  };
10921
+ } & {
10922
+ json: {
10923
+ notify: boolean;
10924
+ message?: string | undefined;
10925
+ };
10952
10926
  };
10953
10927
  };
10954
10928
  };
10955
10929
  } & {
10956
- "/runs/:id/read": {
10957
- $post: {
10930
+ "/runs/:id/auto-resume": {
10931
+ $delete: {
10958
10932
  output: {
10959
10933
  error: string;
10960
10934
  };
@@ -10966,6 +10940,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10966
10940
  };
10967
10941
  };
10968
10942
  } | {
10943
+ output: {
10944
+ cancelled: true;
10945
+ };
10946
+ outputFormat: "json";
10947
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10948
+ input: {
10949
+ param: {
10950
+ id: string;
10951
+ };
10952
+ };
10953
+ };
10954
+ };
10955
+ } & {
10956
+ "/runs/:id/read": {
10957
+ $post: {
10969
10958
  output: {
10970
10959
  id: string;
10971
10960
  title: string;
@@ -11799,11 +11788,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11799
11788
  id: string;
11800
11789
  };
11801
11790
  };
11802
- };
11803
- };
11804
- } & {
11805
- "/runs/:id/unread": {
11806
- $post: {
11791
+ } | {
11807
11792
  output: {
11808
11793
  error: string;
11809
11794
  };
@@ -11814,7 +11799,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11814
11799
  id: string;
11815
11800
  };
11816
11801
  };
11817
- } | {
11802
+ };
11803
+ };
11804
+ } & {
11805
+ "/runs/:id/unread": {
11806
+ $post: {
11818
11807
  output: {
11819
11808
  id: string;
11820
11809
  title: string;
@@ -12648,6 +12637,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12648
12637
  id: string;
12649
12638
  };
12650
12639
  };
12640
+ } | {
12641
+ output: {
12642
+ error: string;
12643
+ };
12644
+ outputFormat: "json";
12645
+ status: 404;
12646
+ input: {
12647
+ param: {
12648
+ id: string;
12649
+ };
12650
+ };
12651
12651
  };
12652
12652
  };
12653
12653
  } & {
@@ -13572,17 +13572,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13572
13572
  } & {
13573
13573
  "/runs/:id": {
13574
13574
  $get: {
13575
- output: {
13576
- error: string;
13577
- };
13578
- outputFormat: "json";
13579
- status: 404;
13580
- input: {
13581
- param: {
13582
- id: string;
13583
- };
13584
- };
13585
- } | {
13586
13575
  output: {
13587
13576
  id: string;
13588
13577
  title: string;
@@ -14423,6 +14412,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14423
14412
  id: string;
14424
14413
  };
14425
14414
  };
14415
+ } | {
14416
+ output: {
14417
+ error: string;
14418
+ };
14419
+ outputFormat: "json";
14420
+ status: 404;
14421
+ input: {
14422
+ param: {
14423
+ id: string;
14424
+ };
14425
+ };
14426
14426
  };
14427
14427
  };
14428
14428
  } & {
@@ -14550,60 +14550,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14550
14550
  } & {
14551
14551
  "/runs/:id": {
14552
14552
  $patch: {
14553
- output: {
14554
- error: string;
14555
- };
14556
- outputFormat: "json";
14557
- status: 400;
14558
- input: {
14559
- json: {
14560
- title?: string | undefined;
14561
- task?: string | undefined;
14562
- archiveWhenDone?: boolean | undefined;
14563
- autoMergePr?: boolean | undefined;
14564
- };
14565
- } & {
14566
- param: {
14567
- id: string;
14568
- };
14569
- };
14570
- } | {
14571
- output: {
14572
- error: string;
14573
- };
14574
- outputFormat: "json";
14575
- status: 404;
14576
- input: {
14577
- json: {
14578
- title?: string | undefined;
14579
- task?: string | undefined;
14580
- archiveWhenDone?: boolean | undefined;
14581
- autoMergePr?: boolean | undefined;
14582
- };
14583
- } & {
14584
- param: {
14585
- id: string;
14586
- };
14587
- };
14588
- } | {
14589
- output: {
14590
- error: string;
14591
- };
14592
- outputFormat: "json";
14593
- status: 409;
14594
- input: {
14595
- json: {
14596
- title?: string | undefined;
14597
- task?: string | undefined;
14598
- archiveWhenDone?: boolean | undefined;
14599
- autoMergePr?: boolean | undefined;
14600
- };
14601
- } & {
14602
- param: {
14603
- id: string;
14604
- };
14605
- };
14606
- } | {
14607
14553
  output: {
14608
14554
  id: string;
14609
14555
  title: string;
@@ -15444,6 +15390,60 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15444
15390
  id: string;
15445
15391
  };
15446
15392
  };
15393
+ } | {
15394
+ output: {
15395
+ error: string;
15396
+ };
15397
+ outputFormat: "json";
15398
+ status: 404;
15399
+ input: {
15400
+ json: {
15401
+ title?: string | undefined;
15402
+ task?: string | undefined;
15403
+ archiveWhenDone?: boolean | undefined;
15404
+ autoMergePr?: boolean | undefined;
15405
+ };
15406
+ } & {
15407
+ param: {
15408
+ id: string;
15409
+ };
15410
+ };
15411
+ } | {
15412
+ output: {
15413
+ error: string;
15414
+ };
15415
+ outputFormat: "json";
15416
+ status: 400;
15417
+ input: {
15418
+ json: {
15419
+ title?: string | undefined;
15420
+ task?: string | undefined;
15421
+ archiveWhenDone?: boolean | undefined;
15422
+ autoMergePr?: boolean | undefined;
15423
+ };
15424
+ } & {
15425
+ param: {
15426
+ id: string;
15427
+ };
15428
+ };
15429
+ } | {
15430
+ output: {
15431
+ error: string;
15432
+ };
15433
+ outputFormat: "json";
15434
+ status: 409;
15435
+ input: {
15436
+ json: {
15437
+ title?: string | undefined;
15438
+ task?: string | undefined;
15439
+ archiveWhenDone?: boolean | undefined;
15440
+ autoMergePr?: boolean | undefined;
15441
+ };
15442
+ } & {
15443
+ param: {
15444
+ id: string;
15445
+ };
15446
+ };
15447
15447
  };
15448
15448
  };
15449
15449
  } & {
@@ -15548,7 +15548,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15548
15548
  error: string;
15549
15549
  };
15550
15550
  outputFormat: "json";
15551
- status: 400;
15551
+ status: 404;
15552
15552
  input: {
15553
15553
  json: {
15554
15554
  text?: string | undefined;
@@ -15567,7 +15567,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15567
15567
  error: string;
15568
15568
  };
15569
15569
  outputFormat: "json";
15570
- status: 404;
15570
+ status: 409;
15571
15571
  input: {
15572
15572
  json: {
15573
15573
  text?: string | undefined;
@@ -15583,10 +15583,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15583
15583
  };
15584
15584
  } | {
15585
15585
  output: {
15586
- error: string;
15586
+ delivered: true;
15587
15587
  };
15588
15588
  outputFormat: "json";
15589
- status: 409;
15589
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15590
15590
  input: {
15591
15591
  json: {
15592
15592
  text?: string | undefined;
@@ -15602,10 +15602,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15602
15602
  };
15603
15603
  } | {
15604
15604
  output: {
15605
- delivered: true;
15605
+ error: string;
15606
15606
  };
15607
15607
  outputFormat: "json";
15608
- status: import("hono/utils/http-status").ContentfulStatusCode;
15608
+ status: 400;
15609
15609
  input: {
15610
15610
  json: {
15611
15611
  text?: string | undefined;
@@ -15672,7 +15672,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15672
15672
  error: string;
15673
15673
  };
15674
15674
  outputFormat: "json";
15675
- status: 400;
15675
+ status: 404;
15676
15676
  input: {
15677
15677
  json: {
15678
15678
  text?: string | undefined;
@@ -15693,7 +15693,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15693
15693
  error: string;
15694
15694
  };
15695
15695
  outputFormat: "json";
15696
- status: 404;
15696
+ status: 400;
15697
15697
  input: {
15698
15698
  json: {
15699
15699
  text?: string | undefined;
@@ -15845,7 +15845,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15845
15845
  error: string;
15846
15846
  };
15847
15847
  outputFormat: "json";
15848
- status: 400;
15848
+ status: 404;
15849
15849
  input: {
15850
15850
  json: {
15851
15851
  text?: string | undefined;
@@ -15868,7 +15868,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15868
15868
  error: string;
15869
15869
  };
15870
15870
  outputFormat: "json";
15871
- status: 404;
15871
+ status: 400;
15872
15872
  input: {
15873
15873
  json: {
15874
15874
  text?: string | undefined;
@@ -15979,7 +15979,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15979
15979
  error: string;
15980
15980
  };
15981
15981
  outputFormat: "json";
15982
- status: 400;
15982
+ status: 404;
15983
15983
  input: {
15984
15984
  json: {
15985
15985
  target: string;
@@ -15995,7 +15995,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15995
15995
  error: string;
15996
15996
  };
15997
15997
  outputFormat: "json";
15998
- status: 404;
15998
+ status: 409;
15999
15999
  input: {
16000
16000
  json: {
16001
16001
  target: string;
@@ -16011,7 +16011,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16011
16011
  error: string;
16012
16012
  };
16013
16013
  outputFormat: "json";
16014
- status: 409;
16014
+ status: 400;
16015
16015
  input: {
16016
16016
  json: {
16017
16017
  target: string;
@@ -16068,12 +16068,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16068
16068
  } & {
16069
16069
  "/runs/:id/images/:file": {
16070
16070
  $get: {
16071
- output: {
16072
- error: string;
16073
- code?: "invalid_input" | undefined;
16074
- };
16075
- outputFormat: "json";
16076
- status: 400;
16071
+ output: {};
16072
+ outputFormat: string;
16073
+ status: import("hono/utils/http-status").StatusCode;
16077
16074
  input: {
16078
16075
  param: {
16079
16076
  id: string;
@@ -16081,9 +16078,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16081
16078
  };
16082
16079
  };
16083
16080
  } | {
16084
- output: {};
16085
- outputFormat: string;
16086
- status: import("hono/utils/http-status").StatusCode;
16081
+ output: {
16082
+ error: string;
16083
+ code?: "invalid_input" | undefined;
16084
+ };
16085
+ outputFormat: "json";
16086
+ status: 400;
16087
16087
  input: {
16088
16088
  param: {
16089
16089
  id: string;
@@ -16095,11 +16095,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16095
16095
  } & {
16096
16096
  "/runs/:id/diff": {
16097
16097
  $get: {
16098
- output: {
16099
- error: string;
16100
- };
16101
- outputFormat: "json";
16102
- status: 404;
16098
+ output: string;
16099
+ outputFormat: "text";
16100
+ status: import("hono/utils/http-status").ContentfulStatusCode;
16103
16101
  input: {
16104
16102
  param: {
16105
16103
  id: string;
@@ -16110,16 +16108,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16110
16108
  error: string;
16111
16109
  };
16112
16110
  outputFormat: "json";
16113
- status: 409;
16111
+ status: 404;
16114
16112
  input: {
16115
16113
  param: {
16116
16114
  id: string;
16117
16115
  };
16118
16116
  };
16119
16117
  } | {
16120
- output: string;
16121
- outputFormat: "text";
16122
- status: import("hono/utils/http-status").ContentfulStatusCode;
16118
+ output: {
16119
+ error: string;
16120
+ };
16121
+ outputFormat: "json";
16122
+ status: 409;
16123
16123
  input: {
16124
16124
  param: {
16125
16125
  id: string;
@@ -16450,18 +16450,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16450
16450
  artifactId: string;
16451
16451
  };
16452
16452
  };
16453
- } | {
16454
- output: {
16455
- error: string;
16456
- };
16457
- outputFormat: "json";
16458
- status: 404;
16459
- input: {
16460
- param: {
16461
- id: string;
16462
- artifactId: string;
16463
- };
16464
- };
16465
16453
  } | {
16466
16454
  output: {
16467
16455
  type: "file";
@@ -16490,6 +16478,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16490
16478
  artifactId: string;
16491
16479
  };
16492
16480
  };
16481
+ } | {
16482
+ output: {
16483
+ error: string;
16484
+ };
16485
+ outputFormat: "json";
16486
+ status: 404;
16487
+ input: {
16488
+ param: {
16489
+ id: string;
16490
+ artifactId: string;
16491
+ };
16492
+ };
16493
16493
  };
16494
16494
  };
16495
16495
  } & {
@@ -16836,11 +16836,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16836
16836
  "/runs/:id/pr": {
16837
16837
  $post: {
16838
16838
  output: {
16839
- url: string;
16840
- dryRun: boolean;
16839
+ error: string;
16841
16840
  };
16842
16841
  outputFormat: "json";
16843
- status: 201;
16842
+ status: 404;
16844
16843
  input: {
16845
16844
  param: {
16846
16845
  id: string;
@@ -16851,7 +16850,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16851
16850
  error: string;
16852
16851
  };
16853
16852
  outputFormat: "json";
16854
- status: 400;
16853
+ status: 409;
16855
16854
  input: {
16856
16855
  param: {
16857
16856
  id: string;
@@ -16862,7 +16861,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16862
16861
  error: string;
16863
16862
  };
16864
16863
  outputFormat: "json";
16865
- status: 404;
16864
+ status: 400;
16866
16865
  input: {
16867
16866
  param: {
16868
16867
  id: string;
@@ -16870,10 +16869,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16870
16869
  };
16871
16870
  } | {
16872
16871
  output: {
16873
- error: string;
16872
+ url: string;
16873
+ dryRun: boolean;
16874
16874
  };
16875
16875
  outputFormat: "json";
16876
- status: 409;
16876
+ status: 201;
16877
16877
  input: {
16878
16878
  param: {
16879
16879
  id: string;
@@ -16925,7 +16925,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16925
16925
  error: string;
16926
16926
  };
16927
16927
  outputFormat: "json";
16928
- status: 404;
16928
+ status: 409;
16929
16929
  input: {
16930
16930
  param: {
16931
16931
  id: string;
@@ -16936,7 +16936,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16936
16936
  error: string;
16937
16937
  };
16938
16938
  outputFormat: "json";
16939
- status: 409;
16939
+ status: 404;
16940
16940
  input: {
16941
16941
  param: {
16942
16942
  id: string;
@@ -17033,7 +17033,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17033
17033
  error: string;
17034
17034
  };
17035
17035
  outputFormat: "json";
17036
- status: 400;
17036
+ status: 409;
17037
17037
  input: {
17038
17038
  query: {
17039
17039
  q?: string | undefined;
@@ -17046,7 +17046,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17046
17046
  error: string;
17047
17047
  };
17048
17048
  outputFormat: "json";
17049
- status: 409;
17049
+ status: 400;
17050
17050
  input: {
17051
17051
  query: {
17052
17052
  q?: string | undefined;
@@ -17083,6 +17083,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17083
17083
  }, "/"> | import("hono/types").MergeSchemaPath<{
17084
17084
  "/voice/decide": {
17085
17085
  $post: {
17086
+ output: {
17087
+ error: string;
17088
+ };
17089
+ outputFormat: "json";
17090
+ status: 503;
17091
+ input: {
17092
+ json: {
17093
+ text: string;
17094
+ sidebarView: "active" | "automations";
17095
+ openRunId?: string | undefined;
17096
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
17097
+ askRequestId?: string | null | undefined;
17098
+ proposal?: {
17099
+ decisionId: string;
17100
+ action: "answer" | "tell";
17101
+ } | undefined;
17102
+ };
17103
+ };
17104
+ } | {
17086
17105
  output: {
17087
17106
  action: "open";
17088
17107
  decisionId: string;
@@ -17140,25 +17159,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17140
17159
  } | undefined;
17141
17160
  };
17142
17161
  };
17143
- } | {
17144
- output: {
17145
- error: string;
17146
- };
17147
- outputFormat: "json";
17148
- status: 503;
17149
- input: {
17150
- json: {
17151
- text: string;
17152
- sidebarView: "active" | "automations";
17153
- openRunId?: string | undefined;
17154
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
17155
- askRequestId?: string | null | undefined;
17156
- proposal?: {
17157
- decisionId: string;
17158
- action: "answer" | "tell";
17159
- } | undefined;
17160
- };
17161
- };
17162
17162
  };
17163
17163
  };
17164
17164
  } & {
@@ -17376,7 +17376,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17376
17376
  error: string;
17377
17377
  };
17378
17378
  outputFormat: "json";
17379
- status: 400;
17379
+ status: 409;
17380
17380
  input: {
17381
17381
  json: {
17382
17382
  target: string;
@@ -17387,7 +17387,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17387
17387
  error: string;
17388
17388
  };
17389
17389
  outputFormat: "json";
17390
- status: 409;
17390
+ status: 400;
17391
17391
  input: {
17392
17392
  json: {
17393
17393
  target: string;
@@ -17410,12 +17410,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17410
17410
  }, "/"> | import("hono/types").MergeSchemaPath<{
17411
17411
  "/runs/:id/events": {
17412
17412
  $get: {
17413
- output: {
17414
- error: string;
17415
- code?: "invalid_input" | undefined;
17416
- };
17417
- outputFormat: "json";
17418
- status: 400;
17413
+ output: {};
17414
+ outputFormat: string;
17415
+ status: import("hono/utils/http-status").StatusCode;
17419
17416
  input: {
17420
17417
  param: {
17421
17418
  id: string;
@@ -17427,9 +17424,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17427
17424
  };
17428
17425
  };
17429
17426
  } | {
17430
- output: {};
17431
- outputFormat: string;
17432
- status: import("hono/utils/http-status").StatusCode;
17427
+ output: {
17428
+ error: string;
17429
+ code?: "invalid_input" | undefined;
17430
+ };
17431
+ outputFormat: "json";
17432
+ status: 400;
17433
17433
  input: {
17434
17434
  param: {
17435
17435
  id: string;
@@ -17490,10 +17490,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17490
17490
  "/config": {
17491
17491
  $put: {
17492
17492
  output: {
17493
- error: string;
17493
+ archiveOnMerge: boolean | null;
17494
+ effectiveArchiveOnMerge: boolean;
17495
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
17496
+ baseBranch: string | null;
17497
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
17498
+ systemPrompt: string | null;
17499
+ defaultModels: {
17500
+ claude?: string | undefined;
17501
+ codex?: string | undefined;
17502
+ opencode?: string | undefined;
17503
+ pi?: string | undefined;
17504
+ cursor?: string | undefined;
17505
+ omp?: string | undefined;
17506
+ };
17507
+ modelsLocked: boolean;
17508
+ maxParallel: number;
17509
+ memoryLimitMb: number | null;
17510
+ worktreeRetention: number;
17511
+ liveTitleUpdates: boolean | null;
17512
+ reviewGate: boolean | null;
17513
+ worktreeSetup: {
17514
+ commands: string[];
17515
+ timeoutSeconds: number;
17516
+ } | null;
17517
+ worktreeSetupIssue: string | null;
17494
17518
  };
17495
17519
  outputFormat: "json";
17496
- status: 409;
17520
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17497
17521
  input: {
17498
17522
  json: {
17499
17523
  archiveOnMerge?: boolean | null | undefined;
@@ -17524,7 +17548,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17524
17548
  error: string;
17525
17549
  };
17526
17550
  outputFormat: "json";
17527
- status: 500;
17551
+ status: 409;
17528
17552
  input: {
17529
17553
  json: {
17530
17554
  archiveOnMerge?: boolean | null | undefined;
@@ -17552,34 +17576,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17552
17576
  };
17553
17577
  } | {
17554
17578
  output: {
17555
- archiveOnMerge: boolean | null;
17556
- effectiveArchiveOnMerge: boolean;
17557
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
17558
- baseBranch: string | null;
17559
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
17560
- systemPrompt: string | null;
17561
- defaultModels: {
17562
- claude?: string | undefined;
17563
- codex?: string | undefined;
17564
- opencode?: string | undefined;
17565
- pi?: string | undefined;
17566
- cursor?: string | undefined;
17567
- omp?: string | undefined;
17568
- };
17569
- modelsLocked: boolean;
17570
- maxParallel: number;
17571
- memoryLimitMb: number | null;
17572
- worktreeRetention: number;
17573
- liveTitleUpdates: boolean | null;
17574
- reviewGate: boolean | null;
17575
- worktreeSetup: {
17576
- commands: string[];
17577
- timeoutSeconds: number;
17578
- } | null;
17579
- worktreeSetupIssue: string | null;
17579
+ error: string;
17580
17580
  };
17581
17581
  outputFormat: "json";
17582
- status: import("hono/utils/http-status").ContentfulStatusCode;
17582
+ status: 500;
17583
17583
  input: {
17584
17584
  json: {
17585
17585
  archiveOnMerge?: boolean | null | undefined;
@@ -17693,18 +17693,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17693
17693
  }, "/"> | import("hono/types").MergeSchemaPath<{
17694
17694
  "/skills": {
17695
17695
  $get: {
17696
- output: {
17697
- error: string;
17698
- code?: "invalid_input" | undefined;
17699
- };
17700
- outputFormat: "json";
17701
- status: 400;
17702
- input: {
17703
- query: {
17704
- wait?: string | undefined;
17705
- };
17706
- };
17707
- } | {
17708
17696
  output: {
17709
17697
  name: string;
17710
17698
  description?: string | undefined;
@@ -17727,11 +17715,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17727
17715
  wait?: string | undefined;
17728
17716
  };
17729
17717
  };
17730
- };
17731
- };
17732
- } & {
17733
- "/skills/importable": {
17734
- $get: {
17718
+ } | {
17735
17719
  output: {
17736
17720
  error: string;
17737
17721
  code?: "invalid_input" | undefined;
@@ -17743,7 +17727,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17743
17727
  wait?: string | undefined;
17744
17728
  };
17745
17729
  };
17746
- } | {
17730
+ };
17731
+ };
17732
+ } & {
17733
+ "/skills/importable": {
17734
+ $get: {
17747
17735
  output: {
17748
17736
  name: string;
17749
17737
  description?: string | undefined;
@@ -17766,6 +17754,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17766
17754
  wait?: string | undefined;
17767
17755
  };
17768
17756
  };
17757
+ } | {
17758
+ output: {
17759
+ error: string;
17760
+ code?: "invalid_input" | undefined;
17761
+ };
17762
+ outputFormat: "json";
17763
+ status: 400;
17764
+ input: {
17765
+ query: {
17766
+ wait?: string | undefined;
17767
+ };
17768
+ };
17769
17769
  };
17770
17770
  };
17771
17771
  } & {
@@ -17966,10 +17966,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17966
17966
  "/agent-config/:id": {
17967
17967
  $put: {
17968
17968
  output: {
17969
- error: string;
17969
+ id: string;
17970
+ path: string;
17971
+ exists: boolean;
17972
+ content: string;
17973
+ version: string | null;
17970
17974
  };
17971
17975
  outputFormat: "json";
17972
- status: 404;
17976
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17973
17977
  input: {
17974
17978
  json: {
17975
17979
  content: string;
@@ -17982,14 +17986,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17982
17986
  };
17983
17987
  } | {
17984
17988
  output: {
17985
- id: string;
17986
- path: string;
17987
- exists: boolean;
17988
- content: string;
17989
- version: string | null;
17989
+ error: string;
17990
17990
  };
17991
17991
  outputFormat: "json";
17992
- status: import("hono/utils/http-status").ContentfulStatusCode;
17992
+ status: 404;
17993
17993
  input: {
17994
17994
  json: {
17995
17995
  content: string;
@@ -18060,11 +18060,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18060
18060
  "/workflows": {
18061
18061
  $post: {
18062
18062
  output: {
18063
- path: string;
18064
- name: string;
18063
+ error: string;
18065
18064
  };
18066
18065
  outputFormat: "json";
18067
- status: 201;
18066
+ status: 400;
18068
18067
  input: {
18069
18068
  json: {
18070
18069
  name: string;
@@ -18094,9 +18093,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18094
18093
  } | {
18095
18094
  output: {
18096
18095
  error: string;
18096
+ exists: true;
18097
18097
  };
18098
18098
  outputFormat: "json";
18099
- status: 400;
18099
+ status: 409;
18100
18100
  input: {
18101
18101
  json: {
18102
18102
  name: string;
@@ -18126,10 +18126,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18126
18126
  } | {
18127
18127
  output: {
18128
18128
  error: string;
18129
- exists: true;
18130
18129
  };
18131
18130
  outputFormat: "json";
18132
- status: 409;
18131
+ status: 500;
18133
18132
  input: {
18134
18133
  json: {
18135
18134
  name: string;
@@ -18158,10 +18157,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18158
18157
  };
18159
18158
  } | {
18160
18159
  output: {
18161
- error: string;
18160
+ path: string;
18161
+ name: string;
18162
18162
  };
18163
18163
  outputFormat: "json";
18164
- status: 500;
18164
+ status: 201;
18165
18165
  input: {
18166
18166
  json: {
18167
18167
  name: string;
@@ -18197,7 +18197,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18197
18197
  error: string;
18198
18198
  };
18199
18199
  outputFormat: "json";
18200
- status: 400;
18200
+ status: 404;
18201
18201
  input: {
18202
18202
  param: {
18203
18203
  name: string;
@@ -18208,7 +18208,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18208
18208
  error: string;
18209
18209
  };
18210
18210
  outputFormat: "json";
18211
- status: 404;
18211
+ status: 400;
18212
18212
  input: {
18213
18213
  param: {
18214
18214
  name: string;
@@ -18401,18 +18401,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18401
18401
  "/repo/branches/delete": {
18402
18402
  $post: {
18403
18403
  output: {
18404
- deleted: string[];
18404
+ error: string;
18405
18405
  refused: {
18406
18406
  name: string;
18407
18407
  reason: string;
18408
18408
  }[];
18409
- dropped?: {
18410
- sha: string;
18411
- subject: string;
18412
- }[] | undefined;
18413
18409
  };
18414
18410
  outputFormat: "json";
18415
- status: 200;
18411
+ status: 409;
18416
18412
  input: {
18417
18413
  json: {
18418
18414
  names: string[];
@@ -18421,14 +18417,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18421
18417
  };
18422
18418
  } | {
18423
18419
  output: {
18424
- error: string;
18420
+ deleted: string[];
18425
18421
  refused: {
18426
18422
  name: string;
18427
18423
  reason: string;
18428
18424
  }[];
18425
+ dropped?: {
18426
+ sha: string;
18427
+ subject: string;
18428
+ }[] | undefined;
18429
18429
  };
18430
18430
  outputFormat: "json";
18431
- status: 409;
18431
+ status: 200;
18432
18432
  input: {
18433
18433
  json: {
18434
18434
  names: string[];
@@ -18449,12 +18449,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18449
18449
  } & {
18450
18450
  "/repo/commit/:sha": {
18451
18451
  $get: {
18452
- output: {
18453
- error: string;
18454
- code?: "invalid_input" | undefined;
18455
- };
18456
- outputFormat: "json";
18457
- status: 400;
18452
+ output: string;
18453
+ outputFormat: "text";
18454
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18458
18455
  input: {
18459
18456
  query: {
18460
18457
  structured?: string | undefined;
@@ -18467,9 +18464,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18467
18464
  } | {
18468
18465
  output: {
18469
18466
  error: string;
18467
+ code?: "invalid_input" | undefined;
18470
18468
  };
18471
18469
  outputFormat: "json";
18472
- status: 409;
18470
+ status: 400;
18473
18471
  input: {
18474
18472
  query: {
18475
18473
  structured?: string | undefined;
@@ -18513,9 +18511,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18513
18511
  };
18514
18512
  };
18515
18513
  } | {
18516
- output: string;
18517
- outputFormat: "text";
18518
- status: import("hono/utils/http-status").ContentfulStatusCode;
18514
+ output: {
18515
+ error: string;
18516
+ };
18517
+ outputFormat: "json";
18518
+ status: 409;
18519
18519
  input: {
18520
18520
  query: {
18521
18521
  structured?: string | undefined;
@@ -18530,13 +18530,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18530
18530
  } & {
18531
18531
  "/repo/changes": {
18532
18532
  $get: {
18533
- output: {
18534
- error: string;
18535
- };
18536
- outputFormat: "json";
18537
- status: 409;
18538
- input: {};
18539
- } | {
18540
18533
  output: {
18541
18534
  files: {
18542
18535
  path: string;
@@ -18561,6 +18554,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18561
18554
  outputFormat: "json";
18562
18555
  status: import("hono/utils/http-status").ContentfulStatusCode;
18563
18556
  input: {};
18557
+ } | {
18558
+ output: {
18559
+ error: string;
18560
+ };
18561
+ outputFormat: "json";
18562
+ status: 409;
18563
+ input: {};
18564
18564
  };
18565
18565
  };
18566
18566
  } & {
@@ -18585,12 +18585,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18585
18585
  "/repo/pull": {
18586
18586
  $post: {
18587
18587
  output: {
18588
- branch: string;
18589
- pulled: true;
18590
- summary: string;
18588
+ error: string;
18591
18589
  };
18592
18590
  outputFormat: "json";
18593
- status: 200;
18591
+ status: 409;
18594
18592
  input: {
18595
18593
  json: {
18596
18594
  branch?: string | undefined;
@@ -18599,10 +18597,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18599
18597
  };
18600
18598
  } | {
18601
18599
  output: {
18602
- error: string;
18600
+ branch: string;
18601
+ pulled: true;
18602
+ summary: string;
18603
18603
  };
18604
18604
  outputFormat: "json";
18605
- status: 409;
18605
+ status: 200;
18606
18606
  input: {
18607
18607
  json: {
18608
18608
  branch?: string | undefined;
@@ -19552,18 +19552,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19552
19552
  "/automations": {
19553
19553
  $post: {
19554
19554
  output: {
19555
- automation: {
19556
- [x: string]: import("hono/utils/types").JSONValue;
19557
- id: string;
19558
- revision: number;
19555
+ error: string;
19556
+ };
19557
+ outputFormat: "json";
19558
+ status: 400 | 404 | 409;
19559
+ input: {
19560
+ json: {
19559
19561
  name: string;
19560
19562
  description?: string | undefined;
19561
- enabled: boolean;
19562
- kind: "github" | "schedule";
19563
+ enabled?: boolean | undefined;
19564
+ kind?: "github" | "schedule" | undefined;
19563
19565
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
19564
19566
  intervalSeconds?: number | undefined;
19565
19567
  filters?: {
19566
- [x: string]: import("hono/utils/types").JSONValue;
19568
+ [x: string]: unknown;
19567
19569
  includeExisting?: boolean | undefined;
19568
19570
  requireCurrentLabels?: boolean | undefined;
19569
19571
  authors?: string[] | undefined;
@@ -19572,11 +19574,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19572
19574
  anyLabels?: string[] | undefined;
19573
19575
  excludeLabels?: string[] | undefined;
19574
19576
  changedLabels?: string[] | undefined;
19575
- lookbackDays: number;
19576
- maxRecords: number;
19577
+ lookbackDays?: number | undefined;
19578
+ maxRecords?: number | undefined;
19577
19579
  } | undefined;
19578
19580
  schedule?: {
19579
- [x: string]: import("hono/utils/types").JSONValue;
19580
19581
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
19581
19582
  hour?: number | undefined;
19582
19583
  minute?: number | undefined;
@@ -19587,7 +19588,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19587
19588
  latestStartMinutes?: number | undefined;
19588
19589
  } | undefined;
19589
19590
  task: {
19590
- [x: string]: import("hono/utils/types").JSONValue;
19591
+ [x: string]: unknown;
19591
19592
  prompt: string;
19592
19593
  workflow?: string | undefined;
19593
19594
  steps?: {
@@ -19605,49 +19606,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19605
19606
  command?: string | undefined;
19606
19607
  onFail?: {
19607
19608
  retry: string;
19608
- max: number;
19609
+ max?: number | undefined;
19609
19610
  } | undefined;
19610
19611
  }[] | undefined;
19611
19612
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
19612
19613
  model?: string | undefined;
19613
19614
  effort?: string | undefined;
19614
- variants?: 1 | 2 | 3 | undefined;
19615
19615
  worktree?: boolean | undefined;
19616
19616
  autonomous?: boolean | undefined;
19617
19617
  archiveWhenDone?: boolean | undefined;
19618
19618
  autoMergePr?: boolean | undefined;
19619
19619
  systemPrompt?: string | undefined;
19620
+ variants?: 1 | undefined;
19620
19621
  };
19621
- archived?: {
19622
- [x: string]: import("hono/utils/types").JSONValue;
19623
- at: string;
19624
- outcome: "cancelled" | "launched";
19625
- runId?: string | undefined;
19626
- receiptId?: string | undefined;
19627
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
19628
- } | undefined;
19629
- createdAt: string;
19630
- updatedAt: string;
19622
+ enable?: boolean | undefined;
19631
19623
  };
19632
- once?: {
19633
- dueAt: string;
19634
- timeZone: string;
19635
- resolvedInstant: string;
19636
- note: string;
19637
- } | undefined;
19638
19624
  };
19639
- outputFormat: "json";
19640
- status: 201;
19641
- input: {
19642
- json: {
19625
+ } | {
19626
+ output: {
19627
+ automation: {
19628
+ [x: string]: import("hono/utils/types").JSONValue;
19629
+ id: string;
19630
+ revision: number;
19643
19631
  name: string;
19644
19632
  description?: string | undefined;
19645
- enabled?: boolean | undefined;
19646
- kind?: "github" | "schedule" | undefined;
19633
+ enabled: boolean;
19634
+ kind: "github" | "schedule";
19647
19635
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
19648
19636
  intervalSeconds?: number | undefined;
19649
19637
  filters?: {
19650
- [x: string]: unknown;
19638
+ [x: string]: import("hono/utils/types").JSONValue;
19651
19639
  includeExisting?: boolean | undefined;
19652
19640
  requireCurrentLabels?: boolean | undefined;
19653
19641
  authors?: string[] | undefined;
@@ -19656,10 +19644,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19656
19644
  anyLabels?: string[] | undefined;
19657
19645
  excludeLabels?: string[] | undefined;
19658
19646
  changedLabels?: string[] | undefined;
19659
- lookbackDays?: number | undefined;
19660
- maxRecords?: number | undefined;
19647
+ lookbackDays: number;
19648
+ maxRecords: number;
19661
19649
  } | undefined;
19662
19650
  schedule?: {
19651
+ [x: string]: import("hono/utils/types").JSONValue;
19663
19652
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
19664
19653
  hour?: number | undefined;
19665
19654
  minute?: number | undefined;
@@ -19670,7 +19659,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19670
19659
  latestStartMinutes?: number | undefined;
19671
19660
  } | undefined;
19672
19661
  task: {
19673
- [x: string]: unknown;
19662
+ [x: string]: import("hono/utils/types").JSONValue;
19674
19663
  prompt: string;
19675
19664
  workflow?: string | undefined;
19676
19665
  steps?: {
@@ -19688,28 +19677,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19688
19677
  command?: string | undefined;
19689
19678
  onFail?: {
19690
19679
  retry: string;
19691
- max?: number | undefined;
19680
+ max: number;
19692
19681
  } | undefined;
19693
19682
  }[] | undefined;
19694
19683
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
19695
19684
  model?: string | undefined;
19696
19685
  effort?: string | undefined;
19686
+ variants?: 1 | 2 | 3 | undefined;
19697
19687
  worktree?: boolean | undefined;
19698
19688
  autonomous?: boolean | undefined;
19699
19689
  archiveWhenDone?: boolean | undefined;
19700
19690
  autoMergePr?: boolean | undefined;
19701
19691
  systemPrompt?: string | undefined;
19702
- variants?: 1 | undefined;
19703
19692
  };
19704
- enable?: boolean | undefined;
19693
+ archived?: {
19694
+ [x: string]: import("hono/utils/types").JSONValue;
19695
+ at: string;
19696
+ outcome: "cancelled" | "launched";
19697
+ runId?: string | undefined;
19698
+ receiptId?: string | undefined;
19699
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
19700
+ } | undefined;
19701
+ createdAt: string;
19702
+ updatedAt: string;
19705
19703
  };
19706
- };
19707
- } | {
19708
- output: {
19709
- error: string;
19704
+ once?: {
19705
+ dueAt: string;
19706
+ timeZone: string;
19707
+ resolvedInstant: string;
19708
+ note: string;
19709
+ } | undefined;
19710
19710
  };
19711
19711
  outputFormat: "json";
19712
- status: 400 | 404 | 409;
19712
+ status: 201;
19713
19713
  input: {
19714
19714
  json: {
19715
19715
  name: string;
@@ -19781,6 +19781,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19781
19781
  } & {
19782
19782
  "/automations/:id": {
19783
19783
  $get: {
19784
+ output: {
19785
+ error: string;
19786
+ };
19787
+ outputFormat: "json";
19788
+ status: 400 | 404 | 409;
19789
+ input: {
19790
+ param: {
19791
+ id: string;
19792
+ };
19793
+ };
19794
+ } | {
19784
19795
  output: {
19785
19796
  automation: {
19786
19797
  [x: string]: import("hono/utils/types").JSONValue;
@@ -19934,35 +19945,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19934
19945
  id: string;
19935
19946
  };
19936
19947
  };
19937
- } | {
19938
- output: {
19939
- error: string;
19940
- };
19941
- outputFormat: "json";
19942
- status: 400 | 404 | 409;
19943
- input: {
19944
- param: {
19945
- id: string;
19946
- };
19947
- };
19948
19948
  };
19949
19949
  };
19950
19950
  } & {
19951
19951
  "/automations/:id": {
19952
19952
  $put: {
19953
19953
  output: {
19954
- automation: {
19955
- [x: string]: import("hono/utils/types").JSONValue;
19956
- id: string;
19957
- revision: number;
19954
+ error: string;
19955
+ };
19956
+ outputFormat: "json";
19957
+ status: 400 | 404 | 409;
19958
+ input: {
19959
+ json: {
19958
19960
  name: string;
19959
19961
  description?: string | undefined;
19960
- enabled: boolean;
19961
- kind: "github" | "schedule";
19962
+ enabled?: boolean | undefined;
19963
+ kind?: "github" | "schedule" | undefined;
19962
19964
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
19963
19965
  intervalSeconds?: number | undefined;
19964
19966
  filters?: {
19965
- [x: string]: import("hono/utils/types").JSONValue;
19967
+ [x: string]: unknown;
19966
19968
  includeExisting?: boolean | undefined;
19967
19969
  requireCurrentLabels?: boolean | undefined;
19968
19970
  authors?: string[] | undefined;
@@ -19971,11 +19973,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19971
19973
  anyLabels?: string[] | undefined;
19972
19974
  excludeLabels?: string[] | undefined;
19973
19975
  changedLabels?: string[] | undefined;
19974
- lookbackDays: number;
19975
- maxRecords: number;
19976
+ lookbackDays?: number | undefined;
19977
+ maxRecords?: number | undefined;
19976
19978
  } | undefined;
19977
19979
  schedule?: {
19978
- [x: string]: import("hono/utils/types").JSONValue;
19979
19980
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
19980
19981
  hour?: number | undefined;
19981
19982
  minute?: number | undefined;
@@ -19986,7 +19987,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19986
19987
  latestStartMinutes?: number | undefined;
19987
19988
  } | undefined;
19988
19989
  task: {
19989
- [x: string]: import("hono/utils/types").JSONValue;
19990
+ [x: string]: unknown;
19990
19991
  prompt: string;
19991
19992
  workflow?: string | undefined;
19992
19993
  steps?: {
@@ -20004,43 +20005,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20004
20005
  command?: string | undefined;
20005
20006
  onFail?: {
20006
20007
  retry: string;
20007
- max: number;
20008
+ max?: number | undefined;
20008
20009
  } | undefined;
20009
20010
  }[] | undefined;
20010
20011
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
20011
20012
  model?: string | undefined;
20012
20013
  effort?: string | undefined;
20013
- variants?: 1 | 2 | 3 | undefined;
20014
20014
  worktree?: boolean | undefined;
20015
20015
  autonomous?: boolean | undefined;
20016
20016
  archiveWhenDone?: boolean | undefined;
20017
20017
  autoMergePr?: boolean | undefined;
20018
20018
  systemPrompt?: string | undefined;
20019
+ variants?: 1 | undefined;
20019
20020
  };
20020
- archived?: {
20021
- [x: string]: import("hono/utils/types").JSONValue;
20022
- at: string;
20023
- outcome: "cancelled" | "launched";
20024
- runId?: string | undefined;
20025
- receiptId?: string | undefined;
20026
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
20027
- } | undefined;
20028
- createdAt: string;
20029
- updatedAt: string;
20021
+ expectedRevision: number;
20022
+ };
20023
+ } & {
20024
+ param: {
20025
+ id: string;
20030
20026
  };
20031
20027
  };
20032
- outputFormat: "json";
20033
- status: import("hono/utils/http-status").ContentfulStatusCode;
20034
- input: {
20035
- json: {
20028
+ } | {
20029
+ output: {
20030
+ automation: {
20031
+ [x: string]: import("hono/utils/types").JSONValue;
20032
+ id: string;
20033
+ revision: number;
20036
20034
  name: string;
20037
20035
  description?: string | undefined;
20038
- enabled?: boolean | undefined;
20039
- kind?: "github" | "schedule" | undefined;
20036
+ enabled: boolean;
20037
+ kind: "github" | "schedule";
20040
20038
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
20041
20039
  intervalSeconds?: number | undefined;
20042
20040
  filters?: {
20043
- [x: string]: unknown;
20041
+ [x: string]: import("hono/utils/types").JSONValue;
20044
20042
  includeExisting?: boolean | undefined;
20045
20043
  requireCurrentLabels?: boolean | undefined;
20046
20044
  authors?: string[] | undefined;
@@ -20049,10 +20047,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20049
20047
  anyLabels?: string[] | undefined;
20050
20048
  excludeLabels?: string[] | undefined;
20051
20049
  changedLabels?: string[] | undefined;
20052
- lookbackDays?: number | undefined;
20053
- maxRecords?: number | undefined;
20050
+ lookbackDays: number;
20051
+ maxRecords: number;
20054
20052
  } | undefined;
20055
20053
  schedule?: {
20054
+ [x: string]: import("hono/utils/types").JSONValue;
20056
20055
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
20057
20056
  hour?: number | undefined;
20058
20057
  minute?: number | undefined;
@@ -20063,7 +20062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20063
20062
  latestStartMinutes?: number | undefined;
20064
20063
  } | undefined;
20065
20064
  task: {
20066
- [x: string]: unknown;
20065
+ [x: string]: import("hono/utils/types").JSONValue;
20067
20066
  prompt: string;
20068
20067
  workflow?: string | undefined;
20069
20068
  steps?: {
@@ -20081,32 +20080,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20081
20080
  command?: string | undefined;
20082
20081
  onFail?: {
20083
20082
  retry: string;
20084
- max?: number | undefined;
20083
+ max: number;
20085
20084
  } | undefined;
20086
20085
  }[] | undefined;
20087
20086
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
20088
20087
  model?: string | undefined;
20089
20088
  effort?: string | undefined;
20089
+ variants?: 1 | 2 | 3 | undefined;
20090
20090
  worktree?: boolean | undefined;
20091
20091
  autonomous?: boolean | undefined;
20092
20092
  archiveWhenDone?: boolean | undefined;
20093
20093
  autoMergePr?: boolean | undefined;
20094
20094
  systemPrompt?: string | undefined;
20095
- variants?: 1 | undefined;
20096
20095
  };
20097
- expectedRevision: number;
20098
- };
20099
- } & {
20100
- param: {
20101
- id: string;
20096
+ archived?: {
20097
+ [x: string]: import("hono/utils/types").JSONValue;
20098
+ at: string;
20099
+ outcome: "cancelled" | "launched";
20100
+ runId?: string | undefined;
20101
+ receiptId?: string | undefined;
20102
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
20103
+ } | undefined;
20104
+ createdAt: string;
20105
+ updatedAt: string;
20102
20106
  };
20103
20107
  };
20104
- } | {
20105
- output: {
20106
- error: string;
20107
- };
20108
20108
  outputFormat: "json";
20109
- status: 400 | 404 | 409;
20109
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20110
20110
  input: {
20111
20111
  json: {
20112
20112
  name: string;
@@ -20206,6 +20206,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20206
20206
  } & {
20207
20207
  "/automations/:id/enable": {
20208
20208
  $post: {
20209
+ output: {
20210
+ error: string;
20211
+ };
20212
+ outputFormat: "json";
20213
+ status: 400 | 404 | 409;
20214
+ input: {
20215
+ param: {
20216
+ id: string;
20217
+ };
20218
+ };
20219
+ } | {
20209
20220
  output: {
20210
20221
  automation: {
20211
20222
  [x: string]: import("hono/utils/types").JSONValue;
@@ -20292,7 +20303,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20292
20303
  id: string;
20293
20304
  };
20294
20305
  };
20295
- } | {
20306
+ };
20307
+ };
20308
+ } & {
20309
+ "/automations/:id/pause": {
20310
+ $post: {
20296
20311
  output: {
20297
20312
  error: string;
20298
20313
  };
@@ -20303,11 +20318,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20303
20318
  id: string;
20304
20319
  };
20305
20320
  };
20306
- };
20307
- };
20308
- } & {
20309
- "/automations/:id/pause": {
20310
- $post: {
20321
+ } | {
20311
20322
  output: {
20312
20323
  automation: {
20313
20324
  [x: string]: import("hono/utils/types").JSONValue;
@@ -20394,7 +20405,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20394
20405
  id: string;
20395
20406
  };
20396
20407
  };
20397
- } | {
20408
+ };
20409
+ };
20410
+ } & {
20411
+ "/automations/:id/cancel": {
20412
+ $post: {
20398
20413
  output: {
20399
20414
  error: string;
20400
20415
  };
@@ -20405,11 +20420,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20405
20420
  id: string;
20406
20421
  };
20407
20422
  };
20408
- };
20409
- };
20410
- } & {
20411
- "/automations/:id/cancel": {
20412
- $post: {
20423
+ } | {
20413
20424
  output: {
20414
20425
  automation: {
20415
20426
  [x: string]: import("hono/utils/types").JSONValue;
@@ -20496,27 +20507,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20496
20507
  id: string;
20497
20508
  };
20498
20509
  };
20499
- } | {
20500
- output: {
20501
- error: string;
20502
- };
20503
- outputFormat: "json";
20504
- status: 400 | 404 | 409;
20505
- input: {
20506
- param: {
20507
- id: string;
20508
- };
20509
- };
20510
20510
  };
20511
20511
  };
20512
20512
  } & {
20513
20513
  "/automations/:id/run": {
20514
20514
  $post: {
20515
20515
  output: {
20516
- runId: string;
20516
+ error: string;
20517
20517
  };
20518
20518
  outputFormat: "json";
20519
- status: 202;
20519
+ status: 400 | 404 | 409;
20520
20520
  input: {
20521
20521
  param: {
20522
20522
  id: string;
@@ -20524,10 +20524,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20524
20524
  };
20525
20525
  } | {
20526
20526
  output: {
20527
- error: string;
20527
+ runId: string;
20528
20528
  };
20529
20529
  outputFormat: "json";
20530
- status: 400 | 404 | 409;
20530
+ status: 202;
20531
20531
  input: {
20532
20532
  param: {
20533
20533
  id: string;
@@ -20539,10 +20539,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20539
20539
  "/automations/:id/check": {
20540
20540
  $post: {
20541
20541
  output: {
20542
- checkId: string;
20542
+ error: string;
20543
20543
  };
20544
20544
  outputFormat: "json";
20545
- status: 202;
20545
+ status: 404;
20546
20546
  input: {
20547
20547
  json: {
20548
20548
  mode: "execute" | "preview";
@@ -20557,7 +20557,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20557
20557
  error: string;
20558
20558
  };
20559
20559
  outputFormat: "json";
20560
- status: 404;
20560
+ status: 409;
20561
20561
  input: {
20562
20562
  json: {
20563
20563
  mode: "execute" | "preview";
@@ -20569,10 +20569,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20569
20569
  };
20570
20570
  } | {
20571
20571
  output: {
20572
- error: string;
20572
+ checkId: string;
20573
20573
  };
20574
20574
  outputFormat: "json";
20575
- status: 409;
20575
+ status: 202;
20576
20576
  input: {
20577
20577
  json: {
20578
20578
  mode: "execute" | "preview";
@@ -20646,11 +20646,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20646
20646
  "/automation-log/:receiptId/retry": {
20647
20647
  $post: {
20648
20648
  output: {
20649
- receiptId: string;
20650
- runId: string;
20649
+ error: string;
20651
20650
  };
20652
20651
  outputFormat: "json";
20653
- status: 202;
20652
+ status: 404;
20654
20653
  input: {
20655
20654
  param: {
20656
20655
  receiptId: string;
@@ -20661,7 +20660,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20661
20660
  error: string;
20662
20661
  };
20663
20662
  outputFormat: "json";
20664
- status: 404;
20663
+ status: 409;
20665
20664
  input: {
20666
20665
  param: {
20667
20666
  receiptId: string;
@@ -20669,10 +20668,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20669
20668
  };
20670
20669
  } | {
20671
20670
  output: {
20672
- error: string;
20671
+ receiptId: string;
20672
+ runId: string;
20673
20673
  };
20674
20674
  outputFormat: "json";
20675
- status: 409;
20675
+ status: 202;
20676
20676
  input: {
20677
20677
  param: {
20678
20678
  receiptId: string;
@@ -21524,18 +21524,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21524
21524
  } & {
21525
21525
  "/run-summaries": {
21526
21526
  $get: {
21527
- output: {
21528
- error: string;
21529
- code?: "invalid_input" | undefined;
21530
- };
21531
- outputFormat: "json";
21532
- status: 400;
21533
- input: {
21534
- query: {
21535
- archived?: "all" | "recent" | undefined;
21536
- };
21537
- };
21538
- } | {
21539
21527
  output: {
21540
21528
  id: string;
21541
21529
  title: string;
@@ -21660,6 +21648,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21660
21648
  archived?: "all" | "recent" | undefined;
21661
21649
  };
21662
21650
  };
21651
+ } | {
21652
+ output: {
21653
+ error: string;
21654
+ code?: "invalid_input" | undefined;
21655
+ };
21656
+ outputFormat: "json";
21657
+ status: 400;
21658
+ input: {
21659
+ query: {
21660
+ archived?: "all" | "recent" | undefined;
21661
+ };
21662
+ };
21663
21663
  };
21664
21664
  };
21665
21665
  } & {
@@ -21986,20 +21986,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21986
21986
  "/runs/:id/worker-destroy": {
21987
21987
  $post: {
21988
21988
  output: {
21989
- workerId: string;
21990
- state: "complete" | "incomplete";
21991
- deleted?: ({
21992
- kind: "worktree";
21993
- path: string;
21994
- } | {
21995
- kind: "branch";
21996
- ref: string;
21997
- })[] | undefined;
21998
- remaining: ("branch" | "process" | "worktree")[];
21999
- error?: string | undefined;
21989
+ error: string;
21990
+ code?: "invalid_input" | undefined;
22000
21991
  };
22001
21992
  outputFormat: "json";
22002
- status: 200;
21993
+ status: 400;
22003
21994
  input: {
22004
21995
  query: {
22005
21996
  [x: string]: string | string[];
@@ -22013,11 +22004,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22013
22004
  };
22014
22005
  } | {
22015
22006
  output: {
22016
- error: string;
22017
- code?: "invalid_input" | undefined;
22007
+ workerId: string;
22008
+ state: "complete" | "incomplete";
22009
+ deleted?: ({
22010
+ kind: "worktree";
22011
+ path: string;
22012
+ } | {
22013
+ kind: "branch";
22014
+ ref: string;
22015
+ })[] | undefined;
22016
+ remaining: ("branch" | "process" | "worktree")[];
22017
+ error?: string | undefined;
22018
22018
  };
22019
22019
  outputFormat: "json";
22020
- status: 400;
22020
+ status: 200;
22021
22021
  input: {
22022
22022
  query: {
22023
22023
  [x: string]: string | string[];
@@ -22123,21 +22123,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22123
22123
  } & {
22124
22124
  "/runs/:id/archive": {
22125
22125
  $post: {
22126
- output: {
22127
- error: string;
22128
- };
22129
- outputFormat: "json";
22130
- status: 404;
22131
- input: {
22132
- json: {
22133
- archived?: boolean | undefined;
22134
- };
22135
- } & {
22136
- param: {
22137
- id: string;
22138
- };
22139
- };
22140
- } | {
22141
22126
  output: {
22142
22127
  id: string;
22143
22128
  title: string;
@@ -22975,32 +22960,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22975
22960
  id: string;
22976
22961
  };
22977
22962
  };
22978
- };
22979
- };
22980
- } & {
22981
- "/runs/:id/pin": {
22982
- $post: {
22963
+ } | {
22983
22964
  output: {
22984
22965
  error: string;
22985
- code?: "invalid_input" | undefined;
22986
22966
  };
22987
22967
  outputFormat: "json";
22988
- status: 400;
22968
+ status: 404;
22989
22969
  input: {
22990
- param: {
22991
- id: string;
22970
+ json: {
22971
+ archived?: boolean | undefined;
22992
22972
  };
22993
22973
  } & {
22994
- json: {
22995
- pinned?: boolean | undefined;
22974
+ param: {
22975
+ id: string;
22996
22976
  };
22997
22977
  };
22998
- } | {
22978
+ };
22979
+ };
22980
+ } & {
22981
+ "/runs/:id/pin": {
22982
+ $post: {
22999
22983
  output: {
23000
22984
  error: string;
22985
+ code?: "invalid_input" | undefined;
23001
22986
  };
23002
22987
  outputFormat: "json";
23003
- status: 404;
22988
+ status: 400;
23004
22989
  input: {
23005
22990
  param: {
23006
22991
  id: string;
@@ -23848,49 +23833,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23848
23833
  pinned?: boolean | undefined;
23849
23834
  };
23850
23835
  };
23851
- };
23852
- };
23853
- } & {
23854
- "/runs/:id/notify": {
23855
- $post: {
23856
- output: {
23857
- error: string;
23858
- code?: "invalid_input" | undefined;
23859
- };
23860
- outputFormat: "json";
23861
- status: 400;
23862
- input: {
23863
- param: {
23864
- id: string;
23865
- };
23866
- } & {
23867
- json: {
23868
- notify: boolean;
23869
- message?: string | undefined;
23870
- };
23871
- };
23872
23836
  } | {
23873
23837
  output: {
23874
23838
  error: string;
23875
23839
  };
23876
23840
  outputFormat: "json";
23877
- status: 400;
23841
+ status: 404;
23878
23842
  input: {
23879
23843
  param: {
23880
23844
  id: string;
23881
23845
  };
23882
23846
  } & {
23883
23847
  json: {
23884
- notify: boolean;
23885
- message?: string | undefined;
23848
+ pinned?: boolean | undefined;
23886
23849
  };
23887
23850
  };
23888
- } | {
23851
+ };
23852
+ };
23853
+ } & {
23854
+ "/runs/:id/notify": {
23855
+ $post: {
23889
23856
  output: {
23890
23857
  error: string;
23858
+ code?: "invalid_input" | undefined;
23891
23859
  };
23892
23860
  outputFormat: "json";
23893
- status: 404;
23861
+ status: 400;
23894
23862
  input: {
23895
23863
  param: {
23896
23864
  id: string;
@@ -24740,11 +24708,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24740
24708
  message?: string | undefined;
24741
24709
  };
24742
24710
  };
24743
- };
24744
- };
24745
- } & {
24746
- "/runs/:id/auto-resume": {
24747
- $delete: {
24711
+ } | {
24748
24712
  output: {
24749
24713
  error: string;
24750
24714
  };
@@ -24754,23 +24718,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24754
24718
  param: {
24755
24719
  id: string;
24756
24720
  };
24721
+ } & {
24722
+ json: {
24723
+ notify: boolean;
24724
+ message?: string | undefined;
24725
+ };
24757
24726
  };
24758
24727
  } | {
24759
24728
  output: {
24760
- cancelled: true;
24729
+ error: string;
24761
24730
  };
24762
24731
  outputFormat: "json";
24763
- status: import("hono/utils/http-status").ContentfulStatusCode;
24732
+ status: 400;
24764
24733
  input: {
24765
24734
  param: {
24766
24735
  id: string;
24767
24736
  };
24737
+ } & {
24738
+ json: {
24739
+ notify: boolean;
24740
+ message?: string | undefined;
24741
+ };
24768
24742
  };
24769
24743
  };
24770
24744
  };
24771
24745
  } & {
24772
- "/runs/:id/read": {
24773
- $post: {
24746
+ "/runs/:id/auto-resume": {
24747
+ $delete: {
24774
24748
  output: {
24775
24749
  error: string;
24776
24750
  };
@@ -24782,6 +24756,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24782
24756
  };
24783
24757
  };
24784
24758
  } | {
24759
+ output: {
24760
+ cancelled: true;
24761
+ };
24762
+ outputFormat: "json";
24763
+ status: import("hono/utils/http-status").ContentfulStatusCode;
24764
+ input: {
24765
+ param: {
24766
+ id: string;
24767
+ };
24768
+ };
24769
+ };
24770
+ };
24771
+ } & {
24772
+ "/runs/:id/read": {
24773
+ $post: {
24785
24774
  output: {
24786
24775
  id: string;
24787
24776
  title: string;
@@ -25611,15 +25600,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25611
25600
  outputFormat: "json";
25612
25601
  status: import("hono/utils/http-status").ContentfulStatusCode;
25613
25602
  input: {
25614
- param: {
25615
- id: string;
25616
- };
25617
- };
25618
- };
25619
- };
25620
- } & {
25621
- "/runs/:id/unread": {
25622
- $post: {
25603
+ param: {
25604
+ id: string;
25605
+ };
25606
+ };
25607
+ } | {
25623
25608
  output: {
25624
25609
  error: string;
25625
25610
  };
@@ -25630,7 +25615,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25630
25615
  id: string;
25631
25616
  };
25632
25617
  };
25633
- } | {
25618
+ };
25619
+ };
25620
+ } & {
25621
+ "/runs/:id/unread": {
25622
+ $post: {
25634
25623
  output: {
25635
25624
  id: string;
25636
25625
  title: string;
@@ -26464,6 +26453,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26464
26453
  id: string;
26465
26454
  };
26466
26455
  };
26456
+ } | {
26457
+ output: {
26458
+ error: string;
26459
+ };
26460
+ outputFormat: "json";
26461
+ status: 404;
26462
+ input: {
26463
+ param: {
26464
+ id: string;
26465
+ };
26466
+ };
26467
26467
  };
26468
26468
  };
26469
26469
  } & {
@@ -27388,17 +27388,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27388
27388
  } & {
27389
27389
  "/runs/:id": {
27390
27390
  $get: {
27391
- output: {
27392
- error: string;
27393
- };
27394
- outputFormat: "json";
27395
- status: 404;
27396
- input: {
27397
- param: {
27398
- id: string;
27399
- };
27400
- };
27401
- } | {
27402
27391
  output: {
27403
27392
  id: string;
27404
27393
  title: string;
@@ -28239,6 +28228,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28239
28228
  id: string;
28240
28229
  };
28241
28230
  };
28231
+ } | {
28232
+ output: {
28233
+ error: string;
28234
+ };
28235
+ outputFormat: "json";
28236
+ status: 404;
28237
+ input: {
28238
+ param: {
28239
+ id: string;
28240
+ };
28241
+ };
28242
28242
  };
28243
28243
  };
28244
28244
  } & {
@@ -28366,60 +28366,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28366
28366
  } & {
28367
28367
  "/runs/:id": {
28368
28368
  $patch: {
28369
- output: {
28370
- error: string;
28371
- };
28372
- outputFormat: "json";
28373
- status: 400;
28374
- input: {
28375
- json: {
28376
- title?: string | undefined;
28377
- task?: string | undefined;
28378
- archiveWhenDone?: boolean | undefined;
28379
- autoMergePr?: boolean | undefined;
28380
- };
28381
- } & {
28382
- param: {
28383
- id: string;
28384
- };
28385
- };
28386
- } | {
28387
- output: {
28388
- error: string;
28389
- };
28390
- outputFormat: "json";
28391
- status: 404;
28392
- input: {
28393
- json: {
28394
- title?: string | undefined;
28395
- task?: string | undefined;
28396
- archiveWhenDone?: boolean | undefined;
28397
- autoMergePr?: boolean | undefined;
28398
- };
28399
- } & {
28400
- param: {
28401
- id: string;
28402
- };
28403
- };
28404
- } | {
28405
- output: {
28406
- error: string;
28407
- };
28408
- outputFormat: "json";
28409
- status: 409;
28410
- input: {
28411
- json: {
28412
- title?: string | undefined;
28413
- task?: string | undefined;
28414
- archiveWhenDone?: boolean | undefined;
28415
- autoMergePr?: boolean | undefined;
28416
- };
28417
- } & {
28418
- param: {
28419
- id: string;
28420
- };
28421
- };
28422
- } | {
28423
28369
  output: {
28424
28370
  id: string;
28425
28371
  title: string;
@@ -29260,6 +29206,60 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29260
29206
  id: string;
29261
29207
  };
29262
29208
  };
29209
+ } | {
29210
+ output: {
29211
+ error: string;
29212
+ };
29213
+ outputFormat: "json";
29214
+ status: 404;
29215
+ input: {
29216
+ json: {
29217
+ title?: string | undefined;
29218
+ task?: string | undefined;
29219
+ archiveWhenDone?: boolean | undefined;
29220
+ autoMergePr?: boolean | undefined;
29221
+ };
29222
+ } & {
29223
+ param: {
29224
+ id: string;
29225
+ };
29226
+ };
29227
+ } | {
29228
+ output: {
29229
+ error: string;
29230
+ };
29231
+ outputFormat: "json";
29232
+ status: 400;
29233
+ input: {
29234
+ json: {
29235
+ title?: string | undefined;
29236
+ task?: string | undefined;
29237
+ archiveWhenDone?: boolean | undefined;
29238
+ autoMergePr?: boolean | undefined;
29239
+ };
29240
+ } & {
29241
+ param: {
29242
+ id: string;
29243
+ };
29244
+ };
29245
+ } | {
29246
+ output: {
29247
+ error: string;
29248
+ };
29249
+ outputFormat: "json";
29250
+ status: 409;
29251
+ input: {
29252
+ json: {
29253
+ title?: string | undefined;
29254
+ task?: string | undefined;
29255
+ archiveWhenDone?: boolean | undefined;
29256
+ autoMergePr?: boolean | undefined;
29257
+ };
29258
+ } & {
29259
+ param: {
29260
+ id: string;
29261
+ };
29262
+ };
29263
29263
  };
29264
29264
  };
29265
29265
  } & {
@@ -29364,7 +29364,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29364
29364
  error: string;
29365
29365
  };
29366
29366
  outputFormat: "json";
29367
- status: 400;
29367
+ status: 404;
29368
29368
  input: {
29369
29369
  json: {
29370
29370
  text?: string | undefined;
@@ -29383,7 +29383,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29383
29383
  error: string;
29384
29384
  };
29385
29385
  outputFormat: "json";
29386
- status: 404;
29386
+ status: 409;
29387
29387
  input: {
29388
29388
  json: {
29389
29389
  text?: string | undefined;
@@ -29399,10 +29399,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29399
29399
  };
29400
29400
  } | {
29401
29401
  output: {
29402
- error: string;
29402
+ delivered: true;
29403
29403
  };
29404
29404
  outputFormat: "json";
29405
- status: 409;
29405
+ status: import("hono/utils/http-status").ContentfulStatusCode;
29406
29406
  input: {
29407
29407
  json: {
29408
29408
  text?: string | undefined;
@@ -29418,10 +29418,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29418
29418
  };
29419
29419
  } | {
29420
29420
  output: {
29421
- delivered: true;
29421
+ error: string;
29422
29422
  };
29423
29423
  outputFormat: "json";
29424
- status: import("hono/utils/http-status").ContentfulStatusCode;
29424
+ status: 400;
29425
29425
  input: {
29426
29426
  json: {
29427
29427
  text?: string | undefined;
@@ -29488,7 +29488,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29488
29488
  error: string;
29489
29489
  };
29490
29490
  outputFormat: "json";
29491
- status: 400;
29491
+ status: 404;
29492
29492
  input: {
29493
29493
  json: {
29494
29494
  text?: string | undefined;
@@ -29509,7 +29509,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29509
29509
  error: string;
29510
29510
  };
29511
29511
  outputFormat: "json";
29512
- status: 404;
29512
+ status: 400;
29513
29513
  input: {
29514
29514
  json: {
29515
29515
  text?: string | undefined;
@@ -29661,7 +29661,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29661
29661
  error: string;
29662
29662
  };
29663
29663
  outputFormat: "json";
29664
- status: 400;
29664
+ status: 404;
29665
29665
  input: {
29666
29666
  json: {
29667
29667
  text?: string | undefined;
@@ -29684,7 +29684,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29684
29684
  error: string;
29685
29685
  };
29686
29686
  outputFormat: "json";
29687
- status: 404;
29687
+ status: 400;
29688
29688
  input: {
29689
29689
  json: {
29690
29690
  text?: string | undefined;
@@ -29795,7 +29795,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29795
29795
  error: string;
29796
29796
  };
29797
29797
  outputFormat: "json";
29798
- status: 400;
29798
+ status: 404;
29799
29799
  input: {
29800
29800
  json: {
29801
29801
  target: string;
@@ -29811,7 +29811,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29811
29811
  error: string;
29812
29812
  };
29813
29813
  outputFormat: "json";
29814
- status: 404;
29814
+ status: 409;
29815
29815
  input: {
29816
29816
  json: {
29817
29817
  target: string;
@@ -29827,7 +29827,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29827
29827
  error: string;
29828
29828
  };
29829
29829
  outputFormat: "json";
29830
- status: 409;
29830
+ status: 400;
29831
29831
  input: {
29832
29832
  json: {
29833
29833
  target: string;
@@ -29884,12 +29884,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29884
29884
  } & {
29885
29885
  "/runs/:id/images/:file": {
29886
29886
  $get: {
29887
- output: {
29888
- error: string;
29889
- code?: "invalid_input" | undefined;
29890
- };
29891
- outputFormat: "json";
29892
- status: 400;
29887
+ output: {};
29888
+ outputFormat: string;
29889
+ status: import("hono/utils/http-status").StatusCode;
29893
29890
  input: {
29894
29891
  param: {
29895
29892
  id: string;
@@ -29897,9 +29894,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29897
29894
  };
29898
29895
  };
29899
29896
  } | {
29900
- output: {};
29901
- outputFormat: string;
29902
- status: import("hono/utils/http-status").StatusCode;
29897
+ output: {
29898
+ error: string;
29899
+ code?: "invalid_input" | undefined;
29900
+ };
29901
+ outputFormat: "json";
29902
+ status: 400;
29903
29903
  input: {
29904
29904
  param: {
29905
29905
  id: string;
@@ -29911,11 +29911,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29911
29911
  } & {
29912
29912
  "/runs/:id/diff": {
29913
29913
  $get: {
29914
- output: {
29915
- error: string;
29916
- };
29917
- outputFormat: "json";
29918
- status: 404;
29914
+ output: string;
29915
+ outputFormat: "text";
29916
+ status: import("hono/utils/http-status").ContentfulStatusCode;
29919
29917
  input: {
29920
29918
  param: {
29921
29919
  id: string;
@@ -29926,16 +29924,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29926
29924
  error: string;
29927
29925
  };
29928
29926
  outputFormat: "json";
29929
- status: 409;
29927
+ status: 404;
29930
29928
  input: {
29931
29929
  param: {
29932
29930
  id: string;
29933
29931
  };
29934
29932
  };
29935
29933
  } | {
29936
- output: string;
29937
- outputFormat: "text";
29938
- status: import("hono/utils/http-status").ContentfulStatusCode;
29934
+ output: {
29935
+ error: string;
29936
+ };
29937
+ outputFormat: "json";
29938
+ status: 409;
29939
29939
  input: {
29940
29940
  param: {
29941
29941
  id: string;
@@ -30266,18 +30266,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30266
30266
  artifactId: string;
30267
30267
  };
30268
30268
  };
30269
- } | {
30270
- output: {
30271
- error: string;
30272
- };
30273
- outputFormat: "json";
30274
- status: 404;
30275
- input: {
30276
- param: {
30277
- id: string;
30278
- artifactId: string;
30279
- };
30280
- };
30281
30269
  } | {
30282
30270
  output: {
30283
30271
  type: "file";
@@ -30306,6 +30294,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30306
30294
  artifactId: string;
30307
30295
  };
30308
30296
  };
30297
+ } | {
30298
+ output: {
30299
+ error: string;
30300
+ };
30301
+ outputFormat: "json";
30302
+ status: 404;
30303
+ input: {
30304
+ param: {
30305
+ id: string;
30306
+ artifactId: string;
30307
+ };
30308
+ };
30309
30309
  };
30310
30310
  };
30311
30311
  } & {
@@ -30652,11 +30652,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30652
30652
  "/runs/:id/pr": {
30653
30653
  $post: {
30654
30654
  output: {
30655
- url: string;
30656
- dryRun: boolean;
30655
+ error: string;
30657
30656
  };
30658
30657
  outputFormat: "json";
30659
- status: 201;
30658
+ status: 404;
30660
30659
  input: {
30661
30660
  param: {
30662
30661
  id: string;
@@ -30667,7 +30666,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30667
30666
  error: string;
30668
30667
  };
30669
30668
  outputFormat: "json";
30670
- status: 400;
30669
+ status: 409;
30671
30670
  input: {
30672
30671
  param: {
30673
30672
  id: string;
@@ -30678,7 +30677,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30678
30677
  error: string;
30679
30678
  };
30680
30679
  outputFormat: "json";
30681
- status: 404;
30680
+ status: 400;
30682
30681
  input: {
30683
30682
  param: {
30684
30683
  id: string;
@@ -30686,10 +30685,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30686
30685
  };
30687
30686
  } | {
30688
30687
  output: {
30689
- error: string;
30688
+ url: string;
30689
+ dryRun: boolean;
30690
30690
  };
30691
30691
  outputFormat: "json";
30692
- status: 409;
30692
+ status: 201;
30693
30693
  input: {
30694
30694
  param: {
30695
30695
  id: string;
@@ -30741,7 +30741,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30741
30741
  error: string;
30742
30742
  };
30743
30743
  outputFormat: "json";
30744
- status: 404;
30744
+ status: 409;
30745
30745
  input: {
30746
30746
  param: {
30747
30747
  id: string;
@@ -30752,7 +30752,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30752
30752
  error: string;
30753
30753
  };
30754
30754
  outputFormat: "json";
30755
- status: 409;
30755
+ status: 404;
30756
30756
  input: {
30757
30757
  param: {
30758
30758
  id: string;