@wjarka/cezarion 0.14.9-dev.936 → 0.14.9-dev.938

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -331,17 +331,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
331
331
  };
332
332
  } | {
333
333
  output: {
334
- path: string;
335
- parent: string | null;
336
- dirs: {
337
- name: string;
338
- path: string;
339
- isRepo: boolean;
340
- }[];
341
- truncated: boolean;
334
+ error: string;
342
335
  };
343
336
  outputFormat: "json";
344
- status: import("hono/utils/http-status").ContentfulStatusCode;
337
+ status: 400 | 404;
345
338
  input: {
346
339
  query: {
347
340
  path?: string | undefined;
@@ -350,10 +343,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
350
343
  };
351
344
  } | {
352
345
  output: {
353
- error: string;
346
+ path: string;
347
+ parent: string | null;
348
+ dirs: {
349
+ name: string;
350
+ path: string;
351
+ isRepo: boolean;
352
+ }[];
353
+ truncated: boolean;
354
354
  };
355
355
  outputFormat: "json";
356
- status: 400 | 404;
356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
357
357
  input: {
358
358
  query: {
359
359
  path?: string | undefined;
@@ -365,17 +365,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
365
365
  }, "/"> | import("hono/types").MergeSchemaPath<{
366
366
  "/automation-checks/:checkId": {
367
367
  $get: {
368
- output: {
369
- error: string;
370
- };
371
- outputFormat: "json";
372
- status: 404;
373
- input: {
374
- param: {
375
- checkId: string;
376
- };
377
- };
378
- } | {
379
368
  output: {
380
369
  id: string;
381
370
  automationId: string;
@@ -394,6 +383,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
394
383
  checkId: string;
395
384
  };
396
385
  };
386
+ } | {
387
+ output: {
388
+ error: string;
389
+ };
390
+ outputFormat: "json";
391
+ status: 404;
392
+ input: {
393
+ param: {
394
+ checkId: string;
395
+ };
396
+ };
397
397
  };
398
398
  };
399
399
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -545,6 +545,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
545
545
  projectId: string | string[];
546
546
  };
547
547
  };
548
+ } | {
549
+ output: {
550
+ error: string;
551
+ };
552
+ outputFormat: "json";
553
+ status: 404 | 409;
554
+ input: {
555
+ query: {
556
+ projectId: string | string[];
557
+ };
558
+ };
548
559
  } | {
549
560
  output: {
550
561
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -571,17 +582,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
571
582
  projectId: string | string[];
572
583
  };
573
584
  };
574
- } | {
575
- output: {
576
- error: string;
577
- };
578
- outputFormat: "json";
579
- status: 404 | 409;
580
- input: {
581
- query: {
582
- projectId: string | string[];
583
- };
584
- };
585
585
  };
586
586
  };
587
587
  } & {
@@ -720,10 +720,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
720
720
  };
721
721
  } | {
722
722
  output: {
723
- error: string;
723
+ providers: {
724
+ provider: ProviderId;
725
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
726
+ enabled?: boolean;
727
+ hint?: string;
728
+ authFailureId?: string;
729
+ profileId?: string;
730
+ }[];
724
731
  };
725
732
  outputFormat: "json";
726
- status: 500;
733
+ status: import("hono/utils/http-status").ContentfulStatusCode;
727
734
  input: {
728
735
  param: {
729
736
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -735,17 +742,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
735
742
  };
736
743
  } | {
737
744
  output: {
738
- providers: {
739
- provider: ProviderId;
740
- status: import("../core/provider-auth.ts").ProviderConnectionState;
741
- enabled?: boolean;
742
- hint?: string;
743
- authFailureId?: string;
744
- profileId?: string;
745
- }[];
745
+ error: string;
746
746
  };
747
747
  outputFormat: "json";
748
- status: import("hono/utils/http-status").ContentfulStatusCode;
748
+ status: 500;
749
749
  input: {
750
750
  param: {
751
751
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -777,10 +777,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
777
777
  };
778
778
  } | {
779
779
  output: {
780
- error: string;
780
+ providers: {
781
+ provider: ProviderId;
782
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
783
+ enabled?: boolean;
784
+ hint?: string;
785
+ authFailureId?: string;
786
+ profileId?: string;
787
+ }[];
781
788
  };
782
789
  outputFormat: "json";
783
- status: 409;
790
+ status: import("hono/utils/http-status").ContentfulStatusCode;
784
791
  input: {
785
792
  param: {
786
793
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -792,17 +799,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
792
799
  };
793
800
  } | {
794
801
  output: {
795
- providers: {
796
- provider: ProviderId;
797
- status: import("../core/provider-auth.ts").ProviderConnectionState;
798
- enabled?: boolean;
799
- hint?: string;
800
- authFailureId?: string;
801
- profileId?: string;
802
- }[];
802
+ error: string;
803
803
  };
804
804
  outputFormat: "json";
805
- status: import("hono/utils/http-status").ContentfulStatusCode;
805
+ status: 409;
806
806
  input: {
807
807
  param: {
808
808
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -821,7 +821,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
821
821
  error: string;
822
822
  };
823
823
  outputFormat: "json";
824
- status: 400;
824
+ status: 409;
825
825
  input: {
826
826
  json: {
827
827
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -833,7 +833,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
833
833
  error: string;
834
834
  };
835
835
  outputFormat: "json";
836
- status: 409;
836
+ status: 400;
837
837
  input: {
838
838
  json: {
839
839
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -921,10 +921,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
921
921
  "/workspace/config": {
922
922
  $put: {
923
923
  output: {
924
- error: string;
924
+ browseRoot: string;
925
+ projectsDir: string;
926
+ skillsAutoUpdate: boolean | null;
927
+ effectiveSkillsAutoUpdate: boolean;
928
+ composerDefaults: {
929
+ autonomous: boolean | null;
930
+ worktree: boolean | null;
931
+ inheritedAutonomous: boolean | 'source-dependent';
932
+ inheritedWorktree: boolean;
933
+ };
934
+ resources: {
935
+ maxParallel: number;
936
+ maxMonitoringSessions: number;
937
+ monitoringWakeIntervalMinutes: number | null;
938
+ autoResumeOnUsageLimit: boolean;
939
+ memoryLimitMb: number | null;
940
+ worktreeRetentionDefault: number;
941
+ };
942
+ agentDefaults: {
943
+ runner?: ProviderId;
944
+ models?: {
945
+ claude?: string;
946
+ codex?: string;
947
+ opencode?: string;
948
+ } | undefined;
949
+ };
925
950
  };
926
951
  outputFormat: "json";
927
- status: 400;
952
+ status: import("hono/utils/http-status").ContentfulStatusCode;
928
953
  input: {
929
954
  json: {
930
955
  browseRoot?: string | undefined;
@@ -959,7 +984,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
959
984
  error: string;
960
985
  };
961
986
  outputFormat: "json";
962
- status: 500;
987
+ status: 400;
963
988
  input: {
964
989
  json: {
965
990
  browseRoot?: string | undefined;
@@ -991,35 +1016,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
991
1016
  };
992
1017
  } | {
993
1018
  output: {
994
- browseRoot: string;
995
- projectsDir: string;
996
- skillsAutoUpdate: boolean | null;
997
- effectiveSkillsAutoUpdate: boolean;
998
- composerDefaults: {
999
- autonomous: boolean | null;
1000
- worktree: boolean | null;
1001
- inheritedAutonomous: boolean | 'source-dependent';
1002
- inheritedWorktree: boolean;
1003
- };
1004
- resources: {
1005
- maxParallel: number;
1006
- maxMonitoringSessions: number;
1007
- monitoringWakeIntervalMinutes: number | null;
1008
- autoResumeOnUsageLimit: boolean;
1009
- memoryLimitMb: number | null;
1010
- worktreeRetentionDefault: number;
1011
- };
1012
- agentDefaults: {
1013
- runner?: ProviderId;
1014
- models?: {
1015
- claude?: string;
1016
- codex?: string;
1017
- opencode?: string;
1018
- } | undefined;
1019
- };
1019
+ error: string;
1020
1020
  };
1021
1021
  outputFormat: "json";
1022
- status: import("hono/utils/http-status").ContentfulStatusCode;
1022
+ status: 500;
1023
1023
  input: {
1024
1024
  json: {
1025
1025
  browseRoot?: string | undefined;
@@ -1101,10 +1101,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1101
1101
  "/workspace/ui-state": {
1102
1102
  $put: {
1103
1103
  output: {
1104
- error: string;
1104
+ [x: string]: import("hono/utils/types").JSONValue;
1105
+ sidebar?: {
1106
+ [x: string]: import("hono/utils/types").JSONValue;
1107
+ collapsed?: {
1108
+ [x: string]: boolean;
1109
+ } | undefined;
1110
+ } | undefined;
1111
+ dismissedProviderAuthFailures?: {
1112
+ claude?: string | undefined;
1113
+ codex?: string | undefined;
1114
+ opencode?: string | undefined;
1115
+ pi?: string | undefined;
1116
+ cursor?: string | undefined;
1117
+ } | undefined;
1118
+ appearance?: {
1119
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1120
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1121
+ width?: "narrow" | "wide" | undefined;
1122
+ } | undefined;
1123
+ notifications?: {
1124
+ [x: string]: import("hono/utils/types").JSONValue;
1125
+ enabled?: boolean | undefined;
1126
+ } | undefined;
1127
+ taskTable?: {
1128
+ [x: string]: import("hono/utils/types").JSONValue;
1129
+ expandedColumns?: {
1130
+ [x: string]: boolean;
1131
+ } | undefined;
1132
+ } | undefined;
1133
+ lastLocation?: {
1134
+ projectId: string;
1135
+ pathname: string;
1136
+ search?: string | undefined;
1137
+ hash?: string | undefined;
1138
+ } | undefined;
1139
+ importedSkills?: string[] | undefined;
1105
1140
  };
1106
1141
  outputFormat: "json";
1107
- status: 500;
1142
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1108
1143
  input: {
1109
1144
  json: {
1110
1145
  [x: string]: unknown;
@@ -1143,45 +1178,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1143
1178
  };
1144
1179
  } | {
1145
1180
  output: {
1146
- [x: string]: import("hono/utils/types").JSONValue;
1147
- sidebar?: {
1148
- [x: string]: import("hono/utils/types").JSONValue;
1149
- collapsed?: {
1150
- [x: string]: boolean;
1151
- } | undefined;
1152
- } | undefined;
1153
- dismissedProviderAuthFailures?: {
1154
- claude?: string | undefined;
1155
- codex?: string | undefined;
1156
- opencode?: string | undefined;
1157
- pi?: string | undefined;
1158
- cursor?: string | undefined;
1159
- } | undefined;
1160
- appearance?: {
1161
- accent?: "cezarion" | "lime" | "violet" | undefined;
1162
- density?: "comfortable" | "compact" | "ultra" | undefined;
1163
- width?: "narrow" | "wide" | undefined;
1164
- } | undefined;
1165
- notifications?: {
1166
- [x: string]: import("hono/utils/types").JSONValue;
1167
- enabled?: boolean | undefined;
1168
- } | undefined;
1169
- taskTable?: {
1170
- [x: string]: import("hono/utils/types").JSONValue;
1171
- expandedColumns?: {
1172
- [x: string]: boolean;
1173
- } | undefined;
1174
- } | undefined;
1175
- lastLocation?: {
1176
- projectId: string;
1177
- pathname: string;
1178
- search?: string | undefined;
1179
- hash?: string | undefined;
1180
- } | undefined;
1181
- importedSkills?: string[] | undefined;
1181
+ error: string;
1182
1182
  };
1183
1183
  outputFormat: "json";
1184
- status: import("hono/utils/http-status").ContentfulStatusCode;
1184
+ status: 500;
1185
1185
  input: {
1186
1186
  json: {
1187
1187
  [x: string]: unknown;
@@ -1324,7 +1324,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1324
1324
  error: string;
1325
1325
  };
1326
1326
  outputFormat: "json";
1327
- status: 404;
1327
+ status: 409;
1328
1328
  input: {
1329
1329
  param: {
1330
1330
  projectId: string;
@@ -1335,7 +1335,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1335
1335
  error: string;
1336
1336
  };
1337
1337
  outputFormat: "json";
1338
- status: 409;
1338
+ status: 404;
1339
1339
  input: {
1340
1340
  param: {
1341
1341
  projectId: string;
@@ -1373,7 +1373,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1373
1373
  error: string;
1374
1374
  };
1375
1375
  outputFormat: "json";
1376
- status: 404;
1376
+ status: 409;
1377
1377
  input: {
1378
1378
  json: {
1379
1379
  maxParallel?: number | null | undefined;
@@ -1393,7 +1393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1393
1393
  error: string;
1394
1394
  };
1395
1395
  outputFormat: "json";
1396
- status: 409;
1396
+ status: 404;
1397
1397
  input: {
1398
1398
  json: {
1399
1399
  maxParallel?: number | null | undefined;
@@ -1475,7 +1475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1475
1475
  error: string;
1476
1476
  };
1477
1477
  outputFormat: "json";
1478
- status: 400;
1478
+ status: 409;
1479
1479
  input: {
1480
1480
  param: {
1481
1481
  projectId: string;
@@ -1497,7 +1497,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1497
1497
  error: string;
1498
1498
  };
1499
1499
  outputFormat: "json";
1500
- status: 409;
1500
+ status: 400;
1501
1501
  input: {
1502
1502
  param: {
1503
1503
  projectId: string;
@@ -1643,6 +1643,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1643
1643
  } & {
1644
1644
  "/workspace/agent-profiles": {
1645
1645
  $post: {
1646
+ output: {
1647
+ error: string;
1648
+ };
1649
+ outputFormat: "json";
1650
+ status: 409;
1651
+ input: {
1652
+ json: {
1653
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1654
+ label?: string | undefined;
1655
+ configDir: string;
1656
+ };
1657
+ };
1658
+ } | {
1659
+ output: {
1660
+ error: string;
1661
+ };
1662
+ outputFormat: "json";
1663
+ status: 400;
1664
+ input: {
1665
+ json: {
1666
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1667
+ label?: string | undefined;
1668
+ configDir: string;
1669
+ };
1670
+ };
1671
+ } | {
1672
+ output: {
1673
+ error: string;
1674
+ };
1675
+ outputFormat: "json";
1676
+ status: 500;
1677
+ input: {
1678
+ json: {
1679
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1680
+ label?: string | undefined;
1681
+ configDir: string;
1682
+ };
1683
+ };
1684
+ } | {
1646
1685
  output: {
1647
1686
  profile: {
1648
1687
  exists: boolean;
@@ -1693,45 +1732,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1693
1732
  configDir: string;
1694
1733
  };
1695
1734
  };
1696
- } | {
1697
- output: {
1698
- error: string;
1699
- };
1700
- outputFormat: "json";
1701
- status: 400;
1702
- input: {
1703
- json: {
1704
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1705
- label?: string | undefined;
1706
- configDir: string;
1707
- };
1708
- };
1709
- } | {
1710
- output: {
1711
- error: string;
1712
- };
1713
- outputFormat: "json";
1714
- status: 409;
1715
- input: {
1716
- json: {
1717
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1718
- label?: string | undefined;
1719
- configDir: string;
1720
- };
1721
- };
1722
- } | {
1723
- output: {
1724
- error: string;
1725
- };
1726
- outputFormat: "json";
1727
- status: 500;
1728
- input: {
1729
- json: {
1730
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1731
- label?: string | undefined;
1732
- configDir: string;
1733
- };
1734
- };
1735
1735
  };
1736
1736
  };
1737
1737
  } & {
@@ -1758,7 +1758,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1758
1758
  error: string;
1759
1759
  };
1760
1760
  outputFormat: "json";
1761
- status: 400;
1761
+ status: 409;
1762
1762
  input: {
1763
1763
  param: {
1764
1764
  id: string;
@@ -1774,7 +1774,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1774
1774
  error: string;
1775
1775
  };
1776
1776
  outputFormat: "json";
1777
- status: 404;
1777
+ status: 400;
1778
1778
  input: {
1779
1779
  param: {
1780
1780
  id: string;
@@ -1790,7 +1790,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1790
1790
  error: string;
1791
1791
  };
1792
1792
  outputFormat: "json";
1793
- status: 409;
1793
+ status: 404;
1794
1794
  input: {
1795
1795
  param: {
1796
1796
  id: string;
@@ -1896,7 +1896,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1896
1896
  error: string;
1897
1897
  };
1898
1898
  outputFormat: "json";
1899
- status: 404;
1899
+ status: 409;
1900
1900
  input: {
1901
1901
  param: {
1902
1902
  id: string;
@@ -1911,7 +1911,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1911
1911
  error: string;
1912
1912
  };
1913
1913
  outputFormat: "json";
1914
- status: 409;
1914
+ status: 404;
1915
1915
  input: {
1916
1916
  param: {
1917
1917
  id: string;
@@ -1964,7 +1964,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1964
1964
  error: string;
1965
1965
  };
1966
1966
  outputFormat: "json";
1967
- status: 404;
1967
+ status: 409;
1968
1968
  input: {
1969
1969
  param: {
1970
1970
  id: string;
@@ -1975,7 +1975,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1975
1975
  error: string;
1976
1976
  };
1977
1977
  outputFormat: "json";
1978
- status: 409;
1978
+ status: 404;
1979
1979
  input: {
1980
1980
  param: {
1981
1981
  id: string;
@@ -2023,7 +2023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2023
2023
  error: string;
2024
2024
  };
2025
2025
  outputFormat: "json";
2026
- status: 400;
2026
+ status: 409;
2027
2027
  input: {
2028
2028
  param: {
2029
2029
  id: string;
@@ -2055,7 +2055,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2055
2055
  error: string;
2056
2056
  };
2057
2057
  outputFormat: "json";
2058
- status: 409;
2058
+ status: 400;
2059
2059
  input: {
2060
2060
  param: {
2061
2061
  id: string;
@@ -2092,7 +2092,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2092
2092
  error: string;
2093
2093
  };
2094
2094
  outputFormat: "json";
2095
- status: 400;
2095
+ status: 409;
2096
2096
  input: {
2097
2097
  json: {
2098
2098
  projectId: string | null;
@@ -2118,7 +2118,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2118
2118
  error: string;
2119
2119
  };
2120
2120
  outputFormat: "json";
2121
- status: 409;
2121
+ status: 400;
2122
2122
  input: {
2123
2123
  json: {
2124
2124
  projectId: string | null;
@@ -2190,7 +2190,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2190
2190
  error: string;
2191
2191
  };
2192
2192
  outputFormat: "json";
2193
- status: 404;
2193
+ status: 409;
2194
2194
  input: {
2195
2195
  param: {
2196
2196
  id: string;
@@ -2201,7 +2201,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2201
2201
  error: string;
2202
2202
  };
2203
2203
  outputFormat: "json";
2204
- status: 409;
2204
+ status: 500;
2205
2205
  input: {
2206
2206
  param: {
2207
2207
  id: string;
@@ -2212,7 +2212,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2212
2212
  error: string;
2213
2213
  };
2214
2214
  outputFormat: "json";
2215
- status: 500;
2215
+ status: 404;
2216
2216
  input: {
2217
2217
  param: {
2218
2218
  id: string;
@@ -2978,7 +2978,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2978
2978
  error: string;
2979
2979
  };
2980
2980
  outputFormat: "json";
2981
- status: 400;
2981
+ status: 409;
2982
2982
  input: {
2983
2983
  json: {
2984
2984
  target: string;
@@ -2989,7 +2989,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2989
2989
  error: string;
2990
2990
  };
2991
2991
  outputFormat: "json";
2992
- status: 409;
2992
+ status: 400;
2993
2993
  input: {
2994
2994
  json: {
2995
2995
  target: string;
@@ -3048,12 +3048,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3048
3048
  }, "/"> | import("hono/types").MergeSchemaPath<{
3049
3049
  "/runs/:id/events": {
3050
3050
  $get: {
3051
- output: {
3052
- error: string;
3053
- code?: "invalid_input" | undefined;
3054
- };
3055
- outputFormat: "json";
3056
- status: 400;
3051
+ output: {};
3052
+ outputFormat: string;
3053
+ status: import("hono/utils/http-status").StatusCode;
3057
3054
  input: {
3058
3055
  param: {
3059
3056
  id: string;
@@ -3065,9 +3062,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3065
3062
  };
3066
3063
  };
3067
3064
  } | {
3068
- output: {};
3069
- outputFormat: string;
3070
- status: import("hono/utils/http-status").StatusCode;
3065
+ output: {
3066
+ error: string;
3067
+ code?: "invalid_input" | undefined;
3068
+ };
3069
+ outputFormat: "json";
3070
+ status: 400;
3071
3071
  input: {
3072
3072
  param: {
3073
3073
  id: string;
@@ -3119,10 +3119,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3119
3119
  "/config": {
3120
3120
  $put: {
3121
3121
  output: {
3122
- error: string;
3122
+ baseBranch: string | null;
3123
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3124
+ systemPrompt: string | null;
3125
+ defaultModels: {
3126
+ claude?: string | undefined;
3127
+ codex?: string | undefined;
3128
+ cursor?: string | undefined;
3129
+ opencode?: string | undefined;
3130
+ pi?: string | undefined;
3131
+ };
3132
+ modelsLocked: boolean;
3133
+ maxParallel: number;
3134
+ memoryLimitMb: number | null;
3135
+ worktreeRetention: number;
3136
+ liveTitleUpdates: boolean | null;
3137
+ reviewGate: boolean | null;
3123
3138
  };
3124
3139
  outputFormat: "json";
3125
- status: 409;
3140
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3126
3141
  input: {
3127
3142
  json: {
3128
3143
  baseBranch?: string | null | undefined;
@@ -3147,7 +3162,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3147
3162
  error: string;
3148
3163
  };
3149
3164
  outputFormat: "json";
3150
- status: 500;
3165
+ status: 409;
3151
3166
  input: {
3152
3167
  json: {
3153
3168
  baseBranch?: string | null | undefined;
@@ -3169,25 +3184,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3169
3184
  };
3170
3185
  } | {
3171
3186
  output: {
3172
- baseBranch: string | null;
3173
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3174
- systemPrompt: string | null;
3175
- defaultModels: {
3176
- claude?: string | undefined;
3177
- codex?: string | undefined;
3178
- cursor?: string | undefined;
3179
- opencode?: string | undefined;
3180
- pi?: string | undefined;
3181
- };
3182
- modelsLocked: boolean;
3183
- maxParallel: number;
3184
- memoryLimitMb: number | null;
3185
- worktreeRetention: number;
3186
- liveTitleUpdates: boolean | null;
3187
- reviewGate: boolean | null;
3187
+ error: string;
3188
3188
  };
3189
3189
  outputFormat: "json";
3190
- status: import("hono/utils/http-status").ContentfulStatusCode;
3190
+ status: 500;
3191
3191
  input: {
3192
3192
  json: {
3193
3193
  baseBranch?: string | null | undefined;
@@ -3212,18 +3212,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3212
3212
  }, "/"> | import("hono/types").MergeSchemaPath<{
3213
3213
  "/skills": {
3214
3214
  $get: {
3215
- output: {
3216
- error: string;
3217
- code?: "invalid_input" | undefined;
3218
- };
3219
- outputFormat: "json";
3220
- status: 400;
3221
- input: {
3222
- query: {
3223
- wait?: string | undefined;
3224
- };
3225
- };
3226
- } | {
3227
3215
  output: {
3228
3216
  name: string;
3229
3217
  description?: string;
@@ -3246,11 +3234,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3246
3234
  wait?: string | undefined;
3247
3235
  };
3248
3236
  };
3249
- };
3250
- };
3251
- } & {
3252
- "/skills/importable": {
3253
- $get: {
3237
+ } | {
3254
3238
  output: {
3255
3239
  error: string;
3256
3240
  code?: "invalid_input" | undefined;
@@ -3262,7 +3246,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3262
3246
  wait?: string | undefined;
3263
3247
  };
3264
3248
  };
3265
- } | {
3249
+ };
3250
+ };
3251
+ } & {
3252
+ "/skills/importable": {
3253
+ $get: {
3266
3254
  output: {
3267
3255
  name: string;
3268
3256
  description?: string | undefined;
@@ -3274,6 +3262,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3274
3262
  wait?: string | undefined;
3275
3263
  };
3276
3264
  };
3265
+ } | {
3266
+ output: {
3267
+ error: string;
3268
+ code?: "invalid_input" | undefined;
3269
+ };
3270
+ outputFormat: "json";
3271
+ status: 400;
3272
+ input: {
3273
+ query: {
3274
+ wait?: string | undefined;
3275
+ };
3276
+ };
3277
3277
  };
3278
3278
  };
3279
3279
  } & {
@@ -3327,7 +3327,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3327
3327
  error: string;
3328
3328
  };
3329
3329
  outputFormat: "json";
3330
- status: 404;
3330
+ status: 409;
3331
3331
  input: {
3332
3332
  param: {
3333
3333
  id: string;
@@ -3335,10 +3335,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3335
3335
  };
3336
3336
  } | {
3337
3337
  output: {
3338
- error: string;
3338
+ removed: true;
3339
3339
  };
3340
3340
  outputFormat: "json";
3341
- status: 409;
3341
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3342
3342
  input: {
3343
3343
  param: {
3344
3344
  id: string;
@@ -3346,10 +3346,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3346
3346
  };
3347
3347
  } | {
3348
3348
  output: {
3349
- removed: true;
3349
+ error: string;
3350
3350
  };
3351
3351
  outputFormat: "json";
3352
- status: import("hono/utils/http-status").ContentfulStatusCode;
3352
+ status: 404;
3353
3353
  input: {
3354
3354
  param: {
3355
3355
  id: string;
@@ -3360,6 +3360,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3360
3360
  } & {
3361
3361
  "/todos/:id/start": {
3362
3362
  $post: {
3363
+ output: {
3364
+ error: string;
3365
+ };
3366
+ outputFormat: "json";
3367
+ status: 409;
3368
+ input: {
3369
+ json: {
3370
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3371
+ model?: string | undefined;
3372
+ effort?: string | undefined;
3373
+ prompt?: string | undefined;
3374
+ } | undefined;
3375
+ } & {
3376
+ param: {
3377
+ id: string;
3378
+ };
3379
+ };
3380
+ } | {
3363
3381
  output: {
3364
3382
  run: {
3365
3383
  id: string;
@@ -3817,7 +3835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3817
3835
  error: string;
3818
3836
  };
3819
3837
  outputFormat: "json";
3820
- status: 404;
3838
+ status: 409;
3821
3839
  input: {
3822
3840
  json: {
3823
3841
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3835,7 +3853,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3835
3853
  error: string;
3836
3854
  };
3837
3855
  outputFormat: "json";
3838
- status: 409;
3856
+ status: 404;
3839
3857
  input: {
3840
3858
  json: {
3841
3859
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3848,29 +3866,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3848
3866
  id: string;
3849
3867
  };
3850
3868
  };
3851
- } | {
3852
- output: {
3853
- error: string;
3854
- };
3855
- outputFormat: "json";
3856
- status: 409;
3857
- input: {
3858
- json: {
3859
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3860
- model?: string | undefined;
3861
- effort?: string | undefined;
3862
- prompt?: string | undefined;
3863
- } | undefined;
3864
- } & {
3865
- param: {
3866
- id: string;
3867
- };
3868
- };
3869
- };
3870
- };
3871
- }, "/"> | import("hono/types").MergeSchemaPath<{
3872
- "/agent-config": {
3873
- $get: {
3869
+ };
3870
+ };
3871
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3872
+ "/agent-config": {
3873
+ $get: {
3874
3874
  output: {
3875
3875
  editable: boolean;
3876
3876
  files: {
@@ -3956,10 +3956,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3956
3956
  "/agent-config/:id": {
3957
3957
  $put: {
3958
3958
  output: {
3959
- error: string;
3959
+ id: string;
3960
+ path: string;
3961
+ exists: boolean;
3962
+ content: string;
3963
+ version: string | null;
3960
3964
  };
3961
3965
  outputFormat: "json";
3962
- status: 404;
3966
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3963
3967
  input: {
3964
3968
  json: {
3965
3969
  content: string;
@@ -3972,14 +3976,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3972
3976
  };
3973
3977
  } | {
3974
3978
  output: {
3975
- id: string;
3976
- path: string;
3977
- exists: boolean;
3978
- content: string;
3979
- version: string | null;
3979
+ error: string;
3980
3980
  };
3981
3981
  outputFormat: "json";
3982
- status: import("hono/utils/http-status").ContentfulStatusCode;
3982
+ status: 404;
3983
3983
  input: {
3984
3984
  json: {
3985
3985
  content: string;
@@ -4049,11 +4049,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4049
4049
  "/workflows": {
4050
4050
  $post: {
4051
4051
  output: {
4052
- path: string;
4053
- name: string;
4052
+ error: string;
4054
4053
  };
4055
4054
  outputFormat: "json";
4056
- status: 201;
4055
+ status: 400;
4057
4056
  input: {
4058
4057
  json: {
4059
4058
  name: string;
@@ -4082,9 +4081,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4082
4081
  } | {
4083
4082
  output: {
4084
4083
  error: string;
4084
+ exists: true;
4085
4085
  };
4086
4086
  outputFormat: "json";
4087
- status: 400;
4087
+ status: 409;
4088
4088
  input: {
4089
4089
  json: {
4090
4090
  name: string;
@@ -4113,10 +4113,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4113
4113
  } | {
4114
4114
  output: {
4115
4115
  error: string;
4116
- exists: true;
4117
4116
  };
4118
4117
  outputFormat: "json";
4119
- status: 409;
4118
+ status: 500;
4120
4119
  input: {
4121
4120
  json: {
4122
4121
  name: string;
@@ -4144,10 +4143,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4144
4143
  };
4145
4144
  } | {
4146
4145
  output: {
4147
- error: string;
4146
+ path: string;
4147
+ name: string;
4148
4148
  };
4149
4149
  outputFormat: "json";
4150
- status: 500;
4150
+ status: 201;
4151
4151
  input: {
4152
4152
  json: {
4153
4153
  name: string;
@@ -4182,7 +4182,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4182
4182
  error: string;
4183
4183
  };
4184
4184
  outputFormat: "json";
4185
- status: 400;
4185
+ status: 404;
4186
4186
  input: {
4187
4187
  param: {
4188
4188
  name: string;
@@ -4193,7 +4193,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4193
4193
  error: string;
4194
4194
  };
4195
4195
  outputFormat: "json";
4196
- status: 404;
4196
+ status: 400;
4197
4197
  input: {
4198
4198
  param: {
4199
4199
  name: string;
@@ -4318,12 +4318,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4318
4318
  } & {
4319
4319
  "/repo/commit/:sha": {
4320
4320
  $get: {
4321
- output: {
4322
- error: string;
4323
- code?: "invalid_input" | undefined;
4324
- };
4325
- outputFormat: "json";
4326
- status: 400;
4321
+ output: string;
4322
+ outputFormat: "text";
4323
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4327
4324
  input: {
4328
4325
  query: {
4329
4326
  structured?: string | undefined;
@@ -4336,9 +4333,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4336
4333
  } | {
4337
4334
  output: {
4338
4335
  error: string;
4336
+ code?: "invalid_input" | undefined;
4339
4337
  };
4340
4338
  outputFormat: "json";
4341
- status: 409;
4339
+ status: 400;
4342
4340
  input: {
4343
4341
  query: {
4344
4342
  structured?: string | undefined;
@@ -4382,9 +4380,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4382
4380
  };
4383
4381
  };
4384
4382
  } | {
4385
- output: string;
4386
- outputFormat: "text";
4387
- status: import("hono/utils/http-status").ContentfulStatusCode;
4383
+ output: {
4384
+ error: string;
4385
+ };
4386
+ outputFormat: "json";
4387
+ status: 409;
4388
4388
  input: {
4389
4389
  query: {
4390
4390
  structured?: string | undefined;
@@ -4399,13 +4399,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4399
4399
  } & {
4400
4400
  "/repo/changes": {
4401
4401
  $get: {
4402
- output: {
4403
- error: string;
4404
- };
4405
- outputFormat: "json";
4406
- status: 409;
4407
- input: {};
4408
- } | {
4409
4402
  output: {
4410
4403
  files: {
4411
4404
  path: string;
@@ -4430,6 +4423,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4430
4423
  outputFormat: "json";
4431
4424
  status: import("hono/utils/http-status").ContentfulStatusCode;
4432
4425
  input: {};
4426
+ } | {
4427
+ output: {
4428
+ error: string;
4429
+ };
4430
+ outputFormat: "json";
4431
+ status: 409;
4432
+ input: {};
4433
4433
  };
4434
4434
  };
4435
4435
  } & {
@@ -4454,12 +4454,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4454
4454
  "/repo/pull": {
4455
4455
  $post: {
4456
4456
  output: {
4457
- branch: string;
4458
- pulled: true;
4459
- summary: string;
4457
+ error: string;
4460
4458
  };
4461
4459
  outputFormat: "json";
4462
- status: 200;
4460
+ status: 409;
4463
4461
  input: {
4464
4462
  json: {
4465
4463
  branch?: string | undefined;
@@ -4468,10 +4466,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4468
4466
  };
4469
4467
  } | {
4470
4468
  output: {
4471
- error: string;
4469
+ branch: string;
4470
+ pulled: true;
4471
+ summary: string;
4472
4472
  };
4473
4473
  outputFormat: "json";
4474
- status: 409;
4474
+ status: 200;
4475
4475
  input: {
4476
4476
  json: {
4477
4477
  branch?: string | undefined;
@@ -5189,28 +5189,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5189
5189
  "/automations": {
5190
5190
  $post: {
5191
5191
  output: {
5192
- automation: {
5193
- [x: string]: import("hono/utils/types").JSONValue;
5194
- id: string;
5195
- revision: number;
5192
+ error: string;
5193
+ };
5194
+ outputFormat: "json";
5195
+ status: 400;
5196
+ input: {
5197
+ json: {
5196
5198
  name: string;
5197
5199
  description?: string | undefined;
5198
- enabled: boolean;
5200
+ enabled?: boolean | undefined;
5199
5201
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5200
5202
  intervalSeconds: number;
5201
5203
  filters: {
5202
- [x: string]: import("hono/utils/types").JSONValue;
5204
+ [x: string]: unknown;
5203
5205
  authors?: string[] | undefined;
5204
5206
  assignees?: string[] | undefined;
5205
5207
  allLabels?: string[] | undefined;
5206
5208
  anyLabels?: string[] | undefined;
5207
5209
  excludeLabels?: string[] | undefined;
5208
5210
  changedLabels?: string[] | undefined;
5209
- lookbackDays: number;
5210
- maxRecords: number;
5211
+ lookbackDays?: number | undefined;
5212
+ maxRecords?: number | undefined;
5211
5213
  };
5212
5214
  task: {
5213
- [x: string]: import("hono/utils/types").JSONValue;
5215
+ [x: string]: unknown;
5214
5216
  prompt: string;
5215
5217
  workflow?: string | undefined;
5216
5218
  steps?: {
@@ -5227,7 +5229,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5227
5229
  command?: string | undefined;
5228
5230
  onFail?: {
5229
5231
  retry: string;
5230
- max: number;
5232
+ max?: number | undefined;
5231
5233
  } | undefined;
5232
5234
  }[] | undefined;
5233
5235
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5239,32 +5241,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5239
5241
  autonomous?: boolean | undefined;
5240
5242
  systemPrompt?: string | undefined;
5241
5243
  };
5242
- createdAt: string;
5243
- updatedAt: string;
5244
+ enable?: boolean | undefined;
5244
5245
  };
5245
5246
  };
5246
- outputFormat: "json";
5247
- status: 201;
5248
- input: {
5249
- json: {
5247
+ } | {
5248
+ output: {
5249
+ automation: {
5250
+ [x: string]: import("hono/utils/types").JSONValue;
5251
+ id: string;
5252
+ revision: number;
5250
5253
  name: string;
5251
5254
  description?: string | undefined;
5252
- enabled?: boolean | undefined;
5255
+ enabled: boolean;
5253
5256
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5254
5257
  intervalSeconds: number;
5255
5258
  filters: {
5256
- [x: string]: unknown;
5259
+ [x: string]: import("hono/utils/types").JSONValue;
5257
5260
  authors?: string[] | undefined;
5258
5261
  assignees?: string[] | undefined;
5259
5262
  allLabels?: string[] | undefined;
5260
5263
  anyLabels?: string[] | undefined;
5261
5264
  excludeLabels?: string[] | undefined;
5262
5265
  changedLabels?: string[] | undefined;
5263
- lookbackDays?: number | undefined;
5264
- maxRecords?: number | undefined;
5266
+ lookbackDays: number;
5267
+ maxRecords: number;
5265
5268
  };
5266
5269
  task: {
5267
- [x: string]: unknown;
5270
+ [x: string]: import("hono/utils/types").JSONValue;
5268
5271
  prompt: string;
5269
5272
  workflow?: string | undefined;
5270
5273
  steps?: {
@@ -5281,7 +5284,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5281
5284
  command?: string | undefined;
5282
5285
  onFail?: {
5283
5286
  retry: string;
5284
- max?: number | undefined;
5287
+ max: number;
5285
5288
  } | undefined;
5286
5289
  }[] | undefined;
5287
5290
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5293,15 +5296,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5293
5296
  autonomous?: boolean | undefined;
5294
5297
  systemPrompt?: string | undefined;
5295
5298
  };
5296
- enable?: boolean | undefined;
5299
+ createdAt: string;
5300
+ updatedAt: string;
5297
5301
  };
5298
5302
  };
5299
- } | {
5300
- output: {
5301
- error: string;
5302
- };
5303
5303
  outputFormat: "json";
5304
- status: 400;
5304
+ status: 201;
5305
5305
  input: {
5306
5306
  json: {
5307
5307
  name: string;
@@ -5905,10 +5905,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5905
5905
  "/automations/:id/check": {
5906
5906
  $post: {
5907
5907
  output: {
5908
- checkId: string;
5908
+ error: string;
5909
5909
  };
5910
5910
  outputFormat: "json";
5911
- status: 202;
5911
+ status: 404;
5912
5912
  input: {
5913
5913
  json: {
5914
5914
  mode: "execute" | "preview";
@@ -5920,10 +5920,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5920
5920
  };
5921
5921
  } | {
5922
5922
  output: {
5923
- error: string;
5923
+ checkId: string;
5924
5924
  };
5925
5925
  outputFormat: "json";
5926
- status: 404;
5926
+ status: 202;
5927
5927
  input: {
5928
5928
  json: {
5929
5929
  mode: "execute" | "preview";
@@ -5997,11 +5997,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5997
5997
  "/automation-log/:receiptId/retry": {
5998
5998
  $post: {
5999
5999
  output: {
6000
- receiptId: string;
6001
- runId: string;
6000
+ error: string;
6002
6001
  };
6003
6002
  outputFormat: "json";
6004
- status: 202;
6003
+ status: 404;
6005
6004
  input: {
6006
6005
  param: {
6007
6006
  receiptId: string;
@@ -6012,7 +6011,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6012
6011
  error: string;
6013
6012
  };
6014
6013
  outputFormat: "json";
6015
- status: 404;
6014
+ status: 409;
6016
6015
  input: {
6017
6016
  param: {
6018
6017
  receiptId: string;
@@ -6020,10 +6019,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6020
6019
  };
6021
6020
  } | {
6022
6021
  output: {
6023
- error: string;
6022
+ receiptId: string;
6023
+ runId: string;
6024
6024
  };
6025
6025
  outputFormat: "json";
6026
- status: 409;
6026
+ status: 202;
6027
6027
  input: {
6028
6028
  param: {
6029
6029
  receiptId: string;
@@ -6605,20 +6605,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6605
6605
  "/runs/:id/worker-destroy": {
6606
6606
  $post: {
6607
6607
  output: {
6608
- workerId: string;
6609
- state: "complete" | "incomplete";
6610
- deleted?: ({
6611
- kind: "worktree";
6612
- path: string;
6613
- } | {
6614
- kind: "branch";
6615
- ref: string;
6616
- })[] | undefined;
6617
- remaining: ("branch" | "process" | "worktree")[];
6618
- error?: string | undefined;
6608
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6609
+ readonly error: string;
6619
6610
  };
6620
6611
  outputFormat: "json";
6621
- status: 200;
6612
+ status: 400 | 401 | 403 | 409 | 503;
6622
6613
  input: {
6623
6614
  query: {
6624
6615
  [x: string]: string | string[];
@@ -6663,7 +6654,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6663
6654
  error?: string | undefined;
6664
6655
  };
6665
6656
  outputFormat: "json";
6666
- status: 409;
6657
+ status: 200;
6667
6658
  input: {
6668
6659
  query: {
6669
6660
  [x: string]: string | string[];
@@ -6677,11 +6668,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6677
6668
  };
6678
6669
  } | {
6679
6670
  output: {
6680
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6681
- readonly error: string;
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;
6682
6682
  };
6683
6683
  outputFormat: "json";
6684
- status: 400 | 401 | 403 | 409 | 503;
6684
+ status: 409;
6685
6685
  input: {
6686
6686
  query: {
6687
6687
  [x: string]: string | string[];
@@ -6720,21 +6720,6 @@ 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
- } | {
6738
6723
  output: {
6739
6724
  id: string;
6740
6725
  title: string;
@@ -7182,32 +7167,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7182
7167
  id: string;
7183
7168
  };
7184
7169
  };
7185
- };
7186
- };
7187
- } & {
7188
- "/runs/:id/pin": {
7189
- $post: {
7170
+ } | {
7190
7171
  output: {
7191
7172
  error: string;
7192
- code?: "invalid_input" | undefined;
7193
7173
  };
7194
7174
  outputFormat: "json";
7195
- status: 400;
7175
+ status: 404;
7196
7176
  input: {
7197
- param: {
7198
- id: string;
7177
+ json: {
7178
+ archived?: boolean | undefined;
7199
7179
  };
7200
7180
  } & {
7201
- json: {
7202
- pinned?: boolean | undefined;
7181
+ param: {
7182
+ id: string;
7203
7183
  };
7204
7184
  };
7205
- } | {
7185
+ };
7186
+ };
7187
+ } & {
7188
+ "/runs/:id/pin": {
7189
+ $post: {
7206
7190
  output: {
7207
7191
  error: string;
7192
+ code?: "invalid_input" | undefined;
7208
7193
  };
7209
7194
  outputFormat: "json";
7210
- status: 404;
7195
+ status: 400;
7211
7196
  input: {
7212
7197
  param: {
7213
7198
  id: string;
@@ -7665,30 +7650,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7665
7650
  pinned?: boolean | undefined;
7666
7651
  };
7667
7652
  };
7668
- };
7669
- };
7670
- } & {
7671
- "/runs/:id/notify": {
7672
- $post: {
7653
+ } | {
7673
7654
  output: {
7674
7655
  error: string;
7675
- code?: "invalid_input" | undefined;
7676
7656
  };
7677
7657
  outputFormat: "json";
7678
- status: 400;
7658
+ status: 404;
7679
7659
  input: {
7680
7660
  param: {
7681
7661
  id: string;
7682
7662
  };
7683
7663
  } & {
7684
7664
  json: {
7685
- notify: boolean;
7686
- message?: string | undefined;
7665
+ pinned?: boolean | undefined;
7687
7666
  };
7688
7667
  };
7689
- } | {
7668
+ };
7669
+ };
7670
+ } & {
7671
+ "/runs/:id/notify": {
7672
+ $post: {
7690
7673
  output: {
7691
7674
  error: string;
7675
+ code?: "invalid_input" | undefined;
7692
7676
  };
7693
7677
  outputFormat: "json";
7694
7678
  status: 400;
@@ -7702,22 +7686,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7702
7686
  message?: string | undefined;
7703
7687
  };
7704
7688
  };
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
- };
7721
7689
  } | {
7722
7690
  output: {
7723
7691
  id: string;
@@ -8167,11 +8135,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8167
8135
  message?: string | undefined;
8168
8136
  };
8169
8137
  };
8170
- };
8171
- };
8172
- } & {
8173
- "/runs/:id/auto-resume": {
8174
- $delete: {
8138
+ } | {
8175
8139
  output: {
8176
8140
  error: string;
8177
8141
  };
@@ -8181,23 +8145,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8181
8145
  param: {
8182
8146
  id: string;
8183
8147
  };
8148
+ } & {
8149
+ json: {
8150
+ notify: boolean;
8151
+ message?: string | undefined;
8152
+ };
8184
8153
  };
8185
8154
  } | {
8186
8155
  output: {
8187
- cancelled: true;
8156
+ error: string;
8188
8157
  };
8189
8158
  outputFormat: "json";
8190
- status: import("hono/utils/http-status").ContentfulStatusCode;
8159
+ status: 400;
8191
8160
  input: {
8192
8161
  param: {
8193
8162
  id: string;
8194
8163
  };
8164
+ } & {
8165
+ json: {
8166
+ notify: boolean;
8167
+ message?: string | undefined;
8168
+ };
8195
8169
  };
8196
8170
  };
8197
8171
  };
8198
8172
  } & {
8199
- "/runs/:id/read": {
8200
- $post: {
8173
+ "/runs/:id/auto-resume": {
8174
+ $delete: {
8201
8175
  output: {
8202
8176
  error: string;
8203
8177
  };
@@ -8209,6 +8183,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8209
8183
  };
8210
8184
  };
8211
8185
  } | {
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: {
8212
8201
  output: {
8213
8202
  id: string;
8214
8203
  title: string;
@@ -8652,11 +8641,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8652
8641
  id: string;
8653
8642
  };
8654
8643
  };
8655
- };
8656
- };
8657
- } & {
8658
- "/runs/:id/unread": {
8659
- $post: {
8644
+ } | {
8660
8645
  output: {
8661
8646
  error: string;
8662
8647
  };
@@ -8667,7 +8652,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8667
8652
  id: string;
8668
8653
  };
8669
8654
  };
8670
- } | {
8655
+ };
8656
+ };
8657
+ } & {
8658
+ "/runs/:id/unread": {
8659
+ $post: {
8671
8660
  output: {
8672
8661
  id: string;
8673
8662
  title: string;
@@ -9111,6 +9100,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9111
9100
  id: string;
9112
9101
  };
9113
9102
  };
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,6 +10071,141 @@ 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
+ };
10074
10209
  } | {
10075
10210
  output: {
10076
10211
  runs: {
@@ -10551,157 +10686,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10551
10686
  notify?: boolean | undefined;
10552
10687
  };
10553
10688
  };
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
- };
10648
- outputFormat: "json";
10649
- status: 409;
10650
- input: {
10651
- json: {
10652
- workflow?: string | undefined;
10653
- steps?: {
10654
- id: string;
10655
- name?: string | undefined;
10656
- prompt?: string | undefined;
10657
- skill?: string | undefined;
10658
- model?: string | undefined;
10659
- effort?: string | undefined;
10660
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10661
- agentProfile?: string | undefined;
10662
- allowedTools?: string[] | undefined;
10663
- bashAllowlist?: string[] | undefined;
10664
- command?: string | undefined;
10665
- onFail?: {
10666
- retry: string;
10667
- max?: number | undefined;
10668
- } | undefined;
10669
- }[] | undefined;
10670
- task: string;
10671
- model?: string | undefined;
10672
- effort?: string | undefined;
10673
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10674
- agentProfile?: string | undefined;
10675
- variants?: number | undefined;
10676
- worktree?: boolean | undefined;
10677
- autonomous?: boolean | undefined;
10678
- generateFollowups?: boolean | undefined;
10679
- systemPrompt?: string | undefined;
10680
- images?: {
10681
- mediaType: string;
10682
- data: string;
10683
- }[] | undefined;
10684
- todoId?: string | undefined;
10685
- clientRequestId?: string | undefined;
10686
- notify?: boolean | undefined;
10687
- };
10688
- };
10689
- };
10690
- };
10691
- } & {
10692
- "/runs/:id": {
10693
- $get: {
10694
- output: {
10695
- error: string;
10696
- };
10697
- outputFormat: "json";
10698
- status: 404;
10699
- input: {
10700
- param: {
10701
- id: string;
10702
- };
10703
- };
10704
- } | {
10689
+ };
10690
+ };
10691
+ } & {
10692
+ "/runs/:id": {
10693
+ $get: {
10705
10694
  output: {
10706
10695
  id: string;
10707
10696
  title: string;
@@ -11152,6 +11141,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11152
11141
  id: string;
11153
11142
  };
11154
11143
  };
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,54 +11279,6 @@ 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
- } | {
11330
11282
  output: {
11331
11283
  id: string;
11332
11284
  title: string;
@@ -11775,6 +11727,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11775
11727
  id: string;
11776
11728
  };
11777
11729
  };
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: 400;
11813
+ status: 404;
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: 404;
11832
+ status: 409;
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
- error: string;
11848
+ delivered: true;
11849
11849
  };
11850
11850
  outputFormat: "json";
11851
- status: 409;
11851
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- delivered: true;
11867
+ error: string;
11868
11868
  };
11869
11869
  outputFormat: "json";
11870
- status: import("hono/utils/http-status").ContentfulStatusCode;
11870
+ status: 400;
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: 400;
11937
+ status: 404;
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: 404;
11958
+ status: 400;
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: 400;
12110
+ status: 404;
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: 404;
12133
+ status: 400;
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: 400;
12244
+ status: 404;
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: 404;
12260
+ status: 409;
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: 409;
12276
+ status: 400;
12277
12277
  input: {
12278
12278
  json: {
12279
12279
  target: string;
@@ -12330,12 +12330,9 @@ 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
- error: string;
12335
- code?: "invalid_input" | undefined;
12336
- };
12337
- outputFormat: "json";
12338
- status: 400;
12333
+ output: {};
12334
+ outputFormat: string;
12335
+ status: import("hono/utils/http-status").StatusCode;
12339
12336
  input: {
12340
12337
  param: {
12341
12338
  id: string;
@@ -12343,9 +12340,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12343
12340
  };
12344
12341
  };
12345
12342
  } | {
12346
- output: {};
12347
- outputFormat: string;
12348
- status: import("hono/utils/http-status").StatusCode;
12343
+ output: {
12344
+ error: string;
12345
+ code?: "invalid_input" | undefined;
12346
+ };
12347
+ outputFormat: "json";
12348
+ status: 400;
12349
12349
  input: {
12350
12350
  param: {
12351
12351
  id: string;
@@ -12357,20 +12357,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12357
12357
  } & {
12358
12358
  "/runs/:id/diff": {
12359
12359
  $get: {
12360
- output: {
12361
- error: string;
12362
- };
12363
- outputFormat: "json";
12364
- status: 404;
12360
+ output: string;
12361
+ outputFormat: "text";
12362
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12365
12363
  input: {
12366
12364
  param: {
12367
12365
  id: string;
12368
12366
  };
12369
12367
  };
12370
12368
  } | {
12371
- output: string;
12372
- outputFormat: "text";
12373
- status: import("hono/utils/http-status").ContentfulStatusCode;
12369
+ output: {
12370
+ error: string;
12371
+ };
12372
+ outputFormat: "json";
12373
+ status: 404;
12374
12374
  input: {
12375
12375
  param: {
12376
12376
  id: string;
@@ -12699,18 +12699,6 @@ 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
- };
12714
12702
  } | {
12715
12703
  output: {
12716
12704
  type: "file";
@@ -12738,6 +12726,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12738
12726
  artifactId: string;
12739
12727
  };
12740
12728
  };
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,11 +13034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13034
13034
  "/runs/:id/pr": {
13035
13035
  $post: {
13036
13036
  output: {
13037
- url: string;
13038
- dryRun: boolean;
13037
+ error: string;
13039
13038
  };
13040
13039
  outputFormat: "json";
13041
- status: 201;
13040
+ status: 404;
13042
13041
  input: {
13043
13042
  param: {
13044
13043
  id: string;
@@ -13049,7 +13048,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13049
13048
  error: string;
13050
13049
  };
13051
13050
  outputFormat: "json";
13052
- status: 400;
13051
+ status: 409;
13053
13052
  input: {
13054
13053
  param: {
13055
13054
  id: string;
@@ -13060,7 +13059,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13060
13059
  error: string;
13061
13060
  };
13062
13061
  outputFormat: "json";
13063
- status: 404;
13062
+ status: 400;
13064
13063
  input: {
13065
13064
  param: {
13066
13065
  id: string;
@@ -13068,10 +13067,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13068
13067
  };
13069
13068
  } | {
13070
13069
  output: {
13071
- error: string;
13070
+ url: string;
13071
+ dryRun: boolean;
13072
13072
  };
13073
13073
  outputFormat: "json";
13074
- status: 409;
13074
+ status: 201;
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: 404;
13126
+ status: 409;
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: 409;
13137
+ status: 404;
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: 400;
13902
+ status: 409;
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: 409;
13913
+ status: 400;
13914
13914
  input: {
13915
13915
  json: {
13916
13916
  target: string;
@@ -13969,12 +13969,9 @@ 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
- error: string;
13974
- code?: "invalid_input" | undefined;
13975
- };
13976
- outputFormat: "json";
13977
- status: 400;
13972
+ output: {};
13973
+ outputFormat: string;
13974
+ status: import("hono/utils/http-status").StatusCode;
13978
13975
  input: {
13979
13976
  param: {
13980
13977
  id: string;
@@ -13986,9 +13983,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13986
13983
  };
13987
13984
  };
13988
13985
  } | {
13989
- output: {};
13990
- outputFormat: string;
13991
- status: import("hono/utils/http-status").StatusCode;
13986
+ output: {
13987
+ error: string;
13988
+ code?: "invalid_input" | undefined;
13989
+ };
13990
+ outputFormat: "json";
13991
+ status: 400;
13992
13992
  input: {
13993
13993
  param: {
13994
13994
  id: string;
@@ -14040,10 +14040,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14040
14040
  "/config": {
14041
14041
  $put: {
14042
14042
  output: {
14043
- error: string;
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;
14044
14059
  };
14045
14060
  outputFormat: "json";
14046
- status: 409;
14061
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14047
14062
  input: {
14048
14063
  json: {
14049
14064
  baseBranch?: string | null | undefined;
@@ -14068,7 +14083,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14068
14083
  error: string;
14069
14084
  };
14070
14085
  outputFormat: "json";
14071
- status: 500;
14086
+ status: 409;
14072
14087
  input: {
14073
14088
  json: {
14074
14089
  baseBranch?: string | null | undefined;
@@ -14090,25 +14105,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14090
14105
  };
14091
14106
  } | {
14092
14107
  output: {
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;
14108
+ error: string;
14109
14109
  };
14110
14110
  outputFormat: "json";
14111
- status: import("hono/utils/http-status").ContentfulStatusCode;
14111
+ status: 500;
14112
14112
  input: {
14113
14113
  json: {
14114
14114
  baseBranch?: string | null | undefined;
@@ -14133,18 +14133,6 @@ 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
- } | {
14148
14136
  output: {
14149
14137
  name: string;
14150
14138
  description?: string;
@@ -14167,11 +14155,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14167
14155
  wait?: string | undefined;
14168
14156
  };
14169
14157
  };
14170
- };
14171
- };
14172
- } & {
14173
- "/skills/importable": {
14174
- $get: {
14158
+ } | {
14175
14159
  output: {
14176
14160
  error: string;
14177
14161
  code?: "invalid_input" | undefined;
@@ -14183,7 +14167,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14183
14167
  wait?: string | undefined;
14184
14168
  };
14185
14169
  };
14186
- } | {
14170
+ };
14171
+ };
14172
+ } & {
14173
+ "/skills/importable": {
14174
+ $get: {
14187
14175
  output: {
14188
14176
  name: string;
14189
14177
  description?: string | undefined;
@@ -14195,6 +14183,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14195
14183
  wait?: string | undefined;
14196
14184
  };
14197
14185
  };
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: 404;
14251
+ status: 409;
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
- error: string;
14259
+ removed: true;
14260
14260
  };
14261
14261
  outputFormat: "json";
14262
- status: 409;
14262
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14263
14263
  input: {
14264
14264
  param: {
14265
14265
  id: string;
@@ -14267,10 +14267,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14267
14267
  };
14268
14268
  } | {
14269
14269
  output: {
14270
- removed: true;
14270
+ error: string;
14271
14271
  };
14272
14272
  outputFormat: "json";
14273
- status: import("hono/utils/http-status").ContentfulStatusCode;
14273
+ status: 404;
14274
14274
  input: {
14275
14275
  param: {
14276
14276
  id: string;
@@ -14281,6 +14281,24 @@ 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
+ } | {
14284
14302
  output: {
14285
14303
  run: {
14286
14304
  id: string;
@@ -14733,24 +14751,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14733
14751
  id: string;
14734
14752
  };
14735
14753
  };
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: 409;
14777
+ status: 404;
14778
14778
  input: {
14779
14779
  json: {
14780
14780
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -14877,10 +14877,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14877
14877
  "/agent-config/:id": {
14878
14878
  $put: {
14879
14879
  output: {
14880
- error: string;
14880
+ id: string;
14881
+ path: string;
14882
+ exists: boolean;
14883
+ content: string;
14884
+ version: string | null;
14881
14885
  };
14882
14886
  outputFormat: "json";
14883
- status: 404;
14887
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14884
14888
  input: {
14885
14889
  json: {
14886
14890
  content: string;
@@ -14893,14 +14897,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14893
14897
  };
14894
14898
  } | {
14895
14899
  output: {
14896
- id: string;
14897
- path: string;
14898
- exists: boolean;
14899
- content: string;
14900
- version: string | null;
14900
+ error: string;
14901
14901
  };
14902
14902
  outputFormat: "json";
14903
- status: import("hono/utils/http-status").ContentfulStatusCode;
14903
+ status: 404;
14904
14904
  input: {
14905
14905
  json: {
14906
14906
  content: string;
@@ -14970,11 +14970,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14970
14970
  "/workflows": {
14971
14971
  $post: {
14972
14972
  output: {
14973
- path: string;
14974
- name: string;
14973
+ error: string;
14975
14974
  };
14976
14975
  outputFormat: "json";
14977
- status: 201;
14976
+ status: 400;
14978
14977
  input: {
14979
14978
  json: {
14980
14979
  name: string;
@@ -15003,9 +15002,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15003
15002
  } | {
15004
15003
  output: {
15005
15004
  error: string;
15005
+ exists: true;
15006
15006
  };
15007
15007
  outputFormat: "json";
15008
- status: 400;
15008
+ status: 409;
15009
15009
  input: {
15010
15010
  json: {
15011
15011
  name: string;
@@ -15034,10 +15034,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15034
15034
  } | {
15035
15035
  output: {
15036
15036
  error: string;
15037
- exists: true;
15038
15037
  };
15039
15038
  outputFormat: "json";
15040
- status: 409;
15039
+ status: 500;
15041
15040
  input: {
15042
15041
  json: {
15043
15042
  name: string;
@@ -15065,10 +15064,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15065
15064
  };
15066
15065
  } | {
15067
15066
  output: {
15068
- error: string;
15067
+ path: string;
15068
+ name: string;
15069
15069
  };
15070
15070
  outputFormat: "json";
15071
- status: 500;
15071
+ status: 201;
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: 400;
15106
+ status: 404;
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: 404;
15117
+ status: 400;
15118
15118
  input: {
15119
15119
  param: {
15120
15120
  name: string;
@@ -15239,12 +15239,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15239
15239
  } & {
15240
15240
  "/repo/commit/:sha": {
15241
15241
  $get: {
15242
- output: {
15243
- error: string;
15244
- code?: "invalid_input" | undefined;
15245
- };
15246
- outputFormat: "json";
15247
- status: 400;
15242
+ output: string;
15243
+ outputFormat: "text";
15244
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15248
15245
  input: {
15249
15246
  query: {
15250
15247
  structured?: string | undefined;
@@ -15257,9 +15254,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15257
15254
  } | {
15258
15255
  output: {
15259
15256
  error: string;
15257
+ code?: "invalid_input" | undefined;
15260
15258
  };
15261
15259
  outputFormat: "json";
15262
- status: 409;
15260
+ status: 400;
15263
15261
  input: {
15264
15262
  query: {
15265
15263
  structured?: string | undefined;
@@ -15303,9 +15301,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15303
15301
  };
15304
15302
  };
15305
15303
  } | {
15306
- output: string;
15307
- outputFormat: "text";
15308
- status: import("hono/utils/http-status").ContentfulStatusCode;
15304
+ output: {
15305
+ error: string;
15306
+ };
15307
+ outputFormat: "json";
15308
+ status: 409;
15309
15309
  input: {
15310
15310
  query: {
15311
15311
  structured?: string | undefined;
@@ -15320,13 +15320,6 @@ 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
- } | {
15330
15323
  output: {
15331
15324
  files: {
15332
15325
  path: string;
@@ -15351,6 +15344,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15351
15344
  outputFormat: "json";
15352
15345
  status: import("hono/utils/http-status").ContentfulStatusCode;
15353
15346
  input: {};
15347
+ } | {
15348
+ output: {
15349
+ error: string;
15350
+ };
15351
+ outputFormat: "json";
15352
+ status: 409;
15353
+ input: {};
15354
15354
  };
15355
15355
  };
15356
15356
  } & {
@@ -15375,12 +15375,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15375
15375
  "/repo/pull": {
15376
15376
  $post: {
15377
15377
  output: {
15378
- branch: string;
15379
- pulled: true;
15380
- summary: string;
15378
+ error: string;
15381
15379
  };
15382
15380
  outputFormat: "json";
15383
- status: 200;
15381
+ status: 409;
15384
15382
  input: {
15385
15383
  json: {
15386
15384
  branch?: string | undefined;
@@ -15389,10 +15387,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15389
15387
  };
15390
15388
  } | {
15391
15389
  output: {
15392
- error: string;
15390
+ branch: string;
15391
+ pulled: true;
15392
+ summary: string;
15393
15393
  };
15394
15394
  outputFormat: "json";
15395
- status: 409;
15395
+ status: 200;
15396
15396
  input: {
15397
15397
  json: {
15398
15398
  branch?: string | undefined;
@@ -16110,28 +16110,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16110
16110
  "/automations": {
16111
16111
  $post: {
16112
16112
  output: {
16113
- automation: {
16114
- [x: string]: import("hono/utils/types").JSONValue;
16115
- id: string;
16116
- revision: number;
16113
+ error: string;
16114
+ };
16115
+ outputFormat: "json";
16116
+ status: 400;
16117
+ input: {
16118
+ json: {
16117
16119
  name: string;
16118
16120
  description?: string | undefined;
16119
- enabled: boolean;
16121
+ enabled?: boolean | undefined;
16120
16122
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
16121
16123
  intervalSeconds: number;
16122
16124
  filters: {
16123
- [x: string]: import("hono/utils/types").JSONValue;
16125
+ [x: string]: unknown;
16124
16126
  authors?: string[] | undefined;
16125
16127
  assignees?: string[] | undefined;
16126
16128
  allLabels?: string[] | undefined;
16127
16129
  anyLabels?: string[] | undefined;
16128
16130
  excludeLabels?: string[] | undefined;
16129
16131
  changedLabels?: string[] | undefined;
16130
- lookbackDays: number;
16131
- maxRecords: number;
16132
+ lookbackDays?: number | undefined;
16133
+ maxRecords?: number | undefined;
16132
16134
  };
16133
16135
  task: {
16134
- [x: string]: import("hono/utils/types").JSONValue;
16136
+ [x: string]: unknown;
16135
16137
  prompt: string;
16136
16138
  workflow?: string | undefined;
16137
16139
  steps?: {
@@ -16148,7 +16150,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16148
16150
  command?: string | undefined;
16149
16151
  onFail?: {
16150
16152
  retry: string;
16151
- max: number;
16153
+ max?: number | undefined;
16152
16154
  } | undefined;
16153
16155
  }[] | undefined;
16154
16156
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -16160,32 +16162,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16160
16162
  autonomous?: boolean | undefined;
16161
16163
  systemPrompt?: string | undefined;
16162
16164
  };
16163
- createdAt: string;
16164
- updatedAt: string;
16165
+ enable?: boolean | undefined;
16165
16166
  };
16166
16167
  };
16167
- outputFormat: "json";
16168
- status: 201;
16169
- input: {
16170
- json: {
16168
+ } | {
16169
+ output: {
16170
+ automation: {
16171
+ [x: string]: import("hono/utils/types").JSONValue;
16172
+ id: string;
16173
+ revision: number;
16171
16174
  name: string;
16172
16175
  description?: string | undefined;
16173
- enabled?: boolean | undefined;
16176
+ enabled: boolean;
16174
16177
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
16175
16178
  intervalSeconds: number;
16176
16179
  filters: {
16177
- [x: string]: unknown;
16180
+ [x: string]: import("hono/utils/types").JSONValue;
16178
16181
  authors?: string[] | undefined;
16179
16182
  assignees?: string[] | undefined;
16180
16183
  allLabels?: string[] | undefined;
16181
16184
  anyLabels?: string[] | undefined;
16182
16185
  excludeLabels?: string[] | undefined;
16183
16186
  changedLabels?: string[] | undefined;
16184
- lookbackDays?: number | undefined;
16185
- maxRecords?: number | undefined;
16187
+ lookbackDays: number;
16188
+ maxRecords: number;
16186
16189
  };
16187
16190
  task: {
16188
- [x: string]: unknown;
16191
+ [x: string]: import("hono/utils/types").JSONValue;
16189
16192
  prompt: string;
16190
16193
  workflow?: string | undefined;
16191
16194
  steps?: {
@@ -16202,7 +16205,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16202
16205
  command?: string | undefined;
16203
16206
  onFail?: {
16204
16207
  retry: string;
16205
- max?: number | undefined;
16208
+ max: number;
16206
16209
  } | undefined;
16207
16210
  }[] | undefined;
16208
16211
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -16214,15 +16217,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16214
16217
  autonomous?: boolean | undefined;
16215
16218
  systemPrompt?: string | undefined;
16216
16219
  };
16217
- enable?: boolean | undefined;
16220
+ createdAt: string;
16221
+ updatedAt: string;
16218
16222
  };
16219
16223
  };
16220
- } | {
16221
- output: {
16222
- error: string;
16223
- };
16224
16224
  outputFormat: "json";
16225
- status: 400;
16225
+ status: 201;
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
- checkId: string;
16829
+ error: string;
16830
16830
  };
16831
16831
  outputFormat: "json";
16832
- status: 202;
16832
+ status: 404;
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
- error: string;
16844
+ checkId: string;
16845
16845
  };
16846
16846
  outputFormat: "json";
16847
- status: 404;
16847
+ status: 202;
16848
16848
  input: {
16849
16849
  json: {
16850
16850
  mode: "execute" | "preview";
@@ -16918,11 +16918,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16918
16918
  "/automation-log/:receiptId/retry": {
16919
16919
  $post: {
16920
16920
  output: {
16921
- receiptId: string;
16922
- runId: string;
16921
+ error: string;
16923
16922
  };
16924
16923
  outputFormat: "json";
16925
- status: 202;
16924
+ status: 404;
16926
16925
  input: {
16927
16926
  param: {
16928
16927
  receiptId: string;
@@ -16933,7 +16932,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16933
16932
  error: string;
16934
16933
  };
16935
16934
  outputFormat: "json";
16936
- status: 404;
16935
+ status: 409;
16937
16936
  input: {
16938
16937
  param: {
16939
16938
  receiptId: string;
@@ -16941,10 +16940,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16941
16940
  };
16942
16941
  } | {
16943
16942
  output: {
16944
- error: string;
16943
+ receiptId: string;
16944
+ runId: string;
16945
16945
  };
16946
16946
  outputFormat: "json";
16947
- status: 409;
16947
+ status: 202;
16948
16948
  input: {
16949
16949
  param: {
16950
16950
  receiptId: string;
@@ -17526,20 +17526,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17526
17526
  "/runs/:id/worker-destroy": {
17527
17527
  $post: {
17528
17528
  output: {
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;
17529
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
17530
+ readonly error: string;
17540
17531
  };
17541
17532
  outputFormat: "json";
17542
- status: 200;
17533
+ status: 400 | 401 | 403 | 409 | 503;
17543
17534
  input: {
17544
17535
  query: {
17545
17536
  [x: string]: string | string[];
@@ -17584,7 +17575,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17584
17575
  error?: string | undefined;
17585
17576
  };
17586
17577
  outputFormat: "json";
17587
- status: 409;
17578
+ status: 200;
17588
17579
  input: {
17589
17580
  query: {
17590
17581
  [x: string]: string | string[];
@@ -17598,11 +17589,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17598
17589
  };
17599
17590
  } | {
17600
17591
  output: {
17601
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
17602
- readonly error: string;
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;
17603
17603
  };
17604
17604
  outputFormat: "json";
17605
- status: 400 | 401 | 403 | 409 | 503;
17605
+ status: 409;
17606
17606
  input: {
17607
17607
  query: {
17608
17608
  [x: string]: string | string[];
@@ -17641,21 +17641,6 @@ 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
- } | {
17659
17644
  output: {
17660
17645
  id: string;
17661
17646
  title: string;
@@ -18103,32 +18088,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18103
18088
  id: string;
18104
18089
  };
18105
18090
  };
18106
- };
18107
- };
18108
- } & {
18109
- "/runs/:id/pin": {
18110
- $post: {
18091
+ } | {
18111
18092
  output: {
18112
18093
  error: string;
18113
- code?: "invalid_input" | undefined;
18114
18094
  };
18115
18095
  outputFormat: "json";
18116
- status: 400;
18096
+ status: 404;
18117
18097
  input: {
18118
- param: {
18119
- id: string;
18098
+ json: {
18099
+ archived?: boolean | undefined;
18120
18100
  };
18121
18101
  } & {
18122
- json: {
18123
- pinned?: boolean | undefined;
18102
+ param: {
18103
+ id: string;
18124
18104
  };
18125
18105
  };
18126
- } | {
18106
+ };
18107
+ };
18108
+ } & {
18109
+ "/runs/:id/pin": {
18110
+ $post: {
18127
18111
  output: {
18128
18112
  error: string;
18113
+ code?: "invalid_input" | undefined;
18129
18114
  };
18130
18115
  outputFormat: "json";
18131
- status: 404;
18116
+ status: 400;
18132
18117
  input: {
18133
18118
  param: {
18134
18119
  id: string;
@@ -18586,49 +18571,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18586
18571
  pinned?: boolean | undefined;
18587
18572
  };
18588
18573
  };
18589
- };
18590
- };
18591
- } & {
18592
- "/runs/:id/notify": {
18593
- $post: {
18594
- output: {
18595
- error: string;
18596
- code?: "invalid_input" | undefined;
18597
- };
18598
- outputFormat: "json";
18599
- status: 400;
18600
- input: {
18601
- param: {
18602
- id: string;
18603
- };
18604
- } & {
18605
- json: {
18606
- notify: boolean;
18607
- message?: string | undefined;
18608
- };
18609
- };
18610
18574
  } | {
18611
18575
  output: {
18612
18576
  error: string;
18613
18577
  };
18614
18578
  outputFormat: "json";
18615
- status: 400;
18579
+ status: 404;
18616
18580
  input: {
18617
18581
  param: {
18618
18582
  id: string;
18619
18583
  };
18620
18584
  } & {
18621
18585
  json: {
18622
- notify: boolean;
18623
- message?: string | undefined;
18586
+ pinned?: boolean | undefined;
18624
18587
  };
18625
18588
  };
18626
- } | {
18589
+ };
18590
+ };
18591
+ } & {
18592
+ "/runs/:id/notify": {
18593
+ $post: {
18627
18594
  output: {
18628
18595
  error: string;
18596
+ code?: "invalid_input" | undefined;
18629
18597
  };
18630
18598
  outputFormat: "json";
18631
- status: 404;
18599
+ status: 400;
18632
18600
  input: {
18633
18601
  param: {
18634
18602
  id: string;
@@ -19088,11 +19056,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19088
19056
  message?: string | undefined;
19089
19057
  };
19090
19058
  };
19091
- };
19092
- };
19093
- } & {
19094
- "/runs/:id/auto-resume": {
19095
- $delete: {
19059
+ } | {
19096
19060
  output: {
19097
19061
  error: string;
19098
19062
  };
@@ -19102,23 +19066,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19102
19066
  param: {
19103
19067
  id: string;
19104
19068
  };
19069
+ } & {
19070
+ json: {
19071
+ notify: boolean;
19072
+ message?: string | undefined;
19073
+ };
19105
19074
  };
19106
19075
  } | {
19107
19076
  output: {
19108
- cancelled: true;
19077
+ error: string;
19109
19078
  };
19110
19079
  outputFormat: "json";
19111
- status: import("hono/utils/http-status").ContentfulStatusCode;
19080
+ status: 400;
19112
19081
  input: {
19113
19082
  param: {
19114
19083
  id: string;
19115
19084
  };
19085
+ } & {
19086
+ json: {
19087
+ notify: boolean;
19088
+ message?: string | undefined;
19089
+ };
19116
19090
  };
19117
19091
  };
19118
19092
  };
19119
19093
  } & {
19120
- "/runs/:id/read": {
19121
- $post: {
19094
+ "/runs/:id/auto-resume": {
19095
+ $delete: {
19122
19096
  output: {
19123
19097
  error: string;
19124
19098
  };
@@ -19130,6 +19104,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19130
19104
  };
19131
19105
  };
19132
19106
  } | {
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: {
19133
19122
  output: {
19134
19123
  id: string;
19135
19124
  title: string;
@@ -19573,11 +19562,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19573
19562
  id: string;
19574
19563
  };
19575
19564
  };
19576
- };
19577
- };
19578
- } & {
19579
- "/runs/:id/unread": {
19580
- $post: {
19565
+ } | {
19581
19566
  output: {
19582
19567
  error: string;
19583
19568
  };
@@ -19588,7 +19573,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19588
19573
  id: string;
19589
19574
  };
19590
19575
  };
19591
- } | {
19576
+ };
19577
+ };
19578
+ } & {
19579
+ "/runs/:id/unread": {
19580
+ $post: {
19592
19581
  output: {
19593
19582
  id: string;
19594
19583
  title: string;
@@ -20032,6 +20021,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20032
20021
  id: string;
20033
20022
  };
20034
20023
  };
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,6 +20992,141 @@ 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
+ };
20995
21130
  } | {
20996
21131
  output: {
20997
21132
  runs: {
@@ -21396,178 +21531,43 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21396
21531
  usageInvocationsObserved?: number | undefined;
21397
21532
  usageTurnsStarted?: number | undefined;
21398
21533
  usageTurnsRecorded?: number | undefined;
21399
- usageInvocationEpoch?: number | undefined;
21400
- startedAt?: string | undefined;
21401
- finishedAt?: string | undefined;
21402
- error?: string | undefined;
21403
- sessionId?: string | undefined;
21404
- backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21405
- profileId?: string | undefined;
21406
- costUsd?: number | undefined;
21407
- synthetic?: "continuation" | undefined;
21408
- }[];
21409
- workflowDef?: {
21410
- name: string;
21411
- description?: string | undefined;
21412
- steps: {
21413
- id: string;
21414
- name?: string | undefined;
21415
- prompt?: string | undefined;
21416
- skill?: string | undefined;
21417
- model?: string | undefined;
21418
- effort?: string | undefined;
21419
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21420
- agentProfile?: string | undefined;
21421
- allowedTools?: string[] | undefined;
21422
- bashAllowlist?: string[] | undefined;
21423
- command?: string | undefined;
21424
- onFail?: {
21425
- retry: string;
21426
- max: number;
21427
- } | undefined;
21428
- }[];
21429
- source: "built-in" | "file";
21430
- path?: string | undefined;
21431
- } | undefined;
21432
- }[];
21433
- };
21434
- outputFormat: "json";
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;
21534
+ usageInvocationEpoch?: number | undefined;
21535
+ startedAt?: string | undefined;
21536
+ finishedAt?: string | undefined;
21537
+ error?: string | undefined;
21538
+ sessionId?: string | undefined;
21539
+ backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21540
+ profileId?: string | undefined;
21541
+ costUsd?: number | undefined;
21542
+ synthetic?: "continuation" | undefined;
21543
+ }[];
21544
+ workflowDef?: {
21545
+ name: string;
21546
+ description?: string | undefined;
21547
+ steps: {
21548
+ id: string;
21549
+ name?: string | undefined;
21550
+ prompt?: string | undefined;
21551
+ skill?: string | undefined;
21552
+ model?: string | undefined;
21553
+ effort?: string | undefined;
21554
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
21555
+ agentProfile?: string | undefined;
21556
+ allowedTools?: string[] | undefined;
21557
+ bashAllowlist?: string[] | undefined;
21558
+ command?: string | undefined;
21559
+ onFail?: {
21560
+ retry: string;
21561
+ max: number;
21562
+ } | undefined;
21563
+ }[];
21564
+ source: "built-in" | "file";
21565
+ path?: string | undefined;
21566
+ } | undefined;
21567
+ }[];
21568
21568
  };
21569
21569
  outputFormat: "json";
21570
- status: 409;
21570
+ status: 201;
21571
21571
  input: {
21572
21572
  json: {
21573
21573
  workflow?: string | undefined;
@@ -21612,17 +21612,6 @@ 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
- } | {
21626
21615
  output: {
21627
21616
  id: string;
21628
21617
  title: string;
@@ -22073,6 +22062,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22073
22062
  id: string;
22074
22063
  };
22075
22064
  };
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,54 +22200,6 @@ 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
- } | {
22251
22203
  output: {
22252
22204
  id: string;
22253
22205
  title: string;
@@ -22696,6 +22648,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22696
22648
  id: string;
22697
22649
  };
22698
22650
  };
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: 400;
22734
+ status: 404;
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: 404;
22753
+ status: 409;
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
- error: string;
22769
+ delivered: true;
22770
22770
  };
22771
22771
  outputFormat: "json";
22772
- status: 409;
22772
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- delivered: true;
22788
+ error: string;
22789
22789
  };
22790
22790
  outputFormat: "json";
22791
- status: import("hono/utils/http-status").ContentfulStatusCode;
22791
+ status: 400;
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: 400;
22858
+ status: 404;
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: 404;
22879
+ status: 400;
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: 400;
23031
+ status: 404;
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: 404;
23054
+ status: 400;
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: 400;
23165
+ status: 404;
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: 404;
23181
+ status: 409;
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: 409;
23197
+ status: 400;
23198
23198
  input: {
23199
23199
  json: {
23200
23200
  target: string;
@@ -23251,12 +23251,9 @@ 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
- error: string;
23256
- code?: "invalid_input" | undefined;
23257
- };
23258
- outputFormat: "json";
23259
- status: 400;
23254
+ output: {};
23255
+ outputFormat: string;
23256
+ status: import("hono/utils/http-status").StatusCode;
23260
23257
  input: {
23261
23258
  param: {
23262
23259
  id: string;
@@ -23264,9 +23261,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23264
23261
  };
23265
23262
  };
23266
23263
  } | {
23267
- output: {};
23268
- outputFormat: string;
23269
- status: import("hono/utils/http-status").StatusCode;
23264
+ output: {
23265
+ error: string;
23266
+ code?: "invalid_input" | undefined;
23267
+ };
23268
+ outputFormat: "json";
23269
+ status: 400;
23270
23270
  input: {
23271
23271
  param: {
23272
23272
  id: string;
@@ -23278,20 +23278,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23278
23278
  } & {
23279
23279
  "/runs/:id/diff": {
23280
23280
  $get: {
23281
- output: {
23282
- error: string;
23283
- };
23284
- outputFormat: "json";
23285
- status: 404;
23281
+ output: string;
23282
+ outputFormat: "text";
23283
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23286
23284
  input: {
23287
23285
  param: {
23288
23286
  id: string;
23289
23287
  };
23290
23288
  };
23291
23289
  } | {
23292
- output: string;
23293
- outputFormat: "text";
23294
- status: import("hono/utils/http-status").ContentfulStatusCode;
23290
+ output: {
23291
+ error: string;
23292
+ };
23293
+ outputFormat: "json";
23294
+ status: 404;
23295
23295
  input: {
23296
23296
  param: {
23297
23297
  id: string;
@@ -23620,18 +23620,6 @@ 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
- };
23635
23623
  } | {
23636
23624
  output: {
23637
23625
  type: "file";
@@ -23659,6 +23647,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23659
23647
  artifactId: string;
23660
23648
  };
23661
23649
  };
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,11 +23955,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23955
23955
  "/runs/:id/pr": {
23956
23956
  $post: {
23957
23957
  output: {
23958
- url: string;
23959
- dryRun: boolean;
23958
+ error: string;
23960
23959
  };
23961
23960
  outputFormat: "json";
23962
- status: 201;
23961
+ status: 404;
23963
23962
  input: {
23964
23963
  param: {
23965
23964
  id: string;
@@ -23970,7 +23969,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23970
23969
  error: string;
23971
23970
  };
23972
23971
  outputFormat: "json";
23973
- status: 400;
23972
+ status: 409;
23974
23973
  input: {
23975
23974
  param: {
23976
23975
  id: string;
@@ -23981,7 +23980,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23981
23980
  error: string;
23982
23981
  };
23983
23982
  outputFormat: "json";
23984
- status: 404;
23983
+ status: 400;
23985
23984
  input: {
23986
23985
  param: {
23987
23986
  id: string;
@@ -23989,10 +23988,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23989
23988
  };
23990
23989
  } | {
23991
23990
  output: {
23992
- error: string;
23991
+ url: string;
23992
+ dryRun: boolean;
23993
23993
  };
23994
23994
  outputFormat: "json";
23995
- status: 409;
23995
+ status: 201;
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: 404;
24047
+ status: 409;
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: 409;
24058
+ status: 404;
24059
24059
  input: {
24060
24060
  param: {
24061
24061
  id: string;