@wjarka/cezarion 0.14.9-dev.1017 → 0.14.9-dev.1020

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.
@@ -331,10 +331,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
331
331
  };
332
332
  } | {
333
333
  output: {
334
- error: string;
334
+ path: string;
335
+ parent: string | null;
336
+ dirs: {
337
+ name: string;
338
+ path: string;
339
+ isRepo: boolean;
340
+ }[];
341
+ truncated: boolean;
335
342
  };
336
343
  outputFormat: "json";
337
- status: 400 | 404;
344
+ status: import("hono/utils/http-status").ContentfulStatusCode;
338
345
  input: {
339
346
  query: {
340
347
  path?: string | undefined;
@@ -343,17 +350,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
343
350
  };
344
351
  } | {
345
352
  output: {
346
- path: string;
347
- parent: string | null;
348
- dirs: {
349
- name: string;
350
- path: string;
351
- isRepo: boolean;
352
- }[];
353
- truncated: boolean;
353
+ error: string;
354
354
  };
355
355
  outputFormat: "json";
356
- status: import("hono/utils/http-status").ContentfulStatusCode;
356
+ status: 400 | 404;
357
357
  input: {
358
358
  query: {
359
359
  path?: string | undefined;
@@ -365,6 +365,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
365
365
  }, "/"> | import("hono/types").MergeSchemaPath<{
366
366
  "/automation-checks/:checkId": {
367
367
  $get: {
368
+ output: {
369
+ error: string;
370
+ };
371
+ outputFormat: "json";
372
+ status: 404;
373
+ input: {
374
+ param: {
375
+ checkId: string;
376
+ };
377
+ };
378
+ } | {
368
379
  output: {
369
380
  id: string;
370
381
  automationId: string;
@@ -383,17 +394,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
383
394
  checkId: string;
384
395
  };
385
396
  };
386
- } | {
387
- output: {
388
- error: string;
389
- };
390
- outputFormat: "json";
391
- status: 404;
392
- input: {
393
- param: {
394
- checkId: string;
395
- };
396
- };
397
397
  };
398
398
  };
399
399
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -545,17 +545,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
545
545
  projectId: string | string[];
546
546
  };
547
547
  };
548
- } | {
549
- output: {
550
- error: string;
551
- };
552
- outputFormat: "json";
553
- status: 404 | 409;
554
- input: {
555
- query: {
556
- projectId: string | string[];
557
- };
558
- };
559
548
  } | {
560
549
  output: {
561
550
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -582,6 +571,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
582
571
  projectId: string | string[];
583
572
  };
584
573
  };
574
+ } | {
575
+ output: {
576
+ error: string;
577
+ };
578
+ outputFormat: "json";
579
+ status: 404 | 409;
580
+ input: {
581
+ query: {
582
+ projectId: string | string[];
583
+ };
584
+ };
585
585
  };
586
586
  };
587
587
  } & {
@@ -720,17 +720,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
720
720
  };
721
721
  } | {
722
722
  output: {
723
- providers: {
724
- provider: ProviderId;
725
- status: import("../core/provider-auth.ts").ProviderConnectionState;
726
- enabled?: boolean;
727
- hint?: string;
728
- authFailureId?: string;
729
- profileId?: string;
730
- }[];
723
+ error: string;
731
724
  };
732
725
  outputFormat: "json";
733
- status: import("hono/utils/http-status").ContentfulStatusCode;
726
+ status: 500;
734
727
  input: {
735
728
  param: {
736
729
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -742,10 +735,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
742
735
  };
743
736
  } | {
744
737
  output: {
745
- error: string;
738
+ providers: {
739
+ provider: ProviderId;
740
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
741
+ enabled?: boolean;
742
+ hint?: string;
743
+ authFailureId?: string;
744
+ profileId?: string;
745
+ }[];
746
746
  };
747
747
  outputFormat: "json";
748
- status: 500;
748
+ status: import("hono/utils/http-status").ContentfulStatusCode;
749
749
  input: {
750
750
  param: {
751
751
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -777,17 +777,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
777
777
  };
778
778
  } | {
779
779
  output: {
780
- providers: {
781
- provider: ProviderId;
782
- status: import("../core/provider-auth.ts").ProviderConnectionState;
783
- enabled?: boolean;
784
- hint?: string;
785
- authFailureId?: string;
786
- profileId?: string;
787
- }[];
780
+ error: string;
788
781
  };
789
782
  outputFormat: "json";
790
- status: import("hono/utils/http-status").ContentfulStatusCode;
783
+ status: 409;
791
784
  input: {
792
785
  param: {
793
786
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -799,10 +792,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
799
792
  };
800
793
  } | {
801
794
  output: {
802
- error: string;
795
+ providers: {
796
+ provider: ProviderId;
797
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
798
+ enabled?: boolean;
799
+ hint?: string;
800
+ authFailureId?: string;
801
+ profileId?: string;
802
+ }[];
803
803
  };
804
804
  outputFormat: "json";
805
- status: 409;
805
+ status: import("hono/utils/http-status").ContentfulStatusCode;
806
806
  input: {
807
807
  param: {
808
808
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -821,7 +821,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
821
821
  error: string;
822
822
  };
823
823
  outputFormat: "json";
824
- status: 409;
824
+ status: 400;
825
825
  input: {
826
826
  json: {
827
827
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -833,7 +833,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
833
833
  error: string;
834
834
  };
835
835
  outputFormat: "json";
836
- status: 400;
836
+ status: 409;
837
837
  input: {
838
838
  json: {
839
839
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -921,35 +921,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
921
921
  "/workspace/config": {
922
922
  $put: {
923
923
  output: {
924
- browseRoot: string;
925
- projectsDir: string;
926
- skillsAutoUpdate: boolean | null;
927
- effectiveSkillsAutoUpdate: boolean;
928
- composerDefaults: {
929
- autonomous: boolean | null;
930
- worktree: boolean | null;
931
- inheritedAutonomous: boolean | 'source-dependent';
932
- inheritedWorktree: boolean;
933
- };
934
- resources: {
935
- maxParallel: number;
936
- maxMonitoringSessions: number;
937
- monitoringWakeIntervalMinutes: number | null;
938
- autoResumeOnUsageLimit: boolean;
939
- memoryLimitMb: number | null;
940
- worktreeRetentionDefault: number;
941
- };
942
- agentDefaults: {
943
- runner?: ProviderId;
944
- models?: {
945
- claude?: string;
946
- codex?: string;
947
- opencode?: string;
948
- } | undefined;
949
- };
924
+ error: string;
950
925
  };
951
926
  outputFormat: "json";
952
- status: import("hono/utils/http-status").ContentfulStatusCode;
927
+ status: 400;
953
928
  input: {
954
929
  json: {
955
930
  browseRoot?: string | undefined;
@@ -984,7 +959,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
984
959
  error: string;
985
960
  };
986
961
  outputFormat: "json";
987
- status: 400;
962
+ status: 500;
988
963
  input: {
989
964
  json: {
990
965
  browseRoot?: string | undefined;
@@ -1016,10 +991,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1016
991
  };
1017
992
  } | {
1018
993
  output: {
1019
- error: string;
994
+ browseRoot: string;
995
+ projectsDir: string;
996
+ skillsAutoUpdate: boolean | null;
997
+ effectiveSkillsAutoUpdate: boolean;
998
+ composerDefaults: {
999
+ autonomous: boolean | null;
1000
+ worktree: boolean | null;
1001
+ inheritedAutonomous: boolean | 'source-dependent';
1002
+ inheritedWorktree: boolean;
1003
+ };
1004
+ resources: {
1005
+ maxParallel: number;
1006
+ maxMonitoringSessions: number;
1007
+ monitoringWakeIntervalMinutes: number | null;
1008
+ autoResumeOnUsageLimit: boolean;
1009
+ memoryLimitMb: number | null;
1010
+ worktreeRetentionDefault: number;
1011
+ };
1012
+ agentDefaults: {
1013
+ runner?: ProviderId;
1014
+ models?: {
1015
+ claude?: string;
1016
+ codex?: string;
1017
+ opencode?: string;
1018
+ } | undefined;
1019
+ };
1020
1020
  };
1021
1021
  outputFormat: "json";
1022
- status: 500;
1022
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1023
1023
  input: {
1024
1024
  json: {
1025
1025
  browseRoot?: string | undefined;
@@ -1101,45 +1101,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1101
1101
  "/workspace/ui-state": {
1102
1102
  $put: {
1103
1103
  output: {
1104
- [x: string]: import("hono/utils/types").JSONValue;
1105
- sidebar?: {
1106
- [x: string]: import("hono/utils/types").JSONValue;
1107
- collapsed?: {
1108
- [x: string]: boolean;
1109
- } | undefined;
1110
- } | undefined;
1111
- dismissedProviderAuthFailures?: {
1112
- claude?: string | undefined;
1113
- codex?: string | undefined;
1114
- opencode?: string | undefined;
1115
- pi?: string | undefined;
1116
- cursor?: string | undefined;
1117
- } | undefined;
1118
- appearance?: {
1119
- accent?: "cezarion" | "lime" | "violet" | undefined;
1120
- density?: "comfortable" | "compact" | "ultra" | undefined;
1121
- width?: "narrow" | "wide" | undefined;
1122
- } | undefined;
1123
- notifications?: {
1124
- [x: string]: import("hono/utils/types").JSONValue;
1125
- enabled?: boolean | undefined;
1126
- } | undefined;
1127
- taskTable?: {
1128
- [x: string]: import("hono/utils/types").JSONValue;
1129
- expandedColumns?: {
1130
- [x: string]: boolean;
1131
- } | undefined;
1132
- } | undefined;
1133
- lastLocation?: {
1134
- projectId: string;
1135
- pathname: string;
1136
- search?: string | undefined;
1137
- hash?: string | undefined;
1138
- } | undefined;
1139
- importedSkills?: string[] | undefined;
1104
+ error: string;
1140
1105
  };
1141
1106
  outputFormat: "json";
1142
- status: import("hono/utils/http-status").ContentfulStatusCode;
1107
+ status: 500;
1143
1108
  input: {
1144
1109
  json: {
1145
1110
  [x: string]: unknown;
@@ -1178,10 +1143,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1178
1143
  };
1179
1144
  } | {
1180
1145
  output: {
1181
- error: string;
1146
+ [x: string]: import("hono/utils/types").JSONValue;
1147
+ sidebar?: {
1148
+ [x: string]: import("hono/utils/types").JSONValue;
1149
+ collapsed?: {
1150
+ [x: string]: boolean;
1151
+ } | undefined;
1152
+ } | undefined;
1153
+ dismissedProviderAuthFailures?: {
1154
+ claude?: string | undefined;
1155
+ codex?: string | undefined;
1156
+ opencode?: string | undefined;
1157
+ pi?: string | undefined;
1158
+ cursor?: string | undefined;
1159
+ } | undefined;
1160
+ appearance?: {
1161
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1162
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1163
+ width?: "narrow" | "wide" | undefined;
1164
+ } | undefined;
1165
+ notifications?: {
1166
+ [x: string]: import("hono/utils/types").JSONValue;
1167
+ enabled?: boolean | undefined;
1168
+ } | undefined;
1169
+ taskTable?: {
1170
+ [x: string]: import("hono/utils/types").JSONValue;
1171
+ expandedColumns?: {
1172
+ [x: string]: boolean;
1173
+ } | undefined;
1174
+ } | undefined;
1175
+ lastLocation?: {
1176
+ projectId: string;
1177
+ pathname: string;
1178
+ search?: string | undefined;
1179
+ hash?: string | undefined;
1180
+ } | undefined;
1181
+ importedSkills?: string[] | undefined;
1182
1182
  };
1183
1183
  outputFormat: "json";
1184
- status: 500;
1184
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1185
1185
  input: {
1186
1186
  json: {
1187
1187
  [x: string]: unknown;
@@ -1324,7 +1324,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1324
1324
  error: string;
1325
1325
  };
1326
1326
  outputFormat: "json";
1327
- status: 409;
1327
+ status: 404;
1328
1328
  input: {
1329
1329
  param: {
1330
1330
  projectId: string;
@@ -1335,7 +1335,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1335
1335
  error: string;
1336
1336
  };
1337
1337
  outputFormat: "json";
1338
- status: 404;
1338
+ status: 409;
1339
1339
  input: {
1340
1340
  param: {
1341
1341
  projectId: string;
@@ -1373,7 +1373,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1373
1373
  error: string;
1374
1374
  };
1375
1375
  outputFormat: "json";
1376
- status: 409;
1376
+ status: 404;
1377
1377
  input: {
1378
1378
  json: {
1379
1379
  maxParallel?: number | null | undefined;
@@ -1393,7 +1393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1393
1393
  error: string;
1394
1394
  };
1395
1395
  outputFormat: "json";
1396
- status: 404;
1396
+ status: 409;
1397
1397
  input: {
1398
1398
  json: {
1399
1399
  maxParallel?: number | null | undefined;
@@ -1475,7 +1475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1475
1475
  error: string;
1476
1476
  };
1477
1477
  outputFormat: "json";
1478
- status: 409;
1478
+ status: 400;
1479
1479
  input: {
1480
1480
  param: {
1481
1481
  projectId: string;
@@ -1497,7 +1497,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1497
1497
  error: string;
1498
1498
  };
1499
1499
  outputFormat: "json";
1500
- status: 400;
1500
+ status: 409;
1501
1501
  input: {
1502
1502
  param: {
1503
1503
  projectId: string;
@@ -1643,45 +1643,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1643
1643
  } & {
1644
1644
  "/workspace/agent-profiles": {
1645
1645
  $post: {
1646
- output: {
1647
- error: string;
1648
- };
1649
- outputFormat: "json";
1650
- status: 409;
1651
- input: {
1652
- json: {
1653
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1654
- label?: string | undefined;
1655
- configDir: string;
1656
- };
1657
- };
1658
- } | {
1659
- output: {
1660
- error: string;
1661
- };
1662
- outputFormat: "json";
1663
- status: 400;
1664
- input: {
1665
- json: {
1666
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1667
- label?: string | undefined;
1668
- configDir: string;
1669
- };
1670
- };
1671
- } | {
1672
- output: {
1673
- error: string;
1674
- };
1675
- outputFormat: "json";
1676
- status: 500;
1677
- input: {
1678
- json: {
1679
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1680
- label?: string | undefined;
1681
- configDir: string;
1682
- };
1683
- };
1684
- } | {
1685
1646
  output: {
1686
1647
  profile: {
1687
1648
  exists: boolean;
@@ -1724,7 +1685,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1724
1685
  };
1725
1686
  };
1726
1687
  outputFormat: "json";
1727
- status: 201;
1688
+ status: 201;
1689
+ input: {
1690
+ json: {
1691
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1692
+ label?: string | undefined;
1693
+ configDir: string;
1694
+ };
1695
+ };
1696
+ } | {
1697
+ output: {
1698
+ error: string;
1699
+ };
1700
+ outputFormat: "json";
1701
+ status: 400;
1702
+ input: {
1703
+ json: {
1704
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1705
+ label?: string | undefined;
1706
+ configDir: string;
1707
+ };
1708
+ };
1709
+ } | {
1710
+ output: {
1711
+ error: string;
1712
+ };
1713
+ outputFormat: "json";
1714
+ status: 409;
1715
+ input: {
1716
+ json: {
1717
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1718
+ label?: string | undefined;
1719
+ configDir: string;
1720
+ };
1721
+ };
1722
+ } | {
1723
+ output: {
1724
+ error: string;
1725
+ };
1726
+ outputFormat: "json";
1727
+ status: 500;
1728
1728
  input: {
1729
1729
  json: {
1730
1730
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -1758,7 +1758,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1758
1758
  error: string;
1759
1759
  };
1760
1760
  outputFormat: "json";
1761
- status: 409;
1761
+ status: 400;
1762
1762
  input: {
1763
1763
  param: {
1764
1764
  id: string;
@@ -1774,7 +1774,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1774
1774
  error: string;
1775
1775
  };
1776
1776
  outputFormat: "json";
1777
- status: 400;
1777
+ status: 404;
1778
1778
  input: {
1779
1779
  param: {
1780
1780
  id: string;
@@ -1790,7 +1790,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1790
1790
  error: string;
1791
1791
  };
1792
1792
  outputFormat: "json";
1793
- status: 404;
1793
+ status: 409;
1794
1794
  input: {
1795
1795
  param: {
1796
1796
  id: string;
@@ -1896,7 +1896,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1896
1896
  error: string;
1897
1897
  };
1898
1898
  outputFormat: "json";
1899
- status: 409;
1899
+ status: 404;
1900
1900
  input: {
1901
1901
  param: {
1902
1902
  id: string;
@@ -1911,7 +1911,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1911
1911
  error: string;
1912
1912
  };
1913
1913
  outputFormat: "json";
1914
- status: 404;
1914
+ status: 409;
1915
1915
  input: {
1916
1916
  param: {
1917
1917
  id: string;
@@ -1964,7 +1964,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1964
1964
  error: string;
1965
1965
  };
1966
1966
  outputFormat: "json";
1967
- status: 409;
1967
+ status: 404;
1968
1968
  input: {
1969
1969
  param: {
1970
1970
  id: string;
@@ -1975,7 +1975,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1975
1975
  error: string;
1976
1976
  };
1977
1977
  outputFormat: "json";
1978
- status: 404;
1978
+ status: 409;
1979
1979
  input: {
1980
1980
  param: {
1981
1981
  id: string;
@@ -2023,7 +2023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2023
2023
  error: string;
2024
2024
  };
2025
2025
  outputFormat: "json";
2026
- status: 409;
2026
+ status: 400;
2027
2027
  input: {
2028
2028
  param: {
2029
2029
  id: string;
@@ -2055,7 +2055,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2055
2055
  error: string;
2056
2056
  };
2057
2057
  outputFormat: "json";
2058
- status: 400;
2058
+ status: 409;
2059
2059
  input: {
2060
2060
  param: {
2061
2061
  id: string;
@@ -2092,7 +2092,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2092
2092
  error: string;
2093
2093
  };
2094
2094
  outputFormat: "json";
2095
- status: 409;
2095
+ status: 400;
2096
2096
  input: {
2097
2097
  json: {
2098
2098
  projectId: string | null;
@@ -2118,7 +2118,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2118
2118
  error: string;
2119
2119
  };
2120
2120
  outputFormat: "json";
2121
- status: 400;
2121
+ status: 409;
2122
2122
  input: {
2123
2123
  json: {
2124
2124
  projectId: string | null;
@@ -2190,7 +2190,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2190
2190
  error: string;
2191
2191
  };
2192
2192
  outputFormat: "json";
2193
- status: 409;
2193
+ status: 404;
2194
2194
  input: {
2195
2195
  param: {
2196
2196
  id: string;
@@ -2201,7 +2201,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2201
2201
  error: string;
2202
2202
  };
2203
2203
  outputFormat: "json";
2204
- status: 500;
2204
+ status: 409;
2205
2205
  input: {
2206
2206
  param: {
2207
2207
  id: string;
@@ -2212,7 +2212,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2212
2212
  error: string;
2213
2213
  };
2214
2214
  outputFormat: "json";
2215
- status: 404;
2215
+ status: 500;
2216
2216
  input: {
2217
2217
  param: {
2218
2218
  id: string;
@@ -2978,7 +2978,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2978
2978
  error: string;
2979
2979
  };
2980
2980
  outputFormat: "json";
2981
- status: 409;
2981
+ status: 400;
2982
2982
  input: {
2983
2983
  json: {
2984
2984
  target: string;
@@ -2989,7 +2989,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2989
2989
  error: string;
2990
2990
  };
2991
2991
  outputFormat: "json";
2992
- status: 400;
2992
+ status: 409;
2993
2993
  input: {
2994
2994
  json: {
2995
2995
  target: string;
@@ -3048,9 +3048,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3048
3048
  }, "/"> | import("hono/types").MergeSchemaPath<{
3049
3049
  "/runs/:id/events": {
3050
3050
  $get: {
3051
- output: {};
3052
- outputFormat: string;
3053
- status: import("hono/utils/http-status").StatusCode;
3051
+ output: {
3052
+ error: string;
3053
+ code?: "invalid_input" | undefined;
3054
+ };
3055
+ outputFormat: "json";
3056
+ status: 400;
3054
3057
  input: {
3055
3058
  param: {
3056
3059
  id: string;
@@ -3062,12 +3065,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3062
3065
  };
3063
3066
  };
3064
3067
  } | {
3065
- output: {
3066
- error: string;
3067
- code?: "invalid_input" | undefined;
3068
- };
3069
- outputFormat: "json";
3070
- status: 400;
3068
+ output: {};
3069
+ outputFormat: string;
3070
+ status: import("hono/utils/http-status").StatusCode;
3071
3071
  input: {
3072
3072
  param: {
3073
3073
  id: string;
@@ -3119,25 +3119,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3119
3119
  "/config": {
3120
3120
  $put: {
3121
3121
  output: {
3122
- baseBranch: string | null;
3123
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3124
- systemPrompt: string | null;
3125
- defaultModels: {
3126
- claude?: string | undefined;
3127
- codex?: string | undefined;
3128
- cursor?: string | undefined;
3129
- opencode?: string | undefined;
3130
- pi?: string | undefined;
3131
- };
3132
- modelsLocked: boolean;
3133
- maxParallel: number;
3134
- memoryLimitMb: number | null;
3135
- worktreeRetention: number;
3136
- liveTitleUpdates: boolean | null;
3137
- reviewGate: boolean | null;
3122
+ error: string;
3138
3123
  };
3139
3124
  outputFormat: "json";
3140
- status: import("hono/utils/http-status").ContentfulStatusCode;
3125
+ status: 409;
3141
3126
  input: {
3142
3127
  json: {
3143
3128
  baseBranch?: string | null | undefined;
@@ -3162,7 +3147,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3162
3147
  error: string;
3163
3148
  };
3164
3149
  outputFormat: "json";
3165
- status: 409;
3150
+ status: 500;
3166
3151
  input: {
3167
3152
  json: {
3168
3153
  baseBranch?: string | null | undefined;
@@ -3184,10 +3169,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3184
3169
  };
3185
3170
  } | {
3186
3171
  output: {
3187
- error: string;
3172
+ baseBranch: string | null;
3173
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3174
+ systemPrompt: string | null;
3175
+ defaultModels: {
3176
+ claude?: string | undefined;
3177
+ codex?: string | undefined;
3178
+ cursor?: string | undefined;
3179
+ opencode?: string | undefined;
3180
+ pi?: string | undefined;
3181
+ };
3182
+ modelsLocked: boolean;
3183
+ maxParallel: number;
3184
+ memoryLimitMb: number | null;
3185
+ worktreeRetention: number;
3186
+ liveTitleUpdates: boolean | null;
3187
+ reviewGate: boolean | null;
3188
3188
  };
3189
3189
  outputFormat: "json";
3190
- status: 500;
3190
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3191
3191
  input: {
3192
3192
  json: {
3193
3193
  baseBranch?: string | null | undefined;
@@ -3212,6 +3212,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3212
3212
  }, "/"> | import("hono/types").MergeSchemaPath<{
3213
3213
  "/skills": {
3214
3214
  $get: {
3215
+ output: {
3216
+ error: string;
3217
+ code?: "invalid_input" | undefined;
3218
+ };
3219
+ outputFormat: "json";
3220
+ status: 400;
3221
+ input: {
3222
+ query: {
3223
+ wait?: string | undefined;
3224
+ };
3225
+ };
3226
+ } | {
3215
3227
  output: {
3216
3228
  name: string;
3217
3229
  description?: string;
@@ -3234,7 +3246,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3234
3246
  wait?: string | undefined;
3235
3247
  };
3236
3248
  };
3237
- } | {
3249
+ };
3250
+ };
3251
+ } & {
3252
+ "/skills/importable": {
3253
+ $get: {
3238
3254
  output: {
3239
3255
  error: string;
3240
3256
  code?: "invalid_input" | undefined;
@@ -3246,11 +3262,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3246
3262
  wait?: string | undefined;
3247
3263
  };
3248
3264
  };
3249
- };
3250
- };
3251
- } & {
3252
- "/skills/importable": {
3253
- $get: {
3265
+ } | {
3254
3266
  output: {
3255
3267
  name: string;
3256
3268
  description?: string | undefined;
@@ -3262,18 +3274,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3262
3274
  wait?: string | undefined;
3263
3275
  };
3264
3276
  };
3265
- } | {
3266
- output: {
3267
- error: string;
3268
- code?: "invalid_input" | undefined;
3269
- };
3270
- outputFormat: "json";
3271
- status: 400;
3272
- input: {
3273
- query: {
3274
- wait?: string | undefined;
3275
- };
3276
- };
3277
3277
  };
3278
3278
  };
3279
3279
  } & {
@@ -3327,7 +3327,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3327
3327
  error: string;
3328
3328
  };
3329
3329
  outputFormat: "json";
3330
- status: 409;
3330
+ status: 404;
3331
3331
  input: {
3332
3332
  param: {
3333
3333
  id: string;
@@ -3335,10 +3335,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3335
3335
  };
3336
3336
  } | {
3337
3337
  output: {
3338
- removed: true;
3338
+ error: string;
3339
3339
  };
3340
3340
  outputFormat: "json";
3341
- status: import("hono/utils/http-status").ContentfulStatusCode;
3341
+ status: 409;
3342
3342
  input: {
3343
3343
  param: {
3344
3344
  id: string;
@@ -3346,10 +3346,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3346
3346
  };
3347
3347
  } | {
3348
3348
  output: {
3349
- error: string;
3349
+ removed: true;
3350
3350
  };
3351
3351
  outputFormat: "json";
3352
- status: 404;
3352
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3353
3353
  input: {
3354
3354
  param: {
3355
3355
  id: string;
@@ -3360,24 +3360,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3360
3360
  } & {
3361
3361
  "/todos/:id/start": {
3362
3362
  $post: {
3363
- output: {
3364
- error: string;
3365
- };
3366
- outputFormat: "json";
3367
- status: 409;
3368
- input: {
3369
- json: {
3370
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3371
- model?: string | undefined;
3372
- effort?: string | undefined;
3373
- prompt?: string | undefined;
3374
- } | undefined;
3375
- } & {
3376
- param: {
3377
- id: string;
3378
- };
3379
- };
3380
- } | {
3381
3363
  output: {
3382
3364
  run: {
3383
3365
  id: string;
@@ -3830,6 +3812,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3830
3812
  id: string;
3831
3813
  };
3832
3814
  };
3815
+ } | {
3816
+ output: {
3817
+ error: string;
3818
+ };
3819
+ outputFormat: "json";
3820
+ status: 404;
3821
+ input: {
3822
+ json: {
3823
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3824
+ model?: string | undefined;
3825
+ effort?: string | undefined;
3826
+ prompt?: string | undefined;
3827
+ } | undefined;
3828
+ } & {
3829
+ param: {
3830
+ id: string;
3831
+ };
3832
+ };
3833
3833
  } | {
3834
3834
  output: {
3835
3835
  error: string;
@@ -3853,7 +3853,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3853
3853
  error: string;
3854
3854
  };
3855
3855
  outputFormat: "json";
3856
- status: 404;
3856
+ status: 409;
3857
3857
  input: {
3858
3858
  json: {
3859
3859
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3956,14 +3956,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3956
3956
  "/agent-config/:id": {
3957
3957
  $put: {
3958
3958
  output: {
3959
- id: string;
3960
- path: string;
3961
- exists: boolean;
3962
- content: string;
3963
- version: string | null;
3959
+ error: string;
3964
3960
  };
3965
3961
  outputFormat: "json";
3966
- status: import("hono/utils/http-status").ContentfulStatusCode;
3962
+ status: 404;
3967
3963
  input: {
3968
3964
  json: {
3969
3965
  content: string;
@@ -3976,10 +3972,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3976
3972
  };
3977
3973
  } | {
3978
3974
  output: {
3979
- error: string;
3975
+ id: string;
3976
+ path: string;
3977
+ exists: boolean;
3978
+ content: string;
3979
+ version: string | null;
3980
3980
  };
3981
3981
  outputFormat: "json";
3982
- status: 404;
3982
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3983
3983
  input: {
3984
3984
  json: {
3985
3985
  content: string;
@@ -4049,10 +4049,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4049
4049
  "/workflows": {
4050
4050
  $post: {
4051
4051
  output: {
4052
- error: string;
4052
+ path: string;
4053
+ name: string;
4053
4054
  };
4054
4055
  outputFormat: "json";
4055
- status: 400;
4056
+ status: 201;
4056
4057
  input: {
4057
4058
  json: {
4058
4059
  name: string;
@@ -4081,10 +4082,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4081
4082
  } | {
4082
4083
  output: {
4083
4084
  error: string;
4084
- exists: true;
4085
4085
  };
4086
4086
  outputFormat: "json";
4087
- status: 409;
4087
+ status: 400;
4088
4088
  input: {
4089
4089
  json: {
4090
4090
  name: string;
@@ -4113,9 +4113,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4113
4113
  } | {
4114
4114
  output: {
4115
4115
  error: string;
4116
+ exists: true;
4116
4117
  };
4117
4118
  outputFormat: "json";
4118
- status: 500;
4119
+ status: 409;
4119
4120
  input: {
4120
4121
  json: {
4121
4122
  name: string;
@@ -4143,11 +4144,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4143
4144
  };
4144
4145
  } | {
4145
4146
  output: {
4146
- path: string;
4147
- name: string;
4147
+ error: string;
4148
4148
  };
4149
4149
  outputFormat: "json";
4150
- status: 201;
4150
+ status: 500;
4151
4151
  input: {
4152
4152
  json: {
4153
4153
  name: string;
@@ -4182,7 +4182,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4182
4182
  error: string;
4183
4183
  };
4184
4184
  outputFormat: "json";
4185
- status: 404;
4185
+ status: 400;
4186
4186
  input: {
4187
4187
  param: {
4188
4188
  name: string;
@@ -4193,7 +4193,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4193
4193
  error: string;
4194
4194
  };
4195
4195
  outputFormat: "json";
4196
- status: 400;
4196
+ status: 404;
4197
4197
  input: {
4198
4198
  param: {
4199
4199
  name: string;
@@ -4333,6 +4333,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4333
4333
  sha: string;
4334
4334
  };
4335
4335
  };
4336
+ } | {
4337
+ output: {
4338
+ error: string;
4339
+ };
4340
+ outputFormat: "json";
4341
+ status: 409;
4342
+ input: {
4343
+ query: {
4344
+ structured?: string | undefined;
4345
+ };
4346
+ } & {
4347
+ param: {
4348
+ sha: string;
4349
+ };
4350
+ };
4336
4351
  } | {
4337
4352
  output: {
4338
4353
  sha: string;
@@ -4366,21 +4381,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4366
4381
  sha: string;
4367
4382
  };
4368
4383
  };
4369
- } | {
4370
- output: {
4371
- error: string;
4372
- };
4373
- outputFormat: "json";
4374
- status: 409;
4375
- input: {
4376
- query: {
4377
- structured?: string | undefined;
4378
- };
4379
- } & {
4380
- param: {
4381
- sha: string;
4382
- };
4383
- };
4384
4384
  } | {
4385
4385
  output: string;
4386
4386
  outputFormat: "text";
@@ -4399,6 +4399,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4399
4399
  } & {
4400
4400
  "/repo/changes": {
4401
4401
  $get: {
4402
+ output: {
4403
+ error: string;
4404
+ };
4405
+ outputFormat: "json";
4406
+ status: 409;
4407
+ input: {};
4408
+ } | {
4402
4409
  output: {
4403
4410
  files: {
4404
4411
  path: string;
@@ -4421,14 +4428,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4421
4428
  } | undefined;
4422
4429
  };
4423
4430
  outputFormat: "json";
4424
- status: import("hono/utils/http-status").ContentfulStatusCode;
4425
- input: {};
4426
- } | {
4427
- output: {
4428
- error: string;
4429
- };
4430
- outputFormat: "json";
4431
- status: 409;
4431
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4432
4432
  input: {};
4433
4433
  };
4434
4434
  };
@@ -4454,10 +4454,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4454
4454
  "/repo/pull": {
4455
4455
  $post: {
4456
4456
  output: {
4457
- error: string;
4457
+ branch: string;
4458
+ pulled: true;
4459
+ summary: string;
4458
4460
  };
4459
4461
  outputFormat: "json";
4460
- status: 409;
4462
+ status: 200;
4461
4463
  input: {
4462
4464
  json: {
4463
4465
  branch?: string | undefined;
@@ -4466,12 +4468,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4466
4468
  };
4467
4469
  } | {
4468
4470
  output: {
4469
- branch: string;
4470
- pulled: true;
4471
- summary: string;
4471
+ error: string;
4472
4472
  };
4473
4473
  outputFormat: "json";
4474
- status: 200;
4474
+ status: 409;
4475
4475
  input: {
4476
4476
  json: {
4477
4477
  branch?: string | undefined;
@@ -5189,30 +5189,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5189
5189
  "/automations": {
5190
5190
  $post: {
5191
5191
  output: {
5192
- error: string;
5193
- };
5194
- outputFormat: "json";
5195
- status: 400;
5196
- input: {
5197
- json: {
5192
+ automation: {
5193
+ [x: string]: import("hono/utils/types").JSONValue;
5194
+ id: string;
5195
+ revision: number;
5198
5196
  name: string;
5199
5197
  description?: string | undefined;
5200
- enabled?: boolean | undefined;
5198
+ enabled: boolean;
5201
5199
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5202
5200
  intervalSeconds: number;
5203
5201
  filters: {
5204
- [x: string]: unknown;
5202
+ [x: string]: import("hono/utils/types").JSONValue;
5205
5203
  authors?: string[] | undefined;
5206
5204
  assignees?: string[] | undefined;
5207
5205
  allLabels?: string[] | undefined;
5208
5206
  anyLabels?: string[] | undefined;
5209
5207
  excludeLabels?: string[] | undefined;
5210
5208
  changedLabels?: string[] | undefined;
5211
- lookbackDays?: number | undefined;
5212
- maxRecords?: number | undefined;
5209
+ lookbackDays: number;
5210
+ maxRecords: number;
5213
5211
  };
5214
5212
  task: {
5215
- [x: string]: unknown;
5213
+ [x: string]: import("hono/utils/types").JSONValue;
5216
5214
  prompt: string;
5217
5215
  workflow?: string | undefined;
5218
5216
  steps?: {
@@ -5229,7 +5227,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5229
5227
  command?: string | undefined;
5230
5228
  onFail?: {
5231
5229
  retry: string;
5232
- max?: number | undefined;
5230
+ max: number;
5233
5231
  } | undefined;
5234
5232
  }[] | undefined;
5235
5233
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5241,33 +5239,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5241
5239
  autonomous?: boolean | undefined;
5242
5240
  systemPrompt?: string | undefined;
5243
5241
  };
5244
- enable?: boolean | undefined;
5242
+ createdAt: string;
5243
+ updatedAt: string;
5245
5244
  };
5246
5245
  };
5247
- } | {
5248
- output: {
5249
- automation: {
5250
- [x: string]: import("hono/utils/types").JSONValue;
5251
- id: string;
5252
- revision: number;
5246
+ outputFormat: "json";
5247
+ status: 201;
5248
+ input: {
5249
+ json: {
5253
5250
  name: string;
5254
5251
  description?: string | undefined;
5255
- enabled: boolean;
5252
+ enabled?: boolean | undefined;
5256
5253
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5257
5254
  intervalSeconds: number;
5258
5255
  filters: {
5259
- [x: string]: import("hono/utils/types").JSONValue;
5256
+ [x: string]: unknown;
5260
5257
  authors?: string[] | undefined;
5261
5258
  assignees?: string[] | undefined;
5262
5259
  allLabels?: string[] | undefined;
5263
5260
  anyLabels?: string[] | undefined;
5264
5261
  excludeLabels?: string[] | undefined;
5265
5262
  changedLabels?: string[] | undefined;
5266
- lookbackDays: number;
5267
- maxRecords: number;
5263
+ lookbackDays?: number | undefined;
5264
+ maxRecords?: number | undefined;
5268
5265
  };
5269
5266
  task: {
5270
- [x: string]: import("hono/utils/types").JSONValue;
5267
+ [x: string]: unknown;
5271
5268
  prompt: string;
5272
5269
  workflow?: string | undefined;
5273
5270
  steps?: {
@@ -5284,7 +5281,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5284
5281
  command?: string | undefined;
5285
5282
  onFail?: {
5286
5283
  retry: string;
5287
- max: number;
5284
+ max?: number | undefined;
5288
5285
  } | undefined;
5289
5286
  }[] | undefined;
5290
5287
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5296,12 +5293,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5296
5293
  autonomous?: boolean | undefined;
5297
5294
  systemPrompt?: string | undefined;
5298
5295
  };
5299
- createdAt: string;
5300
- updatedAt: string;
5296
+ enable?: boolean | undefined;
5301
5297
  };
5302
5298
  };
5299
+ } | {
5300
+ output: {
5301
+ error: string;
5302
+ };
5303
5303
  outputFormat: "json";
5304
- status: 201;
5304
+ status: 400;
5305
5305
  input: {
5306
5306
  json: {
5307
5307
  name: string;
@@ -5905,10 +5905,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5905
5905
  "/automations/:id/check": {
5906
5906
  $post: {
5907
5907
  output: {
5908
- error: string;
5908
+ checkId: string;
5909
5909
  };
5910
5910
  outputFormat: "json";
5911
- status: 404;
5911
+ status: 202;
5912
5912
  input: {
5913
5913
  json: {
5914
5914
  mode: "execute" | "preview";
@@ -5920,10 +5920,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5920
5920
  };
5921
5921
  } | {
5922
5922
  output: {
5923
- checkId: string;
5923
+ error: string;
5924
5924
  };
5925
5925
  outputFormat: "json";
5926
- status: 202;
5926
+ status: 404;
5927
5927
  input: {
5928
5928
  json: {
5929
5929
  mode: "execute" | "preview";
@@ -5997,10 +5997,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5997
5997
  "/automation-log/:receiptId/retry": {
5998
5998
  $post: {
5999
5999
  output: {
6000
- error: string;
6000
+ receiptId: string;
6001
+ runId: string;
6001
6002
  };
6002
6003
  outputFormat: "json";
6003
- status: 404;
6004
+ status: 202;
6004
6005
  input: {
6005
6006
  param: {
6006
6007
  receiptId: string;
@@ -6011,7 +6012,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6011
6012
  error: string;
6012
6013
  };
6013
6014
  outputFormat: "json";
6014
- status: 409;
6015
+ status: 404;
6015
6016
  input: {
6016
6017
  param: {
6017
6018
  receiptId: string;
@@ -6019,11 +6020,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6019
6020
  };
6020
6021
  } | {
6021
6022
  output: {
6022
- receiptId: string;
6023
- runId: string;
6023
+ error: string;
6024
6024
  };
6025
6025
  outputFormat: "json";
6026
- status: 202;
6026
+ status: 409;
6027
6027
  input: {
6028
6028
  param: {
6029
6029
  receiptId: string;
@@ -6605,22 +6605,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6605
6605
  "/runs/:id/worker-destroy": {
6606
6606
  $post: {
6607
6607
  output: {
6608
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6609
- readonly error: string;
6610
- readonly modelChoices?: {
6611
- runner: "claude" | "codex" | "cursor" | "opencode" | "pi";
6612
- requestedModel: string;
6613
- availableModels: {
6614
- id: string;
6615
- label: string;
6616
- description: string;
6617
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
6618
- }[];
6619
- otherRunners: ("claude" | "codex" | "cursor" | "opencode" | "pi")[];
6620
- } | undefined;
6608
+ workerId: string;
6609
+ state: "complete" | "incomplete";
6610
+ deleted?: ({
6611
+ kind: "worktree";
6612
+ path: string;
6613
+ } | {
6614
+ kind: "branch";
6615
+ ref: string;
6616
+ })[] | undefined;
6617
+ remaining: ("branch" | "process" | "worktree")[];
6618
+ error?: string | undefined;
6621
6619
  };
6622
6620
  outputFormat: "json";
6623
- status: 400 | 401 | 403 | 409 | 503;
6621
+ status: 200;
6624
6622
  input: {
6625
6623
  query: {
6626
6624
  [x: string]: string | string[];
@@ -6665,7 +6663,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6665
6663
  error?: string | undefined;
6666
6664
  };
6667
6665
  outputFormat: "json";
6668
- status: 200;
6666
+ status: 409;
6669
6667
  input: {
6670
6668
  query: {
6671
6669
  [x: string]: string | string[];
@@ -6679,20 +6677,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6679
6677
  };
6680
6678
  } | {
6681
6679
  output: {
6682
- workerId: string;
6683
- state: "complete" | "incomplete";
6684
- deleted?: ({
6685
- kind: "worktree";
6686
- path: string;
6687
- } | {
6688
- kind: "branch";
6689
- ref: string;
6690
- })[] | undefined;
6691
- remaining: ("branch" | "process" | "worktree")[];
6692
- error?: string | undefined;
6680
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6681
+ readonly error: string;
6682
+ readonly modelChoices?: {
6683
+ runner: "claude" | "codex" | "cursor" | "opencode" | "pi";
6684
+ requestedModel: string;
6685
+ availableModels: {
6686
+ id: string;
6687
+ label: string;
6688
+ description: string;
6689
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
6690
+ }[];
6691
+ otherRunners: ("claude" | "codex" | "cursor" | "opencode" | "pi")[];
6692
+ } | undefined;
6693
6693
  };
6694
6694
  outputFormat: "json";
6695
- status: 409;
6695
+ status: 400 | 401 | 403 | 409 | 503;
6696
6696
  input: {
6697
6697
  query: {
6698
6698
  [x: string]: string | string[];
@@ -6731,6 +6731,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6731
6731
  } & {
6732
6732
  "/runs/:id/archive": {
6733
6733
  $post: {
6734
+ output: {
6735
+ error: string;
6736
+ };
6737
+ outputFormat: "json";
6738
+ status: 404;
6739
+ input: {
6740
+ json: {
6741
+ archived?: boolean | undefined;
6742
+ };
6743
+ } & {
6744
+ param: {
6745
+ id: string;
6746
+ };
6747
+ };
6748
+ } | {
6734
6749
  output: {
6735
6750
  id: string;
6736
6751
  title: string;
@@ -7178,32 +7193,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7178
7193
  id: string;
7179
7194
  };
7180
7195
  };
7181
- } | {
7196
+ };
7197
+ };
7198
+ } & {
7199
+ "/runs/:id/pin": {
7200
+ $post: {
7182
7201
  output: {
7183
7202
  error: string;
7203
+ code?: "invalid_input" | undefined;
7184
7204
  };
7185
7205
  outputFormat: "json";
7186
- status: 404;
7206
+ status: 400;
7187
7207
  input: {
7188
- json: {
7189
- archived?: boolean | undefined;
7190
- };
7191
- } & {
7192
7208
  param: {
7193
7209
  id: string;
7194
7210
  };
7211
+ } & {
7212
+ json: {
7213
+ pinned?: boolean | undefined;
7214
+ };
7195
7215
  };
7196
- };
7197
- };
7198
- } & {
7199
- "/runs/:id/pin": {
7200
- $post: {
7216
+ } | {
7201
7217
  output: {
7202
7218
  error: string;
7203
- code?: "invalid_input" | undefined;
7204
7219
  };
7205
7220
  outputFormat: "json";
7206
- status: 400;
7221
+ status: 404;
7207
7222
  input: {
7208
7223
  param: {
7209
7224
  id: string;
@@ -7661,29 +7676,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7661
7676
  pinned?: boolean | undefined;
7662
7677
  };
7663
7678
  };
7664
- } | {
7679
+ };
7680
+ };
7681
+ } & {
7682
+ "/runs/:id/notify": {
7683
+ $post: {
7665
7684
  output: {
7666
7685
  error: string;
7686
+ code?: "invalid_input" | undefined;
7667
7687
  };
7668
7688
  outputFormat: "json";
7669
- status: 404;
7689
+ status: 400;
7670
7690
  input: {
7671
7691
  param: {
7672
7692
  id: string;
7673
7693
  };
7674
7694
  } & {
7675
7695
  json: {
7676
- pinned?: boolean | undefined;
7696
+ notify: boolean;
7697
+ message?: string | undefined;
7677
7698
  };
7678
7699
  };
7679
- };
7680
- };
7681
- } & {
7682
- "/runs/:id/notify": {
7683
- $post: {
7700
+ } | {
7684
7701
  output: {
7685
7702
  error: string;
7686
- code?: "invalid_input" | undefined;
7687
7703
  };
7688
7704
  outputFormat: "json";
7689
7705
  status: 400;
@@ -7697,6 +7713,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7697
7713
  message?: string | undefined;
7698
7714
  };
7699
7715
  };
7716
+ } | {
7717
+ output: {
7718
+ error: string;
7719
+ };
7720
+ outputFormat: "json";
7721
+ status: 404;
7722
+ input: {
7723
+ param: {
7724
+ id: string;
7725
+ };
7726
+ } & {
7727
+ json: {
7728
+ notify: boolean;
7729
+ message?: string | undefined;
7730
+ };
7731
+ };
7700
7732
  } | {
7701
7733
  output: {
7702
7734
  id: string;
@@ -8146,7 +8178,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8146
8178
  message?: string | undefined;
8147
8179
  };
8148
8180
  };
8149
- } | {
8181
+ };
8182
+ };
8183
+ } & {
8184
+ "/runs/:id/auto-resume": {
8185
+ $delete: {
8150
8186
  output: {
8151
8187
  error: string;
8152
8188
  };
@@ -8156,59 +8192,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8156
8192
  param: {
8157
8193
  id: string;
8158
8194
  };
8159
- } & {
8160
- json: {
8161
- notify: boolean;
8162
- message?: string | undefined;
8163
- };
8164
8195
  };
8165
8196
  } | {
8166
8197
  output: {
8167
- error: string;
8198
+ cancelled: true;
8168
8199
  };
8169
8200
  outputFormat: "json";
8170
- status: 400;
8201
+ status: import("hono/utils/http-status").ContentfulStatusCode;
8171
8202
  input: {
8172
8203
  param: {
8173
8204
  id: string;
8174
8205
  };
8175
- } & {
8176
- json: {
8177
- notify: boolean;
8178
- message?: string | undefined;
8179
- };
8180
8206
  };
8181
8207
  };
8182
8208
  };
8183
8209
  } & {
8184
- "/runs/:id/auto-resume": {
8185
- $delete: {
8186
- output: {
8187
- error: string;
8188
- };
8189
- outputFormat: "json";
8190
- status: 404;
8191
- input: {
8192
- param: {
8193
- id: string;
8194
- };
8195
- };
8196
- } | {
8210
+ "/runs/:id/read": {
8211
+ $post: {
8197
8212
  output: {
8198
- cancelled: true;
8213
+ error: string;
8199
8214
  };
8200
8215
  outputFormat: "json";
8201
- status: import("hono/utils/http-status").ContentfulStatusCode;
8216
+ status: 404;
8202
8217
  input: {
8203
8218
  param: {
8204
8219
  id: string;
8205
8220
  };
8206
8221
  };
8207
- };
8208
- };
8209
- } & {
8210
- "/runs/:id/read": {
8211
- $post: {
8222
+ } | {
8212
8223
  output: {
8213
8224
  id: string;
8214
8225
  title: string;
@@ -8652,7 +8663,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8652
8663
  id: string;
8653
8664
  };
8654
8665
  };
8655
- } | {
8666
+ };
8667
+ };
8668
+ } & {
8669
+ "/runs/:id/unread": {
8670
+ $post: {
8656
8671
  output: {
8657
8672
  error: string;
8658
8673
  };
@@ -8663,11 +8678,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8663
8678
  id: string;
8664
8679
  };
8665
8680
  };
8666
- };
8667
- };
8668
- } & {
8669
- "/runs/:id/unread": {
8670
- $post: {
8681
+ } | {
8671
8682
  output: {
8672
8683
  id: string;
8673
8684
  title: string;
@@ -9111,17 +9122,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9111
9122
  id: string;
9112
9123
  };
9113
9124
  };
9114
- } | {
9115
- output: {
9116
- error: string;
9117
- };
9118
- outputFormat: "json";
9119
- status: 404;
9120
- input: {
9121
- param: {
9122
- id: string;
9123
- };
9124
- };
9125
9125
  };
9126
9126
  };
9127
9127
  } & {
@@ -10082,141 +10082,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10082
10082
  notify?: boolean | undefined;
10083
10083
  };
10084
10084
  };
10085
- } | {
10086
- output: {
10087
- error: string;
10088
- };
10089
- outputFormat: "json";
10090
- status: 409;
10091
- input: {
10092
- json: {
10093
- workflow?: string | undefined;
10094
- steps?: {
10095
- id: string;
10096
- name?: string | undefined;
10097
- prompt?: string | undefined;
10098
- skill?: string | undefined;
10099
- model?: string | undefined;
10100
- effort?: string | undefined;
10101
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10102
- agentProfile?: string | undefined;
10103
- allowedTools?: string[] | undefined;
10104
- bashAllowlist?: string[] | undefined;
10105
- command?: string | undefined;
10106
- onFail?: {
10107
- retry: string;
10108
- max?: number | undefined;
10109
- } | undefined;
10110
- }[] | undefined;
10111
- task: string;
10112
- model?: string | undefined;
10113
- effort?: string | undefined;
10114
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10115
- agentProfile?: string | undefined;
10116
- variants?: number | undefined;
10117
- worktree?: boolean | undefined;
10118
- autonomous?: boolean | undefined;
10119
- generateFollowups?: boolean | undefined;
10120
- systemPrompt?: string | undefined;
10121
- images?: {
10122
- mediaType: string;
10123
- data: string;
10124
- }[] | undefined;
10125
- todoId?: string | undefined;
10126
- clientRequestId?: string | undefined;
10127
- notify?: boolean | undefined;
10128
- };
10129
- };
10130
- } | {
10131
- output: {
10132
- error: string;
10133
- };
10134
- outputFormat: "json";
10135
- status: 400;
10136
- input: {
10137
- json: {
10138
- workflow?: string | undefined;
10139
- steps?: {
10140
- id: string;
10141
- name?: string | undefined;
10142
- prompt?: string | undefined;
10143
- skill?: string | undefined;
10144
- model?: string | undefined;
10145
- effort?: string | undefined;
10146
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10147
- agentProfile?: string | undefined;
10148
- allowedTools?: string[] | undefined;
10149
- bashAllowlist?: string[] | undefined;
10150
- command?: string | undefined;
10151
- onFail?: {
10152
- retry: string;
10153
- max?: number | undefined;
10154
- } | undefined;
10155
- }[] | undefined;
10156
- task: string;
10157
- model?: string | undefined;
10158
- effort?: string | undefined;
10159
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10160
- agentProfile?: string | undefined;
10161
- variants?: number | undefined;
10162
- worktree?: boolean | undefined;
10163
- autonomous?: boolean | undefined;
10164
- generateFollowups?: boolean | undefined;
10165
- systemPrompt?: string | undefined;
10166
- images?: {
10167
- mediaType: string;
10168
- data: string;
10169
- }[] | undefined;
10170
- todoId?: string | undefined;
10171
- clientRequestId?: string | undefined;
10172
- notify?: boolean | undefined;
10173
- };
10174
- };
10175
- } | {
10176
- output: {
10177
- error: string;
10178
- };
10179
- outputFormat: "json";
10180
- status: 404;
10181
- input: {
10182
- json: {
10183
- workflow?: string | undefined;
10184
- steps?: {
10185
- id: string;
10186
- name?: string | undefined;
10187
- prompt?: string | undefined;
10188
- skill?: string | undefined;
10189
- model?: string | undefined;
10190
- effort?: string | undefined;
10191
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10192
- agentProfile?: string | undefined;
10193
- allowedTools?: string[] | undefined;
10194
- bashAllowlist?: string[] | undefined;
10195
- command?: string | undefined;
10196
- onFail?: {
10197
- retry: string;
10198
- max?: number | undefined;
10199
- } | undefined;
10200
- }[] | undefined;
10201
- task: string;
10202
- model?: string | undefined;
10203
- effort?: string | undefined;
10204
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10205
- agentProfile?: string | undefined;
10206
- variants?: number | undefined;
10207
- worktree?: boolean | undefined;
10208
- autonomous?: boolean | undefined;
10209
- generateFollowups?: boolean | undefined;
10210
- systemPrompt?: string | undefined;
10211
- images?: {
10212
- mediaType: string;
10213
- data: string;
10214
- }[] | undefined;
10215
- todoId?: string | undefined;
10216
- clientRequestId?: string | undefined;
10217
- notify?: boolean | undefined;
10218
- };
10219
- };
10220
10085
  } | {
10221
10086
  output: {
10222
10087
  runs: {
@@ -10657,7 +10522,142 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10657
10522
  }[];
10658
10523
  };
10659
10524
  outputFormat: "json";
10660
- status: 201;
10525
+ status: 201;
10526
+ input: {
10527
+ json: {
10528
+ workflow?: string | undefined;
10529
+ steps?: {
10530
+ id: string;
10531
+ name?: string | undefined;
10532
+ prompt?: string | undefined;
10533
+ skill?: string | undefined;
10534
+ model?: string | undefined;
10535
+ effort?: string | undefined;
10536
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10537
+ agentProfile?: string | undefined;
10538
+ allowedTools?: string[] | undefined;
10539
+ bashAllowlist?: string[] | undefined;
10540
+ command?: string | undefined;
10541
+ onFail?: {
10542
+ retry: string;
10543
+ max?: number | undefined;
10544
+ } | undefined;
10545
+ }[] | undefined;
10546
+ task: string;
10547
+ model?: string | undefined;
10548
+ effort?: string | undefined;
10549
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10550
+ agentProfile?: string | undefined;
10551
+ variants?: number | undefined;
10552
+ worktree?: boolean | undefined;
10553
+ autonomous?: boolean | undefined;
10554
+ generateFollowups?: boolean | undefined;
10555
+ systemPrompt?: string | undefined;
10556
+ images?: {
10557
+ mediaType: string;
10558
+ data: string;
10559
+ }[] | undefined;
10560
+ todoId?: string | undefined;
10561
+ clientRequestId?: string | undefined;
10562
+ notify?: boolean | undefined;
10563
+ };
10564
+ };
10565
+ } | {
10566
+ output: {
10567
+ error: string;
10568
+ };
10569
+ outputFormat: "json";
10570
+ status: 400;
10571
+ input: {
10572
+ json: {
10573
+ workflow?: string | undefined;
10574
+ steps?: {
10575
+ id: string;
10576
+ name?: string | undefined;
10577
+ prompt?: string | undefined;
10578
+ skill?: string | undefined;
10579
+ model?: string | undefined;
10580
+ effort?: string | undefined;
10581
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10582
+ agentProfile?: string | undefined;
10583
+ allowedTools?: string[] | undefined;
10584
+ bashAllowlist?: string[] | undefined;
10585
+ command?: string | undefined;
10586
+ onFail?: {
10587
+ retry: string;
10588
+ max?: number | undefined;
10589
+ } | undefined;
10590
+ }[] | undefined;
10591
+ task: string;
10592
+ model?: string | undefined;
10593
+ effort?: string | undefined;
10594
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10595
+ agentProfile?: string | undefined;
10596
+ variants?: number | undefined;
10597
+ worktree?: boolean | undefined;
10598
+ autonomous?: boolean | undefined;
10599
+ generateFollowups?: boolean | undefined;
10600
+ systemPrompt?: string | undefined;
10601
+ images?: {
10602
+ mediaType: string;
10603
+ data: string;
10604
+ }[] | undefined;
10605
+ todoId?: string | undefined;
10606
+ clientRequestId?: string | undefined;
10607
+ notify?: boolean | undefined;
10608
+ };
10609
+ };
10610
+ } | {
10611
+ output: {
10612
+ error: string;
10613
+ };
10614
+ outputFormat: "json";
10615
+ status: 404;
10616
+ input: {
10617
+ json: {
10618
+ workflow?: string | undefined;
10619
+ steps?: {
10620
+ id: string;
10621
+ name?: string | undefined;
10622
+ prompt?: string | undefined;
10623
+ skill?: string | undefined;
10624
+ model?: string | undefined;
10625
+ effort?: string | undefined;
10626
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10627
+ agentProfile?: string | undefined;
10628
+ allowedTools?: string[] | undefined;
10629
+ bashAllowlist?: string[] | undefined;
10630
+ command?: string | undefined;
10631
+ onFail?: {
10632
+ retry: string;
10633
+ max?: number | undefined;
10634
+ } | undefined;
10635
+ }[] | undefined;
10636
+ task: string;
10637
+ model?: string | undefined;
10638
+ effort?: string | undefined;
10639
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10640
+ agentProfile?: string | undefined;
10641
+ variants?: number | undefined;
10642
+ worktree?: boolean | undefined;
10643
+ autonomous?: boolean | undefined;
10644
+ generateFollowups?: boolean | undefined;
10645
+ systemPrompt?: string | undefined;
10646
+ images?: {
10647
+ mediaType: string;
10648
+ data: string;
10649
+ }[] | undefined;
10650
+ todoId?: string | undefined;
10651
+ clientRequestId?: string | undefined;
10652
+ notify?: boolean | undefined;
10653
+ };
10654
+ };
10655
+ } | {
10656
+ output: {
10657
+ error: string;
10658
+ };
10659
+ outputFormat: "json";
10660
+ status: 409;
10661
10661
  input: {
10662
10662
  json: {
10663
10663
  workflow?: string | undefined;
@@ -10702,6 +10702,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10702
10702
  } & {
10703
10703
  "/runs/:id": {
10704
10704
  $get: {
10705
+ output: {
10706
+ error: string;
10707
+ };
10708
+ outputFormat: "json";
10709
+ status: 404;
10710
+ input: {
10711
+ param: {
10712
+ id: string;
10713
+ };
10714
+ };
10715
+ } | {
10705
10716
  output: {
10706
10717
  id: string;
10707
10718
  title: string;
@@ -11152,17 +11163,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11152
11163
  id: string;
11153
11164
  };
11154
11165
  };
11155
- } | {
11156
- output: {
11157
- error: string;
11158
- };
11159
- outputFormat: "json";
11160
- status: 404;
11161
- input: {
11162
- param: {
11163
- id: string;
11164
- };
11165
- };
11166
11166
  };
11167
11167
  };
11168
11168
  } & {
@@ -11290,6 +11290,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11290
11290
  } & {
11291
11291
  "/runs/:id": {
11292
11292
  $patch: {
11293
+ output: {
11294
+ error: string;
11295
+ };
11296
+ outputFormat: "json";
11297
+ status: 400;
11298
+ input: {
11299
+ json: {
11300
+ title?: string | undefined;
11301
+ task?: string | undefined;
11302
+ };
11303
+ } & {
11304
+ param: {
11305
+ id: string;
11306
+ };
11307
+ };
11308
+ } | {
11309
+ output: {
11310
+ error: string;
11311
+ };
11312
+ outputFormat: "json";
11313
+ status: 404;
11314
+ input: {
11315
+ json: {
11316
+ title?: string | undefined;
11317
+ task?: string | undefined;
11318
+ };
11319
+ } & {
11320
+ param: {
11321
+ id: string;
11322
+ };
11323
+ };
11324
+ } | {
11325
+ output: {
11326
+ error: string;
11327
+ };
11328
+ outputFormat: "json";
11329
+ status: 409;
11330
+ input: {
11331
+ json: {
11332
+ title?: string | undefined;
11333
+ task?: string | undefined;
11334
+ };
11335
+ } & {
11336
+ param: {
11337
+ id: string;
11338
+ };
11339
+ };
11340
+ } | {
11293
11341
  output: {
11294
11342
  id: string;
11295
11343
  title: string;
@@ -11738,54 +11786,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11738
11786
  id: string;
11739
11787
  };
11740
11788
  };
11741
- } | {
11742
- output: {
11743
- error: string;
11744
- };
11745
- outputFormat: "json";
11746
- status: 404;
11747
- input: {
11748
- json: {
11749
- title?: string | undefined;
11750
- task?: string | undefined;
11751
- };
11752
- } & {
11753
- param: {
11754
- id: string;
11755
- };
11756
- };
11757
- } | {
11758
- output: {
11759
- error: string;
11760
- };
11761
- outputFormat: "json";
11762
- status: 400;
11763
- input: {
11764
- json: {
11765
- title?: string | undefined;
11766
- task?: string | undefined;
11767
- };
11768
- } & {
11769
- param: {
11770
- id: string;
11771
- };
11772
- };
11773
- } | {
11774
- output: {
11775
- error: string;
11776
- };
11777
- outputFormat: "json";
11778
- status: 409;
11779
- input: {
11780
- json: {
11781
- title?: string | undefined;
11782
- task?: string | undefined;
11783
- };
11784
- } & {
11785
- param: {
11786
- id: string;
11787
- };
11788
- };
11789
11789
  };
11790
11790
  };
11791
11791
  } & {
@@ -11821,7 +11821,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11821
11821
  error: string;
11822
11822
  };
11823
11823
  outputFormat: "json";
11824
- status: 404;
11824
+ status: 400;
11825
11825
  input: {
11826
11826
  json: {
11827
11827
  text?: string | undefined;
@@ -11840,7 +11840,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11840
11840
  error: string;
11841
11841
  };
11842
11842
  outputFormat: "json";
11843
- status: 409;
11843
+ status: 404;
11844
11844
  input: {
11845
11845
  json: {
11846
11846
  text?: string | undefined;
@@ -11856,10 +11856,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11856
11856
  };
11857
11857
  } | {
11858
11858
  output: {
11859
- delivered: true;
11859
+ error: string;
11860
11860
  };
11861
11861
  outputFormat: "json";
11862
- status: import("hono/utils/http-status").ContentfulStatusCode;
11862
+ status: 409;
11863
11863
  input: {
11864
11864
  json: {
11865
11865
  text?: string | undefined;
@@ -11875,10 +11875,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11875
11875
  };
11876
11876
  } | {
11877
11877
  output: {
11878
- error: string;
11878
+ delivered: true;
11879
11879
  };
11880
11880
  outputFormat: "json";
11881
- status: 400;
11881
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11882
11882
  input: {
11883
11883
  json: {
11884
11884
  text?: string | undefined;
@@ -11945,7 +11945,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11945
11945
  error: string;
11946
11946
  };
11947
11947
  outputFormat: "json";
11948
- status: 404;
11948
+ status: 400;
11949
11949
  input: {
11950
11950
  json: {
11951
11951
  text?: string | undefined;
@@ -11966,7 +11966,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11966
11966
  error: string;
11967
11967
  };
11968
11968
  outputFormat: "json";
11969
- status: 400;
11969
+ status: 404;
11970
11970
  input: {
11971
11971
  json: {
11972
11972
  text?: string | undefined;
@@ -12118,7 +12118,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12118
12118
  error: string;
12119
12119
  };
12120
12120
  outputFormat: "json";
12121
- status: 404;
12121
+ status: 400;
12122
12122
  input: {
12123
12123
  json: {
12124
12124
  text?: string | undefined;
@@ -12141,7 +12141,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12141
12141
  error: string;
12142
12142
  };
12143
12143
  outputFormat: "json";
12144
- status: 400;
12144
+ status: 404;
12145
12145
  input: {
12146
12146
  json: {
12147
12147
  text?: string | undefined;
@@ -12252,7 +12252,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12252
12252
  error: string;
12253
12253
  };
12254
12254
  outputFormat: "json";
12255
- status: 404;
12255
+ status: 400;
12256
12256
  input: {
12257
12257
  json: {
12258
12258
  target: string;
@@ -12268,7 +12268,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12268
12268
  error: string;
12269
12269
  };
12270
12270
  outputFormat: "json";
12271
- status: 409;
12271
+ status: 404;
12272
12272
  input: {
12273
12273
  json: {
12274
12274
  target: string;
@@ -12284,7 +12284,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12284
12284
  error: string;
12285
12285
  };
12286
12286
  outputFormat: "json";
12287
- status: 400;
12287
+ status: 409;
12288
12288
  input: {
12289
12289
  json: {
12290
12290
  target: string;
@@ -12317,20 +12317,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12317
12317
  } & {
12318
12318
  "/runs/:id/handoff": {
12319
12319
  $get: {
12320
- output: {
12321
- error: string;
12322
- };
12323
- outputFormat: "json";
12324
- status: 404;
12320
+ output: string;
12321
+ outputFormat: "text";
12322
+ status: 200;
12325
12323
  input: {
12326
12324
  param: {
12327
12325
  id: string;
12328
12326
  };
12329
12327
  };
12330
12328
  } | {
12331
- output: string;
12332
- outputFormat: "text";
12333
- status: 200;
12329
+ output: {
12330
+ error: string;
12331
+ };
12332
+ outputFormat: "json";
12333
+ status: 404;
12334
12334
  input: {
12335
12335
  param: {
12336
12336
  id: string;
@@ -12341,9 +12341,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12341
12341
  } & {
12342
12342
  "/runs/:id/images/:file": {
12343
12343
  $get: {
12344
- output: {};
12345
- outputFormat: string;
12346
- status: import("hono/utils/http-status").StatusCode;
12344
+ output: {
12345
+ error: string;
12346
+ code?: "invalid_input" | undefined;
12347
+ };
12348
+ outputFormat: "json";
12349
+ status: 400;
12347
12350
  input: {
12348
12351
  param: {
12349
12352
  id: string;
@@ -12351,12 +12354,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12351
12354
  };
12352
12355
  };
12353
12356
  } | {
12354
- output: {
12355
- error: string;
12356
- code?: "invalid_input" | undefined;
12357
- };
12358
- outputFormat: "json";
12359
- status: 400;
12357
+ output: {};
12358
+ outputFormat: string;
12359
+ status: import("hono/utils/http-status").StatusCode;
12360
12360
  input: {
12361
12361
  param: {
12362
12362
  id: string;
@@ -12712,25 +12712,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12712
12712
  };
12713
12713
  } | {
12714
12714
  output: {
12715
- type: "file";
12716
- path: string;
12717
- size: number;
12718
- binary: boolean;
12719
- tooLarge: boolean;
12720
- content?: string | undefined;
12721
- source: "artifact" | "project" | "worktree";
12722
- artifact?: {
12723
- id: string;
12724
- runId: string;
12725
- name: string;
12726
- sourcePath: string;
12727
- createdAt: string;
12728
- size: number;
12729
- sha256: string;
12730
- } | undefined;
12715
+ error: string;
12731
12716
  };
12732
12717
  outputFormat: "json";
12733
- status: import("hono/utils/http-status").ContentfulStatusCode;
12718
+ status: 404;
12734
12719
  input: {
12735
12720
  param: {
12736
12721
  id: string;
@@ -12739,10 +12724,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12739
12724
  };
12740
12725
  } | {
12741
12726
  output: {
12742
- error: string;
12727
+ type: "file";
12728
+ path: string;
12729
+ size: number;
12730
+ binary: boolean;
12731
+ tooLarge: boolean;
12732
+ content?: string | undefined;
12733
+ source: "artifact" | "project" | "worktree";
12734
+ artifact?: {
12735
+ id: string;
12736
+ runId: string;
12737
+ name: string;
12738
+ sourcePath: string;
12739
+ createdAt: string;
12740
+ size: number;
12741
+ sha256: string;
12742
+ } | undefined;
12743
12743
  };
12744
12744
  outputFormat: "json";
12745
- status: 404;
12745
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12746
12746
  input: {
12747
12747
  param: {
12748
12748
  id: string;
@@ -13045,10 +13045,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13045
13045
  "/runs/:id/pr": {
13046
13046
  $post: {
13047
13047
  output: {
13048
- error: string;
13048
+ url: string;
13049
+ dryRun: boolean;
13049
13050
  };
13050
13051
  outputFormat: "json";
13051
- status: 404;
13052
+ status: 201;
13052
13053
  input: {
13053
13054
  param: {
13054
13055
  id: string;
@@ -13059,7 +13060,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13059
13060
  error: string;
13060
13061
  };
13061
13062
  outputFormat: "json";
13062
- status: 409;
13063
+ status: 400;
13063
13064
  input: {
13064
13065
  param: {
13065
13066
  id: string;
@@ -13070,7 +13071,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13070
13071
  error: string;
13071
13072
  };
13072
13073
  outputFormat: "json";
13073
- status: 400;
13074
+ status: 404;
13074
13075
  input: {
13075
13076
  param: {
13076
13077
  id: string;
@@ -13078,11 +13079,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13078
13079
  };
13079
13080
  } | {
13080
13081
  output: {
13081
- url: string;
13082
- dryRun: boolean;
13082
+ error: string;
13083
13083
  };
13084
13084
  outputFormat: "json";
13085
- status: 201;
13085
+ status: 409;
13086
13086
  input: {
13087
13087
  param: {
13088
13088
  id: string;
@@ -13134,7 +13134,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13134
13134
  error: string;
13135
13135
  };
13136
13136
  outputFormat: "json";
13137
- status: 409;
13137
+ status: 404;
13138
13138
  input: {
13139
13139
  param: {
13140
13140
  id: string;
@@ -13145,7 +13145,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13145
13145
  error: string;
13146
13146
  };
13147
13147
  outputFormat: "json";
13148
- status: 404;
13148
+ status: 409;
13149
13149
  input: {
13150
13150
  param: {
13151
13151
  id: string;
@@ -13910,7 +13910,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13910
13910
  error: string;
13911
13911
  };
13912
13912
  outputFormat: "json";
13913
- status: 409;
13913
+ status: 400;
13914
13914
  input: {
13915
13915
  json: {
13916
13916
  target: string;
@@ -13921,7 +13921,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13921
13921
  error: string;
13922
13922
  };
13923
13923
  outputFormat: "json";
13924
- status: 400;
13924
+ status: 409;
13925
13925
  input: {
13926
13926
  json: {
13927
13927
  target: string;
@@ -13980,9 +13980,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13980
13980
  }, "/"> | import("hono/types").MergeSchemaPath<{
13981
13981
  "/runs/:id/events": {
13982
13982
  $get: {
13983
- output: {};
13984
- outputFormat: string;
13985
- status: import("hono/utils/http-status").StatusCode;
13983
+ output: {
13984
+ error: string;
13985
+ code?: "invalid_input" | undefined;
13986
+ };
13987
+ outputFormat: "json";
13988
+ status: 400;
13986
13989
  input: {
13987
13990
  param: {
13988
13991
  id: string;
@@ -13994,12 +13997,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13994
13997
  };
13995
13998
  };
13996
13999
  } | {
13997
- output: {
13998
- error: string;
13999
- code?: "invalid_input" | undefined;
14000
- };
14001
- outputFormat: "json";
14002
- status: 400;
14000
+ output: {};
14001
+ outputFormat: string;
14002
+ status: import("hono/utils/http-status").StatusCode;
14003
14003
  input: {
14004
14004
  param: {
14005
14005
  id: string;
@@ -14051,25 +14051,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14051
14051
  "/config": {
14052
14052
  $put: {
14053
14053
  output: {
14054
- baseBranch: string | null;
14055
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
14056
- systemPrompt: string | null;
14057
- defaultModels: {
14058
- claude?: string | undefined;
14059
- codex?: string | undefined;
14060
- cursor?: string | undefined;
14061
- opencode?: string | undefined;
14062
- pi?: string | undefined;
14063
- };
14064
- modelsLocked: boolean;
14065
- maxParallel: number;
14066
- memoryLimitMb: number | null;
14067
- worktreeRetention: number;
14068
- liveTitleUpdates: boolean | null;
14069
- reviewGate: boolean | null;
14054
+ error: string;
14070
14055
  };
14071
14056
  outputFormat: "json";
14072
- status: import("hono/utils/http-status").ContentfulStatusCode;
14057
+ status: 409;
14073
14058
  input: {
14074
14059
  json: {
14075
14060
  baseBranch?: string | null | undefined;
@@ -14094,7 +14079,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14094
14079
  error: string;
14095
14080
  };
14096
14081
  outputFormat: "json";
14097
- status: 409;
14082
+ status: 500;
14098
14083
  input: {
14099
14084
  json: {
14100
14085
  baseBranch?: string | null | undefined;
@@ -14116,10 +14101,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14116
14101
  };
14117
14102
  } | {
14118
14103
  output: {
14119
- error: string;
14104
+ baseBranch: string | null;
14105
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
14106
+ systemPrompt: string | null;
14107
+ defaultModels: {
14108
+ claude?: string | undefined;
14109
+ codex?: string | undefined;
14110
+ cursor?: string | undefined;
14111
+ opencode?: string | undefined;
14112
+ pi?: string | undefined;
14113
+ };
14114
+ modelsLocked: boolean;
14115
+ maxParallel: number;
14116
+ memoryLimitMb: number | null;
14117
+ worktreeRetention: number;
14118
+ liveTitleUpdates: boolean | null;
14119
+ reviewGate: boolean | null;
14120
14120
  };
14121
14121
  outputFormat: "json";
14122
- status: 500;
14122
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14123
14123
  input: {
14124
14124
  json: {
14125
14125
  baseBranch?: string | null | undefined;
@@ -14144,6 +14144,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14144
14144
  }, "/"> | import("hono/types").MergeSchemaPath<{
14145
14145
  "/skills": {
14146
14146
  $get: {
14147
+ output: {
14148
+ error: string;
14149
+ code?: "invalid_input" | undefined;
14150
+ };
14151
+ outputFormat: "json";
14152
+ status: 400;
14153
+ input: {
14154
+ query: {
14155
+ wait?: string | undefined;
14156
+ };
14157
+ };
14158
+ } | {
14147
14159
  output: {
14148
14160
  name: string;
14149
14161
  description?: string;
@@ -14166,7 +14178,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14166
14178
  wait?: string | undefined;
14167
14179
  };
14168
14180
  };
14169
- } | {
14181
+ };
14182
+ };
14183
+ } & {
14184
+ "/skills/importable": {
14185
+ $get: {
14170
14186
  output: {
14171
14187
  error: string;
14172
14188
  code?: "invalid_input" | undefined;
@@ -14178,11 +14194,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14178
14194
  wait?: string | undefined;
14179
14195
  };
14180
14196
  };
14181
- };
14182
- };
14183
- } & {
14184
- "/skills/importable": {
14185
- $get: {
14197
+ } | {
14186
14198
  output: {
14187
14199
  name: string;
14188
14200
  description?: string | undefined;
@@ -14194,18 +14206,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14194
14206
  wait?: string | undefined;
14195
14207
  };
14196
14208
  };
14197
- } | {
14198
- output: {
14199
- error: string;
14200
- code?: "invalid_input" | undefined;
14201
- };
14202
- outputFormat: "json";
14203
- status: 400;
14204
- input: {
14205
- query: {
14206
- wait?: string | undefined;
14207
- };
14208
- };
14209
14209
  };
14210
14210
  };
14211
14211
  } & {
@@ -14259,7 +14259,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14259
14259
  error: string;
14260
14260
  };
14261
14261
  outputFormat: "json";
14262
- status: 409;
14262
+ status: 404;
14263
14263
  input: {
14264
14264
  param: {
14265
14265
  id: string;
@@ -14267,10 +14267,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14267
14267
  };
14268
14268
  } | {
14269
14269
  output: {
14270
- removed: true;
14270
+ error: string;
14271
14271
  };
14272
14272
  outputFormat: "json";
14273
- status: import("hono/utils/http-status").ContentfulStatusCode;
14273
+ status: 409;
14274
14274
  input: {
14275
14275
  param: {
14276
14276
  id: string;
@@ -14278,10 +14278,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14278
14278
  };
14279
14279
  } | {
14280
14280
  output: {
14281
- error: string;
14281
+ removed: true;
14282
14282
  };
14283
14283
  outputFormat: "json";
14284
- status: 404;
14284
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14285
14285
  input: {
14286
14286
  param: {
14287
14287
  id: string;
@@ -14292,24 +14292,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14292
14292
  } & {
14293
14293
  "/todos/:id/start": {
14294
14294
  $post: {
14295
- output: {
14296
- error: string;
14297
- };
14298
- outputFormat: "json";
14299
- status: 409;
14300
- input: {
14301
- json: {
14302
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14303
- model?: string | undefined;
14304
- effort?: string | undefined;
14305
- prompt?: string | undefined;
14306
- } | undefined;
14307
- } & {
14308
- param: {
14309
- id: string;
14310
- };
14311
- };
14312
- } | {
14313
14295
  output: {
14314
14296
  run: {
14315
14297
  id: string;
@@ -14762,6 +14744,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14762
14744
  id: string;
14763
14745
  };
14764
14746
  };
14747
+ } | {
14748
+ output: {
14749
+ error: string;
14750
+ };
14751
+ outputFormat: "json";
14752
+ status: 404;
14753
+ input: {
14754
+ json: {
14755
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14756
+ model?: string | undefined;
14757
+ effort?: string | undefined;
14758
+ prompt?: string | undefined;
14759
+ } | undefined;
14760
+ } & {
14761
+ param: {
14762
+ id: string;
14763
+ };
14764
+ };
14765
14765
  } | {
14766
14766
  output: {
14767
14767
  error: string;
@@ -14785,7 +14785,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14785
14785
  error: string;
14786
14786
  };
14787
14787
  outputFormat: "json";
14788
- status: 404;
14788
+ status: 409;
14789
14789
  input: {
14790
14790
  json: {
14791
14791
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -14888,14 +14888,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14888
14888
  "/agent-config/:id": {
14889
14889
  $put: {
14890
14890
  output: {
14891
- id: string;
14892
- path: string;
14893
- exists: boolean;
14894
- content: string;
14895
- version: string | null;
14891
+ error: string;
14896
14892
  };
14897
14893
  outputFormat: "json";
14898
- status: import("hono/utils/http-status").ContentfulStatusCode;
14894
+ status: 404;
14899
14895
  input: {
14900
14896
  json: {
14901
14897
  content: string;
@@ -14908,10 +14904,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14908
14904
  };
14909
14905
  } | {
14910
14906
  output: {
14911
- error: string;
14907
+ id: string;
14908
+ path: string;
14909
+ exists: boolean;
14910
+ content: string;
14911
+ version: string | null;
14912
14912
  };
14913
14913
  outputFormat: "json";
14914
- status: 404;
14914
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14915
14915
  input: {
14916
14916
  json: {
14917
14917
  content: string;
@@ -14981,10 +14981,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14981
14981
  "/workflows": {
14982
14982
  $post: {
14983
14983
  output: {
14984
- error: string;
14984
+ path: string;
14985
+ name: string;
14985
14986
  };
14986
14987
  outputFormat: "json";
14987
- status: 400;
14988
+ status: 201;
14988
14989
  input: {
14989
14990
  json: {
14990
14991
  name: string;
@@ -15013,10 +15014,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15013
15014
  } | {
15014
15015
  output: {
15015
15016
  error: string;
15016
- exists: true;
15017
15017
  };
15018
15018
  outputFormat: "json";
15019
- status: 409;
15019
+ status: 400;
15020
15020
  input: {
15021
15021
  json: {
15022
15022
  name: string;
@@ -15045,9 +15045,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15045
15045
  } | {
15046
15046
  output: {
15047
15047
  error: string;
15048
+ exists: true;
15048
15049
  };
15049
15050
  outputFormat: "json";
15050
- status: 500;
15051
+ status: 409;
15051
15052
  input: {
15052
15053
  json: {
15053
15054
  name: string;
@@ -15075,11 +15076,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15075
15076
  };
15076
15077
  } | {
15077
15078
  output: {
15078
- path: string;
15079
- name: string;
15079
+ error: string;
15080
15080
  };
15081
15081
  outputFormat: "json";
15082
- status: 201;
15082
+ status: 500;
15083
15083
  input: {
15084
15084
  json: {
15085
15085
  name: string;
@@ -15114,7 +15114,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15114
15114
  error: string;
15115
15115
  };
15116
15116
  outputFormat: "json";
15117
- status: 404;
15117
+ status: 400;
15118
15118
  input: {
15119
15119
  param: {
15120
15120
  name: string;
@@ -15125,7 +15125,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15125
15125
  error: string;
15126
15126
  };
15127
15127
  outputFormat: "json";
15128
- status: 400;
15128
+ status: 404;
15129
15129
  input: {
15130
15130
  param: {
15131
15131
  name: string;
@@ -15265,6 +15265,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15265
15265
  sha: string;
15266
15266
  };
15267
15267
  };
15268
+ } | {
15269
+ output: {
15270
+ error: string;
15271
+ };
15272
+ outputFormat: "json";
15273
+ status: 409;
15274
+ input: {
15275
+ query: {
15276
+ structured?: string | undefined;
15277
+ };
15278
+ } & {
15279
+ param: {
15280
+ sha: string;
15281
+ };
15282
+ };
15268
15283
  } | {
15269
15284
  output: {
15270
15285
  sha: string;
@@ -15298,21 +15313,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15298
15313
  sha: string;
15299
15314
  };
15300
15315
  };
15301
- } | {
15302
- output: {
15303
- error: string;
15304
- };
15305
- outputFormat: "json";
15306
- status: 409;
15307
- input: {
15308
- query: {
15309
- structured?: string | undefined;
15310
- };
15311
- } & {
15312
- param: {
15313
- sha: string;
15314
- };
15315
- };
15316
15316
  } | {
15317
15317
  output: string;
15318
15318
  outputFormat: "text";
@@ -15331,6 +15331,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15331
15331
  } & {
15332
15332
  "/repo/changes": {
15333
15333
  $get: {
15334
+ output: {
15335
+ error: string;
15336
+ };
15337
+ outputFormat: "json";
15338
+ status: 409;
15339
+ input: {};
15340
+ } | {
15334
15341
  output: {
15335
15342
  files: {
15336
15343
  path: string;
@@ -15355,13 +15362,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15355
15362
  outputFormat: "json";
15356
15363
  status: import("hono/utils/http-status").ContentfulStatusCode;
15357
15364
  input: {};
15358
- } | {
15359
- output: {
15360
- error: string;
15361
- };
15362
- outputFormat: "json";
15363
- status: 409;
15364
- input: {};
15365
15365
  };
15366
15366
  };
15367
15367
  } & {
@@ -15386,10 +15386,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15386
15386
  "/repo/pull": {
15387
15387
  $post: {
15388
15388
  output: {
15389
- error: string;
15389
+ branch: string;
15390
+ pulled: true;
15391
+ summary: string;
15390
15392
  };
15391
15393
  outputFormat: "json";
15392
- status: 409;
15394
+ status: 200;
15393
15395
  input: {
15394
15396
  json: {
15395
15397
  branch?: string | undefined;
@@ -15398,12 +15400,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15398
15400
  };
15399
15401
  } | {
15400
15402
  output: {
15401
- branch: string;
15402
- pulled: true;
15403
- summary: string;
15403
+ error: string;
15404
15404
  };
15405
15405
  outputFormat: "json";
15406
- status: 200;
15406
+ status: 409;
15407
15407
  input: {
15408
15408
  json: {
15409
15409
  branch?: string | undefined;
@@ -16121,30 +16121,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16121
16121
  "/automations": {
16122
16122
  $post: {
16123
16123
  output: {
16124
- error: string;
16125
- };
16126
- outputFormat: "json";
16127
- status: 400;
16128
- input: {
16129
- json: {
16124
+ automation: {
16125
+ [x: string]: import("hono/utils/types").JSONValue;
16126
+ id: string;
16127
+ revision: number;
16130
16128
  name: string;
16131
16129
  description?: string | undefined;
16132
- enabled?: boolean | undefined;
16130
+ enabled: boolean;
16133
16131
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
16134
16132
  intervalSeconds: number;
16135
16133
  filters: {
16136
- [x: string]: unknown;
16134
+ [x: string]: import("hono/utils/types").JSONValue;
16137
16135
  authors?: string[] | undefined;
16138
16136
  assignees?: string[] | undefined;
16139
16137
  allLabels?: string[] | undefined;
16140
16138
  anyLabels?: string[] | undefined;
16141
16139
  excludeLabels?: string[] | undefined;
16142
16140
  changedLabels?: string[] | undefined;
16143
- lookbackDays?: number | undefined;
16144
- maxRecords?: number | undefined;
16141
+ lookbackDays: number;
16142
+ maxRecords: number;
16145
16143
  };
16146
16144
  task: {
16147
- [x: string]: unknown;
16145
+ [x: string]: import("hono/utils/types").JSONValue;
16148
16146
  prompt: string;
16149
16147
  workflow?: string | undefined;
16150
16148
  steps?: {
@@ -16161,7 +16159,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16161
16159
  command?: string | undefined;
16162
16160
  onFail?: {
16163
16161
  retry: string;
16164
- max?: number | undefined;
16162
+ max: number;
16165
16163
  } | undefined;
16166
16164
  }[] | undefined;
16167
16165
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -16173,33 +16171,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16173
16171
  autonomous?: boolean | undefined;
16174
16172
  systemPrompt?: string | undefined;
16175
16173
  };
16176
- enable?: boolean | undefined;
16174
+ createdAt: string;
16175
+ updatedAt: string;
16177
16176
  };
16178
16177
  };
16179
- } | {
16180
- output: {
16181
- automation: {
16182
- [x: string]: import("hono/utils/types").JSONValue;
16183
- id: string;
16184
- revision: number;
16178
+ outputFormat: "json";
16179
+ status: 201;
16180
+ input: {
16181
+ json: {
16185
16182
  name: string;
16186
16183
  description?: string | undefined;
16187
- enabled: boolean;
16184
+ enabled?: boolean | undefined;
16188
16185
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
16189
16186
  intervalSeconds: number;
16190
16187
  filters: {
16191
- [x: string]: import("hono/utils/types").JSONValue;
16188
+ [x: string]: unknown;
16192
16189
  authors?: string[] | undefined;
16193
16190
  assignees?: string[] | undefined;
16194
16191
  allLabels?: string[] | undefined;
16195
16192
  anyLabels?: string[] | undefined;
16196
16193
  excludeLabels?: string[] | undefined;
16197
16194
  changedLabels?: string[] | undefined;
16198
- lookbackDays: number;
16199
- maxRecords: number;
16195
+ lookbackDays?: number | undefined;
16196
+ maxRecords?: number | undefined;
16200
16197
  };
16201
16198
  task: {
16202
- [x: string]: import("hono/utils/types").JSONValue;
16199
+ [x: string]: unknown;
16203
16200
  prompt: string;
16204
16201
  workflow?: string | undefined;
16205
16202
  steps?: {
@@ -16216,7 +16213,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16216
16213
  command?: string | undefined;
16217
16214
  onFail?: {
16218
16215
  retry: string;
16219
- max: number;
16216
+ max?: number | undefined;
16220
16217
  } | undefined;
16221
16218
  }[] | undefined;
16222
16219
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -16228,12 +16225,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16228
16225
  autonomous?: boolean | undefined;
16229
16226
  systemPrompt?: string | undefined;
16230
16227
  };
16231
- createdAt: string;
16232
- updatedAt: string;
16228
+ enable?: boolean | undefined;
16233
16229
  };
16234
16230
  };
16231
+ } | {
16232
+ output: {
16233
+ error: string;
16234
+ };
16235
16235
  outputFormat: "json";
16236
- status: 201;
16236
+ status: 400;
16237
16237
  input: {
16238
16238
  json: {
16239
16239
  name: string;
@@ -16837,10 +16837,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16837
16837
  "/automations/:id/check": {
16838
16838
  $post: {
16839
16839
  output: {
16840
- error: string;
16840
+ checkId: string;
16841
16841
  };
16842
16842
  outputFormat: "json";
16843
- status: 404;
16843
+ status: 202;
16844
16844
  input: {
16845
16845
  json: {
16846
16846
  mode: "execute" | "preview";
@@ -16852,10 +16852,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16852
16852
  };
16853
16853
  } | {
16854
16854
  output: {
16855
- checkId: string;
16855
+ error: string;
16856
16856
  };
16857
16857
  outputFormat: "json";
16858
- status: 202;
16858
+ status: 404;
16859
16859
  input: {
16860
16860
  json: {
16861
16861
  mode: "execute" | "preview";
@@ -16929,10 +16929,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16929
16929
  "/automation-log/:receiptId/retry": {
16930
16930
  $post: {
16931
16931
  output: {
16932
- error: string;
16932
+ receiptId: string;
16933
+ runId: string;
16933
16934
  };
16934
16935
  outputFormat: "json";
16935
- status: 404;
16936
+ status: 202;
16936
16937
  input: {
16937
16938
  param: {
16938
16939
  receiptId: string;
@@ -16943,7 +16944,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16943
16944
  error: string;
16944
16945
  };
16945
16946
  outputFormat: "json";
16946
- status: 409;
16947
+ status: 404;
16947
16948
  input: {
16948
16949
  param: {
16949
16950
  receiptId: string;
@@ -16951,11 +16952,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16951
16952
  };
16952
16953
  } | {
16953
16954
  output: {
16954
- receiptId: string;
16955
- runId: string;
16955
+ error: string;
16956
16956
  };
16957
16957
  outputFormat: "json";
16958
- status: 202;
16958
+ status: 409;
16959
16959
  input: {
16960
16960
  param: {
16961
16961
  receiptId: string;
@@ -17537,22 +17537,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17537
17537
  "/runs/:id/worker-destroy": {
17538
17538
  $post: {
17539
17539
  output: {
17540
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
17541
- readonly error: string;
17542
- readonly modelChoices?: {
17543
- runner: "claude" | "codex" | "cursor" | "opencode" | "pi";
17544
- requestedModel: string;
17545
- availableModels: {
17546
- id: string;
17547
- label: string;
17548
- description: string;
17549
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
17550
- }[];
17551
- otherRunners: ("claude" | "codex" | "cursor" | "opencode" | "pi")[];
17552
- } | undefined;
17540
+ workerId: string;
17541
+ state: "complete" | "incomplete";
17542
+ deleted?: ({
17543
+ kind: "worktree";
17544
+ path: string;
17545
+ } | {
17546
+ kind: "branch";
17547
+ ref: string;
17548
+ })[] | undefined;
17549
+ remaining: ("branch" | "process" | "worktree")[];
17550
+ error?: string | undefined;
17553
17551
  };
17554
17552
  outputFormat: "json";
17555
- status: 400 | 401 | 403 | 409 | 503;
17553
+ status: 200;
17556
17554
  input: {
17557
17555
  query: {
17558
17556
  [x: string]: string | string[];
@@ -17597,7 +17595,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17597
17595
  error?: string | undefined;
17598
17596
  };
17599
17597
  outputFormat: "json";
17600
- status: 200;
17598
+ status: 409;
17601
17599
  input: {
17602
17600
  query: {
17603
17601
  [x: string]: string | string[];
@@ -17611,20 +17609,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17611
17609
  };
17612
17610
  } | {
17613
17611
  output: {
17614
- workerId: string;
17615
- state: "complete" | "incomplete";
17616
- deleted?: ({
17617
- kind: "worktree";
17618
- path: string;
17619
- } | {
17620
- kind: "branch";
17621
- ref: string;
17622
- })[] | undefined;
17623
- remaining: ("branch" | "process" | "worktree")[];
17624
- error?: string | undefined;
17612
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
17613
+ readonly error: string;
17614
+ readonly modelChoices?: {
17615
+ runner: "claude" | "codex" | "cursor" | "opencode" | "pi";
17616
+ requestedModel: string;
17617
+ availableModels: {
17618
+ id: string;
17619
+ label: string;
17620
+ description: string;
17621
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
17622
+ }[];
17623
+ otherRunners: ("claude" | "codex" | "cursor" | "opencode" | "pi")[];
17624
+ } | undefined;
17625
17625
  };
17626
17626
  outputFormat: "json";
17627
- status: 409;
17627
+ status: 400 | 401 | 403 | 409 | 503;
17628
17628
  input: {
17629
17629
  query: {
17630
17630
  [x: string]: string | string[];
@@ -17663,6 +17663,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17663
17663
  } & {
17664
17664
  "/runs/:id/archive": {
17665
17665
  $post: {
17666
+ output: {
17667
+ error: string;
17668
+ };
17669
+ outputFormat: "json";
17670
+ status: 404;
17671
+ input: {
17672
+ json: {
17673
+ archived?: boolean | undefined;
17674
+ };
17675
+ } & {
17676
+ param: {
17677
+ id: string;
17678
+ };
17679
+ };
17680
+ } | {
17666
17681
  output: {
17667
17682
  id: string;
17668
17683
  title: string;
@@ -18110,32 +18125,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18110
18125
  id: string;
18111
18126
  };
18112
18127
  };
18113
- } | {
18128
+ };
18129
+ };
18130
+ } & {
18131
+ "/runs/:id/pin": {
18132
+ $post: {
18114
18133
  output: {
18115
18134
  error: string;
18135
+ code?: "invalid_input" | undefined;
18116
18136
  };
18117
18137
  outputFormat: "json";
18118
- status: 404;
18138
+ status: 400;
18119
18139
  input: {
18120
- json: {
18121
- archived?: boolean | undefined;
18122
- };
18123
- } & {
18124
18140
  param: {
18125
18141
  id: string;
18126
18142
  };
18143
+ } & {
18144
+ json: {
18145
+ pinned?: boolean | undefined;
18146
+ };
18127
18147
  };
18128
- };
18129
- };
18130
- } & {
18131
- "/runs/:id/pin": {
18132
- $post: {
18148
+ } | {
18133
18149
  output: {
18134
18150
  error: string;
18135
- code?: "invalid_input" | undefined;
18136
18151
  };
18137
18152
  outputFormat: "json";
18138
- status: 400;
18153
+ status: 404;
18139
18154
  input: {
18140
18155
  param: {
18141
18156
  id: string;
@@ -18593,29 +18608,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18593
18608
  pinned?: boolean | undefined;
18594
18609
  };
18595
18610
  };
18596
- } | {
18611
+ };
18612
+ };
18613
+ } & {
18614
+ "/runs/:id/notify": {
18615
+ $post: {
18597
18616
  output: {
18598
18617
  error: string;
18618
+ code?: "invalid_input" | undefined;
18599
18619
  };
18600
18620
  outputFormat: "json";
18601
- status: 404;
18621
+ status: 400;
18602
18622
  input: {
18603
18623
  param: {
18604
18624
  id: string;
18605
18625
  };
18606
18626
  } & {
18607
18627
  json: {
18608
- pinned?: boolean | undefined;
18628
+ notify: boolean;
18629
+ message?: string | undefined;
18609
18630
  };
18610
18631
  };
18611
- };
18612
- };
18613
- } & {
18614
- "/runs/:id/notify": {
18615
- $post: {
18632
+ } | {
18616
18633
  output: {
18617
18634
  error: string;
18618
- code?: "invalid_input" | undefined;
18619
18635
  };
18620
18636
  outputFormat: "json";
18621
18637
  status: 400;
@@ -18629,6 +18645,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18629
18645
  message?: string | undefined;
18630
18646
  };
18631
18647
  };
18648
+ } | {
18649
+ output: {
18650
+ error: string;
18651
+ };
18652
+ outputFormat: "json";
18653
+ status: 404;
18654
+ input: {
18655
+ param: {
18656
+ id: string;
18657
+ };
18658
+ } & {
18659
+ json: {
18660
+ notify: boolean;
18661
+ message?: string | undefined;
18662
+ };
18663
+ };
18632
18664
  } | {
18633
18665
  output: {
18634
18666
  id: string;
@@ -19078,7 +19110,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19078
19110
  message?: string | undefined;
19079
19111
  };
19080
19112
  };
19081
- } | {
19113
+ };
19114
+ };
19115
+ } & {
19116
+ "/runs/:id/auto-resume": {
19117
+ $delete: {
19082
19118
  output: {
19083
19119
  error: string;
19084
19120
  };
@@ -19088,33 +19124,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19088
19124
  param: {
19089
19125
  id: string;
19090
19126
  };
19091
- } & {
19092
- json: {
19093
- notify: boolean;
19094
- message?: string | undefined;
19095
- };
19096
19127
  };
19097
19128
  } | {
19098
19129
  output: {
19099
- error: string;
19130
+ cancelled: true;
19100
19131
  };
19101
19132
  outputFormat: "json";
19102
- status: 400;
19133
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19103
19134
  input: {
19104
19135
  param: {
19105
19136
  id: string;
19106
19137
  };
19107
- } & {
19108
- json: {
19109
- notify: boolean;
19110
- message?: string | undefined;
19111
- };
19112
19138
  };
19113
19139
  };
19114
19140
  };
19115
19141
  } & {
19116
- "/runs/:id/auto-resume": {
19117
- $delete: {
19142
+ "/runs/:id/read": {
19143
+ $post: {
19118
19144
  output: {
19119
19145
  error: string;
19120
19146
  };
@@ -19126,21 +19152,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19126
19152
  };
19127
19153
  };
19128
19154
  } | {
19129
- output: {
19130
- cancelled: true;
19131
- };
19132
- outputFormat: "json";
19133
- status: import("hono/utils/http-status").ContentfulStatusCode;
19134
- input: {
19135
- param: {
19136
- id: string;
19137
- };
19138
- };
19139
- };
19140
- };
19141
- } & {
19142
- "/runs/:id/read": {
19143
- $post: {
19144
19155
  output: {
19145
19156
  id: string;
19146
19157
  title: string;
@@ -19584,7 +19595,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19584
19595
  id: string;
19585
19596
  };
19586
19597
  };
19587
- } | {
19598
+ };
19599
+ };
19600
+ } & {
19601
+ "/runs/:id/unread": {
19602
+ $post: {
19588
19603
  output: {
19589
19604
  error: string;
19590
19605
  };
@@ -19595,11 +19610,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19595
19610
  id: string;
19596
19611
  };
19597
19612
  };
19598
- };
19599
- };
19600
- } & {
19601
- "/runs/:id/unread": {
19602
- $post: {
19613
+ } | {
19603
19614
  output: {
19604
19615
  id: string;
19605
19616
  title: string;
@@ -20043,17 +20054,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20043
20054
  id: string;
20044
20055
  };
20045
20056
  };
20046
- } | {
20047
- output: {
20048
- error: string;
20049
- };
20050
- outputFormat: "json";
20051
- status: 404;
20052
- input: {
20053
- param: {
20054
- id: string;
20055
- };
20056
- };
20057
20057
  };
20058
20058
  };
20059
20059
  } & {
@@ -21014,141 +21014,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21014
21014
  notify?: boolean | undefined;
21015
21015
  };
21016
21016
  };
21017
- } | {
21018
- output: {
21019
- error: string;
21020
- };
21021
- outputFormat: "json";
21022
- status: 409;
21023
- input: {
21024
- json: {
21025
- workflow?: string | undefined;
21026
- steps?: {
21027
- id: string;
21028
- name?: string | undefined;
21029
- prompt?: string | undefined;
21030
- skill?: string | undefined;
21031
- model?: string | undefined;
21032
- effort?: string | undefined;
21033
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21034
- agentProfile?: string | undefined;
21035
- allowedTools?: string[] | undefined;
21036
- bashAllowlist?: string[] | undefined;
21037
- command?: string | undefined;
21038
- onFail?: {
21039
- retry: string;
21040
- max?: number | undefined;
21041
- } | undefined;
21042
- }[] | undefined;
21043
- task: string;
21044
- model?: string | undefined;
21045
- effort?: string | undefined;
21046
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21047
- agentProfile?: string | undefined;
21048
- variants?: number | undefined;
21049
- worktree?: boolean | undefined;
21050
- autonomous?: boolean | undefined;
21051
- generateFollowups?: boolean | undefined;
21052
- systemPrompt?: string | undefined;
21053
- images?: {
21054
- mediaType: string;
21055
- data: string;
21056
- }[] | undefined;
21057
- todoId?: string | undefined;
21058
- clientRequestId?: string | undefined;
21059
- notify?: boolean | undefined;
21060
- };
21061
- };
21062
- } | {
21063
- output: {
21064
- error: string;
21065
- };
21066
- outputFormat: "json";
21067
- status: 400;
21068
- input: {
21069
- json: {
21070
- workflow?: string | undefined;
21071
- steps?: {
21072
- id: string;
21073
- name?: string | undefined;
21074
- prompt?: string | undefined;
21075
- skill?: string | undefined;
21076
- model?: string | undefined;
21077
- effort?: string | undefined;
21078
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21079
- agentProfile?: string | undefined;
21080
- allowedTools?: string[] | undefined;
21081
- bashAllowlist?: string[] | undefined;
21082
- command?: string | undefined;
21083
- onFail?: {
21084
- retry: string;
21085
- max?: number | undefined;
21086
- } | undefined;
21087
- }[] | undefined;
21088
- task: string;
21089
- model?: string | undefined;
21090
- effort?: string | undefined;
21091
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21092
- agentProfile?: string | undefined;
21093
- variants?: number | undefined;
21094
- worktree?: boolean | undefined;
21095
- autonomous?: boolean | undefined;
21096
- generateFollowups?: boolean | undefined;
21097
- systemPrompt?: string | undefined;
21098
- images?: {
21099
- mediaType: string;
21100
- data: string;
21101
- }[] | undefined;
21102
- todoId?: string | undefined;
21103
- clientRequestId?: string | undefined;
21104
- notify?: boolean | undefined;
21105
- };
21106
- };
21107
- } | {
21108
- output: {
21109
- error: string;
21110
- };
21111
- outputFormat: "json";
21112
- status: 404;
21113
- input: {
21114
- json: {
21115
- workflow?: string | undefined;
21116
- steps?: {
21117
- id: string;
21118
- name?: string | undefined;
21119
- prompt?: string | undefined;
21120
- skill?: string | undefined;
21121
- model?: string | undefined;
21122
- effort?: string | undefined;
21123
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21124
- agentProfile?: string | undefined;
21125
- allowedTools?: string[] | undefined;
21126
- bashAllowlist?: string[] | undefined;
21127
- command?: string | undefined;
21128
- onFail?: {
21129
- retry: string;
21130
- max?: number | undefined;
21131
- } | undefined;
21132
- }[] | undefined;
21133
- task: string;
21134
- model?: string | undefined;
21135
- effort?: string | undefined;
21136
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21137
- agentProfile?: string | undefined;
21138
- variants?: number | undefined;
21139
- worktree?: boolean | undefined;
21140
- autonomous?: boolean | undefined;
21141
- generateFollowups?: boolean | undefined;
21142
- systemPrompt?: string | undefined;
21143
- images?: {
21144
- mediaType: string;
21145
- data: string;
21146
- }[] | undefined;
21147
- todoId?: string | undefined;
21148
- clientRequestId?: string | undefined;
21149
- notify?: boolean | undefined;
21150
- };
21151
- };
21152
21017
  } | {
21153
21018
  output: {
21154
21019
  runs: {
@@ -21589,7 +21454,142 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21589
21454
  }[];
21590
21455
  };
21591
21456
  outputFormat: "json";
21592
- status: 201;
21457
+ status: 201;
21458
+ input: {
21459
+ json: {
21460
+ workflow?: string | undefined;
21461
+ steps?: {
21462
+ id: string;
21463
+ name?: string | undefined;
21464
+ prompt?: string | undefined;
21465
+ skill?: string | undefined;
21466
+ model?: string | undefined;
21467
+ effort?: string | undefined;
21468
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21469
+ agentProfile?: string | undefined;
21470
+ allowedTools?: string[] | undefined;
21471
+ bashAllowlist?: string[] | undefined;
21472
+ command?: string | undefined;
21473
+ onFail?: {
21474
+ retry: string;
21475
+ max?: number | undefined;
21476
+ } | undefined;
21477
+ }[] | undefined;
21478
+ task: string;
21479
+ model?: string | undefined;
21480
+ effort?: string | undefined;
21481
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21482
+ agentProfile?: string | undefined;
21483
+ variants?: number | undefined;
21484
+ worktree?: boolean | undefined;
21485
+ autonomous?: boolean | undefined;
21486
+ generateFollowups?: boolean | undefined;
21487
+ systemPrompt?: string | undefined;
21488
+ images?: {
21489
+ mediaType: string;
21490
+ data: string;
21491
+ }[] | undefined;
21492
+ todoId?: string | undefined;
21493
+ clientRequestId?: string | undefined;
21494
+ notify?: boolean | undefined;
21495
+ };
21496
+ };
21497
+ } | {
21498
+ output: {
21499
+ error: string;
21500
+ };
21501
+ outputFormat: "json";
21502
+ status: 400;
21503
+ input: {
21504
+ json: {
21505
+ workflow?: string | undefined;
21506
+ steps?: {
21507
+ id: string;
21508
+ name?: string | undefined;
21509
+ prompt?: string | undefined;
21510
+ skill?: string | undefined;
21511
+ model?: string | undefined;
21512
+ effort?: string | undefined;
21513
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21514
+ agentProfile?: string | undefined;
21515
+ allowedTools?: string[] | undefined;
21516
+ bashAllowlist?: string[] | undefined;
21517
+ command?: string | undefined;
21518
+ onFail?: {
21519
+ retry: string;
21520
+ max?: number | undefined;
21521
+ } | undefined;
21522
+ }[] | undefined;
21523
+ task: string;
21524
+ model?: string | undefined;
21525
+ effort?: string | undefined;
21526
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21527
+ agentProfile?: string | undefined;
21528
+ variants?: number | undefined;
21529
+ worktree?: boolean | undefined;
21530
+ autonomous?: boolean | undefined;
21531
+ generateFollowups?: boolean | undefined;
21532
+ systemPrompt?: string | undefined;
21533
+ images?: {
21534
+ mediaType: string;
21535
+ data: string;
21536
+ }[] | undefined;
21537
+ todoId?: string | undefined;
21538
+ clientRequestId?: string | undefined;
21539
+ notify?: boolean | undefined;
21540
+ };
21541
+ };
21542
+ } | {
21543
+ output: {
21544
+ error: string;
21545
+ };
21546
+ outputFormat: "json";
21547
+ status: 404;
21548
+ input: {
21549
+ json: {
21550
+ workflow?: string | undefined;
21551
+ steps?: {
21552
+ id: string;
21553
+ name?: string | undefined;
21554
+ prompt?: string | undefined;
21555
+ skill?: string | undefined;
21556
+ model?: string | undefined;
21557
+ effort?: string | undefined;
21558
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21559
+ agentProfile?: string | undefined;
21560
+ allowedTools?: string[] | undefined;
21561
+ bashAllowlist?: string[] | undefined;
21562
+ command?: string | undefined;
21563
+ onFail?: {
21564
+ retry: string;
21565
+ max?: number | undefined;
21566
+ } | undefined;
21567
+ }[] | undefined;
21568
+ task: string;
21569
+ model?: string | undefined;
21570
+ effort?: string | undefined;
21571
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21572
+ agentProfile?: string | undefined;
21573
+ variants?: number | undefined;
21574
+ worktree?: boolean | undefined;
21575
+ autonomous?: boolean | undefined;
21576
+ generateFollowups?: boolean | undefined;
21577
+ systemPrompt?: string | undefined;
21578
+ images?: {
21579
+ mediaType: string;
21580
+ data: string;
21581
+ }[] | undefined;
21582
+ todoId?: string | undefined;
21583
+ clientRequestId?: string | undefined;
21584
+ notify?: boolean | undefined;
21585
+ };
21586
+ };
21587
+ } | {
21588
+ output: {
21589
+ error: string;
21590
+ };
21591
+ outputFormat: "json";
21592
+ status: 409;
21593
21593
  input: {
21594
21594
  json: {
21595
21595
  workflow?: string | undefined;
@@ -21634,6 +21634,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21634
21634
  } & {
21635
21635
  "/runs/:id": {
21636
21636
  $get: {
21637
+ output: {
21638
+ error: string;
21639
+ };
21640
+ outputFormat: "json";
21641
+ status: 404;
21642
+ input: {
21643
+ param: {
21644
+ id: string;
21645
+ };
21646
+ };
21647
+ } | {
21637
21648
  output: {
21638
21649
  id: string;
21639
21650
  title: string;
@@ -22084,17 +22095,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22084
22095
  id: string;
22085
22096
  };
22086
22097
  };
22087
- } | {
22088
- output: {
22089
- error: string;
22090
- };
22091
- outputFormat: "json";
22092
- status: 404;
22093
- input: {
22094
- param: {
22095
- id: string;
22096
- };
22097
- };
22098
22098
  };
22099
22099
  };
22100
22100
  } & {
@@ -22222,6 +22222,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22222
22222
  } & {
22223
22223
  "/runs/:id": {
22224
22224
  $patch: {
22225
+ output: {
22226
+ error: string;
22227
+ };
22228
+ outputFormat: "json";
22229
+ status: 400;
22230
+ input: {
22231
+ json: {
22232
+ title?: string | undefined;
22233
+ task?: string | undefined;
22234
+ };
22235
+ } & {
22236
+ param: {
22237
+ id: string;
22238
+ };
22239
+ };
22240
+ } | {
22241
+ output: {
22242
+ error: string;
22243
+ };
22244
+ outputFormat: "json";
22245
+ status: 404;
22246
+ input: {
22247
+ json: {
22248
+ title?: string | undefined;
22249
+ task?: string | undefined;
22250
+ };
22251
+ } & {
22252
+ param: {
22253
+ id: string;
22254
+ };
22255
+ };
22256
+ } | {
22257
+ output: {
22258
+ error: string;
22259
+ };
22260
+ outputFormat: "json";
22261
+ status: 409;
22262
+ input: {
22263
+ json: {
22264
+ title?: string | undefined;
22265
+ task?: string | undefined;
22266
+ };
22267
+ } & {
22268
+ param: {
22269
+ id: string;
22270
+ };
22271
+ };
22272
+ } | {
22225
22273
  output: {
22226
22274
  id: string;
22227
22275
  title: string;
@@ -22670,54 +22718,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22670
22718
  id: string;
22671
22719
  };
22672
22720
  };
22673
- } | {
22674
- output: {
22675
- error: string;
22676
- };
22677
- outputFormat: "json";
22678
- status: 404;
22679
- input: {
22680
- json: {
22681
- title?: string | undefined;
22682
- task?: string | undefined;
22683
- };
22684
- } & {
22685
- param: {
22686
- id: string;
22687
- };
22688
- };
22689
- } | {
22690
- output: {
22691
- error: string;
22692
- };
22693
- outputFormat: "json";
22694
- status: 400;
22695
- input: {
22696
- json: {
22697
- title?: string | undefined;
22698
- task?: string | undefined;
22699
- };
22700
- } & {
22701
- param: {
22702
- id: string;
22703
- };
22704
- };
22705
- } | {
22706
- output: {
22707
- error: string;
22708
- };
22709
- outputFormat: "json";
22710
- status: 409;
22711
- input: {
22712
- json: {
22713
- title?: string | undefined;
22714
- task?: string | undefined;
22715
- };
22716
- } & {
22717
- param: {
22718
- id: string;
22719
- };
22720
- };
22721
22721
  };
22722
22722
  };
22723
22723
  } & {
@@ -22753,7 +22753,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22753
22753
  error: string;
22754
22754
  };
22755
22755
  outputFormat: "json";
22756
- status: 404;
22756
+ status: 400;
22757
22757
  input: {
22758
22758
  json: {
22759
22759
  text?: string | undefined;
@@ -22772,7 +22772,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22772
22772
  error: string;
22773
22773
  };
22774
22774
  outputFormat: "json";
22775
- status: 409;
22775
+ status: 404;
22776
22776
  input: {
22777
22777
  json: {
22778
22778
  text?: string | undefined;
@@ -22788,10 +22788,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22788
22788
  };
22789
22789
  } | {
22790
22790
  output: {
22791
- delivered: true;
22791
+ error: string;
22792
22792
  };
22793
22793
  outputFormat: "json";
22794
- status: import("hono/utils/http-status").ContentfulStatusCode;
22794
+ status: 409;
22795
22795
  input: {
22796
22796
  json: {
22797
22797
  text?: string | undefined;
@@ -22807,10 +22807,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22807
22807
  };
22808
22808
  } | {
22809
22809
  output: {
22810
- error: string;
22810
+ delivered: true;
22811
22811
  };
22812
22812
  outputFormat: "json";
22813
- status: 400;
22813
+ status: import("hono/utils/http-status").ContentfulStatusCode;
22814
22814
  input: {
22815
22815
  json: {
22816
22816
  text?: string | undefined;
@@ -22877,7 +22877,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22877
22877
  error: string;
22878
22878
  };
22879
22879
  outputFormat: "json";
22880
- status: 404;
22880
+ status: 400;
22881
22881
  input: {
22882
22882
  json: {
22883
22883
  text?: string | undefined;
@@ -22898,7 +22898,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22898
22898
  error: string;
22899
22899
  };
22900
22900
  outputFormat: "json";
22901
- status: 400;
22901
+ status: 404;
22902
22902
  input: {
22903
22903
  json: {
22904
22904
  text?: string | undefined;
@@ -23050,7 +23050,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23050
23050
  error: string;
23051
23051
  };
23052
23052
  outputFormat: "json";
23053
- status: 404;
23053
+ status: 400;
23054
23054
  input: {
23055
23055
  json: {
23056
23056
  text?: string | undefined;
@@ -23073,7 +23073,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23073
23073
  error: string;
23074
23074
  };
23075
23075
  outputFormat: "json";
23076
- status: 400;
23076
+ status: 404;
23077
23077
  input: {
23078
23078
  json: {
23079
23079
  text?: string | undefined;
@@ -23184,7 +23184,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23184
23184
  error: string;
23185
23185
  };
23186
23186
  outputFormat: "json";
23187
- status: 404;
23187
+ status: 400;
23188
23188
  input: {
23189
23189
  json: {
23190
23190
  target: string;
@@ -23200,7 +23200,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23200
23200
  error: string;
23201
23201
  };
23202
23202
  outputFormat: "json";
23203
- status: 409;
23203
+ status: 404;
23204
23204
  input: {
23205
23205
  json: {
23206
23206
  target: string;
@@ -23216,7 +23216,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23216
23216
  error: string;
23217
23217
  };
23218
23218
  outputFormat: "json";
23219
- status: 400;
23219
+ status: 409;
23220
23220
  input: {
23221
23221
  json: {
23222
23222
  target: string;
@@ -23249,20 +23249,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23249
23249
  } & {
23250
23250
  "/runs/:id/handoff": {
23251
23251
  $get: {
23252
- output: {
23253
- error: string;
23254
- };
23255
- outputFormat: "json";
23256
- status: 404;
23252
+ output: string;
23253
+ outputFormat: "text";
23254
+ status: 200;
23257
23255
  input: {
23258
23256
  param: {
23259
23257
  id: string;
23260
23258
  };
23261
23259
  };
23262
23260
  } | {
23263
- output: string;
23264
- outputFormat: "text";
23265
- status: 200;
23261
+ output: {
23262
+ error: string;
23263
+ };
23264
+ outputFormat: "json";
23265
+ status: 404;
23266
23266
  input: {
23267
23267
  param: {
23268
23268
  id: string;
@@ -23273,9 +23273,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23273
23273
  } & {
23274
23274
  "/runs/:id/images/:file": {
23275
23275
  $get: {
23276
- output: {};
23277
- outputFormat: string;
23278
- status: import("hono/utils/http-status").StatusCode;
23276
+ output: {
23277
+ error: string;
23278
+ code?: "invalid_input" | undefined;
23279
+ };
23280
+ outputFormat: "json";
23281
+ status: 400;
23279
23282
  input: {
23280
23283
  param: {
23281
23284
  id: string;
@@ -23283,12 +23286,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23283
23286
  };
23284
23287
  };
23285
23288
  } | {
23286
- output: {
23287
- error: string;
23288
- code?: "invalid_input" | undefined;
23289
- };
23290
- outputFormat: "json";
23291
- status: 400;
23289
+ output: {};
23290
+ outputFormat: string;
23291
+ status: import("hono/utils/http-status").StatusCode;
23292
23292
  input: {
23293
23293
  param: {
23294
23294
  id: string;
@@ -23642,6 +23642,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23642
23642
  artifactId: string;
23643
23643
  };
23644
23644
  };
23645
+ } | {
23646
+ output: {
23647
+ error: string;
23648
+ };
23649
+ outputFormat: "json";
23650
+ status: 404;
23651
+ input: {
23652
+ param: {
23653
+ id: string;
23654
+ artifactId: string;
23655
+ };
23656
+ };
23645
23657
  } | {
23646
23658
  output: {
23647
23659
  type: "file";
@@ -23669,18 +23681,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23669
23681
  artifactId: string;
23670
23682
  };
23671
23683
  };
23672
- } | {
23673
- output: {
23674
- error: string;
23675
- };
23676
- outputFormat: "json";
23677
- status: 404;
23678
- input: {
23679
- param: {
23680
- id: string;
23681
- artifactId: string;
23682
- };
23683
- };
23684
23684
  };
23685
23685
  };
23686
23686
  } & {
@@ -23977,10 +23977,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23977
23977
  "/runs/:id/pr": {
23978
23978
  $post: {
23979
23979
  output: {
23980
- error: string;
23980
+ url: string;
23981
+ dryRun: boolean;
23981
23982
  };
23982
23983
  outputFormat: "json";
23983
- status: 404;
23984
+ status: 201;
23984
23985
  input: {
23985
23986
  param: {
23986
23987
  id: string;
@@ -23991,7 +23992,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23991
23992
  error: string;
23992
23993
  };
23993
23994
  outputFormat: "json";
23994
- status: 409;
23995
+ status: 400;
23995
23996
  input: {
23996
23997
  param: {
23997
23998
  id: string;
@@ -24002,7 +24003,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24002
24003
  error: string;
24003
24004
  };
24004
24005
  outputFormat: "json";
24005
- status: 400;
24006
+ status: 404;
24006
24007
  input: {
24007
24008
  param: {
24008
24009
  id: string;
@@ -24010,11 +24011,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24010
24011
  };
24011
24012
  } | {
24012
24013
  output: {
24013
- url: string;
24014
- dryRun: boolean;
24014
+ error: string;
24015
24015
  };
24016
24016
  outputFormat: "json";
24017
- status: 201;
24017
+ status: 409;
24018
24018
  input: {
24019
24019
  param: {
24020
24020
  id: string;
@@ -24066,7 +24066,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24066
24066
  error: string;
24067
24067
  };
24068
24068
  outputFormat: "json";
24069
- status: 409;
24069
+ status: 404;
24070
24070
  input: {
24071
24071
  param: {
24072
24072
  id: string;
@@ -24077,7 +24077,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24077
24077
  error: string;
24078
24078
  };
24079
24079
  outputFormat: "json";
24080
- status: 404;
24080
+ status: 409;
24081
24081
  input: {
24082
24082
  param: {
24083
24083
  id: string;