@wjarka/cezarion 0.17.0-pr2801.4741 → 0.17.0-pr2802.4749

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.
@@ -295,17 +295,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
295
295
  };
296
296
  } | {
297
297
  output: {
298
- path: string;
299
- parent: string | null;
300
- dirs: {
301
- name: string;
302
- path: string;
303
- isRepo: boolean;
304
- }[];
305
- truncated: boolean;
298
+ error: string;
306
299
  };
307
300
  outputFormat: "json";
308
- status: import("hono/utils/http-status").ContentfulStatusCode;
301
+ status: 400 | 403 | 404;
309
302
  input: {
310
303
  query: {
311
304
  path?: string | undefined;
@@ -314,10 +307,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
314
307
  };
315
308
  } | {
316
309
  output: {
317
- error: string;
310
+ path: string;
311
+ parent: string | null;
312
+ dirs: {
313
+ name: string;
314
+ path: string;
315
+ isRepo: boolean;
316
+ }[];
317
+ truncated: boolean;
318
318
  };
319
319
  outputFormat: "json";
320
- status: 400 | 403 | 404;
320
+ status: import("hono/utils/http-status").ContentfulStatusCode;
321
321
  input: {
322
322
  query: {
323
323
  path?: string | undefined;
@@ -329,17 +329,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
329
329
  }, "/"> | import("hono/types").MergeSchemaPath<{
330
330
  "/automation-checks/:checkId": {
331
331
  $get: {
332
- output: {
333
- error: string;
334
- };
335
- outputFormat: "json";
336
- status: 404;
337
- input: {
338
- param: {
339
- checkId: string;
340
- };
341
- };
342
- } | {
343
332
  output: {
344
333
  id: string;
345
334
  automationId: string;
@@ -358,26 +347,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
358
347
  checkId: string;
359
348
  };
360
349
  };
350
+ } | {
351
+ output: {
352
+ error: string;
353
+ };
354
+ outputFormat: "json";
355
+ status: 404;
356
+ input: {
357
+ param: {
358
+ checkId: string;
359
+ };
360
+ };
361
361
  };
362
362
  };
363
363
  }, "/"> | import("hono/types").MergeSchemaPath<{
364
364
  "/workspace/events": {
365
365
  $get: {
366
- output: {
367
- error: string;
368
- code?: "invalid_input" | undefined;
369
- };
370
- outputFormat: "json";
371
- status: 400;
366
+ output: {};
367
+ outputFormat: string;
368
+ status: import("hono/utils/http-status").StatusCode;
372
369
  input: {
373
370
  query: {
374
371
  runs?: "summary" | undefined;
375
372
  };
376
373
  };
377
374
  } | {
378
- output: {};
379
- outputFormat: string;
380
- status: import("hono/utils/http-status").StatusCode;
375
+ output: {
376
+ error: string;
377
+ code?: "invalid_input" | undefined;
378
+ };
379
+ outputFormat: "json";
380
+ status: 400;
381
381
  input: {
382
382
  query: {
383
383
  runs?: "summary" | undefined;
@@ -388,6 +388,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
388
388
  }, "/"> | import("hono/types").MergeSchemaPath<{
389
389
  "/workspace/activity": {
390
390
  $get: {
391
+ output: {
392
+ error: string;
393
+ code?: "invalid_input" | undefined;
394
+ };
395
+ outputFormat: "json";
396
+ status: 400;
397
+ input: {
398
+ query: {
399
+ project?: string | undefined;
400
+ };
401
+ };
402
+ } | {
403
+ output: {
404
+ error: string;
405
+ };
406
+ outputFormat: "json";
407
+ status: 404 | 409 | 503;
408
+ input: {
409
+ query: {
410
+ project?: string | undefined;
411
+ };
412
+ };
413
+ } | {
391
414
  output: {
392
415
  generatedAt: string;
393
416
  projects: {
@@ -618,29 +641,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
618
641
  project?: string | undefined;
619
642
  };
620
643
  };
621
- } | {
622
- output: {
623
- error: string;
624
- code?: "invalid_input" | undefined;
625
- };
626
- outputFormat: "json";
627
- status: 400;
628
- input: {
629
- query: {
630
- project?: string | undefined;
631
- };
632
- };
633
- } | {
634
- output: {
635
- error: string;
636
- };
637
- outputFormat: "json";
638
- status: 404 | 409 | 503;
639
- input: {
640
- query: {
641
- project?: string | undefined;
642
- };
643
- };
644
644
  };
645
645
  };
646
646
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1099,10 +1099,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1099
1099
  };
1100
1100
  } | {
1101
1101
  output: {
1102
- error: string;
1102
+ providers: {
1103
+ provider: ProviderId;
1104
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
1105
+ enabled?: boolean;
1106
+ hint?: string;
1107
+ authFailureId?: string;
1108
+ profileId?: string;
1109
+ }[];
1103
1110
  };
1104
1111
  outputFormat: "json";
1105
- status: 500;
1112
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1106
1113
  input: {
1107
1114
  param: {
1108
1115
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1114,17 +1121,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1114
1121
  };
1115
1122
  } | {
1116
1123
  output: {
1117
- providers: {
1118
- provider: ProviderId;
1119
- status: import("../core/provider-auth.ts").ProviderConnectionState;
1120
- enabled?: boolean;
1121
- hint?: string;
1122
- authFailureId?: string;
1123
- profileId?: string;
1124
- }[];
1124
+ error: string;
1125
1125
  };
1126
1126
  outputFormat: "json";
1127
- status: import("hono/utils/http-status").ContentfulStatusCode;
1127
+ status: 500;
1128
1128
  input: {
1129
1129
  param: {
1130
1130
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1156,10 +1156,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1156
1156
  };
1157
1157
  } | {
1158
1158
  output: {
1159
- error: string;
1159
+ providers: {
1160
+ provider: ProviderId;
1161
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
1162
+ enabled?: boolean;
1163
+ hint?: string;
1164
+ authFailureId?: string;
1165
+ profileId?: string;
1166
+ }[];
1160
1167
  };
1161
1168
  outputFormat: "json";
1162
- status: 409;
1169
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1163
1170
  input: {
1164
1171
  param: {
1165
1172
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1171,17 +1178,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1171
1178
  };
1172
1179
  } | {
1173
1180
  output: {
1174
- providers: {
1175
- provider: ProviderId;
1176
- status: import("../core/provider-auth.ts").ProviderConnectionState;
1177
- enabled?: boolean;
1178
- hint?: string;
1179
- authFailureId?: string;
1180
- profileId?: string;
1181
- }[];
1181
+ error: string;
1182
1182
  };
1183
1183
  outputFormat: "json";
1184
- status: import("hono/utils/http-status").ContentfulStatusCode;
1184
+ status: 409;
1185
1185
  input: {
1186
1186
  param: {
1187
1187
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1200,7 +1200,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1200
1200
  error: string;
1201
1201
  };
1202
1202
  outputFormat: "json";
1203
- status: 400;
1203
+ status: 409;
1204
1204
  input: {
1205
1205
  json: {
1206
1206
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1212,7 +1212,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1212
1212
  error: string;
1213
1213
  };
1214
1214
  outputFormat: "json";
1215
- status: 409;
1215
+ status: 400;
1216
1216
  input: {
1217
1217
  json: {
1218
1218
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1304,10 +1304,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1304
1304
  "/workspace/config": {
1305
1305
  $put: {
1306
1306
  output: {
1307
- error: string;
1307
+ browseRoot: string;
1308
+ projectsDir: string;
1309
+ archiveOnMerge: boolean | null;
1310
+ effectiveArchiveOnMerge: boolean;
1311
+ archiveOnMergeSource: "default" | "environment" | "global";
1312
+ composerDefaults: {
1313
+ autonomous: boolean | null;
1314
+ worktree: boolean | null;
1315
+ inheritedAutonomous: "source-dependent" | boolean;
1316
+ inheritedWorktree: boolean;
1317
+ };
1318
+ resources: {
1319
+ maxParallel: number;
1320
+ maxMonitoringSessions: number;
1321
+ monitoringWakeIntervalMinutes: number | null;
1322
+ autoResumeOnUsageLimit: boolean;
1323
+ memoryLimitMb: number | null;
1324
+ worktreeRetentionDefault: number;
1325
+ };
1326
+ agentDefaults: {
1327
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1328
+ models?: {
1329
+ claude?: string | undefined;
1330
+ codex?: string | undefined;
1331
+ opencode?: string | undefined;
1332
+ pi?: string | undefined;
1333
+ cursor?: string | undefined;
1334
+ omp?: string | undefined;
1335
+ } | undefined;
1336
+ };
1308
1337
  };
1309
1338
  outputFormat: "json";
1310
- status: 400;
1339
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1311
1340
  input: {
1312
1341
  json: {
1313
1342
  browseRoot?: string | undefined;
@@ -1343,7 +1372,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1343
1372
  error: string;
1344
1373
  };
1345
1374
  outputFormat: "json";
1346
- status: 500;
1375
+ status: 400;
1347
1376
  input: {
1348
1377
  json: {
1349
1378
  browseRoot?: string | undefined;
@@ -1376,39 +1405,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1376
1405
  };
1377
1406
  } | {
1378
1407
  output: {
1379
- browseRoot: string;
1380
- projectsDir: string;
1381
- archiveOnMerge: boolean | null;
1382
- effectiveArchiveOnMerge: boolean;
1383
- archiveOnMergeSource: "default" | "environment" | "global";
1384
- composerDefaults: {
1385
- autonomous: boolean | null;
1386
- worktree: boolean | null;
1387
- inheritedAutonomous: "source-dependent" | boolean;
1388
- inheritedWorktree: boolean;
1389
- };
1390
- resources: {
1391
- maxParallel: number;
1392
- maxMonitoringSessions: number;
1393
- monitoringWakeIntervalMinutes: number | null;
1394
- autoResumeOnUsageLimit: boolean;
1395
- memoryLimitMb: number | null;
1396
- worktreeRetentionDefault: number;
1397
- };
1398
- agentDefaults: {
1399
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1400
- models?: {
1401
- claude?: string | undefined;
1402
- codex?: string | undefined;
1403
- opencode?: string | undefined;
1404
- pi?: string | undefined;
1405
- cursor?: string | undefined;
1406
- omp?: string | undefined;
1407
- } | undefined;
1408
- };
1408
+ error: string;
1409
1409
  };
1410
1410
  outputFormat: "json";
1411
- status: import("hono/utils/http-status").ContentfulStatusCode;
1411
+ status: 500;
1412
1412
  input: {
1413
1413
  json: {
1414
1414
  browseRoot?: string | undefined;
@@ -1492,10 +1492,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1492
1492
  "/workspace/ui-state": {
1493
1493
  $put: {
1494
1494
  output: {
1495
- error: string;
1495
+ [x: string]: import("hono/utils/types").JSONValue;
1496
+ sidebar?: {
1497
+ [x: string]: import("hono/utils/types").JSONValue;
1498
+ collapsed?: {
1499
+ [x: string]: boolean;
1500
+ } | undefined;
1501
+ projectOrder?: string[] | undefined;
1502
+ } | undefined;
1503
+ dismissedProviderAuthFailures?: {
1504
+ claude?: string | undefined;
1505
+ codex?: string | undefined;
1506
+ opencode?: string | undefined;
1507
+ pi?: string | undefined;
1508
+ cursor?: string | undefined;
1509
+ omp?: string | undefined;
1510
+ } | undefined;
1511
+ appearance?: {
1512
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1513
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1514
+ width?: "narrow" | "wide" | undefined;
1515
+ } | undefined;
1516
+ notifications?: {
1517
+ [x: string]: import("hono/utils/types").JSONValue;
1518
+ enabled?: boolean | undefined;
1519
+ } | undefined;
1520
+ taskTable?: {
1521
+ [x: string]: import("hono/utils/types").JSONValue;
1522
+ expandedColumns?: {
1523
+ [x: string]: boolean;
1524
+ } | undefined;
1525
+ } | undefined;
1526
+ lastLocation?: {
1527
+ projectId: string;
1528
+ pathname: string;
1529
+ search?: string | undefined;
1530
+ hash?: string | undefined;
1531
+ } | undefined;
1496
1532
  };
1497
1533
  outputFormat: "json";
1498
- status: 500;
1534
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1499
1535
  input: {
1500
1536
  json: {
1501
1537
  [x: string]: unknown;
@@ -1535,46 +1571,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1535
1571
  };
1536
1572
  } | {
1537
1573
  output: {
1538
- [x: string]: import("hono/utils/types").JSONValue;
1539
- sidebar?: {
1540
- [x: string]: import("hono/utils/types").JSONValue;
1541
- collapsed?: {
1542
- [x: string]: boolean;
1543
- } | undefined;
1544
- projectOrder?: string[] | undefined;
1545
- } | undefined;
1546
- dismissedProviderAuthFailures?: {
1547
- claude?: string | undefined;
1548
- codex?: string | undefined;
1549
- opencode?: string | undefined;
1550
- pi?: string | undefined;
1551
- cursor?: string | undefined;
1552
- omp?: string | undefined;
1553
- } | undefined;
1554
- appearance?: {
1555
- accent?: "cezarion" | "lime" | "violet" | undefined;
1556
- density?: "comfortable" | "compact" | "ultra" | undefined;
1557
- width?: "narrow" | "wide" | undefined;
1558
- } | undefined;
1559
- notifications?: {
1560
- [x: string]: import("hono/utils/types").JSONValue;
1561
- enabled?: boolean | undefined;
1562
- } | undefined;
1563
- taskTable?: {
1564
- [x: string]: import("hono/utils/types").JSONValue;
1565
- expandedColumns?: {
1566
- [x: string]: boolean;
1567
- } | undefined;
1568
- } | undefined;
1569
- lastLocation?: {
1570
- projectId: string;
1571
- pathname: string;
1572
- search?: string | undefined;
1573
- hash?: string | undefined;
1574
- } | undefined;
1574
+ error: string;
1575
1575
  };
1576
1576
  outputFormat: "json";
1577
- status: import("hono/utils/http-status").ContentfulStatusCode;
1577
+ status: 500;
1578
1578
  input: {
1579
1579
  json: {
1580
1580
  [x: string]: unknown;
@@ -1826,17 +1826,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1826
1826
  } & {
1827
1827
  "/workspace/self-update/apply": {
1828
1828
  $post: {
1829
- output: {
1830
- error: string;
1831
- };
1832
- outputFormat: "json";
1833
- status: 409;
1834
- input: {
1835
- json: {
1836
- version: string;
1837
- };
1838
- };
1839
- } | {
1840
1829
  output: {
1841
1830
  version: string;
1842
1831
  installKind: "checkout" | "global-npm" | "managed" | "npx" | "unknown";
@@ -1883,6 +1872,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1883
1872
  version: string;
1884
1873
  };
1885
1874
  };
1875
+ } | {
1876
+ output: {
1877
+ error: string;
1878
+ };
1879
+ outputFormat: "json";
1880
+ status: 409;
1881
+ input: {
1882
+ json: {
1883
+ version: string;
1884
+ };
1885
+ };
1886
1886
  };
1887
1887
  };
1888
1888
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1959,6 +1959,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1959
1959
  } & {
1960
1960
  "/workspace/agent-profiles": {
1961
1961
  $post: {
1962
+ output: {
1963
+ error: string;
1964
+ };
1965
+ outputFormat: "json";
1966
+ status: 409;
1967
+ input: {
1968
+ json: {
1969
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1970
+ label?: string | undefined;
1971
+ configDir: string;
1972
+ };
1973
+ };
1974
+ } | {
1975
+ output: {
1976
+ error: string;
1977
+ };
1978
+ outputFormat: "json";
1979
+ status: 400;
1980
+ input: {
1981
+ json: {
1982
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1983
+ label?: string | undefined;
1984
+ configDir: string;
1985
+ };
1986
+ };
1987
+ } | {
1988
+ output: {
1989
+ error: string;
1990
+ };
1991
+ outputFormat: "json";
1992
+ status: 500;
1993
+ input: {
1994
+ json: {
1995
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1996
+ label?: string | undefined;
1997
+ configDir: string;
1998
+ };
1999
+ };
2000
+ } | {
1962
2001
  output: {
1963
2002
  profile: {
1964
2003
  exists: boolean;
@@ -2009,45 +2048,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2009
2048
  configDir: string;
2010
2049
  };
2011
2050
  };
2012
- } | {
2013
- output: {
2014
- error: string;
2015
- };
2016
- outputFormat: "json";
2017
- status: 400;
2018
- input: {
2019
- json: {
2020
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
2021
- label?: string | undefined;
2022
- configDir: string;
2023
- };
2024
- };
2025
- } | {
2026
- output: {
2027
- error: string;
2028
- };
2029
- outputFormat: "json";
2030
- status: 409;
2031
- input: {
2032
- json: {
2033
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
2034
- label?: string | undefined;
2035
- configDir: string;
2036
- };
2037
- };
2038
- } | {
2039
- output: {
2040
- error: string;
2041
- };
2042
- outputFormat: "json";
2043
- status: 500;
2044
- input: {
2045
- json: {
2046
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
2047
- label?: string | undefined;
2048
- configDir: string;
2049
- };
2050
- };
2051
2051
  };
2052
2052
  };
2053
2053
  } & {
@@ -2074,7 +2074,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2074
2074
  error: string;
2075
2075
  };
2076
2076
  outputFormat: "json";
2077
- status: 400;
2077
+ status: 409;
2078
2078
  input: {
2079
2079
  param: {
2080
2080
  id: string;
@@ -2090,7 +2090,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2090
2090
  error: string;
2091
2091
  };
2092
2092
  outputFormat: "json";
2093
- status: 404;
2093
+ status: 400;
2094
2094
  input: {
2095
2095
  param: {
2096
2096
  id: string;
@@ -2106,7 +2106,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2106
2106
  error: string;
2107
2107
  };
2108
2108
  outputFormat: "json";
2109
- status: 409;
2109
+ status: 404;
2110
2110
  input: {
2111
2111
  param: {
2112
2112
  id: string;
@@ -2212,7 +2212,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2212
2212
  error: string;
2213
2213
  };
2214
2214
  outputFormat: "json";
2215
- status: 404;
2215
+ status: 409;
2216
2216
  input: {
2217
2217
  param: {
2218
2218
  id: string;
@@ -2227,7 +2227,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2227
2227
  error: string;
2228
2228
  };
2229
2229
  outputFormat: "json";
2230
- status: 409;
2230
+ status: 404;
2231
2231
  input: {
2232
2232
  param: {
2233
2233
  id: string;
@@ -2300,7 +2300,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2300
2300
  error: string;
2301
2301
  };
2302
2302
  outputFormat: "json";
2303
- status: 404;
2303
+ status: 409;
2304
2304
  input: {
2305
2305
  param: {
2306
2306
  id: string;
@@ -2311,7 +2311,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2311
2311
  error: string;
2312
2312
  };
2313
2313
  outputFormat: "json";
2314
- status: 409;
2314
+ status: 404;
2315
2315
  input: {
2316
2316
  param: {
2317
2317
  id: string;
@@ -2359,7 +2359,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2359
2359
  error: string;
2360
2360
  };
2361
2361
  outputFormat: "json";
2362
- status: 400;
2362
+ status: 409;
2363
2363
  input: {
2364
2364
  param: {
2365
2365
  id: string;
@@ -2391,7 +2391,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2391
2391
  error: string;
2392
2392
  };
2393
2393
  outputFormat: "json";
2394
- status: 409;
2394
+ status: 400;
2395
2395
  input: {
2396
2396
  param: {
2397
2397
  id: string;
@@ -2428,7 +2428,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2428
2428
  error: string;
2429
2429
  };
2430
2430
  outputFormat: "json";
2431
- status: 400;
2431
+ status: 409;
2432
2432
  input: {
2433
2433
  json: {
2434
2434
  projectId: string | null;
@@ -2454,7 +2454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2454
2454
  error: string;
2455
2455
  };
2456
2456
  outputFormat: "json";
2457
- status: 409;
2457
+ status: 400;
2458
2458
  input: {
2459
2459
  json: {
2460
2460
  projectId: string | null;
@@ -2528,7 +2528,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2528
2528
  error: string;
2529
2529
  };
2530
2530
  outputFormat: "json";
2531
- status: 404;
2531
+ status: 409;
2532
2532
  input: {
2533
2533
  param: {
2534
2534
  id: string;
@@ -2539,7 +2539,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2539
2539
  error: string;
2540
2540
  };
2541
2541
  outputFormat: "json";
2542
- status: 409;
2542
+ status: 500;
2543
2543
  input: {
2544
2544
  param: {
2545
2545
  id: string;
@@ -2550,7 +2550,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2550
2550
  error: string;
2551
2551
  };
2552
2552
  outputFormat: "json";
2553
- status: 500;
2553
+ status: 404;
2554
2554
  input: {
2555
2555
  param: {
2556
2556
  id: string;
@@ -2704,7 +2704,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2704
2704
  error: string;
2705
2705
  };
2706
2706
  outputFormat: "json";
2707
- status: 404;
2707
+ status: 409;
2708
2708
  input: {
2709
2709
  param: {
2710
2710
  projectId: string;
@@ -2715,7 +2715,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2715
2715
  error: string;
2716
2716
  };
2717
2717
  outputFormat: "json";
2718
- status: 409;
2718
+ status: 404;
2719
2719
  input: {
2720
2720
  param: {
2721
2721
  projectId: string;
@@ -2753,7 +2753,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2753
2753
  error: string;
2754
2754
  };
2755
2755
  outputFormat: "json";
2756
- status: 404;
2756
+ status: 409;
2757
2757
  input: {
2758
2758
  json: {
2759
2759
  maxParallel?: number | null | undefined;
@@ -2774,7 +2774,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2774
2774
  error: string;
2775
2775
  };
2776
2776
  outputFormat: "json";
2777
- status: 409;
2777
+ status: 404;
2778
2778
  input: {
2779
2779
  json: {
2780
2780
  maxParallel?: number | null | undefined;
@@ -2869,7 +2869,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2869
2869
  error: string;
2870
2870
  };
2871
2871
  outputFormat: "json";
2872
- status: 400;
2872
+ status: 409;
2873
2873
  input: {
2874
2874
  param: {
2875
2875
  projectId: string;
@@ -2891,7 +2891,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2891
2891
  error: string;
2892
2892
  };
2893
2893
  outputFormat: "json";
2894
- status: 409;
2894
+ status: 400;
2895
2895
  input: {
2896
2896
  param: {
2897
2897
  projectId: string;
@@ -2916,6 +2916,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2916
2916
  } & {
2917
2917
  "/projects/:projectId/webhooks": {
2918
2918
  $post: {
2919
+ output: {
2920
+ error: string;
2921
+ };
2922
+ outputFormat: "json";
2923
+ status: 400 | 404 | 409 | 500;
2924
+ input: {
2925
+ json: {
2926
+ name: string;
2927
+ description?: string | undefined;
2928
+ url: string;
2929
+ token?: string | undefined;
2930
+ tasks?: boolean | undefined;
2931
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2932
+ agent?: boolean | undefined;
2933
+ };
2934
+ } & {
2935
+ param: {
2936
+ projectId: string;
2937
+ };
2938
+ };
2939
+ } | {
2919
2940
  output: {
2920
2941
  project: {
2921
2942
  id: string;
@@ -2974,27 +2995,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2974
2995
  projectId: string;
2975
2996
  };
2976
2997
  };
2977
- } | {
2978
- output: {
2979
- error: string;
2980
- };
2981
- outputFormat: "json";
2982
- status: 400 | 404 | 409 | 500;
2983
- input: {
2984
- json: {
2985
- name: string;
2986
- description?: string | undefined;
2987
- url: string;
2988
- token?: string | undefined;
2989
- tasks?: boolean | undefined;
2990
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2991
- agent?: boolean | undefined;
2992
- };
2993
- } & {
2994
- param: {
2995
- projectId: string;
2996
- };
2997
- };
2998
2998
  };
2999
2999
  };
3000
3000
  } & {
@@ -3195,7 +3195,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3195
3195
  error: string;
3196
3196
  };
3197
3197
  outputFormat: "json";
3198
- status: 404;
3198
+ status: 409;
3199
3199
  input: {
3200
3200
  param: {
3201
3201
  projectId: string;
@@ -3204,10 +3204,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3204
3204
  };
3205
3205
  } | {
3206
3206
  output: {
3207
- error: string;
3207
+ ok: boolean;
3208
+ status?: number | undefined;
3209
+ error?: string | undefined;
3210
+ dryRun?: boolean | undefined;
3208
3211
  };
3209
3212
  outputFormat: "json";
3210
- status: 409;
3213
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3211
3214
  input: {
3212
3215
  param: {
3213
3216
  projectId: string;
@@ -3216,13 +3219,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3216
3219
  };
3217
3220
  } | {
3218
3221
  output: {
3219
- ok: boolean;
3220
- status?: number | undefined;
3221
- error?: string | undefined;
3222
- dryRun?: boolean | undefined;
3222
+ error: string;
3223
3223
  };
3224
3224
  outputFormat: "json";
3225
- status: import("hono/utils/http-status").ContentfulStatusCode;
3225
+ status: 404;
3226
3226
  input: {
3227
3227
  param: {
3228
3228
  projectId: string;
@@ -3476,6 +3476,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3476
3476
  }, "/"> | import("hono/types").MergeSchemaPath<{
3477
3477
  "/voice/decide": {
3478
3478
  $post: {
3479
+ output: {
3480
+ error: string;
3481
+ };
3482
+ outputFormat: "json";
3483
+ status: 503;
3484
+ input: {
3485
+ json: {
3486
+ text: string;
3487
+ sidebarView: "active" | "automations";
3488
+ openRunId?: string | undefined;
3489
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3490
+ askRequestId?: string | null | undefined;
3491
+ proposal?: {
3492
+ decisionId: string;
3493
+ action: "answer" | "tell";
3494
+ } | undefined;
3495
+ };
3496
+ };
3497
+ } | {
3479
3498
  output: {
3480
3499
  action: "open";
3481
3500
  decisionId: string;
@@ -3533,25 +3552,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3533
3552
  } | undefined;
3534
3553
  };
3535
3554
  };
3536
- } | {
3537
- output: {
3538
- error: string;
3539
- };
3540
- outputFormat: "json";
3541
- status: 503;
3542
- input: {
3543
- json: {
3544
- text: string;
3545
- sidebarView: "active" | "automations";
3546
- openRunId?: string | undefined;
3547
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3548
- askRequestId?: string | null | undefined;
3549
- proposal?: {
3550
- decisionId: string;
3551
- action: "answer" | "tell";
3552
- } | undefined;
3553
- };
3554
- };
3555
3555
  };
3556
3556
  };
3557
3557
  } & {
@@ -3769,7 +3769,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3769
3769
  error: string;
3770
3770
  };
3771
3771
  outputFormat: "json";
3772
- status: 400;
3772
+ status: 409;
3773
3773
  input: {
3774
3774
  json: {
3775
3775
  target: string;
@@ -3780,7 +3780,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3780
3780
  error: string;
3781
3781
  };
3782
3782
  outputFormat: "json";
3783
- status: 409;
3783
+ status: 400;
3784
3784
  input: {
3785
3785
  json: {
3786
3786
  target: string;
@@ -3803,12 +3803,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3803
3803
  }, "/"> | import("hono/types").MergeSchemaPath<{
3804
3804
  "/runs/:id/events": {
3805
3805
  $get: {
3806
- output: {
3807
- error: string;
3808
- code?: "invalid_input" | undefined;
3809
- };
3810
- outputFormat: "json";
3811
- status: 400;
3806
+ output: {};
3807
+ outputFormat: string;
3808
+ status: import("hono/utils/http-status").StatusCode;
3812
3809
  input: {
3813
3810
  param: {
3814
3811
  id: string;
@@ -3820,9 +3817,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3820
3817
  };
3821
3818
  };
3822
3819
  } | {
3823
- output: {};
3824
- outputFormat: string;
3825
- status: import("hono/utils/http-status").StatusCode;
3820
+ output: {
3821
+ error: string;
3822
+ code?: "invalid_input" | undefined;
3823
+ };
3824
+ outputFormat: "json";
3825
+ status: 400;
3826
3826
  input: {
3827
3827
  param: {
3828
3828
  id: string;
@@ -3883,10 +3883,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3883
3883
  "/config": {
3884
3884
  $put: {
3885
3885
  output: {
3886
- error: string;
3886
+ archiveOnMerge: boolean | null;
3887
+ effectiveArchiveOnMerge: boolean;
3888
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3889
+ baseBranch: string | null;
3890
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3891
+ systemPrompt: string | null;
3892
+ defaultModels: {
3893
+ claude?: string | undefined;
3894
+ codex?: string | undefined;
3895
+ opencode?: string | undefined;
3896
+ pi?: string | undefined;
3897
+ cursor?: string | undefined;
3898
+ omp?: string | undefined;
3899
+ };
3900
+ modelsLocked: boolean;
3901
+ maxParallel: number;
3902
+ memoryLimitMb: number | null;
3903
+ worktreeRetention: number;
3904
+ liveTitleUpdates: boolean | null;
3905
+ reviewGate: boolean | null;
3906
+ worktreeSetup: {
3907
+ commands: string[];
3908
+ timeoutSeconds: number;
3909
+ } | null;
3910
+ worktreeSetupIssue: string | null;
3887
3911
  };
3888
3912
  outputFormat: "json";
3889
- status: 409;
3913
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3890
3914
  input: {
3891
3915
  json: {
3892
3916
  archiveOnMerge?: boolean | null | undefined;
@@ -3917,7 +3941,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3917
3941
  error: string;
3918
3942
  };
3919
3943
  outputFormat: "json";
3920
- status: 500;
3944
+ status: 409;
3921
3945
  input: {
3922
3946
  json: {
3923
3947
  archiveOnMerge?: boolean | null | undefined;
@@ -3945,34 +3969,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3945
3969
  };
3946
3970
  } | {
3947
3971
  output: {
3948
- archiveOnMerge: boolean | null;
3949
- effectiveArchiveOnMerge: boolean;
3950
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3951
- baseBranch: string | null;
3952
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3953
- systemPrompt: string | null;
3954
- defaultModels: {
3955
- claude?: string | undefined;
3956
- codex?: string | undefined;
3957
- opencode?: string | undefined;
3958
- pi?: string | undefined;
3959
- cursor?: string | undefined;
3960
- omp?: string | undefined;
3961
- };
3962
- modelsLocked: boolean;
3963
- maxParallel: number;
3964
- memoryLimitMb: number | null;
3965
- worktreeRetention: number;
3966
- liveTitleUpdates: boolean | null;
3967
- reviewGate: boolean | null;
3968
- worktreeSetup: {
3969
- commands: string[];
3970
- timeoutSeconds: number;
3971
- } | null;
3972
- worktreeSetupIssue: string | null;
3972
+ error: string;
3973
3973
  };
3974
3974
  outputFormat: "json";
3975
- status: import("hono/utils/http-status").ContentfulStatusCode;
3975
+ status: 500;
3976
3976
  input: {
3977
3977
  json: {
3978
3978
  archiveOnMerge?: boolean | null | undefined;
@@ -4124,7 +4124,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4124
4124
  error: string;
4125
4125
  };
4126
4126
  outputFormat: "json";
4127
- status: 400;
4127
+ status: 409;
4128
4128
  input: {
4129
4129
  query: {
4130
4130
  q?: string | undefined;
@@ -4137,7 +4137,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4137
4137
  error: string;
4138
4138
  };
4139
4139
  outputFormat: "json";
4140
- status: 409;
4140
+ status: 400;
4141
4141
  input: {
4142
4142
  query: {
4143
4143
  q?: string | undefined;
@@ -4174,18 +4174,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4174
4174
  }, "/"> | import("hono/types").MergeSchemaPath<{
4175
4175
  "/skills": {
4176
4176
  $get: {
4177
- output: {
4178
- error: string;
4179
- code?: "invalid_input" | undefined;
4180
- };
4181
- outputFormat: "json";
4182
- status: 400;
4183
- input: {
4184
- query: {
4185
- wait?: string | undefined;
4186
- };
4187
- };
4188
- } | {
4189
4177
  output: {
4190
4178
  name: string;
4191
4179
  description?: string | undefined;
@@ -4208,11 +4196,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4208
4196
  wait?: string | undefined;
4209
4197
  };
4210
4198
  };
4211
- };
4212
- };
4213
- } & {
4214
- "/skills/importable": {
4215
- $get: {
4199
+ } | {
4216
4200
  output: {
4217
4201
  error: string;
4218
4202
  code?: "invalid_input" | undefined;
@@ -4224,7 +4208,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4224
4208
  wait?: string | undefined;
4225
4209
  };
4226
4210
  };
4227
- } | {
4211
+ };
4212
+ };
4213
+ } & {
4214
+ "/skills/importable": {
4215
+ $get: {
4228
4216
  output: {
4229
4217
  name: string;
4230
4218
  description?: string | undefined;
@@ -4247,6 +4235,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4247
4235
  wait?: string | undefined;
4248
4236
  };
4249
4237
  };
4238
+ } | {
4239
+ output: {
4240
+ error: string;
4241
+ code?: "invalid_input" | undefined;
4242
+ };
4243
+ outputFormat: "json";
4244
+ status: 400;
4245
+ input: {
4246
+ query: {
4247
+ wait?: string | undefined;
4248
+ };
4249
+ };
4250
4250
  };
4251
4251
  };
4252
4252
  } & {
@@ -4447,10 +4447,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4447
4447
  "/agent-config/:id": {
4448
4448
  $put: {
4449
4449
  output: {
4450
- error: string;
4450
+ id: string;
4451
+ path: string;
4452
+ exists: boolean;
4453
+ content: string;
4454
+ version: string | null;
4451
4455
  };
4452
4456
  outputFormat: "json";
4453
- status: 404;
4457
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4454
4458
  input: {
4455
4459
  json: {
4456
4460
  content: string;
@@ -4463,14 +4467,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4463
4467
  };
4464
4468
  } | {
4465
4469
  output: {
4466
- id: string;
4467
- path: string;
4468
- exists: boolean;
4469
- content: string;
4470
- version: string | null;
4470
+ error: string;
4471
4471
  };
4472
4472
  outputFormat: "json";
4473
- status: import("hono/utils/http-status").ContentfulStatusCode;
4473
+ status: 404;
4474
4474
  input: {
4475
4475
  json: {
4476
4476
  content: string;
@@ -4541,11 +4541,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4541
4541
  "/workflows": {
4542
4542
  $post: {
4543
4543
  output: {
4544
- path: string;
4545
- name: string;
4544
+ error: string;
4546
4545
  };
4547
4546
  outputFormat: "json";
4548
- status: 201;
4547
+ status: 400;
4549
4548
  input: {
4550
4549
  json: {
4551
4550
  name: string;
@@ -4575,9 +4574,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4575
4574
  } | {
4576
4575
  output: {
4577
4576
  error: string;
4577
+ exists: true;
4578
4578
  };
4579
4579
  outputFormat: "json";
4580
- status: 400;
4580
+ status: 409;
4581
4581
  input: {
4582
4582
  json: {
4583
4583
  name: string;
@@ -4607,10 +4607,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4607
4607
  } | {
4608
4608
  output: {
4609
4609
  error: string;
4610
- exists: true;
4611
4610
  };
4612
4611
  outputFormat: "json";
4613
- status: 409;
4612
+ status: 500;
4614
4613
  input: {
4615
4614
  json: {
4616
4615
  name: string;
@@ -4639,10 +4638,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4639
4638
  };
4640
4639
  } | {
4641
4640
  output: {
4642
- error: string;
4641
+ path: string;
4642
+ name: string;
4643
4643
  };
4644
4644
  outputFormat: "json";
4645
- status: 500;
4645
+ status: 201;
4646
4646
  input: {
4647
4647
  json: {
4648
4648
  name: string;
@@ -4678,7 +4678,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4678
4678
  error: string;
4679
4679
  };
4680
4680
  outputFormat: "json";
4681
- status: 400;
4681
+ status: 404;
4682
4682
  input: {
4683
4683
  param: {
4684
4684
  name: string;
@@ -4689,7 +4689,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4689
4689
  error: string;
4690
4690
  };
4691
4691
  outputFormat: "json";
4692
- status: 404;
4692
+ status: 400;
4693
4693
  input: {
4694
4694
  param: {
4695
4695
  name: string;
@@ -5102,18 +5102,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5102
5102
  "/repo/branches/delete": {
5103
5103
  $post: {
5104
5104
  output: {
5105
- deleted: string[];
5105
+ error: string;
5106
5106
  refused: {
5107
5107
  name: string;
5108
5108
  reason: string;
5109
5109
  }[];
5110
- dropped?: {
5111
- sha: string;
5112
- subject: string;
5113
- }[] | undefined;
5114
5110
  };
5115
5111
  outputFormat: "json";
5116
- status: 200;
5112
+ status: 409;
5117
5113
  input: {
5118
5114
  json: {
5119
5115
  names: string[];
@@ -5122,14 +5118,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5122
5118
  };
5123
5119
  } | {
5124
5120
  output: {
5125
- error: string;
5121
+ deleted: string[];
5126
5122
  refused: {
5127
5123
  name: string;
5128
5124
  reason: string;
5129
5125
  }[];
5126
+ dropped?: {
5127
+ sha: string;
5128
+ subject: string;
5129
+ }[] | undefined;
5130
5130
  };
5131
5131
  outputFormat: "json";
5132
- status: 409;
5132
+ status: 200;
5133
5133
  input: {
5134
5134
  json: {
5135
5135
  names: string[];
@@ -5150,12 +5150,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5150
5150
  } & {
5151
5151
  "/repo/commit/:sha": {
5152
5152
  $get: {
5153
- output: {
5154
- error: string;
5155
- code?: "invalid_input" | undefined;
5156
- };
5157
- outputFormat: "json";
5158
- status: 400;
5153
+ output: string;
5154
+ outputFormat: "text";
5155
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5159
5156
  input: {
5160
5157
  query: {
5161
5158
  structured?: string | undefined;
@@ -5168,9 +5165,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5168
5165
  } | {
5169
5166
  output: {
5170
5167
  error: string;
5168
+ code?: "invalid_input" | undefined;
5171
5169
  };
5172
5170
  outputFormat: "json";
5173
- status: 409;
5171
+ status: 400;
5174
5172
  input: {
5175
5173
  query: {
5176
5174
  structured?: string | undefined;
@@ -5214,9 +5212,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5214
5212
  };
5215
5213
  };
5216
5214
  } | {
5217
- output: string;
5218
- outputFormat: "text";
5219
- status: import("hono/utils/http-status").ContentfulStatusCode;
5215
+ output: {
5216
+ error: string;
5217
+ };
5218
+ outputFormat: "json";
5219
+ status: 409;
5220
5220
  input: {
5221
5221
  query: {
5222
5222
  structured?: string | undefined;
@@ -5231,13 +5231,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5231
5231
  } & {
5232
5232
  "/repo/changes": {
5233
5233
  $get: {
5234
- output: {
5235
- error: string;
5236
- };
5237
- outputFormat: "json";
5238
- status: 409;
5239
- input: {};
5240
- } | {
5241
5234
  output: {
5242
5235
  files: {
5243
5236
  path: string;
@@ -5262,6 +5255,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5262
5255
  outputFormat: "json";
5263
5256
  status: import("hono/utils/http-status").ContentfulStatusCode;
5264
5257
  input: {};
5258
+ } | {
5259
+ output: {
5260
+ error: string;
5261
+ };
5262
+ outputFormat: "json";
5263
+ status: 409;
5264
+ input: {};
5265
5265
  };
5266
5266
  };
5267
5267
  } & {
@@ -5286,12 +5286,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5286
5286
  "/repo/pull": {
5287
5287
  $post: {
5288
5288
  output: {
5289
- branch: string;
5290
- pulled: true;
5291
- summary: string;
5289
+ error: string;
5292
5290
  };
5293
5291
  outputFormat: "json";
5294
- status: 200;
5292
+ status: 409;
5295
5293
  input: {
5296
5294
  json: {
5297
5295
  branch?: string | undefined;
@@ -5300,10 +5298,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5300
5298
  };
5301
5299
  } | {
5302
5300
  output: {
5303
- error: string;
5301
+ branch: string;
5302
+ pulled: true;
5303
+ summary: string;
5304
5304
  };
5305
5305
  outputFormat: "json";
5306
- status: 409;
5306
+ status: 200;
5307
5307
  input: {
5308
5308
  json: {
5309
5309
  branch?: string | undefined;
@@ -6253,18 +6253,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6253
6253
  "/automations": {
6254
6254
  $post: {
6255
6255
  output: {
6256
- automation: {
6257
- [x: string]: import("hono/utils/types").JSONValue;
6258
- id: string;
6259
- revision: number;
6256
+ error: string;
6257
+ };
6258
+ outputFormat: "json";
6259
+ status: 400 | 404 | 409;
6260
+ input: {
6261
+ json: {
6260
6262
  name: string;
6261
6263
  description?: string | undefined;
6262
- enabled: boolean;
6263
- kind: "github" | "schedule";
6264
+ enabled?: boolean | undefined;
6265
+ kind?: "github" | "schedule" | undefined;
6264
6266
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6265
6267
  intervalSeconds?: number | undefined;
6266
6268
  filters?: {
6267
- [x: string]: import("hono/utils/types").JSONValue;
6269
+ [x: string]: unknown;
6268
6270
  includeExisting?: boolean | undefined;
6269
6271
  requireCurrentLabels?: boolean | undefined;
6270
6272
  authors?: string[] | undefined;
@@ -6273,11 +6275,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6273
6275
  anyLabels?: string[] | undefined;
6274
6276
  excludeLabels?: string[] | undefined;
6275
6277
  changedLabels?: string[] | undefined;
6276
- lookbackDays: number;
6277
- maxRecords: number;
6278
+ lookbackDays?: number | undefined;
6279
+ maxRecords?: number | undefined;
6278
6280
  } | undefined;
6279
6281
  schedule?: {
6280
- [x: string]: import("hono/utils/types").JSONValue;
6281
6282
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6282
6283
  hour?: number | undefined;
6283
6284
  minute?: number | undefined;
@@ -6288,7 +6289,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6288
6289
  latestStartMinutes?: number | undefined;
6289
6290
  } | undefined;
6290
6291
  task: {
6291
- [x: string]: import("hono/utils/types").JSONValue;
6292
+ [x: string]: unknown;
6292
6293
  prompt: string;
6293
6294
  workflow?: string | undefined;
6294
6295
  steps?: {
@@ -6306,49 +6307,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6306
6307
  command?: string | undefined;
6307
6308
  onFail?: {
6308
6309
  retry: string;
6309
- max: number;
6310
+ max?: number | undefined;
6310
6311
  } | undefined;
6311
6312
  }[] | undefined;
6312
6313
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6313
6314
  model?: string | undefined;
6314
6315
  effort?: string | undefined;
6315
- variants?: 1 | 2 | 3 | undefined;
6316
6316
  worktree?: boolean | undefined;
6317
6317
  autonomous?: boolean | undefined;
6318
6318
  archiveWhenDone?: boolean | undefined;
6319
6319
  autoMergePr?: boolean | undefined;
6320
6320
  systemPrompt?: string | undefined;
6321
+ variants?: 1 | undefined;
6321
6322
  };
6322
- archived?: {
6323
- [x: string]: import("hono/utils/types").JSONValue;
6324
- at: string;
6325
- outcome: "cancelled" | "launched";
6326
- runId?: string | undefined;
6327
- receiptId?: string | undefined;
6328
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6329
- } | undefined;
6330
- createdAt: string;
6331
- updatedAt: string;
6323
+ enable?: boolean | undefined;
6332
6324
  };
6333
- once?: {
6334
- dueAt: string;
6335
- timeZone: string;
6336
- resolvedInstant: string;
6337
- note: string;
6338
- } | undefined;
6339
6325
  };
6340
- outputFormat: "json";
6341
- status: 201;
6342
- input: {
6343
- json: {
6326
+ } | {
6327
+ output: {
6328
+ automation: {
6329
+ [x: string]: import("hono/utils/types").JSONValue;
6330
+ id: string;
6331
+ revision: number;
6344
6332
  name: string;
6345
6333
  description?: string | undefined;
6346
- enabled?: boolean | undefined;
6347
- kind?: "github" | "schedule" | undefined;
6334
+ enabled: boolean;
6335
+ kind: "github" | "schedule";
6348
6336
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6349
6337
  intervalSeconds?: number | undefined;
6350
6338
  filters?: {
6351
- [x: string]: unknown;
6339
+ [x: string]: import("hono/utils/types").JSONValue;
6352
6340
  includeExisting?: boolean | undefined;
6353
6341
  requireCurrentLabels?: boolean | undefined;
6354
6342
  authors?: string[] | undefined;
@@ -6357,10 +6345,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6357
6345
  anyLabels?: string[] | undefined;
6358
6346
  excludeLabels?: string[] | undefined;
6359
6347
  changedLabels?: string[] | undefined;
6360
- lookbackDays?: number | undefined;
6361
- maxRecords?: number | undefined;
6348
+ lookbackDays: number;
6349
+ maxRecords: number;
6362
6350
  } | undefined;
6363
6351
  schedule?: {
6352
+ [x: string]: import("hono/utils/types").JSONValue;
6364
6353
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6365
6354
  hour?: number | undefined;
6366
6355
  minute?: number | undefined;
@@ -6371,7 +6360,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6371
6360
  latestStartMinutes?: number | undefined;
6372
6361
  } | undefined;
6373
6362
  task: {
6374
- [x: string]: unknown;
6363
+ [x: string]: import("hono/utils/types").JSONValue;
6375
6364
  prompt: string;
6376
6365
  workflow?: string | undefined;
6377
6366
  steps?: {
@@ -6389,28 +6378,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6389
6378
  command?: string | undefined;
6390
6379
  onFail?: {
6391
6380
  retry: string;
6392
- max?: number | undefined;
6381
+ max: number;
6393
6382
  } | undefined;
6394
6383
  }[] | undefined;
6395
6384
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6396
6385
  model?: string | undefined;
6397
6386
  effort?: string | undefined;
6387
+ variants?: 1 | 2 | 3 | undefined;
6398
6388
  worktree?: boolean | undefined;
6399
6389
  autonomous?: boolean | undefined;
6400
6390
  archiveWhenDone?: boolean | undefined;
6401
6391
  autoMergePr?: boolean | undefined;
6402
6392
  systemPrompt?: string | undefined;
6403
- variants?: 1 | undefined;
6404
6393
  };
6405
- enable?: boolean | undefined;
6394
+ archived?: {
6395
+ [x: string]: import("hono/utils/types").JSONValue;
6396
+ at: string;
6397
+ outcome: "cancelled" | "launched";
6398
+ runId?: string | undefined;
6399
+ receiptId?: string | undefined;
6400
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6401
+ } | undefined;
6402
+ createdAt: string;
6403
+ updatedAt: string;
6406
6404
  };
6407
- };
6408
- } | {
6409
- output: {
6410
- error: string;
6405
+ once?: {
6406
+ dueAt: string;
6407
+ timeZone: string;
6408
+ resolvedInstant: string;
6409
+ note: string;
6410
+ } | undefined;
6411
6411
  };
6412
6412
  outputFormat: "json";
6413
- status: 400 | 404 | 409;
6413
+ status: 201;
6414
6414
  input: {
6415
6415
  json: {
6416
6416
  name: string;
@@ -6482,6 +6482,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6482
6482
  } & {
6483
6483
  "/automations/:id": {
6484
6484
  $get: {
6485
+ output: {
6486
+ error: string;
6487
+ };
6488
+ outputFormat: "json";
6489
+ status: 400 | 404 | 409;
6490
+ input: {
6491
+ param: {
6492
+ id: string;
6493
+ };
6494
+ };
6495
+ } | {
6485
6496
  output: {
6486
6497
  automation: {
6487
6498
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6635,35 +6646,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6635
6646
  id: string;
6636
6647
  };
6637
6648
  };
6638
- } | {
6639
- output: {
6640
- error: string;
6641
- };
6642
- outputFormat: "json";
6643
- status: 400 | 404 | 409;
6644
- input: {
6645
- param: {
6646
- id: string;
6647
- };
6648
- };
6649
6649
  };
6650
6650
  };
6651
6651
  } & {
6652
6652
  "/automations/:id": {
6653
6653
  $put: {
6654
6654
  output: {
6655
- automation: {
6656
- [x: string]: import("hono/utils/types").JSONValue;
6657
- id: string;
6658
- revision: number;
6655
+ error: string;
6656
+ };
6657
+ outputFormat: "json";
6658
+ status: 400 | 404 | 409;
6659
+ input: {
6660
+ json: {
6659
6661
  name: string;
6660
6662
  description?: string | undefined;
6661
- enabled: boolean;
6662
- kind: "github" | "schedule";
6663
+ enabled?: boolean | undefined;
6664
+ kind?: "github" | "schedule" | undefined;
6663
6665
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6664
6666
  intervalSeconds?: number | undefined;
6665
6667
  filters?: {
6666
- [x: string]: import("hono/utils/types").JSONValue;
6668
+ [x: string]: unknown;
6667
6669
  includeExisting?: boolean | undefined;
6668
6670
  requireCurrentLabels?: boolean | undefined;
6669
6671
  authors?: string[] | undefined;
@@ -6672,11 +6674,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6672
6674
  anyLabels?: string[] | undefined;
6673
6675
  excludeLabels?: string[] | undefined;
6674
6676
  changedLabels?: string[] | undefined;
6675
- lookbackDays: number;
6676
- maxRecords: number;
6677
+ lookbackDays?: number | undefined;
6678
+ maxRecords?: number | undefined;
6677
6679
  } | undefined;
6678
6680
  schedule?: {
6679
- [x: string]: import("hono/utils/types").JSONValue;
6680
6681
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6681
6682
  hour?: number | undefined;
6682
6683
  minute?: number | undefined;
@@ -6687,7 +6688,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6687
6688
  latestStartMinutes?: number | undefined;
6688
6689
  } | undefined;
6689
6690
  task: {
6690
- [x: string]: import("hono/utils/types").JSONValue;
6691
+ [x: string]: unknown;
6691
6692
  prompt: string;
6692
6693
  workflow?: string | undefined;
6693
6694
  steps?: {
@@ -6705,43 +6706,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6705
6706
  command?: string | undefined;
6706
6707
  onFail?: {
6707
6708
  retry: string;
6708
- max: number;
6709
+ max?: number | undefined;
6709
6710
  } | undefined;
6710
6711
  }[] | undefined;
6711
6712
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6712
6713
  model?: string | undefined;
6713
6714
  effort?: string | undefined;
6714
- variants?: 1 | 2 | 3 | undefined;
6715
6715
  worktree?: boolean | undefined;
6716
6716
  autonomous?: boolean | undefined;
6717
6717
  archiveWhenDone?: boolean | undefined;
6718
6718
  autoMergePr?: boolean | undefined;
6719
6719
  systemPrompt?: string | undefined;
6720
+ variants?: 1 | undefined;
6720
6721
  };
6721
- archived?: {
6722
- [x: string]: import("hono/utils/types").JSONValue;
6723
- at: string;
6724
- outcome: "cancelled" | "launched";
6725
- runId?: string | undefined;
6726
- receiptId?: string | undefined;
6727
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6728
- } | undefined;
6729
- createdAt: string;
6730
- updatedAt: string;
6722
+ expectedRevision: number;
6723
+ };
6724
+ } & {
6725
+ param: {
6726
+ id: string;
6731
6727
  };
6732
6728
  };
6733
- outputFormat: "json";
6734
- status: import("hono/utils/http-status").ContentfulStatusCode;
6735
- input: {
6736
- json: {
6729
+ } | {
6730
+ output: {
6731
+ automation: {
6732
+ [x: string]: import("hono/utils/types").JSONValue;
6733
+ id: string;
6734
+ revision: number;
6737
6735
  name: string;
6738
6736
  description?: string | undefined;
6739
- enabled?: boolean | undefined;
6740
- kind?: "github" | "schedule" | undefined;
6737
+ enabled: boolean;
6738
+ kind: "github" | "schedule";
6741
6739
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6742
6740
  intervalSeconds?: number | undefined;
6743
6741
  filters?: {
6744
- [x: string]: unknown;
6742
+ [x: string]: import("hono/utils/types").JSONValue;
6745
6743
  includeExisting?: boolean | undefined;
6746
6744
  requireCurrentLabels?: boolean | undefined;
6747
6745
  authors?: string[] | undefined;
@@ -6750,10 +6748,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6750
6748
  anyLabels?: string[] | undefined;
6751
6749
  excludeLabels?: string[] | undefined;
6752
6750
  changedLabels?: string[] | undefined;
6753
- lookbackDays?: number | undefined;
6754
- maxRecords?: number | undefined;
6751
+ lookbackDays: number;
6752
+ maxRecords: number;
6755
6753
  } | undefined;
6756
6754
  schedule?: {
6755
+ [x: string]: import("hono/utils/types").JSONValue;
6757
6756
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6758
6757
  hour?: number | undefined;
6759
6758
  minute?: number | undefined;
@@ -6764,7 +6763,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6764
6763
  latestStartMinutes?: number | undefined;
6765
6764
  } | undefined;
6766
6765
  task: {
6767
- [x: string]: unknown;
6766
+ [x: string]: import("hono/utils/types").JSONValue;
6768
6767
  prompt: string;
6769
6768
  workflow?: string | undefined;
6770
6769
  steps?: {
@@ -6782,32 +6781,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6782
6781
  command?: string | undefined;
6783
6782
  onFail?: {
6784
6783
  retry: string;
6785
- max?: number | undefined;
6784
+ max: number;
6786
6785
  } | undefined;
6787
6786
  }[] | undefined;
6788
6787
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6789
6788
  model?: string | undefined;
6790
6789
  effort?: string | undefined;
6790
+ variants?: 1 | 2 | 3 | undefined;
6791
6791
  worktree?: boolean | undefined;
6792
6792
  autonomous?: boolean | undefined;
6793
6793
  archiveWhenDone?: boolean | undefined;
6794
6794
  autoMergePr?: boolean | undefined;
6795
6795
  systemPrompt?: string | undefined;
6796
- variants?: 1 | undefined;
6797
6796
  };
6798
- expectedRevision: number;
6799
- };
6800
- } & {
6801
- param: {
6802
- id: string;
6797
+ archived?: {
6798
+ [x: string]: import("hono/utils/types").JSONValue;
6799
+ at: string;
6800
+ outcome: "cancelled" | "launched";
6801
+ runId?: string | undefined;
6802
+ receiptId?: string | undefined;
6803
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6804
+ } | undefined;
6805
+ createdAt: string;
6806
+ updatedAt: string;
6803
6807
  };
6804
6808
  };
6805
- } | {
6806
- output: {
6807
- error: string;
6808
- };
6809
6809
  outputFormat: "json";
6810
- status: 400 | 404 | 409;
6810
+ status: import("hono/utils/http-status").ContentfulStatusCode;
6811
6811
  input: {
6812
6812
  json: {
6813
6813
  name: string;
@@ -6907,6 +6907,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6907
6907
  } & {
6908
6908
  "/automations/:id/enable": {
6909
6909
  $post: {
6910
+ output: {
6911
+ error: string;
6912
+ };
6913
+ outputFormat: "json";
6914
+ status: 400 | 404 | 409;
6915
+ input: {
6916
+ param: {
6917
+ id: string;
6918
+ };
6919
+ };
6920
+ } | {
6910
6921
  output: {
6911
6922
  automation: {
6912
6923
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6993,7 +7004,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6993
7004
  id: string;
6994
7005
  };
6995
7006
  };
6996
- } | {
7007
+ };
7008
+ };
7009
+ } & {
7010
+ "/automations/:id/pause": {
7011
+ $post: {
6997
7012
  output: {
6998
7013
  error: string;
6999
7014
  };
@@ -7004,11 +7019,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7004
7019
  id: string;
7005
7020
  };
7006
7021
  };
7007
- };
7008
- };
7009
- } & {
7010
- "/automations/:id/pause": {
7011
- $post: {
7022
+ } | {
7012
7023
  output: {
7013
7024
  automation: {
7014
7025
  [x: string]: import("hono/utils/types").JSONValue;
@@ -7095,7 +7106,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7095
7106
  id: string;
7096
7107
  };
7097
7108
  };
7098
- } | {
7109
+ };
7110
+ };
7111
+ } & {
7112
+ "/automations/:id/cancel": {
7113
+ $post: {
7099
7114
  output: {
7100
7115
  error: string;
7101
7116
  };
@@ -7106,11 +7121,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7106
7121
  id: string;
7107
7122
  };
7108
7123
  };
7109
- };
7110
- };
7111
- } & {
7112
- "/automations/:id/cancel": {
7113
- $post: {
7124
+ } | {
7114
7125
  output: {
7115
7126
  automation: {
7116
7127
  [x: string]: import("hono/utils/types").JSONValue;
@@ -7197,27 +7208,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7197
7208
  id: string;
7198
7209
  };
7199
7210
  };
7200
- } | {
7201
- output: {
7202
- error: string;
7203
- };
7204
- outputFormat: "json";
7205
- status: 400 | 404 | 409;
7206
- input: {
7207
- param: {
7208
- id: string;
7209
- };
7210
- };
7211
7211
  };
7212
7212
  };
7213
7213
  } & {
7214
7214
  "/automations/:id/run": {
7215
7215
  $post: {
7216
7216
  output: {
7217
- runId: string;
7217
+ error: string;
7218
7218
  };
7219
7219
  outputFormat: "json";
7220
- status: 202;
7220
+ status: 400 | 404 | 409;
7221
7221
  input: {
7222
7222
  param: {
7223
7223
  id: string;
@@ -7225,10 +7225,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7225
7225
  };
7226
7226
  } | {
7227
7227
  output: {
7228
- error: string;
7228
+ runId: string;
7229
7229
  };
7230
7230
  outputFormat: "json";
7231
- status: 400 | 404 | 409;
7231
+ status: 202;
7232
7232
  input: {
7233
7233
  param: {
7234
7234
  id: string;
@@ -7240,10 +7240,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7240
7240
  "/automations/:id/check": {
7241
7241
  $post: {
7242
7242
  output: {
7243
- checkId: string;
7243
+ error: string;
7244
7244
  };
7245
7245
  outputFormat: "json";
7246
- status: 202;
7246
+ status: 404;
7247
7247
  input: {
7248
7248
  json: {
7249
7249
  mode: "execute" | "preview";
@@ -7258,7 +7258,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7258
7258
  error: string;
7259
7259
  };
7260
7260
  outputFormat: "json";
7261
- status: 404;
7261
+ status: 409;
7262
7262
  input: {
7263
7263
  json: {
7264
7264
  mode: "execute" | "preview";
@@ -7270,10 +7270,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7270
7270
  };
7271
7271
  } | {
7272
7272
  output: {
7273
- error: string;
7273
+ checkId: string;
7274
7274
  };
7275
7275
  outputFormat: "json";
7276
- status: 409;
7276
+ status: 202;
7277
7277
  input: {
7278
7278
  json: {
7279
7279
  mode: "execute" | "preview";
@@ -7347,11 +7347,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7347
7347
  "/automation-log/:receiptId/retry": {
7348
7348
  $post: {
7349
7349
  output: {
7350
- receiptId: string;
7351
- runId: string;
7350
+ error: string;
7352
7351
  };
7353
7352
  outputFormat: "json";
7354
- status: 202;
7353
+ status: 404;
7355
7354
  input: {
7356
7355
  param: {
7357
7356
  receiptId: string;
@@ -7362,7 +7361,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7362
7361
  error: string;
7363
7362
  };
7364
7363
  outputFormat: "json";
7365
- status: 404;
7364
+ status: 409;
7366
7365
  input: {
7367
7366
  param: {
7368
7367
  receiptId: string;
@@ -7370,10 +7369,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7370
7369
  };
7371
7370
  } | {
7372
7371
  output: {
7373
- error: string;
7372
+ receiptId: string;
7373
+ runId: string;
7374
7374
  };
7375
7375
  outputFormat: "json";
7376
- status: 409;
7376
+ status: 202;
7377
7377
  input: {
7378
7378
  param: {
7379
7379
  receiptId: string;
@@ -8443,18 +8443,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8443
8443
  } & {
8444
8444
  "/run-summaries": {
8445
8445
  $get: {
8446
- output: {
8447
- error: string;
8448
- code?: "invalid_input" | undefined;
8449
- };
8450
- outputFormat: "json";
8451
- status: 400;
8452
- input: {
8453
- query: {
8454
- archived?: "all" | "recent" | undefined;
8455
- };
8456
- };
8457
- } | {
8458
8446
  output: {
8459
8447
  id: string;
8460
8448
  title: string;
@@ -8579,6 +8567,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8579
8567
  archived?: "all" | "recent" | undefined;
8580
8568
  };
8581
8569
  };
8570
+ } | {
8571
+ output: {
8572
+ error: string;
8573
+ code?: "invalid_input" | undefined;
8574
+ };
8575
+ outputFormat: "json";
8576
+ status: 400;
8577
+ input: {
8578
+ query: {
8579
+ archived?: "all" | "recent" | undefined;
8580
+ };
8581
+ };
8582
8582
  };
8583
8583
  };
8584
8584
  } & {
@@ -8905,20 +8905,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8905
8905
  "/runs/:id/worker-destroy": {
8906
8906
  $post: {
8907
8907
  output: {
8908
- workerId: string;
8909
- state: "complete" | "incomplete";
8910
- deleted?: ({
8911
- kind: "worktree";
8912
- path: string;
8913
- } | {
8914
- kind: "branch";
8915
- ref: string;
8916
- })[] | undefined;
8917
- remaining: ("branch" | "process" | "worktree")[];
8918
- error?: string | undefined;
8908
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8909
+ readonly error: string;
8910
+ readonly modelChoices?: {
8911
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
8912
+ requestedModel: string;
8913
+ availableModels: {
8914
+ id: string;
8915
+ label: string;
8916
+ description: string;
8917
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8918
+ }[];
8919
+ otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
8920
+ } | undefined;
8919
8921
  };
8920
8922
  outputFormat: "json";
8921
- status: 200;
8923
+ status: 400 | 401 | 403 | 409 | 503;
8922
8924
  input: {
8923
8925
  query: {
8924
8926
  [x: string]: string | string[];
@@ -8963,7 +8965,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8963
8965
  error?: string | undefined;
8964
8966
  };
8965
8967
  outputFormat: "json";
8966
- status: 409;
8968
+ status: 200;
8967
8969
  input: {
8968
8970
  query: {
8969
8971
  [x: string]: string | string[];
@@ -8977,22 +8979,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8977
8979
  };
8978
8980
  } | {
8979
8981
  output: {
8980
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8981
- readonly error: string;
8982
- readonly modelChoices?: {
8983
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
8984
- requestedModel: string;
8985
- availableModels: {
8986
- id: string;
8987
- label: string;
8988
- description: string;
8989
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8990
- }[];
8991
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
8992
- } | undefined;
8982
+ workerId: string;
8983
+ state: "complete" | "incomplete";
8984
+ deleted?: ({
8985
+ kind: "worktree";
8986
+ path: string;
8987
+ } | {
8988
+ kind: "branch";
8989
+ ref: string;
8990
+ })[] | undefined;
8991
+ remaining: ("branch" | "process" | "worktree")[];
8992
+ error?: string | undefined;
8993
8993
  };
8994
8994
  outputFormat: "json";
8995
- status: 400 | 401 | 403 | 409 | 503;
8995
+ status: 409;
8996
8996
  input: {
8997
8997
  query: {
8998
8998
  [x: string]: string | string[];
@@ -9042,21 +9042,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9042
9042
  } & {
9043
9043
  "/runs/:id/archive": {
9044
9044
  $post: {
9045
- output: {
9046
- error: string;
9047
- };
9048
- outputFormat: "json";
9049
- status: 404;
9050
- input: {
9051
- json: {
9052
- archived?: boolean | undefined;
9053
- };
9054
- } & {
9055
- param: {
9056
- id: string;
9057
- };
9058
- };
9059
- } | {
9060
9045
  output: {
9061
9046
  id: string;
9062
9047
  title: string;
@@ -10112,32 +10097,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10112
10097
  id: string;
10113
10098
  };
10114
10099
  };
10115
- };
10116
- };
10117
- } & {
10118
- "/runs/:id/pin": {
10119
- $post: {
10100
+ } | {
10120
10101
  output: {
10121
10102
  error: string;
10122
- code?: "invalid_input" | undefined;
10123
10103
  };
10124
10104
  outputFormat: "json";
10125
- status: 400;
10105
+ status: 404;
10126
10106
  input: {
10127
- param: {
10128
- id: string;
10107
+ json: {
10108
+ archived?: boolean | undefined;
10129
10109
  };
10130
10110
  } & {
10131
- json: {
10132
- pinned?: boolean | undefined;
10111
+ param: {
10112
+ id: string;
10133
10113
  };
10134
10114
  };
10135
- } | {
10115
+ };
10116
+ };
10117
+ } & {
10118
+ "/runs/:id/pin": {
10119
+ $post: {
10136
10120
  output: {
10137
10121
  error: string;
10122
+ code?: "invalid_input" | undefined;
10138
10123
  };
10139
10124
  outputFormat: "json";
10140
- status: 404;
10125
+ status: 400;
10141
10126
  input: {
10142
10127
  param: {
10143
10128
  id: string;
@@ -11203,49 +11188,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11203
11188
  pinned?: boolean | undefined;
11204
11189
  };
11205
11190
  };
11206
- };
11207
- };
11208
- } & {
11209
- "/runs/:id/notify": {
11210
- $post: {
11211
- output: {
11212
- error: string;
11213
- code?: "invalid_input" | undefined;
11214
- };
11215
- outputFormat: "json";
11216
- status: 400;
11217
- input: {
11218
- param: {
11219
- id: string;
11220
- };
11221
- } & {
11222
- json: {
11223
- notify: boolean;
11224
- message?: string | undefined;
11225
- };
11226
- };
11227
11191
  } | {
11228
11192
  output: {
11229
11193
  error: string;
11230
11194
  };
11231
11195
  outputFormat: "json";
11232
- status: 400;
11196
+ status: 404;
11233
11197
  input: {
11234
11198
  param: {
11235
11199
  id: string;
11236
11200
  };
11237
11201
  } & {
11238
11202
  json: {
11239
- notify: boolean;
11240
- message?: string | undefined;
11203
+ pinned?: boolean | undefined;
11241
11204
  };
11242
11205
  };
11243
- } | {
11206
+ };
11207
+ };
11208
+ } & {
11209
+ "/runs/:id/notify": {
11210
+ $post: {
11244
11211
  output: {
11245
11212
  error: string;
11213
+ code?: "invalid_input" | undefined;
11246
11214
  };
11247
11215
  outputFormat: "json";
11248
- status: 404;
11216
+ status: 400;
11249
11217
  input: {
11250
11218
  param: {
11251
11219
  id: string;
@@ -12313,11 +12281,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12313
12281
  message?: string | undefined;
12314
12282
  };
12315
12283
  };
12316
- };
12317
- };
12318
- } & {
12319
- "/runs/:id/auto-resume": {
12320
- $delete: {
12284
+ } | {
12321
12285
  output: {
12322
12286
  error: string;
12323
12287
  };
@@ -12327,23 +12291,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12327
12291
  param: {
12328
12292
  id: string;
12329
12293
  };
12294
+ } & {
12295
+ json: {
12296
+ notify: boolean;
12297
+ message?: string | undefined;
12298
+ };
12330
12299
  };
12331
12300
  } | {
12332
12301
  output: {
12333
- cancelled: true;
12302
+ error: string;
12334
12303
  };
12335
12304
  outputFormat: "json";
12336
- status: import("hono/utils/http-status").ContentfulStatusCode;
12305
+ status: 400;
12337
12306
  input: {
12338
12307
  param: {
12339
12308
  id: string;
12340
12309
  };
12310
+ } & {
12311
+ json: {
12312
+ notify: boolean;
12313
+ message?: string | undefined;
12314
+ };
12341
12315
  };
12342
12316
  };
12343
12317
  };
12344
12318
  } & {
12345
- "/runs/:id/read": {
12346
- $post: {
12319
+ "/runs/:id/auto-resume": {
12320
+ $delete: {
12347
12321
  output: {
12348
12322
  error: string;
12349
12323
  };
@@ -12355,6 +12329,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12355
12329
  };
12356
12330
  };
12357
12331
  } | {
12332
+ output: {
12333
+ cancelled: true;
12334
+ };
12335
+ outputFormat: "json";
12336
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12337
+ input: {
12338
+ param: {
12339
+ id: string;
12340
+ };
12341
+ };
12342
+ };
12343
+ };
12344
+ } & {
12345
+ "/runs/:id/read": {
12346
+ $post: {
12358
12347
  output: {
12359
12348
  id: string;
12360
12349
  title: string;
@@ -13406,11 +13395,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13406
13395
  id: string;
13407
13396
  };
13408
13397
  };
13409
- };
13410
- };
13411
- } & {
13412
- "/runs/:id/unread": {
13413
- $post: {
13398
+ } | {
13414
13399
  output: {
13415
13400
  error: string;
13416
13401
  };
@@ -13421,7 +13406,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13421
13406
  id: string;
13422
13407
  };
13423
13408
  };
13424
- } | {
13409
+ };
13410
+ };
13411
+ } & {
13412
+ "/runs/:id/unread": {
13413
+ $post: {
13425
13414
  output: {
13426
13415
  id: string;
13427
13416
  title: string;
@@ -14473,6 +14462,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14473
14462
  id: string;
14474
14463
  };
14475
14464
  };
14465
+ } | {
14466
+ output: {
14467
+ error: string;
14468
+ };
14469
+ outputFormat: "json";
14470
+ status: 404;
14471
+ input: {
14472
+ param: {
14473
+ id: string;
14474
+ };
14475
+ };
14476
14476
  };
14477
14477
  };
14478
14478
  } & {
@@ -15615,17 +15615,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15615
15615
  } & {
15616
15616
  "/runs/:id": {
15617
15617
  $get: {
15618
- output: {
15619
- error: string;
15620
- };
15621
- outputFormat: "json";
15622
- status: 404;
15623
- input: {
15624
- param: {
15625
- id: string;
15626
- };
15627
- };
15628
- } | {
15629
15618
  output: {
15630
15619
  id: string;
15631
15620
  title: string;
@@ -16684,6 +16673,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16684
16673
  id: string;
16685
16674
  };
16686
16675
  };
16676
+ } | {
16677
+ output: {
16678
+ error: string;
16679
+ };
16680
+ outputFormat: "json";
16681
+ status: 404;
16682
+ input: {
16683
+ param: {
16684
+ id: string;
16685
+ };
16686
+ };
16687
16687
  };
16688
16688
  };
16689
16689
  } & {
@@ -16811,60 +16811,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16811
16811
  } & {
16812
16812
  "/runs/:id": {
16813
16813
  $patch: {
16814
- output: {
16815
- error: string;
16816
- };
16817
- outputFormat: "json";
16818
- status: 400;
16819
- input: {
16820
- json: {
16821
- title?: string | undefined;
16822
- task?: string | undefined;
16823
- archiveWhenDone?: boolean | undefined;
16824
- autoMergePr?: boolean | undefined;
16825
- };
16826
- } & {
16827
- param: {
16828
- id: string;
16829
- };
16830
- };
16831
- } | {
16832
- output: {
16833
- error: string;
16834
- };
16835
- outputFormat: "json";
16836
- status: 404;
16837
- input: {
16838
- json: {
16839
- title?: string | undefined;
16840
- task?: string | undefined;
16841
- archiveWhenDone?: boolean | undefined;
16842
- autoMergePr?: boolean | undefined;
16843
- };
16844
- } & {
16845
- param: {
16846
- id: string;
16847
- };
16848
- };
16849
- } | {
16850
- output: {
16851
- error: string;
16852
- };
16853
- outputFormat: "json";
16854
- status: 409;
16855
- input: {
16856
- json: {
16857
- title?: string | undefined;
16858
- task?: string | undefined;
16859
- archiveWhenDone?: boolean | undefined;
16860
- autoMergePr?: boolean | undefined;
16861
- };
16862
- } & {
16863
- param: {
16864
- id: string;
16865
- };
16866
- };
16867
- } | {
16868
16814
  output: {
16869
16815
  id: string;
16870
16816
  title: string;
@@ -17923,6 +17869,60 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17923
17869
  id: string;
17924
17870
  };
17925
17871
  };
17872
+ } | {
17873
+ output: {
17874
+ error: string;
17875
+ };
17876
+ outputFormat: "json";
17877
+ status: 404;
17878
+ input: {
17879
+ json: {
17880
+ title?: string | undefined;
17881
+ task?: string | undefined;
17882
+ archiveWhenDone?: boolean | undefined;
17883
+ autoMergePr?: boolean | undefined;
17884
+ };
17885
+ } & {
17886
+ param: {
17887
+ id: string;
17888
+ };
17889
+ };
17890
+ } | {
17891
+ output: {
17892
+ error: string;
17893
+ };
17894
+ outputFormat: "json";
17895
+ status: 400;
17896
+ input: {
17897
+ json: {
17898
+ title?: string | undefined;
17899
+ task?: string | undefined;
17900
+ archiveWhenDone?: boolean | undefined;
17901
+ autoMergePr?: boolean | undefined;
17902
+ };
17903
+ } & {
17904
+ param: {
17905
+ id: string;
17906
+ };
17907
+ };
17908
+ } | {
17909
+ output: {
17910
+ error: string;
17911
+ };
17912
+ outputFormat: "json";
17913
+ status: 409;
17914
+ input: {
17915
+ json: {
17916
+ title?: string | undefined;
17917
+ task?: string | undefined;
17918
+ archiveWhenDone?: boolean | undefined;
17919
+ autoMergePr?: boolean | undefined;
17920
+ };
17921
+ } & {
17922
+ param: {
17923
+ id: string;
17924
+ };
17925
+ };
17926
17926
  };
17927
17927
  };
17928
17928
  } & {
@@ -18027,7 +18027,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18027
18027
  error: string;
18028
18028
  };
18029
18029
  outputFormat: "json";
18030
- status: 400;
18030
+ status: 404;
18031
18031
  input: {
18032
18032
  json: {
18033
18033
  text?: string | undefined;
@@ -18046,7 +18046,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18046
18046
  error: string;
18047
18047
  };
18048
18048
  outputFormat: "json";
18049
- status: 404;
18049
+ status: 409;
18050
18050
  input: {
18051
18051
  json: {
18052
18052
  text?: string | undefined;
@@ -18062,10 +18062,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18062
18062
  };
18063
18063
  } | {
18064
18064
  output: {
18065
- error: string;
18065
+ delivered: true;
18066
18066
  };
18067
18067
  outputFormat: "json";
18068
- status: 409;
18068
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18069
18069
  input: {
18070
18070
  json: {
18071
18071
  text?: string | undefined;
@@ -18081,10 +18081,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18081
18081
  };
18082
18082
  } | {
18083
18083
  output: {
18084
- delivered: true;
18084
+ error: string;
18085
18085
  };
18086
18086
  outputFormat: "json";
18087
- status: import("hono/utils/http-status").ContentfulStatusCode;
18087
+ status: 400;
18088
18088
  input: {
18089
18089
  json: {
18090
18090
  text?: string | undefined;
@@ -18151,7 +18151,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18151
18151
  error: string;
18152
18152
  };
18153
18153
  outputFormat: "json";
18154
- status: 400;
18154
+ status: 404;
18155
18155
  input: {
18156
18156
  json: {
18157
18157
  text?: string | undefined;
@@ -18172,7 +18172,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18172
18172
  error: string;
18173
18173
  };
18174
18174
  outputFormat: "json";
18175
- status: 404;
18175
+ status: 400;
18176
18176
  input: {
18177
18177
  json: {
18178
18178
  text?: string | undefined;
@@ -18324,7 +18324,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18324
18324
  error: string;
18325
18325
  };
18326
18326
  outputFormat: "json";
18327
- status: 400;
18327
+ status: 404;
18328
18328
  input: {
18329
18329
  json: {
18330
18330
  text?: string | undefined;
@@ -18347,7 +18347,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18347
18347
  error: string;
18348
18348
  };
18349
18349
  outputFormat: "json";
18350
- status: 404;
18350
+ status: 400;
18351
18351
  input: {
18352
18352
  json: {
18353
18353
  text?: string | undefined;
@@ -18458,7 +18458,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18458
18458
  error: string;
18459
18459
  };
18460
18460
  outputFormat: "json";
18461
- status: 400;
18461
+ status: 404;
18462
18462
  input: {
18463
18463
  json: {
18464
18464
  target: string;
@@ -18474,7 +18474,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18474
18474
  error: string;
18475
18475
  };
18476
18476
  outputFormat: "json";
18477
- status: 404;
18477
+ status: 409;
18478
18478
  input: {
18479
18479
  json: {
18480
18480
  target: string;
@@ -18490,7 +18490,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18490
18490
  error: string;
18491
18491
  };
18492
18492
  outputFormat: "json";
18493
- status: 409;
18493
+ status: 400;
18494
18494
  input: {
18495
18495
  json: {
18496
18496
  target: string;
@@ -18547,12 +18547,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18547
18547
  } & {
18548
18548
  "/runs/:id/images/:file": {
18549
18549
  $get: {
18550
- output: {
18551
- error: string;
18552
- code?: "invalid_input" | undefined;
18553
- };
18554
- outputFormat: "json";
18555
- status: 400;
18550
+ output: {};
18551
+ outputFormat: string;
18552
+ status: import("hono/utils/http-status").StatusCode;
18556
18553
  input: {
18557
18554
  param: {
18558
18555
  id: string;
@@ -18560,9 +18557,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18560
18557
  };
18561
18558
  };
18562
18559
  } | {
18563
- output: {};
18564
- outputFormat: string;
18565
- status: import("hono/utils/http-status").StatusCode;
18560
+ output: {
18561
+ error: string;
18562
+ code?: "invalid_input" | undefined;
18563
+ };
18564
+ outputFormat: "json";
18565
+ status: 400;
18566
18566
  input: {
18567
18567
  param: {
18568
18568
  id: string;
@@ -18574,11 +18574,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18574
18574
  } & {
18575
18575
  "/runs/:id/diff": {
18576
18576
  $get: {
18577
- output: {
18578
- error: string;
18579
- };
18580
- outputFormat: "json";
18581
- status: 404;
18577
+ output: string;
18578
+ outputFormat: "text";
18579
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18582
18580
  input: {
18583
18581
  param: {
18584
18582
  id: string;
@@ -18589,16 +18587,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18589
18587
  error: string;
18590
18588
  };
18591
18589
  outputFormat: "json";
18592
- status: 409;
18590
+ status: 404;
18593
18591
  input: {
18594
18592
  param: {
18595
18593
  id: string;
18596
18594
  };
18597
18595
  };
18598
18596
  } | {
18599
- output: string;
18600
- outputFormat: "text";
18601
- status: import("hono/utils/http-status").ContentfulStatusCode;
18597
+ output: {
18598
+ error: string;
18599
+ };
18600
+ outputFormat: "json";
18601
+ status: 409;
18602
18602
  input: {
18603
18603
  param: {
18604
18604
  id: string;
@@ -18929,18 +18929,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18929
18929
  artifactId: string;
18930
18930
  };
18931
18931
  };
18932
- } | {
18933
- output: {
18934
- error: string;
18935
- };
18936
- outputFormat: "json";
18937
- status: 404;
18938
- input: {
18939
- param: {
18940
- id: string;
18941
- artifactId: string;
18942
- };
18943
- };
18944
18932
  } | {
18945
18933
  output: {
18946
18934
  type: "file";
@@ -18969,6 +18957,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18969
18957
  artifactId: string;
18970
18958
  };
18971
18959
  };
18960
+ } | {
18961
+ output: {
18962
+ error: string;
18963
+ };
18964
+ outputFormat: "json";
18965
+ status: 404;
18966
+ input: {
18967
+ param: {
18968
+ id: string;
18969
+ artifactId: string;
18970
+ };
18971
+ };
18972
18972
  };
18973
18973
  };
18974
18974
  } & {
@@ -19315,11 +19315,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19315
19315
  "/runs/:id/pr": {
19316
19316
  $post: {
19317
19317
  output: {
19318
- url: string;
19319
- dryRun: boolean;
19318
+ error: string;
19320
19319
  };
19321
19320
  outputFormat: "json";
19322
- status: 201;
19321
+ status: 404;
19323
19322
  input: {
19324
19323
  param: {
19325
19324
  id: string;
@@ -19330,7 +19329,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19330
19329
  error: string;
19331
19330
  };
19332
19331
  outputFormat: "json";
19333
- status: 400;
19332
+ status: 409;
19334
19333
  input: {
19335
19334
  param: {
19336
19335
  id: string;
@@ -19341,7 +19340,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19341
19340
  error: string;
19342
19341
  };
19343
19342
  outputFormat: "json";
19344
- status: 404;
19343
+ status: 400;
19345
19344
  input: {
19346
19345
  param: {
19347
19346
  id: string;
@@ -19349,10 +19348,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19349
19348
  };
19350
19349
  } | {
19351
19350
  output: {
19352
- error: string;
19351
+ url: string;
19352
+ dryRun: boolean;
19353
19353
  };
19354
19354
  outputFormat: "json";
19355
- status: 409;
19355
+ status: 201;
19356
19356
  input: {
19357
19357
  param: {
19358
19358
  id: string;
@@ -19404,7 +19404,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19404
19404
  error: string;
19405
19405
  };
19406
19406
  outputFormat: "json";
19407
- status: 404;
19407
+ status: 409;
19408
19408
  input: {
19409
19409
  param: {
19410
19410
  id: string;
@@ -19415,7 +19415,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19415
19415
  error: string;
19416
19416
  };
19417
19417
  outputFormat: "json";
19418
- status: 409;
19418
+ status: 404;
19419
19419
  input: {
19420
19420
  param: {
19421
19421
  id: string;
@@ -19494,6 +19494,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19494
19494
  }, "/"> | import("hono/types").MergeSchemaPath<{
19495
19495
  "/voice/decide": {
19496
19496
  $post: {
19497
+ output: {
19498
+ error: string;
19499
+ };
19500
+ outputFormat: "json";
19501
+ status: 503;
19502
+ input: {
19503
+ json: {
19504
+ text: string;
19505
+ sidebarView: "active" | "automations";
19506
+ openRunId?: string | undefined;
19507
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19508
+ askRequestId?: string | null | undefined;
19509
+ proposal?: {
19510
+ decisionId: string;
19511
+ action: "answer" | "tell";
19512
+ } | undefined;
19513
+ };
19514
+ };
19515
+ } | {
19497
19516
  output: {
19498
19517
  action: "open";
19499
19518
  decisionId: string;
@@ -19551,25 +19570,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19551
19570
  } | undefined;
19552
19571
  };
19553
19572
  };
19554
- } | {
19555
- output: {
19556
- error: string;
19557
- };
19558
- outputFormat: "json";
19559
- status: 503;
19560
- input: {
19561
- json: {
19562
- text: string;
19563
- sidebarView: "active" | "automations";
19564
- openRunId?: string | undefined;
19565
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19566
- askRequestId?: string | null | undefined;
19567
- proposal?: {
19568
- decisionId: string;
19569
- action: "answer" | "tell";
19570
- } | undefined;
19571
- };
19572
- };
19573
19573
  };
19574
19574
  };
19575
19575
  } & {
@@ -19787,7 +19787,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19787
19787
  error: string;
19788
19788
  };
19789
19789
  outputFormat: "json";
19790
- status: 400;
19790
+ status: 409;
19791
19791
  input: {
19792
19792
  json: {
19793
19793
  target: string;
@@ -19798,7 +19798,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19798
19798
  error: string;
19799
19799
  };
19800
19800
  outputFormat: "json";
19801
- status: 409;
19801
+ status: 400;
19802
19802
  input: {
19803
19803
  json: {
19804
19804
  target: string;
@@ -19821,12 +19821,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19821
19821
  }, "/"> | import("hono/types").MergeSchemaPath<{
19822
19822
  "/runs/:id/events": {
19823
19823
  $get: {
19824
- output: {
19825
- error: string;
19826
- code?: "invalid_input" | undefined;
19827
- };
19828
- outputFormat: "json";
19829
- status: 400;
19824
+ output: {};
19825
+ outputFormat: string;
19826
+ status: import("hono/utils/http-status").StatusCode;
19830
19827
  input: {
19831
19828
  param: {
19832
19829
  id: string;
@@ -19838,9 +19835,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19838
19835
  };
19839
19836
  };
19840
19837
  } | {
19841
- output: {};
19842
- outputFormat: string;
19843
- status: import("hono/utils/http-status").StatusCode;
19838
+ output: {
19839
+ error: string;
19840
+ code?: "invalid_input" | undefined;
19841
+ };
19842
+ outputFormat: "json";
19843
+ status: 400;
19844
19844
  input: {
19845
19845
  param: {
19846
19846
  id: string;
@@ -19901,10 +19901,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19901
19901
  "/config": {
19902
19902
  $put: {
19903
19903
  output: {
19904
- error: string;
19904
+ archiveOnMerge: boolean | null;
19905
+ effectiveArchiveOnMerge: boolean;
19906
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19907
+ baseBranch: string | null;
19908
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
19909
+ systemPrompt: string | null;
19910
+ defaultModels: {
19911
+ claude?: string | undefined;
19912
+ codex?: string | undefined;
19913
+ opencode?: string | undefined;
19914
+ pi?: string | undefined;
19915
+ cursor?: string | undefined;
19916
+ omp?: string | undefined;
19917
+ };
19918
+ modelsLocked: boolean;
19919
+ maxParallel: number;
19920
+ memoryLimitMb: number | null;
19921
+ worktreeRetention: number;
19922
+ liveTitleUpdates: boolean | null;
19923
+ reviewGate: boolean | null;
19924
+ worktreeSetup: {
19925
+ commands: string[];
19926
+ timeoutSeconds: number;
19927
+ } | null;
19928
+ worktreeSetupIssue: string | null;
19905
19929
  };
19906
19930
  outputFormat: "json";
19907
- status: 409;
19931
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19908
19932
  input: {
19909
19933
  json: {
19910
19934
  archiveOnMerge?: boolean | null | undefined;
@@ -19935,7 +19959,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19935
19959
  error: string;
19936
19960
  };
19937
19961
  outputFormat: "json";
19938
- status: 500;
19962
+ status: 409;
19939
19963
  input: {
19940
19964
  json: {
19941
19965
  archiveOnMerge?: boolean | null | undefined;
@@ -19963,34 +19987,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19963
19987
  };
19964
19988
  } | {
19965
19989
  output: {
19966
- archiveOnMerge: boolean | null;
19967
- effectiveArchiveOnMerge: boolean;
19968
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19969
- baseBranch: string | null;
19970
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
19971
- systemPrompt: string | null;
19972
- defaultModels: {
19973
- claude?: string | undefined;
19974
- codex?: string | undefined;
19975
- opencode?: string | undefined;
19976
- pi?: string | undefined;
19977
- cursor?: string | undefined;
19978
- omp?: string | undefined;
19979
- };
19980
- modelsLocked: boolean;
19981
- maxParallel: number;
19982
- memoryLimitMb: number | null;
19983
- worktreeRetention: number;
19984
- liveTitleUpdates: boolean | null;
19985
- reviewGate: boolean | null;
19986
- worktreeSetup: {
19987
- commands: string[];
19988
- timeoutSeconds: number;
19989
- } | null;
19990
- worktreeSetupIssue: string | null;
19990
+ error: string;
19991
19991
  };
19992
19992
  outputFormat: "json";
19993
- status: import("hono/utils/http-status").ContentfulStatusCode;
19993
+ status: 500;
19994
19994
  input: {
19995
19995
  json: {
19996
19996
  archiveOnMerge?: boolean | null | undefined;
@@ -20142,7 +20142,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20142
20142
  error: string;
20143
20143
  };
20144
20144
  outputFormat: "json";
20145
- status: 400;
20145
+ status: 409;
20146
20146
  input: {
20147
20147
  query: {
20148
20148
  q?: string | undefined;
@@ -20155,7 +20155,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20155
20155
  error: string;
20156
20156
  };
20157
20157
  outputFormat: "json";
20158
- status: 409;
20158
+ status: 400;
20159
20159
  input: {
20160
20160
  query: {
20161
20161
  q?: string | undefined;
@@ -20192,18 +20192,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20192
20192
  }, "/"> | import("hono/types").MergeSchemaPath<{
20193
20193
  "/skills": {
20194
20194
  $get: {
20195
- output: {
20196
- error: string;
20197
- code?: "invalid_input" | undefined;
20198
- };
20199
- outputFormat: "json";
20200
- status: 400;
20201
- input: {
20202
- query: {
20203
- wait?: string | undefined;
20204
- };
20205
- };
20206
- } | {
20207
20195
  output: {
20208
20196
  name: string;
20209
20197
  description?: string | undefined;
@@ -20226,11 +20214,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20226
20214
  wait?: string | undefined;
20227
20215
  };
20228
20216
  };
20229
- };
20230
- };
20231
- } & {
20232
- "/skills/importable": {
20233
- $get: {
20217
+ } | {
20234
20218
  output: {
20235
20219
  error: string;
20236
20220
  code?: "invalid_input" | undefined;
@@ -20242,7 +20226,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20242
20226
  wait?: string | undefined;
20243
20227
  };
20244
20228
  };
20245
- } | {
20229
+ };
20230
+ };
20231
+ } & {
20232
+ "/skills/importable": {
20233
+ $get: {
20246
20234
  output: {
20247
20235
  name: string;
20248
20236
  description?: string | undefined;
@@ -20265,6 +20253,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20265
20253
  wait?: string | undefined;
20266
20254
  };
20267
20255
  };
20256
+ } | {
20257
+ output: {
20258
+ error: string;
20259
+ code?: "invalid_input" | undefined;
20260
+ };
20261
+ outputFormat: "json";
20262
+ status: 400;
20263
+ input: {
20264
+ query: {
20265
+ wait?: string | undefined;
20266
+ };
20267
+ };
20268
20268
  };
20269
20269
  };
20270
20270
  } & {
@@ -20465,10 +20465,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20465
20465
  "/agent-config/:id": {
20466
20466
  $put: {
20467
20467
  output: {
20468
- error: string;
20468
+ id: string;
20469
+ path: string;
20470
+ exists: boolean;
20471
+ content: string;
20472
+ version: string | null;
20469
20473
  };
20470
20474
  outputFormat: "json";
20471
- status: 404;
20475
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20472
20476
  input: {
20473
20477
  json: {
20474
20478
  content: string;
@@ -20481,14 +20485,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20481
20485
  };
20482
20486
  } | {
20483
20487
  output: {
20484
- id: string;
20485
- path: string;
20486
- exists: boolean;
20487
- content: string;
20488
- version: string | null;
20488
+ error: string;
20489
20489
  };
20490
20490
  outputFormat: "json";
20491
- status: import("hono/utils/http-status").ContentfulStatusCode;
20491
+ status: 404;
20492
20492
  input: {
20493
20493
  json: {
20494
20494
  content: string;
@@ -20559,11 +20559,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20559
20559
  "/workflows": {
20560
20560
  $post: {
20561
20561
  output: {
20562
- path: string;
20563
- name: string;
20562
+ error: string;
20564
20563
  };
20565
20564
  outputFormat: "json";
20566
- status: 201;
20565
+ status: 400;
20567
20566
  input: {
20568
20567
  json: {
20569
20568
  name: string;
@@ -20593,9 +20592,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20593
20592
  } | {
20594
20593
  output: {
20595
20594
  error: string;
20595
+ exists: true;
20596
20596
  };
20597
20597
  outputFormat: "json";
20598
- status: 400;
20598
+ status: 409;
20599
20599
  input: {
20600
20600
  json: {
20601
20601
  name: string;
@@ -20625,10 +20625,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20625
20625
  } | {
20626
20626
  output: {
20627
20627
  error: string;
20628
- exists: true;
20629
20628
  };
20630
20629
  outputFormat: "json";
20631
- status: 409;
20630
+ status: 500;
20632
20631
  input: {
20633
20632
  json: {
20634
20633
  name: string;
@@ -20657,10 +20656,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20657
20656
  };
20658
20657
  } | {
20659
20658
  output: {
20660
- error: string;
20659
+ path: string;
20660
+ name: string;
20661
20661
  };
20662
20662
  outputFormat: "json";
20663
- status: 500;
20663
+ status: 201;
20664
20664
  input: {
20665
20665
  json: {
20666
20666
  name: string;
@@ -20696,7 +20696,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20696
20696
  error: string;
20697
20697
  };
20698
20698
  outputFormat: "json";
20699
- status: 400;
20699
+ status: 404;
20700
20700
  input: {
20701
20701
  param: {
20702
20702
  name: string;
@@ -20707,7 +20707,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20707
20707
  error: string;
20708
20708
  };
20709
20709
  outputFormat: "json";
20710
- status: 404;
20710
+ status: 400;
20711
20711
  input: {
20712
20712
  param: {
20713
20713
  name: string;
@@ -21120,18 +21120,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21120
21120
  "/repo/branches/delete": {
21121
21121
  $post: {
21122
21122
  output: {
21123
- deleted: string[];
21123
+ error: string;
21124
21124
  refused: {
21125
21125
  name: string;
21126
21126
  reason: string;
21127
21127
  }[];
21128
- dropped?: {
21129
- sha: string;
21130
- subject: string;
21131
- }[] | undefined;
21132
21128
  };
21133
21129
  outputFormat: "json";
21134
- status: 200;
21130
+ status: 409;
21135
21131
  input: {
21136
21132
  json: {
21137
21133
  names: string[];
@@ -21140,14 +21136,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21140
21136
  };
21141
21137
  } | {
21142
21138
  output: {
21143
- error: string;
21139
+ deleted: string[];
21144
21140
  refused: {
21145
21141
  name: string;
21146
21142
  reason: string;
21147
21143
  }[];
21144
+ dropped?: {
21145
+ sha: string;
21146
+ subject: string;
21147
+ }[] | undefined;
21148
21148
  };
21149
21149
  outputFormat: "json";
21150
- status: 409;
21150
+ status: 200;
21151
21151
  input: {
21152
21152
  json: {
21153
21153
  names: string[];
@@ -21168,12 +21168,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21168
21168
  } & {
21169
21169
  "/repo/commit/:sha": {
21170
21170
  $get: {
21171
- output: {
21172
- error: string;
21173
- code?: "invalid_input" | undefined;
21174
- };
21175
- outputFormat: "json";
21176
- status: 400;
21171
+ output: string;
21172
+ outputFormat: "text";
21173
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21177
21174
  input: {
21178
21175
  query: {
21179
21176
  structured?: string | undefined;
@@ -21186,9 +21183,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21186
21183
  } | {
21187
21184
  output: {
21188
21185
  error: string;
21186
+ code?: "invalid_input" | undefined;
21189
21187
  };
21190
21188
  outputFormat: "json";
21191
- status: 409;
21189
+ status: 400;
21192
21190
  input: {
21193
21191
  query: {
21194
21192
  structured?: string | undefined;
@@ -21232,9 +21230,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21232
21230
  };
21233
21231
  };
21234
21232
  } | {
21235
- output: string;
21236
- outputFormat: "text";
21237
- status: import("hono/utils/http-status").ContentfulStatusCode;
21233
+ output: {
21234
+ error: string;
21235
+ };
21236
+ outputFormat: "json";
21237
+ status: 409;
21238
21238
  input: {
21239
21239
  query: {
21240
21240
  structured?: string | undefined;
@@ -21249,13 +21249,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21249
21249
  } & {
21250
21250
  "/repo/changes": {
21251
21251
  $get: {
21252
- output: {
21253
- error: string;
21254
- };
21255
- outputFormat: "json";
21256
- status: 409;
21257
- input: {};
21258
- } | {
21259
21252
  output: {
21260
21253
  files: {
21261
21254
  path: string;
@@ -21280,6 +21273,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21280
21273
  outputFormat: "json";
21281
21274
  status: import("hono/utils/http-status").ContentfulStatusCode;
21282
21275
  input: {};
21276
+ } | {
21277
+ output: {
21278
+ error: string;
21279
+ };
21280
+ outputFormat: "json";
21281
+ status: 409;
21282
+ input: {};
21283
21283
  };
21284
21284
  };
21285
21285
  } & {
@@ -21304,12 +21304,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21304
21304
  "/repo/pull": {
21305
21305
  $post: {
21306
21306
  output: {
21307
- branch: string;
21308
- pulled: true;
21309
- summary: string;
21307
+ error: string;
21310
21308
  };
21311
21309
  outputFormat: "json";
21312
- status: 200;
21310
+ status: 409;
21313
21311
  input: {
21314
21312
  json: {
21315
21313
  branch?: string | undefined;
@@ -21318,10 +21316,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21318
21316
  };
21319
21317
  } | {
21320
21318
  output: {
21321
- error: string;
21319
+ branch: string;
21320
+ pulled: true;
21321
+ summary: string;
21322
21322
  };
21323
21323
  outputFormat: "json";
21324
- status: 409;
21324
+ status: 200;
21325
21325
  input: {
21326
21326
  json: {
21327
21327
  branch?: string | undefined;
@@ -22271,18 +22271,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22271
22271
  "/automations": {
22272
22272
  $post: {
22273
22273
  output: {
22274
- automation: {
22275
- [x: string]: import("hono/utils/types").JSONValue;
22276
- id: string;
22277
- revision: number;
22274
+ error: string;
22275
+ };
22276
+ outputFormat: "json";
22277
+ status: 400 | 404 | 409;
22278
+ input: {
22279
+ json: {
22278
22280
  name: string;
22279
22281
  description?: string | undefined;
22280
- enabled: boolean;
22281
- kind: "github" | "schedule";
22282
+ enabled?: boolean | undefined;
22283
+ kind?: "github" | "schedule" | undefined;
22282
22284
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22283
22285
  intervalSeconds?: number | undefined;
22284
22286
  filters?: {
22285
- [x: string]: import("hono/utils/types").JSONValue;
22287
+ [x: string]: unknown;
22286
22288
  includeExisting?: boolean | undefined;
22287
22289
  requireCurrentLabels?: boolean | undefined;
22288
22290
  authors?: string[] | undefined;
@@ -22291,11 +22293,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22291
22293
  anyLabels?: string[] | undefined;
22292
22294
  excludeLabels?: string[] | undefined;
22293
22295
  changedLabels?: string[] | undefined;
22294
- lookbackDays: number;
22295
- maxRecords: number;
22296
+ lookbackDays?: number | undefined;
22297
+ maxRecords?: number | undefined;
22296
22298
  } | undefined;
22297
22299
  schedule?: {
22298
- [x: string]: import("hono/utils/types").JSONValue;
22299
22300
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22300
22301
  hour?: number | undefined;
22301
22302
  minute?: number | undefined;
@@ -22306,7 +22307,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22306
22307
  latestStartMinutes?: number | undefined;
22307
22308
  } | undefined;
22308
22309
  task: {
22309
- [x: string]: import("hono/utils/types").JSONValue;
22310
+ [x: string]: unknown;
22310
22311
  prompt: string;
22311
22312
  workflow?: string | undefined;
22312
22313
  steps?: {
@@ -22324,49 +22325,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22324
22325
  command?: string | undefined;
22325
22326
  onFail?: {
22326
22327
  retry: string;
22327
- max: number;
22328
+ max?: number | undefined;
22328
22329
  } | undefined;
22329
22330
  }[] | undefined;
22330
22331
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22331
22332
  model?: string | undefined;
22332
22333
  effort?: string | undefined;
22333
- variants?: 1 | 2 | 3 | undefined;
22334
22334
  worktree?: boolean | undefined;
22335
22335
  autonomous?: boolean | undefined;
22336
22336
  archiveWhenDone?: boolean | undefined;
22337
22337
  autoMergePr?: boolean | undefined;
22338
22338
  systemPrompt?: string | undefined;
22339
+ variants?: 1 | undefined;
22339
22340
  };
22340
- archived?: {
22341
- [x: string]: import("hono/utils/types").JSONValue;
22342
- at: string;
22343
- outcome: "cancelled" | "launched";
22344
- runId?: string | undefined;
22345
- receiptId?: string | undefined;
22346
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22347
- } | undefined;
22348
- createdAt: string;
22349
- updatedAt: string;
22341
+ enable?: boolean | undefined;
22350
22342
  };
22351
- once?: {
22352
- dueAt: string;
22353
- timeZone: string;
22354
- resolvedInstant: string;
22355
- note: string;
22356
- } | undefined;
22357
22343
  };
22358
- outputFormat: "json";
22359
- status: 201;
22360
- input: {
22361
- json: {
22344
+ } | {
22345
+ output: {
22346
+ automation: {
22347
+ [x: string]: import("hono/utils/types").JSONValue;
22348
+ id: string;
22349
+ revision: number;
22362
22350
  name: string;
22363
22351
  description?: string | undefined;
22364
- enabled?: boolean | undefined;
22365
- kind?: "github" | "schedule" | undefined;
22352
+ enabled: boolean;
22353
+ kind: "github" | "schedule";
22366
22354
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22367
22355
  intervalSeconds?: number | undefined;
22368
22356
  filters?: {
22369
- [x: string]: unknown;
22357
+ [x: string]: import("hono/utils/types").JSONValue;
22370
22358
  includeExisting?: boolean | undefined;
22371
22359
  requireCurrentLabels?: boolean | undefined;
22372
22360
  authors?: string[] | undefined;
@@ -22375,10 +22363,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22375
22363
  anyLabels?: string[] | undefined;
22376
22364
  excludeLabels?: string[] | undefined;
22377
22365
  changedLabels?: string[] | undefined;
22378
- lookbackDays?: number | undefined;
22379
- maxRecords?: number | undefined;
22366
+ lookbackDays: number;
22367
+ maxRecords: number;
22380
22368
  } | undefined;
22381
22369
  schedule?: {
22370
+ [x: string]: import("hono/utils/types").JSONValue;
22382
22371
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22383
22372
  hour?: number | undefined;
22384
22373
  minute?: number | undefined;
@@ -22389,7 +22378,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22389
22378
  latestStartMinutes?: number | undefined;
22390
22379
  } | undefined;
22391
22380
  task: {
22392
- [x: string]: unknown;
22381
+ [x: string]: import("hono/utils/types").JSONValue;
22393
22382
  prompt: string;
22394
22383
  workflow?: string | undefined;
22395
22384
  steps?: {
@@ -22407,28 +22396,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22407
22396
  command?: string | undefined;
22408
22397
  onFail?: {
22409
22398
  retry: string;
22410
- max?: number | undefined;
22399
+ max: number;
22411
22400
  } | undefined;
22412
22401
  }[] | undefined;
22413
22402
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22414
22403
  model?: string | undefined;
22415
22404
  effort?: string | undefined;
22405
+ variants?: 1 | 2 | 3 | undefined;
22416
22406
  worktree?: boolean | undefined;
22417
22407
  autonomous?: boolean | undefined;
22418
22408
  archiveWhenDone?: boolean | undefined;
22419
22409
  autoMergePr?: boolean | undefined;
22420
22410
  systemPrompt?: string | undefined;
22421
- variants?: 1 | undefined;
22422
22411
  };
22423
- enable?: boolean | undefined;
22412
+ archived?: {
22413
+ [x: string]: import("hono/utils/types").JSONValue;
22414
+ at: string;
22415
+ outcome: "cancelled" | "launched";
22416
+ runId?: string | undefined;
22417
+ receiptId?: string | undefined;
22418
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22419
+ } | undefined;
22420
+ createdAt: string;
22421
+ updatedAt: string;
22424
22422
  };
22425
- };
22426
- } | {
22427
- output: {
22428
- error: string;
22423
+ once?: {
22424
+ dueAt: string;
22425
+ timeZone: string;
22426
+ resolvedInstant: string;
22427
+ note: string;
22428
+ } | undefined;
22429
22429
  };
22430
22430
  outputFormat: "json";
22431
- status: 400 | 404 | 409;
22431
+ status: 201;
22432
22432
  input: {
22433
22433
  json: {
22434
22434
  name: string;
@@ -22500,6 +22500,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22500
22500
  } & {
22501
22501
  "/automations/:id": {
22502
22502
  $get: {
22503
+ output: {
22504
+ error: string;
22505
+ };
22506
+ outputFormat: "json";
22507
+ status: 400 | 404 | 409;
22508
+ input: {
22509
+ param: {
22510
+ id: string;
22511
+ };
22512
+ };
22513
+ } | {
22503
22514
  output: {
22504
22515
  automation: {
22505
22516
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22653,35 +22664,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22653
22664
  id: string;
22654
22665
  };
22655
22666
  };
22656
- } | {
22657
- output: {
22658
- error: string;
22659
- };
22660
- outputFormat: "json";
22661
- status: 400 | 404 | 409;
22662
- input: {
22663
- param: {
22664
- id: string;
22665
- };
22666
- };
22667
22667
  };
22668
22668
  };
22669
22669
  } & {
22670
22670
  "/automations/:id": {
22671
22671
  $put: {
22672
22672
  output: {
22673
- automation: {
22674
- [x: string]: import("hono/utils/types").JSONValue;
22675
- id: string;
22676
- revision: number;
22673
+ error: string;
22674
+ };
22675
+ outputFormat: "json";
22676
+ status: 400 | 404 | 409;
22677
+ input: {
22678
+ json: {
22677
22679
  name: string;
22678
22680
  description?: string | undefined;
22679
- enabled: boolean;
22680
- kind: "github" | "schedule";
22681
+ enabled?: boolean | undefined;
22682
+ kind?: "github" | "schedule" | undefined;
22681
22683
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22682
22684
  intervalSeconds?: number | undefined;
22683
22685
  filters?: {
22684
- [x: string]: import("hono/utils/types").JSONValue;
22686
+ [x: string]: unknown;
22685
22687
  includeExisting?: boolean | undefined;
22686
22688
  requireCurrentLabels?: boolean | undefined;
22687
22689
  authors?: string[] | undefined;
@@ -22690,11 +22692,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22690
22692
  anyLabels?: string[] | undefined;
22691
22693
  excludeLabels?: string[] | undefined;
22692
22694
  changedLabels?: string[] | undefined;
22693
- lookbackDays: number;
22694
- maxRecords: number;
22695
+ lookbackDays?: number | undefined;
22696
+ maxRecords?: number | undefined;
22695
22697
  } | undefined;
22696
22698
  schedule?: {
22697
- [x: string]: import("hono/utils/types").JSONValue;
22698
22699
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22699
22700
  hour?: number | undefined;
22700
22701
  minute?: number | undefined;
@@ -22705,7 +22706,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22705
22706
  latestStartMinutes?: number | undefined;
22706
22707
  } | undefined;
22707
22708
  task: {
22708
- [x: string]: import("hono/utils/types").JSONValue;
22709
+ [x: string]: unknown;
22709
22710
  prompt: string;
22710
22711
  workflow?: string | undefined;
22711
22712
  steps?: {
@@ -22723,43 +22724,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22723
22724
  command?: string | undefined;
22724
22725
  onFail?: {
22725
22726
  retry: string;
22726
- max: number;
22727
+ max?: number | undefined;
22727
22728
  } | undefined;
22728
22729
  }[] | undefined;
22729
22730
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22730
22731
  model?: string | undefined;
22731
22732
  effort?: string | undefined;
22732
- variants?: 1 | 2 | 3 | undefined;
22733
22733
  worktree?: boolean | undefined;
22734
22734
  autonomous?: boolean | undefined;
22735
22735
  archiveWhenDone?: boolean | undefined;
22736
22736
  autoMergePr?: boolean | undefined;
22737
22737
  systemPrompt?: string | undefined;
22738
+ variants?: 1 | undefined;
22738
22739
  };
22739
- archived?: {
22740
- [x: string]: import("hono/utils/types").JSONValue;
22741
- at: string;
22742
- outcome: "cancelled" | "launched";
22743
- runId?: string | undefined;
22744
- receiptId?: string | undefined;
22745
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22746
- } | undefined;
22747
- createdAt: string;
22748
- updatedAt: string;
22740
+ expectedRevision: number;
22741
+ };
22742
+ } & {
22743
+ param: {
22744
+ id: string;
22749
22745
  };
22750
22746
  };
22751
- outputFormat: "json";
22752
- status: import("hono/utils/http-status").ContentfulStatusCode;
22753
- input: {
22754
- json: {
22747
+ } | {
22748
+ output: {
22749
+ automation: {
22750
+ [x: string]: import("hono/utils/types").JSONValue;
22751
+ id: string;
22752
+ revision: number;
22755
22753
  name: string;
22756
22754
  description?: string | undefined;
22757
- enabled?: boolean | undefined;
22758
- kind?: "github" | "schedule" | undefined;
22755
+ enabled: boolean;
22756
+ kind: "github" | "schedule";
22759
22757
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22760
22758
  intervalSeconds?: number | undefined;
22761
22759
  filters?: {
22762
- [x: string]: unknown;
22760
+ [x: string]: import("hono/utils/types").JSONValue;
22763
22761
  includeExisting?: boolean | undefined;
22764
22762
  requireCurrentLabels?: boolean | undefined;
22765
22763
  authors?: string[] | undefined;
@@ -22768,10 +22766,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22768
22766
  anyLabels?: string[] | undefined;
22769
22767
  excludeLabels?: string[] | undefined;
22770
22768
  changedLabels?: string[] | undefined;
22771
- lookbackDays?: number | undefined;
22772
- maxRecords?: number | undefined;
22769
+ lookbackDays: number;
22770
+ maxRecords: number;
22773
22771
  } | undefined;
22774
22772
  schedule?: {
22773
+ [x: string]: import("hono/utils/types").JSONValue;
22775
22774
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22776
22775
  hour?: number | undefined;
22777
22776
  minute?: number | undefined;
@@ -22782,7 +22781,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22782
22781
  latestStartMinutes?: number | undefined;
22783
22782
  } | undefined;
22784
22783
  task: {
22785
- [x: string]: unknown;
22784
+ [x: string]: import("hono/utils/types").JSONValue;
22786
22785
  prompt: string;
22787
22786
  workflow?: string | undefined;
22788
22787
  steps?: {
@@ -22800,32 +22799,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22800
22799
  command?: string | undefined;
22801
22800
  onFail?: {
22802
22801
  retry: string;
22803
- max?: number | undefined;
22802
+ max: number;
22804
22803
  } | undefined;
22805
22804
  }[] | undefined;
22806
22805
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22807
22806
  model?: string | undefined;
22808
22807
  effort?: string | undefined;
22808
+ variants?: 1 | 2 | 3 | undefined;
22809
22809
  worktree?: boolean | undefined;
22810
22810
  autonomous?: boolean | undefined;
22811
22811
  archiveWhenDone?: boolean | undefined;
22812
22812
  autoMergePr?: boolean | undefined;
22813
22813
  systemPrompt?: string | undefined;
22814
- variants?: 1 | undefined;
22815
22814
  };
22816
- expectedRevision: number;
22817
- };
22818
- } & {
22819
- param: {
22820
- id: string;
22815
+ archived?: {
22816
+ [x: string]: import("hono/utils/types").JSONValue;
22817
+ at: string;
22818
+ outcome: "cancelled" | "launched";
22819
+ runId?: string | undefined;
22820
+ receiptId?: string | undefined;
22821
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22822
+ } | undefined;
22823
+ createdAt: string;
22824
+ updatedAt: string;
22821
22825
  };
22822
22826
  };
22823
- } | {
22824
- output: {
22825
- error: string;
22826
- };
22827
22827
  outputFormat: "json";
22828
- status: 400 | 404 | 409;
22828
+ status: import("hono/utils/http-status").ContentfulStatusCode;
22829
22829
  input: {
22830
22830
  json: {
22831
22831
  name: string;
@@ -22925,6 +22925,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22925
22925
  } & {
22926
22926
  "/automations/:id/enable": {
22927
22927
  $post: {
22928
+ output: {
22929
+ error: string;
22930
+ };
22931
+ outputFormat: "json";
22932
+ status: 400 | 404 | 409;
22933
+ input: {
22934
+ param: {
22935
+ id: string;
22936
+ };
22937
+ };
22938
+ } | {
22928
22939
  output: {
22929
22940
  automation: {
22930
22941
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23011,7 +23022,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23011
23022
  id: string;
23012
23023
  };
23013
23024
  };
23014
- } | {
23025
+ };
23026
+ };
23027
+ } & {
23028
+ "/automations/:id/pause": {
23029
+ $post: {
23015
23030
  output: {
23016
23031
  error: string;
23017
23032
  };
@@ -23022,11 +23037,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23022
23037
  id: string;
23023
23038
  };
23024
23039
  };
23025
- };
23026
- };
23027
- } & {
23028
- "/automations/:id/pause": {
23029
- $post: {
23040
+ } | {
23030
23041
  output: {
23031
23042
  automation: {
23032
23043
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23113,7 +23124,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23113
23124
  id: string;
23114
23125
  };
23115
23126
  };
23116
- } | {
23127
+ };
23128
+ };
23129
+ } & {
23130
+ "/automations/:id/cancel": {
23131
+ $post: {
23117
23132
  output: {
23118
23133
  error: string;
23119
23134
  };
@@ -23124,11 +23139,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23124
23139
  id: string;
23125
23140
  };
23126
23141
  };
23127
- };
23128
- };
23129
- } & {
23130
- "/automations/:id/cancel": {
23131
- $post: {
23142
+ } | {
23132
23143
  output: {
23133
23144
  automation: {
23134
23145
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23215,27 +23226,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23215
23226
  id: string;
23216
23227
  };
23217
23228
  };
23218
- } | {
23219
- output: {
23220
- error: string;
23221
- };
23222
- outputFormat: "json";
23223
- status: 400 | 404 | 409;
23224
- input: {
23225
- param: {
23226
- id: string;
23227
- };
23228
- };
23229
23229
  };
23230
23230
  };
23231
23231
  } & {
23232
23232
  "/automations/:id/run": {
23233
23233
  $post: {
23234
23234
  output: {
23235
- runId: string;
23235
+ error: string;
23236
23236
  };
23237
23237
  outputFormat: "json";
23238
- status: 202;
23238
+ status: 400 | 404 | 409;
23239
23239
  input: {
23240
23240
  param: {
23241
23241
  id: string;
@@ -23243,10 +23243,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23243
23243
  };
23244
23244
  } | {
23245
23245
  output: {
23246
- error: string;
23246
+ runId: string;
23247
23247
  };
23248
23248
  outputFormat: "json";
23249
- status: 400 | 404 | 409;
23249
+ status: 202;
23250
23250
  input: {
23251
23251
  param: {
23252
23252
  id: string;
@@ -23258,10 +23258,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23258
23258
  "/automations/:id/check": {
23259
23259
  $post: {
23260
23260
  output: {
23261
- checkId: string;
23261
+ error: string;
23262
23262
  };
23263
23263
  outputFormat: "json";
23264
- status: 202;
23264
+ status: 404;
23265
23265
  input: {
23266
23266
  json: {
23267
23267
  mode: "execute" | "preview";
@@ -23276,7 +23276,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23276
23276
  error: string;
23277
23277
  };
23278
23278
  outputFormat: "json";
23279
- status: 404;
23279
+ status: 409;
23280
23280
  input: {
23281
23281
  json: {
23282
23282
  mode: "execute" | "preview";
@@ -23288,10 +23288,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23288
23288
  };
23289
23289
  } | {
23290
23290
  output: {
23291
- error: string;
23291
+ checkId: string;
23292
23292
  };
23293
23293
  outputFormat: "json";
23294
- status: 409;
23294
+ status: 202;
23295
23295
  input: {
23296
23296
  json: {
23297
23297
  mode: "execute" | "preview";
@@ -23365,11 +23365,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23365
23365
  "/automation-log/:receiptId/retry": {
23366
23366
  $post: {
23367
23367
  output: {
23368
- receiptId: string;
23369
- runId: string;
23368
+ error: string;
23370
23369
  };
23371
23370
  outputFormat: "json";
23372
- status: 202;
23371
+ status: 404;
23373
23372
  input: {
23374
23373
  param: {
23375
23374
  receiptId: string;
@@ -23380,7 +23379,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23380
23379
  error: string;
23381
23380
  };
23382
23381
  outputFormat: "json";
23383
- status: 404;
23382
+ status: 409;
23384
23383
  input: {
23385
23384
  param: {
23386
23385
  receiptId: string;
@@ -23388,10 +23387,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23388
23387
  };
23389
23388
  } | {
23390
23389
  output: {
23391
- error: string;
23390
+ receiptId: string;
23391
+ runId: string;
23392
23392
  };
23393
23393
  outputFormat: "json";
23394
- status: 409;
23394
+ status: 202;
23395
23395
  input: {
23396
23396
  param: {
23397
23397
  receiptId: string;
@@ -24461,18 +24461,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24461
24461
  } & {
24462
24462
  "/run-summaries": {
24463
24463
  $get: {
24464
- output: {
24465
- error: string;
24466
- code?: "invalid_input" | undefined;
24467
- };
24468
- outputFormat: "json";
24469
- status: 400;
24470
- input: {
24471
- query: {
24472
- archived?: "all" | "recent" | undefined;
24473
- };
24474
- };
24475
- } | {
24476
24464
  output: {
24477
24465
  id: string;
24478
24466
  title: string;
@@ -24597,6 +24585,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24597
24585
  archived?: "all" | "recent" | undefined;
24598
24586
  };
24599
24587
  };
24588
+ } | {
24589
+ output: {
24590
+ error: string;
24591
+ code?: "invalid_input" | undefined;
24592
+ };
24593
+ outputFormat: "json";
24594
+ status: 400;
24595
+ input: {
24596
+ query: {
24597
+ archived?: "all" | "recent" | undefined;
24598
+ };
24599
+ };
24600
24600
  };
24601
24601
  };
24602
24602
  } & {
@@ -24923,20 +24923,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24923
24923
  "/runs/:id/worker-destroy": {
24924
24924
  $post: {
24925
24925
  output: {
24926
- workerId: string;
24927
- state: "complete" | "incomplete";
24928
- deleted?: ({
24929
- kind: "worktree";
24930
- path: string;
24931
- } | {
24932
- kind: "branch";
24933
- ref: string;
24934
- })[] | undefined;
24935
- remaining: ("branch" | "process" | "worktree")[];
24936
- error?: string | undefined;
24926
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24927
+ readonly error: string;
24928
+ readonly modelChoices?: {
24929
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
24930
+ requestedModel: string;
24931
+ availableModels: {
24932
+ id: string;
24933
+ label: string;
24934
+ description: string;
24935
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24936
+ }[];
24937
+ otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
24938
+ } | undefined;
24937
24939
  };
24938
24940
  outputFormat: "json";
24939
- status: 200;
24941
+ status: 400 | 401 | 403 | 409 | 503;
24940
24942
  input: {
24941
24943
  query: {
24942
24944
  [x: string]: string | string[];
@@ -24981,7 +24983,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24981
24983
  error?: string | undefined;
24982
24984
  };
24983
24985
  outputFormat: "json";
24984
- status: 409;
24986
+ status: 200;
24985
24987
  input: {
24986
24988
  query: {
24987
24989
  [x: string]: string | string[];
@@ -24995,22 +24997,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24995
24997
  };
24996
24998
  } | {
24997
24999
  output: {
24998
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24999
- readonly error: string;
25000
- readonly modelChoices?: {
25001
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
25002
- requestedModel: string;
25003
- availableModels: {
25004
- id: string;
25005
- label: string;
25006
- description: string;
25007
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
25008
- }[];
25009
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
25010
- } | undefined;
25000
+ workerId: string;
25001
+ state: "complete" | "incomplete";
25002
+ deleted?: ({
25003
+ kind: "worktree";
25004
+ path: string;
25005
+ } | {
25006
+ kind: "branch";
25007
+ ref: string;
25008
+ })[] | undefined;
25009
+ remaining: ("branch" | "process" | "worktree")[];
25010
+ error?: string | undefined;
25011
25011
  };
25012
25012
  outputFormat: "json";
25013
- status: 400 | 401 | 403 | 409 | 503;
25013
+ status: 409;
25014
25014
  input: {
25015
25015
  query: {
25016
25016
  [x: string]: string | string[];
@@ -25060,21 +25060,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25060
25060
  } & {
25061
25061
  "/runs/:id/archive": {
25062
25062
  $post: {
25063
- output: {
25064
- error: string;
25065
- };
25066
- outputFormat: "json";
25067
- status: 404;
25068
- input: {
25069
- json: {
25070
- archived?: boolean | undefined;
25071
- };
25072
- } & {
25073
- param: {
25074
- id: string;
25075
- };
25076
- };
25077
- } | {
25078
25063
  output: {
25079
25064
  id: string;
25080
25065
  title: string;
@@ -26130,32 +26115,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26130
26115
  id: string;
26131
26116
  };
26132
26117
  };
26133
- };
26134
- };
26135
- } & {
26136
- "/runs/:id/pin": {
26137
- $post: {
26118
+ } | {
26138
26119
  output: {
26139
26120
  error: string;
26140
- code?: "invalid_input" | undefined;
26141
26121
  };
26142
26122
  outputFormat: "json";
26143
- status: 400;
26123
+ status: 404;
26144
26124
  input: {
26145
- param: {
26146
- id: string;
26125
+ json: {
26126
+ archived?: boolean | undefined;
26147
26127
  };
26148
26128
  } & {
26149
- json: {
26150
- pinned?: boolean | undefined;
26129
+ param: {
26130
+ id: string;
26151
26131
  };
26152
26132
  };
26153
- } | {
26133
+ };
26134
+ };
26135
+ } & {
26136
+ "/runs/:id/pin": {
26137
+ $post: {
26154
26138
  output: {
26155
26139
  error: string;
26140
+ code?: "invalid_input" | undefined;
26156
26141
  };
26157
26142
  outputFormat: "json";
26158
- status: 404;
26143
+ status: 400;
26159
26144
  input: {
26160
26145
  param: {
26161
26146
  id: string;
@@ -27221,49 +27206,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27221
27206
  pinned?: boolean | undefined;
27222
27207
  };
27223
27208
  };
27224
- };
27225
- };
27226
- } & {
27227
- "/runs/:id/notify": {
27228
- $post: {
27229
- output: {
27230
- error: string;
27231
- code?: "invalid_input" | undefined;
27232
- };
27233
- outputFormat: "json";
27234
- status: 400;
27235
- input: {
27236
- param: {
27237
- id: string;
27238
- };
27239
- } & {
27240
- json: {
27241
- notify: boolean;
27242
- message?: string | undefined;
27243
- };
27244
- };
27245
27209
  } | {
27246
27210
  output: {
27247
27211
  error: string;
27248
27212
  };
27249
27213
  outputFormat: "json";
27250
- status: 400;
27214
+ status: 404;
27251
27215
  input: {
27252
27216
  param: {
27253
27217
  id: string;
27254
27218
  };
27255
27219
  } & {
27256
27220
  json: {
27257
- notify: boolean;
27258
- message?: string | undefined;
27221
+ pinned?: boolean | undefined;
27259
27222
  };
27260
27223
  };
27261
- } | {
27224
+ };
27225
+ };
27226
+ } & {
27227
+ "/runs/:id/notify": {
27228
+ $post: {
27262
27229
  output: {
27263
27230
  error: string;
27231
+ code?: "invalid_input" | undefined;
27264
27232
  };
27265
27233
  outputFormat: "json";
27266
- status: 404;
27234
+ status: 400;
27267
27235
  input: {
27268
27236
  param: {
27269
27237
  id: string;
@@ -28331,11 +28299,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28331
28299
  message?: string | undefined;
28332
28300
  };
28333
28301
  };
28334
- };
28335
- };
28336
- } & {
28337
- "/runs/:id/auto-resume": {
28338
- $delete: {
28302
+ } | {
28339
28303
  output: {
28340
28304
  error: string;
28341
28305
  };
@@ -28345,23 +28309,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28345
28309
  param: {
28346
28310
  id: string;
28347
28311
  };
28312
+ } & {
28313
+ json: {
28314
+ notify: boolean;
28315
+ message?: string | undefined;
28316
+ };
28348
28317
  };
28349
28318
  } | {
28350
28319
  output: {
28351
- cancelled: true;
28320
+ error: string;
28352
28321
  };
28353
28322
  outputFormat: "json";
28354
- status: import("hono/utils/http-status").ContentfulStatusCode;
28323
+ status: 400;
28355
28324
  input: {
28356
28325
  param: {
28357
28326
  id: string;
28358
28327
  };
28328
+ } & {
28329
+ json: {
28330
+ notify: boolean;
28331
+ message?: string | undefined;
28332
+ };
28359
28333
  };
28360
28334
  };
28361
28335
  };
28362
28336
  } & {
28363
- "/runs/:id/read": {
28364
- $post: {
28337
+ "/runs/:id/auto-resume": {
28338
+ $delete: {
28365
28339
  output: {
28366
28340
  error: string;
28367
28341
  };
@@ -28373,6 +28347,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28373
28347
  };
28374
28348
  };
28375
28349
  } | {
28350
+ output: {
28351
+ cancelled: true;
28352
+ };
28353
+ outputFormat: "json";
28354
+ status: import("hono/utils/http-status").ContentfulStatusCode;
28355
+ input: {
28356
+ param: {
28357
+ id: string;
28358
+ };
28359
+ };
28360
+ };
28361
+ };
28362
+ } & {
28363
+ "/runs/:id/read": {
28364
+ $post: {
28376
28365
  output: {
28377
28366
  id: string;
28378
28367
  title: string;
@@ -29424,11 +29413,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29424
29413
  id: string;
29425
29414
  };
29426
29415
  };
29427
- };
29428
- };
29429
- } & {
29430
- "/runs/:id/unread": {
29431
- $post: {
29416
+ } | {
29432
29417
  output: {
29433
29418
  error: string;
29434
29419
  };
@@ -29439,7 +29424,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29439
29424
  id: string;
29440
29425
  };
29441
29426
  };
29442
- } | {
29427
+ };
29428
+ };
29429
+ } & {
29430
+ "/runs/:id/unread": {
29431
+ $post: {
29443
29432
  output: {
29444
29433
  id: string;
29445
29434
  title: string;
@@ -30491,6 +30480,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30491
30480
  id: string;
30492
30481
  };
30493
30482
  };
30483
+ } | {
30484
+ output: {
30485
+ error: string;
30486
+ };
30487
+ outputFormat: "json";
30488
+ status: 404;
30489
+ input: {
30490
+ param: {
30491
+ id: string;
30492
+ };
30493
+ };
30494
30494
  };
30495
30495
  };
30496
30496
  } & {
@@ -31633,17 +31633,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31633
31633
  } & {
31634
31634
  "/runs/:id": {
31635
31635
  $get: {
31636
- output: {
31637
- error: string;
31638
- };
31639
- outputFormat: "json";
31640
- status: 404;
31641
- input: {
31642
- param: {
31643
- id: string;
31644
- };
31645
- };
31646
- } | {
31647
31636
  output: {
31648
31637
  id: string;
31649
31638
  title: string;
@@ -32702,6 +32691,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32702
32691
  id: string;
32703
32692
  };
32704
32693
  };
32694
+ } | {
32695
+ output: {
32696
+ error: string;
32697
+ };
32698
+ outputFormat: "json";
32699
+ status: 404;
32700
+ input: {
32701
+ param: {
32702
+ id: string;
32703
+ };
32704
+ };
32705
32705
  };
32706
32706
  };
32707
32707
  } & {
@@ -32829,60 +32829,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32829
32829
  } & {
32830
32830
  "/runs/:id": {
32831
32831
  $patch: {
32832
- output: {
32833
- error: string;
32834
- };
32835
- outputFormat: "json";
32836
- status: 400;
32837
- input: {
32838
- json: {
32839
- title?: string | undefined;
32840
- task?: string | undefined;
32841
- archiveWhenDone?: boolean | undefined;
32842
- autoMergePr?: boolean | undefined;
32843
- };
32844
- } & {
32845
- param: {
32846
- id: string;
32847
- };
32848
- };
32849
- } | {
32850
- output: {
32851
- error: string;
32852
- };
32853
- outputFormat: "json";
32854
- status: 404;
32855
- input: {
32856
- json: {
32857
- title?: string | undefined;
32858
- task?: string | undefined;
32859
- archiveWhenDone?: boolean | undefined;
32860
- autoMergePr?: boolean | undefined;
32861
- };
32862
- } & {
32863
- param: {
32864
- id: string;
32865
- };
32866
- };
32867
- } | {
32868
- output: {
32869
- error: string;
32870
- };
32871
- outputFormat: "json";
32872
- status: 409;
32873
- input: {
32874
- json: {
32875
- title?: string | undefined;
32876
- task?: string | undefined;
32877
- archiveWhenDone?: boolean | undefined;
32878
- autoMergePr?: boolean | undefined;
32879
- };
32880
- } & {
32881
- param: {
32882
- id: string;
32883
- };
32884
- };
32885
- } | {
32886
32832
  output: {
32887
32833
  id: string;
32888
32834
  title: string;
@@ -33941,6 +33887,60 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33941
33887
  id: string;
33942
33888
  };
33943
33889
  };
33890
+ } | {
33891
+ output: {
33892
+ error: string;
33893
+ };
33894
+ outputFormat: "json";
33895
+ status: 404;
33896
+ input: {
33897
+ json: {
33898
+ title?: string | undefined;
33899
+ task?: string | undefined;
33900
+ archiveWhenDone?: boolean | undefined;
33901
+ autoMergePr?: boolean | undefined;
33902
+ };
33903
+ } & {
33904
+ param: {
33905
+ id: string;
33906
+ };
33907
+ };
33908
+ } | {
33909
+ output: {
33910
+ error: string;
33911
+ };
33912
+ outputFormat: "json";
33913
+ status: 400;
33914
+ input: {
33915
+ json: {
33916
+ title?: string | undefined;
33917
+ task?: string | undefined;
33918
+ archiveWhenDone?: boolean | undefined;
33919
+ autoMergePr?: boolean | undefined;
33920
+ };
33921
+ } & {
33922
+ param: {
33923
+ id: string;
33924
+ };
33925
+ };
33926
+ } | {
33927
+ output: {
33928
+ error: string;
33929
+ };
33930
+ outputFormat: "json";
33931
+ status: 409;
33932
+ input: {
33933
+ json: {
33934
+ title?: string | undefined;
33935
+ task?: string | undefined;
33936
+ archiveWhenDone?: boolean | undefined;
33937
+ autoMergePr?: boolean | undefined;
33938
+ };
33939
+ } & {
33940
+ param: {
33941
+ id: string;
33942
+ };
33943
+ };
33944
33944
  };
33945
33945
  };
33946
33946
  } & {
@@ -34045,7 +34045,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34045
34045
  error: string;
34046
34046
  };
34047
34047
  outputFormat: "json";
34048
- status: 400;
34048
+ status: 404;
34049
34049
  input: {
34050
34050
  json: {
34051
34051
  text?: string | undefined;
@@ -34064,7 +34064,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34064
34064
  error: string;
34065
34065
  };
34066
34066
  outputFormat: "json";
34067
- status: 404;
34067
+ status: 409;
34068
34068
  input: {
34069
34069
  json: {
34070
34070
  text?: string | undefined;
@@ -34080,10 +34080,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34080
34080
  };
34081
34081
  } | {
34082
34082
  output: {
34083
- error: string;
34083
+ delivered: true;
34084
34084
  };
34085
34085
  outputFormat: "json";
34086
- status: 409;
34086
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34087
34087
  input: {
34088
34088
  json: {
34089
34089
  text?: string | undefined;
@@ -34099,10 +34099,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34099
34099
  };
34100
34100
  } | {
34101
34101
  output: {
34102
- delivered: true;
34102
+ error: string;
34103
34103
  };
34104
34104
  outputFormat: "json";
34105
- status: import("hono/utils/http-status").ContentfulStatusCode;
34105
+ status: 400;
34106
34106
  input: {
34107
34107
  json: {
34108
34108
  text?: string | undefined;
@@ -34169,7 +34169,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34169
34169
  error: string;
34170
34170
  };
34171
34171
  outputFormat: "json";
34172
- status: 400;
34172
+ status: 404;
34173
34173
  input: {
34174
34174
  json: {
34175
34175
  text?: string | undefined;
@@ -34190,7 +34190,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34190
34190
  error: string;
34191
34191
  };
34192
34192
  outputFormat: "json";
34193
- status: 404;
34193
+ status: 400;
34194
34194
  input: {
34195
34195
  json: {
34196
34196
  text?: string | undefined;
@@ -34342,7 +34342,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34342
34342
  error: string;
34343
34343
  };
34344
34344
  outputFormat: "json";
34345
- status: 400;
34345
+ status: 404;
34346
34346
  input: {
34347
34347
  json: {
34348
34348
  text?: string | undefined;
@@ -34365,7 +34365,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34365
34365
  error: string;
34366
34366
  };
34367
34367
  outputFormat: "json";
34368
- status: 404;
34368
+ status: 400;
34369
34369
  input: {
34370
34370
  json: {
34371
34371
  text?: string | undefined;
@@ -34476,7 +34476,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34476
34476
  error: string;
34477
34477
  };
34478
34478
  outputFormat: "json";
34479
- status: 400;
34479
+ status: 404;
34480
34480
  input: {
34481
34481
  json: {
34482
34482
  target: string;
@@ -34492,7 +34492,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34492
34492
  error: string;
34493
34493
  };
34494
34494
  outputFormat: "json";
34495
- status: 404;
34495
+ status: 409;
34496
34496
  input: {
34497
34497
  json: {
34498
34498
  target: string;
@@ -34508,7 +34508,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34508
34508
  error: string;
34509
34509
  };
34510
34510
  outputFormat: "json";
34511
- status: 409;
34511
+ status: 400;
34512
34512
  input: {
34513
34513
  json: {
34514
34514
  target: string;
@@ -34565,12 +34565,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34565
34565
  } & {
34566
34566
  "/runs/:id/images/:file": {
34567
34567
  $get: {
34568
- output: {
34569
- error: string;
34570
- code?: "invalid_input" | undefined;
34571
- };
34572
- outputFormat: "json";
34573
- status: 400;
34568
+ output: {};
34569
+ outputFormat: string;
34570
+ status: import("hono/utils/http-status").StatusCode;
34574
34571
  input: {
34575
34572
  param: {
34576
34573
  id: string;
@@ -34578,9 +34575,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34578
34575
  };
34579
34576
  };
34580
34577
  } | {
34581
- output: {};
34582
- outputFormat: string;
34583
- status: import("hono/utils/http-status").StatusCode;
34578
+ output: {
34579
+ error: string;
34580
+ code?: "invalid_input" | undefined;
34581
+ };
34582
+ outputFormat: "json";
34583
+ status: 400;
34584
34584
  input: {
34585
34585
  param: {
34586
34586
  id: string;
@@ -34592,11 +34592,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34592
34592
  } & {
34593
34593
  "/runs/:id/diff": {
34594
34594
  $get: {
34595
- output: {
34596
- error: string;
34597
- };
34598
- outputFormat: "json";
34599
- status: 404;
34595
+ output: string;
34596
+ outputFormat: "text";
34597
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34600
34598
  input: {
34601
34599
  param: {
34602
34600
  id: string;
@@ -34607,16 +34605,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34607
34605
  error: string;
34608
34606
  };
34609
34607
  outputFormat: "json";
34610
- status: 409;
34608
+ status: 404;
34611
34609
  input: {
34612
34610
  param: {
34613
34611
  id: string;
34614
34612
  };
34615
34613
  };
34616
34614
  } | {
34617
- output: string;
34618
- outputFormat: "text";
34619
- status: import("hono/utils/http-status").ContentfulStatusCode;
34615
+ output: {
34616
+ error: string;
34617
+ };
34618
+ outputFormat: "json";
34619
+ status: 409;
34620
34620
  input: {
34621
34621
  param: {
34622
34622
  id: string;
@@ -34947,18 +34947,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34947
34947
  artifactId: string;
34948
34948
  };
34949
34949
  };
34950
- } | {
34951
- output: {
34952
- error: string;
34953
- };
34954
- outputFormat: "json";
34955
- status: 404;
34956
- input: {
34957
- param: {
34958
- id: string;
34959
- artifactId: string;
34960
- };
34961
- };
34962
34950
  } | {
34963
34951
  output: {
34964
34952
  type: "file";
@@ -34987,6 +34975,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34987
34975
  artifactId: string;
34988
34976
  };
34989
34977
  };
34978
+ } | {
34979
+ output: {
34980
+ error: string;
34981
+ };
34982
+ outputFormat: "json";
34983
+ status: 404;
34984
+ input: {
34985
+ param: {
34986
+ id: string;
34987
+ artifactId: string;
34988
+ };
34989
+ };
34990
34990
  };
34991
34991
  };
34992
34992
  } & {
@@ -35333,11 +35333,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35333
35333
  "/runs/:id/pr": {
35334
35334
  $post: {
35335
35335
  output: {
35336
- url: string;
35337
- dryRun: boolean;
35336
+ error: string;
35338
35337
  };
35339
35338
  outputFormat: "json";
35340
- status: 201;
35339
+ status: 404;
35341
35340
  input: {
35342
35341
  param: {
35343
35342
  id: string;
@@ -35348,7 +35347,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35348
35347
  error: string;
35349
35348
  };
35350
35349
  outputFormat: "json";
35351
- status: 400;
35350
+ status: 409;
35352
35351
  input: {
35353
35352
  param: {
35354
35353
  id: string;
@@ -35359,7 +35358,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35359
35358
  error: string;
35360
35359
  };
35361
35360
  outputFormat: "json";
35362
- status: 404;
35361
+ status: 400;
35363
35362
  input: {
35364
35363
  param: {
35365
35364
  id: string;
@@ -35367,10 +35366,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35367
35366
  };
35368
35367
  } | {
35369
35368
  output: {
35370
- error: string;
35369
+ url: string;
35370
+ dryRun: boolean;
35371
35371
  };
35372
35372
  outputFormat: "json";
35373
- status: 409;
35373
+ status: 201;
35374
35374
  input: {
35375
35375
  param: {
35376
35376
  id: string;
@@ -35422,7 +35422,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35422
35422
  error: string;
35423
35423
  };
35424
35424
  outputFormat: "json";
35425
- status: 404;
35425
+ status: 409;
35426
35426
  input: {
35427
35427
  param: {
35428
35428
  id: string;
@@ -35433,7 +35433,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35433
35433
  error: string;
35434
35434
  };
35435
35435
  outputFormat: "json";
35436
- status: 409;
35436
+ status: 404;
35437
35437
  input: {
35438
35438
  param: {
35439
35439
  id: string;