@wjarka/cezarion 0.17.0-dev.5527 → 0.17.0-dev.5528

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.
@@ -182,29 +182,6 @@ export declare class WorkspaceEventBus {
182
182
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
183
183
  "/workspace/activity": {
184
184
  $get: {
185
- output: {
186
- error: string;
187
- code?: "invalid_input" | undefined;
188
- };
189
- outputFormat: "json";
190
- status: 400;
191
- input: {
192
- query: {
193
- project?: string | undefined;
194
- };
195
- };
196
- } | {
197
- output: {
198
- error: string;
199
- };
200
- outputFormat: "json";
201
- status: 404 | 409 | 503;
202
- input: {
203
- query: {
204
- project?: string | undefined;
205
- };
206
- };
207
- } | {
208
185
  output: {
209
186
  generatedAt: string;
210
187
  projects: {
@@ -435,6 +412,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
435
412
  project?: string | undefined;
436
413
  };
437
414
  };
415
+ } | {
416
+ output: {
417
+ error: string;
418
+ code?: "invalid_input" | undefined;
419
+ };
420
+ outputFormat: "json";
421
+ status: 400;
422
+ input: {
423
+ query: {
424
+ project?: string | undefined;
425
+ };
426
+ };
427
+ } | {
428
+ output: {
429
+ error: string;
430
+ };
431
+ outputFormat: "json";
432
+ status: 404 | 409 | 503;
433
+ input: {
434
+ query: {
435
+ project?: string | undefined;
436
+ };
437
+ };
438
438
  };
439
439
  };
440
440
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -555,10 +555,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
555
555
  };
556
556
  } | {
557
557
  output: {
558
- error: string;
558
+ path: string;
559
+ parent: string | null;
560
+ dirs: {
561
+ name: string;
562
+ path: string;
563
+ isRepo: boolean;
564
+ }[];
565
+ truncated: boolean;
559
566
  };
560
567
  outputFormat: "json";
561
- status: 400 | 403 | 404;
568
+ status: import("hono/utils/http-status").ContentfulStatusCode;
562
569
  input: {
563
570
  query: {
564
571
  path?: string | undefined;
@@ -567,17 +574,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
567
574
  };
568
575
  } | {
569
576
  output: {
570
- path: string;
571
- parent: string | null;
572
- dirs: {
573
- name: string;
574
- path: string;
575
- isRepo: boolean;
576
- }[];
577
- truncated: boolean;
577
+ error: string;
578
578
  };
579
579
  outputFormat: "json";
580
- status: import("hono/utils/http-status").ContentfulStatusCode;
580
+ status: 400 | 403 | 404;
581
581
  input: {
582
582
  query: {
583
583
  path?: string | undefined;
@@ -589,6 +589,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
589
589
  }, "/"> | import("hono/types").MergeSchemaPath<{
590
590
  "/automation-checks/:checkId": {
591
591
  $get: {
592
+ output: {
593
+ error: string;
594
+ };
595
+ outputFormat: "json";
596
+ status: 404;
597
+ input: {
598
+ param: {
599
+ checkId: string;
600
+ };
601
+ };
602
+ } | {
592
603
  output: {
593
604
  id: string;
594
605
  automationId: string;
@@ -607,31 +618,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
607
618
  checkId: string;
608
619
  };
609
620
  };
610
- } | {
611
- output: {
612
- error: string;
613
- };
614
- outputFormat: "json";
615
- status: 404;
616
- input: {
617
- param: {
618
- checkId: string;
619
- };
620
- };
621
621
  };
622
622
  };
623
623
  }, "/"> | import("hono/types").MergeSchemaPath<{
624
624
  "/workspace/events": {
625
625
  $get: {
626
- output: {};
627
- outputFormat: string;
628
- status: import("hono/utils/http-status").StatusCode;
629
- input: {
630
- query: {
631
- runs?: "summary" | undefined;
632
- };
633
- };
634
- } | {
635
626
  output: {
636
627
  error: string;
637
628
  code?: "invalid_input" | undefined;
@@ -643,6 +634,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
643
634
  runs?: "summary" | undefined;
644
635
  };
645
636
  };
637
+ } | {
638
+ output: {};
639
+ outputFormat: string;
640
+ status: import("hono/utils/http-status").StatusCode;
641
+ input: {
642
+ query: {
643
+ runs?: "summary" | undefined;
644
+ };
645
+ };
646
646
  };
647
647
  };
648
648
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1042,17 +1042,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1042
1042
  };
1043
1043
  } | {
1044
1044
  output: {
1045
- providers: {
1046
- provider: ProviderId;
1047
- status: import("../core/provider-auth.ts").ProviderConnectionState;
1048
- enabled?: boolean;
1049
- hint?: string;
1050
- authFailureId?: string;
1051
- profileId?: string;
1052
- }[];
1045
+ error: string;
1053
1046
  };
1054
1047
  outputFormat: "json";
1055
- status: import("hono/utils/http-status").ContentfulStatusCode;
1048
+ status: 500;
1056
1049
  input: {
1057
1050
  param: {
1058
1051
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1064,10 +1057,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1064
1057
  };
1065
1058
  } | {
1066
1059
  output: {
1067
- error: string;
1060
+ providers: {
1061
+ provider: ProviderId;
1062
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
1063
+ enabled?: boolean;
1064
+ hint?: string;
1065
+ authFailureId?: string;
1066
+ profileId?: string;
1067
+ }[];
1068
1068
  };
1069
1069
  outputFormat: "json";
1070
- status: 500;
1070
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1071
1071
  input: {
1072
1072
  param: {
1073
1073
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1099,17 +1099,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1099
1099
  };
1100
1100
  } | {
1101
1101
  output: {
1102
- providers: {
1103
- provider: ProviderId;
1104
- status: import("../core/provider-auth.ts").ProviderConnectionState;
1105
- enabled?: boolean;
1106
- hint?: string;
1107
- authFailureId?: string;
1108
- profileId?: string;
1109
- }[];
1102
+ error: string;
1110
1103
  };
1111
1104
  outputFormat: "json";
1112
- status: import("hono/utils/http-status").ContentfulStatusCode;
1105
+ status: 409;
1113
1106
  input: {
1114
1107
  param: {
1115
1108
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1121,10 +1114,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1121
1114
  };
1122
1115
  } | {
1123
1116
  output: {
1124
- error: string;
1117
+ providers: {
1118
+ provider: ProviderId;
1119
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
1120
+ enabled?: boolean;
1121
+ hint?: string;
1122
+ authFailureId?: string;
1123
+ profileId?: string;
1124
+ }[];
1125
1125
  };
1126
1126
  outputFormat: "json";
1127
- status: 409;
1127
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1128
1128
  input: {
1129
1129
  param: {
1130
1130
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1143,7 +1143,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1143
1143
  error: string;
1144
1144
  };
1145
1145
  outputFormat: "json";
1146
- status: 409;
1146
+ status: 400;
1147
1147
  input: {
1148
1148
  json: {
1149
1149
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1155,7 +1155,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1155
1155
  error: string;
1156
1156
  };
1157
1157
  outputFormat: "json";
1158
- status: 400;
1158
+ status: 409;
1159
1159
  input: {
1160
1160
  json: {
1161
1161
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1247,39 +1247,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1247
1247
  "/workspace/config": {
1248
1248
  $put: {
1249
1249
  output: {
1250
- browseRoot: string;
1251
- projectsDir: string;
1252
- archiveOnMerge: boolean | null;
1253
- effectiveArchiveOnMerge: boolean;
1254
- archiveOnMergeSource: "default" | "environment" | "global";
1255
- composerDefaults: {
1256
- autonomous: boolean | null;
1257
- worktree: boolean | null;
1258
- inheritedAutonomous: "source-dependent" | boolean;
1259
- inheritedWorktree: boolean;
1260
- };
1261
- resources: {
1262
- maxParallel: number;
1263
- maxMonitoringSessions: number;
1264
- monitoringWakeIntervalMinutes: number | null;
1265
- autoResumeOnUsageLimit: boolean;
1266
- memoryLimitMb: number | null;
1267
- worktreeRetentionDefault: number;
1268
- };
1269
- agentDefaults: {
1270
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1271
- models?: {
1272
- claude?: string | undefined;
1273
- codex?: string | undefined;
1274
- opencode?: string | undefined;
1275
- pi?: string | undefined;
1276
- cursor?: string | undefined;
1277
- omp?: string | undefined;
1278
- } | undefined;
1279
- };
1250
+ error: string;
1280
1251
  };
1281
1252
  outputFormat: "json";
1282
- status: import("hono/utils/http-status").ContentfulStatusCode;
1253
+ status: 400;
1283
1254
  input: {
1284
1255
  json: {
1285
1256
  browseRoot?: string | undefined;
@@ -1315,7 +1286,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1315
1286
  error: string;
1316
1287
  };
1317
1288
  outputFormat: "json";
1318
- status: 400;
1289
+ status: 500;
1319
1290
  input: {
1320
1291
  json: {
1321
1292
  browseRoot?: string | undefined;
@@ -1348,10 +1319,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1348
1319
  };
1349
1320
  } | {
1350
1321
  output: {
1351
- error: string;
1322
+ browseRoot: string;
1323
+ projectsDir: string;
1324
+ archiveOnMerge: boolean | null;
1325
+ effectiveArchiveOnMerge: boolean;
1326
+ archiveOnMergeSource: "default" | "environment" | "global";
1327
+ composerDefaults: {
1328
+ autonomous: boolean | null;
1329
+ worktree: boolean | null;
1330
+ inheritedAutonomous: "source-dependent" | boolean;
1331
+ inheritedWorktree: boolean;
1332
+ };
1333
+ resources: {
1334
+ maxParallel: number;
1335
+ maxMonitoringSessions: number;
1336
+ monitoringWakeIntervalMinutes: number | null;
1337
+ autoResumeOnUsageLimit: boolean;
1338
+ memoryLimitMb: number | null;
1339
+ worktreeRetentionDefault: number;
1340
+ };
1341
+ agentDefaults: {
1342
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1343
+ models?: {
1344
+ claude?: string | undefined;
1345
+ codex?: string | undefined;
1346
+ opencode?: string | undefined;
1347
+ pi?: string | undefined;
1348
+ cursor?: string | undefined;
1349
+ omp?: string | undefined;
1350
+ } | undefined;
1351
+ };
1352
1352
  };
1353
1353
  outputFormat: "json";
1354
- status: 500;
1354
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1355
1355
  input: {
1356
1356
  json: {
1357
1357
  browseRoot?: string | undefined;
@@ -1435,46 +1435,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1435
1435
  "/workspace/ui-state": {
1436
1436
  $put: {
1437
1437
  output: {
1438
- [x: string]: import("hono/utils/types").JSONValue;
1439
- sidebar?: {
1440
- [x: string]: import("hono/utils/types").JSONValue;
1441
- collapsed?: {
1442
- [x: string]: boolean;
1443
- } | undefined;
1444
- projectOrder?: string[] | undefined;
1445
- } | undefined;
1446
- dismissedProviderAuthFailures?: {
1447
- claude?: string | undefined;
1448
- codex?: string | undefined;
1449
- opencode?: string | undefined;
1450
- pi?: string | undefined;
1451
- cursor?: string | undefined;
1452
- omp?: string | undefined;
1453
- } | undefined;
1454
- appearance?: {
1455
- accent?: "cezarion" | "lime" | "violet" | undefined;
1456
- density?: "comfortable" | "compact" | "ultra" | undefined;
1457
- width?: "narrow" | "wide" | undefined;
1458
- } | undefined;
1459
- notifications?: {
1460
- [x: string]: import("hono/utils/types").JSONValue;
1461
- enabled?: boolean | undefined;
1462
- } | undefined;
1463
- taskTable?: {
1464
- [x: string]: import("hono/utils/types").JSONValue;
1465
- expandedColumns?: {
1466
- [x: string]: boolean;
1467
- } | undefined;
1468
- } | undefined;
1469
- lastLocation?: {
1470
- projectId: string;
1471
- pathname: string;
1472
- search?: string | undefined;
1473
- hash?: string | undefined;
1474
- } | undefined;
1438
+ error: string;
1475
1439
  };
1476
1440
  outputFormat: "json";
1477
- status: import("hono/utils/http-status").ContentfulStatusCode;
1441
+ status: 500;
1478
1442
  input: {
1479
1443
  json: {
1480
1444
  [x: string]: unknown;
@@ -1514,10 +1478,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1514
1478
  };
1515
1479
  } | {
1516
1480
  output: {
1517
- error: string;
1481
+ [x: string]: import("hono/utils/types").JSONValue;
1482
+ sidebar?: {
1483
+ [x: string]: import("hono/utils/types").JSONValue;
1484
+ collapsed?: {
1485
+ [x: string]: boolean;
1486
+ } | undefined;
1487
+ projectOrder?: string[] | undefined;
1488
+ } | undefined;
1489
+ dismissedProviderAuthFailures?: {
1490
+ claude?: string | undefined;
1491
+ codex?: string | undefined;
1492
+ opencode?: string | undefined;
1493
+ pi?: string | undefined;
1494
+ cursor?: string | undefined;
1495
+ omp?: string | undefined;
1496
+ } | undefined;
1497
+ appearance?: {
1498
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1499
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1500
+ width?: "narrow" | "wide" | undefined;
1501
+ } | undefined;
1502
+ notifications?: {
1503
+ [x: string]: import("hono/utils/types").JSONValue;
1504
+ enabled?: boolean | undefined;
1505
+ } | undefined;
1506
+ taskTable?: {
1507
+ [x: string]: import("hono/utils/types").JSONValue;
1508
+ expandedColumns?: {
1509
+ [x: string]: boolean;
1510
+ } | undefined;
1511
+ } | undefined;
1512
+ lastLocation?: {
1513
+ projectId: string;
1514
+ pathname: string;
1515
+ search?: string | undefined;
1516
+ hash?: string | undefined;
1517
+ } | undefined;
1518
1518
  };
1519
1519
  outputFormat: "json";
1520
- status: 500;
1520
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1521
1521
  input: {
1522
1522
  json: {
1523
1523
  [x: string]: unknown;
@@ -1718,6 +1718,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1718
1718
  } & {
1719
1719
  "/workspace/self-update/channel": {
1720
1720
  $put: {
1721
+ output: {
1722
+ error: string;
1723
+ };
1724
+ outputFormat: "json";
1725
+ status: 500;
1726
+ input: {
1727
+ json: {
1728
+ channel: "development" | "nightly" | "stable";
1729
+ };
1730
+ };
1731
+ } | {
1721
1732
  output: {
1722
1733
  version: string;
1723
1734
  installKind: "checkout" | "global-npm" | "managed" | "npx" | "unknown";
@@ -1764,22 +1775,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1764
1775
  channel: "development" | "nightly" | "stable";
1765
1776
  };
1766
1777
  };
1767
- } | {
1778
+ };
1779
+ };
1780
+ } & {
1781
+ "/workspace/self-update/apply": {
1782
+ $post: {
1768
1783
  output: {
1769
1784
  error: string;
1770
1785
  };
1771
1786
  outputFormat: "json";
1772
- status: 500;
1787
+ status: 409;
1773
1788
  input: {
1774
1789
  json: {
1775
- channel: "development" | "nightly" | "stable";
1790
+ version: string;
1776
1791
  };
1777
1792
  };
1778
- };
1779
- };
1780
- } & {
1781
- "/workspace/self-update/apply": {
1782
- $post: {
1793
+ } | {
1783
1794
  output: {
1784
1795
  version: string;
1785
1796
  installKind: "checkout" | "global-npm" | "managed" | "npx" | "unknown";
@@ -1826,17 +1837,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1826
1837
  version: string;
1827
1838
  };
1828
1839
  };
1829
- } | {
1830
- output: {
1831
- error: string;
1832
- };
1833
- outputFormat: "json";
1834
- status: 409;
1835
- input: {
1836
- json: {
1837
- version: string;
1838
- };
1839
- };
1840
1840
  };
1841
1841
  };
1842
1842
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1913,45 +1913,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1913
1913
  } & {
1914
1914
  "/workspace/agent-profiles": {
1915
1915
  $post: {
1916
- output: {
1917
- error: string;
1918
- };
1919
- outputFormat: "json";
1920
- status: 409;
1921
- input: {
1922
- json: {
1923
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1924
- label?: string | undefined;
1925
- configDir: string;
1926
- };
1927
- };
1928
- } | {
1929
- output: {
1930
- error: string;
1931
- };
1932
- outputFormat: "json";
1933
- status: 400;
1934
- input: {
1935
- json: {
1936
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1937
- label?: string | undefined;
1938
- configDir: string;
1939
- };
1940
- };
1941
- } | {
1942
- output: {
1943
- error: string;
1944
- };
1945
- outputFormat: "json";
1946
- status: 500;
1947
- input: {
1948
- json: {
1949
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1950
- label?: string | undefined;
1951
- configDir: string;
1952
- };
1953
- };
1954
- } | {
1955
1916
  output: {
1956
1917
  profile: {
1957
1918
  exists: boolean;
@@ -2002,6 +1963,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2002
1963
  configDir: string;
2003
1964
  };
2004
1965
  };
1966
+ } | {
1967
+ output: {
1968
+ error: string;
1969
+ };
1970
+ outputFormat: "json";
1971
+ status: 400;
1972
+ input: {
1973
+ json: {
1974
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1975
+ label?: string | undefined;
1976
+ configDir: string;
1977
+ };
1978
+ };
1979
+ } | {
1980
+ output: {
1981
+ error: string;
1982
+ };
1983
+ outputFormat: "json";
1984
+ status: 409;
1985
+ input: {
1986
+ json: {
1987
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1988
+ label?: string | undefined;
1989
+ configDir: string;
1990
+ };
1991
+ };
1992
+ } | {
1993
+ output: {
1994
+ error: string;
1995
+ };
1996
+ outputFormat: "json";
1997
+ status: 500;
1998
+ input: {
1999
+ json: {
2000
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
2001
+ label?: string | undefined;
2002
+ configDir: string;
2003
+ };
2004
+ };
2005
2005
  };
2006
2006
  };
2007
2007
  } & {
@@ -2028,7 +2028,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2028
2028
  error: string;
2029
2029
  };
2030
2030
  outputFormat: "json";
2031
- status: 409;
2031
+ status: 400;
2032
2032
  input: {
2033
2033
  param: {
2034
2034
  id: string;
@@ -2044,7 +2044,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2044
2044
  error: string;
2045
2045
  };
2046
2046
  outputFormat: "json";
2047
- status: 400;
2047
+ status: 404;
2048
2048
  input: {
2049
2049
  param: {
2050
2050
  id: string;
@@ -2060,7 +2060,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2060
2060
  error: string;
2061
2061
  };
2062
2062
  outputFormat: "json";
2063
- status: 404;
2063
+ status: 409;
2064
2064
  input: {
2065
2065
  param: {
2066
2066
  id: string;
@@ -2166,7 +2166,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2166
2166
  error: string;
2167
2167
  };
2168
2168
  outputFormat: "json";
2169
- status: 409;
2169
+ status: 404;
2170
2170
  input: {
2171
2171
  param: {
2172
2172
  id: string;
@@ -2181,7 +2181,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2181
2181
  error: string;
2182
2182
  };
2183
2183
  outputFormat: "json";
2184
- status: 404;
2184
+ status: 409;
2185
2185
  input: {
2186
2186
  param: {
2187
2187
  id: string;
@@ -2254,7 +2254,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2254
2254
  error: string;
2255
2255
  };
2256
2256
  outputFormat: "json";
2257
- status: 409;
2257
+ status: 404;
2258
2258
  input: {
2259
2259
  param: {
2260
2260
  id: string;
@@ -2265,7 +2265,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2265
2265
  error: string;
2266
2266
  };
2267
2267
  outputFormat: "json";
2268
- status: 404;
2268
+ status: 409;
2269
2269
  input: {
2270
2270
  param: {
2271
2271
  id: string;
@@ -2313,7 +2313,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2313
2313
  error: string;
2314
2314
  };
2315
2315
  outputFormat: "json";
2316
- status: 409;
2316
+ status: 400;
2317
2317
  input: {
2318
2318
  param: {
2319
2319
  id: string;
@@ -2345,7 +2345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2345
2345
  error: string;
2346
2346
  };
2347
2347
  outputFormat: "json";
2348
- status: 400;
2348
+ status: 409;
2349
2349
  input: {
2350
2350
  param: {
2351
2351
  id: string;
@@ -2382,7 +2382,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2382
2382
  error: string;
2383
2383
  };
2384
2384
  outputFormat: "json";
2385
- status: 409;
2385
+ status: 400;
2386
2386
  input: {
2387
2387
  json: {
2388
2388
  projectId: string | null;
@@ -2408,7 +2408,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2408
2408
  error: string;
2409
2409
  };
2410
2410
  outputFormat: "json";
2411
- status: 400;
2411
+ status: 409;
2412
2412
  input: {
2413
2413
  json: {
2414
2414
  projectId: string | null;
@@ -2482,7 +2482,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2482
2482
  error: string;
2483
2483
  };
2484
2484
  outputFormat: "json";
2485
- status: 409;
2485
+ status: 404;
2486
2486
  input: {
2487
2487
  param: {
2488
2488
  id: string;
@@ -2493,7 +2493,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2493
2493
  error: string;
2494
2494
  };
2495
2495
  outputFormat: "json";
2496
- status: 500;
2496
+ status: 409;
2497
2497
  input: {
2498
2498
  param: {
2499
2499
  id: string;
@@ -2504,7 +2504,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2504
2504
  error: string;
2505
2505
  };
2506
2506
  outputFormat: "json";
2507
- status: 404;
2507
+ status: 500;
2508
2508
  input: {
2509
2509
  param: {
2510
2510
  id: string;
@@ -2658,7 +2658,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2658
2658
  error: string;
2659
2659
  };
2660
2660
  outputFormat: "json";
2661
- status: 409;
2661
+ status: 404;
2662
2662
  input: {
2663
2663
  param: {
2664
2664
  projectId: string;
@@ -2669,7 +2669,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2669
2669
  error: string;
2670
2670
  };
2671
2671
  outputFormat: "json";
2672
- status: 404;
2672
+ status: 409;
2673
2673
  input: {
2674
2674
  param: {
2675
2675
  projectId: string;
@@ -2707,7 +2707,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2707
2707
  error: string;
2708
2708
  };
2709
2709
  outputFormat: "json";
2710
- status: 409;
2710
+ status: 404;
2711
2711
  input: {
2712
2712
  json: {
2713
2713
  maxParallel?: number | null | undefined;
@@ -2728,7 +2728,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2728
2728
  error: string;
2729
2729
  };
2730
2730
  outputFormat: "json";
2731
- status: 404;
2731
+ status: 409;
2732
2732
  input: {
2733
2733
  json: {
2734
2734
  maxParallel?: number | null | undefined;
@@ -2823,7 +2823,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2823
2823
  error: string;
2824
2824
  };
2825
2825
  outputFormat: "json";
2826
- status: 409;
2826
+ status: 400;
2827
2827
  input: {
2828
2828
  param: {
2829
2829
  projectId: string;
@@ -2845,7 +2845,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2845
2845
  error: string;
2846
2846
  };
2847
2847
  outputFormat: "json";
2848
- status: 400;
2848
+ status: 409;
2849
2849
  input: {
2850
2850
  param: {
2851
2851
  projectId: string;
@@ -2870,27 +2870,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2870
2870
  } & {
2871
2871
  "/projects/:projectId/webhooks": {
2872
2872
  $post: {
2873
- output: {
2874
- error: string;
2875
- };
2876
- outputFormat: "json";
2877
- status: 400 | 404 | 409 | 500;
2878
- input: {
2879
- json: {
2880
- name: string;
2881
- description?: string | undefined;
2882
- url: string;
2883
- token?: string | undefined;
2884
- tasks?: boolean | undefined;
2885
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2886
- agent?: boolean | undefined;
2887
- };
2888
- } & {
2889
- param: {
2890
- projectId: string;
2891
- };
2892
- };
2893
- } | {
2894
2873
  output: {
2895
2874
  project: {
2896
2875
  id: string;
@@ -2949,6 +2928,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2949
2928
  projectId: string;
2950
2929
  };
2951
2930
  };
2931
+ } | {
2932
+ output: {
2933
+ error: string;
2934
+ };
2935
+ outputFormat: "json";
2936
+ status: 400 | 404 | 409 | 500;
2937
+ input: {
2938
+ json: {
2939
+ name: string;
2940
+ description?: string | undefined;
2941
+ url: string;
2942
+ token?: string | undefined;
2943
+ tasks?: boolean | undefined;
2944
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2945
+ agent?: boolean | undefined;
2946
+ };
2947
+ } & {
2948
+ param: {
2949
+ projectId: string;
2950
+ };
2951
+ };
2952
2952
  };
2953
2953
  };
2954
2954
  } & {
@@ -3149,7 +3149,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3149
3149
  error: string;
3150
3150
  };
3151
3151
  outputFormat: "json";
3152
- status: 409;
3152
+ status: 404;
3153
3153
  input: {
3154
3154
  param: {
3155
3155
  projectId: string;
@@ -3158,13 +3158,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3158
3158
  };
3159
3159
  } | {
3160
3160
  output: {
3161
- ok: boolean;
3162
- status?: number | undefined;
3163
- error?: string | undefined;
3164
- dryRun?: boolean | undefined;
3161
+ error: string;
3165
3162
  };
3166
3163
  outputFormat: "json";
3167
- status: import("hono/utils/http-status").ContentfulStatusCode;
3164
+ status: 409;
3168
3165
  input: {
3169
3166
  param: {
3170
3167
  projectId: string;
@@ -3173,10 +3170,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3173
3170
  };
3174
3171
  } | {
3175
3172
  output: {
3176
- error: string;
3173
+ ok: boolean;
3174
+ status?: number | undefined;
3175
+ error?: string | undefined;
3176
+ dryRun?: boolean | undefined;
3177
3177
  };
3178
3178
  outputFormat: "json";
3179
- status: 404;
3179
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3180
3180
  input: {
3181
3181
  param: {
3182
3182
  projectId: string;
@@ -3844,7 +3844,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3844
3844
  error: string;
3845
3845
  };
3846
3846
  outputFormat: "json";
3847
- status: 409;
3847
+ status: 400;
3848
3848
  input: {
3849
3849
  json: {
3850
3850
  target: string;
@@ -3855,7 +3855,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3855
3855
  error: string;
3856
3856
  };
3857
3857
  outputFormat: "json";
3858
- status: 400;
3858
+ status: 409;
3859
3859
  input: {
3860
3860
  json: {
3861
3861
  target: string;
@@ -3878,9 +3878,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3878
3878
  }, "/"> | import("hono/types").MergeSchemaPath<{
3879
3879
  "/runs/:id/events": {
3880
3880
  $get: {
3881
- output: {};
3882
- outputFormat: string;
3883
- status: import("hono/utils/http-status").StatusCode;
3881
+ output: {
3882
+ error: string;
3883
+ code?: "invalid_input" | undefined;
3884
+ };
3885
+ outputFormat: "json";
3886
+ status: 400;
3884
3887
  input: {
3885
3888
  param: {
3886
3889
  id: string;
@@ -3892,12 +3895,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3892
3895
  };
3893
3896
  };
3894
3897
  } | {
3895
- output: {
3896
- error: string;
3897
- code?: "invalid_input" | undefined;
3898
- };
3899
- outputFormat: "json";
3900
- status: 400;
3898
+ output: {};
3899
+ outputFormat: string;
3900
+ status: import("hono/utils/http-status").StatusCode;
3901
3901
  input: {
3902
3902
  param: {
3903
3903
  id: string;
@@ -3958,34 +3958,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3958
3958
  "/config": {
3959
3959
  $put: {
3960
3960
  output: {
3961
- archiveOnMerge: boolean | null;
3962
- effectiveArchiveOnMerge: boolean;
3963
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3964
- baseBranch: string | null;
3965
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3966
- systemPrompt: string | null;
3967
- defaultModels: {
3968
- claude?: string | undefined;
3969
- codex?: string | undefined;
3970
- opencode?: string | undefined;
3971
- pi?: string | undefined;
3972
- cursor?: string | undefined;
3973
- omp?: string | undefined;
3974
- };
3975
- modelsLocked: boolean;
3976
- maxParallel: number;
3977
- memoryLimitMb: number | null;
3978
- worktreeRetention: number;
3979
- liveTitleUpdates: boolean | null;
3980
- reviewGate: boolean | null;
3981
- worktreeSetup: {
3982
- commands: string[];
3983
- timeoutSeconds: number;
3984
- } | null;
3985
- worktreeSetupIssue: string | null;
3961
+ error: string;
3986
3962
  };
3987
3963
  outputFormat: "json";
3988
- status: import("hono/utils/http-status").ContentfulStatusCode;
3964
+ status: 409;
3989
3965
  input: {
3990
3966
  json: {
3991
3967
  archiveOnMerge?: boolean | null | undefined;
@@ -4016,7 +3992,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4016
3992
  error: string;
4017
3993
  };
4018
3994
  outputFormat: "json";
4019
- status: 409;
3995
+ status: 500;
4020
3996
  input: {
4021
3997
  json: {
4022
3998
  archiveOnMerge?: boolean | null | undefined;
@@ -4044,10 +4020,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4044
4020
  };
4045
4021
  } | {
4046
4022
  output: {
4047
- error: string;
4023
+ archiveOnMerge: boolean | null;
4024
+ effectiveArchiveOnMerge: boolean;
4025
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
4026
+ baseBranch: string | null;
4027
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
4028
+ systemPrompt: string | null;
4029
+ defaultModels: {
4030
+ claude?: string | undefined;
4031
+ codex?: string | undefined;
4032
+ opencode?: string | undefined;
4033
+ pi?: string | undefined;
4034
+ cursor?: string | undefined;
4035
+ omp?: string | undefined;
4036
+ };
4037
+ modelsLocked: boolean;
4038
+ maxParallel: number;
4039
+ memoryLimitMb: number | null;
4040
+ worktreeRetention: number;
4041
+ liveTitleUpdates: boolean | null;
4042
+ reviewGate: boolean | null;
4043
+ worktreeSetup: {
4044
+ commands: string[];
4045
+ timeoutSeconds: number;
4046
+ } | null;
4047
+ worktreeSetupIssue: string | null;
4048
4048
  };
4049
4049
  outputFormat: "json";
4050
- status: 500;
4050
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4051
4051
  input: {
4052
4052
  json: {
4053
4053
  archiveOnMerge?: boolean | null | undefined;
@@ -4078,25 +4078,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4078
4078
  }, "/"> | import("hono/types").MergeSchemaPath<{
4079
4079
  "/voice/decide": {
4080
4080
  $post: {
4081
- output: {
4082
- error: string;
4083
- };
4084
- outputFormat: "json";
4085
- status: 503;
4086
- input: {
4087
- json: {
4088
- text: string;
4089
- sidebarView: "active" | "automations";
4090
- openRunId?: string | undefined;
4091
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
4092
- askRequestId?: string | null | undefined;
4093
- proposal?: {
4094
- decisionId: string;
4095
- action: "answer" | "tell";
4096
- } | undefined;
4097
- };
4098
- };
4099
- } | {
4100
4081
  output: {
4101
4082
  action: "open";
4102
4083
  decisionId: string;
@@ -4154,6 +4135,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4154
4135
  } | undefined;
4155
4136
  };
4156
4137
  };
4138
+ } | {
4139
+ output: {
4140
+ error: string;
4141
+ };
4142
+ outputFormat: "json";
4143
+ status: 503;
4144
+ input: {
4145
+ json: {
4146
+ text: string;
4147
+ sidebarView: "active" | "automations";
4148
+ openRunId?: string | undefined;
4149
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
4150
+ askRequestId?: string | null | undefined;
4151
+ proposal?: {
4152
+ decisionId: string;
4153
+ action: "answer" | "tell";
4154
+ } | undefined;
4155
+ };
4156
+ };
4157
4157
  };
4158
4158
  };
4159
4159
  } & {
@@ -4296,7 +4296,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4296
4296
  error: string;
4297
4297
  };
4298
4298
  outputFormat: "json";
4299
- status: 409;
4299
+ status: 400;
4300
4300
  input: {
4301
4301
  query: {
4302
4302
  q?: string | undefined;
@@ -4309,7 +4309,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4309
4309
  error: string;
4310
4310
  };
4311
4311
  outputFormat: "json";
4312
- status: 400;
4312
+ status: 409;
4313
4313
  input: {
4314
4314
  query: {
4315
4315
  q?: string | undefined;
@@ -4346,6 +4346,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4346
4346
  }, "/"> | import("hono/types").MergeSchemaPath<{
4347
4347
  "/skills": {
4348
4348
  $get: {
4349
+ output: {
4350
+ error: string;
4351
+ code?: "invalid_input" | undefined;
4352
+ };
4353
+ outputFormat: "json";
4354
+ status: 400;
4355
+ input: {
4356
+ query: {
4357
+ wait?: string | undefined;
4358
+ };
4359
+ };
4360
+ } | {
4349
4361
  output: {
4350
4362
  name: string;
4351
4363
  description?: string | undefined;
@@ -4368,7 +4380,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4368
4380
  wait?: string | undefined;
4369
4381
  };
4370
4382
  };
4371
- } | {
4383
+ };
4384
+ };
4385
+ } & {
4386
+ "/skills/importable": {
4387
+ $get: {
4372
4388
  output: {
4373
4389
  error: string;
4374
4390
  code?: "invalid_input" | undefined;
@@ -4380,11 +4396,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4380
4396
  wait?: string | undefined;
4381
4397
  };
4382
4398
  };
4383
- };
4384
- };
4385
- } & {
4386
- "/skills/importable": {
4387
- $get: {
4399
+ } | {
4388
4400
  output: {
4389
4401
  name: string;
4390
4402
  description?: string | undefined;
@@ -4407,18 +4419,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4407
4419
  wait?: string | undefined;
4408
4420
  };
4409
4421
  };
4410
- } | {
4411
- output: {
4412
- error: string;
4413
- code?: "invalid_input" | undefined;
4414
- };
4415
- outputFormat: "json";
4416
- status: 400;
4417
- input: {
4418
- query: {
4419
- wait?: string | undefined;
4420
- };
4421
- };
4422
4422
  };
4423
4423
  };
4424
4424
  } & {
@@ -4497,10 +4497,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4497
4497
  };
4498
4498
  } | {
4499
4499
  output: {
4500
- error: string;
4500
+ runId: string;
4501
+ worktreeReclaimedAt: string;
4501
4502
  };
4502
4503
  outputFormat: "json";
4503
- status: 404 | 409;
4504
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4504
4505
  input: {
4505
4506
  param: {
4506
4507
  runId: string;
@@ -4508,11 +4509,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4508
4509
  };
4509
4510
  } | {
4510
4511
  output: {
4511
- runId: string;
4512
- worktreeReclaimedAt: string;
4512
+ error: string;
4513
4513
  };
4514
4514
  outputFormat: "json";
4515
- status: import("hono/utils/http-status").ContentfulStatusCode;
4515
+ status: 404 | 409;
4516
4516
  input: {
4517
4517
  param: {
4518
4518
  runId: string;
@@ -4608,14 +4608,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4608
4608
  "/agent-config/:id": {
4609
4609
  $put: {
4610
4610
  output: {
4611
- id: string;
4612
- path: string;
4613
- exists: boolean;
4614
- content: string;
4615
- version: string | null;
4611
+ error: string;
4616
4612
  };
4617
4613
  outputFormat: "json";
4618
- status: import("hono/utils/http-status").ContentfulStatusCode;
4614
+ status: 404;
4619
4615
  input: {
4620
4616
  json: {
4621
4617
  content: string;
@@ -4628,10 +4624,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4628
4624
  };
4629
4625
  } | {
4630
4626
  output: {
4631
- error: string;
4627
+ id: string;
4628
+ path: string;
4629
+ exists: boolean;
4630
+ content: string;
4631
+ version: string | null;
4632
4632
  };
4633
4633
  outputFormat: "json";
4634
- status: 404;
4634
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4635
4635
  input: {
4636
4636
  json: {
4637
4637
  content: string;
@@ -4702,10 +4702,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4702
4702
  "/workflows": {
4703
4703
  $post: {
4704
4704
  output: {
4705
- error: string;
4705
+ path: string;
4706
+ name: string;
4706
4707
  };
4707
4708
  outputFormat: "json";
4708
- status: 400;
4709
+ status: 201;
4709
4710
  input: {
4710
4711
  json: {
4711
4712
  name: string;
@@ -4735,10 +4736,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4735
4736
  } | {
4736
4737
  output: {
4737
4738
  error: string;
4738
- exists: true;
4739
4739
  };
4740
4740
  outputFormat: "json";
4741
- status: 409;
4741
+ status: 400;
4742
4742
  input: {
4743
4743
  json: {
4744
4744
  name: string;
@@ -4768,9 +4768,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4768
4768
  } | {
4769
4769
  output: {
4770
4770
  error: string;
4771
+ exists: true;
4771
4772
  };
4772
4773
  outputFormat: "json";
4773
- status: 500;
4774
+ status: 409;
4774
4775
  input: {
4775
4776
  json: {
4776
4777
  name: string;
@@ -4799,11 +4800,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4799
4800
  };
4800
4801
  } | {
4801
4802
  output: {
4802
- path: string;
4803
- name: string;
4803
+ error: string;
4804
4804
  };
4805
4805
  outputFormat: "json";
4806
- status: 201;
4806
+ status: 500;
4807
4807
  input: {
4808
4808
  json: {
4809
4809
  name: string;
@@ -4836,10 +4836,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4836
4836
  "/workflows/:name": {
4837
4837
  $delete: {
4838
4838
  output: {
4839
- error: string;
4839
+ ok: true;
4840
+ path: string;
4840
4841
  };
4841
4842
  outputFormat: "json";
4842
- status: 400 | 404 | 409 | 500;
4843
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4843
4844
  input: {
4844
4845
  param: {
4845
4846
  name: string;
@@ -4847,11 +4848,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4847
4848
  };
4848
4849
  } | {
4849
4850
  output: {
4850
- ok: true;
4851
- path: string;
4851
+ error: string;
4852
4852
  };
4853
4853
  outputFormat: "json";
4854
- status: import("hono/utils/http-status").ContentfulStatusCode;
4854
+ status: 400 | 404 | 409 | 500;
4855
4855
  input: {
4856
4856
  param: {
4857
4857
  name: string;
@@ -5241,14 +5241,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5241
5241
  "/repo/branches/delete": {
5242
5242
  $post: {
5243
5243
  output: {
5244
- error: string;
5244
+ deleted: string[];
5245
5245
  refused: {
5246
5246
  name: string;
5247
5247
  reason: string;
5248
5248
  }[];
5249
+ dropped?: {
5250
+ sha: string;
5251
+ subject: string;
5252
+ }[] | undefined;
5249
5253
  };
5250
5254
  outputFormat: "json";
5251
- status: 409;
5255
+ status: 200;
5252
5256
  input: {
5253
5257
  json: {
5254
5258
  names: string[];
@@ -5257,18 +5261,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5257
5261
  };
5258
5262
  } | {
5259
5263
  output: {
5260
- deleted: string[];
5264
+ error: string;
5261
5265
  refused: {
5262
5266
  name: string;
5263
5267
  reason: string;
5264
5268
  }[];
5265
- dropped?: {
5266
- sha: string;
5267
- subject: string;
5268
- }[] | undefined;
5269
5269
  };
5270
5270
  outputFormat: "json";
5271
- status: 200;
5271
+ status: 409;
5272
5272
  input: {
5273
5273
  json: {
5274
5274
  names: string[];
@@ -5289,9 +5289,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5289
5289
  } & {
5290
5290
  "/repo/commit/:sha": {
5291
5291
  $get: {
5292
- output: string;
5293
- outputFormat: "text";
5294
- status: import("hono/utils/http-status").ContentfulStatusCode;
5292
+ output: {
5293
+ error: string;
5294
+ code?: "invalid_input" | undefined;
5295
+ };
5296
+ outputFormat: "json";
5297
+ status: 400;
5295
5298
  input: {
5296
5299
  query: {
5297
5300
  structured?: string | undefined;
@@ -5304,10 +5307,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5304
5307
  } | {
5305
5308
  output: {
5306
5309
  error: string;
5307
- code?: "invalid_input" | undefined;
5308
5310
  };
5309
5311
  outputFormat: "json";
5310
- status: 400;
5312
+ status: 409;
5311
5313
  input: {
5312
5314
  query: {
5313
5315
  structured?: string | undefined;
@@ -5351,11 +5353,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5351
5353
  };
5352
5354
  };
5353
5355
  } | {
5354
- output: {
5355
- error: string;
5356
- };
5357
- outputFormat: "json";
5358
- status: 409;
5356
+ output: string;
5357
+ outputFormat: "text";
5358
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5359
5359
  input: {
5360
5360
  query: {
5361
5361
  structured?: string | undefined;
@@ -5370,6 +5370,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5370
5370
  } & {
5371
5371
  "/repo/changes": {
5372
5372
  $get: {
5373
+ output: {
5374
+ error: string;
5375
+ };
5376
+ outputFormat: "json";
5377
+ status: 409;
5378
+ input: {};
5379
+ } | {
5373
5380
  output: {
5374
5381
  files: {
5375
5382
  path: string;
@@ -5394,13 +5401,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5394
5401
  outputFormat: "json";
5395
5402
  status: import("hono/utils/http-status").ContentfulStatusCode;
5396
5403
  input: {};
5397
- } | {
5398
- output: {
5399
- error: string;
5400
- };
5401
- outputFormat: "json";
5402
- status: 409;
5403
- input: {};
5404
5404
  };
5405
5405
  };
5406
5406
  } & {
@@ -5425,10 +5425,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5425
5425
  "/repo/pull": {
5426
5426
  $post: {
5427
5427
  output: {
5428
- error: string;
5428
+ branch: string;
5429
+ pulled: true;
5430
+ summary: string;
5429
5431
  };
5430
5432
  outputFormat: "json";
5431
- status: 409;
5433
+ status: 200;
5432
5434
  input: {
5433
5435
  json: {
5434
5436
  branch?: string | undefined;
@@ -5437,12 +5439,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5437
5439
  };
5438
5440
  } | {
5439
5441
  output: {
5440
- branch: string;
5441
- pulled: true;
5442
- summary: string;
5442
+ error: string;
5443
5443
  };
5444
5444
  outputFormat: "json";
5445
- status: 200;
5445
+ status: 409;
5446
5446
  input: {
5447
5447
  json: {
5448
5448
  branch?: string | undefined;
@@ -6394,20 +6394,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6394
6394
  "/automations": {
6395
6395
  $post: {
6396
6396
  output: {
6397
- error: string;
6398
- };
6399
- outputFormat: "json";
6400
- status: 400 | 404 | 409;
6401
- input: {
6402
- json: {
6397
+ automation: {
6398
+ [x: string]: import("hono/utils/types").JSONValue;
6399
+ id: string;
6400
+ revision: number;
6403
6401
  name: string;
6404
6402
  description?: string | undefined;
6405
- enabled?: boolean | undefined;
6406
- kind?: "github" | "schedule" | undefined;
6403
+ enabled: boolean;
6404
+ kind: "github" | "schedule";
6407
6405
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6408
6406
  intervalSeconds?: number | undefined;
6409
6407
  filters?: {
6410
- [x: string]: unknown;
6408
+ [x: string]: import("hono/utils/types").JSONValue;
6411
6409
  includeExisting?: boolean | undefined;
6412
6410
  requireCurrentLabels?: boolean | undefined;
6413
6411
  authors?: string[] | undefined;
@@ -6416,10 +6414,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6416
6414
  anyLabels?: string[] | undefined;
6417
6415
  excludeLabels?: string[] | undefined;
6418
6416
  changedLabels?: string[] | undefined;
6419
- lookbackDays?: number | undefined;
6420
- maxRecords?: number | undefined;
6417
+ lookbackDays: number;
6418
+ maxRecords: number;
6421
6419
  } | undefined;
6422
6420
  schedule?: {
6421
+ [x: string]: import("hono/utils/types").JSONValue;
6423
6422
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6424
6423
  hour?: number | undefined;
6425
6424
  minute?: number | undefined;
@@ -6430,7 +6429,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6430
6429
  latestStartMinutes?: number | undefined;
6431
6430
  } | undefined;
6432
6431
  task: {
6433
- [x: string]: unknown;
6432
+ [x: string]: import("hono/utils/types").JSONValue;
6434
6433
  archiveWhenDone?: boolean | undefined;
6435
6434
  autoMergePr?: boolean | undefined;
6436
6435
  allowWorkers?: boolean | undefined;
@@ -6452,34 +6451,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6452
6451
  command?: string | undefined;
6453
6452
  onFail?: {
6454
6453
  retry: string;
6455
- max?: number | undefined;
6454
+ max: number;
6456
6455
  } | undefined;
6457
6456
  }[] | undefined;
6458
6457
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6459
6458
  model?: string | undefined;
6460
6459
  effort?: string | undefined;
6460
+ variants?: 1 | 2 | 3 | undefined;
6461
6461
  worktree?: boolean | undefined;
6462
6462
  autonomous?: boolean | undefined;
6463
6463
  systemPrompt?: string | undefined;
6464
- variants?: 1 | undefined;
6465
6464
  };
6466
- enable?: boolean | undefined;
6465
+ archived?: {
6466
+ [x: string]: import("hono/utils/types").JSONValue;
6467
+ at: string;
6468
+ outcome: "cancelled" | "launched";
6469
+ runId?: string | undefined;
6470
+ receiptId?: string | undefined;
6471
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6472
+ } | undefined;
6473
+ createdAt: string;
6474
+ updatedAt: string;
6467
6475
  };
6476
+ once?: {
6477
+ dueAt: string;
6478
+ timeZone: string;
6479
+ resolvedInstant: string;
6480
+ note: string;
6481
+ } | undefined;
6468
6482
  };
6469
- } | {
6470
- output: {
6471
- automation: {
6472
- [x: string]: import("hono/utils/types").JSONValue;
6473
- id: string;
6474
- revision: number;
6483
+ outputFormat: "json";
6484
+ status: 201;
6485
+ input: {
6486
+ json: {
6475
6487
  name: string;
6476
6488
  description?: string | undefined;
6477
- enabled: boolean;
6478
- kind: "github" | "schedule";
6489
+ enabled?: boolean | undefined;
6490
+ kind?: "github" | "schedule" | undefined;
6479
6491
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6480
6492
  intervalSeconds?: number | undefined;
6481
6493
  filters?: {
6482
- [x: string]: import("hono/utils/types").JSONValue;
6494
+ [x: string]: unknown;
6483
6495
  includeExisting?: boolean | undefined;
6484
6496
  requireCurrentLabels?: boolean | undefined;
6485
6497
  authors?: string[] | undefined;
@@ -6488,11 +6500,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6488
6500
  anyLabels?: string[] | undefined;
6489
6501
  excludeLabels?: string[] | undefined;
6490
6502
  changedLabels?: string[] | undefined;
6491
- lookbackDays: number;
6492
- maxRecords: number;
6503
+ lookbackDays?: number | undefined;
6504
+ maxRecords?: number | undefined;
6493
6505
  } | undefined;
6494
6506
  schedule?: {
6495
- [x: string]: import("hono/utils/types").JSONValue;
6496
6507
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6497
6508
  hour?: number | undefined;
6498
6509
  minute?: number | undefined;
@@ -6503,7 +6514,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6503
6514
  latestStartMinutes?: number | undefined;
6504
6515
  } | undefined;
6505
6516
  task: {
6506
- [x: string]: import("hono/utils/types").JSONValue;
6517
+ [x: string]: unknown;
6507
6518
  archiveWhenDone?: boolean | undefined;
6508
6519
  autoMergePr?: boolean | undefined;
6509
6520
  allowWorkers?: boolean | undefined;
@@ -6525,37 +6536,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6525
6536
  command?: string | undefined;
6526
6537
  onFail?: {
6527
6538
  retry: string;
6528
- max: number;
6539
+ max?: number | undefined;
6529
6540
  } | undefined;
6530
6541
  }[] | undefined;
6531
6542
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6532
6543
  model?: string | undefined;
6533
6544
  effort?: string | undefined;
6534
- variants?: 1 | 2 | 3 | undefined;
6535
6545
  worktree?: boolean | undefined;
6536
6546
  autonomous?: boolean | undefined;
6537
6547
  systemPrompt?: string | undefined;
6548
+ variants?: 1 | undefined;
6538
6549
  };
6539
- archived?: {
6540
- [x: string]: import("hono/utils/types").JSONValue;
6541
- at: string;
6542
- outcome: "cancelled" | "launched";
6543
- runId?: string | undefined;
6544
- receiptId?: string | undefined;
6545
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6546
- } | undefined;
6547
- createdAt: string;
6548
- updatedAt: string;
6550
+ enable?: boolean | undefined;
6549
6551
  };
6550
- once?: {
6551
- dueAt: string;
6552
- timeZone: string;
6553
- resolvedInstant: string;
6554
- note: string;
6555
- } | undefined;
6552
+ };
6553
+ } | {
6554
+ output: {
6555
+ error: string;
6556
6556
  };
6557
6557
  outputFormat: "json";
6558
- status: 201;
6558
+ status: 400 | 404 | 409;
6559
6559
  input: {
6560
6560
  json: {
6561
6561
  name: string;
@@ -6629,17 +6629,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6629
6629
  } & {
6630
6630
  "/automations/:id": {
6631
6631
  $get: {
6632
- output: {
6633
- error: string;
6634
- };
6635
- outputFormat: "json";
6636
- status: 400 | 404 | 409;
6637
- input: {
6638
- param: {
6639
- id: string;
6640
- };
6641
- };
6642
- } | {
6643
6632
  output: {
6644
6633
  automation: {
6645
6634
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6795,26 +6784,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6795
6784
  id: string;
6796
6785
  };
6797
6786
  };
6798
- };
6799
- };
6800
- } & {
6801
- "/automations/:id": {
6802
- $put: {
6787
+ } | {
6803
6788
  output: {
6804
6789
  error: string;
6805
6790
  };
6806
6791
  outputFormat: "json";
6807
6792
  status: 400 | 404 | 409;
6808
6793
  input: {
6809
- json: {
6794
+ param: {
6795
+ id: string;
6796
+ };
6797
+ };
6798
+ };
6799
+ };
6800
+ } & {
6801
+ "/automations/:id": {
6802
+ $put: {
6803
+ output: {
6804
+ automation: {
6805
+ [x: string]: import("hono/utils/types").JSONValue;
6806
+ id: string;
6807
+ revision: number;
6810
6808
  name: string;
6811
6809
  description?: string | undefined;
6812
- enabled?: boolean | undefined;
6813
- kind?: "github" | "schedule" | undefined;
6810
+ enabled: boolean;
6811
+ kind: "github" | "schedule";
6814
6812
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6815
6813
  intervalSeconds?: number | undefined;
6816
6814
  filters?: {
6817
- [x: string]: unknown;
6815
+ [x: string]: import("hono/utils/types").JSONValue;
6818
6816
  includeExisting?: boolean | undefined;
6819
6817
  requireCurrentLabels?: boolean | undefined;
6820
6818
  authors?: string[] | undefined;
@@ -6823,10 +6821,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6823
6821
  anyLabels?: string[] | undefined;
6824
6822
  excludeLabels?: string[] | undefined;
6825
6823
  changedLabels?: string[] | undefined;
6826
- lookbackDays?: number | undefined;
6827
- maxRecords?: number | undefined;
6824
+ lookbackDays: number;
6825
+ maxRecords: number;
6828
6826
  } | undefined;
6829
6827
  schedule?: {
6828
+ [x: string]: import("hono/utils/types").JSONValue;
6830
6829
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6831
6830
  hour?: number | undefined;
6832
6831
  minute?: number | undefined;
@@ -6837,7 +6836,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6837
6836
  latestStartMinutes?: number | undefined;
6838
6837
  } | undefined;
6839
6838
  task: {
6840
- [x: string]: unknown;
6839
+ [x: string]: import("hono/utils/types").JSONValue;
6841
6840
  archiveWhenDone?: boolean | undefined;
6842
6841
  autoMergePr?: boolean | undefined;
6843
6842
  allowWorkers?: boolean | undefined;
@@ -6859,38 +6858,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6859
6858
  command?: string | undefined;
6860
6859
  onFail?: {
6861
6860
  retry: string;
6862
- max?: number | undefined;
6861
+ max: number;
6863
6862
  } | undefined;
6864
6863
  }[] | undefined;
6865
6864
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6866
6865
  model?: string | undefined;
6867
6866
  effort?: string | undefined;
6867
+ variants?: 1 | 2 | 3 | undefined;
6868
6868
  worktree?: boolean | undefined;
6869
6869
  autonomous?: boolean | undefined;
6870
6870
  systemPrompt?: string | undefined;
6871
- variants?: 1 | undefined;
6872
6871
  };
6873
- expectedRevision: number;
6874
- };
6875
- } & {
6876
- param: {
6877
- id: string;
6872
+ archived?: {
6873
+ [x: string]: import("hono/utils/types").JSONValue;
6874
+ at: string;
6875
+ outcome: "cancelled" | "launched";
6876
+ runId?: string | undefined;
6877
+ receiptId?: string | undefined;
6878
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6879
+ } | undefined;
6880
+ createdAt: string;
6881
+ updatedAt: string;
6878
6882
  };
6879
6883
  };
6880
- } | {
6881
- output: {
6882
- automation: {
6883
- [x: string]: import("hono/utils/types").JSONValue;
6884
- id: string;
6885
- revision: number;
6884
+ outputFormat: "json";
6885
+ status: import("hono/utils/http-status").ContentfulStatusCode;
6886
+ input: {
6887
+ json: {
6886
6888
  name: string;
6887
6889
  description?: string | undefined;
6888
- enabled: boolean;
6889
- kind: "github" | "schedule";
6890
+ enabled?: boolean | undefined;
6891
+ kind?: "github" | "schedule" | undefined;
6890
6892
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6891
6893
  intervalSeconds?: number | undefined;
6892
6894
  filters?: {
6893
- [x: string]: import("hono/utils/types").JSONValue;
6895
+ [x: string]: unknown;
6894
6896
  includeExisting?: boolean | undefined;
6895
6897
  requireCurrentLabels?: boolean | undefined;
6896
6898
  authors?: string[] | undefined;
@@ -6899,11 +6901,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6899
6901
  anyLabels?: string[] | undefined;
6900
6902
  excludeLabels?: string[] | undefined;
6901
6903
  changedLabels?: string[] | undefined;
6902
- lookbackDays: number;
6903
- maxRecords: number;
6904
+ lookbackDays?: number | undefined;
6905
+ maxRecords?: number | undefined;
6904
6906
  } | undefined;
6905
6907
  schedule?: {
6906
- [x: string]: import("hono/utils/types").JSONValue;
6907
6908
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6908
6909
  hour?: number | undefined;
6909
6910
  minute?: number | undefined;
@@ -6914,7 +6915,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6914
6915
  latestStartMinutes?: number | undefined;
6915
6916
  } | undefined;
6916
6917
  task: {
6917
- [x: string]: import("hono/utils/types").JSONValue;
6918
+ [x: string]: unknown;
6918
6919
  archiveWhenDone?: boolean | undefined;
6919
6920
  autoMergePr?: boolean | undefined;
6920
6921
  allowWorkers?: boolean | undefined;
@@ -6936,31 +6937,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6936
6937
  command?: string | undefined;
6937
6938
  onFail?: {
6938
6939
  retry: string;
6939
- max: number;
6940
+ max?: number | undefined;
6940
6941
  } | undefined;
6941
6942
  }[] | undefined;
6942
6943
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
6943
6944
  model?: string | undefined;
6944
6945
  effort?: string | undefined;
6945
- variants?: 1 | 2 | 3 | undefined;
6946
6946
  worktree?: boolean | undefined;
6947
6947
  autonomous?: boolean | undefined;
6948
6948
  systemPrompt?: string | undefined;
6949
+ variants?: 1 | undefined;
6949
6950
  };
6950
- archived?: {
6951
- [x: string]: import("hono/utils/types").JSONValue;
6952
- at: string;
6953
- outcome: "cancelled" | "launched";
6954
- runId?: string | undefined;
6955
- receiptId?: string | undefined;
6956
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6957
- } | undefined;
6958
- createdAt: string;
6959
- updatedAt: string;
6951
+ expectedRevision: number;
6952
+ };
6953
+ } & {
6954
+ param: {
6955
+ id: string;
6960
6956
  };
6961
6957
  };
6958
+ } | {
6959
+ output: {
6960
+ error: string;
6961
+ };
6962
6962
  outputFormat: "json";
6963
- status: import("hono/utils/http-status").ContentfulStatusCode;
6963
+ status: 400 | 404 | 409;
6964
6964
  input: {
6965
6965
  json: {
6966
6966
  name: string;
@@ -7062,17 +7062,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7062
7062
  } & {
7063
7063
  "/automations/:id/enable": {
7064
7064
  $post: {
7065
- output: {
7066
- error: string;
7067
- };
7068
- outputFormat: "json";
7069
- status: 400 | 404 | 409;
7070
- input: {
7071
- param: {
7072
- id: string;
7073
- };
7074
- };
7075
- } | {
7076
7065
  output: {
7077
7066
  automation: {
7078
7067
  [x: string]: import("hono/utils/types").JSONValue;
@@ -7161,11 +7150,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7161
7150
  id: string;
7162
7151
  };
7163
7152
  };
7164
- };
7165
- };
7166
- } & {
7167
- "/automations/:id/pause": {
7168
- $post: {
7153
+ } | {
7169
7154
  output: {
7170
7155
  error: string;
7171
7156
  };
@@ -7176,7 +7161,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7176
7161
  id: string;
7177
7162
  };
7178
7163
  };
7179
- } | {
7164
+ };
7165
+ };
7166
+ } & {
7167
+ "/automations/:id/pause": {
7168
+ $post: {
7180
7169
  output: {
7181
7170
  automation: {
7182
7171
  [x: string]: import("hono/utils/types").JSONValue;
@@ -7265,11 +7254,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7265
7254
  id: string;
7266
7255
  };
7267
7256
  };
7268
- };
7269
- };
7270
- } & {
7271
- "/automations/:id/cancel": {
7272
- $post: {
7257
+ } | {
7273
7258
  output: {
7274
7259
  error: string;
7275
7260
  };
@@ -7280,7 +7265,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7280
7265
  id: string;
7281
7266
  };
7282
7267
  };
7283
- } | {
7268
+ };
7269
+ };
7270
+ } & {
7271
+ "/automations/:id/cancel": {
7272
+ $post: {
7284
7273
  output: {
7285
7274
  automation: {
7286
7275
  [x: string]: import("hono/utils/types").JSONValue;
@@ -7369,16 +7358,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7369
7358
  id: string;
7370
7359
  };
7371
7360
  };
7361
+ } | {
7362
+ output: {
7363
+ error: string;
7364
+ };
7365
+ outputFormat: "json";
7366
+ status: 400 | 404 | 409;
7367
+ input: {
7368
+ param: {
7369
+ id: string;
7370
+ };
7371
+ };
7372
7372
  };
7373
7373
  };
7374
7374
  } & {
7375
7375
  "/automations/:id/run": {
7376
7376
  $post: {
7377
7377
  output: {
7378
- error: string;
7378
+ runId: string;
7379
7379
  };
7380
7380
  outputFormat: "json";
7381
- status: 400 | 404 | 409;
7381
+ status: 202;
7382
7382
  input: {
7383
7383
  param: {
7384
7384
  id: string;
@@ -7386,10 +7386,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7386
7386
  };
7387
7387
  } | {
7388
7388
  output: {
7389
- runId: string;
7389
+ error: string;
7390
7390
  };
7391
7391
  outputFormat: "json";
7392
- status: 202;
7392
+ status: 400 | 404 | 409;
7393
7393
  input: {
7394
7394
  param: {
7395
7395
  id: string;
@@ -7401,10 +7401,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7401
7401
  "/automations/:id/check": {
7402
7402
  $post: {
7403
7403
  output: {
7404
- error: string;
7404
+ checkId: string;
7405
7405
  };
7406
7406
  outputFormat: "json";
7407
- status: 404;
7407
+ status: 202;
7408
7408
  input: {
7409
7409
  json: {
7410
7410
  mode: "execute" | "preview";
@@ -7419,7 +7419,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7419
7419
  error: string;
7420
7420
  };
7421
7421
  outputFormat: "json";
7422
- status: 409;
7422
+ status: 404;
7423
7423
  input: {
7424
7424
  json: {
7425
7425
  mode: "execute" | "preview";
@@ -7431,10 +7431,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7431
7431
  };
7432
7432
  } | {
7433
7433
  output: {
7434
- checkId: string;
7434
+ error: string;
7435
7435
  };
7436
7436
  outputFormat: "json";
7437
- status: 202;
7437
+ status: 409;
7438
7438
  input: {
7439
7439
  json: {
7440
7440
  mode: "execute" | "preview";
@@ -8606,6 +8606,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8606
8606
  } & {
8607
8607
  "/run-summaries": {
8608
8608
  $get: {
8609
+ output: {
8610
+ error: string;
8611
+ code?: "invalid_input" | undefined;
8612
+ };
8613
+ outputFormat: "json";
8614
+ status: 400;
8615
+ input: {
8616
+ query: {
8617
+ archived?: "all" | "recent" | undefined;
8618
+ };
8619
+ };
8620
+ } | {
8609
8621
  output: {
8610
8622
  id: string;
8611
8623
  title: string;
@@ -8730,18 +8742,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8730
8742
  archived?: "all" | "recent" | undefined;
8731
8743
  };
8732
8744
  };
8733
- } | {
8734
- output: {
8735
- error: string;
8736
- code?: "invalid_input" | undefined;
8737
- };
8738
- outputFormat: "json";
8739
- status: 400;
8740
- input: {
8741
- query: {
8742
- archived?: "all" | "recent" | undefined;
8743
- };
8744
- };
8745
8745
  };
8746
8746
  };
8747
8747
  } & {
@@ -9068,11 +9068,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9068
9068
  "/runs/:id/worker-destroy": {
9069
9069
  $post: {
9070
9070
  output: {
9071
- error: string;
9072
- code?: "invalid_input" | undefined;
9071
+ workerId: string;
9072
+ state: "complete" | "incomplete";
9073
+ deleted?: ({
9074
+ kind: "worktree";
9075
+ path: string;
9076
+ } | {
9077
+ kind: "branch";
9078
+ ref: string;
9079
+ })[] | undefined;
9080
+ remaining: ("branch" | "process" | "worktree")[];
9081
+ error?: string | undefined;
9073
9082
  };
9074
9083
  outputFormat: "json";
9075
- status: 400;
9084
+ status: 200;
9076
9085
  input: {
9077
9086
  query: {
9078
9087
  [x: string]: string | string[];
@@ -9086,20 +9095,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9086
9095
  };
9087
9096
  } | {
9088
9097
  output: {
9089
- workerId: string;
9090
- state: "complete" | "incomplete";
9091
- deleted?: ({
9092
- kind: "worktree";
9093
- path: string;
9094
- } | {
9095
- kind: "branch";
9096
- ref: string;
9097
- })[] | undefined;
9098
- remaining: ("branch" | "process" | "worktree")[];
9099
- error?: string | undefined;
9098
+ error: string;
9099
+ code?: "invalid_input" | undefined;
9100
9100
  };
9101
9101
  outputFormat: "json";
9102
- status: 200;
9102
+ status: 400;
9103
9103
  input: {
9104
9104
  query: {
9105
9105
  [x: string]: string | string[];
@@ -9205,6 +9205,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9205
9205
  } & {
9206
9206
  "/runs/:id/archive": {
9207
9207
  $post: {
9208
+ output: {
9209
+ error: string;
9210
+ };
9211
+ outputFormat: "json";
9212
+ status: 404;
9213
+ input: {
9214
+ json: {
9215
+ archived?: boolean | undefined;
9216
+ };
9217
+ } & {
9218
+ param: {
9219
+ id: string;
9220
+ };
9221
+ };
9222
+ } | {
9208
9223
  output: {
9209
9224
  archiveWhenDone?: boolean | undefined;
9210
9225
  autoMergePr?: boolean | undefined;
@@ -10262,32 +10277,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10262
10277
  id: string;
10263
10278
  };
10264
10279
  };
10265
- } | {
10280
+ };
10281
+ };
10282
+ } & {
10283
+ "/runs/:id/pin": {
10284
+ $post: {
10266
10285
  output: {
10267
10286
  error: string;
10287
+ code?: "invalid_input" | undefined;
10268
10288
  };
10269
10289
  outputFormat: "json";
10270
- status: 404;
10290
+ status: 400;
10271
10291
  input: {
10272
- json: {
10273
- archived?: boolean | undefined;
10274
- };
10275
- } & {
10276
10292
  param: {
10277
10293
  id: string;
10278
10294
  };
10295
+ } & {
10296
+ json: {
10297
+ pinned?: boolean | undefined;
10298
+ };
10279
10299
  };
10280
- };
10281
- };
10282
- } & {
10283
- "/runs/:id/pin": {
10284
- $post: {
10300
+ } | {
10285
10301
  output: {
10286
10302
  error: string;
10287
- code?: "invalid_input" | undefined;
10288
10303
  };
10289
10304
  outputFormat: "json";
10290
- status: 400;
10305
+ status: 404;
10291
10306
  input: {
10292
10307
  param: {
10293
10308
  id: string;
@@ -11355,29 +11370,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11355
11370
  pinned?: boolean | undefined;
11356
11371
  };
11357
11372
  };
11358
- } | {
11373
+ };
11374
+ };
11375
+ } & {
11376
+ "/runs/:id/notify": {
11377
+ $post: {
11359
11378
  output: {
11360
11379
  error: string;
11380
+ code?: "invalid_input" | undefined;
11361
11381
  };
11362
11382
  outputFormat: "json";
11363
- status: 404;
11383
+ status: 400;
11364
11384
  input: {
11365
11385
  param: {
11366
11386
  id: string;
11367
11387
  };
11368
11388
  } & {
11369
11389
  json: {
11370
- pinned?: boolean | undefined;
11390
+ notify: boolean;
11391
+ message?: string | undefined;
11371
11392
  };
11372
11393
  };
11373
- };
11374
- };
11375
- } & {
11376
- "/runs/:id/notify": {
11377
- $post: {
11394
+ } | {
11378
11395
  output: {
11379
11396
  error: string;
11380
- code?: "invalid_input" | undefined;
11381
11397
  };
11382
11398
  outputFormat: "json";
11383
11399
  status: 400;
@@ -11391,6 +11407,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11391
11407
  message?: string | undefined;
11392
11408
  };
11393
11409
  };
11410
+ } | {
11411
+ output: {
11412
+ error: string;
11413
+ };
11414
+ outputFormat: "json";
11415
+ status: 404;
11416
+ input: {
11417
+ param: {
11418
+ id: string;
11419
+ };
11420
+ } & {
11421
+ json: {
11422
+ notify: boolean;
11423
+ message?: string | undefined;
11424
+ };
11425
+ };
11394
11426
  } | {
11395
11427
  output: {
11396
11428
  archiveWhenDone?: boolean | undefined;
@@ -12450,7 +12482,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12450
12482
  message?: string | undefined;
12451
12483
  };
12452
12484
  };
12453
- } | {
12485
+ };
12486
+ };
12487
+ } & {
12488
+ "/runs/:id/auto-resume": {
12489
+ $delete: {
12454
12490
  output: {
12455
12491
  error: string;
12456
12492
  };
@@ -12460,33 +12496,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12460
12496
  param: {
12461
12497
  id: string;
12462
12498
  };
12463
- } & {
12464
- json: {
12465
- notify: boolean;
12466
- message?: string | undefined;
12467
- };
12468
12499
  };
12469
12500
  } | {
12470
12501
  output: {
12471
- error: string;
12502
+ cancelled: true;
12472
12503
  };
12473
12504
  outputFormat: "json";
12474
- status: 400;
12505
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12475
12506
  input: {
12476
12507
  param: {
12477
12508
  id: string;
12478
12509
  };
12479
- } & {
12480
- json: {
12481
- notify: boolean;
12482
- message?: string | undefined;
12483
- };
12484
12510
  };
12485
12511
  };
12486
12512
  };
12487
12513
  } & {
12488
- "/runs/:id/auto-resume": {
12489
- $delete: {
12514
+ "/runs/:id/read": {
12515
+ $post: {
12490
12516
  output: {
12491
12517
  error: string;
12492
12518
  };
@@ -12498,21 +12524,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12498
12524
  };
12499
12525
  };
12500
12526
  } | {
12501
- output: {
12502
- cancelled: true;
12503
- };
12504
- outputFormat: "json";
12505
- status: import("hono/utils/http-status").ContentfulStatusCode;
12506
- input: {
12507
- param: {
12508
- id: string;
12509
- };
12510
- };
12511
- };
12512
- };
12513
- } & {
12514
- "/runs/:id/read": {
12515
- $post: {
12516
12527
  output: {
12517
12528
  archiveWhenDone?: boolean | undefined;
12518
12529
  autoMergePr?: boolean | undefined;
@@ -13566,7 +13577,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13566
13577
  id: string;
13567
13578
  };
13568
13579
  };
13569
- } | {
13580
+ };
13581
+ };
13582
+ } & {
13583
+ "/runs/:id/unread": {
13584
+ $post: {
13570
13585
  output: {
13571
13586
  error: string;
13572
13587
  };
@@ -13577,11 +13592,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13577
13592
  id: string;
13578
13593
  };
13579
13594
  };
13580
- };
13581
- };
13582
- } & {
13583
- "/runs/:id/unread": {
13584
- $post: {
13595
+ } | {
13585
13596
  output: {
13586
13597
  archiveWhenDone?: boolean | undefined;
13587
13598
  autoMergePr?: boolean | undefined;
@@ -14635,17 +14646,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14635
14646
  id: string;
14636
14647
  };
14637
14648
  };
14638
- } | {
14639
- output: {
14640
- error: string;
14641
- };
14642
- outputFormat: "json";
14643
- status: 404;
14644
- input: {
14645
- param: {
14646
- id: string;
14647
- };
14648
- };
14649
14649
  };
14650
14650
  };
14651
14651
  } & {
@@ -15794,6 +15794,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15794
15794
  } & {
15795
15795
  "/runs/:id": {
15796
15796
  $get: {
15797
+ output: {
15798
+ error: string;
15799
+ };
15800
+ outputFormat: "json";
15801
+ status: 404;
15802
+ input: {
15803
+ param: {
15804
+ id: string;
15805
+ };
15806
+ };
15807
+ } | {
15797
15808
  output: {
15798
15809
  archiveWhenDone?: boolean | undefined;
15799
15810
  autoMergePr?: boolean | undefined;
@@ -16854,17 +16865,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16854
16865
  id: string;
16855
16866
  };
16856
16867
  };
16857
- } | {
16858
- output: {
16859
- error: string;
16860
- };
16861
- outputFormat: "json";
16862
- status: 404;
16863
- input: {
16864
- param: {
16865
- id: string;
16866
- };
16867
- };
16868
16868
  };
16869
16869
  };
16870
16870
  } & {
@@ -16992,6 +16992,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16992
16992
  } & {
16993
16993
  "/runs/:id": {
16994
16994
  $patch: {
16995
+ output: {
16996
+ error: string;
16997
+ };
16998
+ outputFormat: "json";
16999
+ status: 400;
17000
+ input: {
17001
+ json: {
17002
+ archiveWhenDone?: boolean | undefined;
17003
+ autoMergePr?: boolean | undefined;
17004
+ allowWorkers?: boolean | undefined;
17005
+ allowMessaging?: boolean | undefined;
17006
+ title?: string | undefined;
17007
+ task?: string | undefined;
17008
+ };
17009
+ } & {
17010
+ param: {
17011
+ id: string;
17012
+ };
17013
+ };
17014
+ } | {
17015
+ output: {
17016
+ error: string;
17017
+ };
17018
+ outputFormat: "json";
17019
+ status: 404;
17020
+ input: {
17021
+ json: {
17022
+ archiveWhenDone?: boolean | undefined;
17023
+ autoMergePr?: boolean | undefined;
17024
+ allowWorkers?: boolean | undefined;
17025
+ allowMessaging?: boolean | undefined;
17026
+ title?: string | undefined;
17027
+ task?: string | undefined;
17028
+ };
17029
+ } & {
17030
+ param: {
17031
+ id: string;
17032
+ };
17033
+ };
17034
+ } | {
17035
+ output: {
17036
+ error: string;
17037
+ };
17038
+ outputFormat: "json";
17039
+ status: 409;
17040
+ input: {
17041
+ json: {
17042
+ archiveWhenDone?: boolean | undefined;
17043
+ autoMergePr?: boolean | undefined;
17044
+ allowWorkers?: boolean | undefined;
17045
+ allowMessaging?: boolean | undefined;
17046
+ title?: string | undefined;
17047
+ task?: string | undefined;
17048
+ };
17049
+ } & {
17050
+ param: {
17051
+ id: string;
17052
+ };
17053
+ };
17054
+ } | {
16995
17055
  output: {
16996
17056
  archiveWhenDone?: boolean | undefined;
16997
17057
  autoMergePr?: boolean | undefined;
@@ -18054,66 +18114,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18054
18114
  id: string;
18055
18115
  };
18056
18116
  };
18057
- } | {
18058
- output: {
18059
- error: string;
18060
- };
18061
- outputFormat: "json";
18062
- status: 404;
18063
- input: {
18064
- json: {
18065
- archiveWhenDone?: boolean | undefined;
18066
- autoMergePr?: boolean | undefined;
18067
- allowWorkers?: boolean | undefined;
18068
- allowMessaging?: boolean | undefined;
18069
- title?: string | undefined;
18070
- task?: string | undefined;
18071
- };
18072
- } & {
18073
- param: {
18074
- id: string;
18075
- };
18076
- };
18077
- } | {
18078
- output: {
18079
- error: string;
18080
- };
18081
- outputFormat: "json";
18082
- status: 400;
18083
- input: {
18084
- json: {
18085
- archiveWhenDone?: boolean | undefined;
18086
- autoMergePr?: boolean | undefined;
18087
- allowWorkers?: boolean | undefined;
18088
- allowMessaging?: boolean | undefined;
18089
- title?: string | undefined;
18090
- task?: string | undefined;
18091
- };
18092
- } & {
18093
- param: {
18094
- id: string;
18095
- };
18096
- };
18097
- } | {
18098
- output: {
18099
- error: string;
18100
- };
18101
- outputFormat: "json";
18102
- status: 409;
18103
- input: {
18104
- json: {
18105
- archiveWhenDone?: boolean | undefined;
18106
- autoMergePr?: boolean | undefined;
18107
- allowWorkers?: boolean | undefined;
18108
- allowMessaging?: boolean | undefined;
18109
- title?: string | undefined;
18110
- task?: string | undefined;
18111
- };
18112
- } & {
18113
- param: {
18114
- id: string;
18115
- };
18116
- };
18117
18117
  };
18118
18118
  };
18119
18119
  } & {
@@ -18218,7 +18218,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18218
18218
  error: string;
18219
18219
  };
18220
18220
  outputFormat: "json";
18221
- status: 404;
18221
+ status: 400;
18222
18222
  input: {
18223
18223
  json: {
18224
18224
  text?: string | undefined;
@@ -18237,7 +18237,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18237
18237
  error: string;
18238
18238
  };
18239
18239
  outputFormat: "json";
18240
- status: 409;
18240
+ status: 404;
18241
18241
  input: {
18242
18242
  json: {
18243
18243
  text?: string | undefined;
@@ -18253,10 +18253,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18253
18253
  };
18254
18254
  } | {
18255
18255
  output: {
18256
- delivered: true;
18256
+ error: string;
18257
18257
  };
18258
18258
  outputFormat: "json";
18259
- status: import("hono/utils/http-status").ContentfulStatusCode;
18259
+ status: 409;
18260
18260
  input: {
18261
18261
  json: {
18262
18262
  text?: string | undefined;
@@ -18272,10 +18272,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18272
18272
  };
18273
18273
  } | {
18274
18274
  output: {
18275
- error: string;
18275
+ delivered: true;
18276
18276
  };
18277
18277
  outputFormat: "json";
18278
- status: 400;
18278
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18279
18279
  input: {
18280
18280
  json: {
18281
18281
  text?: string | undefined;
@@ -18342,7 +18342,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18342
18342
  error: string;
18343
18343
  };
18344
18344
  outputFormat: "json";
18345
- status: 404;
18345
+ status: 400;
18346
18346
  input: {
18347
18347
  json: {
18348
18348
  text?: string | undefined;
@@ -18363,7 +18363,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18363
18363
  error: string;
18364
18364
  };
18365
18365
  outputFormat: "json";
18366
- status: 400;
18366
+ status: 404;
18367
18367
  input: {
18368
18368
  json: {
18369
18369
  text?: string | undefined;
@@ -18515,7 +18515,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18515
18515
  error: string;
18516
18516
  };
18517
18517
  outputFormat: "json";
18518
- status: 404;
18518
+ status: 400;
18519
18519
  input: {
18520
18520
  json: {
18521
18521
  text?: string | undefined;
@@ -18538,7 +18538,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18538
18538
  error: string;
18539
18539
  };
18540
18540
  outputFormat: "json";
18541
- status: 400;
18541
+ status: 404;
18542
18542
  input: {
18543
18543
  json: {
18544
18544
  text?: string | undefined;
@@ -18649,7 +18649,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18649
18649
  error: string;
18650
18650
  };
18651
18651
  outputFormat: "json";
18652
- status: 404;
18652
+ status: 400;
18653
18653
  input: {
18654
18654
  json: {
18655
18655
  target: string;
@@ -18665,7 +18665,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18665
18665
  error: string;
18666
18666
  };
18667
18667
  outputFormat: "json";
18668
- status: 409;
18668
+ status: 404;
18669
18669
  input: {
18670
18670
  json: {
18671
18671
  target: string;
@@ -18681,7 +18681,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18681
18681
  error: string;
18682
18682
  };
18683
18683
  outputFormat: "json";
18684
- status: 400;
18684
+ status: 409;
18685
18685
  input: {
18686
18686
  json: {
18687
18687
  target: string;
@@ -18738,9 +18738,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18738
18738
  } & {
18739
18739
  "/runs/:id/images/:file": {
18740
18740
  $get: {
18741
- output: {};
18742
- outputFormat: string;
18743
- status: import("hono/utils/http-status").StatusCode;
18741
+ output: {
18742
+ error: string;
18743
+ code?: "invalid_input" | undefined;
18744
+ };
18745
+ outputFormat: "json";
18746
+ status: 400;
18744
18747
  input: {
18745
18748
  param: {
18746
18749
  id: string;
@@ -18748,12 +18751,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18748
18751
  };
18749
18752
  };
18750
18753
  } | {
18751
- output: {
18752
- error: string;
18753
- code?: "invalid_input" | undefined;
18754
- };
18755
- outputFormat: "json";
18756
- status: 400;
18754
+ output: {};
18755
+ outputFormat: string;
18756
+ status: import("hono/utils/http-status").StatusCode;
18757
18757
  input: {
18758
18758
  param: {
18759
18759
  id: string;
@@ -18789,17 +18789,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18789
18789
  } & {
18790
18790
  "/runs/:id/changes": {
18791
18791
  $get: {
18792
- output: {
18793
- error: string;
18794
- };
18795
- outputFormat: "json";
18796
- status: 404 | 409;
18797
- input: {
18798
- param: {
18799
- id: string;
18800
- };
18801
- };
18802
- } | {
18803
18792
  output: {
18804
18793
  files: {
18805
18794
  path: string;
@@ -18828,11 +18817,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18828
18817
  id: string;
18829
18818
  };
18830
18819
  };
18831
- };
18832
- };
18833
- } & {
18834
- "/runs/:id/commits": {
18835
- $get: {
18820
+ } | {
18836
18821
  output: {
18837
18822
  error: string;
18838
18823
  };
@@ -18843,7 +18828,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18843
18828
  id: string;
18844
18829
  };
18845
18830
  };
18846
- } | {
18831
+ };
18832
+ };
18833
+ } & {
18834
+ "/runs/:id/commits": {
18835
+ $get: {
18847
18836
  output: {
18848
18837
  commits: {
18849
18838
  sha: string;
@@ -18859,11 +18848,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18859
18848
  id: string;
18860
18849
  };
18861
18850
  };
18862
- };
18863
- };
18864
- } & {
18865
- "/runs/:id/commit/:sha": {
18866
- $get: {
18851
+ } | {
18867
18852
  output: {
18868
18853
  error: string;
18869
18854
  };
@@ -18872,11 +18857,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18872
18857
  input: {
18873
18858
  param: {
18874
18859
  id: string;
18875
- } & {
18876
- sha: string;
18877
18860
  };
18878
18861
  };
18879
- } | {
18862
+ };
18863
+ };
18864
+ } & {
18865
+ "/runs/:id/commit/:sha": {
18866
+ $get: {
18880
18867
  output: {
18881
18868
  sha: string;
18882
18869
  subject: string;
@@ -18907,6 +18894,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18907
18894
  sha: string;
18908
18895
  };
18909
18896
  };
18897
+ } | {
18898
+ output: {
18899
+ error: string;
18900
+ };
18901
+ outputFormat: "json";
18902
+ status: 404 | 409;
18903
+ input: {
18904
+ param: {
18905
+ id: string;
18906
+ } & {
18907
+ sha: string;
18908
+ };
18909
+ };
18910
18910
  };
18911
18911
  };
18912
18912
  } & {
@@ -18942,22 +18942,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18942
18942
  raw?: "1" | undefined;
18943
18943
  };
18944
18944
  };
18945
- } | {
18946
- output: {
18947
- error: string;
18948
- };
18949
- outputFormat: "json";
18950
- status: 404 | 409;
18951
- input: {
18952
- param: {
18953
- id: string;
18954
- };
18955
- } & {
18956
- query: {
18957
- path: string | string[];
18958
- raw?: "1" | undefined;
18959
- };
18960
- };
18961
18945
  } | {
18962
18946
  output: {
18963
18947
  type: "file";
@@ -18994,6 +18978,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18994
18978
  raw?: "1" | undefined;
18995
18979
  };
18996
18980
  };
18981
+ } | {
18982
+ output: {
18983
+ error: string;
18984
+ };
18985
+ outputFormat: "json";
18986
+ status: 404 | 409;
18987
+ input: {
18988
+ param: {
18989
+ id: string;
18990
+ };
18991
+ } & {
18992
+ query: {
18993
+ path: string | string[];
18994
+ raw?: "1" | undefined;
18995
+ };
18996
+ };
18997
18997
  };
18998
18998
  };
18999
18999
  } & {
@@ -19058,6 +19058,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19058
19058
  artifactId: string;
19059
19059
  };
19060
19060
  };
19061
+ } | {
19062
+ output: {
19063
+ error: string;
19064
+ };
19065
+ outputFormat: "json";
19066
+ status: 404;
19067
+ input: {
19068
+ param: {
19069
+ id: string;
19070
+ artifactId: string;
19071
+ };
19072
+ };
19061
19073
  } | {
19062
19074
  output: {
19063
19075
  type: "file";
@@ -19086,18 +19098,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19086
19098
  artifactId: string;
19087
19099
  };
19088
19100
  };
19089
- } | {
19090
- output: {
19091
- error: string;
19092
- };
19093
- outputFormat: "json";
19094
- status: 404;
19095
- input: {
19096
- param: {
19097
- id: string;
19098
- artifactId: string;
19099
- };
19100
- };
19101
19101
  };
19102
19102
  };
19103
19103
  } & {
@@ -19275,10 +19275,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19275
19275
  };
19276
19276
  } | {
19277
19277
  output: {
19278
- error: string;
19278
+ type: 'dir';
19279
+ path: string;
19280
+ entries: {
19281
+ name: string;
19282
+ type: 'dir' | 'file';
19283
+ size?: number;
19284
+ }[];
19279
19285
  };
19280
19286
  outputFormat: "json";
19281
- status: 404 | 409;
19287
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19282
19288
  input: {
19283
19289
  query: {
19284
19290
  path?: string | undefined;
@@ -19291,13 +19297,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19291
19297
  };
19292
19298
  } | {
19293
19299
  output: {
19294
- type: 'dir';
19300
+ type: 'file';
19295
19301
  path: string;
19296
- entries: {
19297
- name: string;
19298
- type: 'dir' | 'file';
19299
- size?: number;
19300
- }[];
19302
+ size: number;
19303
+ binary: boolean;
19304
+ tooLarge: boolean;
19305
+ content?: string | undefined;
19301
19306
  };
19302
19307
  outputFormat: "json";
19303
19308
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -19313,15 +19318,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19313
19318
  };
19314
19319
  } | {
19315
19320
  output: {
19316
- type: 'file';
19317
- path: string;
19318
- size: number;
19319
- binary: boolean;
19320
- tooLarge: boolean;
19321
- content?: string | undefined;
19321
+ error: string;
19322
19322
  };
19323
19323
  outputFormat: "json";
19324
- status: import("hono/utils/http-status").ContentfulStatusCode;
19324
+ status: 404 | 409;
19325
19325
  input: {
19326
19326
  query: {
19327
19327
  path?: string | undefined;
@@ -19338,10 +19338,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19338
19338
  "/runs/:id/git/commit": {
19339
19339
  $post: {
19340
19340
  output: {
19341
- error: string;
19341
+ committed: true;
19342
+ sha: string;
19342
19343
  };
19343
19344
  outputFormat: "json";
19344
- status: 404 | 409;
19345
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19345
19346
  input: {
19346
19347
  json: {
19347
19348
  message: string;
@@ -19353,11 +19354,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19353
19354
  };
19354
19355
  } | {
19355
19356
  output: {
19356
- committed: true;
19357
- sha: string;
19357
+ error: string;
19358
19358
  };
19359
19359
  outputFormat: "json";
19360
- status: import("hono/utils/http-status").ContentfulStatusCode;
19360
+ status: 404 | 409;
19361
19361
  input: {
19362
19362
  json: {
19363
19363
  message: string;
@@ -19373,10 +19373,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19373
19373
  "/runs/:id/git/push": {
19374
19374
  $post: {
19375
19375
  output: {
19376
- error: string;
19376
+ pushed: true;
19377
+ branch: string;
19378
+ remote: string;
19379
+ upstreamSet: boolean;
19377
19380
  };
19378
19381
  outputFormat: "json";
19379
- status: 404 | 409;
19382
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19380
19383
  input: {
19381
19384
  param: {
19382
19385
  id: string;
@@ -19384,13 +19387,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19384
19387
  };
19385
19388
  } | {
19386
19389
  output: {
19387
- pushed: true;
19388
- branch: string;
19389
- remote: string;
19390
- upstreamSet: boolean;
19390
+ error: string;
19391
19391
  };
19392
19392
  outputFormat: "json";
19393
- status: import("hono/utils/http-status").ContentfulStatusCode;
19393
+ status: 404 | 409;
19394
19394
  input: {
19395
19395
  param: {
19396
19396
  id: string;
@@ -19431,10 +19431,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19431
19431
  "/runs/:id/remove-worktree": {
19432
19432
  $post: {
19433
19433
  output: {
19434
- error: string;
19434
+ removed: true;
19435
19435
  };
19436
19436
  outputFormat: "json";
19437
- status: 404 | 409;
19437
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19438
19438
  input: {
19439
19439
  param: {
19440
19440
  id: string;
@@ -19442,10 +19442,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19442
19442
  };
19443
19443
  } | {
19444
19444
  output: {
19445
- removed: true;
19445
+ error: string;
19446
19446
  };
19447
19447
  outputFormat: "json";
19448
- status: import("hono/utils/http-status").ContentfulStatusCode;
19448
+ status: 404 | 409;
19449
19449
  input: {
19450
19450
  param: {
19451
19451
  id: string;
@@ -19457,10 +19457,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19457
19457
  "/runs/:id": {
19458
19458
  $delete: {
19459
19459
  output: {
19460
- error: string;
19460
+ deleted: true;
19461
19461
  };
19462
19462
  outputFormat: "json";
19463
- status: 404 | 409;
19463
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19464
19464
  input: {
19465
19465
  param: {
19466
19466
  id: string;
@@ -19468,10 +19468,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19468
19468
  };
19469
19469
  } | {
19470
19470
  output: {
19471
- deleted: true;
19471
+ error: string;
19472
19472
  };
19473
19473
  outputFormat: "json";
19474
- status: import("hono/utils/http-status").ContentfulStatusCode;
19474
+ status: 404 | 409;
19475
19475
  input: {
19476
19476
  param: {
19477
19477
  id: string;
@@ -19735,7 +19735,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19735
19735
  error: string;
19736
19736
  };
19737
19737
  outputFormat: "json";
19738
- status: 409;
19738
+ status: 400;
19739
19739
  input: {
19740
19740
  json: {
19741
19741
  target: string;
@@ -19746,7 +19746,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19746
19746
  error: string;
19747
19747
  };
19748
19748
  outputFormat: "json";
19749
- status: 400;
19749
+ status: 409;
19750
19750
  input: {
19751
19751
  json: {
19752
19752
  target: string;
@@ -19769,9 +19769,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19769
19769
  }, "/"> | import("hono/types").MergeSchemaPath<{
19770
19770
  "/runs/:id/events": {
19771
19771
  $get: {
19772
- output: {};
19773
- outputFormat: string;
19774
- status: import("hono/utils/http-status").StatusCode;
19772
+ output: {
19773
+ error: string;
19774
+ code?: "invalid_input" | undefined;
19775
+ };
19776
+ outputFormat: "json";
19777
+ status: 400;
19775
19778
  input: {
19776
19779
  param: {
19777
19780
  id: string;
@@ -19783,12 +19786,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19783
19786
  };
19784
19787
  };
19785
19788
  } | {
19786
- output: {
19787
- error: string;
19788
- code?: "invalid_input" | undefined;
19789
- };
19790
- outputFormat: "json";
19791
- status: 400;
19789
+ output: {};
19790
+ outputFormat: string;
19791
+ status: import("hono/utils/http-status").StatusCode;
19792
19792
  input: {
19793
19793
  param: {
19794
19794
  id: string;
@@ -19849,34 +19849,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19849
19849
  "/config": {
19850
19850
  $put: {
19851
19851
  output: {
19852
- archiveOnMerge: boolean | null;
19853
- effectiveArchiveOnMerge: boolean;
19854
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19855
- baseBranch: string | null;
19856
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
19857
- systemPrompt: string | null;
19858
- defaultModels: {
19859
- claude?: string | undefined;
19860
- codex?: string | undefined;
19861
- opencode?: string | undefined;
19862
- pi?: string | undefined;
19863
- cursor?: string | undefined;
19864
- omp?: string | undefined;
19865
- };
19866
- modelsLocked: boolean;
19867
- maxParallel: number;
19868
- memoryLimitMb: number | null;
19869
- worktreeRetention: number;
19870
- liveTitleUpdates: boolean | null;
19871
- reviewGate: boolean | null;
19872
- worktreeSetup: {
19873
- commands: string[];
19874
- timeoutSeconds: number;
19875
- } | null;
19876
- worktreeSetupIssue: string | null;
19852
+ error: string;
19877
19853
  };
19878
19854
  outputFormat: "json";
19879
- status: import("hono/utils/http-status").ContentfulStatusCode;
19855
+ status: 409;
19880
19856
  input: {
19881
19857
  json: {
19882
19858
  archiveOnMerge?: boolean | null | undefined;
@@ -19907,7 +19883,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19907
19883
  error: string;
19908
19884
  };
19909
19885
  outputFormat: "json";
19910
- status: 409;
19886
+ status: 500;
19911
19887
  input: {
19912
19888
  json: {
19913
19889
  archiveOnMerge?: boolean | null | undefined;
@@ -19935,10 +19911,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19935
19911
  };
19936
19912
  } | {
19937
19913
  output: {
19938
- error: string;
19914
+ archiveOnMerge: boolean | null;
19915
+ effectiveArchiveOnMerge: boolean;
19916
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19917
+ baseBranch: string | null;
19918
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
19919
+ systemPrompt: string | null;
19920
+ defaultModels: {
19921
+ claude?: string | undefined;
19922
+ codex?: string | undefined;
19923
+ opencode?: string | undefined;
19924
+ pi?: string | undefined;
19925
+ cursor?: string | undefined;
19926
+ omp?: string | undefined;
19927
+ };
19928
+ modelsLocked: boolean;
19929
+ maxParallel: number;
19930
+ memoryLimitMb: number | null;
19931
+ worktreeRetention: number;
19932
+ liveTitleUpdates: boolean | null;
19933
+ reviewGate: boolean | null;
19934
+ worktreeSetup: {
19935
+ commands: string[];
19936
+ timeoutSeconds: number;
19937
+ } | null;
19938
+ worktreeSetupIssue: string | null;
19939
19939
  };
19940
19940
  outputFormat: "json";
19941
- status: 500;
19941
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19942
19942
  input: {
19943
19943
  json: {
19944
19944
  archiveOnMerge?: boolean | null | undefined;
@@ -19969,25 +19969,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19969
19969
  }, "/"> | import("hono/types").MergeSchemaPath<{
19970
19970
  "/voice/decide": {
19971
19971
  $post: {
19972
- output: {
19973
- error: string;
19974
- };
19975
- outputFormat: "json";
19976
- status: 503;
19977
- input: {
19978
- json: {
19979
- text: string;
19980
- sidebarView: "active" | "automations";
19981
- openRunId?: string | undefined;
19982
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19983
- askRequestId?: string | null | undefined;
19984
- proposal?: {
19985
- decisionId: string;
19986
- action: "answer" | "tell";
19987
- } | undefined;
19988
- };
19989
- };
19990
- } | {
19991
19972
  output: {
19992
19973
  action: "open";
19993
19974
  decisionId: string;
@@ -20045,6 +20026,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20045
20026
  } | undefined;
20046
20027
  };
20047
20028
  };
20029
+ } | {
20030
+ output: {
20031
+ error: string;
20032
+ };
20033
+ outputFormat: "json";
20034
+ status: 503;
20035
+ input: {
20036
+ json: {
20037
+ text: string;
20038
+ sidebarView: "active" | "automations";
20039
+ openRunId?: string | undefined;
20040
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
20041
+ askRequestId?: string | null | undefined;
20042
+ proposal?: {
20043
+ decisionId: string;
20044
+ action: "answer" | "tell";
20045
+ } | undefined;
20046
+ };
20047
+ };
20048
20048
  };
20049
20049
  };
20050
20050
  } & {
@@ -20187,7 +20187,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20187
20187
  error: string;
20188
20188
  };
20189
20189
  outputFormat: "json";
20190
- status: 409;
20190
+ status: 400;
20191
20191
  input: {
20192
20192
  query: {
20193
20193
  q?: string | undefined;
@@ -20200,7 +20200,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20200
20200
  error: string;
20201
20201
  };
20202
20202
  outputFormat: "json";
20203
- status: 400;
20203
+ status: 409;
20204
20204
  input: {
20205
20205
  query: {
20206
20206
  q?: string | undefined;
@@ -20237,6 +20237,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20237
20237
  }, "/"> | import("hono/types").MergeSchemaPath<{
20238
20238
  "/skills": {
20239
20239
  $get: {
20240
+ output: {
20241
+ error: string;
20242
+ code?: "invalid_input" | undefined;
20243
+ };
20244
+ outputFormat: "json";
20245
+ status: 400;
20246
+ input: {
20247
+ query: {
20248
+ wait?: string | undefined;
20249
+ };
20250
+ };
20251
+ } | {
20240
20252
  output: {
20241
20253
  name: string;
20242
20254
  description?: string | undefined;
@@ -20259,7 +20271,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20259
20271
  wait?: string | undefined;
20260
20272
  };
20261
20273
  };
20262
- } | {
20274
+ };
20275
+ };
20276
+ } & {
20277
+ "/skills/importable": {
20278
+ $get: {
20263
20279
  output: {
20264
20280
  error: string;
20265
20281
  code?: "invalid_input" | undefined;
@@ -20271,11 +20287,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20271
20287
  wait?: string | undefined;
20272
20288
  };
20273
20289
  };
20274
- };
20275
- };
20276
- } & {
20277
- "/skills/importable": {
20278
- $get: {
20290
+ } | {
20279
20291
  output: {
20280
20292
  name: string;
20281
20293
  description?: string | undefined;
@@ -20298,18 +20310,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20298
20310
  wait?: string | undefined;
20299
20311
  };
20300
20312
  };
20301
- } | {
20302
- output: {
20303
- error: string;
20304
- code?: "invalid_input" | undefined;
20305
- };
20306
- outputFormat: "json";
20307
- status: 400;
20308
- input: {
20309
- query: {
20310
- wait?: string | undefined;
20311
- };
20312
- };
20313
20313
  };
20314
20314
  };
20315
20315
  } & {
@@ -20388,10 +20388,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20388
20388
  };
20389
20389
  } | {
20390
20390
  output: {
20391
- error: string;
20391
+ runId: string;
20392
+ worktreeReclaimedAt: string;
20392
20393
  };
20393
20394
  outputFormat: "json";
20394
- status: 404 | 409;
20395
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20395
20396
  input: {
20396
20397
  param: {
20397
20398
  runId: string;
@@ -20399,11 +20400,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20399
20400
  };
20400
20401
  } | {
20401
20402
  output: {
20402
- runId: string;
20403
- worktreeReclaimedAt: string;
20403
+ error: string;
20404
20404
  };
20405
20405
  outputFormat: "json";
20406
- status: import("hono/utils/http-status").ContentfulStatusCode;
20406
+ status: 404 | 409;
20407
20407
  input: {
20408
20408
  param: {
20409
20409
  runId: string;
@@ -20499,14 +20499,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20499
20499
  "/agent-config/:id": {
20500
20500
  $put: {
20501
20501
  output: {
20502
- id: string;
20503
- path: string;
20504
- exists: boolean;
20505
- content: string;
20506
- version: string | null;
20502
+ error: string;
20507
20503
  };
20508
20504
  outputFormat: "json";
20509
- status: import("hono/utils/http-status").ContentfulStatusCode;
20505
+ status: 404;
20510
20506
  input: {
20511
20507
  json: {
20512
20508
  content: string;
@@ -20519,10 +20515,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20519
20515
  };
20520
20516
  } | {
20521
20517
  output: {
20522
- error: string;
20518
+ id: string;
20519
+ path: string;
20520
+ exists: boolean;
20521
+ content: string;
20522
+ version: string | null;
20523
20523
  };
20524
20524
  outputFormat: "json";
20525
- status: 404;
20525
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20526
20526
  input: {
20527
20527
  json: {
20528
20528
  content: string;
@@ -20593,10 +20593,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20593
20593
  "/workflows": {
20594
20594
  $post: {
20595
20595
  output: {
20596
- error: string;
20596
+ path: string;
20597
+ name: string;
20597
20598
  };
20598
20599
  outputFormat: "json";
20599
- status: 400;
20600
+ status: 201;
20600
20601
  input: {
20601
20602
  json: {
20602
20603
  name: string;
@@ -20626,10 +20627,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20626
20627
  } | {
20627
20628
  output: {
20628
20629
  error: string;
20629
- exists: true;
20630
20630
  };
20631
20631
  outputFormat: "json";
20632
- status: 409;
20632
+ status: 400;
20633
20633
  input: {
20634
20634
  json: {
20635
20635
  name: string;
@@ -20659,9 +20659,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20659
20659
  } | {
20660
20660
  output: {
20661
20661
  error: string;
20662
+ exists: true;
20662
20663
  };
20663
20664
  outputFormat: "json";
20664
- status: 500;
20665
+ status: 409;
20665
20666
  input: {
20666
20667
  json: {
20667
20668
  name: string;
@@ -20690,11 +20691,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20690
20691
  };
20691
20692
  } | {
20692
20693
  output: {
20693
- path: string;
20694
- name: string;
20694
+ error: string;
20695
20695
  };
20696
20696
  outputFormat: "json";
20697
- status: 201;
20697
+ status: 500;
20698
20698
  input: {
20699
20699
  json: {
20700
20700
  name: string;
@@ -20727,10 +20727,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20727
20727
  "/workflows/:name": {
20728
20728
  $delete: {
20729
20729
  output: {
20730
- error: string;
20730
+ ok: true;
20731
+ path: string;
20731
20732
  };
20732
20733
  outputFormat: "json";
20733
- status: 400 | 404 | 409 | 500;
20734
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20734
20735
  input: {
20735
20736
  param: {
20736
20737
  name: string;
@@ -20738,11 +20739,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20738
20739
  };
20739
20740
  } | {
20740
20741
  output: {
20741
- ok: true;
20742
- path: string;
20742
+ error: string;
20743
20743
  };
20744
20744
  outputFormat: "json";
20745
- status: import("hono/utils/http-status").ContentfulStatusCode;
20745
+ status: 400 | 404 | 409 | 500;
20746
20746
  input: {
20747
20747
  param: {
20748
20748
  name: string;
@@ -21132,14 +21132,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21132
21132
  "/repo/branches/delete": {
21133
21133
  $post: {
21134
21134
  output: {
21135
- error: string;
21135
+ deleted: string[];
21136
21136
  refused: {
21137
21137
  name: string;
21138
21138
  reason: string;
21139
21139
  }[];
21140
+ dropped?: {
21141
+ sha: string;
21142
+ subject: string;
21143
+ }[] | undefined;
21140
21144
  };
21141
21145
  outputFormat: "json";
21142
- status: 409;
21146
+ status: 200;
21143
21147
  input: {
21144
21148
  json: {
21145
21149
  names: string[];
@@ -21148,18 +21152,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21148
21152
  };
21149
21153
  } | {
21150
21154
  output: {
21151
- deleted: string[];
21155
+ error: string;
21152
21156
  refused: {
21153
21157
  name: string;
21154
21158
  reason: string;
21155
21159
  }[];
21156
- dropped?: {
21157
- sha: string;
21158
- subject: string;
21159
- }[] | undefined;
21160
21160
  };
21161
21161
  outputFormat: "json";
21162
- status: 200;
21162
+ status: 409;
21163
21163
  input: {
21164
21164
  json: {
21165
21165
  names: string[];
@@ -21180,9 +21180,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21180
21180
  } & {
21181
21181
  "/repo/commit/:sha": {
21182
21182
  $get: {
21183
- output: string;
21184
- outputFormat: "text";
21185
- status: import("hono/utils/http-status").ContentfulStatusCode;
21183
+ output: {
21184
+ error: string;
21185
+ code?: "invalid_input" | undefined;
21186
+ };
21187
+ outputFormat: "json";
21188
+ status: 400;
21186
21189
  input: {
21187
21190
  query: {
21188
21191
  structured?: string | undefined;
@@ -21195,10 +21198,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21195
21198
  } | {
21196
21199
  output: {
21197
21200
  error: string;
21198
- code?: "invalid_input" | undefined;
21199
21201
  };
21200
21202
  outputFormat: "json";
21201
- status: 400;
21203
+ status: 409;
21202
21204
  input: {
21203
21205
  query: {
21204
21206
  structured?: string | undefined;
@@ -21242,11 +21244,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21242
21244
  };
21243
21245
  };
21244
21246
  } | {
21245
- output: {
21246
- error: string;
21247
- };
21248
- outputFormat: "json";
21249
- status: 409;
21247
+ output: string;
21248
+ outputFormat: "text";
21249
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21250
21250
  input: {
21251
21251
  query: {
21252
21252
  structured?: string | undefined;
@@ -21261,6 +21261,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21261
21261
  } & {
21262
21262
  "/repo/changes": {
21263
21263
  $get: {
21264
+ output: {
21265
+ error: string;
21266
+ };
21267
+ outputFormat: "json";
21268
+ status: 409;
21269
+ input: {};
21270
+ } | {
21264
21271
  output: {
21265
21272
  files: {
21266
21273
  path: string;
@@ -21285,13 +21292,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21285
21292
  outputFormat: "json";
21286
21293
  status: import("hono/utils/http-status").ContentfulStatusCode;
21287
21294
  input: {};
21288
- } | {
21289
- output: {
21290
- error: string;
21291
- };
21292
- outputFormat: "json";
21293
- status: 409;
21294
- input: {};
21295
21295
  };
21296
21296
  };
21297
21297
  } & {
@@ -21316,10 +21316,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21316
21316
  "/repo/pull": {
21317
21317
  $post: {
21318
21318
  output: {
21319
- error: string;
21319
+ branch: string;
21320
+ pulled: true;
21321
+ summary: string;
21320
21322
  };
21321
21323
  outputFormat: "json";
21322
- status: 409;
21324
+ status: 200;
21323
21325
  input: {
21324
21326
  json: {
21325
21327
  branch?: string | undefined;
@@ -21328,12 +21330,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21328
21330
  };
21329
21331
  } | {
21330
21332
  output: {
21331
- branch: string;
21332
- pulled: true;
21333
- summary: string;
21333
+ error: string;
21334
21334
  };
21335
21335
  outputFormat: "json";
21336
- status: 200;
21336
+ status: 409;
21337
21337
  input: {
21338
21338
  json: {
21339
21339
  branch?: string | undefined;
@@ -22285,20 +22285,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22285
22285
  "/automations": {
22286
22286
  $post: {
22287
22287
  output: {
22288
- error: string;
22289
- };
22290
- outputFormat: "json";
22291
- status: 400 | 404 | 409;
22292
- input: {
22293
- json: {
22288
+ automation: {
22289
+ [x: string]: import("hono/utils/types").JSONValue;
22290
+ id: string;
22291
+ revision: number;
22294
22292
  name: string;
22295
22293
  description?: string | undefined;
22296
- enabled?: boolean | undefined;
22297
- kind?: "github" | "schedule" | undefined;
22294
+ enabled: boolean;
22295
+ kind: "github" | "schedule";
22298
22296
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22299
22297
  intervalSeconds?: number | undefined;
22300
22298
  filters?: {
22301
- [x: string]: unknown;
22299
+ [x: string]: import("hono/utils/types").JSONValue;
22302
22300
  includeExisting?: boolean | undefined;
22303
22301
  requireCurrentLabels?: boolean | undefined;
22304
22302
  authors?: string[] | undefined;
@@ -22307,10 +22305,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22307
22305
  anyLabels?: string[] | undefined;
22308
22306
  excludeLabels?: string[] | undefined;
22309
22307
  changedLabels?: string[] | undefined;
22310
- lookbackDays?: number | undefined;
22311
- maxRecords?: number | undefined;
22308
+ lookbackDays: number;
22309
+ maxRecords: number;
22312
22310
  } | undefined;
22313
22311
  schedule?: {
22312
+ [x: string]: import("hono/utils/types").JSONValue;
22314
22313
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22315
22314
  hour?: number | undefined;
22316
22315
  minute?: number | undefined;
@@ -22321,7 +22320,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22321
22320
  latestStartMinutes?: number | undefined;
22322
22321
  } | undefined;
22323
22322
  task: {
22324
- [x: string]: unknown;
22323
+ [x: string]: import("hono/utils/types").JSONValue;
22325
22324
  archiveWhenDone?: boolean | undefined;
22326
22325
  autoMergePr?: boolean | undefined;
22327
22326
  allowWorkers?: boolean | undefined;
@@ -22343,34 +22342,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22343
22342
  command?: string | undefined;
22344
22343
  onFail?: {
22345
22344
  retry: string;
22346
- max?: number | undefined;
22345
+ max: number;
22347
22346
  } | undefined;
22348
22347
  }[] | undefined;
22349
22348
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22350
22349
  model?: string | undefined;
22351
22350
  effort?: string | undefined;
22351
+ variants?: 1 | 2 | 3 | undefined;
22352
22352
  worktree?: boolean | undefined;
22353
22353
  autonomous?: boolean | undefined;
22354
22354
  systemPrompt?: string | undefined;
22355
- variants?: 1 | undefined;
22356
22355
  };
22357
- enable?: boolean | undefined;
22356
+ archived?: {
22357
+ [x: string]: import("hono/utils/types").JSONValue;
22358
+ at: string;
22359
+ outcome: "cancelled" | "launched";
22360
+ runId?: string | undefined;
22361
+ receiptId?: string | undefined;
22362
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22363
+ } | undefined;
22364
+ createdAt: string;
22365
+ updatedAt: string;
22358
22366
  };
22367
+ once?: {
22368
+ dueAt: string;
22369
+ timeZone: string;
22370
+ resolvedInstant: string;
22371
+ note: string;
22372
+ } | undefined;
22359
22373
  };
22360
- } | {
22361
- output: {
22362
- automation: {
22363
- [x: string]: import("hono/utils/types").JSONValue;
22364
- id: string;
22365
- revision: number;
22374
+ outputFormat: "json";
22375
+ status: 201;
22376
+ input: {
22377
+ json: {
22366
22378
  name: string;
22367
22379
  description?: string | undefined;
22368
- enabled: boolean;
22369
- kind: "github" | "schedule";
22380
+ enabled?: boolean | undefined;
22381
+ kind?: "github" | "schedule" | undefined;
22370
22382
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22371
22383
  intervalSeconds?: number | undefined;
22372
22384
  filters?: {
22373
- [x: string]: import("hono/utils/types").JSONValue;
22385
+ [x: string]: unknown;
22374
22386
  includeExisting?: boolean | undefined;
22375
22387
  requireCurrentLabels?: boolean | undefined;
22376
22388
  authors?: string[] | undefined;
@@ -22379,11 +22391,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22379
22391
  anyLabels?: string[] | undefined;
22380
22392
  excludeLabels?: string[] | undefined;
22381
22393
  changedLabels?: string[] | undefined;
22382
- lookbackDays: number;
22383
- maxRecords: number;
22394
+ lookbackDays?: number | undefined;
22395
+ maxRecords?: number | undefined;
22384
22396
  } | undefined;
22385
22397
  schedule?: {
22386
- [x: string]: import("hono/utils/types").JSONValue;
22387
22398
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22388
22399
  hour?: number | undefined;
22389
22400
  minute?: number | undefined;
@@ -22394,7 +22405,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22394
22405
  latestStartMinutes?: number | undefined;
22395
22406
  } | undefined;
22396
22407
  task: {
22397
- [x: string]: import("hono/utils/types").JSONValue;
22408
+ [x: string]: unknown;
22398
22409
  archiveWhenDone?: boolean | undefined;
22399
22410
  autoMergePr?: boolean | undefined;
22400
22411
  allowWorkers?: boolean | undefined;
@@ -22416,37 +22427,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22416
22427
  command?: string | undefined;
22417
22428
  onFail?: {
22418
22429
  retry: string;
22419
- max: number;
22430
+ max?: number | undefined;
22420
22431
  } | undefined;
22421
22432
  }[] | undefined;
22422
22433
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22423
22434
  model?: string | undefined;
22424
22435
  effort?: string | undefined;
22425
- variants?: 1 | 2 | 3 | undefined;
22426
22436
  worktree?: boolean | undefined;
22427
22437
  autonomous?: boolean | undefined;
22428
22438
  systemPrompt?: string | undefined;
22439
+ variants?: 1 | undefined;
22429
22440
  };
22430
- archived?: {
22431
- [x: string]: import("hono/utils/types").JSONValue;
22432
- at: string;
22433
- outcome: "cancelled" | "launched";
22434
- runId?: string | undefined;
22435
- receiptId?: string | undefined;
22436
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22437
- } | undefined;
22438
- createdAt: string;
22439
- updatedAt: string;
22441
+ enable?: boolean | undefined;
22440
22442
  };
22441
- once?: {
22442
- dueAt: string;
22443
- timeZone: string;
22444
- resolvedInstant: string;
22445
- note: string;
22446
- } | undefined;
22443
+ };
22444
+ } | {
22445
+ output: {
22446
+ error: string;
22447
22447
  };
22448
22448
  outputFormat: "json";
22449
- status: 201;
22449
+ status: 400 | 404 | 409;
22450
22450
  input: {
22451
22451
  json: {
22452
22452
  name: string;
@@ -22520,17 +22520,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22520
22520
  } & {
22521
22521
  "/automations/:id": {
22522
22522
  $get: {
22523
- output: {
22524
- error: string;
22525
- };
22526
- outputFormat: "json";
22527
- status: 400 | 404 | 409;
22528
- input: {
22529
- param: {
22530
- id: string;
22531
- };
22532
- };
22533
- } | {
22534
22523
  output: {
22535
22524
  automation: {
22536
22525
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22686,26 +22675,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22686
22675
  id: string;
22687
22676
  };
22688
22677
  };
22689
- };
22690
- };
22691
- } & {
22692
- "/automations/:id": {
22693
- $put: {
22678
+ } | {
22694
22679
  output: {
22695
22680
  error: string;
22696
22681
  };
22697
22682
  outputFormat: "json";
22698
22683
  status: 400 | 404 | 409;
22699
22684
  input: {
22700
- json: {
22685
+ param: {
22686
+ id: string;
22687
+ };
22688
+ };
22689
+ };
22690
+ };
22691
+ } & {
22692
+ "/automations/:id": {
22693
+ $put: {
22694
+ output: {
22695
+ automation: {
22696
+ [x: string]: import("hono/utils/types").JSONValue;
22697
+ id: string;
22698
+ revision: number;
22701
22699
  name: string;
22702
22700
  description?: string | undefined;
22703
- enabled?: boolean | undefined;
22704
- kind?: "github" | "schedule" | undefined;
22701
+ enabled: boolean;
22702
+ kind: "github" | "schedule";
22705
22703
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22706
22704
  intervalSeconds?: number | undefined;
22707
22705
  filters?: {
22708
- [x: string]: unknown;
22706
+ [x: string]: import("hono/utils/types").JSONValue;
22709
22707
  includeExisting?: boolean | undefined;
22710
22708
  requireCurrentLabels?: boolean | undefined;
22711
22709
  authors?: string[] | undefined;
@@ -22714,10 +22712,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22714
22712
  anyLabels?: string[] | undefined;
22715
22713
  excludeLabels?: string[] | undefined;
22716
22714
  changedLabels?: string[] | undefined;
22717
- lookbackDays?: number | undefined;
22718
- maxRecords?: number | undefined;
22715
+ lookbackDays: number;
22716
+ maxRecords: number;
22719
22717
  } | undefined;
22720
22718
  schedule?: {
22719
+ [x: string]: import("hono/utils/types").JSONValue;
22721
22720
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22722
22721
  hour?: number | undefined;
22723
22722
  minute?: number | undefined;
@@ -22728,7 +22727,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22728
22727
  latestStartMinutes?: number | undefined;
22729
22728
  } | undefined;
22730
22729
  task: {
22731
- [x: string]: unknown;
22730
+ [x: string]: import("hono/utils/types").JSONValue;
22732
22731
  archiveWhenDone?: boolean | undefined;
22733
22732
  autoMergePr?: boolean | undefined;
22734
22733
  allowWorkers?: boolean | undefined;
@@ -22750,38 +22749,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22750
22749
  command?: string | undefined;
22751
22750
  onFail?: {
22752
22751
  retry: string;
22753
- max?: number | undefined;
22752
+ max: number;
22754
22753
  } | undefined;
22755
22754
  }[] | undefined;
22756
22755
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22757
22756
  model?: string | undefined;
22758
22757
  effort?: string | undefined;
22758
+ variants?: 1 | 2 | 3 | undefined;
22759
22759
  worktree?: boolean | undefined;
22760
22760
  autonomous?: boolean | undefined;
22761
22761
  systemPrompt?: string | undefined;
22762
- variants?: 1 | undefined;
22763
22762
  };
22764
- expectedRevision: number;
22765
- };
22766
- } & {
22767
- param: {
22768
- id: string;
22763
+ archived?: {
22764
+ [x: string]: import("hono/utils/types").JSONValue;
22765
+ at: string;
22766
+ outcome: "cancelled" | "launched";
22767
+ runId?: string | undefined;
22768
+ receiptId?: string | undefined;
22769
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22770
+ } | undefined;
22771
+ createdAt: string;
22772
+ updatedAt: string;
22769
22773
  };
22770
22774
  };
22771
- } | {
22772
- output: {
22773
- automation: {
22774
- [x: string]: import("hono/utils/types").JSONValue;
22775
- id: string;
22776
- revision: number;
22775
+ outputFormat: "json";
22776
+ status: import("hono/utils/http-status").ContentfulStatusCode;
22777
+ input: {
22778
+ json: {
22777
22779
  name: string;
22778
22780
  description?: string | undefined;
22779
- enabled: boolean;
22780
- kind: "github" | "schedule";
22781
+ enabled?: boolean | undefined;
22782
+ kind?: "github" | "schedule" | undefined;
22781
22783
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22782
22784
  intervalSeconds?: number | undefined;
22783
22785
  filters?: {
22784
- [x: string]: import("hono/utils/types").JSONValue;
22786
+ [x: string]: unknown;
22785
22787
  includeExisting?: boolean | undefined;
22786
22788
  requireCurrentLabels?: boolean | undefined;
22787
22789
  authors?: string[] | undefined;
@@ -22790,11 +22792,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22790
22792
  anyLabels?: string[] | undefined;
22791
22793
  excludeLabels?: string[] | undefined;
22792
22794
  changedLabels?: string[] | undefined;
22793
- lookbackDays: number;
22794
- maxRecords: number;
22795
+ lookbackDays?: number | undefined;
22796
+ maxRecords?: number | undefined;
22795
22797
  } | undefined;
22796
22798
  schedule?: {
22797
- [x: string]: import("hono/utils/types").JSONValue;
22798
22799
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22799
22800
  hour?: number | undefined;
22800
22801
  minute?: number | undefined;
@@ -22805,7 +22806,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22805
22806
  latestStartMinutes?: number | undefined;
22806
22807
  } | undefined;
22807
22808
  task: {
22808
- [x: string]: import("hono/utils/types").JSONValue;
22809
+ [x: string]: unknown;
22809
22810
  archiveWhenDone?: boolean | undefined;
22810
22811
  autoMergePr?: boolean | undefined;
22811
22812
  allowWorkers?: boolean | undefined;
@@ -22827,31 +22828,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22827
22828
  command?: string | undefined;
22828
22829
  onFail?: {
22829
22830
  retry: string;
22830
- max: number;
22831
+ max?: number | undefined;
22831
22832
  } | undefined;
22832
22833
  }[] | undefined;
22833
22834
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
22834
22835
  model?: string | undefined;
22835
22836
  effort?: string | undefined;
22836
- variants?: 1 | 2 | 3 | undefined;
22837
22837
  worktree?: boolean | undefined;
22838
22838
  autonomous?: boolean | undefined;
22839
22839
  systemPrompt?: string | undefined;
22840
+ variants?: 1 | undefined;
22840
22841
  };
22841
- archived?: {
22842
- [x: string]: import("hono/utils/types").JSONValue;
22843
- at: string;
22844
- outcome: "cancelled" | "launched";
22845
- runId?: string | undefined;
22846
- receiptId?: string | undefined;
22847
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22848
- } | undefined;
22849
- createdAt: string;
22850
- updatedAt: string;
22842
+ expectedRevision: number;
22843
+ };
22844
+ } & {
22845
+ param: {
22846
+ id: string;
22851
22847
  };
22852
22848
  };
22849
+ } | {
22850
+ output: {
22851
+ error: string;
22852
+ };
22853
22853
  outputFormat: "json";
22854
- status: import("hono/utils/http-status").ContentfulStatusCode;
22854
+ status: 400 | 404 | 409;
22855
22855
  input: {
22856
22856
  json: {
22857
22857
  name: string;
@@ -22953,17 +22953,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22953
22953
  } & {
22954
22954
  "/automations/:id/enable": {
22955
22955
  $post: {
22956
- output: {
22957
- error: string;
22958
- };
22959
- outputFormat: "json";
22960
- status: 400 | 404 | 409;
22961
- input: {
22962
- param: {
22963
- id: string;
22964
- };
22965
- };
22966
- } | {
22967
22956
  output: {
22968
22957
  automation: {
22969
22958
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23052,11 +23041,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23052
23041
  id: string;
23053
23042
  };
23054
23043
  };
23055
- };
23056
- };
23057
- } & {
23058
- "/automations/:id/pause": {
23059
- $post: {
23044
+ } | {
23060
23045
  output: {
23061
23046
  error: string;
23062
23047
  };
@@ -23067,7 +23052,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23067
23052
  id: string;
23068
23053
  };
23069
23054
  };
23070
- } | {
23055
+ };
23056
+ };
23057
+ } & {
23058
+ "/automations/:id/pause": {
23059
+ $post: {
23071
23060
  output: {
23072
23061
  automation: {
23073
23062
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23156,11 +23145,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23156
23145
  id: string;
23157
23146
  };
23158
23147
  };
23159
- };
23160
- };
23161
- } & {
23162
- "/automations/:id/cancel": {
23163
- $post: {
23148
+ } | {
23164
23149
  output: {
23165
23150
  error: string;
23166
23151
  };
@@ -23171,7 +23156,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23171
23156
  id: string;
23172
23157
  };
23173
23158
  };
23174
- } | {
23159
+ };
23160
+ };
23161
+ } & {
23162
+ "/automations/:id/cancel": {
23163
+ $post: {
23175
23164
  output: {
23176
23165
  automation: {
23177
23166
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23260,16 +23249,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23260
23249
  id: string;
23261
23250
  };
23262
23251
  };
23252
+ } | {
23253
+ output: {
23254
+ error: string;
23255
+ };
23256
+ outputFormat: "json";
23257
+ status: 400 | 404 | 409;
23258
+ input: {
23259
+ param: {
23260
+ id: string;
23261
+ };
23262
+ };
23263
23263
  };
23264
23264
  };
23265
23265
  } & {
23266
23266
  "/automations/:id/run": {
23267
23267
  $post: {
23268
23268
  output: {
23269
- error: string;
23269
+ runId: string;
23270
23270
  };
23271
23271
  outputFormat: "json";
23272
- status: 400 | 404 | 409;
23272
+ status: 202;
23273
23273
  input: {
23274
23274
  param: {
23275
23275
  id: string;
@@ -23277,10 +23277,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23277
23277
  };
23278
23278
  } | {
23279
23279
  output: {
23280
- runId: string;
23280
+ error: string;
23281
23281
  };
23282
23282
  outputFormat: "json";
23283
- status: 202;
23283
+ status: 400 | 404 | 409;
23284
23284
  input: {
23285
23285
  param: {
23286
23286
  id: string;
@@ -23292,10 +23292,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23292
23292
  "/automations/:id/check": {
23293
23293
  $post: {
23294
23294
  output: {
23295
- error: string;
23295
+ checkId: string;
23296
23296
  };
23297
23297
  outputFormat: "json";
23298
- status: 404;
23298
+ status: 202;
23299
23299
  input: {
23300
23300
  json: {
23301
23301
  mode: "execute" | "preview";
@@ -23310,7 +23310,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23310
23310
  error: string;
23311
23311
  };
23312
23312
  outputFormat: "json";
23313
- status: 409;
23313
+ status: 404;
23314
23314
  input: {
23315
23315
  json: {
23316
23316
  mode: "execute" | "preview";
@@ -23322,10 +23322,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23322
23322
  };
23323
23323
  } | {
23324
23324
  output: {
23325
- checkId: string;
23325
+ error: string;
23326
23326
  };
23327
23327
  outputFormat: "json";
23328
- status: 202;
23328
+ status: 409;
23329
23329
  input: {
23330
23330
  json: {
23331
23331
  mode: "execute" | "preview";
@@ -24497,6 +24497,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24497
24497
  } & {
24498
24498
  "/run-summaries": {
24499
24499
  $get: {
24500
+ output: {
24501
+ error: string;
24502
+ code?: "invalid_input" | undefined;
24503
+ };
24504
+ outputFormat: "json";
24505
+ status: 400;
24506
+ input: {
24507
+ query: {
24508
+ archived?: "all" | "recent" | undefined;
24509
+ };
24510
+ };
24511
+ } | {
24500
24512
  output: {
24501
24513
  id: string;
24502
24514
  title: string;
@@ -24621,18 +24633,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24621
24633
  archived?: "all" | "recent" | undefined;
24622
24634
  };
24623
24635
  };
24624
- } | {
24625
- output: {
24626
- error: string;
24627
- code?: "invalid_input" | undefined;
24628
- };
24629
- outputFormat: "json";
24630
- status: 400;
24631
- input: {
24632
- query: {
24633
- archived?: "all" | "recent" | undefined;
24634
- };
24635
- };
24636
24636
  };
24637
24637
  };
24638
24638
  } & {
@@ -24959,11 +24959,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24959
24959
  "/runs/:id/worker-destroy": {
24960
24960
  $post: {
24961
24961
  output: {
24962
- error: string;
24963
- code?: "invalid_input" | undefined;
24962
+ workerId: string;
24963
+ state: "complete" | "incomplete";
24964
+ deleted?: ({
24965
+ kind: "worktree";
24966
+ path: string;
24967
+ } | {
24968
+ kind: "branch";
24969
+ ref: string;
24970
+ })[] | undefined;
24971
+ remaining: ("branch" | "process" | "worktree")[];
24972
+ error?: string | undefined;
24964
24973
  };
24965
24974
  outputFormat: "json";
24966
- status: 400;
24975
+ status: 200;
24967
24976
  input: {
24968
24977
  query: {
24969
24978
  [x: string]: string | string[];
@@ -24977,20 +24986,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24977
24986
  };
24978
24987
  } | {
24979
24988
  output: {
24980
- workerId: string;
24981
- state: "complete" | "incomplete";
24982
- deleted?: ({
24983
- kind: "worktree";
24984
- path: string;
24985
- } | {
24986
- kind: "branch";
24987
- ref: string;
24988
- })[] | undefined;
24989
- remaining: ("branch" | "process" | "worktree")[];
24990
- error?: string | undefined;
24989
+ error: string;
24990
+ code?: "invalid_input" | undefined;
24991
24991
  };
24992
24992
  outputFormat: "json";
24993
- status: 200;
24993
+ status: 400;
24994
24994
  input: {
24995
24995
  query: {
24996
24996
  [x: string]: string | string[];
@@ -25096,6 +25096,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25096
25096
  } & {
25097
25097
  "/runs/:id/archive": {
25098
25098
  $post: {
25099
+ output: {
25100
+ error: string;
25101
+ };
25102
+ outputFormat: "json";
25103
+ status: 404;
25104
+ input: {
25105
+ json: {
25106
+ archived?: boolean | undefined;
25107
+ };
25108
+ } & {
25109
+ param: {
25110
+ id: string;
25111
+ };
25112
+ };
25113
+ } | {
25099
25114
  output: {
25100
25115
  archiveWhenDone?: boolean | undefined;
25101
25116
  autoMergePr?: boolean | undefined;
@@ -26153,32 +26168,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26153
26168
  id: string;
26154
26169
  };
26155
26170
  };
26156
- } | {
26171
+ };
26172
+ };
26173
+ } & {
26174
+ "/runs/:id/pin": {
26175
+ $post: {
26157
26176
  output: {
26158
26177
  error: string;
26178
+ code?: "invalid_input" | undefined;
26159
26179
  };
26160
26180
  outputFormat: "json";
26161
- status: 404;
26181
+ status: 400;
26162
26182
  input: {
26163
- json: {
26164
- archived?: boolean | undefined;
26165
- };
26166
- } & {
26167
26183
  param: {
26168
26184
  id: string;
26169
26185
  };
26186
+ } & {
26187
+ json: {
26188
+ pinned?: boolean | undefined;
26189
+ };
26170
26190
  };
26171
- };
26172
- };
26173
- } & {
26174
- "/runs/:id/pin": {
26175
- $post: {
26191
+ } | {
26176
26192
  output: {
26177
26193
  error: string;
26178
- code?: "invalid_input" | undefined;
26179
26194
  };
26180
26195
  outputFormat: "json";
26181
- status: 400;
26196
+ status: 404;
26182
26197
  input: {
26183
26198
  param: {
26184
26199
  id: string;
@@ -27246,29 +27261,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27246
27261
  pinned?: boolean | undefined;
27247
27262
  };
27248
27263
  };
27249
- } | {
27264
+ };
27265
+ };
27266
+ } & {
27267
+ "/runs/:id/notify": {
27268
+ $post: {
27250
27269
  output: {
27251
27270
  error: string;
27271
+ code?: "invalid_input" | undefined;
27252
27272
  };
27253
27273
  outputFormat: "json";
27254
- status: 404;
27274
+ status: 400;
27255
27275
  input: {
27256
27276
  param: {
27257
27277
  id: string;
27258
27278
  };
27259
27279
  } & {
27260
27280
  json: {
27261
- pinned?: boolean | undefined;
27281
+ notify: boolean;
27282
+ message?: string | undefined;
27262
27283
  };
27263
27284
  };
27264
- };
27265
- };
27266
- } & {
27267
- "/runs/:id/notify": {
27268
- $post: {
27285
+ } | {
27269
27286
  output: {
27270
27287
  error: string;
27271
- code?: "invalid_input" | undefined;
27272
27288
  };
27273
27289
  outputFormat: "json";
27274
27290
  status: 400;
@@ -27282,6 +27298,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27282
27298
  message?: string | undefined;
27283
27299
  };
27284
27300
  };
27301
+ } | {
27302
+ output: {
27303
+ error: string;
27304
+ };
27305
+ outputFormat: "json";
27306
+ status: 404;
27307
+ input: {
27308
+ param: {
27309
+ id: string;
27310
+ };
27311
+ } & {
27312
+ json: {
27313
+ notify: boolean;
27314
+ message?: string | undefined;
27315
+ };
27316
+ };
27285
27317
  } | {
27286
27318
  output: {
27287
27319
  archiveWhenDone?: boolean | undefined;
@@ -28341,7 +28373,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28341
28373
  message?: string | undefined;
28342
28374
  };
28343
28375
  };
28344
- } | {
28376
+ };
28377
+ };
28378
+ } & {
28379
+ "/runs/:id/auto-resume": {
28380
+ $delete: {
28345
28381
  output: {
28346
28382
  error: string;
28347
28383
  };
@@ -28351,33 +28387,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28351
28387
  param: {
28352
28388
  id: string;
28353
28389
  };
28354
- } & {
28355
- json: {
28356
- notify: boolean;
28357
- message?: string | undefined;
28358
- };
28359
28390
  };
28360
28391
  } | {
28361
28392
  output: {
28362
- error: string;
28393
+ cancelled: true;
28363
28394
  };
28364
28395
  outputFormat: "json";
28365
- status: 400;
28396
+ status: import("hono/utils/http-status").ContentfulStatusCode;
28366
28397
  input: {
28367
28398
  param: {
28368
28399
  id: string;
28369
28400
  };
28370
- } & {
28371
- json: {
28372
- notify: boolean;
28373
- message?: string | undefined;
28374
- };
28375
28401
  };
28376
28402
  };
28377
28403
  };
28378
28404
  } & {
28379
- "/runs/:id/auto-resume": {
28380
- $delete: {
28405
+ "/runs/:id/read": {
28406
+ $post: {
28381
28407
  output: {
28382
28408
  error: string;
28383
28409
  };
@@ -28389,21 +28415,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28389
28415
  };
28390
28416
  };
28391
28417
  } | {
28392
- output: {
28393
- cancelled: true;
28394
- };
28395
- outputFormat: "json";
28396
- status: import("hono/utils/http-status").ContentfulStatusCode;
28397
- input: {
28398
- param: {
28399
- id: string;
28400
- };
28401
- };
28402
- };
28403
- };
28404
- } & {
28405
- "/runs/:id/read": {
28406
- $post: {
28407
28418
  output: {
28408
28419
  archiveWhenDone?: boolean | undefined;
28409
28420
  autoMergePr?: boolean | undefined;
@@ -29457,7 +29468,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29457
29468
  id: string;
29458
29469
  };
29459
29470
  };
29460
- } | {
29471
+ };
29472
+ };
29473
+ } & {
29474
+ "/runs/:id/unread": {
29475
+ $post: {
29461
29476
  output: {
29462
29477
  error: string;
29463
29478
  };
@@ -29468,11 +29483,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29468
29483
  id: string;
29469
29484
  };
29470
29485
  };
29471
- };
29472
- };
29473
- } & {
29474
- "/runs/:id/unread": {
29475
- $post: {
29486
+ } | {
29476
29487
  output: {
29477
29488
  archiveWhenDone?: boolean | undefined;
29478
29489
  autoMergePr?: boolean | undefined;
@@ -30526,17 +30537,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30526
30537
  id: string;
30527
30538
  };
30528
30539
  };
30529
- } | {
30530
- output: {
30531
- error: string;
30532
- };
30533
- outputFormat: "json";
30534
- status: 404;
30535
- input: {
30536
- param: {
30537
- id: string;
30538
- };
30539
- };
30540
30540
  };
30541
30541
  };
30542
30542
  } & {
@@ -31685,6 +31685,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31685
31685
  } & {
31686
31686
  "/runs/:id": {
31687
31687
  $get: {
31688
+ output: {
31689
+ error: string;
31690
+ };
31691
+ outputFormat: "json";
31692
+ status: 404;
31693
+ input: {
31694
+ param: {
31695
+ id: string;
31696
+ };
31697
+ };
31698
+ } | {
31688
31699
  output: {
31689
31700
  archiveWhenDone?: boolean | undefined;
31690
31701
  autoMergePr?: boolean | undefined;
@@ -32745,17 +32756,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32745
32756
  id: string;
32746
32757
  };
32747
32758
  };
32748
- } | {
32749
- output: {
32750
- error: string;
32751
- };
32752
- outputFormat: "json";
32753
- status: 404;
32754
- input: {
32755
- param: {
32756
- id: string;
32757
- };
32758
- };
32759
32759
  };
32760
32760
  };
32761
32761
  } & {
@@ -32883,6 +32883,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32883
32883
  } & {
32884
32884
  "/runs/:id": {
32885
32885
  $patch: {
32886
+ output: {
32887
+ error: string;
32888
+ };
32889
+ outputFormat: "json";
32890
+ status: 400;
32891
+ input: {
32892
+ json: {
32893
+ archiveWhenDone?: boolean | undefined;
32894
+ autoMergePr?: boolean | undefined;
32895
+ allowWorkers?: boolean | undefined;
32896
+ allowMessaging?: boolean | undefined;
32897
+ title?: string | undefined;
32898
+ task?: string | undefined;
32899
+ };
32900
+ } & {
32901
+ param: {
32902
+ id: string;
32903
+ };
32904
+ };
32905
+ } | {
32906
+ output: {
32907
+ error: string;
32908
+ };
32909
+ outputFormat: "json";
32910
+ status: 404;
32911
+ input: {
32912
+ json: {
32913
+ archiveWhenDone?: boolean | undefined;
32914
+ autoMergePr?: boolean | undefined;
32915
+ allowWorkers?: boolean | undefined;
32916
+ allowMessaging?: boolean | undefined;
32917
+ title?: string | undefined;
32918
+ task?: string | undefined;
32919
+ };
32920
+ } & {
32921
+ param: {
32922
+ id: string;
32923
+ };
32924
+ };
32925
+ } | {
32926
+ output: {
32927
+ error: string;
32928
+ };
32929
+ outputFormat: "json";
32930
+ status: 409;
32931
+ input: {
32932
+ json: {
32933
+ archiveWhenDone?: boolean | undefined;
32934
+ autoMergePr?: boolean | undefined;
32935
+ allowWorkers?: boolean | undefined;
32936
+ allowMessaging?: boolean | undefined;
32937
+ title?: string | undefined;
32938
+ task?: string | undefined;
32939
+ };
32940
+ } & {
32941
+ param: {
32942
+ id: string;
32943
+ };
32944
+ };
32945
+ } | {
32886
32946
  output: {
32887
32947
  archiveWhenDone?: boolean | undefined;
32888
32948
  autoMergePr?: boolean | undefined;
@@ -33945,66 +34005,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33945
34005
  id: string;
33946
34006
  };
33947
34007
  };
33948
- } | {
33949
- output: {
33950
- error: string;
33951
- };
33952
- outputFormat: "json";
33953
- status: 404;
33954
- input: {
33955
- json: {
33956
- archiveWhenDone?: boolean | undefined;
33957
- autoMergePr?: boolean | undefined;
33958
- allowWorkers?: boolean | undefined;
33959
- allowMessaging?: boolean | undefined;
33960
- title?: string | undefined;
33961
- task?: string | undefined;
33962
- };
33963
- } & {
33964
- param: {
33965
- id: string;
33966
- };
33967
- };
33968
- } | {
33969
- output: {
33970
- error: string;
33971
- };
33972
- outputFormat: "json";
33973
- status: 400;
33974
- input: {
33975
- json: {
33976
- archiveWhenDone?: boolean | undefined;
33977
- autoMergePr?: boolean | undefined;
33978
- allowWorkers?: boolean | undefined;
33979
- allowMessaging?: boolean | undefined;
33980
- title?: string | undefined;
33981
- task?: string | undefined;
33982
- };
33983
- } & {
33984
- param: {
33985
- id: string;
33986
- };
33987
- };
33988
- } | {
33989
- output: {
33990
- error: string;
33991
- };
33992
- outputFormat: "json";
33993
- status: 409;
33994
- input: {
33995
- json: {
33996
- archiveWhenDone?: boolean | undefined;
33997
- autoMergePr?: boolean | undefined;
33998
- allowWorkers?: boolean | undefined;
33999
- allowMessaging?: boolean | undefined;
34000
- title?: string | undefined;
34001
- task?: string | undefined;
34002
- };
34003
- } & {
34004
- param: {
34005
- id: string;
34006
- };
34007
- };
34008
34008
  };
34009
34009
  };
34010
34010
  } & {
@@ -34109,7 +34109,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34109
34109
  error: string;
34110
34110
  };
34111
34111
  outputFormat: "json";
34112
- status: 404;
34112
+ status: 400;
34113
34113
  input: {
34114
34114
  json: {
34115
34115
  text?: string | undefined;
@@ -34128,7 +34128,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34128
34128
  error: string;
34129
34129
  };
34130
34130
  outputFormat: "json";
34131
- status: 409;
34131
+ status: 404;
34132
34132
  input: {
34133
34133
  json: {
34134
34134
  text?: string | undefined;
@@ -34144,10 +34144,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34144
34144
  };
34145
34145
  } | {
34146
34146
  output: {
34147
- delivered: true;
34147
+ error: string;
34148
34148
  };
34149
34149
  outputFormat: "json";
34150
- status: import("hono/utils/http-status").ContentfulStatusCode;
34150
+ status: 409;
34151
34151
  input: {
34152
34152
  json: {
34153
34153
  text?: string | undefined;
@@ -34163,10 +34163,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34163
34163
  };
34164
34164
  } | {
34165
34165
  output: {
34166
- error: string;
34166
+ delivered: true;
34167
34167
  };
34168
34168
  outputFormat: "json";
34169
- status: 400;
34169
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34170
34170
  input: {
34171
34171
  json: {
34172
34172
  text?: string | undefined;
@@ -34233,7 +34233,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34233
34233
  error: string;
34234
34234
  };
34235
34235
  outputFormat: "json";
34236
- status: 404;
34236
+ status: 400;
34237
34237
  input: {
34238
34238
  json: {
34239
34239
  text?: string | undefined;
@@ -34254,7 +34254,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34254
34254
  error: string;
34255
34255
  };
34256
34256
  outputFormat: "json";
34257
- status: 400;
34257
+ status: 404;
34258
34258
  input: {
34259
34259
  json: {
34260
34260
  text?: string | undefined;
@@ -34406,7 +34406,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34406
34406
  error: string;
34407
34407
  };
34408
34408
  outputFormat: "json";
34409
- status: 404;
34409
+ status: 400;
34410
34410
  input: {
34411
34411
  json: {
34412
34412
  text?: string | undefined;
@@ -34429,7 +34429,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34429
34429
  error: string;
34430
34430
  };
34431
34431
  outputFormat: "json";
34432
- status: 400;
34432
+ status: 404;
34433
34433
  input: {
34434
34434
  json: {
34435
34435
  text?: string | undefined;
@@ -34540,7 +34540,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34540
34540
  error: string;
34541
34541
  };
34542
34542
  outputFormat: "json";
34543
- status: 404;
34543
+ status: 400;
34544
34544
  input: {
34545
34545
  json: {
34546
34546
  target: string;
@@ -34556,7 +34556,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34556
34556
  error: string;
34557
34557
  };
34558
34558
  outputFormat: "json";
34559
- status: 409;
34559
+ status: 404;
34560
34560
  input: {
34561
34561
  json: {
34562
34562
  target: string;
@@ -34572,7 +34572,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34572
34572
  error: string;
34573
34573
  };
34574
34574
  outputFormat: "json";
34575
- status: 400;
34575
+ status: 409;
34576
34576
  input: {
34577
34577
  json: {
34578
34578
  target: string;
@@ -34629,9 +34629,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34629
34629
  } & {
34630
34630
  "/runs/:id/images/:file": {
34631
34631
  $get: {
34632
- output: {};
34633
- outputFormat: string;
34634
- status: import("hono/utils/http-status").StatusCode;
34632
+ output: {
34633
+ error: string;
34634
+ code?: "invalid_input" | undefined;
34635
+ };
34636
+ outputFormat: "json";
34637
+ status: 400;
34635
34638
  input: {
34636
34639
  param: {
34637
34640
  id: string;
@@ -34639,12 +34642,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34639
34642
  };
34640
34643
  };
34641
34644
  } | {
34642
- output: {
34643
- error: string;
34644
- code?: "invalid_input" | undefined;
34645
- };
34646
- outputFormat: "json";
34647
- status: 400;
34645
+ output: {};
34646
+ outputFormat: string;
34647
+ status: import("hono/utils/http-status").StatusCode;
34648
34648
  input: {
34649
34649
  param: {
34650
34650
  id: string;
@@ -34680,17 +34680,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34680
34680
  } & {
34681
34681
  "/runs/:id/changes": {
34682
34682
  $get: {
34683
- output: {
34684
- error: string;
34685
- };
34686
- outputFormat: "json";
34687
- status: 404 | 409;
34688
- input: {
34689
- param: {
34690
- id: string;
34691
- };
34692
- };
34693
- } | {
34694
34683
  output: {
34695
34684
  files: {
34696
34685
  path: string;
@@ -34719,11 +34708,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34719
34708
  id: string;
34720
34709
  };
34721
34710
  };
34722
- };
34723
- };
34724
- } & {
34725
- "/runs/:id/commits": {
34726
- $get: {
34711
+ } | {
34727
34712
  output: {
34728
34713
  error: string;
34729
34714
  };
@@ -34734,7 +34719,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34734
34719
  id: string;
34735
34720
  };
34736
34721
  };
34737
- } | {
34722
+ };
34723
+ };
34724
+ } & {
34725
+ "/runs/:id/commits": {
34726
+ $get: {
34738
34727
  output: {
34739
34728
  commits: {
34740
34729
  sha: string;
@@ -34750,11 +34739,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34750
34739
  id: string;
34751
34740
  };
34752
34741
  };
34753
- };
34754
- };
34755
- } & {
34756
- "/runs/:id/commit/:sha": {
34757
- $get: {
34742
+ } | {
34758
34743
  output: {
34759
34744
  error: string;
34760
34745
  };
@@ -34763,11 +34748,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34763
34748
  input: {
34764
34749
  param: {
34765
34750
  id: string;
34766
- } & {
34767
- sha: string;
34768
34751
  };
34769
34752
  };
34770
- } | {
34753
+ };
34754
+ };
34755
+ } & {
34756
+ "/runs/:id/commit/:sha": {
34757
+ $get: {
34771
34758
  output: {
34772
34759
  sha: string;
34773
34760
  subject: string;
@@ -34798,6 +34785,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34798
34785
  sha: string;
34799
34786
  };
34800
34787
  };
34788
+ } | {
34789
+ output: {
34790
+ error: string;
34791
+ };
34792
+ outputFormat: "json";
34793
+ status: 404 | 409;
34794
+ input: {
34795
+ param: {
34796
+ id: string;
34797
+ } & {
34798
+ sha: string;
34799
+ };
34800
+ };
34801
34801
  };
34802
34802
  };
34803
34803
  } & {
@@ -34833,22 +34833,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34833
34833
  raw?: "1" | undefined;
34834
34834
  };
34835
34835
  };
34836
- } | {
34837
- output: {
34838
- error: string;
34839
- };
34840
- outputFormat: "json";
34841
- status: 404 | 409;
34842
- input: {
34843
- param: {
34844
- id: string;
34845
- };
34846
- } & {
34847
- query: {
34848
- path: string | string[];
34849
- raw?: "1" | undefined;
34850
- };
34851
- };
34852
34836
  } | {
34853
34837
  output: {
34854
34838
  type: "file";
@@ -34885,6 +34869,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34885
34869
  raw?: "1" | undefined;
34886
34870
  };
34887
34871
  };
34872
+ } | {
34873
+ output: {
34874
+ error: string;
34875
+ };
34876
+ outputFormat: "json";
34877
+ status: 404 | 409;
34878
+ input: {
34879
+ param: {
34880
+ id: string;
34881
+ };
34882
+ } & {
34883
+ query: {
34884
+ path: string | string[];
34885
+ raw?: "1" | undefined;
34886
+ };
34887
+ };
34888
34888
  };
34889
34889
  };
34890
34890
  } & {
@@ -34949,6 +34949,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34949
34949
  artifactId: string;
34950
34950
  };
34951
34951
  };
34952
+ } | {
34953
+ output: {
34954
+ error: string;
34955
+ };
34956
+ outputFormat: "json";
34957
+ status: 404;
34958
+ input: {
34959
+ param: {
34960
+ id: string;
34961
+ artifactId: string;
34962
+ };
34963
+ };
34952
34964
  } | {
34953
34965
  output: {
34954
34966
  type: "file";
@@ -34977,18 +34989,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34977
34989
  artifactId: string;
34978
34990
  };
34979
34991
  };
34980
- } | {
34981
- output: {
34982
- error: string;
34983
- };
34984
- outputFormat: "json";
34985
- status: 404;
34986
- input: {
34987
- param: {
34988
- id: string;
34989
- artifactId: string;
34990
- };
34991
- };
34992
34992
  };
34993
34993
  };
34994
34994
  } & {
@@ -35166,10 +35166,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35166
35166
  };
35167
35167
  } | {
35168
35168
  output: {
35169
- error: string;
35169
+ type: 'dir';
35170
+ path: string;
35171
+ entries: {
35172
+ name: string;
35173
+ type: 'dir' | 'file';
35174
+ size?: number;
35175
+ }[];
35170
35176
  };
35171
35177
  outputFormat: "json";
35172
- status: 404 | 409;
35178
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35173
35179
  input: {
35174
35180
  query: {
35175
35181
  path?: string | undefined;
@@ -35182,13 +35188,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35182
35188
  };
35183
35189
  } | {
35184
35190
  output: {
35185
- type: 'dir';
35191
+ type: 'file';
35186
35192
  path: string;
35187
- entries: {
35188
- name: string;
35189
- type: 'dir' | 'file';
35190
- size?: number;
35191
- }[];
35193
+ size: number;
35194
+ binary: boolean;
35195
+ tooLarge: boolean;
35196
+ content?: string | undefined;
35192
35197
  };
35193
35198
  outputFormat: "json";
35194
35199
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -35204,15 +35209,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35204
35209
  };
35205
35210
  } | {
35206
35211
  output: {
35207
- type: 'file';
35208
- path: string;
35209
- size: number;
35210
- binary: boolean;
35211
- tooLarge: boolean;
35212
- content?: string | undefined;
35212
+ error: string;
35213
35213
  };
35214
35214
  outputFormat: "json";
35215
- status: import("hono/utils/http-status").ContentfulStatusCode;
35215
+ status: 404 | 409;
35216
35216
  input: {
35217
35217
  query: {
35218
35218
  path?: string | undefined;
@@ -35229,10 +35229,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35229
35229
  "/runs/:id/git/commit": {
35230
35230
  $post: {
35231
35231
  output: {
35232
- error: string;
35232
+ committed: true;
35233
+ sha: string;
35233
35234
  };
35234
35235
  outputFormat: "json";
35235
- status: 404 | 409;
35236
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35236
35237
  input: {
35237
35238
  json: {
35238
35239
  message: string;
@@ -35244,11 +35245,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35244
35245
  };
35245
35246
  } | {
35246
35247
  output: {
35247
- committed: true;
35248
- sha: string;
35248
+ error: string;
35249
35249
  };
35250
35250
  outputFormat: "json";
35251
- status: import("hono/utils/http-status").ContentfulStatusCode;
35251
+ status: 404 | 409;
35252
35252
  input: {
35253
35253
  json: {
35254
35254
  message: string;
@@ -35264,10 +35264,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35264
35264
  "/runs/:id/git/push": {
35265
35265
  $post: {
35266
35266
  output: {
35267
- error: string;
35267
+ pushed: true;
35268
+ branch: string;
35269
+ remote: string;
35270
+ upstreamSet: boolean;
35268
35271
  };
35269
35272
  outputFormat: "json";
35270
- status: 404 | 409;
35273
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35271
35274
  input: {
35272
35275
  param: {
35273
35276
  id: string;
@@ -35275,13 +35278,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35275
35278
  };
35276
35279
  } | {
35277
35280
  output: {
35278
- pushed: true;
35279
- branch: string;
35280
- remote: string;
35281
- upstreamSet: boolean;
35281
+ error: string;
35282
35282
  };
35283
35283
  outputFormat: "json";
35284
- status: import("hono/utils/http-status").ContentfulStatusCode;
35284
+ status: 404 | 409;
35285
35285
  input: {
35286
35286
  param: {
35287
35287
  id: string;
@@ -35322,10 +35322,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35322
35322
  "/runs/:id/remove-worktree": {
35323
35323
  $post: {
35324
35324
  output: {
35325
- error: string;
35325
+ removed: true;
35326
35326
  };
35327
35327
  outputFormat: "json";
35328
- status: 404 | 409;
35328
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35329
35329
  input: {
35330
35330
  param: {
35331
35331
  id: string;
@@ -35333,10 +35333,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35333
35333
  };
35334
35334
  } | {
35335
35335
  output: {
35336
- removed: true;
35336
+ error: string;
35337
35337
  };
35338
35338
  outputFormat: "json";
35339
- status: import("hono/utils/http-status").ContentfulStatusCode;
35339
+ status: 404 | 409;
35340
35340
  input: {
35341
35341
  param: {
35342
35342
  id: string;
@@ -35348,10 +35348,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35348
35348
  "/runs/:id": {
35349
35349
  $delete: {
35350
35350
  output: {
35351
- error: string;
35351
+ deleted: true;
35352
35352
  };
35353
35353
  outputFormat: "json";
35354
- status: 404 | 409;
35354
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35355
35355
  input: {
35356
35356
  param: {
35357
35357
  id: string;
@@ -35359,10 +35359,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35359
35359
  };
35360
35360
  } | {
35361
35361
  output: {
35362
- deleted: true;
35362
+ error: string;
35363
35363
  };
35364
35364
  outputFormat: "json";
35365
- status: import("hono/utils/http-status").ContentfulStatusCode;
35365
+ status: 404 | 409;
35366
35366
  input: {
35367
35367
  param: {
35368
35368
  id: string;