@wjarka/cezarion 0.14.9-dev.958 → 0.14.9-dev.959

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -331,10 +331,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
331
331
  };
332
332
  } | {
333
333
  output: {
334
- error: string;
334
+ path: string;
335
+ parent: string | null;
336
+ dirs: {
337
+ name: string;
338
+ path: string;
339
+ isRepo: boolean;
340
+ }[];
341
+ truncated: boolean;
335
342
  };
336
343
  outputFormat: "json";
337
- status: 400 | 404;
344
+ status: import("hono/utils/http-status").ContentfulStatusCode;
338
345
  input: {
339
346
  query: {
340
347
  path?: string | undefined;
@@ -343,17 +350,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
343
350
  };
344
351
  } | {
345
352
  output: {
346
- path: string;
347
- parent: string | null;
348
- dirs: {
349
- name: string;
350
- path: string;
351
- isRepo: boolean;
352
- }[];
353
- truncated: boolean;
353
+ error: string;
354
354
  };
355
355
  outputFormat: "json";
356
- status: import("hono/utils/http-status").ContentfulStatusCode;
356
+ status: 400 | 404;
357
357
  input: {
358
358
  query: {
359
359
  path?: string | undefined;
@@ -365,6 +365,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
365
365
  }, "/"> | import("hono/types").MergeSchemaPath<{
366
366
  "/automation-checks/:checkId": {
367
367
  $get: {
368
+ output: {
369
+ error: string;
370
+ };
371
+ outputFormat: "json";
372
+ status: 404;
373
+ input: {
374
+ param: {
375
+ checkId: string;
376
+ };
377
+ };
378
+ } | {
368
379
  output: {
369
380
  id: string;
370
381
  automationId: string;
@@ -383,17 +394,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
383
394
  checkId: string;
384
395
  };
385
396
  };
386
- } | {
387
- output: {
388
- error: string;
389
- };
390
- outputFormat: "json";
391
- status: 404;
392
- input: {
393
- param: {
394
- checkId: string;
395
- };
396
- };
397
397
  };
398
398
  };
399
399
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -545,17 +545,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
545
545
  projectId: string | string[];
546
546
  };
547
547
  };
548
- } | {
549
- output: {
550
- error: string;
551
- };
552
- outputFormat: "json";
553
- status: 404 | 409;
554
- input: {
555
- query: {
556
- projectId: string | string[];
557
- };
558
- };
559
548
  } | {
560
549
  output: {
561
550
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -582,6 +571,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
582
571
  projectId: string | string[];
583
572
  };
584
573
  };
574
+ } | {
575
+ output: {
576
+ error: string;
577
+ };
578
+ outputFormat: "json";
579
+ status: 404 | 409;
580
+ input: {
581
+ query: {
582
+ projectId: string | string[];
583
+ };
584
+ };
585
585
  };
586
586
  };
587
587
  } & {
@@ -720,17 +720,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
720
720
  };
721
721
  } | {
722
722
  output: {
723
- providers: {
724
- provider: ProviderId;
725
- status: import("../core/provider-auth.ts").ProviderConnectionState;
726
- enabled?: boolean;
727
- hint?: string;
728
- authFailureId?: string;
729
- profileId?: string;
730
- }[];
723
+ error: string;
731
724
  };
732
725
  outputFormat: "json";
733
- status: import("hono/utils/http-status").ContentfulStatusCode;
726
+ status: 500;
734
727
  input: {
735
728
  param: {
736
729
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -742,10 +735,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
742
735
  };
743
736
  } | {
744
737
  output: {
745
- error: string;
738
+ providers: {
739
+ provider: ProviderId;
740
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
741
+ enabled?: boolean;
742
+ hint?: string;
743
+ authFailureId?: string;
744
+ profileId?: string;
745
+ }[];
746
746
  };
747
747
  outputFormat: "json";
748
- status: 500;
748
+ status: import("hono/utils/http-status").ContentfulStatusCode;
749
749
  input: {
750
750
  param: {
751
751
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -777,17 +777,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
777
777
  };
778
778
  } | {
779
779
  output: {
780
- providers: {
781
- provider: ProviderId;
782
- status: import("../core/provider-auth.ts").ProviderConnectionState;
783
- enabled?: boolean;
784
- hint?: string;
785
- authFailureId?: string;
786
- profileId?: string;
787
- }[];
780
+ error: string;
788
781
  };
789
782
  outputFormat: "json";
790
- status: import("hono/utils/http-status").ContentfulStatusCode;
783
+ status: 409;
791
784
  input: {
792
785
  param: {
793
786
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -799,10 +792,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
799
792
  };
800
793
  } | {
801
794
  output: {
802
- error: string;
795
+ providers: {
796
+ provider: ProviderId;
797
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
798
+ enabled?: boolean;
799
+ hint?: string;
800
+ authFailureId?: string;
801
+ profileId?: string;
802
+ }[];
803
803
  };
804
804
  outputFormat: "json";
805
- status: 409;
805
+ status: import("hono/utils/http-status").ContentfulStatusCode;
806
806
  input: {
807
807
  param: {
808
808
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -821,7 +821,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
821
821
  error: string;
822
822
  };
823
823
  outputFormat: "json";
824
- status: 409;
824
+ status: 400;
825
825
  input: {
826
826
  json: {
827
827
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -833,7 +833,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
833
833
  error: string;
834
834
  };
835
835
  outputFormat: "json";
836
- status: 400;
836
+ status: 409;
837
837
  input: {
838
838
  json: {
839
839
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -921,35 +921,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
921
921
  "/workspace/config": {
922
922
  $put: {
923
923
  output: {
924
- browseRoot: string;
925
- projectsDir: string;
926
- skillsAutoUpdate: boolean | null;
927
- effectiveSkillsAutoUpdate: boolean;
928
- composerDefaults: {
929
- autonomous: boolean | null;
930
- worktree: boolean | null;
931
- inheritedAutonomous: boolean | 'source-dependent';
932
- inheritedWorktree: boolean;
933
- };
934
- resources: {
935
- maxParallel: number;
936
- maxMonitoringSessions: number;
937
- monitoringWakeIntervalMinutes: number | null;
938
- autoResumeOnUsageLimit: boolean;
939
- memoryLimitMb: number | null;
940
- worktreeRetentionDefault: number;
941
- };
942
- agentDefaults: {
943
- runner?: ProviderId;
944
- models?: {
945
- claude?: string;
946
- codex?: string;
947
- opencode?: string;
948
- } | undefined;
949
- };
924
+ error: string;
950
925
  };
951
926
  outputFormat: "json";
952
- status: import("hono/utils/http-status").ContentfulStatusCode;
927
+ status: 400;
953
928
  input: {
954
929
  json: {
955
930
  browseRoot?: string | undefined;
@@ -984,7 +959,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
984
959
  error: string;
985
960
  };
986
961
  outputFormat: "json";
987
- status: 400;
962
+ status: 500;
988
963
  input: {
989
964
  json: {
990
965
  browseRoot?: string | undefined;
@@ -1016,10 +991,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1016
991
  };
1017
992
  } | {
1018
993
  output: {
1019
- error: string;
994
+ browseRoot: string;
995
+ projectsDir: string;
996
+ skillsAutoUpdate: boolean | null;
997
+ effectiveSkillsAutoUpdate: boolean;
998
+ composerDefaults: {
999
+ autonomous: boolean | null;
1000
+ worktree: boolean | null;
1001
+ inheritedAutonomous: boolean | 'source-dependent';
1002
+ inheritedWorktree: boolean;
1003
+ };
1004
+ resources: {
1005
+ maxParallel: number;
1006
+ maxMonitoringSessions: number;
1007
+ monitoringWakeIntervalMinutes: number | null;
1008
+ autoResumeOnUsageLimit: boolean;
1009
+ memoryLimitMb: number | null;
1010
+ worktreeRetentionDefault: number;
1011
+ };
1012
+ agentDefaults: {
1013
+ runner?: ProviderId;
1014
+ models?: {
1015
+ claude?: string;
1016
+ codex?: string;
1017
+ opencode?: string;
1018
+ } | undefined;
1019
+ };
1020
1020
  };
1021
1021
  outputFormat: "json";
1022
- status: 500;
1022
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1023
1023
  input: {
1024
1024
  json: {
1025
1025
  browseRoot?: string | undefined;
@@ -1101,45 +1101,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1101
1101
  "/workspace/ui-state": {
1102
1102
  $put: {
1103
1103
  output: {
1104
- [x: string]: import("hono/utils/types").JSONValue;
1105
- sidebar?: {
1106
- [x: string]: import("hono/utils/types").JSONValue;
1107
- collapsed?: {
1108
- [x: string]: boolean;
1109
- } | undefined;
1110
- } | undefined;
1111
- dismissedProviderAuthFailures?: {
1112
- claude?: string | undefined;
1113
- codex?: string | undefined;
1114
- opencode?: string | undefined;
1115
- pi?: string | undefined;
1116
- cursor?: string | undefined;
1117
- } | undefined;
1118
- appearance?: {
1119
- accent?: "cezarion" | "lime" | "violet" | undefined;
1120
- density?: "comfortable" | "compact" | "ultra" | undefined;
1121
- width?: "narrow" | "wide" | undefined;
1122
- } | undefined;
1123
- notifications?: {
1124
- [x: string]: import("hono/utils/types").JSONValue;
1125
- enabled?: boolean | undefined;
1126
- } | undefined;
1127
- taskTable?: {
1128
- [x: string]: import("hono/utils/types").JSONValue;
1129
- expandedColumns?: {
1130
- [x: string]: boolean;
1131
- } | undefined;
1132
- } | undefined;
1133
- lastLocation?: {
1134
- projectId: string;
1135
- pathname: string;
1136
- search?: string | undefined;
1137
- hash?: string | undefined;
1138
- } | undefined;
1139
- importedSkills?: string[] | undefined;
1104
+ error: string;
1140
1105
  };
1141
1106
  outputFormat: "json";
1142
- status: import("hono/utils/http-status").ContentfulStatusCode;
1107
+ status: 500;
1143
1108
  input: {
1144
1109
  json: {
1145
1110
  [x: string]: unknown;
@@ -1178,10 +1143,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1178
1143
  };
1179
1144
  } | {
1180
1145
  output: {
1181
- error: string;
1146
+ [x: string]: import("hono/utils/types").JSONValue;
1147
+ sidebar?: {
1148
+ [x: string]: import("hono/utils/types").JSONValue;
1149
+ collapsed?: {
1150
+ [x: string]: boolean;
1151
+ } | undefined;
1152
+ } | undefined;
1153
+ dismissedProviderAuthFailures?: {
1154
+ claude?: string | undefined;
1155
+ codex?: string | undefined;
1156
+ opencode?: string | undefined;
1157
+ pi?: string | undefined;
1158
+ cursor?: string | undefined;
1159
+ } | undefined;
1160
+ appearance?: {
1161
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1162
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1163
+ width?: "narrow" | "wide" | undefined;
1164
+ } | undefined;
1165
+ notifications?: {
1166
+ [x: string]: import("hono/utils/types").JSONValue;
1167
+ enabled?: boolean | undefined;
1168
+ } | undefined;
1169
+ taskTable?: {
1170
+ [x: string]: import("hono/utils/types").JSONValue;
1171
+ expandedColumns?: {
1172
+ [x: string]: boolean;
1173
+ } | undefined;
1174
+ } | undefined;
1175
+ lastLocation?: {
1176
+ projectId: string;
1177
+ pathname: string;
1178
+ search?: string | undefined;
1179
+ hash?: string | undefined;
1180
+ } | undefined;
1181
+ importedSkills?: string[] | undefined;
1182
1182
  };
1183
1183
  outputFormat: "json";
1184
- status: 500;
1184
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1185
1185
  input: {
1186
1186
  json: {
1187
1187
  [x: string]: unknown;
@@ -1324,7 +1324,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1324
1324
  error: string;
1325
1325
  };
1326
1326
  outputFormat: "json";
1327
- status: 409;
1327
+ status: 404;
1328
1328
  input: {
1329
1329
  param: {
1330
1330
  projectId: string;
@@ -1335,7 +1335,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1335
1335
  error: string;
1336
1336
  };
1337
1337
  outputFormat: "json";
1338
- status: 404;
1338
+ status: 409;
1339
1339
  input: {
1340
1340
  param: {
1341
1341
  projectId: string;
@@ -1373,7 +1373,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1373
1373
  error: string;
1374
1374
  };
1375
1375
  outputFormat: "json";
1376
- status: 409;
1376
+ status: 404;
1377
1377
  input: {
1378
1378
  json: {
1379
1379
  maxParallel?: number | null | undefined;
@@ -1393,7 +1393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1393
1393
  error: string;
1394
1394
  };
1395
1395
  outputFormat: "json";
1396
- status: 404;
1396
+ status: 409;
1397
1397
  input: {
1398
1398
  json: {
1399
1399
  maxParallel?: number | null | undefined;
@@ -1475,7 +1475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1475
1475
  error: string;
1476
1476
  };
1477
1477
  outputFormat: "json";
1478
- status: 409;
1478
+ status: 400;
1479
1479
  input: {
1480
1480
  param: {
1481
1481
  projectId: string;
@@ -1497,7 +1497,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1497
1497
  error: string;
1498
1498
  };
1499
1499
  outputFormat: "json";
1500
- status: 400;
1500
+ status: 409;
1501
1501
  input: {
1502
1502
  param: {
1503
1503
  projectId: string;
@@ -1643,45 +1643,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1643
1643
  } & {
1644
1644
  "/workspace/agent-profiles": {
1645
1645
  $post: {
1646
- output: {
1647
- error: string;
1648
- };
1649
- outputFormat: "json";
1650
- status: 409;
1651
- input: {
1652
- json: {
1653
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1654
- label?: string | undefined;
1655
- configDir: string;
1656
- };
1657
- };
1658
- } | {
1659
- output: {
1660
- error: string;
1661
- };
1662
- outputFormat: "json";
1663
- status: 400;
1664
- input: {
1665
- json: {
1666
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1667
- label?: string | undefined;
1668
- configDir: string;
1669
- };
1670
- };
1671
- } | {
1672
- output: {
1673
- error: string;
1674
- };
1675
- outputFormat: "json";
1676
- status: 500;
1677
- input: {
1678
- json: {
1679
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1680
- label?: string | undefined;
1681
- configDir: string;
1682
- };
1683
- };
1684
- } | {
1685
1646
  output: {
1686
1647
  profile: {
1687
1648
  exists: boolean;
@@ -1732,6 +1693,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1732
1693
  configDir: string;
1733
1694
  };
1734
1695
  };
1696
+ } | {
1697
+ output: {
1698
+ error: string;
1699
+ };
1700
+ outputFormat: "json";
1701
+ status: 400;
1702
+ input: {
1703
+ json: {
1704
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1705
+ label?: string | undefined;
1706
+ configDir: string;
1707
+ };
1708
+ };
1709
+ } | {
1710
+ output: {
1711
+ error: string;
1712
+ };
1713
+ outputFormat: "json";
1714
+ status: 409;
1715
+ input: {
1716
+ json: {
1717
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1718
+ label?: string | undefined;
1719
+ configDir: string;
1720
+ };
1721
+ };
1722
+ } | {
1723
+ output: {
1724
+ error: string;
1725
+ };
1726
+ outputFormat: "json";
1727
+ status: 500;
1728
+ 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: 409;
1761
+ status: 400;
1762
1762
  input: {
1763
1763
  param: {
1764
1764
  id: string;
@@ -1774,7 +1774,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1774
1774
  error: string;
1775
1775
  };
1776
1776
  outputFormat: "json";
1777
- status: 400;
1777
+ status: 404;
1778
1778
  input: {
1779
1779
  param: {
1780
1780
  id: string;
@@ -1790,7 +1790,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1790
1790
  error: string;
1791
1791
  };
1792
1792
  outputFormat: "json";
1793
- status: 404;
1793
+ status: 409;
1794
1794
  input: {
1795
1795
  param: {
1796
1796
  id: string;
@@ -1896,7 +1896,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1896
1896
  error: string;
1897
1897
  };
1898
1898
  outputFormat: "json";
1899
- status: 409;
1899
+ status: 404;
1900
1900
  input: {
1901
1901
  param: {
1902
1902
  id: string;
@@ -1911,7 +1911,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1911
1911
  error: string;
1912
1912
  };
1913
1913
  outputFormat: "json";
1914
- status: 404;
1914
+ status: 409;
1915
1915
  input: {
1916
1916
  param: {
1917
1917
  id: string;
@@ -1964,7 +1964,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1964
1964
  error: string;
1965
1965
  };
1966
1966
  outputFormat: "json";
1967
- status: 409;
1967
+ status: 404;
1968
1968
  input: {
1969
1969
  param: {
1970
1970
  id: string;
@@ -1975,7 +1975,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1975
1975
  error: string;
1976
1976
  };
1977
1977
  outputFormat: "json";
1978
- status: 404;
1978
+ status: 409;
1979
1979
  input: {
1980
1980
  param: {
1981
1981
  id: string;
@@ -2023,7 +2023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2023
2023
  error: string;
2024
2024
  };
2025
2025
  outputFormat: "json";
2026
- status: 409;
2026
+ status: 400;
2027
2027
  input: {
2028
2028
  param: {
2029
2029
  id: string;
@@ -2055,7 +2055,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2055
2055
  error: string;
2056
2056
  };
2057
2057
  outputFormat: "json";
2058
- status: 400;
2058
+ status: 409;
2059
2059
  input: {
2060
2060
  param: {
2061
2061
  id: string;
@@ -2092,7 +2092,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2092
2092
  error: string;
2093
2093
  };
2094
2094
  outputFormat: "json";
2095
- status: 409;
2095
+ status: 400;
2096
2096
  input: {
2097
2097
  json: {
2098
2098
  projectId: string | null;
@@ -2118,7 +2118,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2118
2118
  error: string;
2119
2119
  };
2120
2120
  outputFormat: "json";
2121
- status: 400;
2121
+ status: 409;
2122
2122
  input: {
2123
2123
  json: {
2124
2124
  projectId: string | null;
@@ -2190,7 +2190,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2190
2190
  error: string;
2191
2191
  };
2192
2192
  outputFormat: "json";
2193
- status: 409;
2193
+ status: 404;
2194
2194
  input: {
2195
2195
  param: {
2196
2196
  id: string;
@@ -2201,7 +2201,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2201
2201
  error: string;
2202
2202
  };
2203
2203
  outputFormat: "json";
2204
- status: 500;
2204
+ status: 409;
2205
2205
  input: {
2206
2206
  param: {
2207
2207
  id: string;
@@ -2212,7 +2212,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2212
2212
  error: string;
2213
2213
  };
2214
2214
  outputFormat: "json";
2215
- status: 404;
2215
+ status: 500;
2216
2216
  input: {
2217
2217
  param: {
2218
2218
  id: string;
@@ -2978,7 +2978,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2978
2978
  error: string;
2979
2979
  };
2980
2980
  outputFormat: "json";
2981
- status: 409;
2981
+ status: 400;
2982
2982
  input: {
2983
2983
  json: {
2984
2984
  target: string;
@@ -2989,7 +2989,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2989
2989
  error: string;
2990
2990
  };
2991
2991
  outputFormat: "json";
2992
- status: 400;
2992
+ status: 409;
2993
2993
  input: {
2994
2994
  json: {
2995
2995
  target: string;
@@ -3048,9 +3048,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3048
3048
  }, "/"> | import("hono/types").MergeSchemaPath<{
3049
3049
  "/runs/:id/events": {
3050
3050
  $get: {
3051
- output: {};
3052
- outputFormat: string;
3053
- status: import("hono/utils/http-status").StatusCode;
3051
+ output: {
3052
+ error: string;
3053
+ code?: "invalid_input" | undefined;
3054
+ };
3055
+ outputFormat: "json";
3056
+ status: 400;
3054
3057
  input: {
3055
3058
  param: {
3056
3059
  id: string;
@@ -3062,12 +3065,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3062
3065
  };
3063
3066
  };
3064
3067
  } | {
3065
- output: {
3066
- error: string;
3067
- code?: "invalid_input" | undefined;
3068
- };
3069
- outputFormat: "json";
3070
- status: 400;
3068
+ output: {};
3069
+ outputFormat: string;
3070
+ status: import("hono/utils/http-status").StatusCode;
3071
3071
  input: {
3072
3072
  param: {
3073
3073
  id: string;
@@ -3119,25 +3119,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3119
3119
  "/config": {
3120
3120
  $put: {
3121
3121
  output: {
3122
- baseBranch: string | null;
3123
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3124
- systemPrompt: string | null;
3125
- defaultModels: {
3126
- claude?: string | undefined;
3127
- codex?: string | undefined;
3128
- cursor?: string | undefined;
3129
- opencode?: string | undefined;
3130
- pi?: string | undefined;
3131
- };
3132
- modelsLocked: boolean;
3133
- maxParallel: number;
3134
- memoryLimitMb: number | null;
3135
- worktreeRetention: number;
3136
- liveTitleUpdates: boolean | null;
3137
- reviewGate: boolean | null;
3122
+ error: string;
3138
3123
  };
3139
3124
  outputFormat: "json";
3140
- status: import("hono/utils/http-status").ContentfulStatusCode;
3125
+ status: 409;
3141
3126
  input: {
3142
3127
  json: {
3143
3128
  baseBranch?: string | null | undefined;
@@ -3162,7 +3147,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3162
3147
  error: string;
3163
3148
  };
3164
3149
  outputFormat: "json";
3165
- status: 409;
3150
+ status: 500;
3166
3151
  input: {
3167
3152
  json: {
3168
3153
  baseBranch?: string | null | undefined;
@@ -3184,10 +3169,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3184
3169
  };
3185
3170
  } | {
3186
3171
  output: {
3187
- error: string;
3172
+ baseBranch: string | null;
3173
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3174
+ systemPrompt: string | null;
3175
+ defaultModels: {
3176
+ claude?: string | undefined;
3177
+ codex?: string | undefined;
3178
+ cursor?: string | undefined;
3179
+ opencode?: string | undefined;
3180
+ pi?: string | undefined;
3181
+ };
3182
+ modelsLocked: boolean;
3183
+ maxParallel: number;
3184
+ memoryLimitMb: number | null;
3185
+ worktreeRetention: number;
3186
+ liveTitleUpdates: boolean | null;
3187
+ reviewGate: boolean | null;
3188
3188
  };
3189
3189
  outputFormat: "json";
3190
- status: 500;
3190
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3191
3191
  input: {
3192
3192
  json: {
3193
3193
  baseBranch?: string | null | undefined;
@@ -3212,6 +3212,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3212
3212
  }, "/"> | import("hono/types").MergeSchemaPath<{
3213
3213
  "/skills": {
3214
3214
  $get: {
3215
+ output: {
3216
+ error: string;
3217
+ code?: "invalid_input" | undefined;
3218
+ };
3219
+ outputFormat: "json";
3220
+ status: 400;
3221
+ input: {
3222
+ query: {
3223
+ wait?: string | undefined;
3224
+ };
3225
+ };
3226
+ } | {
3215
3227
  output: {
3216
3228
  name: string;
3217
3229
  description?: string;
@@ -3234,7 +3246,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3234
3246
  wait?: string | undefined;
3235
3247
  };
3236
3248
  };
3237
- } | {
3249
+ };
3250
+ };
3251
+ } & {
3252
+ "/skills/importable": {
3253
+ $get: {
3238
3254
  output: {
3239
3255
  error: string;
3240
3256
  code?: "invalid_input" | undefined;
@@ -3246,11 +3262,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3246
3262
  wait?: string | undefined;
3247
3263
  };
3248
3264
  };
3249
- };
3250
- };
3251
- } & {
3252
- "/skills/importable": {
3253
- $get: {
3265
+ } | {
3254
3266
  output: {
3255
3267
  name: string;
3256
3268
  description?: string | undefined;
@@ -3262,18 +3274,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3262
3274
  wait?: string | undefined;
3263
3275
  };
3264
3276
  };
3265
- } | {
3266
- output: {
3267
- error: string;
3268
- code?: "invalid_input" | undefined;
3269
- };
3270
- outputFormat: "json";
3271
- status: 400;
3272
- input: {
3273
- query: {
3274
- wait?: string | undefined;
3275
- };
3276
- };
3277
3277
  };
3278
3278
  };
3279
3279
  } & {
@@ -3327,7 +3327,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3327
3327
  error: string;
3328
3328
  };
3329
3329
  outputFormat: "json";
3330
- status: 409;
3330
+ status: 404;
3331
3331
  input: {
3332
3332
  param: {
3333
3333
  id: string;
@@ -3335,10 +3335,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3335
3335
  };
3336
3336
  } | {
3337
3337
  output: {
3338
- removed: true;
3338
+ error: string;
3339
3339
  };
3340
3340
  outputFormat: "json";
3341
- status: import("hono/utils/http-status").ContentfulStatusCode;
3341
+ status: 409;
3342
3342
  input: {
3343
3343
  param: {
3344
3344
  id: string;
@@ -3346,10 +3346,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3346
3346
  };
3347
3347
  } | {
3348
3348
  output: {
3349
- error: string;
3349
+ removed: true;
3350
3350
  };
3351
3351
  outputFormat: "json";
3352
- status: 404;
3352
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3353
3353
  input: {
3354
3354
  param: {
3355
3355
  id: string;
@@ -3360,24 +3360,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3360
3360
  } & {
3361
3361
  "/todos/:id/start": {
3362
3362
  $post: {
3363
- output: {
3364
- error: string;
3365
- };
3366
- outputFormat: "json";
3367
- status: 409;
3368
- input: {
3369
- json: {
3370
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3371
- model?: string | undefined;
3372
- effort?: string | undefined;
3373
- prompt?: string | undefined;
3374
- } | undefined;
3375
- } & {
3376
- param: {
3377
- id: string;
3378
- };
3379
- };
3380
- } | {
3381
3363
  output: {
3382
3364
  run: {
3383
3365
  id: string;
@@ -3835,7 +3817,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3835
3817
  error: string;
3836
3818
  };
3837
3819
  outputFormat: "json";
3838
- status: 409;
3820
+ status: 404;
3839
3821
  input: {
3840
3822
  json: {
3841
3823
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3853,7 +3835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3853
3835
  error: string;
3854
3836
  };
3855
3837
  outputFormat: "json";
3856
- status: 404;
3838
+ status: 409;
3857
3839
  input: {
3858
3840
  json: {
3859
3841
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3866,18 +3848,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3866
3848
  id: string;
3867
3849
  };
3868
3850
  };
3869
- };
3870
- };
3871
- }, "/"> | import("hono/types").MergeSchemaPath<{
3872
- "/agent-config": {
3873
- $get: {
3851
+ } | {
3874
3852
  output: {
3875
- editable: boolean;
3876
- files: {
3877
- id: string;
3878
- runners: import("../agent-config/catalog.ts").ConfigFileDef['runners'];
3879
- kind: import("../agent-config/catalog.ts").ConfigFileDef['kind'];
3880
- scope: import("../agent-config/catalog.ts").ConfigFileDef['scope'];
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: {
3874
+ output: {
3875
+ editable: boolean;
3876
+ files: {
3877
+ id: string;
3878
+ runners: import("../agent-config/catalog.ts").ConfigFileDef['runners'];
3879
+ kind: import("../agent-config/catalog.ts").ConfigFileDef['kind'];
3880
+ scope: import("../agent-config/catalog.ts").ConfigFileDef['scope'];
3881
3881
  label: string;
3882
3882
  path: string;
3883
3883
  format: import("../agent-config/catalog.ts").ConfigFileDef['format'];
@@ -3956,14 +3956,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3956
3956
  "/agent-config/:id": {
3957
3957
  $put: {
3958
3958
  output: {
3959
- id: string;
3960
- path: string;
3961
- exists: boolean;
3962
- content: string;
3963
- version: string | null;
3959
+ error: string;
3964
3960
  };
3965
3961
  outputFormat: "json";
3966
- status: import("hono/utils/http-status").ContentfulStatusCode;
3962
+ status: 404;
3967
3963
  input: {
3968
3964
  json: {
3969
3965
  content: string;
@@ -3976,10 +3972,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3976
3972
  };
3977
3973
  } | {
3978
3974
  output: {
3979
- error: string;
3975
+ id: string;
3976
+ path: string;
3977
+ exists: boolean;
3978
+ content: string;
3979
+ version: string | null;
3980
3980
  };
3981
3981
  outputFormat: "json";
3982
- status: 404;
3982
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3983
3983
  input: {
3984
3984
  json: {
3985
3985
  content: string;
@@ -4049,10 +4049,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4049
4049
  "/workflows": {
4050
4050
  $post: {
4051
4051
  output: {
4052
- error: string;
4052
+ path: string;
4053
+ name: string;
4053
4054
  };
4054
4055
  outputFormat: "json";
4055
- status: 400;
4056
+ status: 201;
4056
4057
  input: {
4057
4058
  json: {
4058
4059
  name: string;
@@ -4081,10 +4082,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4081
4082
  } | {
4082
4083
  output: {
4083
4084
  error: string;
4084
- exists: true;
4085
4085
  };
4086
4086
  outputFormat: "json";
4087
- status: 409;
4087
+ status: 400;
4088
4088
  input: {
4089
4089
  json: {
4090
4090
  name: string;
@@ -4113,9 +4113,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4113
4113
  } | {
4114
4114
  output: {
4115
4115
  error: string;
4116
+ exists: true;
4116
4117
  };
4117
4118
  outputFormat: "json";
4118
- status: 500;
4119
+ status: 409;
4119
4120
  input: {
4120
4121
  json: {
4121
4122
  name: string;
@@ -4143,11 +4144,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4143
4144
  };
4144
4145
  } | {
4145
4146
  output: {
4146
- path: string;
4147
- name: string;
4147
+ error: string;
4148
4148
  };
4149
4149
  outputFormat: "json";
4150
- status: 201;
4150
+ status: 500;
4151
4151
  input: {
4152
4152
  json: {
4153
4153
  name: string;
@@ -4182,7 +4182,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4182
4182
  error: string;
4183
4183
  };
4184
4184
  outputFormat: "json";
4185
- status: 404;
4185
+ status: 400;
4186
4186
  input: {
4187
4187
  param: {
4188
4188
  name: string;
@@ -4193,7 +4193,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4193
4193
  error: string;
4194
4194
  };
4195
4195
  outputFormat: "json";
4196
- status: 400;
4196
+ status: 404;
4197
4197
  input: {
4198
4198
  param: {
4199
4199
  name: string;
@@ -4333,6 +4333,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4333
4333
  sha: string;
4334
4334
  };
4335
4335
  };
4336
+ } | {
4337
+ output: {
4338
+ error: string;
4339
+ };
4340
+ outputFormat: "json";
4341
+ status: 409;
4342
+ input: {
4343
+ query: {
4344
+ structured?: string | undefined;
4345
+ };
4346
+ } & {
4347
+ param: {
4348
+ sha: string;
4349
+ };
4350
+ };
4336
4351
  } | {
4337
4352
  output: {
4338
4353
  sha: string;
@@ -4366,21 +4381,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4366
4381
  sha: string;
4367
4382
  };
4368
4383
  };
4369
- } | {
4370
- output: {
4371
- error: string;
4372
- };
4373
- outputFormat: "json";
4374
- status: 409;
4375
- input: {
4376
- query: {
4377
- structured?: string | undefined;
4378
- };
4379
- } & {
4380
- param: {
4381
- sha: string;
4382
- };
4383
- };
4384
4384
  } | {
4385
4385
  output: string;
4386
4386
  outputFormat: "text";
@@ -4399,6 +4399,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4399
4399
  } & {
4400
4400
  "/repo/changes": {
4401
4401
  $get: {
4402
+ output: {
4403
+ error: string;
4404
+ };
4405
+ outputFormat: "json";
4406
+ status: 409;
4407
+ input: {};
4408
+ } | {
4402
4409
  output: {
4403
4410
  files: {
4404
4411
  path: string;
@@ -4423,13 +4430,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4423
4430
  outputFormat: "json";
4424
4431
  status: import("hono/utils/http-status").ContentfulStatusCode;
4425
4432
  input: {};
4426
- } | {
4427
- output: {
4428
- error: string;
4429
- };
4430
- outputFormat: "json";
4431
- status: 409;
4432
- input: {};
4433
4433
  };
4434
4434
  };
4435
4435
  } & {
@@ -4454,10 +4454,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4454
4454
  "/repo/pull": {
4455
4455
  $post: {
4456
4456
  output: {
4457
- error: string;
4457
+ branch: string;
4458
+ pulled: true;
4459
+ summary: string;
4458
4460
  };
4459
4461
  outputFormat: "json";
4460
- status: 409;
4462
+ status: 200;
4461
4463
  input: {
4462
4464
  json: {
4463
4465
  branch?: string | undefined;
@@ -4466,12 +4468,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4466
4468
  };
4467
4469
  } | {
4468
4470
  output: {
4469
- branch: string;
4470
- pulled: true;
4471
- summary: string;
4471
+ error: string;
4472
4472
  };
4473
4473
  outputFormat: "json";
4474
- status: 200;
4474
+ status: 409;
4475
4475
  input: {
4476
4476
  json: {
4477
4477
  branch?: string | undefined;
@@ -5189,30 +5189,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5189
5189
  "/automations": {
5190
5190
  $post: {
5191
5191
  output: {
5192
- error: string;
5193
- };
5194
- outputFormat: "json";
5195
- status: 400;
5196
- input: {
5197
- json: {
5192
+ automation: {
5193
+ [x: string]: import("hono/utils/types").JSONValue;
5194
+ id: string;
5195
+ revision: number;
5198
5196
  name: string;
5199
5197
  description?: string | undefined;
5200
- enabled?: boolean | undefined;
5198
+ enabled: boolean;
5201
5199
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5202
5200
  intervalSeconds: number;
5203
5201
  filters: {
5204
- [x: string]: unknown;
5202
+ [x: string]: import("hono/utils/types").JSONValue;
5205
5203
  authors?: string[] | undefined;
5206
5204
  assignees?: string[] | undefined;
5207
5205
  allLabels?: string[] | undefined;
5208
5206
  anyLabels?: string[] | undefined;
5209
5207
  excludeLabels?: string[] | undefined;
5210
5208
  changedLabels?: string[] | undefined;
5211
- lookbackDays?: number | undefined;
5212
- maxRecords?: number | undefined;
5209
+ lookbackDays: number;
5210
+ maxRecords: number;
5213
5211
  };
5214
5212
  task: {
5215
- [x: string]: unknown;
5213
+ [x: string]: import("hono/utils/types").JSONValue;
5216
5214
  prompt: string;
5217
5215
  workflow?: string | undefined;
5218
5216
  steps?: {
@@ -5229,7 +5227,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5229
5227
  command?: string | undefined;
5230
5228
  onFail?: {
5231
5229
  retry: string;
5232
- max?: number | undefined;
5230
+ max: number;
5233
5231
  } | undefined;
5234
5232
  }[] | undefined;
5235
5233
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5241,33 +5239,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5241
5239
  autonomous?: boolean | undefined;
5242
5240
  systemPrompt?: string | undefined;
5243
5241
  };
5244
- enable?: boolean | undefined;
5242
+ createdAt: string;
5243
+ updatedAt: string;
5245
5244
  };
5246
5245
  };
5247
- } | {
5248
- output: {
5249
- automation: {
5250
- [x: string]: import("hono/utils/types").JSONValue;
5251
- id: string;
5252
- revision: number;
5246
+ outputFormat: "json";
5247
+ status: 201;
5248
+ input: {
5249
+ json: {
5253
5250
  name: string;
5254
5251
  description?: string | undefined;
5255
- enabled: boolean;
5252
+ enabled?: boolean | undefined;
5256
5253
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5257
5254
  intervalSeconds: number;
5258
5255
  filters: {
5259
- [x: string]: import("hono/utils/types").JSONValue;
5256
+ [x: string]: unknown;
5260
5257
  authors?: string[] | undefined;
5261
5258
  assignees?: string[] | undefined;
5262
5259
  allLabels?: string[] | undefined;
5263
5260
  anyLabels?: string[] | undefined;
5264
5261
  excludeLabels?: string[] | undefined;
5265
5262
  changedLabels?: string[] | undefined;
5266
- lookbackDays: number;
5267
- maxRecords: number;
5263
+ lookbackDays?: number | undefined;
5264
+ maxRecords?: number | undefined;
5268
5265
  };
5269
5266
  task: {
5270
- [x: string]: import("hono/utils/types").JSONValue;
5267
+ [x: string]: unknown;
5271
5268
  prompt: string;
5272
5269
  workflow?: string | undefined;
5273
5270
  steps?: {
@@ -5284,7 +5281,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5284
5281
  command?: string | undefined;
5285
5282
  onFail?: {
5286
5283
  retry: string;
5287
- max: number;
5284
+ max?: number | undefined;
5288
5285
  } | undefined;
5289
5286
  }[] | undefined;
5290
5287
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5296,12 +5293,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5296
5293
  autonomous?: boolean | undefined;
5297
5294
  systemPrompt?: string | undefined;
5298
5295
  };
5299
- createdAt: string;
5300
- updatedAt: string;
5296
+ enable?: boolean | undefined;
5301
5297
  };
5302
5298
  };
5299
+ } | {
5300
+ output: {
5301
+ error: string;
5302
+ };
5303
5303
  outputFormat: "json";
5304
- status: 201;
5304
+ status: 400;
5305
5305
  input: {
5306
5306
  json: {
5307
5307
  name: string;
@@ -5905,10 +5905,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5905
5905
  "/automations/:id/check": {
5906
5906
  $post: {
5907
5907
  output: {
5908
- error: string;
5908
+ checkId: string;
5909
5909
  };
5910
5910
  outputFormat: "json";
5911
- status: 404;
5911
+ status: 202;
5912
5912
  input: {
5913
5913
  json: {
5914
5914
  mode: "execute" | "preview";
@@ -5920,10 +5920,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5920
5920
  };
5921
5921
  } | {
5922
5922
  output: {
5923
- checkId: string;
5923
+ error: string;
5924
5924
  };
5925
5925
  outputFormat: "json";
5926
- status: 202;
5926
+ status: 404;
5927
5927
  input: {
5928
5928
  json: {
5929
5929
  mode: "execute" | "preview";
@@ -5997,10 +5997,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5997
5997
  "/automation-log/:receiptId/retry": {
5998
5998
  $post: {
5999
5999
  output: {
6000
- error: string;
6000
+ receiptId: string;
6001
+ runId: string;
6001
6002
  };
6002
6003
  outputFormat: "json";
6003
- status: 404;
6004
+ status: 202;
6004
6005
  input: {
6005
6006
  param: {
6006
6007
  receiptId: string;
@@ -6011,7 +6012,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6011
6012
  error: string;
6012
6013
  };
6013
6014
  outputFormat: "json";
6014
- status: 409;
6015
+ status: 404;
6015
6016
  input: {
6016
6017
  param: {
6017
6018
  receiptId: string;
@@ -6019,11 +6020,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6019
6020
  };
6020
6021
  } | {
6021
6022
  output: {
6022
- receiptId: string;
6023
- runId: string;
6023
+ error: string;
6024
6024
  };
6025
6025
  outputFormat: "json";
6026
- status: 202;
6026
+ status: 409;
6027
6027
  input: {
6028
6028
  param: {
6029
6029
  receiptId: string;
@@ -6605,11 +6605,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6605
6605
  "/runs/:id/worker-destroy": {
6606
6606
  $post: {
6607
6607
  output: {
6608
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6609
- readonly error: string;
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;
6610
6619
  };
6611
6620
  outputFormat: "json";
6612
- status: 400 | 401 | 403 | 409 | 503;
6621
+ status: 200;
6613
6622
  input: {
6614
6623
  query: {
6615
6624
  [x: string]: string | string[];
@@ -6654,7 +6663,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6654
6663
  error?: string | undefined;
6655
6664
  };
6656
6665
  outputFormat: "json";
6657
- status: 200;
6666
+ status: 409;
6658
6667
  input: {
6659
6668
  query: {
6660
6669
  [x: string]: string | string[];
@@ -6668,20 +6677,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6668
6677
  };
6669
6678
  } | {
6670
6679
  output: {
6671
- workerId: string;
6672
- state: "complete" | "incomplete";
6673
- deleted?: ({
6674
- kind: "worktree";
6675
- path: string;
6676
- } | {
6677
- kind: "branch";
6678
- ref: string;
6679
- })[] | undefined;
6680
- remaining: ("branch" | "process" | "worktree")[];
6681
- error?: string | undefined;
6680
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6681
+ readonly error: string;
6682
6682
  };
6683
6683
  outputFormat: "json";
6684
- status: 409;
6684
+ status: 400 | 401 | 403 | 409 | 503;
6685
6685
  input: {
6686
6686
  query: {
6687
6687
  [x: string]: string | string[];
@@ -6720,6 +6720,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6720
6720
  } & {
6721
6721
  "/runs/:id/archive": {
6722
6722
  $post: {
6723
+ output: {
6724
+ error: string;
6725
+ };
6726
+ outputFormat: "json";
6727
+ status: 404;
6728
+ input: {
6729
+ json: {
6730
+ archived?: boolean | undefined;
6731
+ };
6732
+ } & {
6733
+ param: {
6734
+ id: string;
6735
+ };
6736
+ };
6737
+ } | {
6723
6738
  output: {
6724
6739
  id: string;
6725
6740
  title: string;
@@ -7167,32 +7182,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7167
7182
  id: string;
7168
7183
  };
7169
7184
  };
7170
- } | {
7185
+ };
7186
+ };
7187
+ } & {
7188
+ "/runs/:id/pin": {
7189
+ $post: {
7171
7190
  output: {
7172
7191
  error: string;
7192
+ code?: "invalid_input" | undefined;
7173
7193
  };
7174
7194
  outputFormat: "json";
7175
- status: 404;
7195
+ status: 400;
7176
7196
  input: {
7177
- json: {
7178
- archived?: boolean | undefined;
7179
- };
7180
- } & {
7181
7197
  param: {
7182
7198
  id: string;
7183
7199
  };
7200
+ } & {
7201
+ json: {
7202
+ pinned?: boolean | undefined;
7203
+ };
7184
7204
  };
7185
- };
7186
- };
7187
- } & {
7188
- "/runs/:id/pin": {
7189
- $post: {
7205
+ } | {
7190
7206
  output: {
7191
7207
  error: string;
7192
- code?: "invalid_input" | undefined;
7193
7208
  };
7194
7209
  outputFormat: "json";
7195
- status: 400;
7210
+ status: 404;
7196
7211
  input: {
7197
7212
  param: {
7198
7213
  id: string;
@@ -7650,29 +7665,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7650
7665
  pinned?: boolean | undefined;
7651
7666
  };
7652
7667
  };
7653
- } | {
7668
+ };
7669
+ };
7670
+ } & {
7671
+ "/runs/:id/notify": {
7672
+ $post: {
7654
7673
  output: {
7655
7674
  error: string;
7675
+ code?: "invalid_input" | undefined;
7656
7676
  };
7657
7677
  outputFormat: "json";
7658
- status: 404;
7678
+ status: 400;
7659
7679
  input: {
7660
7680
  param: {
7661
7681
  id: string;
7662
7682
  };
7663
7683
  } & {
7664
7684
  json: {
7665
- pinned?: boolean | undefined;
7685
+ notify: boolean;
7686
+ message?: string | undefined;
7666
7687
  };
7667
7688
  };
7668
- };
7669
- };
7670
- } & {
7671
- "/runs/:id/notify": {
7672
- $post: {
7689
+ } | {
7673
7690
  output: {
7674
7691
  error: string;
7675
- code?: "invalid_input" | undefined;
7676
7692
  };
7677
7693
  outputFormat: "json";
7678
7694
  status: 400;
@@ -7686,6 +7702,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7686
7702
  message?: string | undefined;
7687
7703
  };
7688
7704
  };
7705
+ } | {
7706
+ output: {
7707
+ error: string;
7708
+ };
7709
+ outputFormat: "json";
7710
+ status: 404;
7711
+ input: {
7712
+ param: {
7713
+ id: string;
7714
+ };
7715
+ } & {
7716
+ json: {
7717
+ notify: boolean;
7718
+ message?: string | undefined;
7719
+ };
7720
+ };
7689
7721
  } | {
7690
7722
  output: {
7691
7723
  id: string;
@@ -8135,7 +8167,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8135
8167
  message?: string | undefined;
8136
8168
  };
8137
8169
  };
8138
- } | {
8170
+ };
8171
+ };
8172
+ } & {
8173
+ "/runs/:id/auto-resume": {
8174
+ $delete: {
8139
8175
  output: {
8140
8176
  error: string;
8141
8177
  };
@@ -8145,33 +8181,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8145
8181
  param: {
8146
8182
  id: string;
8147
8183
  };
8148
- } & {
8149
- json: {
8150
- notify: boolean;
8151
- message?: string | undefined;
8152
- };
8153
8184
  };
8154
8185
  } | {
8155
8186
  output: {
8156
- error: string;
8187
+ cancelled: true;
8157
8188
  };
8158
8189
  outputFormat: "json";
8159
- status: 400;
8190
+ status: import("hono/utils/http-status").ContentfulStatusCode;
8160
8191
  input: {
8161
8192
  param: {
8162
8193
  id: string;
8163
8194
  };
8164
- } & {
8165
- json: {
8166
- notify: boolean;
8167
- message?: string | undefined;
8168
- };
8169
8195
  };
8170
8196
  };
8171
8197
  };
8172
8198
  } & {
8173
- "/runs/:id/auto-resume": {
8174
- $delete: {
8199
+ "/runs/:id/read": {
8200
+ $post: {
8175
8201
  output: {
8176
8202
  error: string;
8177
8203
  };
@@ -8183,21 +8209,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8183
8209
  };
8184
8210
  };
8185
8211
  } | {
8186
- output: {
8187
- cancelled: true;
8188
- };
8189
- outputFormat: "json";
8190
- status: import("hono/utils/http-status").ContentfulStatusCode;
8191
- input: {
8192
- param: {
8193
- id: string;
8194
- };
8195
- };
8196
- };
8197
- };
8198
- } & {
8199
- "/runs/:id/read": {
8200
- $post: {
8201
8212
  output: {
8202
8213
  id: string;
8203
8214
  title: string;
@@ -8641,7 +8652,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8641
8652
  id: string;
8642
8653
  };
8643
8654
  };
8644
- } | {
8655
+ };
8656
+ };
8657
+ } & {
8658
+ "/runs/:id/unread": {
8659
+ $post: {
8645
8660
  output: {
8646
8661
  error: string;
8647
8662
  };
@@ -8652,11 +8667,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8652
8667
  id: string;
8653
8668
  };
8654
8669
  };
8655
- };
8656
- };
8657
- } & {
8658
- "/runs/:id/unread": {
8659
- $post: {
8670
+ } | {
8660
8671
  output: {
8661
8672
  id: string;
8662
8673
  title: string;
@@ -9100,17 +9111,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9100
9111
  id: string;
9101
9112
  };
9102
9113
  };
9103
- } | {
9104
- output: {
9105
- error: string;
9106
- };
9107
- outputFormat: "json";
9108
- status: 404;
9109
- input: {
9110
- param: {
9111
- id: string;
9112
- };
9113
- };
9114
9114
  };
9115
9115
  };
9116
9116
  } & {
@@ -10071,141 +10071,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10071
10071
  notify?: boolean | undefined;
10072
10072
  };
10073
10073
  };
10074
- } | {
10075
- output: {
10076
- error: string;
10077
- };
10078
- outputFormat: "json";
10079
- status: 409;
10080
- input: {
10081
- json: {
10082
- workflow?: string | undefined;
10083
- steps?: {
10084
- id: string;
10085
- name?: string | undefined;
10086
- prompt?: string | undefined;
10087
- skill?: string | undefined;
10088
- model?: string | undefined;
10089
- effort?: string | undefined;
10090
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10091
- agentProfile?: string | undefined;
10092
- allowedTools?: string[] | undefined;
10093
- bashAllowlist?: string[] | undefined;
10094
- command?: string | undefined;
10095
- onFail?: {
10096
- retry: string;
10097
- max?: number | undefined;
10098
- } | undefined;
10099
- }[] | undefined;
10100
- task: string;
10101
- model?: string | undefined;
10102
- effort?: string | undefined;
10103
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10104
- agentProfile?: string | undefined;
10105
- variants?: number | undefined;
10106
- worktree?: boolean | undefined;
10107
- autonomous?: boolean | undefined;
10108
- generateFollowups?: boolean | undefined;
10109
- systemPrompt?: string | undefined;
10110
- images?: {
10111
- mediaType: string;
10112
- data: string;
10113
- }[] | undefined;
10114
- todoId?: string | undefined;
10115
- clientRequestId?: string | undefined;
10116
- notify?: boolean | undefined;
10117
- };
10118
- };
10119
- } | {
10120
- output: {
10121
- error: string;
10122
- };
10123
- outputFormat: "json";
10124
- status: 400;
10125
- input: {
10126
- json: {
10127
- workflow?: string | undefined;
10128
- steps?: {
10129
- id: string;
10130
- name?: string | undefined;
10131
- prompt?: string | undefined;
10132
- skill?: string | undefined;
10133
- model?: string | undefined;
10134
- effort?: string | undefined;
10135
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10136
- agentProfile?: string | undefined;
10137
- allowedTools?: string[] | undefined;
10138
- bashAllowlist?: string[] | undefined;
10139
- command?: string | undefined;
10140
- onFail?: {
10141
- retry: string;
10142
- max?: number | undefined;
10143
- } | undefined;
10144
- }[] | undefined;
10145
- task: string;
10146
- model?: string | undefined;
10147
- effort?: string | undefined;
10148
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10149
- agentProfile?: string | undefined;
10150
- variants?: number | undefined;
10151
- worktree?: boolean | undefined;
10152
- autonomous?: boolean | undefined;
10153
- generateFollowups?: boolean | undefined;
10154
- systemPrompt?: string | undefined;
10155
- images?: {
10156
- mediaType: string;
10157
- data: string;
10158
- }[] | undefined;
10159
- todoId?: string | undefined;
10160
- clientRequestId?: string | undefined;
10161
- notify?: boolean | undefined;
10162
- };
10163
- };
10164
- } | {
10165
- output: {
10166
- error: string;
10167
- };
10168
- outputFormat: "json";
10169
- status: 404;
10170
- input: {
10171
- json: {
10172
- workflow?: string | undefined;
10173
- steps?: {
10174
- id: string;
10175
- name?: string | undefined;
10176
- prompt?: string | undefined;
10177
- skill?: string | undefined;
10178
- model?: string | undefined;
10179
- effort?: string | undefined;
10180
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10181
- agentProfile?: string | undefined;
10182
- allowedTools?: string[] | undefined;
10183
- bashAllowlist?: string[] | undefined;
10184
- command?: string | undefined;
10185
- onFail?: {
10186
- retry: string;
10187
- max?: number | undefined;
10188
- } | undefined;
10189
- }[] | undefined;
10190
- task: string;
10191
- model?: string | undefined;
10192
- effort?: string | undefined;
10193
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10194
- agentProfile?: string | undefined;
10195
- variants?: number | undefined;
10196
- worktree?: boolean | undefined;
10197
- autonomous?: boolean | undefined;
10198
- generateFollowups?: boolean | undefined;
10199
- systemPrompt?: string | undefined;
10200
- images?: {
10201
- mediaType: string;
10202
- data: string;
10203
- }[] | undefined;
10204
- todoId?: string | undefined;
10205
- clientRequestId?: string | undefined;
10206
- notify?: boolean | undefined;
10207
- };
10208
- };
10209
10074
  } | {
10210
10075
  output: {
10211
10076
  runs: {
@@ -10586,67 +10451,202 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10586
10451
  groupId?: string | undefined;
10587
10452
  variant?: string | undefined;
10588
10453
  clientRequestId?: string | undefined;
10589
- clientRequestHash?: string | undefined;
10590
- peakRssBytes?: number | undefined;
10591
- peakProcCount?: number | undefined;
10592
- archived: boolean;
10593
- archivedAt?: string | undefined;
10594
- pinned?: boolean | undefined;
10595
- pinnedAt?: string | undefined;
10596
- seenAt?: string | undefined;
10597
- currentStepId?: string | undefined;
10598
- error?: string | undefined;
10599
- steps: {
10600
- id: string;
10601
- name: string;
10602
- kind: "agent" | "check";
10603
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
10604
- iterations: number;
10605
- retriesUsed?: number | undefined;
10606
- tokensUsed: number;
10607
- inputTokens?: number | undefined;
10608
- outputTokens?: number | undefined;
10609
- usageInvocationsStarted?: number | undefined;
10610
- usageInvocationsObserved?: number | undefined;
10611
- usageTurnsStarted?: number | undefined;
10612
- usageTurnsRecorded?: number | undefined;
10613
- usageInvocationEpoch?: number | undefined;
10614
- startedAt?: string | undefined;
10615
- finishedAt?: string | undefined;
10616
- error?: string | undefined;
10617
- sessionId?: string | undefined;
10618
- backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10619
- profileId?: string | undefined;
10620
- costUsd?: number | undefined;
10621
- synthetic?: "continuation" | undefined;
10622
- }[];
10623
- workflowDef?: {
10624
- name: string;
10625
- description?: string | undefined;
10626
- steps: {
10627
- id: string;
10628
- name?: string | undefined;
10629
- prompt?: string | undefined;
10630
- skill?: string | undefined;
10631
- model?: string | undefined;
10632
- effort?: string | undefined;
10633
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10634
- agentProfile?: string | undefined;
10635
- allowedTools?: string[] | undefined;
10636
- bashAllowlist?: string[] | undefined;
10637
- command?: string | undefined;
10638
- onFail?: {
10639
- retry: string;
10640
- max: number;
10641
- } | undefined;
10642
- }[];
10643
- source: "built-in" | "file";
10644
- path?: string | undefined;
10645
- } | undefined;
10646
- }[];
10454
+ clientRequestHash?: string | undefined;
10455
+ peakRssBytes?: number | undefined;
10456
+ peakProcCount?: number | undefined;
10457
+ archived: boolean;
10458
+ archivedAt?: string | undefined;
10459
+ pinned?: boolean | undefined;
10460
+ pinnedAt?: string | undefined;
10461
+ seenAt?: string | undefined;
10462
+ currentStepId?: string | undefined;
10463
+ error?: string | undefined;
10464
+ steps: {
10465
+ id: string;
10466
+ name: string;
10467
+ kind: "agent" | "check";
10468
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
10469
+ iterations: number;
10470
+ retriesUsed?: number | undefined;
10471
+ tokensUsed: number;
10472
+ inputTokens?: number | undefined;
10473
+ outputTokens?: number | undefined;
10474
+ usageInvocationsStarted?: number | undefined;
10475
+ usageInvocationsObserved?: number | undefined;
10476
+ usageTurnsStarted?: number | undefined;
10477
+ usageTurnsRecorded?: number | undefined;
10478
+ usageInvocationEpoch?: number | undefined;
10479
+ startedAt?: string | undefined;
10480
+ finishedAt?: string | undefined;
10481
+ error?: string | undefined;
10482
+ sessionId?: string | undefined;
10483
+ backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10484
+ profileId?: string | undefined;
10485
+ costUsd?: number | undefined;
10486
+ synthetic?: "continuation" | undefined;
10487
+ }[];
10488
+ workflowDef?: {
10489
+ name: string;
10490
+ description?: string | undefined;
10491
+ steps: {
10492
+ id: string;
10493
+ name?: string | undefined;
10494
+ prompt?: string | undefined;
10495
+ skill?: string | undefined;
10496
+ model?: string | undefined;
10497
+ effort?: string | undefined;
10498
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10499
+ agentProfile?: string | undefined;
10500
+ allowedTools?: string[] | undefined;
10501
+ bashAllowlist?: string[] | undefined;
10502
+ command?: string | undefined;
10503
+ onFail?: {
10504
+ retry: string;
10505
+ max: number;
10506
+ } | undefined;
10507
+ }[];
10508
+ source: "built-in" | "file";
10509
+ path?: string | undefined;
10510
+ } | undefined;
10511
+ }[];
10512
+ };
10513
+ outputFormat: "json";
10514
+ status: 201;
10515
+ input: {
10516
+ json: {
10517
+ workflow?: string | undefined;
10518
+ steps?: {
10519
+ id: string;
10520
+ name?: string | undefined;
10521
+ prompt?: string | undefined;
10522
+ skill?: string | undefined;
10523
+ model?: string | undefined;
10524
+ effort?: string | undefined;
10525
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10526
+ agentProfile?: string | undefined;
10527
+ allowedTools?: string[] | undefined;
10528
+ bashAllowlist?: string[] | undefined;
10529
+ command?: string | undefined;
10530
+ onFail?: {
10531
+ retry: string;
10532
+ max?: number | undefined;
10533
+ } | undefined;
10534
+ }[] | undefined;
10535
+ task: string;
10536
+ model?: string | undefined;
10537
+ effort?: string | undefined;
10538
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10539
+ agentProfile?: string | undefined;
10540
+ variants?: number | undefined;
10541
+ worktree?: boolean | undefined;
10542
+ autonomous?: boolean | undefined;
10543
+ generateFollowups?: boolean | undefined;
10544
+ systemPrompt?: string | undefined;
10545
+ images?: {
10546
+ mediaType: string;
10547
+ data: string;
10548
+ }[] | undefined;
10549
+ todoId?: string | undefined;
10550
+ clientRequestId?: string | undefined;
10551
+ notify?: boolean | undefined;
10552
+ };
10553
+ };
10554
+ } | {
10555
+ output: {
10556
+ error: string;
10557
+ };
10558
+ outputFormat: "json";
10559
+ status: 400;
10560
+ input: {
10561
+ json: {
10562
+ workflow?: string | undefined;
10563
+ steps?: {
10564
+ id: string;
10565
+ name?: string | undefined;
10566
+ prompt?: string | undefined;
10567
+ skill?: string | undefined;
10568
+ model?: string | undefined;
10569
+ effort?: string | undefined;
10570
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10571
+ agentProfile?: string | undefined;
10572
+ allowedTools?: string[] | undefined;
10573
+ bashAllowlist?: string[] | undefined;
10574
+ command?: string | undefined;
10575
+ onFail?: {
10576
+ retry: string;
10577
+ max?: number | undefined;
10578
+ } | undefined;
10579
+ }[] | undefined;
10580
+ task: string;
10581
+ model?: string | undefined;
10582
+ effort?: string | undefined;
10583
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10584
+ agentProfile?: string | undefined;
10585
+ variants?: number | undefined;
10586
+ worktree?: boolean | undefined;
10587
+ autonomous?: boolean | undefined;
10588
+ generateFollowups?: boolean | undefined;
10589
+ systemPrompt?: string | undefined;
10590
+ images?: {
10591
+ mediaType: string;
10592
+ data: string;
10593
+ }[] | undefined;
10594
+ todoId?: string | undefined;
10595
+ clientRequestId?: string | undefined;
10596
+ notify?: boolean | undefined;
10597
+ };
10598
+ };
10599
+ } | {
10600
+ output: {
10601
+ error: string;
10602
+ };
10603
+ outputFormat: "json";
10604
+ status: 404;
10605
+ input: {
10606
+ json: {
10607
+ workflow?: string | undefined;
10608
+ steps?: {
10609
+ id: string;
10610
+ name?: string | undefined;
10611
+ prompt?: string | undefined;
10612
+ skill?: string | undefined;
10613
+ model?: string | undefined;
10614
+ effort?: string | undefined;
10615
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10616
+ agentProfile?: string | undefined;
10617
+ allowedTools?: string[] | undefined;
10618
+ bashAllowlist?: string[] | undefined;
10619
+ command?: string | undefined;
10620
+ onFail?: {
10621
+ retry: string;
10622
+ max?: number | undefined;
10623
+ } | undefined;
10624
+ }[] | undefined;
10625
+ task: string;
10626
+ model?: string | undefined;
10627
+ effort?: string | undefined;
10628
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10629
+ agentProfile?: string | undefined;
10630
+ variants?: number | undefined;
10631
+ worktree?: boolean | undefined;
10632
+ autonomous?: boolean | undefined;
10633
+ generateFollowups?: boolean | undefined;
10634
+ systemPrompt?: string | undefined;
10635
+ images?: {
10636
+ mediaType: string;
10637
+ data: string;
10638
+ }[] | undefined;
10639
+ todoId?: string | undefined;
10640
+ clientRequestId?: string | undefined;
10641
+ notify?: boolean | undefined;
10642
+ };
10643
+ };
10644
+ } | {
10645
+ output: {
10646
+ error: string;
10647
10647
  };
10648
10648
  outputFormat: "json";
10649
- status: 201;
10649
+ status: 409;
10650
10650
  input: {
10651
10651
  json: {
10652
10652
  workflow?: string | undefined;
@@ -10691,6 +10691,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10691
10691
  } & {
10692
10692
  "/runs/:id": {
10693
10693
  $get: {
10694
+ output: {
10695
+ error: string;
10696
+ };
10697
+ outputFormat: "json";
10698
+ status: 404;
10699
+ input: {
10700
+ param: {
10701
+ id: string;
10702
+ };
10703
+ };
10704
+ } | {
10694
10705
  output: {
10695
10706
  id: string;
10696
10707
  title: string;
@@ -11141,17 +11152,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11141
11152
  id: string;
11142
11153
  };
11143
11154
  };
11144
- } | {
11145
- output: {
11146
- error: string;
11147
- };
11148
- outputFormat: "json";
11149
- status: 404;
11150
- input: {
11151
- param: {
11152
- id: string;
11153
- };
11154
- };
11155
11155
  };
11156
11156
  };
11157
11157
  } & {
@@ -11279,6 +11279,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11279
11279
  } & {
11280
11280
  "/runs/:id": {
11281
11281
  $patch: {
11282
+ output: {
11283
+ error: string;
11284
+ };
11285
+ outputFormat: "json";
11286
+ status: 400;
11287
+ input: {
11288
+ json: {
11289
+ title?: string | undefined;
11290
+ task?: string | undefined;
11291
+ };
11292
+ } & {
11293
+ param: {
11294
+ id: string;
11295
+ };
11296
+ };
11297
+ } | {
11298
+ output: {
11299
+ error: string;
11300
+ };
11301
+ outputFormat: "json";
11302
+ status: 404;
11303
+ input: {
11304
+ json: {
11305
+ title?: string | undefined;
11306
+ task?: string | undefined;
11307
+ };
11308
+ } & {
11309
+ param: {
11310
+ id: string;
11311
+ };
11312
+ };
11313
+ } | {
11314
+ output: {
11315
+ error: string;
11316
+ };
11317
+ outputFormat: "json";
11318
+ status: 409;
11319
+ input: {
11320
+ json: {
11321
+ title?: string | undefined;
11322
+ task?: string | undefined;
11323
+ };
11324
+ } & {
11325
+ param: {
11326
+ id: string;
11327
+ };
11328
+ };
11329
+ } | {
11282
11330
  output: {
11283
11331
  id: string;
11284
11332
  title: string;
@@ -11727,54 +11775,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11727
11775
  id: string;
11728
11776
  };
11729
11777
  };
11730
- } | {
11731
- output: {
11732
- error: string;
11733
- };
11734
- outputFormat: "json";
11735
- status: 404;
11736
- input: {
11737
- json: {
11738
- title?: string | undefined;
11739
- task?: string | undefined;
11740
- };
11741
- } & {
11742
- param: {
11743
- id: string;
11744
- };
11745
- };
11746
- } | {
11747
- output: {
11748
- error: string;
11749
- };
11750
- outputFormat: "json";
11751
- status: 400;
11752
- input: {
11753
- json: {
11754
- title?: string | undefined;
11755
- task?: string | undefined;
11756
- };
11757
- } & {
11758
- param: {
11759
- id: string;
11760
- };
11761
- };
11762
- } | {
11763
- output: {
11764
- error: string;
11765
- };
11766
- outputFormat: "json";
11767
- status: 409;
11768
- input: {
11769
- json: {
11770
- title?: string | undefined;
11771
- task?: string | undefined;
11772
- };
11773
- } & {
11774
- param: {
11775
- id: string;
11776
- };
11777
- };
11778
11778
  };
11779
11779
  };
11780
11780
  } & {
@@ -11810,7 +11810,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11810
11810
  error: string;
11811
11811
  };
11812
11812
  outputFormat: "json";
11813
- status: 404;
11813
+ status: 400;
11814
11814
  input: {
11815
11815
  json: {
11816
11816
  text?: string | undefined;
@@ -11829,7 +11829,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11829
11829
  error: string;
11830
11830
  };
11831
11831
  outputFormat: "json";
11832
- status: 409;
11832
+ status: 404;
11833
11833
  input: {
11834
11834
  json: {
11835
11835
  text?: string | undefined;
@@ -11845,10 +11845,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11845
11845
  };
11846
11846
  } | {
11847
11847
  output: {
11848
- delivered: true;
11848
+ error: string;
11849
11849
  };
11850
11850
  outputFormat: "json";
11851
- status: import("hono/utils/http-status").ContentfulStatusCode;
11851
+ status: 409;
11852
11852
  input: {
11853
11853
  json: {
11854
11854
  text?: string | undefined;
@@ -11864,10 +11864,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11864
11864
  };
11865
11865
  } | {
11866
11866
  output: {
11867
- error: string;
11867
+ delivered: true;
11868
11868
  };
11869
11869
  outputFormat: "json";
11870
- status: 400;
11870
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11871
11871
  input: {
11872
11872
  json: {
11873
11873
  text?: string | undefined;
@@ -11934,7 +11934,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11934
11934
  error: string;
11935
11935
  };
11936
11936
  outputFormat: "json";
11937
- status: 404;
11937
+ status: 400;
11938
11938
  input: {
11939
11939
  json: {
11940
11940
  text?: string | undefined;
@@ -11955,7 +11955,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11955
11955
  error: string;
11956
11956
  };
11957
11957
  outputFormat: "json";
11958
- status: 400;
11958
+ status: 404;
11959
11959
  input: {
11960
11960
  json: {
11961
11961
  text?: string | undefined;
@@ -12107,7 +12107,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12107
12107
  error: string;
12108
12108
  };
12109
12109
  outputFormat: "json";
12110
- status: 404;
12110
+ status: 400;
12111
12111
  input: {
12112
12112
  json: {
12113
12113
  text?: string | undefined;
@@ -12130,7 +12130,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12130
12130
  error: string;
12131
12131
  };
12132
12132
  outputFormat: "json";
12133
- status: 400;
12133
+ status: 404;
12134
12134
  input: {
12135
12135
  json: {
12136
12136
  text?: string | undefined;
@@ -12241,7 +12241,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12241
12241
  error: string;
12242
12242
  };
12243
12243
  outputFormat: "json";
12244
- status: 404;
12244
+ status: 400;
12245
12245
  input: {
12246
12246
  json: {
12247
12247
  target: string;
@@ -12257,7 +12257,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12257
12257
  error: string;
12258
12258
  };
12259
12259
  outputFormat: "json";
12260
- status: 409;
12260
+ status: 404;
12261
12261
  input: {
12262
12262
  json: {
12263
12263
  target: string;
@@ -12273,7 +12273,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12273
12273
  error: string;
12274
12274
  };
12275
12275
  outputFormat: "json";
12276
- status: 400;
12276
+ status: 409;
12277
12277
  input: {
12278
12278
  json: {
12279
12279
  target: string;
@@ -12306,20 +12306,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12306
12306
  } & {
12307
12307
  "/runs/:id/handoff": {
12308
12308
  $get: {
12309
- output: {
12310
- error: string;
12311
- };
12312
- outputFormat: "json";
12313
- status: 404;
12309
+ output: string;
12310
+ outputFormat: "text";
12311
+ status: 200;
12314
12312
  input: {
12315
12313
  param: {
12316
12314
  id: string;
12317
12315
  };
12318
12316
  };
12319
12317
  } | {
12320
- output: string;
12321
- outputFormat: "text";
12322
- status: 200;
12318
+ output: {
12319
+ error: string;
12320
+ };
12321
+ outputFormat: "json";
12322
+ status: 404;
12323
12323
  input: {
12324
12324
  param: {
12325
12325
  id: string;
@@ -12330,9 +12330,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12330
12330
  } & {
12331
12331
  "/runs/:id/images/:file": {
12332
12332
  $get: {
12333
- output: {};
12334
- outputFormat: string;
12335
- status: import("hono/utils/http-status").StatusCode;
12333
+ output: {
12334
+ error: string;
12335
+ code?: "invalid_input" | undefined;
12336
+ };
12337
+ outputFormat: "json";
12338
+ status: 400;
12336
12339
  input: {
12337
12340
  param: {
12338
12341
  id: string;
@@ -12340,12 +12343,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12340
12343
  };
12341
12344
  };
12342
12345
  } | {
12343
- output: {
12344
- error: string;
12345
- code?: "invalid_input" | undefined;
12346
- };
12347
- outputFormat: "json";
12348
- status: 400;
12346
+ output: {};
12347
+ outputFormat: string;
12348
+ status: import("hono/utils/http-status").StatusCode;
12349
12349
  input: {
12350
12350
  param: {
12351
12351
  id: string;
@@ -12699,6 +12699,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12699
12699
  artifactId: string;
12700
12700
  };
12701
12701
  };
12702
+ } | {
12703
+ output: {
12704
+ error: string;
12705
+ };
12706
+ outputFormat: "json";
12707
+ status: 404;
12708
+ input: {
12709
+ param: {
12710
+ id: string;
12711
+ artifactId: string;
12712
+ };
12713
+ };
12702
12714
  } | {
12703
12715
  output: {
12704
12716
  type: "file";
@@ -12726,18 +12738,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12726
12738
  artifactId: string;
12727
12739
  };
12728
12740
  };
12729
- } | {
12730
- output: {
12731
- error: string;
12732
- };
12733
- outputFormat: "json";
12734
- status: 404;
12735
- input: {
12736
- param: {
12737
- id: string;
12738
- artifactId: string;
12739
- };
12740
- };
12741
12741
  };
12742
12742
  };
12743
12743
  } & {
@@ -13034,10 +13034,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13034
13034
  "/runs/:id/pr": {
13035
13035
  $post: {
13036
13036
  output: {
13037
- error: string;
13037
+ url: string;
13038
+ dryRun: boolean;
13038
13039
  };
13039
13040
  outputFormat: "json";
13040
- status: 404;
13041
+ status: 201;
13041
13042
  input: {
13042
13043
  param: {
13043
13044
  id: string;
@@ -13048,7 +13049,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13048
13049
  error: string;
13049
13050
  };
13050
13051
  outputFormat: "json";
13051
- status: 409;
13052
+ status: 400;
13052
13053
  input: {
13053
13054
  param: {
13054
13055
  id: string;
@@ -13059,7 +13060,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13059
13060
  error: string;
13060
13061
  };
13061
13062
  outputFormat: "json";
13062
- status: 400;
13063
+ status: 404;
13063
13064
  input: {
13064
13065
  param: {
13065
13066
  id: string;
@@ -13067,11 +13068,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13067
13068
  };
13068
13069
  } | {
13069
13070
  output: {
13070
- url: string;
13071
- dryRun: boolean;
13071
+ error: string;
13072
13072
  };
13073
13073
  outputFormat: "json";
13074
- status: 201;
13074
+ status: 409;
13075
13075
  input: {
13076
13076
  param: {
13077
13077
  id: string;
@@ -13123,7 +13123,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13123
13123
  error: string;
13124
13124
  };
13125
13125
  outputFormat: "json";
13126
- status: 409;
13126
+ status: 404;
13127
13127
  input: {
13128
13128
  param: {
13129
13129
  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;
@@ -13899,7 +13899,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13899
13899
  error: string;
13900
13900
  };
13901
13901
  outputFormat: "json";
13902
- status: 409;
13902
+ status: 400;
13903
13903
  input: {
13904
13904
  json: {
13905
13905
  target: 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;
@@ -13969,9 +13969,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13969
13969
  }, "/"> | import("hono/types").MergeSchemaPath<{
13970
13970
  "/runs/:id/events": {
13971
13971
  $get: {
13972
- output: {};
13973
- outputFormat: string;
13974
- status: import("hono/utils/http-status").StatusCode;
13972
+ output: {
13973
+ error: string;
13974
+ code?: "invalid_input" | undefined;
13975
+ };
13976
+ outputFormat: "json";
13977
+ status: 400;
13975
13978
  input: {
13976
13979
  param: {
13977
13980
  id: string;
@@ -13983,12 +13986,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13983
13986
  };
13984
13987
  };
13985
13988
  } | {
13986
- output: {
13987
- error: string;
13988
- code?: "invalid_input" | undefined;
13989
- };
13990
- outputFormat: "json";
13991
- status: 400;
13989
+ output: {};
13990
+ outputFormat: string;
13991
+ status: import("hono/utils/http-status").StatusCode;
13992
13992
  input: {
13993
13993
  param: {
13994
13994
  id: string;
@@ -14040,25 +14040,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14040
14040
  "/config": {
14041
14041
  $put: {
14042
14042
  output: {
14043
- baseBranch: string | null;
14044
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
14045
- systemPrompt: string | null;
14046
- defaultModels: {
14047
- claude?: string | undefined;
14048
- codex?: string | undefined;
14049
- cursor?: string | undefined;
14050
- opencode?: string | undefined;
14051
- pi?: string | undefined;
14052
- };
14053
- modelsLocked: boolean;
14054
- maxParallel: number;
14055
- memoryLimitMb: number | null;
14056
- worktreeRetention: number;
14057
- liveTitleUpdates: boolean | null;
14058
- reviewGate: boolean | null;
14043
+ error: string;
14059
14044
  };
14060
14045
  outputFormat: "json";
14061
- status: import("hono/utils/http-status").ContentfulStatusCode;
14046
+ status: 409;
14062
14047
  input: {
14063
14048
  json: {
14064
14049
  baseBranch?: string | null | undefined;
@@ -14083,7 +14068,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14083
14068
  error: string;
14084
14069
  };
14085
14070
  outputFormat: "json";
14086
- status: 409;
14071
+ status: 500;
14087
14072
  input: {
14088
14073
  json: {
14089
14074
  baseBranch?: string | null | undefined;
@@ -14105,10 +14090,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14105
14090
  };
14106
14091
  } | {
14107
14092
  output: {
14108
- error: string;
14093
+ baseBranch: string | null;
14094
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
14095
+ systemPrompt: string | null;
14096
+ defaultModels: {
14097
+ claude?: string | undefined;
14098
+ codex?: string | undefined;
14099
+ cursor?: string | undefined;
14100
+ opencode?: string | undefined;
14101
+ pi?: string | undefined;
14102
+ };
14103
+ modelsLocked: boolean;
14104
+ maxParallel: number;
14105
+ memoryLimitMb: number | null;
14106
+ worktreeRetention: number;
14107
+ liveTitleUpdates: boolean | null;
14108
+ reviewGate: boolean | null;
14109
14109
  };
14110
14110
  outputFormat: "json";
14111
- status: 500;
14111
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14112
14112
  input: {
14113
14113
  json: {
14114
14114
  baseBranch?: string | null | undefined;
@@ -14133,6 +14133,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14133
14133
  }, "/"> | import("hono/types").MergeSchemaPath<{
14134
14134
  "/skills": {
14135
14135
  $get: {
14136
+ output: {
14137
+ error: string;
14138
+ code?: "invalid_input" | undefined;
14139
+ };
14140
+ outputFormat: "json";
14141
+ status: 400;
14142
+ input: {
14143
+ query: {
14144
+ wait?: string | undefined;
14145
+ };
14146
+ };
14147
+ } | {
14136
14148
  output: {
14137
14149
  name: string;
14138
14150
  description?: string;
@@ -14155,7 +14167,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14155
14167
  wait?: string | undefined;
14156
14168
  };
14157
14169
  };
14158
- } | {
14170
+ };
14171
+ };
14172
+ } & {
14173
+ "/skills/importable": {
14174
+ $get: {
14159
14175
  output: {
14160
14176
  error: string;
14161
14177
  code?: "invalid_input" | undefined;
@@ -14167,11 +14183,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14167
14183
  wait?: string | undefined;
14168
14184
  };
14169
14185
  };
14170
- };
14171
- };
14172
- } & {
14173
- "/skills/importable": {
14174
- $get: {
14186
+ } | {
14175
14187
  output: {
14176
14188
  name: string;
14177
14189
  description?: string | undefined;
@@ -14183,18 +14195,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14183
14195
  wait?: string | undefined;
14184
14196
  };
14185
14197
  };
14186
- } | {
14187
- output: {
14188
- error: string;
14189
- code?: "invalid_input" | undefined;
14190
- };
14191
- outputFormat: "json";
14192
- status: 400;
14193
- input: {
14194
- query: {
14195
- wait?: string | undefined;
14196
- };
14197
- };
14198
14198
  };
14199
14199
  };
14200
14200
  } & {
@@ -14248,7 +14248,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14248
14248
  error: string;
14249
14249
  };
14250
14250
  outputFormat: "json";
14251
- status: 409;
14251
+ status: 404;
14252
14252
  input: {
14253
14253
  param: {
14254
14254
  id: string;
@@ -14256,10 +14256,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14256
14256
  };
14257
14257
  } | {
14258
14258
  output: {
14259
- removed: true;
14259
+ error: string;
14260
14260
  };
14261
14261
  outputFormat: "json";
14262
- status: import("hono/utils/http-status").ContentfulStatusCode;
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: 404;
14273
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14274
14274
  input: {
14275
14275
  param: {
14276
14276
  id: string;
@@ -14281,24 +14281,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14281
14281
  } & {
14282
14282
  "/todos/:id/start": {
14283
14283
  $post: {
14284
- output: {
14285
- error: string;
14286
- };
14287
- outputFormat: "json";
14288
- status: 409;
14289
- input: {
14290
- json: {
14291
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14292
- model?: string | undefined;
14293
- effort?: string | undefined;
14294
- prompt?: string | undefined;
14295
- } | undefined;
14296
- } & {
14297
- param: {
14298
- id: string;
14299
- };
14300
- };
14301
- } | {
14302
14284
  output: {
14303
14285
  run: {
14304
14286
  id: string;
@@ -14751,6 +14733,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14751
14733
  id: string;
14752
14734
  };
14753
14735
  };
14736
+ } | {
14737
+ output: {
14738
+ error: string;
14739
+ };
14740
+ outputFormat: "json";
14741
+ status: 404;
14742
+ input: {
14743
+ json: {
14744
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14745
+ model?: string | undefined;
14746
+ effort?: string | undefined;
14747
+ prompt?: string | undefined;
14748
+ } | undefined;
14749
+ } & {
14750
+ param: {
14751
+ id: string;
14752
+ };
14753
+ };
14754
14754
  } | {
14755
14755
  output: {
14756
14756
  error: string;
@@ -14774,7 +14774,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14774
14774
  error: string;
14775
14775
  };
14776
14776
  outputFormat: "json";
14777
- status: 404;
14777
+ status: 409;
14778
14778
  input: {
14779
14779
  json: {
14780
14780
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -14877,14 +14877,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14877
14877
  "/agent-config/:id": {
14878
14878
  $put: {
14879
14879
  output: {
14880
- id: string;
14881
- path: string;
14882
- exists: boolean;
14883
- content: string;
14884
- version: string | null;
14880
+ error: string;
14885
14881
  };
14886
14882
  outputFormat: "json";
14887
- status: import("hono/utils/http-status").ContentfulStatusCode;
14883
+ status: 404;
14888
14884
  input: {
14889
14885
  json: {
14890
14886
  content: string;
@@ -14897,10 +14893,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14897
14893
  };
14898
14894
  } | {
14899
14895
  output: {
14900
- error: string;
14896
+ id: string;
14897
+ path: string;
14898
+ exists: boolean;
14899
+ content: string;
14900
+ version: string | null;
14901
14901
  };
14902
14902
  outputFormat: "json";
14903
- status: 404;
14903
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14904
14904
  input: {
14905
14905
  json: {
14906
14906
  content: string;
@@ -14970,10 +14970,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14970
14970
  "/workflows": {
14971
14971
  $post: {
14972
14972
  output: {
14973
- error: string;
14973
+ path: string;
14974
+ name: string;
14974
14975
  };
14975
14976
  outputFormat: "json";
14976
- status: 400;
14977
+ status: 201;
14977
14978
  input: {
14978
14979
  json: {
14979
14980
  name: string;
@@ -15002,10 +15003,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15002
15003
  } | {
15003
15004
  output: {
15004
15005
  error: string;
15005
- exists: true;
15006
15006
  };
15007
15007
  outputFormat: "json";
15008
- status: 409;
15008
+ status: 400;
15009
15009
  input: {
15010
15010
  json: {
15011
15011
  name: string;
@@ -15034,9 +15034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15034
15034
  } | {
15035
15035
  output: {
15036
15036
  error: string;
15037
+ exists: true;
15037
15038
  };
15038
15039
  outputFormat: "json";
15039
- status: 500;
15040
+ status: 409;
15040
15041
  input: {
15041
15042
  json: {
15042
15043
  name: string;
@@ -15064,11 +15065,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15064
15065
  };
15065
15066
  } | {
15066
15067
  output: {
15067
- path: string;
15068
- name: string;
15068
+ error: string;
15069
15069
  };
15070
15070
  outputFormat: "json";
15071
- status: 201;
15071
+ status: 500;
15072
15072
  input: {
15073
15073
  json: {
15074
15074
  name: string;
@@ -15103,7 +15103,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15103
15103
  error: string;
15104
15104
  };
15105
15105
  outputFormat: "json";
15106
- status: 404;
15106
+ status: 400;
15107
15107
  input: {
15108
15108
  param: {
15109
15109
  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;
@@ -15254,6 +15254,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15254
15254
  sha: string;
15255
15255
  };
15256
15256
  };
15257
+ } | {
15258
+ output: {
15259
+ error: string;
15260
+ };
15261
+ outputFormat: "json";
15262
+ status: 409;
15263
+ input: {
15264
+ query: {
15265
+ structured?: string | undefined;
15266
+ };
15267
+ } & {
15268
+ param: {
15269
+ sha: string;
15270
+ };
15271
+ };
15257
15272
  } | {
15258
15273
  output: {
15259
15274
  sha: string;
@@ -15273,26 +15288,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15273
15288
  stat: {
15274
15289
  adds: number;
15275
15290
  dels: number;
15276
- files: number;
15277
- };
15278
- };
15279
- outputFormat: "json";
15280
- status: import("hono/utils/http-status").ContentfulStatusCode;
15281
- input: {
15282
- query: {
15283
- structured?: string | undefined;
15284
- };
15285
- } & {
15286
- param: {
15287
- sha: string;
15288
- };
15289
- };
15290
- } | {
15291
- output: {
15292
- error: string;
15291
+ files: number;
15292
+ };
15293
15293
  };
15294
15294
  outputFormat: "json";
15295
- status: 409;
15295
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15296
15296
  input: {
15297
15297
  query: {
15298
15298
  structured?: string | undefined;
@@ -15320,6 +15320,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15320
15320
  } & {
15321
15321
  "/repo/changes": {
15322
15322
  $get: {
15323
+ output: {
15324
+ error: string;
15325
+ };
15326
+ outputFormat: "json";
15327
+ status: 409;
15328
+ input: {};
15329
+ } | {
15323
15330
  output: {
15324
15331
  files: {
15325
15332
  path: string;
@@ -15344,13 +15351,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15344
15351
  outputFormat: "json";
15345
15352
  status: import("hono/utils/http-status").ContentfulStatusCode;
15346
15353
  input: {};
15347
- } | {
15348
- output: {
15349
- error: string;
15350
- };
15351
- outputFormat: "json";
15352
- status: 409;
15353
- input: {};
15354
15354
  };
15355
15355
  };
15356
15356
  } & {
@@ -15375,10 +15375,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15375
15375
  "/repo/pull": {
15376
15376
  $post: {
15377
15377
  output: {
15378
- error: string;
15378
+ branch: string;
15379
+ pulled: true;
15380
+ summary: string;
15379
15381
  };
15380
15382
  outputFormat: "json";
15381
- status: 409;
15383
+ status: 200;
15382
15384
  input: {
15383
15385
  json: {
15384
15386
  branch?: string | undefined;
@@ -15387,12 +15389,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15387
15389
  };
15388
15390
  } | {
15389
15391
  output: {
15390
- branch: string;
15391
- pulled: true;
15392
- summary: string;
15392
+ error: string;
15393
15393
  };
15394
15394
  outputFormat: "json";
15395
- status: 200;
15395
+ status: 409;
15396
15396
  input: {
15397
15397
  json: {
15398
15398
  branch?: string | undefined;
@@ -16110,30 +16110,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16110
16110
  "/automations": {
16111
16111
  $post: {
16112
16112
  output: {
16113
- error: string;
16114
- };
16115
- outputFormat: "json";
16116
- status: 400;
16117
- input: {
16118
- json: {
16113
+ automation: {
16114
+ [x: string]: import("hono/utils/types").JSONValue;
16115
+ id: string;
16116
+ revision: number;
16119
16117
  name: string;
16120
16118
  description?: string | undefined;
16121
- enabled?: boolean | undefined;
16119
+ enabled: boolean;
16122
16120
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
16123
16121
  intervalSeconds: number;
16124
16122
  filters: {
16125
- [x: string]: unknown;
16123
+ [x: string]: import("hono/utils/types").JSONValue;
16126
16124
  authors?: string[] | undefined;
16127
16125
  assignees?: string[] | undefined;
16128
16126
  allLabels?: string[] | undefined;
16129
16127
  anyLabels?: string[] | undefined;
16130
16128
  excludeLabels?: string[] | undefined;
16131
16129
  changedLabels?: string[] | undefined;
16132
- lookbackDays?: number | undefined;
16133
- maxRecords?: number | undefined;
16130
+ lookbackDays: number;
16131
+ maxRecords: number;
16134
16132
  };
16135
16133
  task: {
16136
- [x: string]: unknown;
16134
+ [x: string]: import("hono/utils/types").JSONValue;
16137
16135
  prompt: string;
16138
16136
  workflow?: string | undefined;
16139
16137
  steps?: {
@@ -16150,7 +16148,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16150
16148
  command?: string | undefined;
16151
16149
  onFail?: {
16152
16150
  retry: string;
16153
- max?: number | undefined;
16151
+ max: number;
16154
16152
  } | undefined;
16155
16153
  }[] | undefined;
16156
16154
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -16162,33 +16160,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16162
16160
  autonomous?: boolean | undefined;
16163
16161
  systemPrompt?: string | undefined;
16164
16162
  };
16165
- enable?: boolean | undefined;
16163
+ createdAt: string;
16164
+ updatedAt: string;
16166
16165
  };
16167
16166
  };
16168
- } | {
16169
- output: {
16170
- automation: {
16171
- [x: string]: import("hono/utils/types").JSONValue;
16172
- id: string;
16173
- revision: number;
16167
+ outputFormat: "json";
16168
+ status: 201;
16169
+ input: {
16170
+ json: {
16174
16171
  name: string;
16175
16172
  description?: string | undefined;
16176
- enabled: boolean;
16173
+ enabled?: boolean | undefined;
16177
16174
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
16178
16175
  intervalSeconds: number;
16179
16176
  filters: {
16180
- [x: string]: import("hono/utils/types").JSONValue;
16177
+ [x: string]: unknown;
16181
16178
  authors?: string[] | undefined;
16182
16179
  assignees?: string[] | undefined;
16183
16180
  allLabels?: string[] | undefined;
16184
16181
  anyLabels?: string[] | undefined;
16185
16182
  excludeLabels?: string[] | undefined;
16186
16183
  changedLabels?: string[] | undefined;
16187
- lookbackDays: number;
16188
- maxRecords: number;
16184
+ lookbackDays?: number | undefined;
16185
+ maxRecords?: number | undefined;
16189
16186
  };
16190
16187
  task: {
16191
- [x: string]: import("hono/utils/types").JSONValue;
16188
+ [x: string]: unknown;
16192
16189
  prompt: string;
16193
16190
  workflow?: string | undefined;
16194
16191
  steps?: {
@@ -16205,7 +16202,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16205
16202
  command?: string | undefined;
16206
16203
  onFail?: {
16207
16204
  retry: string;
16208
- max: number;
16205
+ max?: number | undefined;
16209
16206
  } | undefined;
16210
16207
  }[] | undefined;
16211
16208
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -16217,12 +16214,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16217
16214
  autonomous?: boolean | undefined;
16218
16215
  systemPrompt?: string | undefined;
16219
16216
  };
16220
- createdAt: string;
16221
- updatedAt: string;
16217
+ enable?: boolean | undefined;
16222
16218
  };
16223
16219
  };
16220
+ } | {
16221
+ output: {
16222
+ error: string;
16223
+ };
16224
16224
  outputFormat: "json";
16225
- status: 201;
16225
+ status: 400;
16226
16226
  input: {
16227
16227
  json: {
16228
16228
  name: string;
@@ -16826,10 +16826,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16826
16826
  "/automations/:id/check": {
16827
16827
  $post: {
16828
16828
  output: {
16829
- error: string;
16829
+ checkId: string;
16830
16830
  };
16831
16831
  outputFormat: "json";
16832
- status: 404;
16832
+ status: 202;
16833
16833
  input: {
16834
16834
  json: {
16835
16835
  mode: "execute" | "preview";
@@ -16841,10 +16841,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16841
16841
  };
16842
16842
  } | {
16843
16843
  output: {
16844
- checkId: string;
16844
+ error: string;
16845
16845
  };
16846
16846
  outputFormat: "json";
16847
- status: 202;
16847
+ status: 404;
16848
16848
  input: {
16849
16849
  json: {
16850
16850
  mode: "execute" | "preview";
@@ -16918,10 +16918,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16918
16918
  "/automation-log/:receiptId/retry": {
16919
16919
  $post: {
16920
16920
  output: {
16921
- error: string;
16921
+ receiptId: string;
16922
+ runId: string;
16922
16923
  };
16923
16924
  outputFormat: "json";
16924
- status: 404;
16925
+ status: 202;
16925
16926
  input: {
16926
16927
  param: {
16927
16928
  receiptId: string;
@@ -16932,7 +16933,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16932
16933
  error: string;
16933
16934
  };
16934
16935
  outputFormat: "json";
16935
- status: 409;
16936
+ status: 404;
16936
16937
  input: {
16937
16938
  param: {
16938
16939
  receiptId: string;
@@ -16940,11 +16941,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16940
16941
  };
16941
16942
  } | {
16942
16943
  output: {
16943
- receiptId: string;
16944
- runId: string;
16944
+ error: string;
16945
16945
  };
16946
16946
  outputFormat: "json";
16947
- status: 202;
16947
+ status: 409;
16948
16948
  input: {
16949
16949
  param: {
16950
16950
  receiptId: string;
@@ -17526,11 +17526,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17526
17526
  "/runs/:id/worker-destroy": {
17527
17527
  $post: {
17528
17528
  output: {
17529
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
17530
- readonly error: string;
17529
+ workerId: string;
17530
+ state: "complete" | "incomplete";
17531
+ deleted?: ({
17532
+ kind: "worktree";
17533
+ path: string;
17534
+ } | {
17535
+ kind: "branch";
17536
+ ref: string;
17537
+ })[] | undefined;
17538
+ remaining: ("branch" | "process" | "worktree")[];
17539
+ error?: string | undefined;
17531
17540
  };
17532
17541
  outputFormat: "json";
17533
- status: 400 | 401 | 403 | 409 | 503;
17542
+ status: 200;
17534
17543
  input: {
17535
17544
  query: {
17536
17545
  [x: string]: string | string[];
@@ -17575,7 +17584,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17575
17584
  error?: string | undefined;
17576
17585
  };
17577
17586
  outputFormat: "json";
17578
- status: 200;
17587
+ status: 409;
17579
17588
  input: {
17580
17589
  query: {
17581
17590
  [x: string]: string | string[];
@@ -17589,20 +17598,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17589
17598
  };
17590
17599
  } | {
17591
17600
  output: {
17592
- workerId: string;
17593
- state: "complete" | "incomplete";
17594
- deleted?: ({
17595
- kind: "worktree";
17596
- path: string;
17597
- } | {
17598
- kind: "branch";
17599
- ref: string;
17600
- })[] | undefined;
17601
- remaining: ("branch" | "process" | "worktree")[];
17602
- error?: string | undefined;
17601
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
17602
+ readonly error: string;
17603
17603
  };
17604
17604
  outputFormat: "json";
17605
- status: 409;
17605
+ status: 400 | 401 | 403 | 409 | 503;
17606
17606
  input: {
17607
17607
  query: {
17608
17608
  [x: string]: string | string[];
@@ -17641,6 +17641,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17641
17641
  } & {
17642
17642
  "/runs/:id/archive": {
17643
17643
  $post: {
17644
+ output: {
17645
+ error: string;
17646
+ };
17647
+ outputFormat: "json";
17648
+ status: 404;
17649
+ input: {
17650
+ json: {
17651
+ archived?: boolean | undefined;
17652
+ };
17653
+ } & {
17654
+ param: {
17655
+ id: string;
17656
+ };
17657
+ };
17658
+ } | {
17644
17659
  output: {
17645
17660
  id: string;
17646
17661
  title: string;
@@ -18088,32 +18103,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18088
18103
  id: string;
18089
18104
  };
18090
18105
  };
18091
- } | {
18106
+ };
18107
+ };
18108
+ } & {
18109
+ "/runs/:id/pin": {
18110
+ $post: {
18092
18111
  output: {
18093
18112
  error: string;
18113
+ code?: "invalid_input" | undefined;
18094
18114
  };
18095
18115
  outputFormat: "json";
18096
- status: 404;
18116
+ status: 400;
18097
18117
  input: {
18098
- json: {
18099
- archived?: boolean | undefined;
18100
- };
18101
- } & {
18102
18118
  param: {
18103
18119
  id: string;
18104
18120
  };
18121
+ } & {
18122
+ json: {
18123
+ pinned?: boolean | undefined;
18124
+ };
18105
18125
  };
18106
- };
18107
- };
18108
- } & {
18109
- "/runs/:id/pin": {
18110
- $post: {
18126
+ } | {
18111
18127
  output: {
18112
18128
  error: string;
18113
- code?: "invalid_input" | undefined;
18114
18129
  };
18115
18130
  outputFormat: "json";
18116
- status: 400;
18131
+ status: 404;
18117
18132
  input: {
18118
18133
  param: {
18119
18134
  id: string;
@@ -18571,29 +18586,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18571
18586
  pinned?: boolean | undefined;
18572
18587
  };
18573
18588
  };
18574
- } | {
18589
+ };
18590
+ };
18591
+ } & {
18592
+ "/runs/:id/notify": {
18593
+ $post: {
18575
18594
  output: {
18576
18595
  error: string;
18596
+ code?: "invalid_input" | undefined;
18577
18597
  };
18578
18598
  outputFormat: "json";
18579
- status: 404;
18599
+ status: 400;
18580
18600
  input: {
18581
18601
  param: {
18582
18602
  id: string;
18583
18603
  };
18584
18604
  } & {
18585
18605
  json: {
18586
- pinned?: boolean | undefined;
18606
+ notify: boolean;
18607
+ message?: string | undefined;
18587
18608
  };
18588
18609
  };
18589
- };
18590
- };
18591
- } & {
18592
- "/runs/:id/notify": {
18593
- $post: {
18610
+ } | {
18594
18611
  output: {
18595
18612
  error: string;
18596
- code?: "invalid_input" | undefined;
18597
18613
  };
18598
18614
  outputFormat: "json";
18599
18615
  status: 400;
@@ -18607,6 +18623,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18607
18623
  message?: string | undefined;
18608
18624
  };
18609
18625
  };
18626
+ } | {
18627
+ output: {
18628
+ error: string;
18629
+ };
18630
+ outputFormat: "json";
18631
+ status: 404;
18632
+ input: {
18633
+ param: {
18634
+ id: string;
18635
+ };
18636
+ } & {
18637
+ json: {
18638
+ notify: boolean;
18639
+ message?: string | undefined;
18640
+ };
18641
+ };
18610
18642
  } | {
18611
18643
  output: {
18612
18644
  id: string;
@@ -19056,7 +19088,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19056
19088
  message?: string | undefined;
19057
19089
  };
19058
19090
  };
19059
- } | {
19091
+ };
19092
+ };
19093
+ } & {
19094
+ "/runs/:id/auto-resume": {
19095
+ $delete: {
19060
19096
  output: {
19061
19097
  error: string;
19062
19098
  };
@@ -19066,33 +19102,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19066
19102
  param: {
19067
19103
  id: string;
19068
19104
  };
19069
- } & {
19070
- json: {
19071
- notify: boolean;
19072
- message?: string | undefined;
19073
- };
19074
19105
  };
19075
19106
  } | {
19076
19107
  output: {
19077
- error: string;
19108
+ cancelled: true;
19078
19109
  };
19079
19110
  outputFormat: "json";
19080
- status: 400;
19111
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19081
19112
  input: {
19082
19113
  param: {
19083
19114
  id: string;
19084
19115
  };
19085
- } & {
19086
- json: {
19087
- notify: boolean;
19088
- message?: string | undefined;
19089
- };
19090
19116
  };
19091
19117
  };
19092
19118
  };
19093
19119
  } & {
19094
- "/runs/:id/auto-resume": {
19095
- $delete: {
19120
+ "/runs/:id/read": {
19121
+ $post: {
19096
19122
  output: {
19097
19123
  error: string;
19098
19124
  };
@@ -19104,21 +19130,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19104
19130
  };
19105
19131
  };
19106
19132
  } | {
19107
- output: {
19108
- cancelled: true;
19109
- };
19110
- outputFormat: "json";
19111
- status: import("hono/utils/http-status").ContentfulStatusCode;
19112
- input: {
19113
- param: {
19114
- id: string;
19115
- };
19116
- };
19117
- };
19118
- };
19119
- } & {
19120
- "/runs/:id/read": {
19121
- $post: {
19122
19133
  output: {
19123
19134
  id: string;
19124
19135
  title: string;
@@ -19562,7 +19573,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19562
19573
  id: string;
19563
19574
  };
19564
19575
  };
19565
- } | {
19576
+ };
19577
+ };
19578
+ } & {
19579
+ "/runs/:id/unread": {
19580
+ $post: {
19566
19581
  output: {
19567
19582
  error: string;
19568
19583
  };
@@ -19573,11 +19588,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19573
19588
  id: string;
19574
19589
  };
19575
19590
  };
19576
- };
19577
- };
19578
- } & {
19579
- "/runs/:id/unread": {
19580
- $post: {
19591
+ } | {
19581
19592
  output: {
19582
19593
  id: string;
19583
19594
  title: string;
@@ -20021,17 +20032,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20021
20032
  id: string;
20022
20033
  };
20023
20034
  };
20024
- } | {
20025
- output: {
20026
- error: string;
20027
- };
20028
- outputFormat: "json";
20029
- status: 404;
20030
- input: {
20031
- param: {
20032
- id: string;
20033
- };
20034
- };
20035
20035
  };
20036
20036
  };
20037
20037
  } & {
@@ -20992,141 +20992,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20992
20992
  notify?: boolean | undefined;
20993
20993
  };
20994
20994
  };
20995
- } | {
20996
- output: {
20997
- error: string;
20998
- };
20999
- outputFormat: "json";
21000
- status: 409;
21001
- input: {
21002
- json: {
21003
- workflow?: string | undefined;
21004
- steps?: {
21005
- id: string;
21006
- name?: string | undefined;
21007
- prompt?: string | undefined;
21008
- skill?: string | undefined;
21009
- model?: string | undefined;
21010
- effort?: string | undefined;
21011
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21012
- agentProfile?: string | undefined;
21013
- allowedTools?: string[] | undefined;
21014
- bashAllowlist?: string[] | undefined;
21015
- command?: string | undefined;
21016
- onFail?: {
21017
- retry: string;
21018
- max?: number | undefined;
21019
- } | undefined;
21020
- }[] | undefined;
21021
- task: string;
21022
- model?: string | undefined;
21023
- effort?: string | undefined;
21024
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21025
- agentProfile?: string | undefined;
21026
- variants?: number | undefined;
21027
- worktree?: boolean | undefined;
21028
- autonomous?: boolean | undefined;
21029
- generateFollowups?: boolean | undefined;
21030
- systemPrompt?: string | undefined;
21031
- images?: {
21032
- mediaType: string;
21033
- data: string;
21034
- }[] | undefined;
21035
- todoId?: string | undefined;
21036
- clientRequestId?: string | undefined;
21037
- notify?: boolean | undefined;
21038
- };
21039
- };
21040
- } | {
21041
- output: {
21042
- error: string;
21043
- };
21044
- outputFormat: "json";
21045
- status: 400;
21046
- input: {
21047
- json: {
21048
- workflow?: string | undefined;
21049
- steps?: {
21050
- id: string;
21051
- name?: string | undefined;
21052
- prompt?: string | undefined;
21053
- skill?: string | undefined;
21054
- model?: string | undefined;
21055
- effort?: string | undefined;
21056
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21057
- agentProfile?: string | undefined;
21058
- allowedTools?: string[] | undefined;
21059
- bashAllowlist?: string[] | undefined;
21060
- command?: string | undefined;
21061
- onFail?: {
21062
- retry: string;
21063
- max?: number | undefined;
21064
- } | undefined;
21065
- }[] | undefined;
21066
- task: string;
21067
- model?: string | undefined;
21068
- effort?: string | undefined;
21069
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21070
- agentProfile?: string | undefined;
21071
- variants?: number | undefined;
21072
- worktree?: boolean | undefined;
21073
- autonomous?: boolean | undefined;
21074
- generateFollowups?: boolean | undefined;
21075
- systemPrompt?: string | undefined;
21076
- images?: {
21077
- mediaType: string;
21078
- data: string;
21079
- }[] | undefined;
21080
- todoId?: string | undefined;
21081
- clientRequestId?: string | undefined;
21082
- notify?: boolean | undefined;
21083
- };
21084
- };
21085
- } | {
21086
- output: {
21087
- error: string;
21088
- };
21089
- outputFormat: "json";
21090
- status: 404;
21091
- input: {
21092
- json: {
21093
- workflow?: string | undefined;
21094
- steps?: {
21095
- id: string;
21096
- name?: string | undefined;
21097
- prompt?: string | undefined;
21098
- skill?: string | undefined;
21099
- model?: string | undefined;
21100
- effort?: string | undefined;
21101
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21102
- agentProfile?: string | undefined;
21103
- allowedTools?: string[] | undefined;
21104
- bashAllowlist?: string[] | undefined;
21105
- command?: string | undefined;
21106
- onFail?: {
21107
- retry: string;
21108
- max?: number | undefined;
21109
- } | undefined;
21110
- }[] | undefined;
21111
- task: string;
21112
- model?: string | undefined;
21113
- effort?: string | undefined;
21114
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21115
- agentProfile?: string | undefined;
21116
- variants?: number | undefined;
21117
- worktree?: boolean | undefined;
21118
- autonomous?: boolean | undefined;
21119
- generateFollowups?: boolean | undefined;
21120
- systemPrompt?: string | undefined;
21121
- images?: {
21122
- mediaType: string;
21123
- data: string;
21124
- }[] | undefined;
21125
- todoId?: string | undefined;
21126
- clientRequestId?: string | undefined;
21127
- notify?: boolean | undefined;
21128
- };
21129
- };
21130
20995
  } | {
21131
20996
  output: {
21132
20997
  runs: {
@@ -21567,7 +21432,142 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21567
21432
  }[];
21568
21433
  };
21569
21434
  outputFormat: "json";
21570
- status: 201;
21435
+ status: 201;
21436
+ input: {
21437
+ json: {
21438
+ workflow?: string | undefined;
21439
+ steps?: {
21440
+ id: string;
21441
+ name?: string | undefined;
21442
+ prompt?: string | undefined;
21443
+ skill?: string | undefined;
21444
+ model?: string | undefined;
21445
+ effort?: string | undefined;
21446
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21447
+ agentProfile?: string | undefined;
21448
+ allowedTools?: string[] | undefined;
21449
+ bashAllowlist?: string[] | undefined;
21450
+ command?: string | undefined;
21451
+ onFail?: {
21452
+ retry: string;
21453
+ max?: number | undefined;
21454
+ } | undefined;
21455
+ }[] | undefined;
21456
+ task: string;
21457
+ model?: string | undefined;
21458
+ effort?: string | undefined;
21459
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21460
+ agentProfile?: string | undefined;
21461
+ variants?: number | undefined;
21462
+ worktree?: boolean | undefined;
21463
+ autonomous?: boolean | undefined;
21464
+ generateFollowups?: boolean | undefined;
21465
+ systemPrompt?: string | undefined;
21466
+ images?: {
21467
+ mediaType: string;
21468
+ data: string;
21469
+ }[] | undefined;
21470
+ todoId?: string | undefined;
21471
+ clientRequestId?: string | undefined;
21472
+ notify?: boolean | undefined;
21473
+ };
21474
+ };
21475
+ } | {
21476
+ output: {
21477
+ error: string;
21478
+ };
21479
+ outputFormat: "json";
21480
+ status: 400;
21481
+ input: {
21482
+ json: {
21483
+ workflow?: string | undefined;
21484
+ steps?: {
21485
+ id: string;
21486
+ name?: string | undefined;
21487
+ prompt?: string | undefined;
21488
+ skill?: string | undefined;
21489
+ model?: string | undefined;
21490
+ effort?: string | undefined;
21491
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21492
+ agentProfile?: string | undefined;
21493
+ allowedTools?: string[] | undefined;
21494
+ bashAllowlist?: string[] | undefined;
21495
+ command?: string | undefined;
21496
+ onFail?: {
21497
+ retry: string;
21498
+ max?: number | undefined;
21499
+ } | undefined;
21500
+ }[] | undefined;
21501
+ task: string;
21502
+ model?: string | undefined;
21503
+ effort?: string | undefined;
21504
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21505
+ agentProfile?: string | undefined;
21506
+ variants?: number | undefined;
21507
+ worktree?: boolean | undefined;
21508
+ autonomous?: boolean | undefined;
21509
+ generateFollowups?: boolean | undefined;
21510
+ systemPrompt?: string | undefined;
21511
+ images?: {
21512
+ mediaType: string;
21513
+ data: string;
21514
+ }[] | undefined;
21515
+ todoId?: string | undefined;
21516
+ clientRequestId?: string | undefined;
21517
+ notify?: boolean | undefined;
21518
+ };
21519
+ };
21520
+ } | {
21521
+ output: {
21522
+ error: string;
21523
+ };
21524
+ outputFormat: "json";
21525
+ status: 404;
21526
+ input: {
21527
+ json: {
21528
+ workflow?: string | undefined;
21529
+ steps?: {
21530
+ id: string;
21531
+ name?: string | undefined;
21532
+ prompt?: string | undefined;
21533
+ skill?: string | undefined;
21534
+ model?: string | undefined;
21535
+ effort?: string | undefined;
21536
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21537
+ agentProfile?: string | undefined;
21538
+ allowedTools?: string[] | undefined;
21539
+ bashAllowlist?: string[] | undefined;
21540
+ command?: string | undefined;
21541
+ onFail?: {
21542
+ retry: string;
21543
+ max?: number | undefined;
21544
+ } | undefined;
21545
+ }[] | undefined;
21546
+ task: string;
21547
+ model?: string | undefined;
21548
+ effort?: string | undefined;
21549
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21550
+ agentProfile?: string | undefined;
21551
+ variants?: number | undefined;
21552
+ worktree?: boolean | undefined;
21553
+ autonomous?: boolean | undefined;
21554
+ generateFollowups?: boolean | undefined;
21555
+ systemPrompt?: string | undefined;
21556
+ images?: {
21557
+ mediaType: string;
21558
+ data: string;
21559
+ }[] | undefined;
21560
+ todoId?: string | undefined;
21561
+ clientRequestId?: string | undefined;
21562
+ notify?: boolean | undefined;
21563
+ };
21564
+ };
21565
+ } | {
21566
+ output: {
21567
+ error: string;
21568
+ };
21569
+ outputFormat: "json";
21570
+ status: 409;
21571
21571
  input: {
21572
21572
  json: {
21573
21573
  workflow?: string | undefined;
@@ -21612,6 +21612,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21612
21612
  } & {
21613
21613
  "/runs/:id": {
21614
21614
  $get: {
21615
+ output: {
21616
+ error: string;
21617
+ };
21618
+ outputFormat: "json";
21619
+ status: 404;
21620
+ input: {
21621
+ param: {
21622
+ id: string;
21623
+ };
21624
+ };
21625
+ } | {
21615
21626
  output: {
21616
21627
  id: string;
21617
21628
  title: string;
@@ -22062,17 +22073,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22062
22073
  id: string;
22063
22074
  };
22064
22075
  };
22065
- } | {
22066
- output: {
22067
- error: string;
22068
- };
22069
- outputFormat: "json";
22070
- status: 404;
22071
- input: {
22072
- param: {
22073
- id: string;
22074
- };
22075
- };
22076
22076
  };
22077
22077
  };
22078
22078
  } & {
@@ -22200,6 +22200,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22200
22200
  } & {
22201
22201
  "/runs/:id": {
22202
22202
  $patch: {
22203
+ output: {
22204
+ error: string;
22205
+ };
22206
+ outputFormat: "json";
22207
+ status: 400;
22208
+ input: {
22209
+ json: {
22210
+ title?: string | undefined;
22211
+ task?: string | undefined;
22212
+ };
22213
+ } & {
22214
+ param: {
22215
+ id: string;
22216
+ };
22217
+ };
22218
+ } | {
22219
+ output: {
22220
+ error: string;
22221
+ };
22222
+ outputFormat: "json";
22223
+ status: 404;
22224
+ input: {
22225
+ json: {
22226
+ title?: string | undefined;
22227
+ task?: string | undefined;
22228
+ };
22229
+ } & {
22230
+ param: {
22231
+ id: string;
22232
+ };
22233
+ };
22234
+ } | {
22235
+ output: {
22236
+ error: string;
22237
+ };
22238
+ outputFormat: "json";
22239
+ status: 409;
22240
+ input: {
22241
+ json: {
22242
+ title?: string | undefined;
22243
+ task?: string | undefined;
22244
+ };
22245
+ } & {
22246
+ param: {
22247
+ id: string;
22248
+ };
22249
+ };
22250
+ } | {
22203
22251
  output: {
22204
22252
  id: string;
22205
22253
  title: string;
@@ -22648,54 +22696,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22648
22696
  id: string;
22649
22697
  };
22650
22698
  };
22651
- } | {
22652
- output: {
22653
- error: string;
22654
- };
22655
- outputFormat: "json";
22656
- status: 404;
22657
- input: {
22658
- json: {
22659
- title?: string | undefined;
22660
- task?: string | undefined;
22661
- };
22662
- } & {
22663
- param: {
22664
- id: string;
22665
- };
22666
- };
22667
- } | {
22668
- output: {
22669
- error: string;
22670
- };
22671
- outputFormat: "json";
22672
- status: 400;
22673
- input: {
22674
- json: {
22675
- title?: string | undefined;
22676
- task?: string | undefined;
22677
- };
22678
- } & {
22679
- param: {
22680
- id: string;
22681
- };
22682
- };
22683
- } | {
22684
- output: {
22685
- error: string;
22686
- };
22687
- outputFormat: "json";
22688
- status: 409;
22689
- input: {
22690
- json: {
22691
- title?: string | undefined;
22692
- task?: string | undefined;
22693
- };
22694
- } & {
22695
- param: {
22696
- id: string;
22697
- };
22698
- };
22699
22699
  };
22700
22700
  };
22701
22701
  } & {
@@ -22731,7 +22731,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22731
22731
  error: string;
22732
22732
  };
22733
22733
  outputFormat: "json";
22734
- status: 404;
22734
+ status: 400;
22735
22735
  input: {
22736
22736
  json: {
22737
22737
  text?: string | undefined;
@@ -22750,7 +22750,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22750
22750
  error: string;
22751
22751
  };
22752
22752
  outputFormat: "json";
22753
- status: 409;
22753
+ status: 404;
22754
22754
  input: {
22755
22755
  json: {
22756
22756
  text?: string | undefined;
@@ -22766,10 +22766,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22766
22766
  };
22767
22767
  } | {
22768
22768
  output: {
22769
- delivered: true;
22769
+ error: string;
22770
22770
  };
22771
22771
  outputFormat: "json";
22772
- status: import("hono/utils/http-status").ContentfulStatusCode;
22772
+ status: 409;
22773
22773
  input: {
22774
22774
  json: {
22775
22775
  text?: string | undefined;
@@ -22785,10 +22785,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22785
22785
  };
22786
22786
  } | {
22787
22787
  output: {
22788
- error: string;
22788
+ delivered: true;
22789
22789
  };
22790
22790
  outputFormat: "json";
22791
- status: 400;
22791
+ status: import("hono/utils/http-status").ContentfulStatusCode;
22792
22792
  input: {
22793
22793
  json: {
22794
22794
  text?: string | undefined;
@@ -22855,7 +22855,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22855
22855
  error: string;
22856
22856
  };
22857
22857
  outputFormat: "json";
22858
- status: 404;
22858
+ status: 400;
22859
22859
  input: {
22860
22860
  json: {
22861
22861
  text?: string | undefined;
@@ -22876,7 +22876,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22876
22876
  error: string;
22877
22877
  };
22878
22878
  outputFormat: "json";
22879
- status: 400;
22879
+ status: 404;
22880
22880
  input: {
22881
22881
  json: {
22882
22882
  text?: string | undefined;
@@ -23028,7 +23028,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23028
23028
  error: string;
23029
23029
  };
23030
23030
  outputFormat: "json";
23031
- status: 404;
23031
+ status: 400;
23032
23032
  input: {
23033
23033
  json: {
23034
23034
  text?: string | undefined;
@@ -23051,7 +23051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23051
23051
  error: string;
23052
23052
  };
23053
23053
  outputFormat: "json";
23054
- status: 400;
23054
+ status: 404;
23055
23055
  input: {
23056
23056
  json: {
23057
23057
  text?: string | undefined;
@@ -23162,7 +23162,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23162
23162
  error: string;
23163
23163
  };
23164
23164
  outputFormat: "json";
23165
- status: 404;
23165
+ status: 400;
23166
23166
  input: {
23167
23167
  json: {
23168
23168
  target: string;
@@ -23178,7 +23178,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23178
23178
  error: string;
23179
23179
  };
23180
23180
  outputFormat: "json";
23181
- status: 409;
23181
+ status: 404;
23182
23182
  input: {
23183
23183
  json: {
23184
23184
  target: string;
@@ -23194,7 +23194,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23194
23194
  error: string;
23195
23195
  };
23196
23196
  outputFormat: "json";
23197
- status: 400;
23197
+ status: 409;
23198
23198
  input: {
23199
23199
  json: {
23200
23200
  target: string;
@@ -23227,20 +23227,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23227
23227
  } & {
23228
23228
  "/runs/:id/handoff": {
23229
23229
  $get: {
23230
- output: {
23231
- error: string;
23232
- };
23233
- outputFormat: "json";
23234
- status: 404;
23230
+ output: string;
23231
+ outputFormat: "text";
23232
+ status: 200;
23235
23233
  input: {
23236
23234
  param: {
23237
23235
  id: string;
23238
23236
  };
23239
23237
  };
23240
23238
  } | {
23241
- output: string;
23242
- outputFormat: "text";
23243
- status: 200;
23239
+ output: {
23240
+ error: string;
23241
+ };
23242
+ outputFormat: "json";
23243
+ status: 404;
23244
23244
  input: {
23245
23245
  param: {
23246
23246
  id: string;
@@ -23251,9 +23251,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23251
23251
  } & {
23252
23252
  "/runs/:id/images/:file": {
23253
23253
  $get: {
23254
- output: {};
23255
- outputFormat: string;
23256
- status: import("hono/utils/http-status").StatusCode;
23254
+ output: {
23255
+ error: string;
23256
+ code?: "invalid_input" | undefined;
23257
+ };
23258
+ outputFormat: "json";
23259
+ status: 400;
23257
23260
  input: {
23258
23261
  param: {
23259
23262
  id: string;
@@ -23261,12 +23264,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23261
23264
  };
23262
23265
  };
23263
23266
  } | {
23264
- output: {
23265
- error: string;
23266
- code?: "invalid_input" | undefined;
23267
- };
23268
- outputFormat: "json";
23269
- status: 400;
23267
+ output: {};
23268
+ outputFormat: string;
23269
+ status: import("hono/utils/http-status").StatusCode;
23270
23270
  input: {
23271
23271
  param: {
23272
23272
  id: string;
@@ -23620,6 +23620,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23620
23620
  artifactId: string;
23621
23621
  };
23622
23622
  };
23623
+ } | {
23624
+ output: {
23625
+ error: string;
23626
+ };
23627
+ outputFormat: "json";
23628
+ status: 404;
23629
+ input: {
23630
+ param: {
23631
+ id: string;
23632
+ artifactId: string;
23633
+ };
23634
+ };
23623
23635
  } | {
23624
23636
  output: {
23625
23637
  type: "file";
@@ -23647,18 +23659,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23647
23659
  artifactId: string;
23648
23660
  };
23649
23661
  };
23650
- } | {
23651
- output: {
23652
- error: string;
23653
- };
23654
- outputFormat: "json";
23655
- status: 404;
23656
- input: {
23657
- param: {
23658
- id: string;
23659
- artifactId: string;
23660
- };
23661
- };
23662
23662
  };
23663
23663
  };
23664
23664
  } & {
@@ -23955,10 +23955,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23955
23955
  "/runs/:id/pr": {
23956
23956
  $post: {
23957
23957
  output: {
23958
- error: string;
23958
+ url: string;
23959
+ dryRun: boolean;
23959
23960
  };
23960
23961
  outputFormat: "json";
23961
- status: 404;
23962
+ status: 201;
23962
23963
  input: {
23963
23964
  param: {
23964
23965
  id: string;
@@ -23969,7 +23970,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23969
23970
  error: string;
23970
23971
  };
23971
23972
  outputFormat: "json";
23972
- status: 409;
23973
+ status: 400;
23973
23974
  input: {
23974
23975
  param: {
23975
23976
  id: string;
@@ -23980,7 +23981,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23980
23981
  error: string;
23981
23982
  };
23982
23983
  outputFormat: "json";
23983
- status: 400;
23984
+ status: 404;
23984
23985
  input: {
23985
23986
  param: {
23986
23987
  id: string;
@@ -23988,11 +23989,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23988
23989
  };
23989
23990
  } | {
23990
23991
  output: {
23991
- url: string;
23992
- dryRun: boolean;
23992
+ error: string;
23993
23993
  };
23994
23994
  outputFormat: "json";
23995
- status: 201;
23995
+ status: 409;
23996
23996
  input: {
23997
23997
  param: {
23998
23998
  id: string;
@@ -24044,7 +24044,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24044
24044
  error: string;
24045
24045
  };
24046
24046
  outputFormat: "json";
24047
- status: 409;
24047
+ status: 404;
24048
24048
  input: {
24049
24049
  param: {
24050
24050
  id: string;
@@ -24055,7 +24055,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24055
24055
  error: string;
24056
24056
  };
24057
24057
  outputFormat: "json";
24058
- status: 404;
24058
+ status: 409;
24059
24059
  input: {
24060
24060
  param: {
24061
24061
  id: string;