@wjarka/cezarion 0.17.0-pr2152.3287 → 0.17.0-pr2157.3293

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/server/server.d.ts +1181 -1181
  2. package/package.json +3 -3
@@ -324,17 +324,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
324
324
  };
325
325
  } | {
326
326
  output: {
327
- path: string;
328
- parent: string | null;
329
- dirs: {
330
- name: string;
331
- path: string;
332
- isRepo: boolean;
333
- }[];
334
- truncated: boolean;
327
+ error: string;
335
328
  };
336
329
  outputFormat: "json";
337
- status: import("hono/utils/http-status").ContentfulStatusCode;
330
+ status: 400 | 404;
338
331
  input: {
339
332
  query: {
340
333
  path?: string | undefined;
@@ -343,10 +336,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
343
336
  };
344
337
  } | {
345
338
  output: {
346
- error: string;
339
+ path: string;
340
+ parent: string | null;
341
+ dirs: {
342
+ name: string;
343
+ path: string;
344
+ isRepo: boolean;
345
+ }[];
346
+ truncated: boolean;
347
347
  };
348
348
  outputFormat: "json";
349
- status: 400 | 404;
349
+ status: import("hono/utils/http-status").ContentfulStatusCode;
350
350
  input: {
351
351
  query: {
352
352
  path?: string | undefined;
@@ -358,17 +358,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
358
358
  }, "/"> | import("hono/types").MergeSchemaPath<{
359
359
  "/automation-checks/:checkId": {
360
360
  $get: {
361
- output: {
362
- error: string;
363
- };
364
- outputFormat: "json";
365
- status: 404;
366
- input: {
367
- param: {
368
- checkId: string;
369
- };
370
- };
371
- } | {
372
361
  output: {
373
362
  id: string;
374
363
  automationId: string;
@@ -387,6 +376,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
387
376
  checkId: string;
388
377
  };
389
378
  };
379
+ } | {
380
+ output: {
381
+ error: string;
382
+ };
383
+ outputFormat: "json";
384
+ status: 404;
385
+ input: {
386
+ param: {
387
+ checkId: string;
388
+ };
389
+ };
390
390
  };
391
391
  };
392
392
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -846,10 +846,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
846
846
  };
847
847
  } | {
848
848
  output: {
849
- error: string;
849
+ providers: {
850
+ provider: ProviderId;
851
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
852
+ enabled?: boolean;
853
+ hint?: string;
854
+ authFailureId?: string;
855
+ profileId?: string;
856
+ }[];
850
857
  };
851
858
  outputFormat: "json";
852
- status: 500;
859
+ status: import("hono/utils/http-status").ContentfulStatusCode;
853
860
  input: {
854
861
  param: {
855
862
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -861,17 +868,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
861
868
  };
862
869
  } | {
863
870
  output: {
864
- providers: {
865
- provider: ProviderId;
866
- status: import("../core/provider-auth.ts").ProviderConnectionState;
867
- enabled?: boolean;
868
- hint?: string;
869
- authFailureId?: string;
870
- profileId?: string;
871
- }[];
871
+ error: string;
872
872
  };
873
873
  outputFormat: "json";
874
- status: import("hono/utils/http-status").ContentfulStatusCode;
874
+ status: 500;
875
875
  input: {
876
876
  param: {
877
877
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -903,10 +903,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
903
903
  };
904
904
  } | {
905
905
  output: {
906
- error: string;
906
+ providers: {
907
+ provider: ProviderId;
908
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
909
+ enabled?: boolean;
910
+ hint?: string;
911
+ authFailureId?: string;
912
+ profileId?: string;
913
+ }[];
907
914
  };
908
915
  outputFormat: "json";
909
- status: 409;
916
+ status: import("hono/utils/http-status").ContentfulStatusCode;
910
917
  input: {
911
918
  param: {
912
919
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -918,17 +925,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
918
925
  };
919
926
  } | {
920
927
  output: {
921
- providers: {
922
- provider: ProviderId;
923
- status: import("../core/provider-auth.ts").ProviderConnectionState;
924
- enabled?: boolean;
925
- hint?: string;
926
- authFailureId?: string;
927
- profileId?: string;
928
- }[];
928
+ error: string;
929
929
  };
930
930
  outputFormat: "json";
931
- status: import("hono/utils/http-status").ContentfulStatusCode;
931
+ status: 409;
932
932
  input: {
933
933
  param: {
934
934
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -947,7 +947,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
947
947
  error: string;
948
948
  };
949
949
  outputFormat: "json";
950
- status: 400;
950
+ status: 409;
951
951
  input: {
952
952
  json: {
953
953
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -959,7 +959,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
959
959
  error: string;
960
960
  };
961
961
  outputFormat: "json";
962
- status: 409;
962
+ status: 400;
963
963
  input: {
964
964
  json: {
965
965
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1051,10 +1051,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1051
1051
  "/workspace/config": {
1052
1052
  $put: {
1053
1053
  output: {
1054
- error: string;
1054
+ browseRoot: string;
1055
+ projectsDir: string;
1056
+ archiveOnMerge: boolean | null;
1057
+ effectiveArchiveOnMerge: boolean;
1058
+ archiveOnMergeSource: "default" | "environment" | "global";
1059
+ composerDefaults: {
1060
+ autonomous: boolean | null;
1061
+ worktree: boolean | null;
1062
+ inheritedAutonomous: "source-dependent" | boolean;
1063
+ inheritedWorktree: boolean;
1064
+ };
1065
+ resources: {
1066
+ maxParallel: number;
1067
+ maxMonitoringSessions: number;
1068
+ monitoringWakeIntervalMinutes: number | null;
1069
+ autoResumeOnUsageLimit: boolean;
1070
+ memoryLimitMb: number | null;
1071
+ worktreeRetentionDefault: number;
1072
+ };
1073
+ agentDefaults: {
1074
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1075
+ models?: {
1076
+ claude?: string | undefined;
1077
+ codex?: string | undefined;
1078
+ opencode?: string | undefined;
1079
+ pi?: string | undefined;
1080
+ cursor?: string | undefined;
1081
+ omp?: string | undefined;
1082
+ } | undefined;
1083
+ };
1055
1084
  };
1056
1085
  outputFormat: "json";
1057
- status: 400;
1086
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1058
1087
  input: {
1059
1088
  json: {
1060
1089
  browseRoot?: string | undefined;
@@ -1090,7 +1119,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1090
1119
  error: string;
1091
1120
  };
1092
1121
  outputFormat: "json";
1093
- status: 500;
1122
+ status: 400;
1094
1123
  input: {
1095
1124
  json: {
1096
1125
  browseRoot?: string | undefined;
@@ -1123,39 +1152,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1123
1152
  };
1124
1153
  } | {
1125
1154
  output: {
1126
- browseRoot: string;
1127
- projectsDir: string;
1128
- archiveOnMerge: boolean | null;
1129
- effectiveArchiveOnMerge: boolean;
1130
- archiveOnMergeSource: "default" | "environment" | "global";
1131
- composerDefaults: {
1132
- autonomous: boolean | null;
1133
- worktree: boolean | null;
1134
- inheritedAutonomous: "source-dependent" | boolean;
1135
- inheritedWorktree: boolean;
1136
- };
1137
- resources: {
1138
- maxParallel: number;
1139
- maxMonitoringSessions: number;
1140
- monitoringWakeIntervalMinutes: number | null;
1141
- autoResumeOnUsageLimit: boolean;
1142
- memoryLimitMb: number | null;
1143
- worktreeRetentionDefault: number;
1144
- };
1145
- agentDefaults: {
1146
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1147
- models?: {
1148
- claude?: string | undefined;
1149
- codex?: string | undefined;
1150
- opencode?: string | undefined;
1151
- pi?: string | undefined;
1152
- cursor?: string | undefined;
1153
- omp?: string | undefined;
1154
- } | undefined;
1155
- };
1155
+ error: string;
1156
1156
  };
1157
1157
  outputFormat: "json";
1158
- status: import("hono/utils/http-status").ContentfulStatusCode;
1158
+ status: 500;
1159
1159
  input: {
1160
1160
  json: {
1161
1161
  browseRoot?: string | undefined;
@@ -1239,10 +1239,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1239
1239
  "/workspace/ui-state": {
1240
1240
  $put: {
1241
1241
  output: {
1242
- error: string;
1242
+ [x: string]: import("hono/utils/types").JSONValue;
1243
+ sidebar?: {
1244
+ [x: string]: import("hono/utils/types").JSONValue;
1245
+ collapsed?: {
1246
+ [x: string]: boolean;
1247
+ } | undefined;
1248
+ projectOrder?: string[] | undefined;
1249
+ } | undefined;
1250
+ dismissedProviderAuthFailures?: {
1251
+ claude?: string | undefined;
1252
+ codex?: string | undefined;
1253
+ opencode?: string | undefined;
1254
+ pi?: string | undefined;
1255
+ cursor?: string | undefined;
1256
+ omp?: string | undefined;
1257
+ } | undefined;
1258
+ appearance?: {
1259
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1260
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1261
+ width?: "narrow" | "wide" | undefined;
1262
+ } | undefined;
1263
+ notifications?: {
1264
+ [x: string]: import("hono/utils/types").JSONValue;
1265
+ enabled?: boolean | undefined;
1266
+ } | undefined;
1267
+ taskTable?: {
1268
+ [x: string]: import("hono/utils/types").JSONValue;
1269
+ expandedColumns?: {
1270
+ [x: string]: boolean;
1271
+ } | undefined;
1272
+ } | undefined;
1273
+ lastLocation?: {
1274
+ projectId: string;
1275
+ pathname: string;
1276
+ search?: string | undefined;
1277
+ hash?: string | undefined;
1278
+ } | undefined;
1243
1279
  };
1244
1280
  outputFormat: "json";
1245
- status: 500;
1281
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1246
1282
  input: {
1247
1283
  json: {
1248
1284
  [x: string]: unknown;
@@ -1282,46 +1318,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1282
1318
  };
1283
1319
  } | {
1284
1320
  output: {
1285
- [x: string]: import("hono/utils/types").JSONValue;
1286
- sidebar?: {
1287
- [x: string]: import("hono/utils/types").JSONValue;
1288
- collapsed?: {
1289
- [x: string]: boolean;
1290
- } | undefined;
1291
- projectOrder?: string[] | undefined;
1292
- } | undefined;
1293
- dismissedProviderAuthFailures?: {
1294
- claude?: string | undefined;
1295
- codex?: string | undefined;
1296
- opencode?: string | undefined;
1297
- pi?: string | undefined;
1298
- cursor?: string | undefined;
1299
- omp?: string | undefined;
1300
- } | undefined;
1301
- appearance?: {
1302
- accent?: "cezarion" | "lime" | "violet" | undefined;
1303
- density?: "comfortable" | "compact" | "ultra" | undefined;
1304
- width?: "narrow" | "wide" | undefined;
1305
- } | undefined;
1306
- notifications?: {
1307
- [x: string]: import("hono/utils/types").JSONValue;
1308
- enabled?: boolean | undefined;
1309
- } | undefined;
1310
- taskTable?: {
1311
- [x: string]: import("hono/utils/types").JSONValue;
1312
- expandedColumns?: {
1313
- [x: string]: boolean;
1314
- } | undefined;
1315
- } | undefined;
1316
- lastLocation?: {
1317
- projectId: string;
1318
- pathname: string;
1319
- search?: string | undefined;
1320
- hash?: string | undefined;
1321
- } | undefined;
1321
+ error: string;
1322
1322
  };
1323
1323
  outputFormat: "json";
1324
- status: import("hono/utils/http-status").ContentfulStatusCode;
1324
+ status: 500;
1325
1325
  input: {
1326
1326
  json: {
1327
1327
  [x: string]: unknown;
@@ -1435,6 +1435,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1435
1435
  } & {
1436
1436
  "/workspace/agent-profiles": {
1437
1437
  $post: {
1438
+ output: {
1439
+ error: string;
1440
+ };
1441
+ outputFormat: "json";
1442
+ status: 409;
1443
+ input: {
1444
+ json: {
1445
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1446
+ label?: string | undefined;
1447
+ configDir: string;
1448
+ };
1449
+ };
1450
+ } | {
1451
+ output: {
1452
+ error: string;
1453
+ };
1454
+ outputFormat: "json";
1455
+ status: 400;
1456
+ input: {
1457
+ json: {
1458
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1459
+ label?: string | undefined;
1460
+ configDir: string;
1461
+ };
1462
+ };
1463
+ } | {
1464
+ output: {
1465
+ error: string;
1466
+ };
1467
+ outputFormat: "json";
1468
+ status: 500;
1469
+ input: {
1470
+ json: {
1471
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1472
+ label?: string | undefined;
1473
+ configDir: string;
1474
+ };
1475
+ };
1476
+ } | {
1438
1477
  output: {
1439
1478
  profile: {
1440
1479
  exists: boolean;
@@ -1477,46 +1516,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1477
1516
  };
1478
1517
  };
1479
1518
  outputFormat: "json";
1480
- status: 201;
1481
- input: {
1482
- json: {
1483
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1484
- label?: string | undefined;
1485
- configDir: string;
1486
- };
1487
- };
1488
- } | {
1489
- output: {
1490
- error: string;
1491
- };
1492
- outputFormat: "json";
1493
- status: 400;
1494
- input: {
1495
- json: {
1496
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1497
- label?: string | undefined;
1498
- configDir: string;
1499
- };
1500
- };
1501
- } | {
1502
- output: {
1503
- error: string;
1504
- };
1505
- outputFormat: "json";
1506
- status: 409;
1507
- input: {
1508
- json: {
1509
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1510
- label?: string | undefined;
1511
- configDir: string;
1512
- };
1513
- };
1514
- } | {
1515
- output: {
1516
- error: string;
1517
- };
1518
- outputFormat: "json";
1519
- status: 500;
1519
+ status: 201;
1520
1520
  input: {
1521
1521
  json: {
1522
1522
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1550,7 +1550,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1550
1550
  error: string;
1551
1551
  };
1552
1552
  outputFormat: "json";
1553
- status: 400;
1553
+ status: 409;
1554
1554
  input: {
1555
1555
  param: {
1556
1556
  id: string;
@@ -1566,7 +1566,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1566
1566
  error: string;
1567
1567
  };
1568
1568
  outputFormat: "json";
1569
- status: 404;
1569
+ status: 400;
1570
1570
  input: {
1571
1571
  param: {
1572
1572
  id: string;
@@ -1582,7 +1582,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1582
1582
  error: string;
1583
1583
  };
1584
1584
  outputFormat: "json";
1585
- status: 409;
1585
+ status: 404;
1586
1586
  input: {
1587
1587
  param: {
1588
1588
  id: string;
@@ -1688,7 +1688,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1688
1688
  error: string;
1689
1689
  };
1690
1690
  outputFormat: "json";
1691
- status: 404;
1691
+ status: 409;
1692
1692
  input: {
1693
1693
  param: {
1694
1694
  id: string;
@@ -1703,7 +1703,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1703
1703
  error: string;
1704
1704
  };
1705
1705
  outputFormat: "json";
1706
- status: 409;
1706
+ status: 404;
1707
1707
  input: {
1708
1708
  param: {
1709
1709
  id: string;
@@ -1776,7 +1776,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1776
1776
  error: string;
1777
1777
  };
1778
1778
  outputFormat: "json";
1779
- status: 404;
1779
+ status: 409;
1780
1780
  input: {
1781
1781
  param: {
1782
1782
  id: string;
@@ -1787,7 +1787,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1787
1787
  error: string;
1788
1788
  };
1789
1789
  outputFormat: "json";
1790
- status: 409;
1790
+ status: 404;
1791
1791
  input: {
1792
1792
  param: {
1793
1793
  id: string;
@@ -1835,7 +1835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1835
1835
  error: string;
1836
1836
  };
1837
1837
  outputFormat: "json";
1838
- status: 400;
1838
+ status: 409;
1839
1839
  input: {
1840
1840
  param: {
1841
1841
  id: string;
@@ -1867,7 +1867,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1867
1867
  error: string;
1868
1868
  };
1869
1869
  outputFormat: "json";
1870
- status: 409;
1870
+ status: 400;
1871
1871
  input: {
1872
1872
  param: {
1873
1873
  id: string;
@@ -1904,7 +1904,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1904
1904
  error: string;
1905
1905
  };
1906
1906
  outputFormat: "json";
1907
- status: 400;
1907
+ status: 409;
1908
1908
  input: {
1909
1909
  json: {
1910
1910
  projectId: string | null;
@@ -1930,7 +1930,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1930
1930
  error: string;
1931
1931
  };
1932
1932
  outputFormat: "json";
1933
- status: 409;
1933
+ status: 400;
1934
1934
  input: {
1935
1935
  json: {
1936
1936
  projectId: string | null;
@@ -2004,7 +2004,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2004
2004
  error: string;
2005
2005
  };
2006
2006
  outputFormat: "json";
2007
- status: 404;
2007
+ status: 409;
2008
2008
  input: {
2009
2009
  param: {
2010
2010
  id: string;
@@ -2015,7 +2015,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2015
2015
  error: string;
2016
2016
  };
2017
2017
  outputFormat: "json";
2018
- status: 409;
2018
+ status: 500;
2019
2019
  input: {
2020
2020
  param: {
2021
2021
  id: string;
@@ -2026,7 +2026,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2026
2026
  error: string;
2027
2027
  };
2028
2028
  outputFormat: "json";
2029
- status: 500;
2029
+ status: 404;
2030
2030
  input: {
2031
2031
  param: {
2032
2032
  id: string;
@@ -2183,7 +2183,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2183
2183
  error: string;
2184
2184
  };
2185
2185
  outputFormat: "json";
2186
- status: 404;
2186
+ status: 409;
2187
2187
  input: {
2188
2188
  param: {
2189
2189
  projectId: string;
@@ -2194,7 +2194,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2194
2194
  error: string;
2195
2195
  };
2196
2196
  outputFormat: "json";
2197
- status: 409;
2197
+ status: 404;
2198
2198
  input: {
2199
2199
  param: {
2200
2200
  projectId: string;
@@ -2232,7 +2232,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2232
2232
  error: string;
2233
2233
  };
2234
2234
  outputFormat: "json";
2235
- status: 404;
2235
+ status: 409;
2236
2236
  input: {
2237
2237
  json: {
2238
2238
  maxParallel?: number | null | undefined;
@@ -2253,7 +2253,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2253
2253
  error: string;
2254
2254
  };
2255
2255
  outputFormat: "json";
2256
- status: 409;
2256
+ status: 404;
2257
2257
  input: {
2258
2258
  json: {
2259
2259
  maxParallel?: number | null | undefined;
@@ -2349,7 +2349,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2349
2349
  error: string;
2350
2350
  };
2351
2351
  outputFormat: "json";
2352
- status: 400;
2352
+ status: 409;
2353
2353
  input: {
2354
2354
  param: {
2355
2355
  projectId: string;
@@ -2371,7 +2371,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2371
2371
  error: string;
2372
2372
  };
2373
2373
  outputFormat: "json";
2374
- status: 409;
2374
+ status: 400;
2375
2375
  input: {
2376
2376
  param: {
2377
2377
  projectId: string;
@@ -2396,6 +2396,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2396
2396
  } & {
2397
2397
  "/projects/:projectId/webhooks": {
2398
2398
  $post: {
2399
+ output: {
2400
+ error: string;
2401
+ };
2402
+ outputFormat: "json";
2403
+ status: 400 | 404 | 409 | 500;
2404
+ input: {
2405
+ json: {
2406
+ name: string;
2407
+ description?: string | undefined;
2408
+ url: string;
2409
+ token?: string | undefined;
2410
+ tasks?: boolean | undefined;
2411
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2412
+ agent?: boolean | undefined;
2413
+ };
2414
+ } & {
2415
+ param: {
2416
+ projectId: string;
2417
+ };
2418
+ };
2419
+ } | {
2399
2420
  output: {
2400
2421
  project: {
2401
2422
  id: string;
@@ -2454,27 +2475,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2454
2475
  projectId: string;
2455
2476
  };
2456
2477
  };
2457
- } | {
2458
- output: {
2459
- error: string;
2460
- };
2461
- outputFormat: "json";
2462
- status: 400 | 404 | 409 | 500;
2463
- input: {
2464
- json: {
2465
- name: string;
2466
- description?: string | undefined;
2467
- url: string;
2468
- token?: string | undefined;
2469
- tasks?: boolean | undefined;
2470
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2471
- agent?: boolean | undefined;
2472
- };
2473
- } & {
2474
- param: {
2475
- projectId: string;
2476
- };
2477
- };
2478
2478
  };
2479
2479
  };
2480
2480
  } & {
@@ -2676,7 +2676,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2676
2676
  error: string;
2677
2677
  };
2678
2678
  outputFormat: "json";
2679
- status: 404;
2679
+ status: 409;
2680
2680
  input: {
2681
2681
  param: {
2682
2682
  projectId: string;
@@ -2685,10 +2685,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2685
2685
  };
2686
2686
  } | {
2687
2687
  output: {
2688
- error: string;
2688
+ ok: boolean;
2689
+ status?: number | undefined;
2690
+ error?: string | undefined;
2691
+ dryRun?: boolean | undefined;
2689
2692
  };
2690
2693
  outputFormat: "json";
2691
- status: 409;
2694
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2692
2695
  input: {
2693
2696
  param: {
2694
2697
  projectId: string;
@@ -2697,13 +2700,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2697
2700
  };
2698
2701
  } | {
2699
2702
  output: {
2700
- ok: boolean;
2701
- status?: number | undefined;
2702
- error?: string | undefined;
2703
- dryRun?: boolean | undefined;
2703
+ error: string;
2704
2704
  };
2705
2705
  outputFormat: "json";
2706
- status: import("hono/utils/http-status").ContentfulStatusCode;
2706
+ status: 404;
2707
2707
  input: {
2708
2708
  param: {
2709
2709
  projectId: string;
@@ -3154,7 +3154,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3154
3154
  error: string;
3155
3155
  };
3156
3156
  outputFormat: "json";
3157
- status: 400;
3157
+ status: 409;
3158
3158
  input: {
3159
3159
  json: {
3160
3160
  target: string;
@@ -3165,7 +3165,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3165
3165
  error: string;
3166
3166
  };
3167
3167
  outputFormat: "json";
3168
- status: 409;
3168
+ status: 400;
3169
3169
  input: {
3170
3170
  json: {
3171
3171
  target: string;
@@ -3188,12 +3188,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3188
3188
  }, "/"> | import("hono/types").MergeSchemaPath<{
3189
3189
  "/runs/:id/events": {
3190
3190
  $get: {
3191
- output: {
3192
- error: string;
3193
- code?: "invalid_input" | undefined;
3194
- };
3195
- outputFormat: "json";
3196
- status: 400;
3191
+ output: {};
3192
+ outputFormat: string;
3193
+ status: import("hono/utils/http-status").StatusCode;
3197
3194
  input: {
3198
3195
  param: {
3199
3196
  id: string;
@@ -3205,9 +3202,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3205
3202
  };
3206
3203
  };
3207
3204
  } | {
3208
- output: {};
3209
- outputFormat: string;
3210
- status: import("hono/utils/http-status").StatusCode;
3205
+ output: {
3206
+ error: string;
3207
+ code?: "invalid_input" | undefined;
3208
+ };
3209
+ outputFormat: "json";
3210
+ status: 400;
3211
3211
  input: {
3212
3212
  param: {
3213
3213
  id: string;
@@ -3268,10 +3268,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3268
3268
  "/config": {
3269
3269
  $put: {
3270
3270
  output: {
3271
- error: string;
3271
+ archiveOnMerge: boolean | null;
3272
+ effectiveArchiveOnMerge: boolean;
3273
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3274
+ baseBranch: string | null;
3275
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3276
+ systemPrompt: string | null;
3277
+ defaultModels: {
3278
+ claude?: string | undefined;
3279
+ codex?: string | undefined;
3280
+ opencode?: string | undefined;
3281
+ pi?: string | undefined;
3282
+ cursor?: string | undefined;
3283
+ omp?: string | undefined;
3284
+ };
3285
+ modelsLocked: boolean;
3286
+ maxParallel: number;
3287
+ memoryLimitMb: number | null;
3288
+ worktreeRetention: number;
3289
+ liveTitleUpdates: boolean | null;
3290
+ reviewGate: boolean | null;
3291
+ worktreeSetup: {
3292
+ commands: string[];
3293
+ timeoutSeconds: number;
3294
+ } | null;
3295
+ worktreeSetupIssue: string | null;
3272
3296
  };
3273
3297
  outputFormat: "json";
3274
- status: 409;
3298
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3275
3299
  input: {
3276
3300
  json: {
3277
3301
  archiveOnMerge?: boolean | null | undefined;
@@ -3302,7 +3326,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3302
3326
  error: string;
3303
3327
  };
3304
3328
  outputFormat: "json";
3305
- status: 500;
3329
+ status: 409;
3306
3330
  input: {
3307
3331
  json: {
3308
3332
  archiveOnMerge?: boolean | null | undefined;
@@ -3330,34 +3354,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3330
3354
  };
3331
3355
  } | {
3332
3356
  output: {
3333
- archiveOnMerge: boolean | null;
3334
- effectiveArchiveOnMerge: boolean;
3335
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3336
- baseBranch: string | null;
3337
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3338
- systemPrompt: string | null;
3339
- defaultModels: {
3340
- claude?: string | undefined;
3341
- codex?: string | undefined;
3342
- opencode?: string | undefined;
3343
- pi?: string | undefined;
3344
- cursor?: string | undefined;
3345
- omp?: string | undefined;
3346
- };
3347
- modelsLocked: boolean;
3348
- maxParallel: number;
3349
- memoryLimitMb: number | null;
3350
- worktreeRetention: number;
3351
- liveTitleUpdates: boolean | null;
3352
- reviewGate: boolean | null;
3353
- worktreeSetup: {
3354
- commands: string[];
3355
- timeoutSeconds: number;
3356
- } | null;
3357
- worktreeSetupIssue: string | null;
3357
+ error: string;
3358
3358
  };
3359
3359
  outputFormat: "json";
3360
- status: import("hono/utils/http-status").ContentfulStatusCode;
3360
+ status: 500;
3361
3361
  input: {
3362
3362
  json: {
3363
3363
  archiveOnMerge?: boolean | null | undefined;
@@ -3388,6 +3388,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3388
3388
  }, "/"> | import("hono/types").MergeSchemaPath<{
3389
3389
  "/voice/decide": {
3390
3390
  $post: {
3391
+ output: {
3392
+ error: string;
3393
+ };
3394
+ outputFormat: "json";
3395
+ status: 503;
3396
+ input: {
3397
+ json: {
3398
+ text: string;
3399
+ sidebarView: "active" | "automations";
3400
+ openRunId?: string | undefined;
3401
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3402
+ askRequestId?: string | null | undefined;
3403
+ proposal?: {
3404
+ decisionId: string;
3405
+ action: "answer" | "tell";
3406
+ } | undefined;
3407
+ };
3408
+ };
3409
+ } | {
3391
3410
  output: {
3392
3411
  action: "open";
3393
3412
  decisionId: string;
@@ -3445,25 +3464,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3445
3464
  } | undefined;
3446
3465
  };
3447
3466
  };
3448
- } | {
3449
- output: {
3450
- error: string;
3451
- };
3452
- outputFormat: "json";
3453
- status: 503;
3454
- input: {
3455
- json: {
3456
- text: string;
3457
- sidebarView: "active" | "automations";
3458
- openRunId?: string | undefined;
3459
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3460
- askRequestId?: string | null | undefined;
3461
- proposal?: {
3462
- decisionId: string;
3463
- action: "answer" | "tell";
3464
- } | undefined;
3465
- };
3466
- };
3467
3467
  };
3468
3468
  };
3469
3469
  } & {
@@ -3568,18 +3568,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3568
3568
  }, "/"> | import("hono/types").MergeSchemaPath<{
3569
3569
  "/skills": {
3570
3570
  $get: {
3571
- output: {
3572
- error: string;
3573
- code?: "invalid_input" | undefined;
3574
- };
3575
- outputFormat: "json";
3576
- status: 400;
3577
- input: {
3578
- query: {
3579
- wait?: string | undefined;
3580
- };
3581
- };
3582
- } | {
3583
3571
  output: {
3584
3572
  name: string;
3585
3573
  description?: string | undefined;
@@ -3602,11 +3590,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3602
3590
  wait?: string | undefined;
3603
3591
  };
3604
3592
  };
3605
- };
3606
- };
3607
- } & {
3608
- "/skills/importable": {
3609
- $get: {
3593
+ } | {
3610
3594
  output: {
3611
3595
  error: string;
3612
3596
  code?: "invalid_input" | undefined;
@@ -3618,7 +3602,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3618
3602
  wait?: string | undefined;
3619
3603
  };
3620
3604
  };
3621
- } | {
3605
+ };
3606
+ };
3607
+ } & {
3608
+ "/skills/importable": {
3609
+ $get: {
3622
3610
  output: {
3623
3611
  name: string;
3624
3612
  description?: string | undefined;
@@ -3635,7 +3623,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3635
3623
  } | undefined;
3636
3624
  }[];
3637
3625
  outputFormat: "json";
3638
- status: import("hono/utils/http-status").ContentfulStatusCode;
3626
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3627
+ input: {
3628
+ query: {
3629
+ wait?: string | undefined;
3630
+ };
3631
+ };
3632
+ } | {
3633
+ output: {
3634
+ error: string;
3635
+ code?: "invalid_input" | undefined;
3636
+ };
3637
+ outputFormat: "json";
3638
+ status: 400;
3639
3639
  input: {
3640
3640
  query: {
3641
3641
  wait?: string | undefined;
@@ -3841,10 +3841,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3841
3841
  "/agent-config/:id": {
3842
3842
  $put: {
3843
3843
  output: {
3844
- error: string;
3844
+ id: string;
3845
+ path: string;
3846
+ exists: boolean;
3847
+ content: string;
3848
+ version: string | null;
3845
3849
  };
3846
3850
  outputFormat: "json";
3847
- status: 404;
3851
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3848
3852
  input: {
3849
3853
  json: {
3850
3854
  content: string;
@@ -3857,14 +3861,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3857
3861
  };
3858
3862
  } | {
3859
3863
  output: {
3860
- id: string;
3861
- path: string;
3862
- exists: boolean;
3863
- content: string;
3864
- version: string | null;
3864
+ error: string;
3865
3865
  };
3866
3866
  outputFormat: "json";
3867
- status: import("hono/utils/http-status").ContentfulStatusCode;
3867
+ status: 404;
3868
3868
  input: {
3869
3869
  json: {
3870
3870
  content: string;
@@ -3935,11 +3935,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3935
3935
  "/workflows": {
3936
3936
  $post: {
3937
3937
  output: {
3938
- path: string;
3939
- name: string;
3938
+ error: string;
3940
3939
  };
3941
3940
  outputFormat: "json";
3942
- status: 201;
3941
+ status: 400;
3943
3942
  input: {
3944
3943
  json: {
3945
3944
  name: string;
@@ -3969,9 +3968,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3969
3968
  } | {
3970
3969
  output: {
3971
3970
  error: string;
3971
+ exists: true;
3972
3972
  };
3973
3973
  outputFormat: "json";
3974
- status: 400;
3974
+ status: 409;
3975
3975
  input: {
3976
3976
  json: {
3977
3977
  name: string;
@@ -4001,10 +4001,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4001
4001
  } | {
4002
4002
  output: {
4003
4003
  error: string;
4004
- exists: true;
4005
4004
  };
4006
4005
  outputFormat: "json";
4007
- status: 409;
4006
+ status: 500;
4008
4007
  input: {
4009
4008
  json: {
4010
4009
  name: string;
@@ -4033,10 +4032,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4033
4032
  };
4034
4033
  } | {
4035
4034
  output: {
4036
- error: string;
4035
+ path: string;
4036
+ name: string;
4037
4037
  };
4038
4038
  outputFormat: "json";
4039
- status: 500;
4039
+ status: 201;
4040
4040
  input: {
4041
4041
  json: {
4042
4042
  name: string;
@@ -4072,7 +4072,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4072
4072
  error: string;
4073
4073
  };
4074
4074
  outputFormat: "json";
4075
- status: 400;
4075
+ status: 404;
4076
4076
  input: {
4077
4077
  param: {
4078
4078
  name: string;
@@ -4083,7 +4083,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4083
4083
  error: string;
4084
4084
  };
4085
4085
  outputFormat: "json";
4086
- status: 404;
4086
+ status: 400;
4087
4087
  input: {
4088
4088
  param: {
4089
4089
  name: string;
@@ -4275,18 +4275,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4275
4275
  "/repo/branches/delete": {
4276
4276
  $post: {
4277
4277
  output: {
4278
- deleted: string[];
4278
+ error: string;
4279
4279
  refused: {
4280
4280
  name: string;
4281
4281
  reason: string;
4282
4282
  }[];
4283
- dropped?: {
4284
- sha: string;
4285
- subject: string;
4286
- }[] | undefined;
4287
4283
  };
4288
4284
  outputFormat: "json";
4289
- status: 200;
4285
+ status: 409;
4290
4286
  input: {
4291
4287
  json: {
4292
4288
  names: string[];
@@ -4295,14 +4291,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4295
4291
  };
4296
4292
  } | {
4297
4293
  output: {
4298
- error: string;
4294
+ deleted: string[];
4299
4295
  refused: {
4300
4296
  name: string;
4301
4297
  reason: string;
4302
4298
  }[];
4299
+ dropped?: {
4300
+ sha: string;
4301
+ subject: string;
4302
+ }[] | undefined;
4303
4303
  };
4304
4304
  outputFormat: "json";
4305
- status: 409;
4305
+ status: 200;
4306
4306
  input: {
4307
4307
  json: {
4308
4308
  names: string[];
@@ -4323,12 +4323,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4323
4323
  } & {
4324
4324
  "/repo/commit/:sha": {
4325
4325
  $get: {
4326
- output: {
4327
- error: string;
4328
- code?: "invalid_input" | undefined;
4329
- };
4330
- outputFormat: "json";
4331
- status: 400;
4326
+ output: string;
4327
+ outputFormat: "text";
4328
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4332
4329
  input: {
4333
4330
  query: {
4334
4331
  structured?: string | undefined;
@@ -4341,9 +4338,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4341
4338
  } | {
4342
4339
  output: {
4343
4340
  error: string;
4341
+ code?: "invalid_input" | undefined;
4344
4342
  };
4345
4343
  outputFormat: "json";
4346
- status: 409;
4344
+ status: 400;
4347
4345
  input: {
4348
4346
  query: {
4349
4347
  structured?: string | undefined;
@@ -4387,9 +4385,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4387
4385
  };
4388
4386
  };
4389
4387
  } | {
4390
- output: string;
4391
- outputFormat: "text";
4392
- status: import("hono/utils/http-status").ContentfulStatusCode;
4388
+ output: {
4389
+ error: string;
4390
+ };
4391
+ outputFormat: "json";
4392
+ status: 409;
4393
4393
  input: {
4394
4394
  query: {
4395
4395
  structured?: string | undefined;
@@ -4404,13 +4404,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4404
4404
  } & {
4405
4405
  "/repo/changes": {
4406
4406
  $get: {
4407
- output: {
4408
- error: string;
4409
- };
4410
- outputFormat: "json";
4411
- status: 409;
4412
- input: {};
4413
- } | {
4414
4407
  output: {
4415
4408
  files: {
4416
4409
  path: string;
@@ -4435,6 +4428,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4435
4428
  outputFormat: "json";
4436
4429
  status: import("hono/utils/http-status").ContentfulStatusCode;
4437
4430
  input: {};
4431
+ } | {
4432
+ output: {
4433
+ error: string;
4434
+ };
4435
+ outputFormat: "json";
4436
+ status: 409;
4437
+ input: {};
4438
4438
  };
4439
4439
  };
4440
4440
  } & {
@@ -4459,12 +4459,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4459
4459
  "/repo/pull": {
4460
4460
  $post: {
4461
4461
  output: {
4462
- branch: string;
4463
- pulled: true;
4464
- summary: string;
4462
+ error: string;
4465
4463
  };
4466
4464
  outputFormat: "json";
4467
- status: 200;
4465
+ status: 409;
4468
4466
  input: {
4469
4467
  json: {
4470
4468
  branch?: string | undefined;
@@ -4473,10 +4471,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4473
4471
  };
4474
4472
  } | {
4475
4473
  output: {
4476
- error: string;
4474
+ branch: string;
4475
+ pulled: true;
4476
+ summary: string;
4477
4477
  };
4478
4478
  outputFormat: "json";
4479
- status: 409;
4479
+ status: 200;
4480
4480
  input: {
4481
4481
  json: {
4482
4482
  branch?: string | undefined;
@@ -5411,18 +5411,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5411
5411
  "/automations": {
5412
5412
  $post: {
5413
5413
  output: {
5414
- automation: {
5415
- [x: string]: import("hono/utils/types").JSONValue;
5416
- id: string;
5417
- revision: number;
5414
+ error: string;
5415
+ };
5416
+ outputFormat: "json";
5417
+ status: 400 | 404 | 409;
5418
+ input: {
5419
+ json: {
5418
5420
  name: string;
5419
5421
  description?: string | undefined;
5420
- enabled: boolean;
5421
- kind: "github" | "schedule";
5422
+ enabled?: boolean | undefined;
5423
+ kind?: "github" | "schedule" | undefined;
5422
5424
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5423
5425
  intervalSeconds?: number | undefined;
5424
5426
  filters?: {
5425
- [x: string]: import("hono/utils/types").JSONValue;
5427
+ [x: string]: unknown;
5426
5428
  includeExisting?: boolean | undefined;
5427
5429
  requireCurrentLabels?: boolean | undefined;
5428
5430
  authors?: string[] | undefined;
@@ -5431,11 +5433,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5431
5433
  anyLabels?: string[] | undefined;
5432
5434
  excludeLabels?: string[] | undefined;
5433
5435
  changedLabels?: string[] | undefined;
5434
- lookbackDays: number;
5435
- maxRecords: number;
5436
+ lookbackDays?: number | undefined;
5437
+ maxRecords?: number | undefined;
5436
5438
  } | undefined;
5437
5439
  schedule?: {
5438
- [x: string]: import("hono/utils/types").JSONValue;
5439
5440
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5440
5441
  hour?: number | undefined;
5441
5442
  minute?: number | undefined;
@@ -5446,7 +5447,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5446
5447
  latestStartMinutes?: number | undefined;
5447
5448
  } | undefined;
5448
5449
  task: {
5449
- [x: string]: import("hono/utils/types").JSONValue;
5450
+ [x: string]: unknown;
5450
5451
  prompt: string;
5451
5452
  workflow?: string | undefined;
5452
5453
  steps?: {
@@ -5464,49 +5465,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5464
5465
  command?: string | undefined;
5465
5466
  onFail?: {
5466
5467
  retry: string;
5467
- max: number;
5468
+ max?: number | undefined;
5468
5469
  } | undefined;
5469
5470
  }[] | undefined;
5470
5471
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5471
5472
  model?: string | undefined;
5472
5473
  effort?: string | undefined;
5473
- variants?: 1 | 2 | 3 | undefined;
5474
5474
  worktree?: boolean | undefined;
5475
5475
  autonomous?: boolean | undefined;
5476
5476
  archiveWhenDone?: boolean | undefined;
5477
5477
  autoMergePr?: boolean | undefined;
5478
5478
  systemPrompt?: string | undefined;
5479
+ variants?: 1 | undefined;
5479
5480
  };
5480
- archived?: {
5481
- [x: string]: import("hono/utils/types").JSONValue;
5482
- at: string;
5483
- outcome: "cancelled" | "launched";
5484
- runId?: string | undefined;
5485
- receiptId?: string | undefined;
5486
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5487
- } | undefined;
5488
- createdAt: string;
5489
- updatedAt: string;
5481
+ enable?: boolean | undefined;
5490
5482
  };
5491
- once?: {
5492
- dueAt: string;
5493
- timeZone: string;
5494
- resolvedInstant: string;
5495
- note: string;
5496
- } | undefined;
5497
5483
  };
5498
- outputFormat: "json";
5499
- status: 201;
5500
- input: {
5501
- json: {
5484
+ } | {
5485
+ output: {
5486
+ automation: {
5487
+ [x: string]: import("hono/utils/types").JSONValue;
5488
+ id: string;
5489
+ revision: number;
5502
5490
  name: string;
5503
5491
  description?: string | undefined;
5504
- enabled?: boolean | undefined;
5505
- kind?: "github" | "schedule" | undefined;
5492
+ enabled: boolean;
5493
+ kind: "github" | "schedule";
5506
5494
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5507
5495
  intervalSeconds?: number | undefined;
5508
5496
  filters?: {
5509
- [x: string]: unknown;
5497
+ [x: string]: import("hono/utils/types").JSONValue;
5510
5498
  includeExisting?: boolean | undefined;
5511
5499
  requireCurrentLabels?: boolean | undefined;
5512
5500
  authors?: string[] | undefined;
@@ -5515,10 +5503,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5515
5503
  anyLabels?: string[] | undefined;
5516
5504
  excludeLabels?: string[] | undefined;
5517
5505
  changedLabels?: string[] | undefined;
5518
- lookbackDays?: number | undefined;
5519
- maxRecords?: number | undefined;
5506
+ lookbackDays: number;
5507
+ maxRecords: number;
5520
5508
  } | undefined;
5521
5509
  schedule?: {
5510
+ [x: string]: import("hono/utils/types").JSONValue;
5522
5511
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5523
5512
  hour?: number | undefined;
5524
5513
  minute?: number | undefined;
@@ -5529,7 +5518,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5529
5518
  latestStartMinutes?: number | undefined;
5530
5519
  } | undefined;
5531
5520
  task: {
5532
- [x: string]: unknown;
5521
+ [x: string]: import("hono/utils/types").JSONValue;
5533
5522
  prompt: string;
5534
5523
  workflow?: string | undefined;
5535
5524
  steps?: {
@@ -5547,28 +5536,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5547
5536
  command?: string | undefined;
5548
5537
  onFail?: {
5549
5538
  retry: string;
5550
- max?: number | undefined;
5539
+ max: number;
5551
5540
  } | undefined;
5552
5541
  }[] | undefined;
5553
5542
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5554
5543
  model?: string | undefined;
5555
5544
  effort?: string | undefined;
5545
+ variants?: 1 | 2 | 3 | undefined;
5556
5546
  worktree?: boolean | undefined;
5557
5547
  autonomous?: boolean | undefined;
5558
5548
  archiveWhenDone?: boolean | undefined;
5559
5549
  autoMergePr?: boolean | undefined;
5560
5550
  systemPrompt?: string | undefined;
5561
- variants?: 1 | undefined;
5562
5551
  };
5563
- enable?: boolean | undefined;
5552
+ archived?: {
5553
+ [x: string]: import("hono/utils/types").JSONValue;
5554
+ at: string;
5555
+ outcome: "cancelled" | "launched";
5556
+ runId?: string | undefined;
5557
+ receiptId?: string | undefined;
5558
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5559
+ } | undefined;
5560
+ createdAt: string;
5561
+ updatedAt: string;
5564
5562
  };
5565
- };
5566
- } | {
5567
- output: {
5568
- error: string;
5563
+ once?: {
5564
+ dueAt: string;
5565
+ timeZone: string;
5566
+ resolvedInstant: string;
5567
+ note: string;
5568
+ } | undefined;
5569
5569
  };
5570
5570
  outputFormat: "json";
5571
- status: 400 | 404 | 409;
5571
+ status: 201;
5572
5572
  input: {
5573
5573
  json: {
5574
5574
  name: string;
@@ -5640,6 +5640,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5640
5640
  } & {
5641
5641
  "/automations/:id": {
5642
5642
  $get: {
5643
+ output: {
5644
+ error: string;
5645
+ };
5646
+ outputFormat: "json";
5647
+ status: 400 | 404 | 409;
5648
+ input: {
5649
+ param: {
5650
+ id: string;
5651
+ };
5652
+ };
5653
+ } | {
5643
5654
  output: {
5644
5655
  automation: {
5645
5656
  [x: string]: import("hono/utils/types").JSONValue;
@@ -5793,35 +5804,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5793
5804
  id: string;
5794
5805
  };
5795
5806
  };
5796
- } | {
5797
- output: {
5798
- error: string;
5799
- };
5800
- outputFormat: "json";
5801
- status: 400 | 404 | 409;
5802
- input: {
5803
- param: {
5804
- id: string;
5805
- };
5806
- };
5807
5807
  };
5808
5808
  };
5809
5809
  } & {
5810
5810
  "/automations/:id": {
5811
5811
  $put: {
5812
5812
  output: {
5813
- automation: {
5814
- [x: string]: import("hono/utils/types").JSONValue;
5815
- id: string;
5816
- revision: number;
5813
+ error: string;
5814
+ };
5815
+ outputFormat: "json";
5816
+ status: 400 | 404 | 409;
5817
+ input: {
5818
+ json: {
5817
5819
  name: string;
5818
5820
  description?: string | undefined;
5819
- enabled: boolean;
5820
- kind: "github" | "schedule";
5821
+ enabled?: boolean | undefined;
5822
+ kind?: "github" | "schedule" | undefined;
5821
5823
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5822
5824
  intervalSeconds?: number | undefined;
5823
5825
  filters?: {
5824
- [x: string]: import("hono/utils/types").JSONValue;
5826
+ [x: string]: unknown;
5825
5827
  includeExisting?: boolean | undefined;
5826
5828
  requireCurrentLabels?: boolean | undefined;
5827
5829
  authors?: string[] | undefined;
@@ -5830,11 +5832,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5830
5832
  anyLabels?: string[] | undefined;
5831
5833
  excludeLabels?: string[] | undefined;
5832
5834
  changedLabels?: string[] | undefined;
5833
- lookbackDays: number;
5834
- maxRecords: number;
5835
+ lookbackDays?: number | undefined;
5836
+ maxRecords?: number | undefined;
5835
5837
  } | undefined;
5836
5838
  schedule?: {
5837
- [x: string]: import("hono/utils/types").JSONValue;
5838
5839
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5839
5840
  hour?: number | undefined;
5840
5841
  minute?: number | undefined;
@@ -5845,7 +5846,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5845
5846
  latestStartMinutes?: number | undefined;
5846
5847
  } | undefined;
5847
5848
  task: {
5848
- [x: string]: import("hono/utils/types").JSONValue;
5849
+ [x: string]: unknown;
5849
5850
  prompt: string;
5850
5851
  workflow?: string | undefined;
5851
5852
  steps?: {
@@ -5863,43 +5864,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5863
5864
  command?: string | undefined;
5864
5865
  onFail?: {
5865
5866
  retry: string;
5866
- max: number;
5867
+ max?: number | undefined;
5867
5868
  } | undefined;
5868
5869
  }[] | undefined;
5869
5870
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5870
5871
  model?: string | undefined;
5871
5872
  effort?: string | undefined;
5872
- variants?: 1 | 2 | 3 | undefined;
5873
5873
  worktree?: boolean | undefined;
5874
5874
  autonomous?: boolean | undefined;
5875
5875
  archiveWhenDone?: boolean | undefined;
5876
5876
  autoMergePr?: boolean | undefined;
5877
- systemPrompt?: string | undefined;
5878
- };
5879
- archived?: {
5880
- [x: string]: import("hono/utils/types").JSONValue;
5881
- at: string;
5882
- outcome: "cancelled" | "launched";
5883
- runId?: string | undefined;
5884
- receiptId?: string | undefined;
5885
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5886
- } | undefined;
5887
- createdAt: string;
5888
- updatedAt: string;
5877
+ systemPrompt?: string | undefined;
5878
+ variants?: 1 | undefined;
5879
+ };
5880
+ expectedRevision: number;
5881
+ };
5882
+ } & {
5883
+ param: {
5884
+ id: string;
5889
5885
  };
5890
5886
  };
5891
- outputFormat: "json";
5892
- status: import("hono/utils/http-status").ContentfulStatusCode;
5893
- input: {
5894
- json: {
5887
+ } | {
5888
+ output: {
5889
+ automation: {
5890
+ [x: string]: import("hono/utils/types").JSONValue;
5891
+ id: string;
5892
+ revision: number;
5895
5893
  name: string;
5896
5894
  description?: string | undefined;
5897
- enabled?: boolean | undefined;
5898
- kind?: "github" | "schedule" | undefined;
5895
+ enabled: boolean;
5896
+ kind: "github" | "schedule";
5899
5897
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5900
5898
  intervalSeconds?: number | undefined;
5901
5899
  filters?: {
5902
- [x: string]: unknown;
5900
+ [x: string]: import("hono/utils/types").JSONValue;
5903
5901
  includeExisting?: boolean | undefined;
5904
5902
  requireCurrentLabels?: boolean | undefined;
5905
5903
  authors?: string[] | undefined;
@@ -5908,10 +5906,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5908
5906
  anyLabels?: string[] | undefined;
5909
5907
  excludeLabels?: string[] | undefined;
5910
5908
  changedLabels?: string[] | undefined;
5911
- lookbackDays?: number | undefined;
5912
- maxRecords?: number | undefined;
5909
+ lookbackDays: number;
5910
+ maxRecords: number;
5913
5911
  } | undefined;
5914
5912
  schedule?: {
5913
+ [x: string]: import("hono/utils/types").JSONValue;
5915
5914
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5916
5915
  hour?: number | undefined;
5917
5916
  minute?: number | undefined;
@@ -5922,7 +5921,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5922
5921
  latestStartMinutes?: number | undefined;
5923
5922
  } | undefined;
5924
5923
  task: {
5925
- [x: string]: unknown;
5924
+ [x: string]: import("hono/utils/types").JSONValue;
5926
5925
  prompt: string;
5927
5926
  workflow?: string | undefined;
5928
5927
  steps?: {
@@ -5940,32 +5939,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5940
5939
  command?: string | undefined;
5941
5940
  onFail?: {
5942
5941
  retry: string;
5943
- max?: number | undefined;
5942
+ max: number;
5944
5943
  } | undefined;
5945
5944
  }[] | undefined;
5946
5945
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5947
5946
  model?: string | undefined;
5948
5947
  effort?: string | undefined;
5948
+ variants?: 1 | 2 | 3 | undefined;
5949
5949
  worktree?: boolean | undefined;
5950
5950
  autonomous?: boolean | undefined;
5951
5951
  archiveWhenDone?: boolean | undefined;
5952
5952
  autoMergePr?: boolean | undefined;
5953
5953
  systemPrompt?: string | undefined;
5954
- variants?: 1 | undefined;
5955
5954
  };
5956
- expectedRevision: number;
5957
- };
5958
- } & {
5959
- param: {
5960
- id: string;
5955
+ archived?: {
5956
+ [x: string]: import("hono/utils/types").JSONValue;
5957
+ at: string;
5958
+ outcome: "cancelled" | "launched";
5959
+ runId?: string | undefined;
5960
+ receiptId?: string | undefined;
5961
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5962
+ } | undefined;
5963
+ createdAt: string;
5964
+ updatedAt: string;
5961
5965
  };
5962
5966
  };
5963
- } | {
5964
- output: {
5965
- error: string;
5966
- };
5967
5967
  outputFormat: "json";
5968
- status: 400 | 404 | 409;
5968
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5969
5969
  input: {
5970
5970
  json: {
5971
5971
  name: string;
@@ -6065,6 +6065,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6065
6065
  } & {
6066
6066
  "/automations/:id/enable": {
6067
6067
  $post: {
6068
+ output: {
6069
+ error: string;
6070
+ };
6071
+ outputFormat: "json";
6072
+ status: 400 | 404 | 409;
6073
+ input: {
6074
+ param: {
6075
+ id: string;
6076
+ };
6077
+ };
6078
+ } | {
6068
6079
  output: {
6069
6080
  automation: {
6070
6081
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6151,7 +6162,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6151
6162
  id: string;
6152
6163
  };
6153
6164
  };
6154
- } | {
6165
+ };
6166
+ };
6167
+ } & {
6168
+ "/automations/:id/pause": {
6169
+ $post: {
6155
6170
  output: {
6156
6171
  error: string;
6157
6172
  };
@@ -6162,11 +6177,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6162
6177
  id: string;
6163
6178
  };
6164
6179
  };
6165
- };
6166
- };
6167
- } & {
6168
- "/automations/:id/pause": {
6169
- $post: {
6180
+ } | {
6170
6181
  output: {
6171
6182
  automation: {
6172
6183
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6253,7 +6264,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6253
6264
  id: string;
6254
6265
  };
6255
6266
  };
6256
- } | {
6267
+ };
6268
+ };
6269
+ } & {
6270
+ "/automations/:id/cancel": {
6271
+ $post: {
6257
6272
  output: {
6258
6273
  error: string;
6259
6274
  };
@@ -6264,11 +6279,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6264
6279
  id: string;
6265
6280
  };
6266
6281
  };
6267
- };
6268
- };
6269
- } & {
6270
- "/automations/:id/cancel": {
6271
- $post: {
6282
+ } | {
6272
6283
  output: {
6273
6284
  automation: {
6274
6285
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6355,27 +6366,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6355
6366
  id: string;
6356
6367
  };
6357
6368
  };
6358
- } | {
6359
- output: {
6360
- error: string;
6361
- };
6362
- outputFormat: "json";
6363
- status: 400 | 404 | 409;
6364
- input: {
6365
- param: {
6366
- id: string;
6367
- };
6368
- };
6369
6369
  };
6370
6370
  };
6371
6371
  } & {
6372
6372
  "/automations/:id/run": {
6373
6373
  $post: {
6374
6374
  output: {
6375
- runId: string;
6375
+ error: string;
6376
6376
  };
6377
6377
  outputFormat: "json";
6378
- status: 202;
6378
+ status: 400 | 404 | 409;
6379
6379
  input: {
6380
6380
  param: {
6381
6381
  id: string;
@@ -6383,10 +6383,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6383
6383
  };
6384
6384
  } | {
6385
6385
  output: {
6386
- error: string;
6386
+ runId: string;
6387
6387
  };
6388
6388
  outputFormat: "json";
6389
- status: 400 | 404 | 409;
6389
+ status: 202;
6390
6390
  input: {
6391
6391
  param: {
6392
6392
  id: string;
@@ -6398,10 +6398,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6398
6398
  "/automations/:id/check": {
6399
6399
  $post: {
6400
6400
  output: {
6401
- checkId: string;
6401
+ error: string;
6402
6402
  };
6403
6403
  outputFormat: "json";
6404
- status: 202;
6404
+ status: 404;
6405
6405
  input: {
6406
6406
  json: {
6407
6407
  mode: "execute" | "preview";
@@ -6416,7 +6416,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6416
6416
  error: string;
6417
6417
  };
6418
6418
  outputFormat: "json";
6419
- status: 404;
6419
+ status: 409;
6420
6420
  input: {
6421
6421
  json: {
6422
6422
  mode: "execute" | "preview";
@@ -6428,10 +6428,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6428
6428
  };
6429
6429
  } | {
6430
6430
  output: {
6431
- error: string;
6431
+ checkId: string;
6432
6432
  };
6433
6433
  outputFormat: "json";
6434
- status: 409;
6434
+ status: 202;
6435
6435
  input: {
6436
6436
  json: {
6437
6437
  mode: "execute" | "preview";
@@ -6505,11 +6505,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6505
6505
  "/automation-log/:receiptId/retry": {
6506
6506
  $post: {
6507
6507
  output: {
6508
- receiptId: string;
6509
- runId: string;
6508
+ error: string;
6510
6509
  };
6511
6510
  outputFormat: "json";
6512
- status: 202;
6511
+ status: 404;
6513
6512
  input: {
6514
6513
  param: {
6515
6514
  receiptId: string;
@@ -6520,7 +6519,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6520
6519
  error: string;
6521
6520
  };
6522
6521
  outputFormat: "json";
6523
- status: 404;
6522
+ status: 409;
6524
6523
  input: {
6525
6524
  param: {
6526
6525
  receiptId: string;
@@ -6528,10 +6527,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6528
6527
  };
6529
6528
  } | {
6530
6529
  output: {
6531
- error: string;
6530
+ receiptId: string;
6531
+ runId: string;
6532
6532
  };
6533
6533
  outputFormat: "json";
6534
- status: 409;
6534
+ status: 202;
6535
6535
  input: {
6536
6536
  param: {
6537
6537
  receiptId: string;
@@ -7345,18 +7345,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7345
7345
  } & {
7346
7346
  "/run-summaries": {
7347
7347
  $get: {
7348
- output: {
7349
- error: string;
7350
- code?: "invalid_input" | undefined;
7351
- };
7352
- outputFormat: "json";
7353
- status: 400;
7354
- input: {
7355
- query: {
7356
- archived?: "all" | "recent" | undefined;
7357
- };
7358
- };
7359
- } | {
7360
7348
  output: {
7361
7349
  id: string;
7362
7350
  title: string;
@@ -7478,6 +7466,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7478
7466
  archived?: "all" | "recent" | undefined;
7479
7467
  };
7480
7468
  };
7469
+ } | {
7470
+ output: {
7471
+ error: string;
7472
+ code?: "invalid_input" | undefined;
7473
+ };
7474
+ outputFormat: "json";
7475
+ status: 400;
7476
+ input: {
7477
+ query: {
7478
+ archived?: "all" | "recent" | undefined;
7479
+ };
7480
+ };
7481
7481
  };
7482
7482
  };
7483
7483
  } & {
@@ -7801,20 +7801,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7801
7801
  "/runs/:id/worker-destroy": {
7802
7802
  $post: {
7803
7803
  output: {
7804
- workerId: string;
7805
- state: "complete" | "incomplete";
7806
- deleted?: ({
7807
- kind: "worktree";
7808
- path: string;
7809
- } | {
7810
- kind: "branch";
7811
- ref: string;
7812
- })[] | undefined;
7813
- remaining: ("branch" | "process" | "worktree")[];
7814
- error?: string | undefined;
7804
+ error: string;
7805
+ code?: "invalid_input" | undefined;
7815
7806
  };
7816
7807
  outputFormat: "json";
7817
- status: 200;
7808
+ status: 400;
7818
7809
  input: {
7819
7810
  query: {
7820
7811
  [x: string]: string | string[];
@@ -7828,11 +7819,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7828
7819
  };
7829
7820
  } | {
7830
7821
  output: {
7831
- error: string;
7832
- code?: "invalid_input" | undefined;
7822
+ workerId: string;
7823
+ state: "complete" | "incomplete";
7824
+ deleted?: ({
7825
+ kind: "worktree";
7826
+ path: string;
7827
+ } | {
7828
+ kind: "branch";
7829
+ ref: string;
7830
+ })[] | undefined;
7831
+ remaining: ("branch" | "process" | "worktree")[];
7832
+ error?: string | undefined;
7833
7833
  };
7834
7834
  outputFormat: "json";
7835
- status: 400;
7835
+ status: 200;
7836
7836
  input: {
7837
7837
  query: {
7838
7838
  [x: string]: string | string[];
@@ -7938,21 +7938,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7938
7938
  } & {
7939
7939
  "/runs/:id/archive": {
7940
7940
  $post: {
7941
- output: {
7942
- error: string;
7943
- };
7944
- outputFormat: "json";
7945
- status: 404;
7946
- input: {
7947
- json: {
7948
- archived?: boolean | undefined;
7949
- };
7950
- } & {
7951
- param: {
7952
- id: string;
7953
- };
7954
- };
7955
- } | {
7956
7941
  output: {
7957
7942
  id: string;
7958
7943
  title: string;
@@ -8752,32 +8737,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8752
8737
  id: string;
8753
8738
  };
8754
8739
  };
8755
- };
8756
- };
8757
- } & {
8758
- "/runs/:id/pin": {
8759
- $post: {
8740
+ } | {
8760
8741
  output: {
8761
8742
  error: string;
8762
- code?: "invalid_input" | undefined;
8763
8743
  };
8764
8744
  outputFormat: "json";
8765
- status: 400;
8745
+ status: 404;
8766
8746
  input: {
8767
- param: {
8768
- id: string;
8747
+ json: {
8748
+ archived?: boolean | undefined;
8769
8749
  };
8770
8750
  } & {
8771
- json: {
8772
- pinned?: boolean | undefined;
8751
+ param: {
8752
+ id: string;
8773
8753
  };
8774
8754
  };
8775
- } | {
8755
+ };
8756
+ };
8757
+ } & {
8758
+ "/runs/:id/pin": {
8759
+ $post: {
8776
8760
  output: {
8777
8761
  error: string;
8762
+ code?: "invalid_input" | undefined;
8778
8763
  };
8779
8764
  outputFormat: "json";
8780
- status: 404;
8765
+ status: 400;
8781
8766
  input: {
8782
8767
  param: {
8783
8768
  id: string;
@@ -9587,49 +9572,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9587
9572
  pinned?: boolean | undefined;
9588
9573
  };
9589
9574
  };
9590
- };
9591
- };
9592
- } & {
9593
- "/runs/:id/notify": {
9594
- $post: {
9595
- output: {
9596
- error: string;
9597
- code?: "invalid_input" | undefined;
9598
- };
9599
- outputFormat: "json";
9600
- status: 400;
9601
- input: {
9602
- param: {
9603
- id: string;
9604
- };
9605
- } & {
9606
- json: {
9607
- notify: boolean;
9608
- message?: string | undefined;
9609
- };
9610
- };
9611
9575
  } | {
9612
9576
  output: {
9613
9577
  error: string;
9614
9578
  };
9615
9579
  outputFormat: "json";
9616
- status: 400;
9580
+ status: 404;
9617
9581
  input: {
9618
9582
  param: {
9619
9583
  id: string;
9620
9584
  };
9621
9585
  } & {
9622
9586
  json: {
9623
- notify: boolean;
9624
- message?: string | undefined;
9587
+ pinned?: boolean | undefined;
9625
9588
  };
9626
9589
  };
9627
- } | {
9590
+ };
9591
+ };
9592
+ } & {
9593
+ "/runs/:id/notify": {
9594
+ $post: {
9628
9595
  output: {
9629
9596
  error: string;
9597
+ code?: "invalid_input" | undefined;
9630
9598
  };
9631
9599
  outputFormat: "json";
9632
- status: 404;
9600
+ status: 400;
9633
9601
  input: {
9634
9602
  param: {
9635
9603
  id: string;
@@ -10441,11 +10409,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10441
10409
  message?: string | undefined;
10442
10410
  };
10443
10411
  };
10444
- };
10445
- };
10446
- } & {
10447
- "/runs/:id/auto-resume": {
10448
- $delete: {
10412
+ } | {
10449
10413
  output: {
10450
10414
  error: string;
10451
10415
  };
@@ -10455,23 +10419,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10455
10419
  param: {
10456
10420
  id: string;
10457
10421
  };
10422
+ } & {
10423
+ json: {
10424
+ notify: boolean;
10425
+ message?: string | undefined;
10426
+ };
10458
10427
  };
10459
10428
  } | {
10460
10429
  output: {
10461
- cancelled: true;
10430
+ error: string;
10462
10431
  };
10463
10432
  outputFormat: "json";
10464
- status: import("hono/utils/http-status").ContentfulStatusCode;
10433
+ status: 400;
10465
10434
  input: {
10466
10435
  param: {
10467
10436
  id: string;
10468
10437
  };
10438
+ } & {
10439
+ json: {
10440
+ notify: boolean;
10441
+ message?: string | undefined;
10442
+ };
10469
10443
  };
10470
10444
  };
10471
10445
  };
10472
10446
  } & {
10473
- "/runs/:id/read": {
10474
- $post: {
10447
+ "/runs/:id/auto-resume": {
10448
+ $delete: {
10475
10449
  output: {
10476
10450
  error: string;
10477
10451
  };
@@ -10483,6 +10457,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10483
10457
  };
10484
10458
  };
10485
10459
  } | {
10460
+ output: {
10461
+ cancelled: true;
10462
+ };
10463
+ outputFormat: "json";
10464
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10465
+ input: {
10466
+ param: {
10467
+ id: string;
10468
+ };
10469
+ };
10470
+ };
10471
+ };
10472
+ } & {
10473
+ "/runs/:id/read": {
10474
+ $post: {
10486
10475
  output: {
10487
10476
  id: string;
10488
10477
  title: string;
@@ -11278,11 +11267,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11278
11267
  id: string;
11279
11268
  };
11280
11269
  };
11281
- };
11282
- };
11283
- } & {
11284
- "/runs/:id/unread": {
11285
- $post: {
11270
+ } | {
11286
11271
  output: {
11287
11272
  error: string;
11288
11273
  };
@@ -11293,7 +11278,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11293
11278
  id: string;
11294
11279
  };
11295
11280
  };
11296
- } | {
11281
+ };
11282
+ };
11283
+ } & {
11284
+ "/runs/:id/unread": {
11285
+ $post: {
11297
11286
  output: {
11298
11287
  id: string;
11299
11288
  title: string;
@@ -12089,6 +12078,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12089
12078
  id: string;
12090
12079
  };
12091
12080
  };
12081
+ } | {
12082
+ output: {
12083
+ error: string;
12084
+ };
12085
+ outputFormat: "json";
12086
+ status: 404;
12087
+ input: {
12088
+ param: {
12089
+ id: string;
12090
+ };
12091
+ };
12092
12092
  };
12093
12093
  };
12094
12094
  } & {
@@ -12975,17 +12975,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12975
12975
  } & {
12976
12976
  "/runs/:id": {
12977
12977
  $get: {
12978
- output: {
12979
- error: string;
12980
- };
12981
- outputFormat: "json";
12982
- status: 404;
12983
- input: {
12984
- param: {
12985
- id: string;
12986
- };
12987
- };
12988
- } | {
12989
12978
  output: {
12990
12979
  id: string;
12991
12980
  title: string;
@@ -13788,6 +13777,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13788
13777
  id: string;
13789
13778
  };
13790
13779
  };
13780
+ } | {
13781
+ output: {
13782
+ error: string;
13783
+ };
13784
+ outputFormat: "json";
13785
+ status: 404;
13786
+ input: {
13787
+ param: {
13788
+ id: string;
13789
+ };
13790
+ };
13791
13791
  };
13792
13792
  };
13793
13793
  } & {
@@ -13915,60 +13915,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13915
13915
  } & {
13916
13916
  "/runs/:id": {
13917
13917
  $patch: {
13918
- output: {
13919
- error: string;
13920
- };
13921
- outputFormat: "json";
13922
- status: 400;
13923
- input: {
13924
- json: {
13925
- title?: string | undefined;
13926
- task?: string | undefined;
13927
- archiveWhenDone?: boolean | undefined;
13928
- autoMergePr?: boolean | undefined;
13929
- };
13930
- } & {
13931
- param: {
13932
- id: string;
13933
- };
13934
- };
13935
- } | {
13936
- output: {
13937
- error: string;
13938
- };
13939
- outputFormat: "json";
13940
- status: 404;
13941
- input: {
13942
- json: {
13943
- title?: string | undefined;
13944
- task?: string | undefined;
13945
- archiveWhenDone?: boolean | undefined;
13946
- autoMergePr?: boolean | undefined;
13947
- };
13948
- } & {
13949
- param: {
13950
- id: string;
13951
- };
13952
- };
13953
- } | {
13954
- output: {
13955
- error: string;
13956
- };
13957
- outputFormat: "json";
13958
- status: 409;
13959
- input: {
13960
- json: {
13961
- title?: string | undefined;
13962
- task?: string | undefined;
13963
- archiveWhenDone?: boolean | undefined;
13964
- autoMergePr?: boolean | undefined;
13965
- };
13966
- } & {
13967
- param: {
13968
- id: string;
13969
- };
13970
- };
13971
- } | {
13972
13918
  output: {
13973
13919
  id: string;
13974
13920
  title: string;
@@ -14771,6 +14717,60 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14771
14717
  id: string;
14772
14718
  };
14773
14719
  };
14720
+ } | {
14721
+ output: {
14722
+ error: string;
14723
+ };
14724
+ outputFormat: "json";
14725
+ status: 404;
14726
+ input: {
14727
+ json: {
14728
+ title?: string | undefined;
14729
+ task?: string | undefined;
14730
+ archiveWhenDone?: boolean | undefined;
14731
+ autoMergePr?: boolean | undefined;
14732
+ };
14733
+ } & {
14734
+ param: {
14735
+ id: string;
14736
+ };
14737
+ };
14738
+ } | {
14739
+ output: {
14740
+ error: string;
14741
+ };
14742
+ outputFormat: "json";
14743
+ status: 400;
14744
+ input: {
14745
+ json: {
14746
+ title?: string | undefined;
14747
+ task?: string | undefined;
14748
+ archiveWhenDone?: boolean | undefined;
14749
+ autoMergePr?: boolean | undefined;
14750
+ };
14751
+ } & {
14752
+ param: {
14753
+ id: string;
14754
+ };
14755
+ };
14756
+ } | {
14757
+ output: {
14758
+ error: string;
14759
+ };
14760
+ outputFormat: "json";
14761
+ status: 409;
14762
+ input: {
14763
+ json: {
14764
+ title?: string | undefined;
14765
+ task?: string | undefined;
14766
+ archiveWhenDone?: boolean | undefined;
14767
+ autoMergePr?: boolean | undefined;
14768
+ };
14769
+ } & {
14770
+ param: {
14771
+ id: string;
14772
+ };
14773
+ };
14774
14774
  };
14775
14775
  };
14776
14776
  } & {
@@ -14875,7 +14875,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14875
14875
  error: string;
14876
14876
  };
14877
14877
  outputFormat: "json";
14878
- status: 400;
14878
+ status: 404;
14879
14879
  input: {
14880
14880
  json: {
14881
14881
  text?: string | undefined;
@@ -14894,7 +14894,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14894
14894
  error: string;
14895
14895
  };
14896
14896
  outputFormat: "json";
14897
- status: 404;
14897
+ status: 409;
14898
14898
  input: {
14899
14899
  json: {
14900
14900
  text?: string | undefined;
@@ -14910,10 +14910,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14910
14910
  };
14911
14911
  } | {
14912
14912
  output: {
14913
- error: string;
14913
+ delivered: true;
14914
14914
  };
14915
14915
  outputFormat: "json";
14916
- status: 409;
14916
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14917
14917
  input: {
14918
14918
  json: {
14919
14919
  text?: string | undefined;
@@ -14929,10 +14929,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14929
14929
  };
14930
14930
  } | {
14931
14931
  output: {
14932
- delivered: true;
14932
+ error: string;
14933
14933
  };
14934
14934
  outputFormat: "json";
14935
- status: import("hono/utils/http-status").ContentfulStatusCode;
14935
+ status: 400;
14936
14936
  input: {
14937
14937
  json: {
14938
14938
  text?: string | undefined;
@@ -14999,7 +14999,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14999
14999
  error: string;
15000
15000
  };
15001
15001
  outputFormat: "json";
15002
- status: 400;
15002
+ status: 404;
15003
15003
  input: {
15004
15004
  json: {
15005
15005
  text?: string | undefined;
@@ -15020,7 +15020,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15020
15020
  error: string;
15021
15021
  };
15022
15022
  outputFormat: "json";
15023
- status: 404;
15023
+ status: 400;
15024
15024
  input: {
15025
15025
  json: {
15026
15026
  text?: string | undefined;
@@ -15172,7 +15172,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15172
15172
  error: string;
15173
15173
  };
15174
15174
  outputFormat: "json";
15175
- status: 400;
15175
+ status: 404;
15176
15176
  input: {
15177
15177
  json: {
15178
15178
  text?: string | undefined;
@@ -15195,7 +15195,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15195
15195
  error: string;
15196
15196
  };
15197
15197
  outputFormat: "json";
15198
- status: 404;
15198
+ status: 400;
15199
15199
  input: {
15200
15200
  json: {
15201
15201
  text?: string | undefined;
@@ -15306,7 +15306,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15306
15306
  error: string;
15307
15307
  };
15308
15308
  outputFormat: "json";
15309
- status: 400;
15309
+ status: 409;
15310
15310
  input: {
15311
15311
  json: {
15312
15312
  target: string;
@@ -15322,7 +15322,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15322
15322
  error: string;
15323
15323
  };
15324
15324
  outputFormat: "json";
15325
- status: 404;
15325
+ status: 400;
15326
15326
  input: {
15327
15327
  json: {
15328
15328
  target: string;
@@ -15335,10 +15335,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15335
15335
  };
15336
15336
  } | {
15337
15337
  output: {
15338
- error: string;
15338
+ opened: true;
15339
+ path: string;
15339
15340
  };
15340
15341
  outputFormat: "json";
15341
- status: 409;
15342
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15342
15343
  input: {
15343
15344
  json: {
15344
15345
  target: string;
@@ -15351,11 +15352,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15351
15352
  };
15352
15353
  } | {
15353
15354
  output: {
15354
- opened: true;
15355
- path: string;
15355
+ error: string;
15356
15356
  };
15357
15357
  outputFormat: "json";
15358
- status: import("hono/utils/http-status").ContentfulStatusCode;
15358
+ status: 404;
15359
15359
  input: {
15360
15360
  json: {
15361
15361
  target: string;
@@ -15395,12 +15395,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15395
15395
  } & {
15396
15396
  "/runs/:id/images/:file": {
15397
15397
  $get: {
15398
- output: {
15399
- error: string;
15400
- code?: "invalid_input" | undefined;
15401
- };
15402
- outputFormat: "json";
15403
- status: 400;
15398
+ output: {};
15399
+ outputFormat: string;
15400
+ status: import("hono/utils/http-status").StatusCode;
15404
15401
  input: {
15405
15402
  param: {
15406
15403
  id: string;
@@ -15408,9 +15405,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15408
15405
  };
15409
15406
  };
15410
15407
  } | {
15411
- output: {};
15412
- outputFormat: string;
15413
- status: import("hono/utils/http-status").StatusCode;
15408
+ output: {
15409
+ error: string;
15410
+ code?: "invalid_input" | undefined;
15411
+ };
15412
+ outputFormat: "json";
15413
+ status: 400;
15414
15414
  input: {
15415
15415
  param: {
15416
15416
  id: string;
@@ -15421,12 +15421,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15421
15421
  };
15422
15422
  } & {
15423
15423
  "/runs/:id/diff": {
15424
- $get: {
15425
- output: {
15426
- error: string;
15427
- };
15428
- outputFormat: "json";
15429
- status: 404;
15424
+ $get: {
15425
+ output: string;
15426
+ outputFormat: "text";
15427
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15430
15428
  input: {
15431
15429
  param: {
15432
15430
  id: string;
@@ -15437,16 +15435,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15437
15435
  error: string;
15438
15436
  };
15439
15437
  outputFormat: "json";
15440
- status: 409;
15438
+ status: 404;
15441
15439
  input: {
15442
15440
  param: {
15443
15441
  id: string;
15444
15442
  };
15445
15443
  };
15446
15444
  } | {
15447
- output: string;
15448
- outputFormat: "text";
15449
- status: import("hono/utils/http-status").ContentfulStatusCode;
15445
+ output: {
15446
+ error: string;
15447
+ };
15448
+ outputFormat: "json";
15449
+ status: 409;
15450
15450
  input: {
15451
15451
  param: {
15452
15452
  id: string;
@@ -15775,18 +15775,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15775
15775
  artifactId: string;
15776
15776
  };
15777
15777
  };
15778
- } | {
15779
- output: {
15780
- error: string;
15781
- };
15782
- outputFormat: "json";
15783
- status: 404;
15784
- input: {
15785
- param: {
15786
- id: string;
15787
- artifactId: string;
15788
- };
15789
- };
15790
15778
  } | {
15791
15779
  output: {
15792
15780
  type: "file";
@@ -15814,6 +15802,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15814
15802
  artifactId: string;
15815
15803
  };
15816
15804
  };
15805
+ } | {
15806
+ output: {
15807
+ error: string;
15808
+ };
15809
+ outputFormat: "json";
15810
+ status: 404;
15811
+ input: {
15812
+ param: {
15813
+ id: string;
15814
+ artifactId: string;
15815
+ };
15816
+ };
15817
15817
  };
15818
15818
  };
15819
15819
  } & {
@@ -16110,11 +16110,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16110
16110
  "/runs/:id/pr": {
16111
16111
  $post: {
16112
16112
  output: {
16113
- url: string;
16114
- dryRun: boolean;
16113
+ error: string;
16115
16114
  };
16116
16115
  outputFormat: "json";
16117
- status: 201;
16116
+ status: 404;
16118
16117
  input: {
16119
16118
  param: {
16120
16119
  id: string;
@@ -16125,7 +16124,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16125
16124
  error: string;
16126
16125
  };
16127
16126
  outputFormat: "json";
16128
- status: 400;
16127
+ status: 409;
16129
16128
  input: {
16130
16129
  param: {
16131
16130
  id: string;
@@ -16136,7 +16135,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16136
16135
  error: string;
16137
16136
  };
16138
16137
  outputFormat: "json";
16139
- status: 404;
16138
+ status: 400;
16140
16139
  input: {
16141
16140
  param: {
16142
16141
  id: string;
@@ -16144,10 +16143,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16144
16143
  };
16145
16144
  } | {
16146
16145
  output: {
16147
- error: string;
16146
+ url: string;
16147
+ dryRun: boolean;
16148
16148
  };
16149
16149
  outputFormat: "json";
16150
- status: 409;
16150
+ status: 201;
16151
16151
  input: {
16152
16152
  param: {
16153
16153
  id: string;
@@ -16199,7 +16199,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16199
16199
  error: string;
16200
16200
  };
16201
16201
  outputFormat: "json";
16202
- status: 404;
16202
+ status: 409;
16203
16203
  input: {
16204
16204
  param: {
16205
16205
  id: string;
@@ -16210,7 +16210,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16210
16210
  error: string;
16211
16211
  };
16212
16212
  outputFormat: "json";
16213
- status: 409;
16213
+ status: 404;
16214
16214
  input: {
16215
16215
  param: {
16216
16216
  id: string;
@@ -16485,7 +16485,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16485
16485
  error: string;
16486
16486
  };
16487
16487
  outputFormat: "json";
16488
- status: 400;
16488
+ status: 409;
16489
16489
  input: {
16490
16490
  json: {
16491
16491
  target: string;
@@ -16496,7 +16496,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16496
16496
  error: string;
16497
16497
  };
16498
16498
  outputFormat: "json";
16499
- status: 409;
16499
+ status: 400;
16500
16500
  input: {
16501
16501
  json: {
16502
16502
  target: string;
@@ -16519,12 +16519,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16519
16519
  }, "/"> | import("hono/types").MergeSchemaPath<{
16520
16520
  "/runs/:id/events": {
16521
16521
  $get: {
16522
- output: {
16523
- error: string;
16524
- code?: "invalid_input" | undefined;
16525
- };
16526
- outputFormat: "json";
16527
- status: 400;
16522
+ output: {};
16523
+ outputFormat: string;
16524
+ status: import("hono/utils/http-status").StatusCode;
16528
16525
  input: {
16529
16526
  param: {
16530
16527
  id: string;
@@ -16536,9 +16533,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16536
16533
  };
16537
16534
  };
16538
16535
  } | {
16539
- output: {};
16540
- outputFormat: string;
16541
- status: import("hono/utils/http-status").StatusCode;
16536
+ output: {
16537
+ error: string;
16538
+ code?: "invalid_input" | undefined;
16539
+ };
16540
+ outputFormat: "json";
16541
+ status: 400;
16542
16542
  input: {
16543
16543
  param: {
16544
16544
  id: string;
@@ -16599,10 +16599,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16599
16599
  "/config": {
16600
16600
  $put: {
16601
16601
  output: {
16602
- error: string;
16602
+ archiveOnMerge: boolean | null;
16603
+ effectiveArchiveOnMerge: boolean;
16604
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
16605
+ baseBranch: string | null;
16606
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
16607
+ systemPrompt: string | null;
16608
+ defaultModels: {
16609
+ claude?: string | undefined;
16610
+ codex?: string | undefined;
16611
+ opencode?: string | undefined;
16612
+ pi?: string | undefined;
16613
+ cursor?: string | undefined;
16614
+ omp?: string | undefined;
16615
+ };
16616
+ modelsLocked: boolean;
16617
+ maxParallel: number;
16618
+ memoryLimitMb: number | null;
16619
+ worktreeRetention: number;
16620
+ liveTitleUpdates: boolean | null;
16621
+ reviewGate: boolean | null;
16622
+ worktreeSetup: {
16623
+ commands: string[];
16624
+ timeoutSeconds: number;
16625
+ } | null;
16626
+ worktreeSetupIssue: string | null;
16603
16627
  };
16604
16628
  outputFormat: "json";
16605
- status: 409;
16629
+ status: import("hono/utils/http-status").ContentfulStatusCode;
16606
16630
  input: {
16607
16631
  json: {
16608
16632
  archiveOnMerge?: boolean | null | undefined;
@@ -16633,7 +16657,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16633
16657
  error: string;
16634
16658
  };
16635
16659
  outputFormat: "json";
16636
- status: 500;
16660
+ status: 409;
16637
16661
  input: {
16638
16662
  json: {
16639
16663
  archiveOnMerge?: boolean | null | undefined;
@@ -16661,34 +16685,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16661
16685
  };
16662
16686
  } | {
16663
16687
  output: {
16664
- archiveOnMerge: boolean | null;
16665
- effectiveArchiveOnMerge: boolean;
16666
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
16667
- baseBranch: string | null;
16668
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
16669
- systemPrompt: string | null;
16670
- defaultModels: {
16671
- claude?: string | undefined;
16672
- codex?: string | undefined;
16673
- opencode?: string | undefined;
16674
- pi?: string | undefined;
16675
- cursor?: string | undefined;
16676
- omp?: string | undefined;
16677
- };
16678
- modelsLocked: boolean;
16679
- maxParallel: number;
16680
- memoryLimitMb: number | null;
16681
- worktreeRetention: number;
16682
- liveTitleUpdates: boolean | null;
16683
- reviewGate: boolean | null;
16684
- worktreeSetup: {
16685
- commands: string[];
16686
- timeoutSeconds: number;
16687
- } | null;
16688
- worktreeSetupIssue: string | null;
16688
+ error: string;
16689
16689
  };
16690
16690
  outputFormat: "json";
16691
- status: import("hono/utils/http-status").ContentfulStatusCode;
16691
+ status: 500;
16692
16692
  input: {
16693
16693
  json: {
16694
16694
  archiveOnMerge?: boolean | null | undefined;
@@ -16719,6 +16719,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16719
16719
  }, "/"> | import("hono/types").MergeSchemaPath<{
16720
16720
  "/voice/decide": {
16721
16721
  $post: {
16722
+ output: {
16723
+ error: string;
16724
+ };
16725
+ outputFormat: "json";
16726
+ status: 503;
16727
+ input: {
16728
+ json: {
16729
+ text: string;
16730
+ sidebarView: "active" | "automations";
16731
+ openRunId?: string | undefined;
16732
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
16733
+ askRequestId?: string | null | undefined;
16734
+ proposal?: {
16735
+ decisionId: string;
16736
+ action: "answer" | "tell";
16737
+ } | undefined;
16738
+ };
16739
+ };
16740
+ } | {
16722
16741
  output: {
16723
16742
  action: "open";
16724
16743
  decisionId: string;
@@ -16776,25 +16795,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16776
16795
  } | undefined;
16777
16796
  };
16778
16797
  };
16779
- } | {
16780
- output: {
16781
- error: string;
16782
- };
16783
- outputFormat: "json";
16784
- status: 503;
16785
- input: {
16786
- json: {
16787
- text: string;
16788
- sidebarView: "active" | "automations";
16789
- openRunId?: string | undefined;
16790
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
16791
- askRequestId?: string | null | undefined;
16792
- proposal?: {
16793
- decisionId: string;
16794
- action: "answer" | "tell";
16795
- } | undefined;
16796
- };
16797
- };
16798
16798
  };
16799
16799
  };
16800
16800
  } & {
@@ -16899,18 +16899,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16899
16899
  }, "/"> | import("hono/types").MergeSchemaPath<{
16900
16900
  "/skills": {
16901
16901
  $get: {
16902
- output: {
16903
- error: string;
16904
- code?: "invalid_input" | undefined;
16905
- };
16906
- outputFormat: "json";
16907
- status: 400;
16908
- input: {
16909
- query: {
16910
- wait?: string | undefined;
16911
- };
16912
- };
16913
- } | {
16914
16902
  output: {
16915
16903
  name: string;
16916
16904
  description?: string | undefined;
@@ -16933,11 +16921,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16933
16921
  wait?: string | undefined;
16934
16922
  };
16935
16923
  };
16936
- };
16937
- };
16938
- } & {
16939
- "/skills/importable": {
16940
- $get: {
16924
+ } | {
16941
16925
  output: {
16942
16926
  error: string;
16943
16927
  code?: "invalid_input" | undefined;
@@ -16949,7 +16933,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16949
16933
  wait?: string | undefined;
16950
16934
  };
16951
16935
  };
16952
- } | {
16936
+ };
16937
+ };
16938
+ } & {
16939
+ "/skills/importable": {
16940
+ $get: {
16953
16941
  output: {
16954
16942
  name: string;
16955
16943
  description?: string | undefined;
@@ -16972,6 +16960,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16972
16960
  wait?: string | undefined;
16973
16961
  };
16974
16962
  };
16963
+ } | {
16964
+ output: {
16965
+ error: string;
16966
+ code?: "invalid_input" | undefined;
16967
+ };
16968
+ outputFormat: "json";
16969
+ status: 400;
16970
+ input: {
16971
+ query: {
16972
+ wait?: string | undefined;
16973
+ };
16974
+ };
16975
16975
  };
16976
16976
  };
16977
16977
  } & {
@@ -17172,10 +17172,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17172
17172
  "/agent-config/:id": {
17173
17173
  $put: {
17174
17174
  output: {
17175
- error: string;
17175
+ id: string;
17176
+ path: string;
17177
+ exists: boolean;
17178
+ content: string;
17179
+ version: string | null;
17176
17180
  };
17177
17181
  outputFormat: "json";
17178
- status: 404;
17182
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17179
17183
  input: {
17180
17184
  json: {
17181
17185
  content: string;
@@ -17188,14 +17192,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17188
17192
  };
17189
17193
  } | {
17190
17194
  output: {
17191
- id: string;
17192
- path: string;
17193
- exists: boolean;
17194
- content: string;
17195
- version: string | null;
17195
+ error: string;
17196
17196
  };
17197
17197
  outputFormat: "json";
17198
- status: import("hono/utils/http-status").ContentfulStatusCode;
17198
+ status: 404;
17199
17199
  input: {
17200
17200
  json: {
17201
17201
  content: string;
@@ -17266,11 +17266,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17266
17266
  "/workflows": {
17267
17267
  $post: {
17268
17268
  output: {
17269
- path: string;
17270
- name: string;
17269
+ error: string;
17271
17270
  };
17272
17271
  outputFormat: "json";
17273
- status: 201;
17272
+ status: 400;
17274
17273
  input: {
17275
17274
  json: {
17276
17275
  name: string;
@@ -17300,9 +17299,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17300
17299
  } | {
17301
17300
  output: {
17302
17301
  error: string;
17302
+ exists: true;
17303
17303
  };
17304
17304
  outputFormat: "json";
17305
- status: 400;
17305
+ status: 409;
17306
17306
  input: {
17307
17307
  json: {
17308
17308
  name: string;
@@ -17332,10 +17332,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17332
17332
  } | {
17333
17333
  output: {
17334
17334
  error: string;
17335
- exists: true;
17336
17335
  };
17337
17336
  outputFormat: "json";
17338
- status: 409;
17337
+ status: 500;
17339
17338
  input: {
17340
17339
  json: {
17341
17340
  name: string;
@@ -17364,10 +17363,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17364
17363
  };
17365
17364
  } | {
17366
17365
  output: {
17367
- error: string;
17366
+ path: string;
17367
+ name: string;
17368
17368
  };
17369
17369
  outputFormat: "json";
17370
- status: 500;
17370
+ status: 201;
17371
17371
  input: {
17372
17372
  json: {
17373
17373
  name: string;
@@ -17403,7 +17403,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17403
17403
  error: string;
17404
17404
  };
17405
17405
  outputFormat: "json";
17406
- status: 400;
17406
+ status: 404;
17407
17407
  input: {
17408
17408
  param: {
17409
17409
  name: string;
@@ -17414,7 +17414,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17414
17414
  error: string;
17415
17415
  };
17416
17416
  outputFormat: "json";
17417
- status: 404;
17417
+ status: 400;
17418
17418
  input: {
17419
17419
  param: {
17420
17420
  name: string;
@@ -17606,18 +17606,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17606
17606
  "/repo/branches/delete": {
17607
17607
  $post: {
17608
17608
  output: {
17609
- deleted: string[];
17609
+ error: string;
17610
17610
  refused: {
17611
17611
  name: string;
17612
17612
  reason: string;
17613
17613
  }[];
17614
- dropped?: {
17615
- sha: string;
17616
- subject: string;
17617
- }[] | undefined;
17618
17614
  };
17619
17615
  outputFormat: "json";
17620
- status: 200;
17616
+ status: 409;
17621
17617
  input: {
17622
17618
  json: {
17623
17619
  names: string[];
@@ -17626,14 +17622,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17626
17622
  };
17627
17623
  } | {
17628
17624
  output: {
17629
- error: string;
17625
+ deleted: string[];
17630
17626
  refused: {
17631
17627
  name: string;
17632
17628
  reason: string;
17633
17629
  }[];
17630
+ dropped?: {
17631
+ sha: string;
17632
+ subject: string;
17633
+ }[] | undefined;
17634
17634
  };
17635
17635
  outputFormat: "json";
17636
- status: 409;
17636
+ status: 200;
17637
17637
  input: {
17638
17638
  json: {
17639
17639
  names: string[];
@@ -17654,12 +17654,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17654
17654
  } & {
17655
17655
  "/repo/commit/:sha": {
17656
17656
  $get: {
17657
- output: {
17658
- error: string;
17659
- code?: "invalid_input" | undefined;
17660
- };
17661
- outputFormat: "json";
17662
- status: 400;
17657
+ output: string;
17658
+ outputFormat: "text";
17659
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17663
17660
  input: {
17664
17661
  query: {
17665
17662
  structured?: string | undefined;
@@ -17672,9 +17669,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17672
17669
  } | {
17673
17670
  output: {
17674
17671
  error: string;
17672
+ code?: "invalid_input" | undefined;
17675
17673
  };
17676
17674
  outputFormat: "json";
17677
- status: 409;
17675
+ status: 400;
17678
17676
  input: {
17679
17677
  query: {
17680
17678
  structured?: string | undefined;
@@ -17718,9 +17716,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17718
17716
  };
17719
17717
  };
17720
17718
  } | {
17721
- output: string;
17722
- outputFormat: "text";
17723
- status: import("hono/utils/http-status").ContentfulStatusCode;
17719
+ output: {
17720
+ error: string;
17721
+ };
17722
+ outputFormat: "json";
17723
+ status: 409;
17724
17724
  input: {
17725
17725
  query: {
17726
17726
  structured?: string | undefined;
@@ -17735,13 +17735,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17735
17735
  } & {
17736
17736
  "/repo/changes": {
17737
17737
  $get: {
17738
- output: {
17739
- error: string;
17740
- };
17741
- outputFormat: "json";
17742
- status: 409;
17743
- input: {};
17744
- } | {
17745
17738
  output: {
17746
17739
  files: {
17747
17740
  path: string;
@@ -17766,6 +17759,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17766
17759
  outputFormat: "json";
17767
17760
  status: import("hono/utils/http-status").ContentfulStatusCode;
17768
17761
  input: {};
17762
+ } | {
17763
+ output: {
17764
+ error: string;
17765
+ };
17766
+ outputFormat: "json";
17767
+ status: 409;
17768
+ input: {};
17769
17769
  };
17770
17770
  };
17771
17771
  } & {
@@ -17790,12 +17790,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17790
17790
  "/repo/pull": {
17791
17791
  $post: {
17792
17792
  output: {
17793
- branch: string;
17794
- pulled: true;
17795
- summary: string;
17793
+ error: string;
17796
17794
  };
17797
17795
  outputFormat: "json";
17798
- status: 200;
17796
+ status: 409;
17799
17797
  input: {
17800
17798
  json: {
17801
17799
  branch?: string | undefined;
@@ -17804,10 +17802,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17804
17802
  };
17805
17803
  } | {
17806
17804
  output: {
17807
- error: string;
17805
+ branch: string;
17806
+ pulled: true;
17807
+ summary: string;
17808
17808
  };
17809
17809
  outputFormat: "json";
17810
- status: 409;
17810
+ status: 200;
17811
17811
  input: {
17812
17812
  json: {
17813
17813
  branch?: string | undefined;
@@ -18742,18 +18742,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18742
18742
  "/automations": {
18743
18743
  $post: {
18744
18744
  output: {
18745
- automation: {
18746
- [x: string]: import("hono/utils/types").JSONValue;
18747
- id: string;
18748
- revision: number;
18745
+ error: string;
18746
+ };
18747
+ outputFormat: "json";
18748
+ status: 400 | 404 | 409;
18749
+ input: {
18750
+ json: {
18749
18751
  name: string;
18750
18752
  description?: string | undefined;
18751
- enabled: boolean;
18752
- kind: "github" | "schedule";
18753
+ enabled?: boolean | undefined;
18754
+ kind?: "github" | "schedule" | undefined;
18753
18755
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
18754
18756
  intervalSeconds?: number | undefined;
18755
18757
  filters?: {
18756
- [x: string]: import("hono/utils/types").JSONValue;
18758
+ [x: string]: unknown;
18757
18759
  includeExisting?: boolean | undefined;
18758
18760
  requireCurrentLabels?: boolean | undefined;
18759
18761
  authors?: string[] | undefined;
@@ -18762,11 +18764,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18762
18764
  anyLabels?: string[] | undefined;
18763
18765
  excludeLabels?: string[] | undefined;
18764
18766
  changedLabels?: string[] | undefined;
18765
- lookbackDays: number;
18766
- maxRecords: number;
18767
+ lookbackDays?: number | undefined;
18768
+ maxRecords?: number | undefined;
18767
18769
  } | undefined;
18768
18770
  schedule?: {
18769
- [x: string]: import("hono/utils/types").JSONValue;
18770
18771
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
18771
18772
  hour?: number | undefined;
18772
18773
  minute?: number | undefined;
@@ -18777,7 +18778,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18777
18778
  latestStartMinutes?: number | undefined;
18778
18779
  } | undefined;
18779
18780
  task: {
18780
- [x: string]: import("hono/utils/types").JSONValue;
18781
+ [x: string]: unknown;
18781
18782
  prompt: string;
18782
18783
  workflow?: string | undefined;
18783
18784
  steps?: {
@@ -18795,49 +18796,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18795
18796
  command?: string | undefined;
18796
18797
  onFail?: {
18797
18798
  retry: string;
18798
- max: number;
18799
+ max?: number | undefined;
18799
18800
  } | undefined;
18800
18801
  }[] | undefined;
18801
18802
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
18802
18803
  model?: string | undefined;
18803
18804
  effort?: string | undefined;
18804
- variants?: 1 | 2 | 3 | undefined;
18805
18805
  worktree?: boolean | undefined;
18806
18806
  autonomous?: boolean | undefined;
18807
18807
  archiveWhenDone?: boolean | undefined;
18808
18808
  autoMergePr?: boolean | undefined;
18809
18809
  systemPrompt?: string | undefined;
18810
+ variants?: 1 | undefined;
18810
18811
  };
18811
- archived?: {
18812
- [x: string]: import("hono/utils/types").JSONValue;
18813
- at: string;
18814
- outcome: "cancelled" | "launched";
18815
- runId?: string | undefined;
18816
- receiptId?: string | undefined;
18817
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
18818
- } | undefined;
18819
- createdAt: string;
18820
- updatedAt: string;
18812
+ enable?: boolean | undefined;
18821
18813
  };
18822
- once?: {
18823
- dueAt: string;
18824
- timeZone: string;
18825
- resolvedInstant: string;
18826
- note: string;
18827
- } | undefined;
18828
18814
  };
18829
- outputFormat: "json";
18830
- status: 201;
18831
- input: {
18832
- json: {
18815
+ } | {
18816
+ output: {
18817
+ automation: {
18818
+ [x: string]: import("hono/utils/types").JSONValue;
18819
+ id: string;
18820
+ revision: number;
18833
18821
  name: string;
18834
18822
  description?: string | undefined;
18835
- enabled?: boolean | undefined;
18836
- kind?: "github" | "schedule" | undefined;
18823
+ enabled: boolean;
18824
+ kind: "github" | "schedule";
18837
18825
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
18838
18826
  intervalSeconds?: number | undefined;
18839
18827
  filters?: {
18840
- [x: string]: unknown;
18828
+ [x: string]: import("hono/utils/types").JSONValue;
18841
18829
  includeExisting?: boolean | undefined;
18842
18830
  requireCurrentLabels?: boolean | undefined;
18843
18831
  authors?: string[] | undefined;
@@ -18846,10 +18834,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18846
18834
  anyLabels?: string[] | undefined;
18847
18835
  excludeLabels?: string[] | undefined;
18848
18836
  changedLabels?: string[] | undefined;
18849
- lookbackDays?: number | undefined;
18850
- maxRecords?: number | undefined;
18837
+ lookbackDays: number;
18838
+ maxRecords: number;
18851
18839
  } | undefined;
18852
18840
  schedule?: {
18841
+ [x: string]: import("hono/utils/types").JSONValue;
18853
18842
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
18854
18843
  hour?: number | undefined;
18855
18844
  minute?: number | undefined;
@@ -18860,7 +18849,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18860
18849
  latestStartMinutes?: number | undefined;
18861
18850
  } | undefined;
18862
18851
  task: {
18863
- [x: string]: unknown;
18852
+ [x: string]: import("hono/utils/types").JSONValue;
18864
18853
  prompt: string;
18865
18854
  workflow?: string | undefined;
18866
18855
  steps?: {
@@ -18878,28 +18867,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18878
18867
  command?: string | undefined;
18879
18868
  onFail?: {
18880
18869
  retry: string;
18881
- max?: number | undefined;
18870
+ max: number;
18882
18871
  } | undefined;
18883
18872
  }[] | undefined;
18884
18873
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
18885
18874
  model?: string | undefined;
18886
18875
  effort?: string | undefined;
18876
+ variants?: 1 | 2 | 3 | undefined;
18887
18877
  worktree?: boolean | undefined;
18888
18878
  autonomous?: boolean | undefined;
18889
18879
  archiveWhenDone?: boolean | undefined;
18890
18880
  autoMergePr?: boolean | undefined;
18891
18881
  systemPrompt?: string | undefined;
18892
- variants?: 1 | undefined;
18893
18882
  };
18894
- enable?: boolean | undefined;
18883
+ archived?: {
18884
+ [x: string]: import("hono/utils/types").JSONValue;
18885
+ at: string;
18886
+ outcome: "cancelled" | "launched";
18887
+ runId?: string | undefined;
18888
+ receiptId?: string | undefined;
18889
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
18890
+ } | undefined;
18891
+ createdAt: string;
18892
+ updatedAt: string;
18895
18893
  };
18896
- };
18897
- } | {
18898
- output: {
18899
- error: string;
18894
+ once?: {
18895
+ dueAt: string;
18896
+ timeZone: string;
18897
+ resolvedInstant: string;
18898
+ note: string;
18899
+ } | undefined;
18900
18900
  };
18901
18901
  outputFormat: "json";
18902
- status: 400 | 404 | 409;
18902
+ status: 201;
18903
18903
  input: {
18904
18904
  json: {
18905
18905
  name: string;
@@ -18971,6 +18971,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18971
18971
  } & {
18972
18972
  "/automations/:id": {
18973
18973
  $get: {
18974
+ output: {
18975
+ error: string;
18976
+ };
18977
+ outputFormat: "json";
18978
+ status: 400 | 404 | 409;
18979
+ input: {
18980
+ param: {
18981
+ id: string;
18982
+ };
18983
+ };
18984
+ } | {
18974
18985
  output: {
18975
18986
  automation: {
18976
18987
  [x: string]: import("hono/utils/types").JSONValue;
@@ -19124,35 +19135,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19124
19135
  id: string;
19125
19136
  };
19126
19137
  };
19127
- } | {
19128
- output: {
19129
- error: string;
19130
- };
19131
- outputFormat: "json";
19132
- status: 400 | 404 | 409;
19133
- input: {
19134
- param: {
19135
- id: string;
19136
- };
19137
- };
19138
19138
  };
19139
19139
  };
19140
19140
  } & {
19141
19141
  "/automations/:id": {
19142
19142
  $put: {
19143
19143
  output: {
19144
- automation: {
19145
- [x: string]: import("hono/utils/types").JSONValue;
19146
- id: string;
19147
- revision: number;
19144
+ error: string;
19145
+ };
19146
+ outputFormat: "json";
19147
+ status: 400 | 404 | 409;
19148
+ input: {
19149
+ json: {
19148
19150
  name: string;
19149
19151
  description?: string | undefined;
19150
- enabled: boolean;
19151
- kind: "github" | "schedule";
19152
+ enabled?: boolean | undefined;
19153
+ kind?: "github" | "schedule" | undefined;
19152
19154
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
19153
19155
  intervalSeconds?: number | undefined;
19154
19156
  filters?: {
19155
- [x: string]: import("hono/utils/types").JSONValue;
19157
+ [x: string]: unknown;
19156
19158
  includeExisting?: boolean | undefined;
19157
19159
  requireCurrentLabels?: boolean | undefined;
19158
19160
  authors?: string[] | undefined;
@@ -19161,11 +19163,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19161
19163
  anyLabels?: string[] | undefined;
19162
19164
  excludeLabels?: string[] | undefined;
19163
19165
  changedLabels?: string[] | undefined;
19164
- lookbackDays: number;
19165
- maxRecords: number;
19166
+ lookbackDays?: number | undefined;
19167
+ maxRecords?: number | undefined;
19166
19168
  } | undefined;
19167
19169
  schedule?: {
19168
- [x: string]: import("hono/utils/types").JSONValue;
19169
19170
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
19170
19171
  hour?: number | undefined;
19171
19172
  minute?: number | undefined;
@@ -19176,7 +19177,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19176
19177
  latestStartMinutes?: number | undefined;
19177
19178
  } | undefined;
19178
19179
  task: {
19179
- [x: string]: import("hono/utils/types").JSONValue;
19180
+ [x: string]: unknown;
19180
19181
  prompt: string;
19181
19182
  workflow?: string | undefined;
19182
19183
  steps?: {
@@ -19194,43 +19195,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19194
19195
  command?: string | undefined;
19195
19196
  onFail?: {
19196
19197
  retry: string;
19197
- max: number;
19198
+ max?: number | undefined;
19198
19199
  } | undefined;
19199
19200
  }[] | undefined;
19200
19201
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
19201
19202
  model?: string | undefined;
19202
19203
  effort?: string | undefined;
19203
- variants?: 1 | 2 | 3 | undefined;
19204
19204
  worktree?: boolean | undefined;
19205
19205
  autonomous?: boolean | undefined;
19206
19206
  archiveWhenDone?: boolean | undefined;
19207
19207
  autoMergePr?: boolean | undefined;
19208
19208
  systemPrompt?: string | undefined;
19209
+ variants?: 1 | undefined;
19209
19210
  };
19210
- archived?: {
19211
- [x: string]: import("hono/utils/types").JSONValue;
19212
- at: string;
19213
- outcome: "cancelled" | "launched";
19214
- runId?: string | undefined;
19215
- receiptId?: string | undefined;
19216
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
19217
- } | undefined;
19218
- createdAt: string;
19219
- updatedAt: string;
19211
+ expectedRevision: number;
19212
+ };
19213
+ } & {
19214
+ param: {
19215
+ id: string;
19220
19216
  };
19221
19217
  };
19222
- outputFormat: "json";
19223
- status: import("hono/utils/http-status").ContentfulStatusCode;
19224
- input: {
19225
- json: {
19218
+ } | {
19219
+ output: {
19220
+ automation: {
19221
+ [x: string]: import("hono/utils/types").JSONValue;
19222
+ id: string;
19223
+ revision: number;
19226
19224
  name: string;
19227
19225
  description?: string | undefined;
19228
- enabled?: boolean | undefined;
19229
- kind?: "github" | "schedule" | undefined;
19226
+ enabled: boolean;
19227
+ kind: "github" | "schedule";
19230
19228
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
19231
19229
  intervalSeconds?: number | undefined;
19232
19230
  filters?: {
19233
- [x: string]: unknown;
19231
+ [x: string]: import("hono/utils/types").JSONValue;
19234
19232
  includeExisting?: boolean | undefined;
19235
19233
  requireCurrentLabels?: boolean | undefined;
19236
19234
  authors?: string[] | undefined;
@@ -19239,10 +19237,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19239
19237
  anyLabels?: string[] | undefined;
19240
19238
  excludeLabels?: string[] | undefined;
19241
19239
  changedLabels?: string[] | undefined;
19242
- lookbackDays?: number | undefined;
19243
- maxRecords?: number | undefined;
19240
+ lookbackDays: number;
19241
+ maxRecords: number;
19244
19242
  } | undefined;
19245
19243
  schedule?: {
19244
+ [x: string]: import("hono/utils/types").JSONValue;
19246
19245
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
19247
19246
  hour?: number | undefined;
19248
19247
  minute?: number | undefined;
@@ -19253,7 +19252,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19253
19252
  latestStartMinutes?: number | undefined;
19254
19253
  } | undefined;
19255
19254
  task: {
19256
- [x: string]: unknown;
19255
+ [x: string]: import("hono/utils/types").JSONValue;
19257
19256
  prompt: string;
19258
19257
  workflow?: string | undefined;
19259
19258
  steps?: {
@@ -19271,32 +19270,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19271
19270
  command?: string | undefined;
19272
19271
  onFail?: {
19273
19272
  retry: string;
19274
- max?: number | undefined;
19273
+ max: number;
19275
19274
  } | undefined;
19276
19275
  }[] | undefined;
19277
19276
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
19278
19277
  model?: string | undefined;
19279
19278
  effort?: string | undefined;
19279
+ variants?: 1 | 2 | 3 | undefined;
19280
19280
  worktree?: boolean | undefined;
19281
19281
  autonomous?: boolean | undefined;
19282
19282
  archiveWhenDone?: boolean | undefined;
19283
19283
  autoMergePr?: boolean | undefined;
19284
19284
  systemPrompt?: string | undefined;
19285
- variants?: 1 | undefined;
19286
19285
  };
19287
- expectedRevision: number;
19288
- };
19289
- } & {
19290
- param: {
19291
- id: string;
19286
+ archived?: {
19287
+ [x: string]: import("hono/utils/types").JSONValue;
19288
+ at: string;
19289
+ outcome: "cancelled" | "launched";
19290
+ runId?: string | undefined;
19291
+ receiptId?: string | undefined;
19292
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
19293
+ } | undefined;
19294
+ createdAt: string;
19295
+ updatedAt: string;
19292
19296
  };
19293
19297
  };
19294
- } | {
19295
- output: {
19296
- error: string;
19297
- };
19298
19298
  outputFormat: "json";
19299
- status: 400 | 404 | 409;
19299
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19300
19300
  input: {
19301
19301
  json: {
19302
19302
  name: string;
@@ -19396,6 +19396,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19396
19396
  } & {
19397
19397
  "/automations/:id/enable": {
19398
19398
  $post: {
19399
+ output: {
19400
+ error: string;
19401
+ };
19402
+ outputFormat: "json";
19403
+ status: 400 | 404 | 409;
19404
+ input: {
19405
+ param: {
19406
+ id: string;
19407
+ };
19408
+ };
19409
+ } | {
19399
19410
  output: {
19400
19411
  automation: {
19401
19412
  [x: string]: import("hono/utils/types").JSONValue;
@@ -19482,7 +19493,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19482
19493
  id: string;
19483
19494
  };
19484
19495
  };
19485
- } | {
19496
+ };
19497
+ };
19498
+ } & {
19499
+ "/automations/:id/pause": {
19500
+ $post: {
19486
19501
  output: {
19487
19502
  error: string;
19488
19503
  };
@@ -19493,11 +19508,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19493
19508
  id: string;
19494
19509
  };
19495
19510
  };
19496
- };
19497
- };
19498
- } & {
19499
- "/automations/:id/pause": {
19500
- $post: {
19511
+ } | {
19501
19512
  output: {
19502
19513
  automation: {
19503
19514
  [x: string]: import("hono/utils/types").JSONValue;
@@ -19584,7 +19595,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19584
19595
  id: string;
19585
19596
  };
19586
19597
  };
19587
- } | {
19598
+ };
19599
+ };
19600
+ } & {
19601
+ "/automations/:id/cancel": {
19602
+ $post: {
19588
19603
  output: {
19589
19604
  error: string;
19590
19605
  };
@@ -19595,11 +19610,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19595
19610
  id: string;
19596
19611
  };
19597
19612
  };
19598
- };
19599
- };
19600
- } & {
19601
- "/automations/:id/cancel": {
19602
- $post: {
19613
+ } | {
19603
19614
  output: {
19604
19615
  automation: {
19605
19616
  [x: string]: import("hono/utils/types").JSONValue;
@@ -19686,27 +19697,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19686
19697
  id: string;
19687
19698
  };
19688
19699
  };
19689
- } | {
19690
- output: {
19691
- error: string;
19692
- };
19693
- outputFormat: "json";
19694
- status: 400 | 404 | 409;
19695
- input: {
19696
- param: {
19697
- id: string;
19698
- };
19699
- };
19700
19700
  };
19701
19701
  };
19702
19702
  } & {
19703
19703
  "/automations/:id/run": {
19704
19704
  $post: {
19705
19705
  output: {
19706
- runId: string;
19706
+ error: string;
19707
19707
  };
19708
19708
  outputFormat: "json";
19709
- status: 202;
19709
+ status: 400 | 404 | 409;
19710
19710
  input: {
19711
19711
  param: {
19712
19712
  id: string;
@@ -19714,10 +19714,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19714
19714
  };
19715
19715
  } | {
19716
19716
  output: {
19717
- error: string;
19717
+ runId: string;
19718
19718
  };
19719
19719
  outputFormat: "json";
19720
- status: 400 | 404 | 409;
19720
+ status: 202;
19721
19721
  input: {
19722
19722
  param: {
19723
19723
  id: string;
@@ -19729,10 +19729,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19729
19729
  "/automations/:id/check": {
19730
19730
  $post: {
19731
19731
  output: {
19732
- checkId: string;
19732
+ error: string;
19733
19733
  };
19734
19734
  outputFormat: "json";
19735
- status: 202;
19735
+ status: 404;
19736
19736
  input: {
19737
19737
  json: {
19738
19738
  mode: "execute" | "preview";
@@ -19747,7 +19747,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19747
19747
  error: string;
19748
19748
  };
19749
19749
  outputFormat: "json";
19750
- status: 404;
19750
+ status: 409;
19751
19751
  input: {
19752
19752
  json: {
19753
19753
  mode: "execute" | "preview";
@@ -19759,10 +19759,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19759
19759
  };
19760
19760
  } | {
19761
19761
  output: {
19762
- error: string;
19762
+ checkId: string;
19763
19763
  };
19764
19764
  outputFormat: "json";
19765
- status: 409;
19765
+ status: 202;
19766
19766
  input: {
19767
19767
  json: {
19768
19768
  mode: "execute" | "preview";
@@ -19836,11 +19836,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19836
19836
  "/automation-log/:receiptId/retry": {
19837
19837
  $post: {
19838
19838
  output: {
19839
- receiptId: string;
19840
- runId: string;
19839
+ error: string;
19841
19840
  };
19842
19841
  outputFormat: "json";
19843
- status: 202;
19842
+ status: 404;
19844
19843
  input: {
19845
19844
  param: {
19846
19845
  receiptId: string;
@@ -19851,7 +19850,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19851
19850
  error: string;
19852
19851
  };
19853
19852
  outputFormat: "json";
19854
- status: 404;
19853
+ status: 409;
19855
19854
  input: {
19856
19855
  param: {
19857
19856
  receiptId: string;
@@ -19859,10 +19858,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19859
19858
  };
19860
19859
  } | {
19861
19860
  output: {
19862
- error: string;
19861
+ receiptId: string;
19862
+ runId: string;
19863
19863
  };
19864
19864
  outputFormat: "json";
19865
- status: 409;
19865
+ status: 202;
19866
19866
  input: {
19867
19867
  param: {
19868
19868
  receiptId: string;
@@ -20676,18 +20676,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20676
20676
  } & {
20677
20677
  "/run-summaries": {
20678
20678
  $get: {
20679
- output: {
20680
- error: string;
20681
- code?: "invalid_input" | undefined;
20682
- };
20683
- outputFormat: "json";
20684
- status: 400;
20685
- input: {
20686
- query: {
20687
- archived?: "all" | "recent" | undefined;
20688
- };
20689
- };
20690
- } | {
20691
20679
  output: {
20692
20680
  id: string;
20693
20681
  title: string;
@@ -20809,6 +20797,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20809
20797
  archived?: "all" | "recent" | undefined;
20810
20798
  };
20811
20799
  };
20800
+ } | {
20801
+ output: {
20802
+ error: string;
20803
+ code?: "invalid_input" | undefined;
20804
+ };
20805
+ outputFormat: "json";
20806
+ status: 400;
20807
+ input: {
20808
+ query: {
20809
+ archived?: "all" | "recent" | undefined;
20810
+ };
20811
+ };
20812
20812
  };
20813
20813
  };
20814
20814
  } & {
@@ -21132,20 +21132,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21132
21132
  "/runs/:id/worker-destroy": {
21133
21133
  $post: {
21134
21134
  output: {
21135
- workerId: string;
21136
- state: "complete" | "incomplete";
21137
- deleted?: ({
21138
- kind: "worktree";
21139
- path: string;
21140
- } | {
21141
- kind: "branch";
21142
- ref: string;
21143
- })[] | undefined;
21144
- remaining: ("branch" | "process" | "worktree")[];
21145
- error?: string | undefined;
21135
+ error: string;
21136
+ code?: "invalid_input" | undefined;
21146
21137
  };
21147
21138
  outputFormat: "json";
21148
- status: 200;
21139
+ status: 400;
21149
21140
  input: {
21150
21141
  query: {
21151
21142
  [x: string]: string | string[];
@@ -21159,11 +21150,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21159
21150
  };
21160
21151
  } | {
21161
21152
  output: {
21162
- error: string;
21163
- code?: "invalid_input" | undefined;
21153
+ workerId: string;
21154
+ state: "complete" | "incomplete";
21155
+ deleted?: ({
21156
+ kind: "worktree";
21157
+ path: string;
21158
+ } | {
21159
+ kind: "branch";
21160
+ ref: string;
21161
+ })[] | undefined;
21162
+ remaining: ("branch" | "process" | "worktree")[];
21163
+ error?: string | undefined;
21164
21164
  };
21165
21165
  outputFormat: "json";
21166
- status: 400;
21166
+ status: 200;
21167
21167
  input: {
21168
21168
  query: {
21169
21169
  [x: string]: string | string[];
@@ -21269,21 +21269,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21269
21269
  } & {
21270
21270
  "/runs/:id/archive": {
21271
21271
  $post: {
21272
- output: {
21273
- error: string;
21274
- };
21275
- outputFormat: "json";
21276
- status: 404;
21277
- input: {
21278
- json: {
21279
- archived?: boolean | undefined;
21280
- };
21281
- } & {
21282
- param: {
21283
- id: string;
21284
- };
21285
- };
21286
- } | {
21287
21272
  output: {
21288
21273
  id: string;
21289
21274
  title: string;
@@ -22083,32 +22068,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22083
22068
  id: string;
22084
22069
  };
22085
22070
  };
22086
- };
22087
- };
22088
- } & {
22089
- "/runs/:id/pin": {
22090
- $post: {
22071
+ } | {
22091
22072
  output: {
22092
22073
  error: string;
22093
- code?: "invalid_input" | undefined;
22094
22074
  };
22095
22075
  outputFormat: "json";
22096
- status: 400;
22076
+ status: 404;
22097
22077
  input: {
22098
- param: {
22099
- id: string;
22078
+ json: {
22079
+ archived?: boolean | undefined;
22100
22080
  };
22101
22081
  } & {
22102
- json: {
22103
- pinned?: boolean | undefined;
22082
+ param: {
22083
+ id: string;
22104
22084
  };
22105
22085
  };
22106
- } | {
22086
+ };
22087
+ };
22088
+ } & {
22089
+ "/runs/:id/pin": {
22090
+ $post: {
22107
22091
  output: {
22108
22092
  error: string;
22093
+ code?: "invalid_input" | undefined;
22109
22094
  };
22110
22095
  outputFormat: "json";
22111
- status: 404;
22096
+ status: 400;
22112
22097
  input: {
22113
22098
  param: {
22114
22099
  id: string;
@@ -22918,49 +22903,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22918
22903
  pinned?: boolean | undefined;
22919
22904
  };
22920
22905
  };
22921
- };
22922
- };
22923
- } & {
22924
- "/runs/:id/notify": {
22925
- $post: {
22926
- output: {
22927
- error: string;
22928
- code?: "invalid_input" | undefined;
22929
- };
22930
- outputFormat: "json";
22931
- status: 400;
22932
- input: {
22933
- param: {
22934
- id: string;
22935
- };
22936
- } & {
22937
- json: {
22938
- notify: boolean;
22939
- message?: string | undefined;
22940
- };
22941
- };
22942
22906
  } | {
22943
22907
  output: {
22944
22908
  error: string;
22945
22909
  };
22946
22910
  outputFormat: "json";
22947
- status: 400;
22911
+ status: 404;
22948
22912
  input: {
22949
22913
  param: {
22950
22914
  id: string;
22951
22915
  };
22952
22916
  } & {
22953
22917
  json: {
22954
- notify: boolean;
22955
- message?: string | undefined;
22918
+ pinned?: boolean | undefined;
22956
22919
  };
22957
22920
  };
22958
- } | {
22921
+ };
22922
+ };
22923
+ } & {
22924
+ "/runs/:id/notify": {
22925
+ $post: {
22959
22926
  output: {
22960
22927
  error: string;
22928
+ code?: "invalid_input" | undefined;
22961
22929
  };
22962
22930
  outputFormat: "json";
22963
- status: 404;
22931
+ status: 400;
22964
22932
  input: {
22965
22933
  param: {
22966
22934
  id: string;
@@ -23772,11 +23740,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23772
23740
  message?: string | undefined;
23773
23741
  };
23774
23742
  };
23775
- };
23776
- };
23777
- } & {
23778
- "/runs/:id/auto-resume": {
23779
- $delete: {
23743
+ } | {
23780
23744
  output: {
23781
23745
  error: string;
23782
23746
  };
@@ -23786,23 +23750,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23786
23750
  param: {
23787
23751
  id: string;
23788
23752
  };
23753
+ } & {
23754
+ json: {
23755
+ notify: boolean;
23756
+ message?: string | undefined;
23757
+ };
23789
23758
  };
23790
23759
  } | {
23791
23760
  output: {
23792
- cancelled: true;
23761
+ error: string;
23793
23762
  };
23794
23763
  outputFormat: "json";
23795
- status: import("hono/utils/http-status").ContentfulStatusCode;
23764
+ status: 400;
23796
23765
  input: {
23797
23766
  param: {
23798
23767
  id: string;
23799
23768
  };
23769
+ } & {
23770
+ json: {
23771
+ notify: boolean;
23772
+ message?: string | undefined;
23773
+ };
23800
23774
  };
23801
23775
  };
23802
23776
  };
23803
23777
  } & {
23804
- "/runs/:id/read": {
23805
- $post: {
23778
+ "/runs/:id/auto-resume": {
23779
+ $delete: {
23806
23780
  output: {
23807
23781
  error: string;
23808
23782
  };
@@ -23814,6 +23788,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23814
23788
  };
23815
23789
  };
23816
23790
  } | {
23791
+ output: {
23792
+ cancelled: true;
23793
+ };
23794
+ outputFormat: "json";
23795
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23796
+ input: {
23797
+ param: {
23798
+ id: string;
23799
+ };
23800
+ };
23801
+ };
23802
+ };
23803
+ } & {
23804
+ "/runs/:id/read": {
23805
+ $post: {
23817
23806
  output: {
23818
23807
  id: string;
23819
23808
  title: string;
@@ -24609,11 +24598,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24609
24598
  id: string;
24610
24599
  };
24611
24600
  };
24612
- };
24613
- };
24614
- } & {
24615
- "/runs/:id/unread": {
24616
- $post: {
24601
+ } | {
24617
24602
  output: {
24618
24603
  error: string;
24619
24604
  };
@@ -24624,7 +24609,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24624
24609
  id: string;
24625
24610
  };
24626
24611
  };
24627
- } | {
24612
+ };
24613
+ };
24614
+ } & {
24615
+ "/runs/:id/unread": {
24616
+ $post: {
24628
24617
  output: {
24629
24618
  id: string;
24630
24619
  title: string;
@@ -25420,6 +25409,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25420
25409
  id: string;
25421
25410
  };
25422
25411
  };
25412
+ } | {
25413
+ output: {
25414
+ error: string;
25415
+ };
25416
+ outputFormat: "json";
25417
+ status: 404;
25418
+ input: {
25419
+ param: {
25420
+ id: string;
25421
+ };
25422
+ };
25423
25423
  };
25424
25424
  };
25425
25425
  } & {
@@ -26306,17 +26306,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26306
26306
  } & {
26307
26307
  "/runs/:id": {
26308
26308
  $get: {
26309
- output: {
26310
- error: string;
26311
- };
26312
- outputFormat: "json";
26313
- status: 404;
26314
- input: {
26315
- param: {
26316
- id: string;
26317
- };
26318
- };
26319
- } | {
26320
26309
  output: {
26321
26310
  id: string;
26322
26311
  title: string;
@@ -27119,6 +27108,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27119
27108
  id: string;
27120
27109
  };
27121
27110
  };
27111
+ } | {
27112
+ output: {
27113
+ error: string;
27114
+ };
27115
+ outputFormat: "json";
27116
+ status: 404;
27117
+ input: {
27118
+ param: {
27119
+ id: string;
27120
+ };
27121
+ };
27122
27122
  };
27123
27123
  };
27124
27124
  } & {
@@ -27246,60 +27246,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27246
27246
  } & {
27247
27247
  "/runs/:id": {
27248
27248
  $patch: {
27249
- output: {
27250
- error: string;
27251
- };
27252
- outputFormat: "json";
27253
- status: 400;
27254
- input: {
27255
- json: {
27256
- title?: string | undefined;
27257
- task?: string | undefined;
27258
- archiveWhenDone?: boolean | undefined;
27259
- autoMergePr?: boolean | undefined;
27260
- };
27261
- } & {
27262
- param: {
27263
- id: string;
27264
- };
27265
- };
27266
- } | {
27267
- output: {
27268
- error: string;
27269
- };
27270
- outputFormat: "json";
27271
- status: 404;
27272
- input: {
27273
- json: {
27274
- title?: string | undefined;
27275
- task?: string | undefined;
27276
- archiveWhenDone?: boolean | undefined;
27277
- autoMergePr?: boolean | undefined;
27278
- };
27279
- } & {
27280
- param: {
27281
- id: string;
27282
- };
27283
- };
27284
- } | {
27285
- output: {
27286
- error: string;
27287
- };
27288
- outputFormat: "json";
27289
- status: 409;
27290
- input: {
27291
- json: {
27292
- title?: string | undefined;
27293
- task?: string | undefined;
27294
- archiveWhenDone?: boolean | undefined;
27295
- autoMergePr?: boolean | undefined;
27296
- };
27297
- } & {
27298
- param: {
27299
- id: string;
27300
- };
27301
- };
27302
- } | {
27303
27249
  output: {
27304
27250
  id: string;
27305
27251
  title: string;
@@ -28102,6 +28048,60 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28102
28048
  id: string;
28103
28049
  };
28104
28050
  };
28051
+ } | {
28052
+ output: {
28053
+ error: string;
28054
+ };
28055
+ outputFormat: "json";
28056
+ status: 404;
28057
+ input: {
28058
+ json: {
28059
+ title?: string | undefined;
28060
+ task?: string | undefined;
28061
+ archiveWhenDone?: boolean | undefined;
28062
+ autoMergePr?: boolean | undefined;
28063
+ };
28064
+ } & {
28065
+ param: {
28066
+ id: string;
28067
+ };
28068
+ };
28069
+ } | {
28070
+ output: {
28071
+ error: string;
28072
+ };
28073
+ outputFormat: "json";
28074
+ status: 400;
28075
+ input: {
28076
+ json: {
28077
+ title?: string | undefined;
28078
+ task?: string | undefined;
28079
+ archiveWhenDone?: boolean | undefined;
28080
+ autoMergePr?: boolean | undefined;
28081
+ };
28082
+ } & {
28083
+ param: {
28084
+ id: string;
28085
+ };
28086
+ };
28087
+ } | {
28088
+ output: {
28089
+ error: string;
28090
+ };
28091
+ outputFormat: "json";
28092
+ status: 409;
28093
+ input: {
28094
+ json: {
28095
+ title?: string | undefined;
28096
+ task?: string | undefined;
28097
+ archiveWhenDone?: boolean | undefined;
28098
+ autoMergePr?: boolean | undefined;
28099
+ };
28100
+ } & {
28101
+ param: {
28102
+ id: string;
28103
+ };
28104
+ };
28105
28105
  };
28106
28106
  };
28107
28107
  } & {
@@ -28206,7 +28206,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28206
28206
  error: string;
28207
28207
  };
28208
28208
  outputFormat: "json";
28209
- status: 400;
28209
+ status: 404;
28210
28210
  input: {
28211
28211
  json: {
28212
28212
  text?: string | undefined;
@@ -28225,7 +28225,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28225
28225
  error: string;
28226
28226
  };
28227
28227
  outputFormat: "json";
28228
- status: 404;
28228
+ status: 409;
28229
28229
  input: {
28230
28230
  json: {
28231
28231
  text?: string | undefined;
@@ -28241,10 +28241,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28241
28241
  };
28242
28242
  } | {
28243
28243
  output: {
28244
- error: string;
28244
+ delivered: true;
28245
28245
  };
28246
28246
  outputFormat: "json";
28247
- status: 409;
28247
+ status: import("hono/utils/http-status").ContentfulStatusCode;
28248
28248
  input: {
28249
28249
  json: {
28250
28250
  text?: string | undefined;
@@ -28260,10 +28260,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28260
28260
  };
28261
28261
  } | {
28262
28262
  output: {
28263
- delivered: true;
28263
+ error: string;
28264
28264
  };
28265
28265
  outputFormat: "json";
28266
- status: import("hono/utils/http-status").ContentfulStatusCode;
28266
+ status: 400;
28267
28267
  input: {
28268
28268
  json: {
28269
28269
  text?: string | undefined;
@@ -28330,7 +28330,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28330
28330
  error: string;
28331
28331
  };
28332
28332
  outputFormat: "json";
28333
- status: 400;
28333
+ status: 404;
28334
28334
  input: {
28335
28335
  json: {
28336
28336
  text?: string | undefined;
@@ -28351,7 +28351,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28351
28351
  error: string;
28352
28352
  };
28353
28353
  outputFormat: "json";
28354
- status: 404;
28354
+ status: 400;
28355
28355
  input: {
28356
28356
  json: {
28357
28357
  text?: string | undefined;
@@ -28503,7 +28503,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28503
28503
  error: string;
28504
28504
  };
28505
28505
  outputFormat: "json";
28506
- status: 400;
28506
+ status: 404;
28507
28507
  input: {
28508
28508
  json: {
28509
28509
  text?: string | undefined;
@@ -28526,7 +28526,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28526
28526
  error: string;
28527
28527
  };
28528
28528
  outputFormat: "json";
28529
- status: 404;
28529
+ status: 400;
28530
28530
  input: {
28531
28531
  json: {
28532
28532
  text?: string | undefined;
@@ -28637,7 +28637,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28637
28637
  error: string;
28638
28638
  };
28639
28639
  outputFormat: "json";
28640
- status: 400;
28640
+ status: 409;
28641
28641
  input: {
28642
28642
  json: {
28643
28643
  target: string;
@@ -28653,7 +28653,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28653
28653
  error: string;
28654
28654
  };
28655
28655
  outputFormat: "json";
28656
- status: 404;
28656
+ status: 400;
28657
28657
  input: {
28658
28658
  json: {
28659
28659
  target: string;
@@ -28666,10 +28666,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28666
28666
  };
28667
28667
  } | {
28668
28668
  output: {
28669
- error: string;
28669
+ opened: true;
28670
+ path: string;
28670
28671
  };
28671
28672
  outputFormat: "json";
28672
- status: 409;
28673
+ status: import("hono/utils/http-status").ContentfulStatusCode;
28673
28674
  input: {
28674
28675
  json: {
28675
28676
  target: string;
@@ -28682,11 +28683,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28682
28683
  };
28683
28684
  } | {
28684
28685
  output: {
28685
- opened: true;
28686
- path: string;
28686
+ error: string;
28687
28687
  };
28688
28688
  outputFormat: "json";
28689
- status: import("hono/utils/http-status").ContentfulStatusCode;
28689
+ status: 404;
28690
28690
  input: {
28691
28691
  json: {
28692
28692
  target: string;
@@ -28726,12 +28726,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28726
28726
  } & {
28727
28727
  "/runs/:id/images/:file": {
28728
28728
  $get: {
28729
- output: {
28730
- error: string;
28731
- code?: "invalid_input" | undefined;
28732
- };
28733
- outputFormat: "json";
28734
- status: 400;
28729
+ output: {};
28730
+ outputFormat: string;
28731
+ status: import("hono/utils/http-status").StatusCode;
28735
28732
  input: {
28736
28733
  param: {
28737
28734
  id: string;
@@ -28739,9 +28736,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28739
28736
  };
28740
28737
  };
28741
28738
  } | {
28742
- output: {};
28743
- outputFormat: string;
28744
- status: import("hono/utils/http-status").StatusCode;
28739
+ output: {
28740
+ error: string;
28741
+ code?: "invalid_input" | undefined;
28742
+ };
28743
+ outputFormat: "json";
28744
+ status: 400;
28745
28745
  input: {
28746
28746
  param: {
28747
28747
  id: string;
@@ -28753,11 +28753,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28753
28753
  } & {
28754
28754
  "/runs/:id/diff": {
28755
28755
  $get: {
28756
- output: {
28757
- error: string;
28758
- };
28759
- outputFormat: "json";
28760
- status: 404;
28756
+ output: string;
28757
+ outputFormat: "text";
28758
+ status: import("hono/utils/http-status").ContentfulStatusCode;
28761
28759
  input: {
28762
28760
  param: {
28763
28761
  id: string;
@@ -28768,16 +28766,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28768
28766
  error: string;
28769
28767
  };
28770
28768
  outputFormat: "json";
28771
- status: 409;
28769
+ status: 404;
28772
28770
  input: {
28773
28771
  param: {
28774
28772
  id: string;
28775
28773
  };
28776
28774
  };
28777
28775
  } | {
28778
- output: string;
28779
- outputFormat: "text";
28780
- status: import("hono/utils/http-status").ContentfulStatusCode;
28776
+ output: {
28777
+ error: string;
28778
+ };
28779
+ outputFormat: "json";
28780
+ status: 409;
28781
28781
  input: {
28782
28782
  param: {
28783
28783
  id: string;
@@ -29106,18 +29106,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29106
29106
  artifactId: string;
29107
29107
  };
29108
29108
  };
29109
- } | {
29110
- output: {
29111
- error: string;
29112
- };
29113
- outputFormat: "json";
29114
- status: 404;
29115
- input: {
29116
- param: {
29117
- id: string;
29118
- artifactId: string;
29119
- };
29120
- };
29121
29109
  } | {
29122
29110
  output: {
29123
29111
  type: "file";
@@ -29145,6 +29133,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29145
29133
  artifactId: string;
29146
29134
  };
29147
29135
  };
29136
+ } | {
29137
+ output: {
29138
+ error: string;
29139
+ };
29140
+ outputFormat: "json";
29141
+ status: 404;
29142
+ input: {
29143
+ param: {
29144
+ id: string;
29145
+ artifactId: string;
29146
+ };
29147
+ };
29148
29148
  };
29149
29149
  };
29150
29150
  } & {
@@ -29441,11 +29441,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29441
29441
  "/runs/:id/pr": {
29442
29442
  $post: {
29443
29443
  output: {
29444
- url: string;
29445
- dryRun: boolean;
29444
+ error: string;
29446
29445
  };
29447
29446
  outputFormat: "json";
29448
- status: 201;
29447
+ status: 404;
29449
29448
  input: {
29450
29449
  param: {
29451
29450
  id: string;
@@ -29456,7 +29455,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29456
29455
  error: string;
29457
29456
  };
29458
29457
  outputFormat: "json";
29459
- status: 400;
29458
+ status: 409;
29460
29459
  input: {
29461
29460
  param: {
29462
29461
  id: string;
@@ -29467,7 +29466,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29467
29466
  error: string;
29468
29467
  };
29469
29468
  outputFormat: "json";
29470
- status: 404;
29469
+ status: 400;
29471
29470
  input: {
29472
29471
  param: {
29473
29472
  id: string;
@@ -29475,10 +29474,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29475
29474
  };
29476
29475
  } | {
29477
29476
  output: {
29478
- error: string;
29477
+ url: string;
29478
+ dryRun: boolean;
29479
29479
  };
29480
29480
  outputFormat: "json";
29481
- status: 409;
29481
+ status: 201;
29482
29482
  input: {
29483
29483
  param: {
29484
29484
  id: string;
@@ -29530,7 +29530,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29530
29530
  error: string;
29531
29531
  };
29532
29532
  outputFormat: "json";
29533
- status: 404;
29533
+ status: 409;
29534
29534
  input: {
29535
29535
  param: {
29536
29536
  id: string;
@@ -29541,7 +29541,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29541
29541
  error: string;
29542
29542
  };
29543
29543
  outputFormat: "json";
29544
- status: 409;
29544
+ status: 404;
29545
29545
  input: {
29546
29546
  param: {
29547
29547
  id: string;