@wjarka/cezarion 0.14.9-dev.878 → 0.14.9-dev.885

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.
@@ -323,17 +323,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
323
323
  };
324
324
  } | {
325
325
  output: {
326
- path: string;
327
- parent: string | null;
328
- dirs: {
329
- name: string;
330
- path: string;
331
- isRepo: boolean;
332
- }[];
333
- truncated: boolean;
326
+ error: string;
334
327
  };
335
328
  outputFormat: "json";
336
- status: import("hono/utils/http-status").ContentfulStatusCode;
329
+ status: 400 | 404;
337
330
  input: {
338
331
  query: {
339
332
  path?: string | undefined;
@@ -342,10 +335,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
342
335
  };
343
336
  } | {
344
337
  output: {
345
- error: string;
338
+ path: string;
339
+ parent: string | null;
340
+ dirs: {
341
+ name: string;
342
+ path: string;
343
+ isRepo: boolean;
344
+ }[];
345
+ truncated: boolean;
346
346
  };
347
347
  outputFormat: "json";
348
- status: 400 | 404;
348
+ status: import("hono/utils/http-status").ContentfulStatusCode;
349
349
  input: {
350
350
  query: {
351
351
  path?: string | undefined;
@@ -357,17 +357,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
357
357
  }, "/"> | import("hono/types").MergeSchemaPath<{
358
358
  "/automation-checks/:checkId": {
359
359
  $get: {
360
- output: {
361
- error: string;
362
- };
363
- outputFormat: "json";
364
- status: 404;
365
- input: {
366
- param: {
367
- checkId: string;
368
- };
369
- };
370
- } | {
371
360
  output: {
372
361
  id: string;
373
362
  automationId: string;
@@ -386,6 +375,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
386
375
  checkId: string;
387
376
  };
388
377
  };
378
+ } | {
379
+ output: {
380
+ error: string;
381
+ };
382
+ outputFormat: "json";
383
+ status: 404;
384
+ input: {
385
+ param: {
386
+ checkId: string;
387
+ };
388
+ };
389
389
  };
390
390
  };
391
391
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -537,6 +537,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
537
537
  projectId: string | string[];
538
538
  };
539
539
  };
540
+ } | {
541
+ output: {
542
+ error: string;
543
+ };
544
+ outputFormat: "json";
545
+ status: 404 | 409;
546
+ input: {
547
+ query: {
548
+ projectId: string | string[];
549
+ };
550
+ };
540
551
  } | {
541
552
  output: {
542
553
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -563,17 +574,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
563
574
  projectId: string | string[];
564
575
  };
565
576
  };
566
- } | {
567
- output: {
568
- error: string;
569
- };
570
- outputFormat: "json";
571
- status: 404 | 409;
572
- input: {
573
- query: {
574
- projectId: string | string[];
575
- };
576
- };
577
577
  };
578
578
  };
579
579
  } & {
@@ -712,10 +712,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
712
712
  };
713
713
  } | {
714
714
  output: {
715
- error: string;
715
+ providers: {
716
+ provider: ProviderId;
717
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
718
+ enabled?: boolean;
719
+ hint?: string;
720
+ authFailureId?: string;
721
+ profileId?: string;
722
+ }[];
716
723
  };
717
724
  outputFormat: "json";
718
- status: 500;
725
+ status: import("hono/utils/http-status").ContentfulStatusCode;
719
726
  input: {
720
727
  param: {
721
728
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -727,17 +734,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
727
734
  };
728
735
  } | {
729
736
  output: {
730
- providers: {
731
- provider: ProviderId;
732
- status: import("../core/provider-auth.ts").ProviderConnectionState;
733
- enabled?: boolean;
734
- hint?: string;
735
- authFailureId?: string;
736
- profileId?: string;
737
- }[];
737
+ error: string;
738
738
  };
739
739
  outputFormat: "json";
740
- status: import("hono/utils/http-status").ContentfulStatusCode;
740
+ status: 500;
741
741
  input: {
742
742
  param: {
743
743
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -769,10 +769,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
769
769
  };
770
770
  } | {
771
771
  output: {
772
- error: string;
772
+ providers: {
773
+ provider: ProviderId;
774
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
775
+ enabled?: boolean;
776
+ hint?: string;
777
+ authFailureId?: string;
778
+ profileId?: string;
779
+ }[];
773
780
  };
774
781
  outputFormat: "json";
775
- status: 409;
782
+ status: import("hono/utils/http-status").ContentfulStatusCode;
776
783
  input: {
777
784
  param: {
778
785
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -784,17 +791,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
784
791
  };
785
792
  } | {
786
793
  output: {
787
- providers: {
788
- provider: ProviderId;
789
- status: import("../core/provider-auth.ts").ProviderConnectionState;
790
- enabled?: boolean;
791
- hint?: string;
792
- authFailureId?: string;
793
- profileId?: string;
794
- }[];
794
+ error: string;
795
795
  };
796
796
  outputFormat: "json";
797
- status: import("hono/utils/http-status").ContentfulStatusCode;
797
+ status: 409;
798
798
  input: {
799
799
  param: {
800
800
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -813,7 +813,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
813
813
  error: string;
814
814
  };
815
815
  outputFormat: "json";
816
- status: 400;
816
+ status: 409;
817
817
  input: {
818
818
  json: {
819
819
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -825,7 +825,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
825
825
  error: string;
826
826
  };
827
827
  outputFormat: "json";
828
- status: 409;
828
+ status: 400;
829
829
  input: {
830
830
  json: {
831
831
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -913,10 +913,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
913
913
  "/workspace/config": {
914
914
  $put: {
915
915
  output: {
916
- error: string;
916
+ browseRoot: string;
917
+ projectsDir: string;
918
+ skillsAutoUpdate: boolean | null;
919
+ effectiveSkillsAutoUpdate: boolean;
920
+ composerDefaults: {
921
+ autonomous: boolean | null;
922
+ worktree: boolean | null;
923
+ inheritedAutonomous: boolean | 'source-dependent';
924
+ inheritedWorktree: boolean;
925
+ };
926
+ resources: {
927
+ maxParallel: number;
928
+ maxMonitoringSessions: number;
929
+ monitoringWakeIntervalMinutes: number | null;
930
+ autoResumeOnUsageLimit: boolean;
931
+ memoryLimitMb: number | null;
932
+ worktreeRetentionDefault: number;
933
+ };
934
+ agentDefaults: {
935
+ runner?: ProviderId;
936
+ models?: {
937
+ claude?: string;
938
+ codex?: string;
939
+ opencode?: string;
940
+ } | undefined;
941
+ };
917
942
  };
918
943
  outputFormat: "json";
919
- status: 400;
944
+ status: import("hono/utils/http-status").ContentfulStatusCode;
920
945
  input: {
921
946
  json: {
922
947
  browseRoot?: string | undefined;
@@ -951,7 +976,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
951
976
  error: string;
952
977
  };
953
978
  outputFormat: "json";
954
- status: 500;
979
+ status: 400;
955
980
  input: {
956
981
  json: {
957
982
  browseRoot?: string | undefined;
@@ -983,35 +1008,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
983
1008
  };
984
1009
  } | {
985
1010
  output: {
986
- browseRoot: string;
987
- projectsDir: string;
988
- skillsAutoUpdate: boolean | null;
989
- effectiveSkillsAutoUpdate: boolean;
990
- composerDefaults: {
991
- autonomous: boolean | null;
992
- worktree: boolean | null;
993
- inheritedAutonomous: boolean | 'source-dependent';
994
- inheritedWorktree: boolean;
995
- };
996
- resources: {
997
- maxParallel: number;
998
- maxMonitoringSessions: number;
999
- monitoringWakeIntervalMinutes: number | null;
1000
- autoResumeOnUsageLimit: boolean;
1001
- memoryLimitMb: number | null;
1002
- worktreeRetentionDefault: number;
1003
- };
1004
- agentDefaults: {
1005
- runner?: ProviderId;
1006
- models?: {
1007
- claude?: string;
1008
- codex?: string;
1009
- opencode?: string;
1010
- } | undefined;
1011
- };
1011
+ error: string;
1012
1012
  };
1013
1013
  outputFormat: "json";
1014
- status: import("hono/utils/http-status").ContentfulStatusCode;
1014
+ status: 500;
1015
1015
  input: {
1016
1016
  json: {
1017
1017
  browseRoot?: string | undefined;
@@ -1093,10 +1093,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1093
1093
  "/workspace/ui-state": {
1094
1094
  $put: {
1095
1095
  output: {
1096
- error: string;
1096
+ [x: string]: import("hono/utils/types").JSONValue;
1097
+ sidebar?: {
1098
+ [x: string]: import("hono/utils/types").JSONValue;
1099
+ collapsed?: {
1100
+ [x: string]: boolean;
1101
+ } | undefined;
1102
+ } | undefined;
1103
+ dismissedProviderAuthFailures?: {
1104
+ claude?: string | undefined;
1105
+ codex?: string | undefined;
1106
+ opencode?: string | undefined;
1107
+ pi?: string | undefined;
1108
+ cursor?: string | undefined;
1109
+ } | undefined;
1110
+ appearance?: {
1111
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1112
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1113
+ width?: "narrow" | "wide" | undefined;
1114
+ } | undefined;
1115
+ notifications?: {
1116
+ [x: string]: import("hono/utils/types").JSONValue;
1117
+ enabled?: boolean | undefined;
1118
+ } | undefined;
1119
+ taskTable?: {
1120
+ [x: string]: import("hono/utils/types").JSONValue;
1121
+ expandedColumns?: {
1122
+ [x: string]: boolean;
1123
+ } | undefined;
1124
+ } | undefined;
1125
+ lastLocation?: {
1126
+ projectId: string;
1127
+ pathname: string;
1128
+ search?: string | undefined;
1129
+ hash?: string | undefined;
1130
+ } | undefined;
1131
+ importedSkills?: string[] | undefined;
1097
1132
  };
1098
1133
  outputFormat: "json";
1099
- status: 500;
1134
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1100
1135
  input: {
1101
1136
  json: {
1102
1137
  [x: string]: unknown;
@@ -1135,45 +1170,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1135
1170
  };
1136
1171
  } | {
1137
1172
  output: {
1138
- [x: string]: import("hono/utils/types").JSONValue;
1139
- sidebar?: {
1140
- [x: string]: import("hono/utils/types").JSONValue;
1141
- collapsed?: {
1142
- [x: string]: boolean;
1143
- } | undefined;
1144
- } | undefined;
1145
- dismissedProviderAuthFailures?: {
1146
- claude?: string | undefined;
1147
- codex?: string | undefined;
1148
- opencode?: string | undefined;
1149
- pi?: string | undefined;
1150
- cursor?: string | undefined;
1151
- } | undefined;
1152
- appearance?: {
1153
- accent?: "cezarion" | "lime" | "violet" | undefined;
1154
- density?: "comfortable" | "compact" | "ultra" | undefined;
1155
- width?: "narrow" | "wide" | undefined;
1156
- } | undefined;
1157
- notifications?: {
1158
- [x: string]: import("hono/utils/types").JSONValue;
1159
- enabled?: boolean | undefined;
1160
- } | undefined;
1161
- taskTable?: {
1162
- [x: string]: import("hono/utils/types").JSONValue;
1163
- expandedColumns?: {
1164
- [x: string]: boolean;
1165
- } | undefined;
1166
- } | undefined;
1167
- lastLocation?: {
1168
- projectId: string;
1169
- pathname: string;
1170
- search?: string | undefined;
1171
- hash?: string | undefined;
1172
- } | undefined;
1173
- importedSkills?: string[] | undefined;
1173
+ error: string;
1174
1174
  };
1175
1175
  outputFormat: "json";
1176
- status: import("hono/utils/http-status").ContentfulStatusCode;
1176
+ status: 500;
1177
1177
  input: {
1178
1178
  json: {
1179
1179
  [x: string]: unknown;
@@ -1304,7 +1304,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1304
1304
  error: string;
1305
1305
  };
1306
1306
  outputFormat: "json";
1307
- status: 404;
1307
+ status: 409;
1308
1308
  input: {
1309
1309
  param: {
1310
1310
  projectId: string;
@@ -1315,7 +1315,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1315
1315
  error: string;
1316
1316
  };
1317
1317
  outputFormat: "json";
1318
- status: 409;
1318
+ status: 404;
1319
1319
  input: {
1320
1320
  param: {
1321
1321
  projectId: string;
@@ -1353,7 +1353,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1353
1353
  error: string;
1354
1354
  };
1355
1355
  outputFormat: "json";
1356
- status: 404;
1356
+ status: 409;
1357
1357
  input: {
1358
1358
  json: {
1359
1359
  maxParallel?: number | null | undefined;
@@ -1369,7 +1369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1369
1369
  error: string;
1370
1370
  };
1371
1371
  outputFormat: "json";
1372
- status: 409;
1372
+ status: 404;
1373
1373
  input: {
1374
1374
  json: {
1375
1375
  maxParallel?: number | null | undefined;
@@ -1548,6 +1548,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1548
1548
  } & {
1549
1549
  "/workspace/agent-profiles": {
1550
1550
  $post: {
1551
+ output: {
1552
+ error: string;
1553
+ };
1554
+ outputFormat: "json";
1555
+ status: 409;
1556
+ input: {
1557
+ json: {
1558
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1559
+ label?: string | undefined;
1560
+ configDir: string;
1561
+ };
1562
+ };
1563
+ } | {
1564
+ output: {
1565
+ error: string;
1566
+ };
1567
+ outputFormat: "json";
1568
+ status: 400;
1569
+ input: {
1570
+ json: {
1571
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1572
+ label?: string | undefined;
1573
+ configDir: string;
1574
+ };
1575
+ };
1576
+ } | {
1577
+ output: {
1578
+ error: string;
1579
+ };
1580
+ outputFormat: "json";
1581
+ status: 500;
1582
+ input: {
1583
+ json: {
1584
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1585
+ label?: string | undefined;
1586
+ configDir: string;
1587
+ };
1588
+ };
1589
+ } | {
1551
1590
  output: {
1552
1591
  profile: {
1553
1592
  exists: boolean;
@@ -1598,45 +1637,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1598
1637
  configDir: string;
1599
1638
  };
1600
1639
  };
1601
- } | {
1602
- output: {
1603
- error: string;
1604
- };
1605
- outputFormat: "json";
1606
- status: 400;
1607
- input: {
1608
- json: {
1609
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1610
- label?: string | undefined;
1611
- configDir: string;
1612
- };
1613
- };
1614
- } | {
1615
- output: {
1616
- error: string;
1617
- };
1618
- outputFormat: "json";
1619
- status: 409;
1620
- input: {
1621
- json: {
1622
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1623
- label?: string | undefined;
1624
- configDir: string;
1625
- };
1626
- };
1627
- } | {
1628
- output: {
1629
- error: string;
1630
- };
1631
- outputFormat: "json";
1632
- status: 500;
1633
- input: {
1634
- json: {
1635
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1636
- label?: string | undefined;
1637
- configDir: string;
1638
- };
1639
- };
1640
1640
  };
1641
1641
  };
1642
1642
  } & {
@@ -1663,7 +1663,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1663
1663
  error: string;
1664
1664
  };
1665
1665
  outputFormat: "json";
1666
- status: 400;
1666
+ status: 409;
1667
1667
  input: {
1668
1668
  param: {
1669
1669
  id: string;
@@ -1679,7 +1679,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1679
1679
  error: string;
1680
1680
  };
1681
1681
  outputFormat: "json";
1682
- status: 404;
1682
+ status: 400;
1683
1683
  input: {
1684
1684
  param: {
1685
1685
  id: string;
@@ -1695,7 +1695,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1695
1695
  error: string;
1696
1696
  };
1697
1697
  outputFormat: "json";
1698
- status: 409;
1698
+ status: 404;
1699
1699
  input: {
1700
1700
  param: {
1701
1701
  id: string;
@@ -1801,7 +1801,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1801
1801
  error: string;
1802
1802
  };
1803
1803
  outputFormat: "json";
1804
- status: 404;
1804
+ status: 409;
1805
1805
  input: {
1806
1806
  param: {
1807
1807
  id: string;
@@ -1816,7 +1816,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1816
1816
  error: string;
1817
1817
  };
1818
1818
  outputFormat: "json";
1819
- status: 409;
1819
+ status: 404;
1820
1820
  input: {
1821
1821
  param: {
1822
1822
  id: string;
@@ -1869,7 +1869,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1869
1869
  error: string;
1870
1870
  };
1871
1871
  outputFormat: "json";
1872
- status: 404;
1872
+ status: 409;
1873
1873
  input: {
1874
1874
  param: {
1875
1875
  id: string;
@@ -1880,7 +1880,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1880
1880
  error: string;
1881
1881
  };
1882
1882
  outputFormat: "json";
1883
- status: 409;
1883
+ status: 404;
1884
1884
  input: {
1885
1885
  param: {
1886
1886
  id: string;
@@ -1928,7 +1928,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1928
1928
  error: string;
1929
1929
  };
1930
1930
  outputFormat: "json";
1931
- status: 400;
1931
+ status: 409;
1932
1932
  input: {
1933
1933
  param: {
1934
1934
  id: string;
@@ -1960,7 +1960,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1960
1960
  error: string;
1961
1961
  };
1962
1962
  outputFormat: "json";
1963
- status: 409;
1963
+ status: 400;
1964
1964
  input: {
1965
1965
  param: {
1966
1966
  id: string;
@@ -1997,7 +1997,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1997
1997
  error: string;
1998
1998
  };
1999
1999
  outputFormat: "json";
2000
- status: 400;
2000
+ status: 409;
2001
2001
  input: {
2002
2002
  json: {
2003
2003
  projectId: string | null;
@@ -2023,7 +2023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2023
2023
  error: string;
2024
2024
  };
2025
2025
  outputFormat: "json";
2026
- status: 409;
2026
+ status: 400;
2027
2027
  input: {
2028
2028
  json: {
2029
2029
  projectId: string | null;
@@ -2095,7 +2095,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2095
2095
  error: string;
2096
2096
  };
2097
2097
  outputFormat: "json";
2098
- status: 404;
2098
+ status: 409;
2099
2099
  input: {
2100
2100
  param: {
2101
2101
  id: string;
@@ -2106,7 +2106,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2106
2106
  error: string;
2107
2107
  };
2108
2108
  outputFormat: "json";
2109
- status: 409;
2109
+ status: 500;
2110
2110
  input: {
2111
2111
  param: {
2112
2112
  id: string;
@@ -2117,7 +2117,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2117
2117
  error: string;
2118
2118
  };
2119
2119
  outputFormat: "json";
2120
- status: 500;
2120
+ status: 404;
2121
2121
  input: {
2122
2122
  param: {
2123
2123
  id: string;
@@ -2878,7 +2878,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2878
2878
  error: string;
2879
2879
  };
2880
2880
  outputFormat: "json";
2881
- status: 400;
2881
+ status: 409;
2882
2882
  input: {
2883
2883
  json: {
2884
2884
  target: string;
@@ -2889,7 +2889,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2889
2889
  error: string;
2890
2890
  };
2891
2891
  outputFormat: "json";
2892
- status: 409;
2892
+ status: 400;
2893
2893
  input: {
2894
2894
  json: {
2895
2895
  target: string;
@@ -2948,12 +2948,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2948
2948
  }, "/"> | import("hono/types").MergeSchemaPath<{
2949
2949
  "/runs/:id/events": {
2950
2950
  $get: {
2951
- output: {
2952
- error: string;
2953
- code?: "invalid_input" | undefined;
2954
- };
2955
- outputFormat: "json";
2956
- status: 400;
2951
+ output: {};
2952
+ outputFormat: string;
2953
+ status: import("hono/utils/http-status").StatusCode;
2957
2954
  input: {
2958
2955
  param: {
2959
2956
  id: string;
@@ -2965,9 +2962,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2965
2962
  };
2966
2963
  };
2967
2964
  } | {
2968
- output: {};
2969
- outputFormat: string;
2970
- status: import("hono/utils/http-status").StatusCode;
2965
+ output: {
2966
+ error: string;
2967
+ code?: "invalid_input" | undefined;
2968
+ };
2969
+ outputFormat: "json";
2970
+ status: 400;
2971
2971
  input: {
2972
2972
  param: {
2973
2973
  id: string;
@@ -3019,10 +3019,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3019
3019
  "/config": {
3020
3020
  $put: {
3021
3021
  output: {
3022
- error: string;
3022
+ baseBranch: string | null;
3023
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3024
+ systemPrompt: string | null;
3025
+ defaultModels: {
3026
+ claude?: string | undefined;
3027
+ codex?: string | undefined;
3028
+ cursor?: string | undefined;
3029
+ opencode?: string | undefined;
3030
+ pi?: string | undefined;
3031
+ };
3032
+ modelsLocked: boolean;
3033
+ maxParallel: number;
3034
+ memoryLimitMb: number | null;
3035
+ worktreeRetention: number;
3036
+ liveTitleUpdates: boolean | null;
3037
+ reviewGate: boolean | null;
3023
3038
  };
3024
3039
  outputFormat: "json";
3025
- status: 409;
3040
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3026
3041
  input: {
3027
3042
  json: {
3028
3043
  baseBranch?: string | null | undefined;
@@ -3047,7 +3062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3047
3062
  error: string;
3048
3063
  };
3049
3064
  outputFormat: "json";
3050
- status: 500;
3065
+ status: 409;
3051
3066
  input: {
3052
3067
  json: {
3053
3068
  baseBranch?: string | null | undefined;
@@ -3069,25 +3084,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3069
3084
  };
3070
3085
  } | {
3071
3086
  output: {
3072
- baseBranch: string | null;
3073
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3074
- systemPrompt: string | null;
3075
- defaultModels: {
3076
- claude?: string | undefined;
3077
- codex?: string | undefined;
3078
- cursor?: string | undefined;
3079
- opencode?: string | undefined;
3080
- pi?: string | undefined;
3081
- };
3082
- modelsLocked: boolean;
3083
- maxParallel: number;
3084
- memoryLimitMb: number | null;
3085
- worktreeRetention: number;
3086
- liveTitleUpdates: boolean | null;
3087
- reviewGate: boolean | null;
3087
+ error: string;
3088
3088
  };
3089
3089
  outputFormat: "json";
3090
- status: import("hono/utils/http-status").ContentfulStatusCode;
3090
+ status: 500;
3091
3091
  input: {
3092
3092
  json: {
3093
3093
  baseBranch?: string | null | undefined;
@@ -3112,18 +3112,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3112
3112
  }, "/"> | import("hono/types").MergeSchemaPath<{
3113
3113
  "/skills": {
3114
3114
  $get: {
3115
- output: {
3116
- error: string;
3117
- code?: "invalid_input" | undefined;
3118
- };
3119
- outputFormat: "json";
3120
- status: 400;
3121
- input: {
3122
- query: {
3123
- wait?: string | undefined;
3124
- };
3125
- };
3126
- } | {
3127
3115
  output: {
3128
3116
  name: string;
3129
3117
  description?: string;
@@ -3146,11 +3134,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3146
3134
  wait?: string | undefined;
3147
3135
  };
3148
3136
  };
3149
- };
3150
- };
3151
- } & {
3152
- "/skills/importable": {
3153
- $get: {
3137
+ } | {
3154
3138
  output: {
3155
3139
  error: string;
3156
3140
  code?: "invalid_input" | undefined;
@@ -3162,7 +3146,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3162
3146
  wait?: string | undefined;
3163
3147
  };
3164
3148
  };
3165
- } | {
3149
+ };
3150
+ };
3151
+ } & {
3152
+ "/skills/importable": {
3153
+ $get: {
3166
3154
  output: {
3167
3155
  name: string;
3168
3156
  description?: string | undefined;
@@ -3174,6 +3162,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3174
3162
  wait?: string | undefined;
3175
3163
  };
3176
3164
  };
3165
+ } | {
3166
+ output: {
3167
+ error: string;
3168
+ code?: "invalid_input" | undefined;
3169
+ };
3170
+ outputFormat: "json";
3171
+ status: 400;
3172
+ input: {
3173
+ query: {
3174
+ wait?: string | undefined;
3175
+ };
3176
+ };
3177
3177
  };
3178
3178
  };
3179
3179
  } & {
@@ -3227,7 +3227,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3227
3227
  error: string;
3228
3228
  };
3229
3229
  outputFormat: "json";
3230
- status: 404;
3230
+ status: 409;
3231
3231
  input: {
3232
3232
  param: {
3233
3233
  id: string;
@@ -3235,10 +3235,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3235
3235
  };
3236
3236
  } | {
3237
3237
  output: {
3238
- error: string;
3238
+ removed: true;
3239
3239
  };
3240
3240
  outputFormat: "json";
3241
- status: 409;
3241
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3242
3242
  input: {
3243
3243
  param: {
3244
3244
  id: string;
@@ -3246,10 +3246,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3246
3246
  };
3247
3247
  } | {
3248
3248
  output: {
3249
- removed: true;
3249
+ error: string;
3250
3250
  };
3251
3251
  outputFormat: "json";
3252
- status: import("hono/utils/http-status").ContentfulStatusCode;
3252
+ status: 404;
3253
3253
  input: {
3254
3254
  param: {
3255
3255
  id: string;
@@ -3260,6 +3260,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3260
3260
  } & {
3261
3261
  "/todos/:id/start": {
3262
3262
  $post: {
3263
+ output: {
3264
+ error: string;
3265
+ };
3266
+ outputFormat: "json";
3267
+ status: 409;
3268
+ input: {
3269
+ json: {
3270
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3271
+ model?: string | undefined;
3272
+ effort?: string | undefined;
3273
+ prompt?: string | undefined;
3274
+ } | undefined;
3275
+ } & {
3276
+ param: {
3277
+ id: string;
3278
+ };
3279
+ };
3280
+ } | {
3263
3281
  output: {
3264
3282
  run: {
3265
3283
  id: string;
@@ -3707,24 +3725,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3707
3725
  id: string;
3708
3726
  };
3709
3727
  };
3710
- } | {
3711
- output: {
3712
- error: string;
3713
- };
3714
- outputFormat: "json";
3715
- status: 404;
3716
- input: {
3717
- json: {
3718
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3719
- model?: string | undefined;
3720
- effort?: string | undefined;
3721
- prompt?: string | undefined;
3722
- } | undefined;
3723
- } & {
3724
- param: {
3725
- id: string;
3726
- };
3727
- };
3728
3728
  } | {
3729
3729
  output: {
3730
3730
  error: string;
@@ -3748,7 +3748,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3748
3748
  error: string;
3749
3749
  };
3750
3750
  outputFormat: "json";
3751
- status: 409;
3751
+ status: 404;
3752
3752
  input: {
3753
3753
  json: {
3754
3754
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3851,10 +3851,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3851
3851
  "/agent-config/:id": {
3852
3852
  $put: {
3853
3853
  output: {
3854
- error: string;
3854
+ id: string;
3855
+ path: string;
3856
+ exists: boolean;
3857
+ content: string;
3858
+ version: string | null;
3855
3859
  };
3856
3860
  outputFormat: "json";
3857
- status: 404;
3861
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3858
3862
  input: {
3859
3863
  json: {
3860
3864
  content: string;
@@ -3867,14 +3871,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3867
3871
  };
3868
3872
  } | {
3869
3873
  output: {
3870
- id: string;
3871
- path: string;
3872
- exists: boolean;
3873
- content: string;
3874
- version: string | null;
3874
+ error: string;
3875
3875
  };
3876
3876
  outputFormat: "json";
3877
- status: import("hono/utils/http-status").ContentfulStatusCode;
3877
+ status: 404;
3878
3878
  input: {
3879
3879
  json: {
3880
3880
  content: string;
@@ -3944,11 +3944,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3944
3944
  "/workflows": {
3945
3945
  $post: {
3946
3946
  output: {
3947
- path: string;
3948
- name: string;
3947
+ error: string;
3949
3948
  };
3950
3949
  outputFormat: "json";
3951
- status: 201;
3950
+ status: 400;
3952
3951
  input: {
3953
3952
  json: {
3954
3953
  name: string;
@@ -3977,9 +3976,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3977
3976
  } | {
3978
3977
  output: {
3979
3978
  error: string;
3979
+ exists: true;
3980
3980
  };
3981
3981
  outputFormat: "json";
3982
- status: 400;
3982
+ status: 409;
3983
3983
  input: {
3984
3984
  json: {
3985
3985
  name: string;
@@ -4008,10 +4008,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4008
4008
  } | {
4009
4009
  output: {
4010
4010
  error: string;
4011
- exists: true;
4012
4011
  };
4013
4012
  outputFormat: "json";
4014
- status: 409;
4013
+ status: 500;
4015
4014
  input: {
4016
4015
  json: {
4017
4016
  name: string;
@@ -4039,10 +4038,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4039
4038
  };
4040
4039
  } | {
4041
4040
  output: {
4042
- error: string;
4041
+ path: string;
4042
+ name: string;
4043
4043
  };
4044
4044
  outputFormat: "json";
4045
- status: 500;
4045
+ status: 201;
4046
4046
  input: {
4047
4047
  json: {
4048
4048
  name: string;
@@ -4077,7 +4077,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4077
4077
  error: string;
4078
4078
  };
4079
4079
  outputFormat: "json";
4080
- status: 400;
4080
+ status: 404;
4081
4081
  input: {
4082
4082
  param: {
4083
4083
  name: string;
@@ -4088,7 +4088,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4088
4088
  error: string;
4089
4089
  };
4090
4090
  outputFormat: "json";
4091
- status: 404;
4091
+ status: 400;
4092
4092
  input: {
4093
4093
  param: {
4094
4094
  name: string;
@@ -4213,12 +4213,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4213
4213
  } & {
4214
4214
  "/repo/commit/:sha": {
4215
4215
  $get: {
4216
- output: {
4217
- error: string;
4218
- code?: "invalid_input" | undefined;
4219
- };
4220
- outputFormat: "json";
4221
- status: 400;
4216
+ output: string;
4217
+ outputFormat: "text";
4218
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4222
4219
  input: {
4223
4220
  query: {
4224
4221
  structured?: string | undefined;
@@ -4231,9 +4228,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4231
4228
  } | {
4232
4229
  output: {
4233
4230
  error: string;
4231
+ code?: "invalid_input" | undefined;
4234
4232
  };
4235
4233
  outputFormat: "json";
4236
- status: 409;
4234
+ status: 400;
4237
4235
  input: {
4238
4236
  query: {
4239
4237
  structured?: string | undefined;
@@ -4277,9 +4275,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4277
4275
  };
4278
4276
  };
4279
4277
  } | {
4280
- output: string;
4281
- outputFormat: "text";
4282
- status: import("hono/utils/http-status").ContentfulStatusCode;
4278
+ output: {
4279
+ error: string;
4280
+ };
4281
+ outputFormat: "json";
4282
+ status: 409;
4283
4283
  input: {
4284
4284
  query: {
4285
4285
  structured?: string | undefined;
@@ -4294,13 +4294,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4294
4294
  } & {
4295
4295
  "/repo/changes": {
4296
4296
  $get: {
4297
- output: {
4298
- error: string;
4299
- };
4300
- outputFormat: "json";
4301
- status: 409;
4302
- input: {};
4303
- } | {
4304
4297
  output: {
4305
4298
  files: {
4306
4299
  path: string;
@@ -4325,6 +4318,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4325
4318
  outputFormat: "json";
4326
4319
  status: import("hono/utils/http-status").ContentfulStatusCode;
4327
4320
  input: {};
4321
+ } | {
4322
+ output: {
4323
+ error: string;
4324
+ };
4325
+ outputFormat: "json";
4326
+ status: 409;
4327
+ input: {};
4328
4328
  };
4329
4329
  };
4330
4330
  } & {
@@ -4349,12 +4349,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4349
4349
  "/repo/pull": {
4350
4350
  $post: {
4351
4351
  output: {
4352
- branch: string;
4353
- pulled: true;
4354
- summary: string;
4352
+ error: string;
4355
4353
  };
4356
4354
  outputFormat: "json";
4357
- status: 200;
4355
+ status: 409;
4358
4356
  input: {
4359
4357
  json: {
4360
4358
  branch?: string | undefined;
@@ -4363,10 +4361,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4363
4361
  };
4364
4362
  } | {
4365
4363
  output: {
4366
- error: string;
4364
+ branch: string;
4365
+ pulled: true;
4366
+ summary: string;
4367
4367
  };
4368
4368
  outputFormat: "json";
4369
- status: 409;
4369
+ status: 200;
4370
4370
  input: {
4371
4371
  json: {
4372
4372
  branch?: string | undefined;
@@ -5084,28 +5084,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5084
5084
  "/automations": {
5085
5085
  $post: {
5086
5086
  output: {
5087
- automation: {
5088
- [x: string]: import("hono/utils/types").JSONValue;
5089
- id: string;
5090
- revision: number;
5087
+ error: string;
5088
+ };
5089
+ outputFormat: "json";
5090
+ status: 400;
5091
+ input: {
5092
+ json: {
5091
5093
  name: string;
5092
5094
  description?: string | undefined;
5093
- enabled: boolean;
5095
+ enabled?: boolean | undefined;
5094
5096
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5095
5097
  intervalSeconds: number;
5096
5098
  filters: {
5097
- [x: string]: import("hono/utils/types").JSONValue;
5099
+ [x: string]: unknown;
5098
5100
  authors?: string[] | undefined;
5099
5101
  assignees?: string[] | undefined;
5100
5102
  allLabels?: string[] | undefined;
5101
5103
  anyLabels?: string[] | undefined;
5102
5104
  excludeLabels?: string[] | undefined;
5103
5105
  changedLabels?: string[] | undefined;
5104
- lookbackDays: number;
5105
- maxRecords: number;
5106
+ lookbackDays?: number | undefined;
5107
+ maxRecords?: number | undefined;
5106
5108
  };
5107
5109
  task: {
5108
- [x: string]: import("hono/utils/types").JSONValue;
5110
+ [x: string]: unknown;
5109
5111
  prompt: string;
5110
5112
  workflow?: string | undefined;
5111
5113
  steps?: {
@@ -5122,7 +5124,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5122
5124
  command?: string | undefined;
5123
5125
  onFail?: {
5124
5126
  retry: string;
5125
- max: number;
5127
+ max?: number | undefined;
5126
5128
  } | undefined;
5127
5129
  }[] | undefined;
5128
5130
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5134,32 +5136,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5134
5136
  autonomous?: boolean | undefined;
5135
5137
  systemPrompt?: string | undefined;
5136
5138
  };
5137
- createdAt: string;
5138
- updatedAt: string;
5139
+ enable?: boolean | undefined;
5139
5140
  };
5140
5141
  };
5141
- outputFormat: "json";
5142
- status: 201;
5143
- input: {
5144
- json: {
5142
+ } | {
5143
+ output: {
5144
+ automation: {
5145
+ [x: string]: import("hono/utils/types").JSONValue;
5146
+ id: string;
5147
+ revision: number;
5145
5148
  name: string;
5146
5149
  description?: string | undefined;
5147
- enabled?: boolean | undefined;
5150
+ enabled: boolean;
5148
5151
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5149
5152
  intervalSeconds: number;
5150
5153
  filters: {
5151
- [x: string]: unknown;
5154
+ [x: string]: import("hono/utils/types").JSONValue;
5152
5155
  authors?: string[] | undefined;
5153
5156
  assignees?: string[] | undefined;
5154
5157
  allLabels?: string[] | undefined;
5155
5158
  anyLabels?: string[] | undefined;
5156
5159
  excludeLabels?: string[] | undefined;
5157
5160
  changedLabels?: string[] | undefined;
5158
- lookbackDays?: number | undefined;
5159
- maxRecords?: number | undefined;
5161
+ lookbackDays: number;
5162
+ maxRecords: number;
5160
5163
  };
5161
5164
  task: {
5162
- [x: string]: unknown;
5165
+ [x: string]: import("hono/utils/types").JSONValue;
5163
5166
  prompt: string;
5164
5167
  workflow?: string | undefined;
5165
5168
  steps?: {
@@ -5176,7 +5179,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5176
5179
  command?: string | undefined;
5177
5180
  onFail?: {
5178
5181
  retry: string;
5179
- max?: number | undefined;
5182
+ max: number;
5180
5183
  } | undefined;
5181
5184
  }[] | undefined;
5182
5185
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5188,15 +5191,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5188
5191
  autonomous?: boolean | undefined;
5189
5192
  systemPrompt?: string | undefined;
5190
5193
  };
5191
- enable?: boolean | undefined;
5194
+ createdAt: string;
5195
+ updatedAt: string;
5192
5196
  };
5193
5197
  };
5194
- } | {
5195
- output: {
5196
- error: string;
5197
- };
5198
5198
  outputFormat: "json";
5199
- status: 400;
5199
+ status: 201;
5200
5200
  input: {
5201
5201
  json: {
5202
5202
  name: string;
@@ -5800,10 +5800,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5800
5800
  "/automations/:id/check": {
5801
5801
  $post: {
5802
5802
  output: {
5803
- checkId: string;
5803
+ error: string;
5804
5804
  };
5805
5805
  outputFormat: "json";
5806
- status: 202;
5806
+ status: 404;
5807
5807
  input: {
5808
5808
  json: {
5809
5809
  mode: "execute" | "preview";
@@ -5815,10 +5815,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5815
5815
  };
5816
5816
  } | {
5817
5817
  output: {
5818
- error: string;
5818
+ checkId: string;
5819
5819
  };
5820
5820
  outputFormat: "json";
5821
- status: 404;
5821
+ status: 202;
5822
5822
  input: {
5823
5823
  json: {
5824
5824
  mode: "execute" | "preview";
@@ -5892,11 +5892,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5892
5892
  "/automation-log/:receiptId/retry": {
5893
5893
  $post: {
5894
5894
  output: {
5895
- receiptId: string;
5896
- runId: string;
5895
+ error: string;
5897
5896
  };
5898
5897
  outputFormat: "json";
5899
- status: 202;
5898
+ status: 404;
5900
5899
  input: {
5901
5900
  param: {
5902
5901
  receiptId: string;
@@ -5907,7 +5906,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5907
5906
  error: string;
5908
5907
  };
5909
5908
  outputFormat: "json";
5910
- status: 404;
5909
+ status: 409;
5911
5910
  input: {
5912
5911
  param: {
5913
5912
  receiptId: string;
@@ -5915,10 +5914,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5915
5914
  };
5916
5915
  } | {
5917
5916
  output: {
5918
- error: string;
5917
+ receiptId: string;
5918
+ runId: string;
5919
5919
  };
5920
5920
  outputFormat: "json";
5921
- status: 409;
5921
+ status: 202;
5922
5922
  input: {
5923
5923
  param: {
5924
5924
  receiptId: string;
@@ -6495,20 +6495,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6495
6495
  "/runs/:id/worker-destroy": {
6496
6496
  $post: {
6497
6497
  output: {
6498
- workerId: string;
6499
- state: "complete" | "incomplete";
6500
- deleted?: ({
6501
- kind: "worktree";
6502
- path: string;
6503
- } | {
6504
- kind: "branch";
6505
- ref: string;
6506
- })[] | undefined;
6507
- remaining: ("branch" | "process" | "worktree")[];
6508
- error?: string | undefined;
6498
+ error: string;
6499
+ code?: "invalid_input" | undefined;
6509
6500
  };
6510
6501
  outputFormat: "json";
6511
- status: 200;
6502
+ status: 400;
6512
6503
  input: {
6513
6504
  query: {
6514
6505
  [x: string]: string | string[];
@@ -6522,11 +6513,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6522
6513
  };
6523
6514
  } | {
6524
6515
  output: {
6525
- error: string;
6526
- code?: "invalid_input" | undefined;
6516
+ workerId: string;
6517
+ state: "complete" | "incomplete";
6518
+ deleted?: ({
6519
+ kind: "worktree";
6520
+ path: string;
6521
+ } | {
6522
+ kind: "branch";
6523
+ ref: string;
6524
+ })[] | undefined;
6525
+ remaining: ("branch" | "process" | "worktree")[];
6526
+ error?: string | undefined;
6527
6527
  };
6528
6528
  outputFormat: "json";
6529
- status: 400;
6529
+ status: 200;
6530
6530
  input: {
6531
6531
  query: {
6532
6532
  [x: string]: string | string[];
@@ -6610,21 +6610,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6610
6610
  } & {
6611
6611
  "/runs/:id/archive": {
6612
6612
  $post: {
6613
- output: {
6614
- error: string;
6615
- };
6616
- outputFormat: "json";
6617
- status: 404;
6618
- input: {
6619
- json: {
6620
- archived?: boolean | undefined;
6621
- };
6622
- } & {
6623
- param: {
6624
- id: string;
6625
- };
6626
- };
6627
- } | {
6628
6613
  output: {
6629
6614
  id: string;
6630
6615
  title: string;
@@ -7067,32 +7052,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7067
7052
  id: string;
7068
7053
  };
7069
7054
  };
7070
- };
7071
- };
7072
- } & {
7073
- "/runs/:id/pin": {
7074
- $post: {
7055
+ } | {
7075
7056
  output: {
7076
7057
  error: string;
7077
- code?: "invalid_input" | undefined;
7078
7058
  };
7079
7059
  outputFormat: "json";
7080
- status: 400;
7060
+ status: 404;
7081
7061
  input: {
7082
- param: {
7083
- id: string;
7062
+ json: {
7063
+ archived?: boolean | undefined;
7084
7064
  };
7085
7065
  } & {
7086
- json: {
7087
- pinned?: boolean | undefined;
7066
+ param: {
7067
+ id: string;
7088
7068
  };
7089
7069
  };
7090
- } | {
7070
+ };
7071
+ };
7072
+ } & {
7073
+ "/runs/:id/pin": {
7074
+ $post: {
7091
7075
  output: {
7092
7076
  error: string;
7077
+ code?: "invalid_input" | undefined;
7093
7078
  };
7094
7079
  outputFormat: "json";
7095
- status: 404;
7080
+ status: 400;
7096
7081
  input: {
7097
7082
  param: {
7098
7083
  id: string;
@@ -7545,6 +7530,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7545
7530
  pinned?: boolean | undefined;
7546
7531
  };
7547
7532
  };
7533
+ } | {
7534
+ output: {
7535
+ error: string;
7536
+ };
7537
+ outputFormat: "json";
7538
+ status: 404;
7539
+ input: {
7540
+ param: {
7541
+ id: string;
7542
+ };
7543
+ } & {
7544
+ json: {
7545
+ pinned?: boolean | undefined;
7546
+ };
7547
+ };
7548
7548
  };
7549
7549
  };
7550
7550
  } & {
@@ -7576,17 +7576,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7576
7576
  } & {
7577
7577
  "/runs/:id/read": {
7578
7578
  $post: {
7579
- output: {
7580
- error: string;
7581
- };
7582
- outputFormat: "json";
7583
- status: 404;
7584
- input: {
7585
- param: {
7586
- id: string;
7587
- };
7588
- };
7589
- } | {
7590
7579
  output: {
7591
7580
  id: string;
7592
7581
  title: string;
@@ -8025,11 +8014,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8025
8014
  id: string;
8026
8015
  };
8027
8016
  };
8028
- };
8029
- };
8030
- } & {
8031
- "/runs/:id/unread": {
8032
- $post: {
8017
+ } | {
8033
8018
  output: {
8034
8019
  error: string;
8035
8020
  };
@@ -8040,7 +8025,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8040
8025
  id: string;
8041
8026
  };
8042
8027
  };
8043
- } | {
8028
+ };
8029
+ };
8030
+ } & {
8031
+ "/runs/:id/unread": {
8032
+ $post: {
8044
8033
  output: {
8045
8034
  id: string;
8046
8035
  title: string;
@@ -8479,6 +8468,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8479
8468
  id: string;
8480
8469
  };
8481
8470
  };
8471
+ } | {
8472
+ output: {
8473
+ error: string;
8474
+ };
8475
+ outputFormat: "json";
8476
+ status: 404;
8477
+ input: {
8478
+ param: {
8479
+ id: string;
8480
+ };
8481
+ };
8482
8482
  };
8483
8483
  };
8484
8484
  } & {
@@ -9427,6 +9427,138 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9427
9427
  clientRequestId?: string | undefined;
9428
9428
  };
9429
9429
  };
9430
+ } | {
9431
+ output: {
9432
+ error: string;
9433
+ };
9434
+ outputFormat: "json";
9435
+ status: 409;
9436
+ input: {
9437
+ json: {
9438
+ workflow?: string | undefined;
9439
+ steps?: {
9440
+ id: string;
9441
+ name?: string | undefined;
9442
+ prompt?: string | undefined;
9443
+ skill?: string | undefined;
9444
+ model?: string | undefined;
9445
+ effort?: string | undefined;
9446
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9447
+ agentProfile?: string | undefined;
9448
+ allowedTools?: string[] | undefined;
9449
+ bashAllowlist?: string[] | undefined;
9450
+ command?: string | undefined;
9451
+ onFail?: {
9452
+ retry: string;
9453
+ max?: number | undefined;
9454
+ } | undefined;
9455
+ }[] | undefined;
9456
+ task: string;
9457
+ model?: string | undefined;
9458
+ effort?: string | undefined;
9459
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9460
+ agentProfile?: string | undefined;
9461
+ variants?: number | undefined;
9462
+ worktree?: boolean | undefined;
9463
+ autonomous?: boolean | undefined;
9464
+ generateFollowups?: boolean | undefined;
9465
+ systemPrompt?: string | undefined;
9466
+ images?: {
9467
+ mediaType: string;
9468
+ data: string;
9469
+ }[] | undefined;
9470
+ todoId?: string | undefined;
9471
+ clientRequestId?: string | undefined;
9472
+ };
9473
+ };
9474
+ } | {
9475
+ output: {
9476
+ error: string;
9477
+ };
9478
+ outputFormat: "json";
9479
+ status: 400;
9480
+ input: {
9481
+ json: {
9482
+ workflow?: string | undefined;
9483
+ steps?: {
9484
+ id: string;
9485
+ name?: string | undefined;
9486
+ prompt?: string | undefined;
9487
+ skill?: string | undefined;
9488
+ model?: string | undefined;
9489
+ effort?: string | undefined;
9490
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9491
+ agentProfile?: string | undefined;
9492
+ allowedTools?: string[] | undefined;
9493
+ bashAllowlist?: string[] | undefined;
9494
+ command?: string | undefined;
9495
+ onFail?: {
9496
+ retry: string;
9497
+ max?: number | undefined;
9498
+ } | undefined;
9499
+ }[] | undefined;
9500
+ task: string;
9501
+ model?: string | undefined;
9502
+ effort?: string | undefined;
9503
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9504
+ agentProfile?: string | undefined;
9505
+ variants?: number | undefined;
9506
+ worktree?: boolean | undefined;
9507
+ autonomous?: boolean | undefined;
9508
+ generateFollowups?: boolean | undefined;
9509
+ systemPrompt?: string | undefined;
9510
+ images?: {
9511
+ mediaType: string;
9512
+ data: string;
9513
+ }[] | undefined;
9514
+ todoId?: string | undefined;
9515
+ clientRequestId?: string | undefined;
9516
+ };
9517
+ };
9518
+ } | {
9519
+ output: {
9520
+ error: string;
9521
+ };
9522
+ outputFormat: "json";
9523
+ status: 404;
9524
+ input: {
9525
+ json: {
9526
+ workflow?: string | undefined;
9527
+ steps?: {
9528
+ id: string;
9529
+ name?: string | undefined;
9530
+ prompt?: string | undefined;
9531
+ skill?: string | undefined;
9532
+ model?: string | undefined;
9533
+ effort?: string | undefined;
9534
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9535
+ agentProfile?: string | undefined;
9536
+ allowedTools?: string[] | undefined;
9537
+ bashAllowlist?: string[] | undefined;
9538
+ command?: string | undefined;
9539
+ onFail?: {
9540
+ retry: string;
9541
+ max?: number | undefined;
9542
+ } | undefined;
9543
+ }[] | undefined;
9544
+ task: string;
9545
+ model?: string | undefined;
9546
+ effort?: string | undefined;
9547
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9548
+ agentProfile?: string | undefined;
9549
+ variants?: number | undefined;
9550
+ worktree?: boolean | undefined;
9551
+ autonomous?: boolean | undefined;
9552
+ generateFollowups?: boolean | undefined;
9553
+ systemPrompt?: string | undefined;
9554
+ images?: {
9555
+ mediaType: string;
9556
+ data: string;
9557
+ }[] | undefined;
9558
+ todoId?: string | undefined;
9559
+ clientRequestId?: string | undefined;
9560
+ };
9561
+ };
9430
9562
  } | {
9431
9563
  output: {
9432
9564
  runs: {
@@ -9901,233 +10033,90 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9901
10033
  clientRequestId?: string | undefined;
9902
10034
  };
9903
10035
  };
9904
- } | {
10036
+ };
10037
+ };
10038
+ } & {
10039
+ "/runs/:id": {
10040
+ $get: {
9905
10041
  output: {
9906
- error: string;
9907
- };
9908
- outputFormat: "json";
9909
- status: 400;
9910
- input: {
9911
- json: {
9912
- workflow?: string | undefined;
9913
- steps?: {
9914
- id: string;
9915
- name?: string | undefined;
9916
- prompt?: string | undefined;
9917
- skill?: string | undefined;
9918
- model?: string | undefined;
9919
- effort?: string | undefined;
9920
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9921
- agentProfile?: string | undefined;
9922
- allowedTools?: string[] | undefined;
9923
- bashAllowlist?: string[] | undefined;
9924
- command?: string | undefined;
9925
- onFail?: {
9926
- retry: string;
9927
- max?: number | undefined;
9928
- } | undefined;
9929
- }[] | undefined;
9930
- task: string;
9931
- model?: string | undefined;
9932
- effort?: string | undefined;
9933
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9934
- agentProfile?: string | undefined;
9935
- variants?: number | undefined;
9936
- worktree?: boolean | undefined;
9937
- autonomous?: boolean | undefined;
9938
- generateFollowups?: boolean | undefined;
9939
- systemPrompt?: string | undefined;
9940
- images?: {
9941
- mediaType: string;
9942
- data: string;
9943
- }[] | undefined;
9944
- todoId?: string | undefined;
9945
- clientRequestId?: string | undefined;
9946
- };
9947
- };
9948
- } | {
9949
- output: {
9950
- error: string;
9951
- };
9952
- outputFormat: "json";
9953
- status: 404;
9954
- input: {
9955
- json: {
9956
- workflow?: string | undefined;
9957
- steps?: {
9958
- id: string;
9959
- name?: string | undefined;
9960
- prompt?: string | undefined;
9961
- skill?: string | undefined;
9962
- model?: string | undefined;
9963
- effort?: string | undefined;
9964
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9965
- agentProfile?: string | undefined;
9966
- allowedTools?: string[] | undefined;
9967
- bashAllowlist?: string[] | undefined;
9968
- command?: string | undefined;
9969
- onFail?: {
9970
- retry: string;
9971
- max?: number | undefined;
9972
- } | undefined;
9973
- }[] | undefined;
9974
- task: string;
9975
- model?: string | undefined;
9976
- effort?: string | undefined;
9977
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9978
- agentProfile?: string | undefined;
9979
- variants?: number | undefined;
9980
- worktree?: boolean | undefined;
9981
- autonomous?: boolean | undefined;
9982
- generateFollowups?: boolean | undefined;
9983
- systemPrompt?: string | undefined;
9984
- images?: {
9985
- mediaType: string;
9986
- data: string;
9987
- }[] | undefined;
9988
- todoId?: string | undefined;
9989
- clientRequestId?: string | undefined;
9990
- };
9991
- };
9992
- } | {
9993
- output: {
9994
- error: string;
9995
- };
9996
- outputFormat: "json";
9997
- status: 409;
9998
- input: {
9999
- json: {
10000
- workflow?: string | undefined;
10001
- steps?: {
10002
- id: string;
10003
- name?: string | undefined;
10004
- prompt?: string | undefined;
10005
- skill?: string | undefined;
10006
- model?: string | undefined;
10007
- effort?: string | undefined;
10008
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10009
- agentProfile?: string | undefined;
10010
- allowedTools?: string[] | undefined;
10011
- bashAllowlist?: string[] | undefined;
10012
- command?: string | undefined;
10013
- onFail?: {
10014
- retry: string;
10015
- max?: number | undefined;
10016
- } | undefined;
10017
- }[] | undefined;
10018
- task: string;
10019
- model?: string | undefined;
10020
- effort?: string | undefined;
10021
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10022
- agentProfile?: string | undefined;
10023
- variants?: number | undefined;
10024
- worktree?: boolean | undefined;
10025
- autonomous?: boolean | undefined;
10026
- generateFollowups?: boolean | undefined;
10027
- systemPrompt?: string | undefined;
10028
- images?: {
10029
- mediaType: string;
10030
- data: string;
10031
- }[] | undefined;
10032
- todoId?: string | undefined;
10033
- clientRequestId?: string | undefined;
10034
- };
10035
- };
10036
- };
10037
- };
10038
- } & {
10039
- "/runs/:id": {
10040
- $get: {
10041
- output: {
10042
- error: string;
10043
- };
10044
- outputFormat: "json";
10045
- status: 404;
10046
- input: {
10047
- param: {
10048
- id: string;
10049
- };
10050
- };
10051
- } | {
10052
- output: {
10053
- id: string;
10054
- title: string;
10055
- titleSummary?: string | undefined;
10056
- diffStat?: {
10057
- adds: number;
10058
- dels: number;
10059
- files: number;
10060
- repointed?: boolean | undefined;
10061
- } | undefined;
10062
- workflow: string;
10063
- task: string;
10064
- queuedMessages?: {
10065
- id: string;
10066
- text: string;
10067
- images?: string[] | undefined;
10068
- createdAt: string;
10069
- }[] | undefined;
10070
- stopping?: boolean | undefined;
10071
- continuationMessage?: {
10072
- id: string;
10073
- text: string;
10074
- images?: string[] | undefined;
10075
- createdAt: string;
10076
- origin?: "human" | "lifecycle" | undefined;
10077
- agentInputId?: string | undefined;
10078
- } | undefined;
10079
- invalidAsk?: boolean | undefined;
10080
- delegation?: {
10081
- role: "invalid";
10082
- } | {
10083
- role: "root";
10084
- conversation?: {
10085
- messages: {
10086
- senderRunId: string;
10087
- recipientRunId: string;
10088
- kind: "follow-up" | "progress" | "reply" | "request";
10089
- requestId?: string | undefined;
10090
- id: string;
10091
- text: string;
10092
- createdAt: string;
10093
- deadline?: string | undefined;
10094
- requestHash: string;
10095
- state: "accepted" | "continuation-required" | "destroyed" | "late";
10096
- resumed?: true | undefined;
10097
- instruction?: string | undefined;
10098
- question?: {
10099
- questions: {
10100
- id?: string | undefined;
10101
- header: string;
10102
- question: string;
10103
- options: {
10104
- label: string;
10105
- description?: string | undefined;
10106
- }[];
10107
- multiSelect?: boolean | undefined;
10108
- }[];
10109
- } | undefined;
10110
- }[];
10111
- outcomes: {
10112
- requestId: string;
10113
- status: "cancelled" | "completed-without-reply" | "destroyed" | "failed" | "human-fallback" | "replied" | "sender-closed" | "timed-out";
10114
- observedAt: string;
10115
- replyId?: string | undefined;
10116
- }[];
10117
- } | undefined;
10118
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
10119
- receipts: {
10120
- requestId: string;
10121
- workerId: string;
10122
- requestHash: string;
10123
- deletion?: {
10124
- phase: "complete" | "pending";
10125
- revision: number;
10126
- resourceId: string;
10127
- generation: string;
10128
- } | undefined;
10129
- }[];
10130
- wait?: {
10042
+ id: string;
10043
+ title: string;
10044
+ titleSummary?: string | undefined;
10045
+ diffStat?: {
10046
+ adds: number;
10047
+ dels: number;
10048
+ files: number;
10049
+ repointed?: boolean | undefined;
10050
+ } | undefined;
10051
+ workflow: string;
10052
+ task: string;
10053
+ queuedMessages?: {
10054
+ id: string;
10055
+ text: string;
10056
+ images?: string[] | undefined;
10057
+ createdAt: string;
10058
+ }[] | undefined;
10059
+ stopping?: boolean | undefined;
10060
+ continuationMessage?: {
10061
+ id: string;
10062
+ text: string;
10063
+ images?: string[] | undefined;
10064
+ createdAt: string;
10065
+ origin?: "human" | "lifecycle" | undefined;
10066
+ agentInputId?: string | undefined;
10067
+ } | undefined;
10068
+ invalidAsk?: boolean | undefined;
10069
+ delegation?: {
10070
+ role: "invalid";
10071
+ } | {
10072
+ role: "root";
10073
+ conversation?: {
10074
+ messages: {
10075
+ senderRunId: string;
10076
+ recipientRunId: string;
10077
+ kind: "follow-up" | "progress" | "reply" | "request";
10078
+ requestId?: string | undefined;
10079
+ id: string;
10080
+ text: string;
10081
+ createdAt: string;
10082
+ deadline?: string | undefined;
10083
+ requestHash: string;
10084
+ state: "accepted" | "continuation-required" | "destroyed" | "late";
10085
+ resumed?: true | undefined;
10086
+ instruction?: string | undefined;
10087
+ question?: {
10088
+ questions: {
10089
+ id?: string | undefined;
10090
+ header: string;
10091
+ question: string;
10092
+ options: {
10093
+ label: string;
10094
+ description?: string | undefined;
10095
+ }[];
10096
+ multiSelect?: boolean | undefined;
10097
+ }[];
10098
+ } | undefined;
10099
+ }[];
10100
+ outcomes: {
10101
+ requestId: string;
10102
+ status: "cancelled" | "completed-without-reply" | "destroyed" | "failed" | "human-fallback" | "replied" | "sender-closed" | "timed-out";
10103
+ observedAt: string;
10104
+ replyId?: string | undefined;
10105
+ }[];
10106
+ } | undefined;
10107
+ permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
10108
+ receipts: {
10109
+ requestId: string;
10110
+ workerId: string;
10111
+ requestHash: string;
10112
+ deletion?: {
10113
+ phase: "complete" | "pending";
10114
+ revision: number;
10115
+ resourceId: string;
10116
+ generation: string;
10117
+ } | undefined;
10118
+ }[];
10119
+ wait?: {
10131
10120
  id: string;
10132
10121
  workerIds: string[];
10133
10122
  requestIds?: string[] | undefined;
@@ -10494,6 +10483,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10494
10483
  id: string;
10495
10484
  };
10496
10485
  };
10486
+ } | {
10487
+ output: {
10488
+ error: string;
10489
+ };
10490
+ outputFormat: "json";
10491
+ status: 404;
10492
+ input: {
10493
+ param: {
10494
+ id: string;
10495
+ };
10496
+ };
10497
10497
  };
10498
10498
  };
10499
10499
  } & {
@@ -10622,66 +10622,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10622
10622
  "/runs/:id": {
10623
10623
  $patch: {
10624
10624
  output: {
10625
- error: string;
10626
- };
10627
- outputFormat: "json";
10628
- status: 400;
10629
- input: {
10630
- json: {
10631
- title?: string | undefined;
10632
- task?: string | undefined;
10633
- };
10634
- } & {
10635
- param: {
10636
- id: string;
10637
- };
10638
- };
10639
- } | {
10640
- output: {
10641
- error: string;
10642
- };
10643
- outputFormat: "json";
10644
- status: 404;
10645
- input: {
10646
- json: {
10647
- title?: string | undefined;
10648
- task?: string | undefined;
10649
- };
10650
- } & {
10651
- param: {
10652
- id: string;
10653
- };
10654
- };
10655
- } | {
10656
- output: {
10657
- error: string;
10658
- };
10659
- outputFormat: "json";
10660
- status: 409;
10661
- input: {
10662
- json: {
10663
- title?: string | undefined;
10664
- task?: string | undefined;
10665
- };
10666
- } & {
10667
- param: {
10668
- id: string;
10669
- };
10670
- };
10671
- } | {
10672
- output: {
10673
- id: string;
10674
- title: string;
10675
- titleSummary?: string | undefined;
10676
- diffStat?: {
10677
- adds: number;
10678
- dels: number;
10679
- files: number;
10680
- repointed?: boolean | undefined;
10681
- } | undefined;
10682
- workflow: string;
10683
- task: string;
10684
- queuedMessages?: {
10625
+ id: string;
10626
+ title: string;
10627
+ titleSummary?: string | undefined;
10628
+ diffStat?: {
10629
+ adds: number;
10630
+ dels: number;
10631
+ files: number;
10632
+ repointed?: boolean | undefined;
10633
+ } | undefined;
10634
+ workflow: string;
10635
+ task: string;
10636
+ queuedMessages?: {
10685
10637
  id: string;
10686
10638
  text: string;
10687
10639
  images?: string[] | undefined;
@@ -11112,6 +11064,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11112
11064
  id: string;
11113
11065
  };
11114
11066
  };
11067
+ } | {
11068
+ output: {
11069
+ error: string;
11070
+ };
11071
+ outputFormat: "json";
11072
+ status: 404;
11073
+ input: {
11074
+ json: {
11075
+ title?: string | undefined;
11076
+ task?: string | undefined;
11077
+ };
11078
+ } & {
11079
+ param: {
11080
+ id: string;
11081
+ };
11082
+ };
11083
+ } | {
11084
+ output: {
11085
+ error: string;
11086
+ };
11087
+ outputFormat: "json";
11088
+ status: 400;
11089
+ input: {
11090
+ json: {
11091
+ title?: string | undefined;
11092
+ task?: string | undefined;
11093
+ };
11094
+ } & {
11095
+ param: {
11096
+ id: string;
11097
+ };
11098
+ };
11099
+ } | {
11100
+ output: {
11101
+ error: string;
11102
+ };
11103
+ outputFormat: "json";
11104
+ status: 409;
11105
+ input: {
11106
+ json: {
11107
+ title?: string | undefined;
11108
+ task?: string | undefined;
11109
+ };
11110
+ } & {
11111
+ param: {
11112
+ id: string;
11113
+ };
11114
+ };
11115
11115
  };
11116
11116
  };
11117
11117
  } & {
@@ -11147,7 +11147,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11147
11147
  error: string;
11148
11148
  };
11149
11149
  outputFormat: "json";
11150
- status: 400;
11150
+ status: 404;
11151
11151
  input: {
11152
11152
  json: {
11153
11153
  text?: string | undefined;
@@ -11166,7 +11166,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11166
11166
  error: string;
11167
11167
  };
11168
11168
  outputFormat: "json";
11169
- status: 404;
11169
+ status: 409;
11170
11170
  input: {
11171
11171
  json: {
11172
11172
  text?: string | undefined;
@@ -11182,10 +11182,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11182
11182
  };
11183
11183
  } | {
11184
11184
  output: {
11185
- error: string;
11185
+ delivered: true;
11186
11186
  };
11187
11187
  outputFormat: "json";
11188
- status: 409;
11188
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11189
11189
  input: {
11190
11190
  json: {
11191
11191
  text?: string | undefined;
@@ -11201,10 +11201,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11201
11201
  };
11202
11202
  } | {
11203
11203
  output: {
11204
- delivered: true;
11204
+ error: string;
11205
11205
  };
11206
11206
  outputFormat: "json";
11207
- status: import("hono/utils/http-status").ContentfulStatusCode;
11207
+ status: 400;
11208
11208
  input: {
11209
11209
  json: {
11210
11210
  text?: string | undefined;
@@ -11271,7 +11271,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11271
11271
  error: string;
11272
11272
  };
11273
11273
  outputFormat: "json";
11274
- status: 400;
11274
+ status: 404;
11275
11275
  input: {
11276
11276
  json: {
11277
11277
  text?: string | undefined;
@@ -11292,7 +11292,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11292
11292
  error: string;
11293
11293
  };
11294
11294
  outputFormat: "json";
11295
- status: 404;
11295
+ status: 400;
11296
11296
  input: {
11297
11297
  json: {
11298
11298
  text?: string | undefined;
@@ -11444,7 +11444,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11444
11444
  error: string;
11445
11445
  };
11446
11446
  outputFormat: "json";
11447
- status: 400;
11447
+ status: 404;
11448
11448
  input: {
11449
11449
  json: {
11450
11450
  text?: string | undefined;
@@ -11467,7 +11467,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11467
11467
  error: string;
11468
11468
  };
11469
11469
  outputFormat: "json";
11470
- status: 404;
11470
+ status: 400;
11471
11471
  input: {
11472
11472
  json: {
11473
11473
  text?: string | undefined;
@@ -11578,7 +11578,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11578
11578
  error: string;
11579
11579
  };
11580
11580
  outputFormat: "json";
11581
- status: 400;
11581
+ status: 404;
11582
11582
  input: {
11583
11583
  json: {
11584
11584
  target: string;
@@ -11594,7 +11594,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11594
11594
  error: string;
11595
11595
  };
11596
11596
  outputFormat: "json";
11597
- status: 404;
11597
+ status: 409;
11598
11598
  input: {
11599
11599
  json: {
11600
11600
  target: string;
@@ -11610,7 +11610,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11610
11610
  error: string;
11611
11611
  };
11612
11612
  outputFormat: "json";
11613
- status: 409;
11613
+ status: 400;
11614
11614
  input: {
11615
11615
  json: {
11616
11616
  target: string;
@@ -11667,12 +11667,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11667
11667
  } & {
11668
11668
  "/runs/:id/images/:file": {
11669
11669
  $get: {
11670
- output: {
11671
- error: string;
11672
- code?: "invalid_input" | undefined;
11673
- };
11674
- outputFormat: "json";
11675
- status: 400;
11670
+ output: {};
11671
+ outputFormat: string;
11672
+ status: import("hono/utils/http-status").StatusCode;
11676
11673
  input: {
11677
11674
  param: {
11678
11675
  id: string;
@@ -11680,9 +11677,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11680
11677
  };
11681
11678
  };
11682
11679
  } | {
11683
- output: {};
11684
- outputFormat: string;
11685
- status: import("hono/utils/http-status").StatusCode;
11680
+ output: {
11681
+ error: string;
11682
+ code?: "invalid_input" | undefined;
11683
+ };
11684
+ outputFormat: "json";
11685
+ status: 400;
11686
11686
  input: {
11687
11687
  param: {
11688
11688
  id: string;
@@ -11694,20 +11694,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11694
11694
  } & {
11695
11695
  "/runs/:id/diff": {
11696
11696
  $get: {
11697
- output: {
11698
- error: string;
11699
- };
11700
- outputFormat: "json";
11701
- status: 404;
11697
+ output: string;
11698
+ outputFormat: "text";
11699
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11702
11700
  input: {
11703
11701
  param: {
11704
11702
  id: string;
11705
11703
  };
11706
11704
  };
11707
11705
  } | {
11708
- output: string;
11709
- outputFormat: "text";
11710
- status: import("hono/utils/http-status").ContentfulStatusCode;
11706
+ output: {
11707
+ error: string;
11708
+ };
11709
+ outputFormat: "json";
11710
+ status: 404;
11711
11711
  input: {
11712
11712
  param: {
11713
11713
  id: string;
@@ -12036,18 +12036,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12036
12036
  artifactId: string;
12037
12037
  };
12038
12038
  };
12039
- } | {
12040
- output: {
12041
- error: string;
12042
- };
12043
- outputFormat: "json";
12044
- status: 404;
12045
- input: {
12046
- param: {
12047
- id: string;
12048
- artifactId: string;
12049
- };
12050
- };
12051
12039
  } | {
12052
12040
  output: {
12053
12041
  type: "file";
@@ -12075,6 +12063,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12075
12063
  artifactId: string;
12076
12064
  };
12077
12065
  };
12066
+ } | {
12067
+ output: {
12068
+ error: string;
12069
+ };
12070
+ outputFormat: "json";
12071
+ status: 404;
12072
+ input: {
12073
+ param: {
12074
+ id: string;
12075
+ artifactId: string;
12076
+ };
12077
+ };
12078
12078
  };
12079
12079
  };
12080
12080
  } & {
@@ -12371,11 +12371,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12371
12371
  "/runs/:id/pr": {
12372
12372
  $post: {
12373
12373
  output: {
12374
- url: string;
12375
- dryRun: boolean;
12374
+ error: string;
12376
12375
  };
12377
12376
  outputFormat: "json";
12378
- status: 201;
12377
+ status: 404;
12379
12378
  input: {
12380
12379
  param: {
12381
12380
  id: string;
@@ -12386,7 +12385,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12386
12385
  error: string;
12387
12386
  };
12388
12387
  outputFormat: "json";
12389
- status: 400;
12388
+ status: 409;
12390
12389
  input: {
12391
12390
  param: {
12392
12391
  id: string;
@@ -12397,7 +12396,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12397
12396
  error: string;
12398
12397
  };
12399
12398
  outputFormat: "json";
12400
- status: 404;
12399
+ status: 400;
12401
12400
  input: {
12402
12401
  param: {
12403
12402
  id: string;
@@ -12405,10 +12404,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12405
12404
  };
12406
12405
  } | {
12407
12406
  output: {
12408
- error: string;
12407
+ url: string;
12408
+ dryRun: boolean;
12409
12409
  };
12410
12410
  outputFormat: "json";
12411
- status: 409;
12411
+ status: 201;
12412
12412
  input: {
12413
12413
  param: {
12414
12414
  id: string;
@@ -12460,7 +12460,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12460
12460
  error: string;
12461
12461
  };
12462
12462
  outputFormat: "json";
12463
- status: 404;
12463
+ status: 409;
12464
12464
  input: {
12465
12465
  param: {
12466
12466
  id: string;
@@ -12471,7 +12471,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12471
12471
  error: string;
12472
12472
  };
12473
12473
  outputFormat: "json";
12474
- status: 409;
12474
+ status: 404;
12475
12475
  input: {
12476
12476
  param: {
12477
12477
  id: string;
@@ -13231,7 +13231,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13231
13231
  error: string;
13232
13232
  };
13233
13233
  outputFormat: "json";
13234
- status: 400;
13234
+ status: 409;
13235
13235
  input: {
13236
13236
  json: {
13237
13237
  target: string;
@@ -13242,7 +13242,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13242
13242
  error: string;
13243
13243
  };
13244
13244
  outputFormat: "json";
13245
- status: 409;
13245
+ status: 400;
13246
13246
  input: {
13247
13247
  json: {
13248
13248
  target: string;
@@ -13301,12 +13301,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13301
13301
  }, "/"> | import("hono/types").MergeSchemaPath<{
13302
13302
  "/runs/:id/events": {
13303
13303
  $get: {
13304
- output: {
13305
- error: string;
13306
- code?: "invalid_input" | undefined;
13307
- };
13308
- outputFormat: "json";
13309
- status: 400;
13304
+ output: {};
13305
+ outputFormat: string;
13306
+ status: import("hono/utils/http-status").StatusCode;
13310
13307
  input: {
13311
13308
  param: {
13312
13309
  id: string;
@@ -13318,9 +13315,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13318
13315
  };
13319
13316
  };
13320
13317
  } | {
13321
- output: {};
13322
- outputFormat: string;
13323
- status: import("hono/utils/http-status").StatusCode;
13318
+ output: {
13319
+ error: string;
13320
+ code?: "invalid_input" | undefined;
13321
+ };
13322
+ outputFormat: "json";
13323
+ status: 400;
13324
13324
  input: {
13325
13325
  param: {
13326
13326
  id: string;
@@ -13372,10 +13372,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13372
13372
  "/config": {
13373
13373
  $put: {
13374
13374
  output: {
13375
- error: string;
13375
+ baseBranch: string | null;
13376
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
13377
+ systemPrompt: string | null;
13378
+ defaultModels: {
13379
+ claude?: string | undefined;
13380
+ codex?: string | undefined;
13381
+ cursor?: string | undefined;
13382
+ opencode?: string | undefined;
13383
+ pi?: string | undefined;
13384
+ };
13385
+ modelsLocked: boolean;
13386
+ maxParallel: number;
13387
+ memoryLimitMb: number | null;
13388
+ worktreeRetention: number;
13389
+ liveTitleUpdates: boolean | null;
13390
+ reviewGate: boolean | null;
13376
13391
  };
13377
13392
  outputFormat: "json";
13378
- status: 409;
13393
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13379
13394
  input: {
13380
13395
  json: {
13381
13396
  baseBranch?: string | null | undefined;
@@ -13400,7 +13415,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13400
13415
  error: string;
13401
13416
  };
13402
13417
  outputFormat: "json";
13403
- status: 500;
13418
+ status: 409;
13404
13419
  input: {
13405
13420
  json: {
13406
13421
  baseBranch?: string | null | undefined;
@@ -13422,25 +13437,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13422
13437
  };
13423
13438
  } | {
13424
13439
  output: {
13425
- baseBranch: string | null;
13426
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
13427
- systemPrompt: string | null;
13428
- defaultModels: {
13429
- claude?: string | undefined;
13430
- codex?: string | undefined;
13431
- cursor?: string | undefined;
13432
- opencode?: string | undefined;
13433
- pi?: string | undefined;
13434
- };
13435
- modelsLocked: boolean;
13436
- maxParallel: number;
13437
- memoryLimitMb: number | null;
13438
- worktreeRetention: number;
13439
- liveTitleUpdates: boolean | null;
13440
- reviewGate: boolean | null;
13440
+ error: string;
13441
13441
  };
13442
13442
  outputFormat: "json";
13443
- status: import("hono/utils/http-status").ContentfulStatusCode;
13443
+ status: 500;
13444
13444
  input: {
13445
13445
  json: {
13446
13446
  baseBranch?: string | null | undefined;
@@ -13465,18 +13465,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13465
13465
  }, "/"> | import("hono/types").MergeSchemaPath<{
13466
13466
  "/skills": {
13467
13467
  $get: {
13468
- output: {
13469
- error: string;
13470
- code?: "invalid_input" | undefined;
13471
- };
13472
- outputFormat: "json";
13473
- status: 400;
13474
- input: {
13475
- query: {
13476
- wait?: string | undefined;
13477
- };
13478
- };
13479
- } | {
13480
13468
  output: {
13481
13469
  name: string;
13482
13470
  description?: string;
@@ -13499,11 +13487,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13499
13487
  wait?: string | undefined;
13500
13488
  };
13501
13489
  };
13502
- };
13503
- };
13504
- } & {
13505
- "/skills/importable": {
13506
- $get: {
13490
+ } | {
13507
13491
  output: {
13508
13492
  error: string;
13509
13493
  code?: "invalid_input" | undefined;
@@ -13515,7 +13499,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13515
13499
  wait?: string | undefined;
13516
13500
  };
13517
13501
  };
13518
- } | {
13502
+ };
13503
+ };
13504
+ } & {
13505
+ "/skills/importable": {
13506
+ $get: {
13519
13507
  output: {
13520
13508
  name: string;
13521
13509
  description?: string | undefined;
@@ -13527,6 +13515,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13527
13515
  wait?: string | undefined;
13528
13516
  };
13529
13517
  };
13518
+ } | {
13519
+ output: {
13520
+ error: string;
13521
+ code?: "invalid_input" | undefined;
13522
+ };
13523
+ outputFormat: "json";
13524
+ status: 400;
13525
+ input: {
13526
+ query: {
13527
+ wait?: string | undefined;
13528
+ };
13529
+ };
13530
13530
  };
13531
13531
  };
13532
13532
  } & {
@@ -13580,7 +13580,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13580
13580
  error: string;
13581
13581
  };
13582
13582
  outputFormat: "json";
13583
- status: 404;
13583
+ status: 409;
13584
13584
  input: {
13585
13585
  param: {
13586
13586
  id: string;
@@ -13588,10 +13588,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13588
13588
  };
13589
13589
  } | {
13590
13590
  output: {
13591
- error: string;
13591
+ removed: true;
13592
13592
  };
13593
13593
  outputFormat: "json";
13594
- status: 409;
13594
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13595
13595
  input: {
13596
13596
  param: {
13597
13597
  id: string;
@@ -13599,10 +13599,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13599
13599
  };
13600
13600
  } | {
13601
13601
  output: {
13602
- removed: true;
13602
+ error: string;
13603
13603
  };
13604
13604
  outputFormat: "json";
13605
- status: import("hono/utils/http-status").ContentfulStatusCode;
13605
+ status: 404;
13606
13606
  input: {
13607
13607
  param: {
13608
13608
  id: string;
@@ -13613,6 +13613,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13613
13613
  } & {
13614
13614
  "/todos/:id/start": {
13615
13615
  $post: {
13616
+ output: {
13617
+ error: string;
13618
+ };
13619
+ outputFormat: "json";
13620
+ status: 409;
13621
+ input: {
13622
+ json: {
13623
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13624
+ model?: string | undefined;
13625
+ effort?: string | undefined;
13626
+ prompt?: string | undefined;
13627
+ } | undefined;
13628
+ } & {
13629
+ param: {
13630
+ id: string;
13631
+ };
13632
+ };
13633
+ } | {
13616
13634
  output: {
13617
13635
  run: {
13618
13636
  id: string;
@@ -14060,24 +14078,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14060
14078
  id: string;
14061
14079
  };
14062
14080
  };
14063
- } | {
14064
- output: {
14065
- error: string;
14066
- };
14067
- outputFormat: "json";
14068
- status: 404;
14069
- input: {
14070
- json: {
14071
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14072
- model?: string | undefined;
14073
- effort?: string | undefined;
14074
- prompt?: string | undefined;
14075
- } | undefined;
14076
- } & {
14077
- param: {
14078
- id: string;
14079
- };
14080
- };
14081
14081
  } | {
14082
14082
  output: {
14083
14083
  error: string;
@@ -14101,7 +14101,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14101
14101
  error: string;
14102
14102
  };
14103
14103
  outputFormat: "json";
14104
- status: 409;
14104
+ status: 404;
14105
14105
  input: {
14106
14106
  json: {
14107
14107
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -14204,10 +14204,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14204
14204
  "/agent-config/:id": {
14205
14205
  $put: {
14206
14206
  output: {
14207
- error: string;
14207
+ id: string;
14208
+ path: string;
14209
+ exists: boolean;
14210
+ content: string;
14211
+ version: string | null;
14208
14212
  };
14209
14213
  outputFormat: "json";
14210
- status: 404;
14214
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14211
14215
  input: {
14212
14216
  json: {
14213
14217
  content: string;
@@ -14220,14 +14224,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14220
14224
  };
14221
14225
  } | {
14222
14226
  output: {
14223
- id: string;
14224
- path: string;
14225
- exists: boolean;
14226
- content: string;
14227
- version: string | null;
14227
+ error: string;
14228
14228
  };
14229
14229
  outputFormat: "json";
14230
- status: import("hono/utils/http-status").ContentfulStatusCode;
14230
+ status: 404;
14231
14231
  input: {
14232
14232
  json: {
14233
14233
  content: string;
@@ -14297,11 +14297,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14297
14297
  "/workflows": {
14298
14298
  $post: {
14299
14299
  output: {
14300
- path: string;
14301
- name: string;
14300
+ error: string;
14302
14301
  };
14303
14302
  outputFormat: "json";
14304
- status: 201;
14303
+ status: 400;
14305
14304
  input: {
14306
14305
  json: {
14307
14306
  name: string;
@@ -14330,9 +14329,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14330
14329
  } | {
14331
14330
  output: {
14332
14331
  error: string;
14332
+ exists: true;
14333
14333
  };
14334
14334
  outputFormat: "json";
14335
- status: 400;
14335
+ status: 409;
14336
14336
  input: {
14337
14337
  json: {
14338
14338
  name: string;
@@ -14361,10 +14361,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14361
14361
  } | {
14362
14362
  output: {
14363
14363
  error: string;
14364
- exists: true;
14365
14364
  };
14366
14365
  outputFormat: "json";
14367
- status: 409;
14366
+ status: 500;
14368
14367
  input: {
14369
14368
  json: {
14370
14369
  name: string;
@@ -14392,10 +14391,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14392
14391
  };
14393
14392
  } | {
14394
14393
  output: {
14395
- error: string;
14394
+ path: string;
14395
+ name: string;
14396
14396
  };
14397
14397
  outputFormat: "json";
14398
- status: 500;
14398
+ status: 201;
14399
14399
  input: {
14400
14400
  json: {
14401
14401
  name: string;
@@ -14430,7 +14430,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14430
14430
  error: string;
14431
14431
  };
14432
14432
  outputFormat: "json";
14433
- status: 400;
14433
+ status: 404;
14434
14434
  input: {
14435
14435
  param: {
14436
14436
  name: string;
@@ -14441,7 +14441,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14441
14441
  error: string;
14442
14442
  };
14443
14443
  outputFormat: "json";
14444
- status: 404;
14444
+ status: 400;
14445
14445
  input: {
14446
14446
  param: {
14447
14447
  name: string;
@@ -14566,12 +14566,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14566
14566
  } & {
14567
14567
  "/repo/commit/:sha": {
14568
14568
  $get: {
14569
- output: {
14570
- error: string;
14571
- code?: "invalid_input" | undefined;
14572
- };
14573
- outputFormat: "json";
14574
- status: 400;
14569
+ output: string;
14570
+ outputFormat: "text";
14571
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14575
14572
  input: {
14576
14573
  query: {
14577
14574
  structured?: string | undefined;
@@ -14584,9 +14581,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14584
14581
  } | {
14585
14582
  output: {
14586
14583
  error: string;
14584
+ code?: "invalid_input" | undefined;
14587
14585
  };
14588
14586
  outputFormat: "json";
14589
- status: 409;
14587
+ status: 400;
14590
14588
  input: {
14591
14589
  query: {
14592
14590
  structured?: string | undefined;
@@ -14630,9 +14628,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14630
14628
  };
14631
14629
  };
14632
14630
  } | {
14633
- output: string;
14634
- outputFormat: "text";
14635
- status: import("hono/utils/http-status").ContentfulStatusCode;
14631
+ output: {
14632
+ error: string;
14633
+ };
14634
+ outputFormat: "json";
14635
+ status: 409;
14636
14636
  input: {
14637
14637
  query: {
14638
14638
  structured?: string | undefined;
@@ -14647,13 +14647,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14647
14647
  } & {
14648
14648
  "/repo/changes": {
14649
14649
  $get: {
14650
- output: {
14651
- error: string;
14652
- };
14653
- outputFormat: "json";
14654
- status: 409;
14655
- input: {};
14656
- } | {
14657
14650
  output: {
14658
14651
  files: {
14659
14652
  path: string;
@@ -14678,6 +14671,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14678
14671
  outputFormat: "json";
14679
14672
  status: import("hono/utils/http-status").ContentfulStatusCode;
14680
14673
  input: {};
14674
+ } | {
14675
+ output: {
14676
+ error: string;
14677
+ };
14678
+ outputFormat: "json";
14679
+ status: 409;
14680
+ input: {};
14681
14681
  };
14682
14682
  };
14683
14683
  } & {
@@ -14702,12 +14702,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14702
14702
  "/repo/pull": {
14703
14703
  $post: {
14704
14704
  output: {
14705
- branch: string;
14706
- pulled: true;
14707
- summary: string;
14705
+ error: string;
14708
14706
  };
14709
14707
  outputFormat: "json";
14710
- status: 200;
14708
+ status: 409;
14711
14709
  input: {
14712
14710
  json: {
14713
14711
  branch?: string | undefined;
@@ -14716,10 +14714,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14716
14714
  };
14717
14715
  } | {
14718
14716
  output: {
14719
- error: string;
14717
+ branch: string;
14718
+ pulled: true;
14719
+ summary: string;
14720
14720
  };
14721
14721
  outputFormat: "json";
14722
- status: 409;
14722
+ status: 200;
14723
14723
  input: {
14724
14724
  json: {
14725
14725
  branch?: string | undefined;
@@ -15437,28 +15437,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15437
15437
  "/automations": {
15438
15438
  $post: {
15439
15439
  output: {
15440
- automation: {
15441
- [x: string]: import("hono/utils/types").JSONValue;
15442
- id: string;
15443
- revision: number;
15440
+ error: string;
15441
+ };
15442
+ outputFormat: "json";
15443
+ status: 400;
15444
+ input: {
15445
+ json: {
15444
15446
  name: string;
15445
15447
  description?: string | undefined;
15446
- enabled: boolean;
15448
+ enabled?: boolean | undefined;
15447
15449
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
15448
15450
  intervalSeconds: number;
15449
15451
  filters: {
15450
- [x: string]: import("hono/utils/types").JSONValue;
15452
+ [x: string]: unknown;
15451
15453
  authors?: string[] | undefined;
15452
15454
  assignees?: string[] | undefined;
15453
15455
  allLabels?: string[] | undefined;
15454
15456
  anyLabels?: string[] | undefined;
15455
15457
  excludeLabels?: string[] | undefined;
15456
15458
  changedLabels?: string[] | undefined;
15457
- lookbackDays: number;
15458
- maxRecords: number;
15459
+ lookbackDays?: number | undefined;
15460
+ maxRecords?: number | undefined;
15459
15461
  };
15460
15462
  task: {
15461
- [x: string]: import("hono/utils/types").JSONValue;
15463
+ [x: string]: unknown;
15462
15464
  prompt: string;
15463
15465
  workflow?: string | undefined;
15464
15466
  steps?: {
@@ -15475,7 +15477,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15475
15477
  command?: string | undefined;
15476
15478
  onFail?: {
15477
15479
  retry: string;
15478
- max: number;
15480
+ max?: number | undefined;
15479
15481
  } | undefined;
15480
15482
  }[] | undefined;
15481
15483
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -15487,32 +15489,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15487
15489
  autonomous?: boolean | undefined;
15488
15490
  systemPrompt?: string | undefined;
15489
15491
  };
15490
- createdAt: string;
15491
- updatedAt: string;
15492
+ enable?: boolean | undefined;
15492
15493
  };
15493
15494
  };
15494
- outputFormat: "json";
15495
- status: 201;
15496
- input: {
15497
- json: {
15495
+ } | {
15496
+ output: {
15497
+ automation: {
15498
+ [x: string]: import("hono/utils/types").JSONValue;
15499
+ id: string;
15500
+ revision: number;
15498
15501
  name: string;
15499
15502
  description?: string | undefined;
15500
- enabled?: boolean | undefined;
15503
+ enabled: boolean;
15501
15504
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
15502
15505
  intervalSeconds: number;
15503
15506
  filters: {
15504
- [x: string]: unknown;
15507
+ [x: string]: import("hono/utils/types").JSONValue;
15505
15508
  authors?: string[] | undefined;
15506
15509
  assignees?: string[] | undefined;
15507
15510
  allLabels?: string[] | undefined;
15508
15511
  anyLabels?: string[] | undefined;
15509
15512
  excludeLabels?: string[] | undefined;
15510
15513
  changedLabels?: string[] | undefined;
15511
- lookbackDays?: number | undefined;
15512
- maxRecords?: number | undefined;
15514
+ lookbackDays: number;
15515
+ maxRecords: number;
15513
15516
  };
15514
15517
  task: {
15515
- [x: string]: unknown;
15518
+ [x: string]: import("hono/utils/types").JSONValue;
15516
15519
  prompt: string;
15517
15520
  workflow?: string | undefined;
15518
15521
  steps?: {
@@ -15529,7 +15532,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15529
15532
  command?: string | undefined;
15530
15533
  onFail?: {
15531
15534
  retry: string;
15532
- max?: number | undefined;
15535
+ max: number;
15533
15536
  } | undefined;
15534
15537
  }[] | undefined;
15535
15538
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -15541,15 +15544,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15541
15544
  autonomous?: boolean | undefined;
15542
15545
  systemPrompt?: string | undefined;
15543
15546
  };
15544
- enable?: boolean | undefined;
15547
+ createdAt: string;
15548
+ updatedAt: string;
15545
15549
  };
15546
15550
  };
15547
- } | {
15548
- output: {
15549
- error: string;
15550
- };
15551
15551
  outputFormat: "json";
15552
- status: 400;
15552
+ status: 201;
15553
15553
  input: {
15554
15554
  json: {
15555
15555
  name: string;
@@ -16153,10 +16153,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16153
16153
  "/automations/:id/check": {
16154
16154
  $post: {
16155
16155
  output: {
16156
- checkId: string;
16156
+ error: string;
16157
16157
  };
16158
16158
  outputFormat: "json";
16159
- status: 202;
16159
+ status: 404;
16160
16160
  input: {
16161
16161
  json: {
16162
16162
  mode: "execute" | "preview";
@@ -16168,10 +16168,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16168
16168
  };
16169
16169
  } | {
16170
16170
  output: {
16171
- error: string;
16171
+ checkId: string;
16172
16172
  };
16173
16173
  outputFormat: "json";
16174
- status: 404;
16174
+ status: 202;
16175
16175
  input: {
16176
16176
  json: {
16177
16177
  mode: "execute" | "preview";
@@ -16245,11 +16245,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16245
16245
  "/automation-log/:receiptId/retry": {
16246
16246
  $post: {
16247
16247
  output: {
16248
- receiptId: string;
16249
- runId: string;
16248
+ error: string;
16250
16249
  };
16251
16250
  outputFormat: "json";
16252
- status: 202;
16251
+ status: 404;
16253
16252
  input: {
16254
16253
  param: {
16255
16254
  receiptId: string;
@@ -16260,7 +16259,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16260
16259
  error: string;
16261
16260
  };
16262
16261
  outputFormat: "json";
16263
- status: 404;
16262
+ status: 409;
16264
16263
  input: {
16265
16264
  param: {
16266
16265
  receiptId: string;
@@ -16268,10 +16267,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16268
16267
  };
16269
16268
  } | {
16270
16269
  output: {
16271
- error: string;
16270
+ receiptId: string;
16271
+ runId: string;
16272
16272
  };
16273
16273
  outputFormat: "json";
16274
- status: 409;
16274
+ status: 202;
16275
16275
  input: {
16276
16276
  param: {
16277
16277
  receiptId: string;
@@ -16847,6 +16847,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16847
16847
  } & {
16848
16848
  "/runs/:id/worker-destroy": {
16849
16849
  $post: {
16850
+ output: {
16851
+ error: string;
16852
+ code?: "invalid_input" | undefined;
16853
+ };
16854
+ outputFormat: "json";
16855
+ status: 400;
16856
+ input: {
16857
+ query: {
16858
+ [x: string]: string | string[];
16859
+ };
16860
+ } & {
16861
+ param: {
16862
+ id: string;
16863
+ };
16864
+ } & {
16865
+ json: Record<string, never>;
16866
+ };
16867
+ } | {
16850
16868
  output: {
16851
16869
  workerId: string;
16852
16870
  state: "complete" | "incomplete";
@@ -16873,24 +16891,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16873
16891
  } & {
16874
16892
  json: Record<string, never>;
16875
16893
  };
16876
- } | {
16877
- output: {
16878
- error: string;
16879
- code?: "invalid_input" | undefined;
16880
- };
16881
- outputFormat: "json";
16882
- status: 400;
16883
- input: {
16884
- query: {
16885
- [x: string]: string | string[];
16886
- };
16887
- } & {
16888
- param: {
16889
- id: string;
16890
- };
16891
- } & {
16892
- json: Record<string, never>;
16893
- };
16894
16894
  } | {
16895
16895
  output: {
16896
16896
  workerId: string;
@@ -16963,21 +16963,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16963
16963
  } & {
16964
16964
  "/runs/:id/archive": {
16965
16965
  $post: {
16966
- output: {
16967
- error: string;
16968
- };
16969
- outputFormat: "json";
16970
- status: 404;
16971
- input: {
16972
- json: {
16973
- archived?: boolean | undefined;
16974
- };
16975
- } & {
16976
- param: {
16977
- id: string;
16978
- };
16979
- };
16980
- } | {
16981
16966
  output: {
16982
16967
  id: string;
16983
16968
  title: string;
@@ -17420,32 +17405,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17420
17405
  id: string;
17421
17406
  };
17422
17407
  };
17423
- };
17424
- };
17425
- } & {
17426
- "/runs/:id/pin": {
17427
- $post: {
17408
+ } | {
17428
17409
  output: {
17429
17410
  error: string;
17430
- code?: "invalid_input" | undefined;
17431
17411
  };
17432
17412
  outputFormat: "json";
17433
- status: 400;
17413
+ status: 404;
17434
17414
  input: {
17435
- param: {
17436
- id: string;
17415
+ json: {
17416
+ archived?: boolean | undefined;
17437
17417
  };
17438
17418
  } & {
17439
- json: {
17440
- pinned?: boolean | undefined;
17419
+ param: {
17420
+ id: string;
17441
17421
  };
17442
17422
  };
17443
- } | {
17423
+ };
17424
+ };
17425
+ } & {
17426
+ "/runs/:id/pin": {
17427
+ $post: {
17444
17428
  output: {
17445
17429
  error: string;
17430
+ code?: "invalid_input" | undefined;
17446
17431
  };
17447
17432
  outputFormat: "json";
17448
- status: 404;
17433
+ status: 400;
17449
17434
  input: {
17450
17435
  param: {
17451
17436
  id: string;
@@ -17898,6 +17883,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17898
17883
  pinned?: boolean | undefined;
17899
17884
  };
17900
17885
  };
17886
+ } | {
17887
+ output: {
17888
+ error: string;
17889
+ };
17890
+ outputFormat: "json";
17891
+ status: 404;
17892
+ input: {
17893
+ param: {
17894
+ id: string;
17895
+ };
17896
+ } & {
17897
+ json: {
17898
+ pinned?: boolean | undefined;
17899
+ };
17900
+ };
17901
17901
  };
17902
17902
  };
17903
17903
  } & {
@@ -17929,17 +17929,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17929
17929
  } & {
17930
17930
  "/runs/:id/read": {
17931
17931
  $post: {
17932
- output: {
17933
- error: string;
17934
- };
17935
- outputFormat: "json";
17936
- status: 404;
17937
- input: {
17938
- param: {
17939
- id: string;
17940
- };
17941
- };
17942
- } | {
17943
17932
  output: {
17944
17933
  id: string;
17945
17934
  title: string;
@@ -18378,11 +18367,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18378
18367
  id: string;
18379
18368
  };
18380
18369
  };
18381
- };
18382
- };
18383
- } & {
18384
- "/runs/:id/unread": {
18385
- $post: {
18370
+ } | {
18386
18371
  output: {
18387
18372
  error: string;
18388
18373
  };
@@ -18393,7 +18378,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18393
18378
  id: string;
18394
18379
  };
18395
18380
  };
18396
- } | {
18381
+ };
18382
+ };
18383
+ } & {
18384
+ "/runs/:id/unread": {
18385
+ $post: {
18397
18386
  output: {
18398
18387
  id: string;
18399
18388
  title: string;
@@ -18832,6 +18821,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18832
18821
  id: string;
18833
18822
  };
18834
18823
  };
18824
+ } | {
18825
+ output: {
18826
+ error: string;
18827
+ };
18828
+ outputFormat: "json";
18829
+ status: 404;
18830
+ input: {
18831
+ param: {
18832
+ id: string;
18833
+ };
18834
+ };
18835
18835
  };
18836
18836
  };
18837
18837
  } & {
@@ -19780,6 +19780,138 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19780
19780
  clientRequestId?: string | undefined;
19781
19781
  };
19782
19782
  };
19783
+ } | {
19784
+ output: {
19785
+ error: string;
19786
+ };
19787
+ outputFormat: "json";
19788
+ status: 409;
19789
+ input: {
19790
+ json: {
19791
+ workflow?: string | undefined;
19792
+ steps?: {
19793
+ id: string;
19794
+ name?: string | undefined;
19795
+ prompt?: string | undefined;
19796
+ skill?: string | undefined;
19797
+ model?: string | undefined;
19798
+ effort?: string | undefined;
19799
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19800
+ agentProfile?: string | undefined;
19801
+ allowedTools?: string[] | undefined;
19802
+ bashAllowlist?: string[] | undefined;
19803
+ command?: string | undefined;
19804
+ onFail?: {
19805
+ retry: string;
19806
+ max?: number | undefined;
19807
+ } | undefined;
19808
+ }[] | undefined;
19809
+ task: string;
19810
+ model?: string | undefined;
19811
+ effort?: string | undefined;
19812
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19813
+ agentProfile?: string | undefined;
19814
+ variants?: number | undefined;
19815
+ worktree?: boolean | undefined;
19816
+ autonomous?: boolean | undefined;
19817
+ generateFollowups?: boolean | undefined;
19818
+ systemPrompt?: string | undefined;
19819
+ images?: {
19820
+ mediaType: string;
19821
+ data: string;
19822
+ }[] | undefined;
19823
+ todoId?: string | undefined;
19824
+ clientRequestId?: string | undefined;
19825
+ };
19826
+ };
19827
+ } | {
19828
+ output: {
19829
+ error: string;
19830
+ };
19831
+ outputFormat: "json";
19832
+ status: 400;
19833
+ input: {
19834
+ json: {
19835
+ workflow?: string | undefined;
19836
+ steps?: {
19837
+ id: string;
19838
+ name?: string | undefined;
19839
+ prompt?: string | undefined;
19840
+ skill?: string | undefined;
19841
+ model?: string | undefined;
19842
+ effort?: string | undefined;
19843
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19844
+ agentProfile?: string | undefined;
19845
+ allowedTools?: string[] | undefined;
19846
+ bashAllowlist?: string[] | undefined;
19847
+ command?: string | undefined;
19848
+ onFail?: {
19849
+ retry: string;
19850
+ max?: number | undefined;
19851
+ } | undefined;
19852
+ }[] | undefined;
19853
+ task: string;
19854
+ model?: string | undefined;
19855
+ effort?: string | undefined;
19856
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19857
+ agentProfile?: string | undefined;
19858
+ variants?: number | undefined;
19859
+ worktree?: boolean | undefined;
19860
+ autonomous?: boolean | undefined;
19861
+ generateFollowups?: boolean | undefined;
19862
+ systemPrompt?: string | undefined;
19863
+ images?: {
19864
+ mediaType: string;
19865
+ data: string;
19866
+ }[] | undefined;
19867
+ todoId?: string | undefined;
19868
+ clientRequestId?: string | undefined;
19869
+ };
19870
+ };
19871
+ } | {
19872
+ output: {
19873
+ error: string;
19874
+ };
19875
+ outputFormat: "json";
19876
+ status: 404;
19877
+ input: {
19878
+ json: {
19879
+ workflow?: string | undefined;
19880
+ steps?: {
19881
+ id: string;
19882
+ name?: string | undefined;
19883
+ prompt?: string | undefined;
19884
+ skill?: string | undefined;
19885
+ model?: string | undefined;
19886
+ effort?: string | undefined;
19887
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19888
+ agentProfile?: string | undefined;
19889
+ allowedTools?: string[] | undefined;
19890
+ bashAllowlist?: string[] | undefined;
19891
+ command?: string | undefined;
19892
+ onFail?: {
19893
+ retry: string;
19894
+ max?: number | undefined;
19895
+ } | undefined;
19896
+ }[] | undefined;
19897
+ task: string;
19898
+ model?: string | undefined;
19899
+ effort?: string | undefined;
19900
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19901
+ agentProfile?: string | undefined;
19902
+ variants?: number | undefined;
19903
+ worktree?: boolean | undefined;
19904
+ autonomous?: boolean | undefined;
19905
+ generateFollowups?: boolean | undefined;
19906
+ systemPrompt?: string | undefined;
19907
+ images?: {
19908
+ mediaType: string;
19909
+ data: string;
19910
+ }[] | undefined;
19911
+ todoId?: string | undefined;
19912
+ clientRequestId?: string | undefined;
19913
+ };
19914
+ };
19783
19915
  } | {
19784
19916
  output: {
19785
19917
  runs: {
@@ -20179,175 +20311,43 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20179
20311
  usageInvocationsObserved?: number | undefined;
20180
20312
  usageTurnsStarted?: number | undefined;
20181
20313
  usageTurnsRecorded?: number | undefined;
20182
- usageInvocationEpoch?: number | undefined;
20183
- startedAt?: string | undefined;
20184
- finishedAt?: string | undefined;
20185
- error?: string | undefined;
20186
- sessionId?: string | undefined;
20187
- backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20188
- profileId?: string | undefined;
20189
- costUsd?: number | undefined;
20190
- synthetic?: "continuation" | undefined;
20191
- }[];
20192
- workflowDef?: {
20193
- name: string;
20194
- description?: string | undefined;
20195
- steps: {
20196
- id: string;
20197
- name?: string | undefined;
20198
- prompt?: string | undefined;
20199
- skill?: string | undefined;
20200
- model?: string | undefined;
20201
- effort?: string | undefined;
20202
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20203
- agentProfile?: string | undefined;
20204
- allowedTools?: string[] | undefined;
20205
- bashAllowlist?: string[] | undefined;
20206
- command?: string | undefined;
20207
- onFail?: {
20208
- retry: string;
20209
- max: number;
20210
- } | undefined;
20211
- }[];
20212
- source: "built-in" | "file";
20213
- path?: string | undefined;
20214
- } | undefined;
20215
- }[];
20216
- };
20217
- outputFormat: "json";
20218
- status: 201;
20219
- input: {
20220
- json: {
20221
- workflow?: string | undefined;
20222
- steps?: {
20223
- id: string;
20224
- name?: string | undefined;
20225
- prompt?: string | undefined;
20226
- skill?: string | undefined;
20227
- model?: string | undefined;
20228
- effort?: string | undefined;
20229
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20230
- agentProfile?: string | undefined;
20231
- allowedTools?: string[] | undefined;
20232
- bashAllowlist?: string[] | undefined;
20233
- command?: string | undefined;
20234
- onFail?: {
20235
- retry: string;
20236
- max?: number | undefined;
20237
- } | undefined;
20238
- }[] | undefined;
20239
- task: string;
20240
- model?: string | undefined;
20241
- effort?: string | undefined;
20242
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20243
- agentProfile?: string | undefined;
20244
- variants?: number | undefined;
20245
- worktree?: boolean | undefined;
20246
- autonomous?: boolean | undefined;
20247
- generateFollowups?: boolean | undefined;
20248
- systemPrompt?: string | undefined;
20249
- images?: {
20250
- mediaType: string;
20251
- data: string;
20252
- }[] | undefined;
20253
- todoId?: string | undefined;
20254
- clientRequestId?: string | undefined;
20255
- };
20256
- };
20257
- } | {
20258
- output: {
20259
- error: string;
20260
- };
20261
- outputFormat: "json";
20262
- status: 400;
20263
- input: {
20264
- json: {
20265
- workflow?: string | undefined;
20266
- steps?: {
20267
- id: string;
20268
- name?: string | undefined;
20269
- prompt?: string | undefined;
20270
- skill?: string | undefined;
20271
- model?: string | undefined;
20272
- effort?: string | undefined;
20273
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20274
- agentProfile?: string | undefined;
20275
- allowedTools?: string[] | undefined;
20276
- bashAllowlist?: string[] | undefined;
20277
- command?: string | undefined;
20278
- onFail?: {
20279
- retry: string;
20280
- max?: number | undefined;
20281
- } | undefined;
20282
- }[] | undefined;
20283
- task: string;
20284
- model?: string | undefined;
20285
- effort?: string | undefined;
20286
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20287
- agentProfile?: string | undefined;
20288
- variants?: number | undefined;
20289
- worktree?: boolean | undefined;
20290
- autonomous?: boolean | undefined;
20291
- generateFollowups?: boolean | undefined;
20292
- systemPrompt?: string | undefined;
20293
- images?: {
20294
- mediaType: string;
20295
- data: string;
20296
- }[] | undefined;
20297
- todoId?: string | undefined;
20298
- clientRequestId?: string | undefined;
20299
- };
20300
- };
20301
- } | {
20302
- output: {
20303
- error: string;
20304
- };
20305
- outputFormat: "json";
20306
- status: 404;
20307
- input: {
20308
- json: {
20309
- workflow?: string | undefined;
20310
- steps?: {
20311
- id: string;
20312
- name?: string | undefined;
20313
- prompt?: string | undefined;
20314
- skill?: string | undefined;
20315
- model?: string | undefined;
20316
- effort?: string | undefined;
20317
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20318
- agentProfile?: string | undefined;
20319
- allowedTools?: string[] | undefined;
20320
- bashAllowlist?: string[] | undefined;
20321
- command?: string | undefined;
20322
- onFail?: {
20323
- retry: string;
20324
- max?: number | undefined;
20325
- } | undefined;
20326
- }[] | undefined;
20327
- task: string;
20328
- model?: string | undefined;
20329
- effort?: string | undefined;
20330
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20331
- agentProfile?: string | undefined;
20332
- variants?: number | undefined;
20333
- worktree?: boolean | undefined;
20334
- autonomous?: boolean | undefined;
20335
- generateFollowups?: boolean | undefined;
20336
- systemPrompt?: string | undefined;
20337
- images?: {
20338
- mediaType: string;
20339
- data: string;
20340
- }[] | undefined;
20341
- todoId?: string | undefined;
20342
- clientRequestId?: string | undefined;
20343
- };
20344
- };
20345
- } | {
20346
- output: {
20347
- error: string;
20314
+ usageInvocationEpoch?: number | undefined;
20315
+ startedAt?: string | undefined;
20316
+ finishedAt?: string | undefined;
20317
+ error?: string | undefined;
20318
+ sessionId?: string | undefined;
20319
+ backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20320
+ profileId?: string | undefined;
20321
+ costUsd?: number | undefined;
20322
+ synthetic?: "continuation" | undefined;
20323
+ }[];
20324
+ workflowDef?: {
20325
+ name: string;
20326
+ description?: string | undefined;
20327
+ steps: {
20328
+ id: string;
20329
+ name?: string | undefined;
20330
+ prompt?: string | undefined;
20331
+ skill?: string | undefined;
20332
+ model?: string | undefined;
20333
+ effort?: string | undefined;
20334
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20335
+ agentProfile?: string | undefined;
20336
+ allowedTools?: string[] | undefined;
20337
+ bashAllowlist?: string[] | undefined;
20338
+ command?: string | undefined;
20339
+ onFail?: {
20340
+ retry: string;
20341
+ max: number;
20342
+ } | undefined;
20343
+ }[];
20344
+ source: "built-in" | "file";
20345
+ path?: string | undefined;
20346
+ } | undefined;
20347
+ }[];
20348
20348
  };
20349
20349
  outputFormat: "json";
20350
- status: 409;
20350
+ status: 201;
20351
20351
  input: {
20352
20352
  json: {
20353
20353
  workflow?: string | undefined;
@@ -20391,17 +20391,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20391
20391
  } & {
20392
20392
  "/runs/:id": {
20393
20393
  $get: {
20394
- output: {
20395
- error: string;
20396
- };
20397
- outputFormat: "json";
20398
- status: 404;
20399
- input: {
20400
- param: {
20401
- id: string;
20402
- };
20403
- };
20404
- } | {
20405
20394
  output: {
20406
20395
  id: string;
20407
20396
  title: string;
@@ -20847,6 +20836,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20847
20836
  id: string;
20848
20837
  };
20849
20838
  };
20839
+ } | {
20840
+ output: {
20841
+ error: string;
20842
+ };
20843
+ outputFormat: "json";
20844
+ status: 404;
20845
+ input: {
20846
+ param: {
20847
+ id: string;
20848
+ };
20849
+ };
20850
20850
  };
20851
20851
  };
20852
20852
  } & {
@@ -20974,54 +20974,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20974
20974
  } & {
20975
20975
  "/runs/:id": {
20976
20976
  $patch: {
20977
- output: {
20978
- error: string;
20979
- };
20980
- outputFormat: "json";
20981
- status: 400;
20982
- input: {
20983
- json: {
20984
- title?: string | undefined;
20985
- task?: string | undefined;
20986
- };
20987
- } & {
20988
- param: {
20989
- id: string;
20990
- };
20991
- };
20992
- } | {
20993
- output: {
20994
- error: string;
20995
- };
20996
- outputFormat: "json";
20997
- status: 404;
20998
- input: {
20999
- json: {
21000
- title?: string | undefined;
21001
- task?: string | undefined;
21002
- };
21003
- } & {
21004
- param: {
21005
- id: string;
21006
- };
21007
- };
21008
- } | {
21009
- output: {
21010
- error: string;
21011
- };
21012
- outputFormat: "json";
21013
- status: 409;
21014
- input: {
21015
- json: {
21016
- title?: string | undefined;
21017
- task?: string | undefined;
21018
- };
21019
- } & {
21020
- param: {
21021
- id: string;
21022
- };
21023
- };
21024
- } | {
21025
20977
  output: {
21026
20978
  id: string;
21027
20979
  title: string;
@@ -21465,6 +21417,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21465
21417
  id: string;
21466
21418
  };
21467
21419
  };
21420
+ } | {
21421
+ output: {
21422
+ error: string;
21423
+ };
21424
+ outputFormat: "json";
21425
+ status: 404;
21426
+ input: {
21427
+ json: {
21428
+ title?: string | undefined;
21429
+ task?: string | undefined;
21430
+ };
21431
+ } & {
21432
+ param: {
21433
+ id: string;
21434
+ };
21435
+ };
21436
+ } | {
21437
+ output: {
21438
+ error: string;
21439
+ };
21440
+ outputFormat: "json";
21441
+ status: 400;
21442
+ input: {
21443
+ json: {
21444
+ title?: string | undefined;
21445
+ task?: string | undefined;
21446
+ };
21447
+ } & {
21448
+ param: {
21449
+ id: string;
21450
+ };
21451
+ };
21452
+ } | {
21453
+ output: {
21454
+ error: string;
21455
+ };
21456
+ outputFormat: "json";
21457
+ status: 409;
21458
+ input: {
21459
+ json: {
21460
+ title?: string | undefined;
21461
+ task?: string | undefined;
21462
+ };
21463
+ } & {
21464
+ param: {
21465
+ id: string;
21466
+ };
21467
+ };
21468
21468
  };
21469
21469
  };
21470
21470
  } & {
@@ -21500,7 +21500,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21500
21500
  error: string;
21501
21501
  };
21502
21502
  outputFormat: "json";
21503
- status: 400;
21503
+ status: 404;
21504
21504
  input: {
21505
21505
  json: {
21506
21506
  text?: string | undefined;
@@ -21519,7 +21519,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21519
21519
  error: string;
21520
21520
  };
21521
21521
  outputFormat: "json";
21522
- status: 404;
21522
+ status: 409;
21523
21523
  input: {
21524
21524
  json: {
21525
21525
  text?: string | undefined;
@@ -21535,10 +21535,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21535
21535
  };
21536
21536
  } | {
21537
21537
  output: {
21538
- error: string;
21538
+ delivered: true;
21539
21539
  };
21540
21540
  outputFormat: "json";
21541
- status: 409;
21541
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21542
21542
  input: {
21543
21543
  json: {
21544
21544
  text?: string | undefined;
@@ -21554,10 +21554,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21554
21554
  };
21555
21555
  } | {
21556
21556
  output: {
21557
- delivered: true;
21557
+ error: string;
21558
21558
  };
21559
21559
  outputFormat: "json";
21560
- status: import("hono/utils/http-status").ContentfulStatusCode;
21560
+ status: 400;
21561
21561
  input: {
21562
21562
  json: {
21563
21563
  text?: string | undefined;
@@ -21624,7 +21624,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21624
21624
  error: string;
21625
21625
  };
21626
21626
  outputFormat: "json";
21627
- status: 400;
21627
+ status: 404;
21628
21628
  input: {
21629
21629
  json: {
21630
21630
  text?: string | undefined;
@@ -21645,7 +21645,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21645
21645
  error: string;
21646
21646
  };
21647
21647
  outputFormat: "json";
21648
- status: 404;
21648
+ status: 400;
21649
21649
  input: {
21650
21650
  json: {
21651
21651
  text?: string | undefined;
@@ -21797,7 +21797,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21797
21797
  error: string;
21798
21798
  };
21799
21799
  outputFormat: "json";
21800
- status: 400;
21800
+ status: 404;
21801
21801
  input: {
21802
21802
  json: {
21803
21803
  text?: string | undefined;
@@ -21820,7 +21820,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21820
21820
  error: string;
21821
21821
  };
21822
21822
  outputFormat: "json";
21823
- status: 404;
21823
+ status: 400;
21824
21824
  input: {
21825
21825
  json: {
21826
21826
  text?: string | undefined;
@@ -21931,7 +21931,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21931
21931
  error: string;
21932
21932
  };
21933
21933
  outputFormat: "json";
21934
- status: 400;
21934
+ status: 404;
21935
21935
  input: {
21936
21936
  json: {
21937
21937
  target: string;
@@ -21947,7 +21947,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21947
21947
  error: string;
21948
21948
  };
21949
21949
  outputFormat: "json";
21950
- status: 404;
21950
+ status: 409;
21951
21951
  input: {
21952
21952
  json: {
21953
21953
  target: string;
@@ -21963,7 +21963,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21963
21963
  error: string;
21964
21964
  };
21965
21965
  outputFormat: "json";
21966
- status: 409;
21966
+ status: 400;
21967
21967
  input: {
21968
21968
  json: {
21969
21969
  target: string;
@@ -22020,12 +22020,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22020
22020
  } & {
22021
22021
  "/runs/:id/images/:file": {
22022
22022
  $get: {
22023
- output: {
22024
- error: string;
22025
- code?: "invalid_input" | undefined;
22026
- };
22027
- outputFormat: "json";
22028
- status: 400;
22023
+ output: {};
22024
+ outputFormat: string;
22025
+ status: import("hono/utils/http-status").StatusCode;
22029
22026
  input: {
22030
22027
  param: {
22031
22028
  id: string;
@@ -22033,9 +22030,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22033
22030
  };
22034
22031
  };
22035
22032
  } | {
22036
- output: {};
22037
- outputFormat: string;
22038
- status: import("hono/utils/http-status").StatusCode;
22033
+ output: {
22034
+ error: string;
22035
+ code?: "invalid_input" | undefined;
22036
+ };
22037
+ outputFormat: "json";
22038
+ status: 400;
22039
22039
  input: {
22040
22040
  param: {
22041
22041
  id: string;
@@ -22047,20 +22047,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22047
22047
  } & {
22048
22048
  "/runs/:id/diff": {
22049
22049
  $get: {
22050
- output: {
22051
- error: string;
22052
- };
22053
- outputFormat: "json";
22054
- status: 404;
22050
+ output: string;
22051
+ outputFormat: "text";
22052
+ status: import("hono/utils/http-status").ContentfulStatusCode;
22055
22053
  input: {
22056
22054
  param: {
22057
22055
  id: string;
22058
22056
  };
22059
22057
  };
22060
22058
  } | {
22061
- output: string;
22062
- outputFormat: "text";
22063
- status: import("hono/utils/http-status").ContentfulStatusCode;
22059
+ output: {
22060
+ error: string;
22061
+ };
22062
+ outputFormat: "json";
22063
+ status: 404;
22064
22064
  input: {
22065
22065
  param: {
22066
22066
  id: string;
@@ -22389,18 +22389,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22389
22389
  artifactId: string;
22390
22390
  };
22391
22391
  };
22392
- } | {
22393
- output: {
22394
- error: string;
22395
- };
22396
- outputFormat: "json";
22397
- status: 404;
22398
- input: {
22399
- param: {
22400
- id: string;
22401
- artifactId: string;
22402
- };
22403
- };
22404
22392
  } | {
22405
22393
  output: {
22406
22394
  type: "file";
@@ -22428,6 +22416,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22428
22416
  artifactId: string;
22429
22417
  };
22430
22418
  };
22419
+ } | {
22420
+ output: {
22421
+ error: string;
22422
+ };
22423
+ outputFormat: "json";
22424
+ status: 404;
22425
+ input: {
22426
+ param: {
22427
+ id: string;
22428
+ artifactId: string;
22429
+ };
22430
+ };
22431
22431
  };
22432
22432
  };
22433
22433
  } & {
@@ -22724,11 +22724,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22724
22724
  "/runs/:id/pr": {
22725
22725
  $post: {
22726
22726
  output: {
22727
- url: string;
22728
- dryRun: boolean;
22727
+ error: string;
22729
22728
  };
22730
22729
  outputFormat: "json";
22731
- status: 201;
22730
+ status: 404;
22732
22731
  input: {
22733
22732
  param: {
22734
22733
  id: string;
@@ -22739,7 +22738,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22739
22738
  error: string;
22740
22739
  };
22741
22740
  outputFormat: "json";
22742
- status: 400;
22741
+ status: 409;
22743
22742
  input: {
22744
22743
  param: {
22745
22744
  id: string;
@@ -22750,7 +22749,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22750
22749
  error: string;
22751
22750
  };
22752
22751
  outputFormat: "json";
22753
- status: 404;
22752
+ status: 400;
22754
22753
  input: {
22755
22754
  param: {
22756
22755
  id: string;
@@ -22758,10 +22757,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22758
22757
  };
22759
22758
  } | {
22760
22759
  output: {
22761
- error: string;
22760
+ url: string;
22761
+ dryRun: boolean;
22762
22762
  };
22763
22763
  outputFormat: "json";
22764
- status: 409;
22764
+ status: 201;
22765
22765
  input: {
22766
22766
  param: {
22767
22767
  id: string;
@@ -22813,7 +22813,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22813
22813
  error: string;
22814
22814
  };
22815
22815
  outputFormat: "json";
22816
- status: 404;
22816
+ status: 409;
22817
22817
  input: {
22818
22818
  param: {
22819
22819
  id: string;
@@ -22824,7 +22824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22824
22824
  error: string;
22825
22825
  };
22826
22826
  outputFormat: "json";
22827
- status: 409;
22827
+ status: 404;
22828
22828
  input: {
22829
22829
  param: {
22830
22830
  id: string;