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

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,17 +331,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
331
331
  };
332
332
  } | {
333
333
  output: {
334
- path: string;
335
- parent: string | null;
336
- dirs: {
337
- name: string;
338
- path: string;
339
- isRepo: boolean;
340
- }[];
341
- truncated: boolean;
334
+ error: string;
342
335
  };
343
336
  outputFormat: "json";
344
- status: import("hono/utils/http-status").ContentfulStatusCode;
337
+ status: 400 | 404;
345
338
  input: {
346
339
  query: {
347
340
  path?: string | undefined;
@@ -350,10 +343,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
350
343
  };
351
344
  } | {
352
345
  output: {
353
- error: string;
346
+ path: string;
347
+ parent: string | null;
348
+ dirs: {
349
+ name: string;
350
+ path: string;
351
+ isRepo: boolean;
352
+ }[];
353
+ truncated: boolean;
354
354
  };
355
355
  outputFormat: "json";
356
- status: 400 | 404;
356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
357
357
  input: {
358
358
  query: {
359
359
  path?: string | undefined;
@@ -365,17 +365,6 @@ 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
- } | {
379
368
  output: {
380
369
  id: string;
381
370
  automationId: string;
@@ -394,6 +383,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
394
383
  checkId: string;
395
384
  };
396
385
  };
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,6 +545,17 @@ 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
+ };
548
559
  } | {
549
560
  output: {
550
561
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -571,17 +582,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
571
582
  projectId: string | string[];
572
583
  };
573
584
  };
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,10 +720,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
720
720
  };
721
721
  } | {
722
722
  output: {
723
- error: string;
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
+ }[];
724
731
  };
725
732
  outputFormat: "json";
726
- status: 500;
733
+ status: import("hono/utils/http-status").ContentfulStatusCode;
727
734
  input: {
728
735
  param: {
729
736
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -735,17 +742,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
735
742
  };
736
743
  } | {
737
744
  output: {
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
- }[];
745
+ error: string;
746
746
  };
747
747
  outputFormat: "json";
748
- status: import("hono/utils/http-status").ContentfulStatusCode;
748
+ status: 500;
749
749
  input: {
750
750
  param: {
751
751
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -777,10 +777,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
777
777
  };
778
778
  } | {
779
779
  output: {
780
- error: string;
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
+ }[];
781
788
  };
782
789
  outputFormat: "json";
783
- status: 409;
790
+ status: import("hono/utils/http-status").ContentfulStatusCode;
784
791
  input: {
785
792
  param: {
786
793
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -792,17 +799,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
792
799
  };
793
800
  } | {
794
801
  output: {
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
- }[];
802
+ error: string;
803
803
  };
804
804
  outputFormat: "json";
805
- status: import("hono/utils/http-status").ContentfulStatusCode;
805
+ status: 409;
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: 400;
824
+ status: 409;
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: 409;
836
+ status: 400;
837
837
  input: {
838
838
  json: {
839
839
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -921,10 +921,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
921
921
  "/workspace/config": {
922
922
  $put: {
923
923
  output: {
924
- error: string;
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
+ };
925
950
  };
926
951
  outputFormat: "json";
927
- status: 400;
952
+ status: import("hono/utils/http-status").ContentfulStatusCode;
928
953
  input: {
929
954
  json: {
930
955
  browseRoot?: string | undefined;
@@ -959,7 +984,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
959
984
  error: string;
960
985
  };
961
986
  outputFormat: "json";
962
- status: 500;
987
+ status: 400;
963
988
  input: {
964
989
  json: {
965
990
  browseRoot?: string | undefined;
@@ -991,35 +1016,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
991
1016
  };
992
1017
  } | {
993
1018
  output: {
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
- };
1019
+ error: string;
1020
1020
  };
1021
1021
  outputFormat: "json";
1022
- status: import("hono/utils/http-status").ContentfulStatusCode;
1022
+ status: 500;
1023
1023
  input: {
1024
1024
  json: {
1025
1025
  browseRoot?: string | undefined;
@@ -1101,10 +1101,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1101
1101
  "/workspace/ui-state": {
1102
1102
  $put: {
1103
1103
  output: {
1104
- error: string;
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;
1105
1140
  };
1106
1141
  outputFormat: "json";
1107
- status: 500;
1142
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1108
1143
  input: {
1109
1144
  json: {
1110
1145
  [x: string]: unknown;
@@ -1143,45 +1178,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1143
1178
  };
1144
1179
  } | {
1145
1180
  output: {
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;
1181
+ error: string;
1182
1182
  };
1183
1183
  outputFormat: "json";
1184
- status: import("hono/utils/http-status").ContentfulStatusCode;
1184
+ status: 500;
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: 404;
1327
+ status: 409;
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: 409;
1338
+ status: 404;
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: 404;
1376
+ status: 409;
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: 409;
1396
+ status: 404;
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: 400;
1478
+ status: 409;
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: 409;
1500
+ status: 400;
1501
1501
  input: {
1502
1502
  param: {
1503
1503
  projectId: string;
@@ -1643,6 +1643,45 @@ 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
+ } | {
1646
1685
  output: {
1647
1686
  profile: {
1648
1687
  exists: boolean;
@@ -1693,45 +1732,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1693
1732
  configDir: string;
1694
1733
  };
1695
1734
  };
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
- input: {
1729
- json: {
1730
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1731
- label?: string | undefined;
1732
- configDir: string;
1733
- };
1734
- };
1735
1735
  };
1736
1736
  };
1737
1737
  } & {
@@ -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: 400;
1761
+ status: 409;
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: 404;
1777
+ status: 400;
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: 409;
1793
+ status: 404;
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: 404;
1899
+ status: 409;
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: 409;
1914
+ status: 404;
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: 404;
1967
+ status: 409;
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: 409;
1978
+ status: 404;
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: 400;
2026
+ status: 409;
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: 409;
2058
+ status: 400;
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: 400;
2095
+ status: 409;
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: 409;
2121
+ status: 400;
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: 404;
2193
+ status: 409;
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: 409;
2204
+ status: 500;
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: 500;
2215
+ status: 404;
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: 400;
2981
+ status: 409;
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: 409;
2992
+ status: 400;
2993
2993
  input: {
2994
2994
  json: {
2995
2995
  target: string;
@@ -3048,12 +3048,9 @@ 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
- error: string;
3053
- code?: "invalid_input" | undefined;
3054
- };
3055
- outputFormat: "json";
3056
- status: 400;
3051
+ output: {};
3052
+ outputFormat: string;
3053
+ status: import("hono/utils/http-status").StatusCode;
3057
3054
  input: {
3058
3055
  param: {
3059
3056
  id: string;
@@ -3065,9 +3062,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3065
3062
  };
3066
3063
  };
3067
3064
  } | {
3068
- output: {};
3069
- outputFormat: string;
3070
- status: import("hono/utils/http-status").StatusCode;
3065
+ output: {
3066
+ error: string;
3067
+ code?: "invalid_input" | undefined;
3068
+ };
3069
+ outputFormat: "json";
3070
+ status: 400;
3071
3071
  input: {
3072
3072
  param: {
3073
3073
  id: string;
@@ -3119,10 +3119,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3119
3119
  "/config": {
3120
3120
  $put: {
3121
3121
  output: {
3122
- error: string;
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;
3123
3138
  };
3124
3139
  outputFormat: "json";
3125
- status: 409;
3140
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3126
3141
  input: {
3127
3142
  json: {
3128
3143
  baseBranch?: string | null | undefined;
@@ -3147,7 +3162,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3147
3162
  error: string;
3148
3163
  };
3149
3164
  outputFormat: "json";
3150
- status: 500;
3165
+ status: 409;
3151
3166
  input: {
3152
3167
  json: {
3153
3168
  baseBranch?: string | null | undefined;
@@ -3169,25 +3184,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3169
3184
  };
3170
3185
  } | {
3171
3186
  output: {
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;
3187
+ error: string;
3188
3188
  };
3189
3189
  outputFormat: "json";
3190
- status: import("hono/utils/http-status").ContentfulStatusCode;
3190
+ status: 500;
3191
3191
  input: {
3192
3192
  json: {
3193
3193
  baseBranch?: string | null | undefined;
@@ -3212,18 +3212,6 @@ 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
- } | {
3227
3215
  output: {
3228
3216
  name: string;
3229
3217
  description?: string;
@@ -3246,11 +3234,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3246
3234
  wait?: string | undefined;
3247
3235
  };
3248
3236
  };
3249
- };
3250
- };
3251
- } & {
3252
- "/skills/importable": {
3253
- $get: {
3237
+ } | {
3254
3238
  output: {
3255
3239
  error: string;
3256
3240
  code?: "invalid_input" | undefined;
@@ -3262,7 +3246,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3262
3246
  wait?: string | undefined;
3263
3247
  };
3264
3248
  };
3265
- } | {
3249
+ };
3250
+ };
3251
+ } & {
3252
+ "/skills/importable": {
3253
+ $get: {
3266
3254
  output: {
3267
3255
  name: string;
3268
3256
  description?: string | undefined;
@@ -3274,6 +3262,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3274
3262
  wait?: string | undefined;
3275
3263
  };
3276
3264
  };
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: 404;
3330
+ status: 409;
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
- error: string;
3338
+ removed: true;
3339
3339
  };
3340
3340
  outputFormat: "json";
3341
- status: 409;
3341
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- removed: true;
3349
+ error: string;
3350
3350
  };
3351
3351
  outputFormat: "json";
3352
- status: import("hono/utils/http-status").ContentfulStatusCode;
3352
+ status: 404;
3353
3353
  input: {
3354
3354
  param: {
3355
3355
  id: string;
@@ -3360,6 +3360,24 @@ 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
+ } | {
3363
3381
  output: {
3364
3382
  run: {
3365
3383
  id: string;
@@ -3817,7 +3835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3817
3835
  error: string;
3818
3836
  };
3819
3837
  outputFormat: "json";
3820
- status: 404;
3838
+ status: 409;
3821
3839
  input: {
3822
3840
  json: {
3823
3841
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3835,7 +3853,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3835
3853
  error: string;
3836
3854
  };
3837
3855
  outputFormat: "json";
3838
- status: 409;
3856
+ status: 404;
3839
3857
  input: {
3840
3858
  json: {
3841
3859
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3848,29 +3866,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3848
3866
  id: string;
3849
3867
  };
3850
3868
  };
3851
- } | {
3852
- output: {
3853
- error: string;
3854
- };
3855
- outputFormat: "json";
3856
- status: 409;
3857
- input: {
3858
- json: {
3859
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3860
- model?: string | undefined;
3861
- effort?: string | undefined;
3862
- prompt?: string | undefined;
3863
- } | undefined;
3864
- } & {
3865
- param: {
3866
- id: string;
3867
- };
3868
- };
3869
- };
3870
- };
3871
- }, "/"> | import("hono/types").MergeSchemaPath<{
3872
- "/agent-config": {
3873
- $get: {
3869
+ };
3870
+ };
3871
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3872
+ "/agent-config": {
3873
+ $get: {
3874
3874
  output: {
3875
3875
  editable: boolean;
3876
3876
  files: {
@@ -3956,10 +3956,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3956
3956
  "/agent-config/:id": {
3957
3957
  $put: {
3958
3958
  output: {
3959
- error: string;
3959
+ id: string;
3960
+ path: string;
3961
+ exists: boolean;
3962
+ content: string;
3963
+ version: string | null;
3960
3964
  };
3961
3965
  outputFormat: "json";
3962
- status: 404;
3966
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3963
3967
  input: {
3964
3968
  json: {
3965
3969
  content: string;
@@ -3972,14 +3976,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3972
3976
  };
3973
3977
  } | {
3974
3978
  output: {
3975
- id: string;
3976
- path: string;
3977
- exists: boolean;
3978
- content: string;
3979
- version: string | null;
3979
+ error: string;
3980
3980
  };
3981
3981
  outputFormat: "json";
3982
- status: import("hono/utils/http-status").ContentfulStatusCode;
3982
+ status: 404;
3983
3983
  input: {
3984
3984
  json: {
3985
3985
  content: string;
@@ -4049,11 +4049,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4049
4049
  "/workflows": {
4050
4050
  $post: {
4051
4051
  output: {
4052
- path: string;
4053
- name: string;
4052
+ error: string;
4054
4053
  };
4055
4054
  outputFormat: "json";
4056
- status: 201;
4055
+ status: 400;
4057
4056
  input: {
4058
4057
  json: {
4059
4058
  name: string;
@@ -4082,9 +4081,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4082
4081
  } | {
4083
4082
  output: {
4084
4083
  error: string;
4084
+ exists: true;
4085
4085
  };
4086
4086
  outputFormat: "json";
4087
- status: 400;
4087
+ status: 409;
4088
4088
  input: {
4089
4089
  json: {
4090
4090
  name: string;
@@ -4113,10 +4113,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4113
4113
  } | {
4114
4114
  output: {
4115
4115
  error: string;
4116
- exists: true;
4117
4116
  };
4118
4117
  outputFormat: "json";
4119
- status: 409;
4118
+ status: 500;
4120
4119
  input: {
4121
4120
  json: {
4122
4121
  name: string;
@@ -4144,10 +4143,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4144
4143
  };
4145
4144
  } | {
4146
4145
  output: {
4147
- error: string;
4146
+ path: string;
4147
+ name: string;
4148
4148
  };
4149
4149
  outputFormat: "json";
4150
- status: 500;
4150
+ status: 201;
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: 400;
4185
+ status: 404;
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: 404;
4196
+ status: 400;
4197
4197
  input: {
4198
4198
  param: {
4199
4199
  name: string;
@@ -4318,12 +4318,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4318
4318
  } & {
4319
4319
  "/repo/commit/:sha": {
4320
4320
  $get: {
4321
- output: {
4322
- error: string;
4323
- code?: "invalid_input" | undefined;
4324
- };
4325
- outputFormat: "json";
4326
- status: 400;
4321
+ output: string;
4322
+ outputFormat: "text";
4323
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4327
4324
  input: {
4328
4325
  query: {
4329
4326
  structured?: string | undefined;
@@ -4336,9 +4333,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4336
4333
  } | {
4337
4334
  output: {
4338
4335
  error: string;
4336
+ code?: "invalid_input" | undefined;
4339
4337
  };
4340
4338
  outputFormat: "json";
4341
- status: 409;
4339
+ status: 400;
4342
4340
  input: {
4343
4341
  query: {
4344
4342
  structured?: string | undefined;
@@ -4382,9 +4380,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4382
4380
  };
4383
4381
  };
4384
4382
  } | {
4385
- output: string;
4386
- outputFormat: "text";
4387
- status: import("hono/utils/http-status").ContentfulStatusCode;
4383
+ output: {
4384
+ error: string;
4385
+ };
4386
+ outputFormat: "json";
4387
+ status: 409;
4388
4388
  input: {
4389
4389
  query: {
4390
4390
  structured?: string | undefined;
@@ -4399,13 +4399,6 @@ 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
- } | {
4409
4402
  output: {
4410
4403
  files: {
4411
4404
  path: string;
@@ -4430,6 +4423,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4430
4423
  outputFormat: "json";
4431
4424
  status: import("hono/utils/http-status").ContentfulStatusCode;
4432
4425
  input: {};
4426
+ } | {
4427
+ output: {
4428
+ error: string;
4429
+ };
4430
+ outputFormat: "json";
4431
+ status: 409;
4432
+ input: {};
4433
4433
  };
4434
4434
  };
4435
4435
  } & {
@@ -4454,12 +4454,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4454
4454
  "/repo/pull": {
4455
4455
  $post: {
4456
4456
  output: {
4457
- branch: string;
4458
- pulled: true;
4459
- summary: string;
4457
+ error: string;
4460
4458
  };
4461
4459
  outputFormat: "json";
4462
- status: 200;
4460
+ status: 409;
4463
4461
  input: {
4464
4462
  json: {
4465
4463
  branch?: string | undefined;
@@ -4468,10 +4466,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4468
4466
  };
4469
4467
  } | {
4470
4468
  output: {
4471
- error: string;
4469
+ branch: string;
4470
+ pulled: true;
4471
+ summary: string;
4472
4472
  };
4473
4473
  outputFormat: "json";
4474
- status: 409;
4474
+ status: 200;
4475
4475
  input: {
4476
4476
  json: {
4477
4477
  branch?: string | undefined;
@@ -5189,28 +5189,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5189
5189
  "/automations": {
5190
5190
  $post: {
5191
5191
  output: {
5192
- automation: {
5193
- [x: string]: import("hono/utils/types").JSONValue;
5194
- id: string;
5195
- revision: number;
5192
+ error: string;
5193
+ };
5194
+ outputFormat: "json";
5195
+ status: 400;
5196
+ input: {
5197
+ json: {
5196
5198
  name: string;
5197
5199
  description?: string | undefined;
5198
- enabled: boolean;
5200
+ enabled?: boolean | undefined;
5199
5201
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5200
5202
  intervalSeconds: number;
5201
5203
  filters: {
5202
- [x: string]: import("hono/utils/types").JSONValue;
5204
+ [x: string]: unknown;
5203
5205
  authors?: string[] | undefined;
5204
5206
  assignees?: string[] | undefined;
5205
5207
  allLabels?: string[] | undefined;
5206
5208
  anyLabels?: string[] | undefined;
5207
5209
  excludeLabels?: string[] | undefined;
5208
5210
  changedLabels?: string[] | undefined;
5209
- lookbackDays: number;
5210
- maxRecords: number;
5211
+ lookbackDays?: number | undefined;
5212
+ maxRecords?: number | undefined;
5211
5213
  };
5212
5214
  task: {
5213
- [x: string]: import("hono/utils/types").JSONValue;
5215
+ [x: string]: unknown;
5214
5216
  prompt: string;
5215
5217
  workflow?: string | undefined;
5216
5218
  steps?: {
@@ -5227,7 +5229,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5227
5229
  command?: string | undefined;
5228
5230
  onFail?: {
5229
5231
  retry: string;
5230
- max: number;
5232
+ max?: number | undefined;
5231
5233
  } | undefined;
5232
5234
  }[] | undefined;
5233
5235
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5239,32 +5241,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5239
5241
  autonomous?: boolean | undefined;
5240
5242
  systemPrompt?: string | undefined;
5241
5243
  };
5242
- createdAt: string;
5243
- updatedAt: string;
5244
+ enable?: boolean | undefined;
5244
5245
  };
5245
5246
  };
5246
- outputFormat: "json";
5247
- status: 201;
5248
- input: {
5249
- json: {
5247
+ } | {
5248
+ output: {
5249
+ automation: {
5250
+ [x: string]: import("hono/utils/types").JSONValue;
5251
+ id: string;
5252
+ revision: number;
5250
5253
  name: string;
5251
5254
  description?: string | undefined;
5252
- enabled?: boolean | undefined;
5255
+ enabled: boolean;
5253
5256
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5254
5257
  intervalSeconds: number;
5255
5258
  filters: {
5256
- [x: string]: unknown;
5259
+ [x: string]: import("hono/utils/types").JSONValue;
5257
5260
  authors?: string[] | undefined;
5258
5261
  assignees?: string[] | undefined;
5259
5262
  allLabels?: string[] | undefined;
5260
5263
  anyLabels?: string[] | undefined;
5261
5264
  excludeLabels?: string[] | undefined;
5262
5265
  changedLabels?: string[] | undefined;
5263
- lookbackDays?: number | undefined;
5264
- maxRecords?: number | undefined;
5266
+ lookbackDays: number;
5267
+ maxRecords: number;
5265
5268
  };
5266
5269
  task: {
5267
- [x: string]: unknown;
5270
+ [x: string]: import("hono/utils/types").JSONValue;
5268
5271
  prompt: string;
5269
5272
  workflow?: string | undefined;
5270
5273
  steps?: {
@@ -5281,7 +5284,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5281
5284
  command?: string | undefined;
5282
5285
  onFail?: {
5283
5286
  retry: string;
5284
- max?: number | undefined;
5287
+ max: number;
5285
5288
  } | undefined;
5286
5289
  }[] | undefined;
5287
5290
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5293,15 +5296,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5293
5296
  autonomous?: boolean | undefined;
5294
5297
  systemPrompt?: string | undefined;
5295
5298
  };
5296
- enable?: boolean | undefined;
5299
+ createdAt: string;
5300
+ updatedAt: string;
5297
5301
  };
5298
5302
  };
5299
- } | {
5300
- output: {
5301
- error: string;
5302
- };
5303
5303
  outputFormat: "json";
5304
- status: 400;
5304
+ status: 201;
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
- checkId: string;
5908
+ error: string;
5909
5909
  };
5910
5910
  outputFormat: "json";
5911
- status: 202;
5911
+ status: 404;
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
- error: string;
5923
+ checkId: string;
5924
5924
  };
5925
5925
  outputFormat: "json";
5926
- status: 404;
5926
+ status: 202;
5927
5927
  input: {
5928
5928
  json: {
5929
5929
  mode: "execute" | "preview";
@@ -5997,11 +5997,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5997
5997
  "/automation-log/:receiptId/retry": {
5998
5998
  $post: {
5999
5999
  output: {
6000
- receiptId: string;
6001
- runId: string;
6000
+ error: string;
6002
6001
  };
6003
6002
  outputFormat: "json";
6004
- status: 202;
6003
+ status: 404;
6005
6004
  input: {
6006
6005
  param: {
6007
6006
  receiptId: string;
@@ -6012,7 +6011,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6012
6011
  error: string;
6013
6012
  };
6014
6013
  outputFormat: "json";
6015
- status: 404;
6014
+ status: 409;
6016
6015
  input: {
6017
6016
  param: {
6018
6017
  receiptId: string;
@@ -6020,10 +6019,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6020
6019
  };
6021
6020
  } | {
6022
6021
  output: {
6023
- error: string;
6022
+ receiptId: string;
6023
+ runId: string;
6024
6024
  };
6025
6025
  outputFormat: "json";
6026
- status: 409;
6026
+ status: 202;
6027
6027
  input: {
6028
6028
  param: {
6029
6029
  receiptId: string;
@@ -6605,20 +6605,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6605
6605
  "/runs/:id/worker-destroy": {
6606
6606
  $post: {
6607
6607
  output: {
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;
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;
6619
6621
  };
6620
6622
  outputFormat: "json";
6621
- status: 200;
6623
+ status: 400 | 401 | 403 | 409 | 503;
6622
6624
  input: {
6623
6625
  query: {
6624
6626
  [x: string]: string | string[];
@@ -6663,7 +6665,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6663
6665
  error?: string | undefined;
6664
6666
  };
6665
6667
  outputFormat: "json";
6666
- status: 409;
6668
+ status: 200;
6667
6669
  input: {
6668
6670
  query: {
6669
6671
  [x: string]: string | string[];
@@ -6677,22 +6679,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6677
6679
  };
6678
6680
  } | {
6679
6681
  output: {
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;
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;
6693
6693
  };
6694
6694
  outputFormat: "json";
6695
- status: 400 | 401 | 403 | 409 | 503;
6695
+ status: 409;
6696
6696
  input: {
6697
6697
  query: {
6698
6698
  [x: string]: string | string[];
@@ -6731,21 +6731,6 @@ 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
- } | {
6749
6734
  output: {
6750
6735
  id: string;
6751
6736
  title: string;
@@ -7193,32 +7178,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7193
7178
  id: string;
7194
7179
  };
7195
7180
  };
7196
- };
7197
- };
7198
- } & {
7199
- "/runs/:id/pin": {
7200
- $post: {
7181
+ } | {
7201
7182
  output: {
7202
7183
  error: string;
7203
- code?: "invalid_input" | undefined;
7204
7184
  };
7205
7185
  outputFormat: "json";
7206
- status: 400;
7186
+ status: 404;
7207
7187
  input: {
7188
+ json: {
7189
+ archived?: boolean | undefined;
7190
+ };
7191
+ } & {
7208
7192
  param: {
7209
7193
  id: string;
7210
7194
  };
7211
- } & {
7212
- json: {
7213
- pinned?: boolean | undefined;
7214
- };
7215
7195
  };
7216
- } | {
7196
+ };
7197
+ };
7198
+ } & {
7199
+ "/runs/:id/pin": {
7200
+ $post: {
7217
7201
  output: {
7218
7202
  error: string;
7203
+ code?: "invalid_input" | undefined;
7219
7204
  };
7220
7205
  outputFormat: "json";
7221
- status: 404;
7206
+ status: 400;
7222
7207
  input: {
7223
7208
  param: {
7224
7209
  id: string;
@@ -7676,49 +7661,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7676
7661
  pinned?: boolean | undefined;
7677
7662
  };
7678
7663
  };
7679
- };
7680
- };
7681
- } & {
7682
- "/runs/:id/notify": {
7683
- $post: {
7684
- output: {
7685
- error: string;
7686
- code?: "invalid_input" | undefined;
7687
- };
7688
- outputFormat: "json";
7689
- status: 400;
7690
- input: {
7691
- param: {
7692
- id: string;
7693
- };
7694
- } & {
7695
- json: {
7696
- notify: boolean;
7697
- message?: string | undefined;
7698
- };
7699
- };
7700
7664
  } | {
7701
7665
  output: {
7702
7666
  error: string;
7703
7667
  };
7704
7668
  outputFormat: "json";
7705
- status: 400;
7669
+ status: 404;
7706
7670
  input: {
7707
7671
  param: {
7708
7672
  id: string;
7709
7673
  };
7710
7674
  } & {
7711
7675
  json: {
7712
- notify: boolean;
7713
- message?: string | undefined;
7676
+ pinned?: boolean | undefined;
7714
7677
  };
7715
7678
  };
7716
- } | {
7679
+ };
7680
+ };
7681
+ } & {
7682
+ "/runs/:id/notify": {
7683
+ $post: {
7717
7684
  output: {
7718
7685
  error: string;
7686
+ code?: "invalid_input" | undefined;
7719
7687
  };
7720
7688
  outputFormat: "json";
7721
- status: 404;
7689
+ status: 400;
7722
7690
  input: {
7723
7691
  param: {
7724
7692
  id: string;
@@ -8178,11 +8146,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8178
8146
  message?: string | undefined;
8179
8147
  };
8180
8148
  };
8181
- };
8182
- };
8183
- } & {
8184
- "/runs/:id/auto-resume": {
8185
- $delete: {
8149
+ } | {
8186
8150
  output: {
8187
8151
  error: string;
8188
8152
  };
@@ -8192,23 +8156,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8192
8156
  param: {
8193
8157
  id: string;
8194
8158
  };
8159
+ } & {
8160
+ json: {
8161
+ notify: boolean;
8162
+ message?: string | undefined;
8163
+ };
8195
8164
  };
8196
8165
  } | {
8197
8166
  output: {
8198
- cancelled: true;
8167
+ error: string;
8199
8168
  };
8200
8169
  outputFormat: "json";
8201
- status: import("hono/utils/http-status").ContentfulStatusCode;
8170
+ status: 400;
8202
8171
  input: {
8203
8172
  param: {
8204
8173
  id: string;
8205
8174
  };
8175
+ } & {
8176
+ json: {
8177
+ notify: boolean;
8178
+ message?: string | undefined;
8179
+ };
8206
8180
  };
8207
8181
  };
8208
8182
  };
8209
8183
  } & {
8210
- "/runs/:id/read": {
8211
- $post: {
8184
+ "/runs/:id/auto-resume": {
8185
+ $delete: {
8212
8186
  output: {
8213
8187
  error: string;
8214
8188
  };
@@ -8220,6 +8194,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8220
8194
  };
8221
8195
  };
8222
8196
  } | {
8197
+ output: {
8198
+ cancelled: true;
8199
+ };
8200
+ outputFormat: "json";
8201
+ status: import("hono/utils/http-status").ContentfulStatusCode;
8202
+ input: {
8203
+ param: {
8204
+ id: string;
8205
+ };
8206
+ };
8207
+ };
8208
+ };
8209
+ } & {
8210
+ "/runs/:id/read": {
8211
+ $post: {
8223
8212
  output: {
8224
8213
  id: string;
8225
8214
  title: string;
@@ -8663,11 +8652,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8663
8652
  id: string;
8664
8653
  };
8665
8654
  };
8666
- };
8667
- };
8668
- } & {
8669
- "/runs/:id/unread": {
8670
- $post: {
8655
+ } | {
8671
8656
  output: {
8672
8657
  error: string;
8673
8658
  };
@@ -8678,7 +8663,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8678
8663
  id: string;
8679
8664
  };
8680
8665
  };
8681
- } | {
8666
+ };
8667
+ };
8668
+ } & {
8669
+ "/runs/:id/unread": {
8670
+ $post: {
8682
8671
  output: {
8683
8672
  id: string;
8684
8673
  title: string;
@@ -9122,6 +9111,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9122
9111
  id: string;
9123
9112
  };
9124
9113
  };
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,6 +10082,141 @@ 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
+ };
10085
10220
  } | {
10086
10221
  output: {
10087
10222
  runs: {
@@ -10562,157 +10697,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10562
10697
  notify?: boolean | undefined;
10563
10698
  };
10564
10699
  };
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
- input: {
10662
- json: {
10663
- workflow?: string | undefined;
10664
- steps?: {
10665
- id: string;
10666
- name?: string | undefined;
10667
- prompt?: string | undefined;
10668
- skill?: string | undefined;
10669
- model?: string | undefined;
10670
- effort?: string | undefined;
10671
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10672
- agentProfile?: string | undefined;
10673
- allowedTools?: string[] | undefined;
10674
- bashAllowlist?: string[] | undefined;
10675
- command?: string | undefined;
10676
- onFail?: {
10677
- retry: string;
10678
- max?: number | undefined;
10679
- } | undefined;
10680
- }[] | undefined;
10681
- task: string;
10682
- model?: string | undefined;
10683
- effort?: string | undefined;
10684
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10685
- agentProfile?: string | undefined;
10686
- variants?: number | undefined;
10687
- worktree?: boolean | undefined;
10688
- autonomous?: boolean | undefined;
10689
- generateFollowups?: boolean | undefined;
10690
- systemPrompt?: string | undefined;
10691
- images?: {
10692
- mediaType: string;
10693
- data: string;
10694
- }[] | undefined;
10695
- todoId?: string | undefined;
10696
- clientRequestId?: string | undefined;
10697
- notify?: boolean | undefined;
10698
- };
10699
- };
10700
- };
10701
- };
10702
- } & {
10703
- "/runs/:id": {
10704
- $get: {
10705
- output: {
10706
- error: string;
10707
- };
10708
- outputFormat: "json";
10709
- status: 404;
10710
- input: {
10711
- param: {
10712
- id: string;
10713
- };
10714
- };
10715
- } | {
10700
+ };
10701
+ };
10702
+ } & {
10703
+ "/runs/:id": {
10704
+ $get: {
10716
10705
  output: {
10717
10706
  id: string;
10718
10707
  title: string;
@@ -11163,6 +11152,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11163
11152
  id: string;
11164
11153
  };
11165
11154
  };
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,54 +11290,6 @@ 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
- } | {
11341
11293
  output: {
11342
11294
  id: string;
11343
11295
  title: string;
@@ -11786,6 +11738,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11786
11738
  id: string;
11787
11739
  };
11788
11740
  };
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: 400;
11824
+ status: 404;
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: 404;
11843
+ status: 409;
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
- error: string;
11859
+ delivered: true;
11860
11860
  };
11861
11861
  outputFormat: "json";
11862
- status: 409;
11862
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- delivered: true;
11878
+ error: string;
11879
11879
  };
11880
11880
  outputFormat: "json";
11881
- status: import("hono/utils/http-status").ContentfulStatusCode;
11881
+ status: 400;
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: 400;
11948
+ status: 404;
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: 404;
11969
+ status: 400;
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: 400;
12121
+ status: 404;
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: 404;
12144
+ status: 400;
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: 400;
12255
+ status: 404;
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: 404;
12271
+ status: 409;
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: 409;
12287
+ status: 400;
12288
12288
  input: {
12289
12289
  json: {
12290
12290
  target: string;
@@ -12341,12 +12341,9 @@ 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
- error: string;
12346
- code?: "invalid_input" | undefined;
12347
- };
12348
- outputFormat: "json";
12349
- status: 400;
12344
+ output: {};
12345
+ outputFormat: string;
12346
+ status: import("hono/utils/http-status").StatusCode;
12350
12347
  input: {
12351
12348
  param: {
12352
12349
  id: string;
@@ -12354,9 +12351,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12354
12351
  };
12355
12352
  };
12356
12353
  } | {
12357
- output: {};
12358
- outputFormat: string;
12359
- status: import("hono/utils/http-status").StatusCode;
12354
+ output: {
12355
+ error: string;
12356
+ code?: "invalid_input" | undefined;
12357
+ };
12358
+ outputFormat: "json";
12359
+ status: 400;
12360
12360
  input: {
12361
12361
  param: {
12362
12362
  id: string;
@@ -12368,20 +12368,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12368
12368
  } & {
12369
12369
  "/runs/:id/diff": {
12370
12370
  $get: {
12371
- output: {
12372
- error: string;
12373
- };
12374
- outputFormat: "json";
12375
- status: 404;
12371
+ output: string;
12372
+ outputFormat: "text";
12373
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12376
12374
  input: {
12377
12375
  param: {
12378
12376
  id: string;
12379
12377
  };
12380
12378
  };
12381
12379
  } | {
12382
- output: string;
12383
- outputFormat: "text";
12384
- status: import("hono/utils/http-status").ContentfulStatusCode;
12380
+ output: {
12381
+ error: string;
12382
+ };
12383
+ outputFormat: "json";
12384
+ status: 404;
12385
12385
  input: {
12386
12386
  param: {
12387
12387
  id: string;
@@ -12710,18 +12710,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12710
12710
  artifactId: string;
12711
12711
  };
12712
12712
  };
12713
- } | {
12714
- output: {
12715
- error: string;
12716
- };
12717
- outputFormat: "json";
12718
- status: 404;
12719
- input: {
12720
- param: {
12721
- id: string;
12722
- artifactId: string;
12723
- };
12724
- };
12725
12713
  } | {
12726
12714
  output: {
12727
12715
  type: "file";
@@ -12749,6 +12737,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12749
12737
  artifactId: string;
12750
12738
  };
12751
12739
  };
12740
+ } | {
12741
+ output: {
12742
+ error: string;
12743
+ };
12744
+ outputFormat: "json";
12745
+ status: 404;
12746
+ input: {
12747
+ param: {
12748
+ id: string;
12749
+ artifactId: string;
12750
+ };
12751
+ };
12752
12752
  };
12753
12753
  };
12754
12754
  } & {
@@ -13045,11 +13045,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13045
13045
  "/runs/:id/pr": {
13046
13046
  $post: {
13047
13047
  output: {
13048
- url: string;
13049
- dryRun: boolean;
13048
+ error: string;
13050
13049
  };
13051
13050
  outputFormat: "json";
13052
- status: 201;
13051
+ status: 404;
13053
13052
  input: {
13054
13053
  param: {
13055
13054
  id: string;
@@ -13060,7 +13059,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13060
13059
  error: string;
13061
13060
  };
13062
13061
  outputFormat: "json";
13063
- status: 400;
13062
+ status: 409;
13064
13063
  input: {
13065
13064
  param: {
13066
13065
  id: string;
@@ -13071,7 +13070,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13071
13070
  error: string;
13072
13071
  };
13073
13072
  outputFormat: "json";
13074
- status: 404;
13073
+ status: 400;
13075
13074
  input: {
13076
13075
  param: {
13077
13076
  id: string;
@@ -13079,10 +13078,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13079
13078
  };
13080
13079
  } | {
13081
13080
  output: {
13082
- error: string;
13081
+ url: string;
13082
+ dryRun: boolean;
13083
13083
  };
13084
13084
  outputFormat: "json";
13085
- status: 409;
13085
+ status: 201;
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: 404;
13137
+ status: 409;
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: 409;
13148
+ status: 404;
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: 400;
13913
+ status: 409;
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: 409;
13924
+ status: 400;
13925
13925
  input: {
13926
13926
  json: {
13927
13927
  target: string;
@@ -13980,12 +13980,9 @@ 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
- error: string;
13985
- code?: "invalid_input" | undefined;
13986
- };
13987
- outputFormat: "json";
13988
- status: 400;
13983
+ output: {};
13984
+ outputFormat: string;
13985
+ status: import("hono/utils/http-status").StatusCode;
13989
13986
  input: {
13990
13987
  param: {
13991
13988
  id: string;
@@ -13997,9 +13994,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13997
13994
  };
13998
13995
  };
13999
13996
  } | {
14000
- output: {};
14001
- outputFormat: string;
14002
- status: import("hono/utils/http-status").StatusCode;
13997
+ output: {
13998
+ error: string;
13999
+ code?: "invalid_input" | undefined;
14000
+ };
14001
+ outputFormat: "json";
14002
+ status: 400;
14003
14003
  input: {
14004
14004
  param: {
14005
14005
  id: string;
@@ -14051,10 +14051,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14051
14051
  "/config": {
14052
14052
  $put: {
14053
14053
  output: {
14054
- error: string;
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;
14055
14070
  };
14056
14071
  outputFormat: "json";
14057
- status: 409;
14072
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14058
14073
  input: {
14059
14074
  json: {
14060
14075
  baseBranch?: string | null | undefined;
@@ -14079,7 +14094,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14079
14094
  error: string;
14080
14095
  };
14081
14096
  outputFormat: "json";
14082
- status: 500;
14097
+ status: 409;
14083
14098
  input: {
14084
14099
  json: {
14085
14100
  baseBranch?: string | null | undefined;
@@ -14101,25 +14116,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14101
14116
  };
14102
14117
  } | {
14103
14118
  output: {
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;
14119
+ error: string;
14120
14120
  };
14121
14121
  outputFormat: "json";
14122
- status: import("hono/utils/http-status").ContentfulStatusCode;
14122
+ status: 500;
14123
14123
  input: {
14124
14124
  json: {
14125
14125
  baseBranch?: string | null | undefined;
@@ -14144,18 +14144,6 @@ 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
- } | {
14159
14147
  output: {
14160
14148
  name: string;
14161
14149
  description?: string;
@@ -14178,11 +14166,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14178
14166
  wait?: string | undefined;
14179
14167
  };
14180
14168
  };
14181
- };
14182
- };
14183
- } & {
14184
- "/skills/importable": {
14185
- $get: {
14169
+ } | {
14186
14170
  output: {
14187
14171
  error: string;
14188
14172
  code?: "invalid_input" | undefined;
@@ -14194,7 +14178,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14194
14178
  wait?: string | undefined;
14195
14179
  };
14196
14180
  };
14197
- } | {
14181
+ };
14182
+ };
14183
+ } & {
14184
+ "/skills/importable": {
14185
+ $get: {
14198
14186
  output: {
14199
14187
  name: string;
14200
14188
  description?: string | undefined;
@@ -14206,6 +14194,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14206
14194
  wait?: string | undefined;
14207
14195
  };
14208
14196
  };
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: 404;
14262
+ status: 409;
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
- error: string;
14270
+ removed: true;
14271
14271
  };
14272
14272
  outputFormat: "json";
14273
- status: 409;
14273
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- removed: true;
14281
+ error: string;
14282
14282
  };
14283
14283
  outputFormat: "json";
14284
- status: import("hono/utils/http-status").ContentfulStatusCode;
14284
+ status: 404;
14285
14285
  input: {
14286
14286
  param: {
14287
14287
  id: string;
@@ -14292,6 +14292,24 @@ 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
+ } | {
14295
14313
  output: {
14296
14314
  run: {
14297
14315
  id: string;
@@ -14744,24 +14762,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14744
14762
  id: string;
14745
14763
  };
14746
14764
  };
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: 409;
14788
+ status: 404;
14789
14789
  input: {
14790
14790
  json: {
14791
14791
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -14888,10 +14888,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14888
14888
  "/agent-config/:id": {
14889
14889
  $put: {
14890
14890
  output: {
14891
- error: string;
14891
+ id: string;
14892
+ path: string;
14893
+ exists: boolean;
14894
+ content: string;
14895
+ version: string | null;
14892
14896
  };
14893
14897
  outputFormat: "json";
14894
- status: 404;
14898
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14895
14899
  input: {
14896
14900
  json: {
14897
14901
  content: string;
@@ -14904,14 +14908,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14904
14908
  };
14905
14909
  } | {
14906
14910
  output: {
14907
- id: string;
14908
- path: string;
14909
- exists: boolean;
14910
- content: string;
14911
- version: string | null;
14911
+ error: string;
14912
14912
  };
14913
14913
  outputFormat: "json";
14914
- status: import("hono/utils/http-status").ContentfulStatusCode;
14914
+ status: 404;
14915
14915
  input: {
14916
14916
  json: {
14917
14917
  content: string;
@@ -14981,11 +14981,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14981
14981
  "/workflows": {
14982
14982
  $post: {
14983
14983
  output: {
14984
- path: string;
14985
- name: string;
14984
+ error: string;
14986
14985
  };
14987
14986
  outputFormat: "json";
14988
- status: 201;
14987
+ status: 400;
14989
14988
  input: {
14990
14989
  json: {
14991
14990
  name: string;
@@ -15014,9 +15013,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15014
15013
  } | {
15015
15014
  output: {
15016
15015
  error: string;
15016
+ exists: true;
15017
15017
  };
15018
15018
  outputFormat: "json";
15019
- status: 400;
15019
+ status: 409;
15020
15020
  input: {
15021
15021
  json: {
15022
15022
  name: string;
@@ -15045,10 +15045,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15045
15045
  } | {
15046
15046
  output: {
15047
15047
  error: string;
15048
- exists: true;
15049
15048
  };
15050
15049
  outputFormat: "json";
15051
- status: 409;
15050
+ status: 500;
15052
15051
  input: {
15053
15052
  json: {
15054
15053
  name: string;
@@ -15076,10 +15075,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15076
15075
  };
15077
15076
  } | {
15078
15077
  output: {
15079
- error: string;
15078
+ path: string;
15079
+ name: string;
15080
15080
  };
15081
15081
  outputFormat: "json";
15082
- status: 500;
15082
+ status: 201;
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: 400;
15117
+ status: 404;
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: 404;
15128
+ status: 400;
15129
15129
  input: {
15130
15130
  param: {
15131
15131
  name: string;
@@ -15250,12 +15250,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15250
15250
  } & {
15251
15251
  "/repo/commit/:sha": {
15252
15252
  $get: {
15253
- output: {
15254
- error: string;
15255
- code?: "invalid_input" | undefined;
15256
- };
15257
- outputFormat: "json";
15258
- status: 400;
15253
+ output: string;
15254
+ outputFormat: "text";
15255
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15259
15256
  input: {
15260
15257
  query: {
15261
15258
  structured?: string | undefined;
@@ -15268,9 +15265,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15268
15265
  } | {
15269
15266
  output: {
15270
15267
  error: string;
15268
+ code?: "invalid_input" | undefined;
15271
15269
  };
15272
15270
  outputFormat: "json";
15273
- status: 409;
15271
+ status: 400;
15274
15272
  input: {
15275
15273
  query: {
15276
15274
  structured?: string | undefined;
@@ -15314,9 +15312,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15314
15312
  };
15315
15313
  };
15316
15314
  } | {
15317
- output: string;
15318
- outputFormat: "text";
15319
- status: import("hono/utils/http-status").ContentfulStatusCode;
15315
+ output: {
15316
+ error: string;
15317
+ };
15318
+ outputFormat: "json";
15319
+ status: 409;
15320
15320
  input: {
15321
15321
  query: {
15322
15322
  structured?: string | undefined;
@@ -15331,13 +15331,6 @@ 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
- } | {
15341
15334
  output: {
15342
15335
  files: {
15343
15336
  path: string;
@@ -15362,6 +15355,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15362
15355
  outputFormat: "json";
15363
15356
  status: import("hono/utils/http-status").ContentfulStatusCode;
15364
15357
  input: {};
15358
+ } | {
15359
+ output: {
15360
+ error: string;
15361
+ };
15362
+ outputFormat: "json";
15363
+ status: 409;
15364
+ input: {};
15365
15365
  };
15366
15366
  };
15367
15367
  } & {
@@ -15386,12 +15386,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15386
15386
  "/repo/pull": {
15387
15387
  $post: {
15388
15388
  output: {
15389
- branch: string;
15390
- pulled: true;
15391
- summary: string;
15389
+ error: string;
15392
15390
  };
15393
15391
  outputFormat: "json";
15394
- status: 200;
15392
+ status: 409;
15395
15393
  input: {
15396
15394
  json: {
15397
15395
  branch?: string | undefined;
@@ -15400,10 +15398,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15400
15398
  };
15401
15399
  } | {
15402
15400
  output: {
15403
- error: string;
15401
+ branch: string;
15402
+ pulled: true;
15403
+ summary: string;
15404
15404
  };
15405
15405
  outputFormat: "json";
15406
- status: 409;
15406
+ status: 200;
15407
15407
  input: {
15408
15408
  json: {
15409
15409
  branch?: string | undefined;
@@ -16121,28 +16121,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16121
16121
  "/automations": {
16122
16122
  $post: {
16123
16123
  output: {
16124
- automation: {
16125
- [x: string]: import("hono/utils/types").JSONValue;
16126
- id: string;
16127
- revision: number;
16124
+ error: string;
16125
+ };
16126
+ outputFormat: "json";
16127
+ status: 400;
16128
+ input: {
16129
+ json: {
16128
16130
  name: string;
16129
16131
  description?: string | undefined;
16130
- enabled: boolean;
16132
+ enabled?: boolean | undefined;
16131
16133
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
16132
16134
  intervalSeconds: number;
16133
16135
  filters: {
16134
- [x: string]: import("hono/utils/types").JSONValue;
16136
+ [x: string]: unknown;
16135
16137
  authors?: string[] | undefined;
16136
16138
  assignees?: string[] | undefined;
16137
16139
  allLabels?: string[] | undefined;
16138
16140
  anyLabels?: string[] | undefined;
16139
16141
  excludeLabels?: string[] | undefined;
16140
16142
  changedLabels?: string[] | undefined;
16141
- lookbackDays: number;
16142
- maxRecords: number;
16143
+ lookbackDays?: number | undefined;
16144
+ maxRecords?: number | undefined;
16143
16145
  };
16144
16146
  task: {
16145
- [x: string]: import("hono/utils/types").JSONValue;
16147
+ [x: string]: unknown;
16146
16148
  prompt: string;
16147
16149
  workflow?: string | undefined;
16148
16150
  steps?: {
@@ -16159,7 +16161,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16159
16161
  command?: string | undefined;
16160
16162
  onFail?: {
16161
16163
  retry: string;
16162
- max: number;
16164
+ max?: number | undefined;
16163
16165
  } | undefined;
16164
16166
  }[] | undefined;
16165
16167
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -16171,32 +16173,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16171
16173
  autonomous?: boolean | undefined;
16172
16174
  systemPrompt?: string | undefined;
16173
16175
  };
16174
- createdAt: string;
16175
- updatedAt: string;
16176
+ enable?: boolean | undefined;
16176
16177
  };
16177
16178
  };
16178
- outputFormat: "json";
16179
- status: 201;
16180
- input: {
16181
- json: {
16179
+ } | {
16180
+ output: {
16181
+ automation: {
16182
+ [x: string]: import("hono/utils/types").JSONValue;
16183
+ id: string;
16184
+ revision: number;
16182
16185
  name: string;
16183
16186
  description?: string | undefined;
16184
- enabled?: boolean | undefined;
16187
+ enabled: boolean;
16185
16188
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
16186
16189
  intervalSeconds: number;
16187
16190
  filters: {
16188
- [x: string]: unknown;
16191
+ [x: string]: import("hono/utils/types").JSONValue;
16189
16192
  authors?: string[] | undefined;
16190
16193
  assignees?: string[] | undefined;
16191
16194
  allLabels?: string[] | undefined;
16192
16195
  anyLabels?: string[] | undefined;
16193
16196
  excludeLabels?: string[] | undefined;
16194
16197
  changedLabels?: string[] | undefined;
16195
- lookbackDays?: number | undefined;
16196
- maxRecords?: number | undefined;
16198
+ lookbackDays: number;
16199
+ maxRecords: number;
16197
16200
  };
16198
16201
  task: {
16199
- [x: string]: unknown;
16202
+ [x: string]: import("hono/utils/types").JSONValue;
16200
16203
  prompt: string;
16201
16204
  workflow?: string | undefined;
16202
16205
  steps?: {
@@ -16213,7 +16216,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16213
16216
  command?: string | undefined;
16214
16217
  onFail?: {
16215
16218
  retry: string;
16216
- max?: number | undefined;
16219
+ max: number;
16217
16220
  } | undefined;
16218
16221
  }[] | undefined;
16219
16222
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -16225,15 +16228,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16225
16228
  autonomous?: boolean | undefined;
16226
16229
  systemPrompt?: string | undefined;
16227
16230
  };
16228
- enable?: boolean | undefined;
16231
+ createdAt: string;
16232
+ updatedAt: string;
16229
16233
  };
16230
16234
  };
16231
- } | {
16232
- output: {
16233
- error: string;
16234
- };
16235
16235
  outputFormat: "json";
16236
- status: 400;
16236
+ status: 201;
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
- checkId: string;
16840
+ error: string;
16841
16841
  };
16842
16842
  outputFormat: "json";
16843
- status: 202;
16843
+ status: 404;
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
- error: string;
16855
+ checkId: string;
16856
16856
  };
16857
16857
  outputFormat: "json";
16858
- status: 404;
16858
+ status: 202;
16859
16859
  input: {
16860
16860
  json: {
16861
16861
  mode: "execute" | "preview";
@@ -16929,11 +16929,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16929
16929
  "/automation-log/:receiptId/retry": {
16930
16930
  $post: {
16931
16931
  output: {
16932
- receiptId: string;
16933
- runId: string;
16932
+ error: string;
16934
16933
  };
16935
16934
  outputFormat: "json";
16936
- status: 202;
16935
+ status: 404;
16937
16936
  input: {
16938
16937
  param: {
16939
16938
  receiptId: string;
@@ -16944,7 +16943,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16944
16943
  error: string;
16945
16944
  };
16946
16945
  outputFormat: "json";
16947
- status: 404;
16946
+ status: 409;
16948
16947
  input: {
16949
16948
  param: {
16950
16949
  receiptId: string;
@@ -16952,10 +16951,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16952
16951
  };
16953
16952
  } | {
16954
16953
  output: {
16955
- error: string;
16954
+ receiptId: string;
16955
+ runId: string;
16956
16956
  };
16957
16957
  outputFormat: "json";
16958
- status: 409;
16958
+ status: 202;
16959
16959
  input: {
16960
16960
  param: {
16961
16961
  receiptId: string;
@@ -17537,20 +17537,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17537
17537
  "/runs/:id/worker-destroy": {
17538
17538
  $post: {
17539
17539
  output: {
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;
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;
17551
17553
  };
17552
17554
  outputFormat: "json";
17553
- status: 200;
17555
+ status: 400 | 401 | 403 | 409 | 503;
17554
17556
  input: {
17555
17557
  query: {
17556
17558
  [x: string]: string | string[];
@@ -17595,7 +17597,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17595
17597
  error?: string | undefined;
17596
17598
  };
17597
17599
  outputFormat: "json";
17598
- status: 409;
17600
+ status: 200;
17599
17601
  input: {
17600
17602
  query: {
17601
17603
  [x: string]: string | string[];
@@ -17609,22 +17611,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17609
17611
  };
17610
17612
  } | {
17611
17613
  output: {
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;
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;
17625
17625
  };
17626
17626
  outputFormat: "json";
17627
- status: 400 | 401 | 403 | 409 | 503;
17627
+ status: 409;
17628
17628
  input: {
17629
17629
  query: {
17630
17630
  [x: string]: string | string[];
@@ -17663,21 +17663,6 @@ 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
- } | {
17681
17666
  output: {
17682
17667
  id: string;
17683
17668
  title: string;
@@ -18125,32 +18110,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18125
18110
  id: string;
18126
18111
  };
18127
18112
  };
18128
- };
18129
- };
18130
- } & {
18131
- "/runs/:id/pin": {
18132
- $post: {
18113
+ } | {
18133
18114
  output: {
18134
18115
  error: string;
18135
- code?: "invalid_input" | undefined;
18136
18116
  };
18137
18117
  outputFormat: "json";
18138
- status: 400;
18118
+ status: 404;
18139
18119
  input: {
18140
- param: {
18141
- id: string;
18120
+ json: {
18121
+ archived?: boolean | undefined;
18142
18122
  };
18143
18123
  } & {
18144
- json: {
18145
- pinned?: boolean | undefined;
18124
+ param: {
18125
+ id: string;
18146
18126
  };
18147
18127
  };
18148
- } | {
18128
+ };
18129
+ };
18130
+ } & {
18131
+ "/runs/:id/pin": {
18132
+ $post: {
18149
18133
  output: {
18150
18134
  error: string;
18135
+ code?: "invalid_input" | undefined;
18151
18136
  };
18152
18137
  outputFormat: "json";
18153
- status: 404;
18138
+ status: 400;
18154
18139
  input: {
18155
18140
  param: {
18156
18141
  id: string;
@@ -18608,6 +18593,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18608
18593
  pinned?: boolean | undefined;
18609
18594
  };
18610
18595
  };
18596
+ } | {
18597
+ output: {
18598
+ error: string;
18599
+ };
18600
+ outputFormat: "json";
18601
+ status: 404;
18602
+ input: {
18603
+ param: {
18604
+ id: string;
18605
+ };
18606
+ } & {
18607
+ json: {
18608
+ pinned?: boolean | undefined;
18609
+ };
18610
+ };
18611
18611
  };
18612
18612
  };
18613
18613
  } & {
@@ -18629,38 +18629,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18629
18629
  message?: string | undefined;
18630
18630
  };
18631
18631
  };
18632
- } | {
18633
- output: {
18634
- error: string;
18635
- };
18636
- outputFormat: "json";
18637
- status: 400;
18638
- input: {
18639
- param: {
18640
- id: string;
18641
- };
18642
- } & {
18643
- json: {
18644
- notify: boolean;
18645
- message?: string | undefined;
18646
- };
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
- };
18664
18632
  } | {
18665
18633
  output: {
18666
18634
  id: string;
@@ -19110,11 +19078,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19110
19078
  message?: string | undefined;
19111
19079
  };
19112
19080
  };
19113
- };
19114
- };
19115
- } & {
19116
- "/runs/:id/auto-resume": {
19117
- $delete: {
19081
+ } | {
19118
19082
  output: {
19119
19083
  error: string;
19120
19084
  };
@@ -19124,23 +19088,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19124
19088
  param: {
19125
19089
  id: string;
19126
19090
  };
19091
+ } & {
19092
+ json: {
19093
+ notify: boolean;
19094
+ message?: string | undefined;
19095
+ };
19127
19096
  };
19128
19097
  } | {
19129
19098
  output: {
19130
- cancelled: true;
19099
+ error: string;
19131
19100
  };
19132
19101
  outputFormat: "json";
19133
- status: import("hono/utils/http-status").ContentfulStatusCode;
19102
+ status: 400;
19134
19103
  input: {
19135
19104
  param: {
19136
19105
  id: string;
19137
19106
  };
19107
+ } & {
19108
+ json: {
19109
+ notify: boolean;
19110
+ message?: string | undefined;
19111
+ };
19138
19112
  };
19139
19113
  };
19140
19114
  };
19141
19115
  } & {
19142
- "/runs/:id/read": {
19143
- $post: {
19116
+ "/runs/:id/auto-resume": {
19117
+ $delete: {
19144
19118
  output: {
19145
19119
  error: string;
19146
19120
  };
@@ -19152,6 +19126,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19152
19126
  };
19153
19127
  };
19154
19128
  } | {
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: {
19155
19144
  output: {
19156
19145
  id: string;
19157
19146
  title: string;
@@ -19595,11 +19584,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19595
19584
  id: string;
19596
19585
  };
19597
19586
  };
19598
- };
19599
- };
19600
- } & {
19601
- "/runs/:id/unread": {
19602
- $post: {
19587
+ } | {
19603
19588
  output: {
19604
19589
  error: string;
19605
19590
  };
@@ -19610,7 +19595,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19610
19595
  id: string;
19611
19596
  };
19612
19597
  };
19613
- } | {
19598
+ };
19599
+ };
19600
+ } & {
19601
+ "/runs/:id/unread": {
19602
+ $post: {
19614
19603
  output: {
19615
19604
  id: string;
19616
19605
  title: string;
@@ -20054,6 +20043,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20054
20043
  id: string;
20055
20044
  };
20056
20045
  };
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,6 +21014,141 @@ 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
+ };
21017
21152
  } | {
21018
21153
  output: {
21019
21154
  runs: {
@@ -21418,178 +21553,43 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21418
21553
  usageInvocationsObserved?: number | undefined;
21419
21554
  usageTurnsStarted?: number | undefined;
21420
21555
  usageTurnsRecorded?: number | undefined;
21421
- usageInvocationEpoch?: number | undefined;
21422
- startedAt?: string | undefined;
21423
- finishedAt?: string | undefined;
21424
- error?: string | undefined;
21425
- sessionId?: string | undefined;
21426
- backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21427
- profileId?: string | undefined;
21428
- costUsd?: number | undefined;
21429
- synthetic?: "continuation" | undefined;
21430
- }[];
21431
- workflowDef?: {
21432
- name: string;
21433
- description?: string | undefined;
21434
- steps: {
21435
- id: string;
21436
- name?: string | undefined;
21437
- prompt?: string | undefined;
21438
- skill?: string | undefined;
21439
- model?: string | undefined;
21440
- effort?: string | undefined;
21441
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21442
- agentProfile?: string | undefined;
21443
- allowedTools?: string[] | undefined;
21444
- bashAllowlist?: string[] | undefined;
21445
- command?: string | undefined;
21446
- onFail?: {
21447
- retry: string;
21448
- max: number;
21449
- } | undefined;
21450
- }[];
21451
- source: "built-in" | "file";
21452
- path?: string | undefined;
21453
- } | undefined;
21454
- }[];
21455
- };
21456
- outputFormat: "json";
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;
21556
+ usageInvocationEpoch?: number | undefined;
21557
+ startedAt?: string | undefined;
21558
+ finishedAt?: string | undefined;
21559
+ error?: string | undefined;
21560
+ sessionId?: string | undefined;
21561
+ backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21562
+ profileId?: string | undefined;
21563
+ costUsd?: number | undefined;
21564
+ synthetic?: "continuation" | undefined;
21565
+ }[];
21566
+ workflowDef?: {
21567
+ name: string;
21568
+ description?: string | undefined;
21569
+ steps: {
21570
+ id: string;
21571
+ name?: string | undefined;
21572
+ prompt?: string | undefined;
21573
+ skill?: string | undefined;
21574
+ model?: string | undefined;
21575
+ effort?: string | undefined;
21576
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21577
+ agentProfile?: string | undefined;
21578
+ allowedTools?: string[] | undefined;
21579
+ bashAllowlist?: string[] | undefined;
21580
+ command?: string | undefined;
21581
+ onFail?: {
21582
+ retry: string;
21583
+ max: number;
21584
+ } | undefined;
21585
+ }[];
21586
+ source: "built-in" | "file";
21587
+ path?: string | undefined;
21588
+ } | undefined;
21589
+ }[];
21590
21590
  };
21591
21591
  outputFormat: "json";
21592
- status: 409;
21592
+ status: 201;
21593
21593
  input: {
21594
21594
  json: {
21595
21595
  workflow?: string | undefined;
@@ -21634,17 +21634,6 @@ 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
- } | {
21648
21637
  output: {
21649
21638
  id: string;
21650
21639
  title: string;
@@ -22095,6 +22084,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22095
22084
  id: string;
22096
22085
  };
22097
22086
  };
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,54 +22222,6 @@ 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
- } | {
22273
22225
  output: {
22274
22226
  id: string;
22275
22227
  title: string;
@@ -22718,6 +22670,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22718
22670
  id: string;
22719
22671
  };
22720
22672
  };
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: 400;
22756
+ status: 404;
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: 404;
22775
+ status: 409;
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
- error: string;
22791
+ delivered: true;
22792
22792
  };
22793
22793
  outputFormat: "json";
22794
- status: 409;
22794
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- delivered: true;
22810
+ error: string;
22811
22811
  };
22812
22812
  outputFormat: "json";
22813
- status: import("hono/utils/http-status").ContentfulStatusCode;
22813
+ status: 400;
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: 400;
22880
+ status: 404;
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: 404;
22901
+ status: 400;
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: 400;
23053
+ status: 404;
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: 404;
23076
+ status: 400;
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: 400;
23187
+ status: 404;
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: 404;
23203
+ status: 409;
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: 409;
23219
+ status: 400;
23220
23220
  input: {
23221
23221
  json: {
23222
23222
  target: string;
@@ -23273,12 +23273,9 @@ 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
- error: string;
23278
- code?: "invalid_input" | undefined;
23279
- };
23280
- outputFormat: "json";
23281
- status: 400;
23276
+ output: {};
23277
+ outputFormat: string;
23278
+ status: import("hono/utils/http-status").StatusCode;
23282
23279
  input: {
23283
23280
  param: {
23284
23281
  id: string;
@@ -23286,9 +23283,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23286
23283
  };
23287
23284
  };
23288
23285
  } | {
23289
- output: {};
23290
- outputFormat: string;
23291
- status: import("hono/utils/http-status").StatusCode;
23286
+ output: {
23287
+ error: string;
23288
+ code?: "invalid_input" | undefined;
23289
+ };
23290
+ outputFormat: "json";
23291
+ status: 400;
23292
23292
  input: {
23293
23293
  param: {
23294
23294
  id: string;
@@ -23300,20 +23300,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23300
23300
  } & {
23301
23301
  "/runs/:id/diff": {
23302
23302
  $get: {
23303
- output: {
23304
- error: string;
23305
- };
23306
- outputFormat: "json";
23307
- status: 404;
23303
+ output: string;
23304
+ outputFormat: "text";
23305
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23308
23306
  input: {
23309
23307
  param: {
23310
23308
  id: string;
23311
23309
  };
23312
23310
  };
23313
23311
  } | {
23314
- output: string;
23315
- outputFormat: "text";
23316
- status: import("hono/utils/http-status").ContentfulStatusCode;
23312
+ output: {
23313
+ error: string;
23314
+ };
23315
+ outputFormat: "json";
23316
+ status: 404;
23317
23317
  input: {
23318
23318
  param: {
23319
23319
  id: string;
@@ -23642,18 +23642,6 @@ 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
- };
23657
23645
  } | {
23658
23646
  output: {
23659
23647
  type: "file";
@@ -23681,6 +23669,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23681
23669
  artifactId: string;
23682
23670
  };
23683
23671
  };
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,11 +23977,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23977
23977
  "/runs/:id/pr": {
23978
23978
  $post: {
23979
23979
  output: {
23980
- url: string;
23981
- dryRun: boolean;
23980
+ error: string;
23982
23981
  };
23983
23982
  outputFormat: "json";
23984
- status: 201;
23983
+ status: 404;
23985
23984
  input: {
23986
23985
  param: {
23987
23986
  id: string;
@@ -23992,7 +23991,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23992
23991
  error: string;
23993
23992
  };
23994
23993
  outputFormat: "json";
23995
- status: 400;
23994
+ status: 409;
23996
23995
  input: {
23997
23996
  param: {
23998
23997
  id: string;
@@ -24003,7 +24002,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24003
24002
  error: string;
24004
24003
  };
24005
24004
  outputFormat: "json";
24006
- status: 404;
24005
+ status: 400;
24007
24006
  input: {
24008
24007
  param: {
24009
24008
  id: string;
@@ -24011,10 +24010,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24011
24010
  };
24012
24011
  } | {
24013
24012
  output: {
24014
- error: string;
24013
+ url: string;
24014
+ dryRun: boolean;
24015
24015
  };
24016
24016
  outputFormat: "json";
24017
- status: 409;
24017
+ status: 201;
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: 404;
24069
+ status: 409;
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: 409;
24080
+ status: 404;
24081
24081
  input: {
24082
24082
  param: {
24083
24083
  id: string;