@open-mercato/cezar 0.9.1-pr759.1021 → 0.9.1-pr759.1023

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.
@@ -289,10 +289,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
289
289
  };
290
290
  } | {
291
291
  output: {
292
- error: string;
292
+ path: string;
293
+ parent: string | null;
294
+ dirs: {
295
+ name: string;
296
+ path: string;
297
+ isRepo: boolean;
298
+ }[];
299
+ truncated: boolean;
293
300
  };
294
301
  outputFormat: "json";
295
- status: 400 | 404;
302
+ status: import("hono/utils/http-status").ContentfulStatusCode;
296
303
  input: {
297
304
  query: {
298
305
  path?: string | undefined;
@@ -301,17 +308,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
301
308
  };
302
309
  } | {
303
310
  output: {
304
- path: string;
305
- parent: string | null;
306
- dirs: {
307
- name: string;
308
- path: string;
309
- isRepo: boolean;
310
- }[];
311
- truncated: boolean;
311
+ error: string;
312
312
  };
313
313
  outputFormat: "json";
314
- status: import("hono/utils/http-status").ContentfulStatusCode;
314
+ status: 400 | 404;
315
315
  input: {
316
316
  query: {
317
317
  path?: string | undefined;
@@ -323,6 +323,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
323
323
  }, "/"> | import("hono/types").MergeSchemaPath<{
324
324
  "/automation-checks/:checkId": {
325
325
  $get: {
326
+ output: {
327
+ error: string;
328
+ };
329
+ outputFormat: "json";
330
+ status: 404;
331
+ input: {
332
+ param: {
333
+ checkId: string;
334
+ };
335
+ };
336
+ } | {
326
337
  output: {
327
338
  id: string;
328
339
  automationId: string;
@@ -341,17 +352,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
341
352
  checkId: string;
342
353
  };
343
354
  };
344
- } | {
345
- output: {
346
- error: string;
347
- };
348
- outputFormat: "json";
349
- status: 404;
350
- input: {
351
- param: {
352
- checkId: string;
353
- };
354
- };
355
355
  };
356
356
  };
357
357
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -376,17 +376,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
376
376
  projectId: string | string[];
377
377
  };
378
378
  };
379
- } | {
380
- output: {
381
- error: string;
382
- };
383
- outputFormat: "json";
384
- status: 404 | 409;
385
- input: {
386
- query: {
387
- projectId: string | string[];
388
- };
389
- };
390
379
  } | {
391
380
  output: {
392
381
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -413,6 +402,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
413
402
  projectId: string | string[];
414
403
  };
415
404
  };
405
+ } | {
406
+ output: {
407
+ error: string;
408
+ };
409
+ outputFormat: "json";
410
+ status: 404 | 409;
411
+ input: {
412
+ query: {
413
+ projectId: string | string[];
414
+ };
415
+ };
416
416
  };
417
417
  };
418
418
  } & {
@@ -548,16 +548,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
548
548
  };
549
549
  } | {
550
550
  output: {
551
- providers: {
552
- provider: ProviderId;
553
- status: import("../core/provider-auth.ts").ProviderConnectionState;
554
- enabled?: boolean;
555
- hint?: string;
556
- authFailureId?: string;
557
- }[];
551
+ error: string;
558
552
  };
559
553
  outputFormat: "json";
560
- status: import("hono/utils/http-status").ContentfulStatusCode;
554
+ status: 500;
561
555
  input: {
562
556
  param: {
563
557
  provider: "claude" | "codex" | "opencode";
@@ -569,10 +563,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
569
563
  };
570
564
  } | {
571
565
  output: {
572
- error: string;
566
+ providers: {
567
+ provider: ProviderId;
568
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
569
+ enabled?: boolean;
570
+ hint?: string;
571
+ authFailureId?: string;
572
+ }[];
573
573
  };
574
574
  outputFormat: "json";
575
- status: 500;
575
+ status: import("hono/utils/http-status").ContentfulStatusCode;
576
576
  input: {
577
577
  param: {
578
578
  provider: "claude" | "codex" | "opencode";
@@ -603,16 +603,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
603
603
  };
604
604
  } | {
605
605
  output: {
606
- providers: {
607
- provider: ProviderId;
608
- status: import("../core/provider-auth.ts").ProviderConnectionState;
609
- enabled?: boolean;
610
- hint?: string;
611
- authFailureId?: string;
612
- }[];
606
+ error: string;
613
607
  };
614
608
  outputFormat: "json";
615
- status: import("hono/utils/http-status").ContentfulStatusCode;
609
+ status: 409;
616
610
  input: {
617
611
  param: {
618
612
  provider: "claude" | "codex" | "opencode";
@@ -624,10 +618,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
624
618
  };
625
619
  } | {
626
620
  output: {
627
- error: string;
621
+ providers: {
622
+ provider: ProviderId;
623
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
624
+ enabled?: boolean;
625
+ hint?: string;
626
+ authFailureId?: string;
627
+ }[];
628
628
  };
629
629
  outputFormat: "json";
630
- status: 409;
630
+ status: import("hono/utils/http-status").ContentfulStatusCode;
631
631
  input: {
632
632
  param: {
633
633
  provider: "claude" | "codex" | "opencode";
@@ -644,9 +644,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
644
644
  $post: {
645
645
  output: {
646
646
  error: string;
647
+ command: string;
647
648
  };
648
649
  outputFormat: "json";
649
- status: 500;
650
+ status: 409;
650
651
  input: {
651
652
  json: {
652
653
  provider: "claude" | "codex" | "opencode";
@@ -654,12 +655,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
654
655
  };
655
656
  } | {
656
657
  output: {
657
- opened: false;
658
- connected: true;
659
- command: string;
658
+ error: string;
660
659
  };
661
660
  outputFormat: "json";
662
- status: import("hono/utils/http-status").ContentfulStatusCode;
661
+ status: 500;
663
662
  input: {
664
663
  json: {
665
664
  provider: "claude" | "codex" | "opencode";
@@ -667,11 +666,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
667
666
  };
668
667
  } | {
669
668
  output: {
670
- error: string;
669
+ opened: false;
670
+ connected: true;
671
671
  command: string;
672
672
  };
673
673
  outputFormat: "json";
674
- status: 409;
674
+ status: import("hono/utils/http-status").ContentfulStatusCode;
675
675
  input: {
676
676
  json: {
677
677
  provider: "claude" | "codex" | "opencode";
@@ -722,26 +722,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
722
722
  "/workspace/config": {
723
723
  $put: {
724
724
  output: {
725
- browseRoot: string;
726
- projectsDir: string;
727
- skillsAutoUpdate: boolean | null;
728
- effectiveSkillsAutoUpdate: boolean;
729
- composerDefaults: {
730
- autonomous: boolean | null;
731
- worktree: boolean | null;
732
- inheritedAutonomous: boolean | 'source-dependent';
733
- inheritedWorktree: boolean;
734
- };
735
- resources: {
736
- maxParallel: number;
737
- maxMonitoringSessions: number;
738
- monitoringWakeIntervalMinutes: number | null;
739
- memoryLimitMb: number | null;
740
- worktreeRetentionDefault: number;
741
- };
725
+ error: string;
742
726
  };
743
727
  outputFormat: "json";
744
- status: import("hono/utils/http-status").ContentfulStatusCode;
728
+ status: 400;
745
729
  input: {
746
730
  json: {
747
731
  browseRoot?: string | undefined;
@@ -765,7 +749,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
765
749
  error: string;
766
750
  };
767
751
  outputFormat: "json";
768
- status: 400;
752
+ status: 500;
769
753
  input: {
770
754
  json: {
771
755
  browseRoot?: string | undefined;
@@ -786,10 +770,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
786
770
  };
787
771
  } | {
788
772
  output: {
789
- error: string;
773
+ browseRoot: string;
774
+ projectsDir: string;
775
+ skillsAutoUpdate: boolean | null;
776
+ effectiveSkillsAutoUpdate: boolean;
777
+ composerDefaults: {
778
+ autonomous: boolean | null;
779
+ worktree: boolean | null;
780
+ inheritedAutonomous: boolean | 'source-dependent';
781
+ inheritedWorktree: boolean;
782
+ };
783
+ resources: {
784
+ maxParallel: number;
785
+ maxMonitoringSessions: number;
786
+ monitoringWakeIntervalMinutes: number | null;
787
+ memoryLimitMb: number | null;
788
+ worktreeRetentionDefault: number;
789
+ };
790
790
  };
791
791
  outputFormat: "json";
792
- status: 500;
792
+ status: import("hono/utils/http-status").ContentfulStatusCode;
793
793
  input: {
794
794
  json: {
795
795
  browseRoot?: string | undefined;
@@ -851,36 +851,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
851
851
  "/workspace/ui-state": {
852
852
  $put: {
853
853
  output: {
854
- [x: string]: import("hono/utils/types").JSONValue;
855
- sidebar?: {
856
- [x: string]: import("hono/utils/types").JSONValue;
857
- collapsed?: {
858
- [x: string]: boolean;
859
- } | undefined;
860
- } | undefined;
861
- dismissedProviderAuthFailures?: {
862
- claude?: string | undefined;
863
- codex?: string | undefined;
864
- opencode?: string | undefined;
865
- } | undefined;
866
- appearance?: {
867
- accent?: "lime" | "violet" | undefined;
868
- density?: "comfortable" | "compact" | "ultra" | undefined;
869
- } | undefined;
870
- notifications?: {
871
- [x: string]: import("hono/utils/types").JSONValue;
872
- enabled?: boolean | undefined;
873
- } | undefined;
874
- lastLocation?: {
875
- projectId: string;
876
- pathname: string;
877
- search?: string | undefined;
878
- hash?: string | undefined;
879
- } | undefined;
880
- importedSkills?: string[] | undefined;
854
+ error: string;
881
855
  };
882
856
  outputFormat: "json";
883
- status: import("hono/utils/http-status").ContentfulStatusCode;
857
+ status: 500;
884
858
  input: {
885
859
  json: {
886
860
  [x: string]: unknown;
@@ -913,10 +887,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
913
887
  };
914
888
  } | {
915
889
  output: {
916
- error: string;
890
+ [x: string]: import("hono/utils/types").JSONValue;
891
+ sidebar?: {
892
+ [x: string]: import("hono/utils/types").JSONValue;
893
+ collapsed?: {
894
+ [x: string]: boolean;
895
+ } | undefined;
896
+ } | undefined;
897
+ dismissedProviderAuthFailures?: {
898
+ claude?: string | undefined;
899
+ codex?: string | undefined;
900
+ opencode?: string | undefined;
901
+ } | undefined;
902
+ appearance?: {
903
+ accent?: "lime" | "violet" | undefined;
904
+ density?: "comfortable" | "compact" | "ultra" | undefined;
905
+ } | undefined;
906
+ notifications?: {
907
+ [x: string]: import("hono/utils/types").JSONValue;
908
+ enabled?: boolean | undefined;
909
+ } | undefined;
910
+ lastLocation?: {
911
+ projectId: string;
912
+ pathname: string;
913
+ search?: string | undefined;
914
+ hash?: string | undefined;
915
+ } | undefined;
916
+ importedSkills?: string[] | undefined;
917
917
  };
918
918
  outputFormat: "json";
919
- status: 500;
919
+ status: import("hono/utils/http-status").ContentfulStatusCode;
920
920
  input: {
921
921
  json: {
922
922
  [x: string]: unknown;
@@ -1035,7 +1035,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1035
1035
  error: string;
1036
1036
  };
1037
1037
  outputFormat: "json";
1038
- status: 409;
1038
+ status: 404;
1039
1039
  input: {
1040
1040
  param: {
1041
1041
  projectId: string;
@@ -1046,7 +1046,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1046
1046
  error: string;
1047
1047
  };
1048
1048
  outputFormat: "json";
1049
- status: 404;
1049
+ status: 409;
1050
1050
  input: {
1051
1051
  param: {
1052
1052
  projectId: string;
@@ -1084,7 +1084,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1084
1084
  error: string;
1085
1085
  };
1086
1086
  outputFormat: "json";
1087
- status: 409;
1087
+ status: 404;
1088
1088
  input: {
1089
1089
  json: {
1090
1090
  maxParallel: number | null;
@@ -1099,7 +1099,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1099
1099
  error: string;
1100
1100
  };
1101
1101
  outputFormat: "json";
1102
- status: 404;
1102
+ status: 409;
1103
1103
  input: {
1104
1104
  json: {
1105
1105
  maxParallel: number | null;
@@ -1696,23 +1696,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1696
1696
  "/config": {
1697
1697
  $put: {
1698
1698
  output: {
1699
- baseBranch: string | null;
1700
- defaultRunner: "claude" | "codex" | "opencode";
1701
- systemPrompt: string | null;
1702
- defaultModels: {
1703
- claude?: string | undefined;
1704
- codex?: string | undefined;
1705
- opencode?: string | undefined;
1706
- };
1707
- modelsLocked: boolean;
1708
- maxParallel: number;
1709
- memoryLimitMb: number | null;
1710
- worktreeRetention: number;
1711
- liveTitleUpdates: boolean | null;
1712
- reviewGate: boolean | null;
1699
+ error: string;
1713
1700
  };
1714
1701
  outputFormat: "json";
1715
- status: import("hono/utils/http-status").ContentfulStatusCode;
1702
+ status: 409;
1716
1703
  input: {
1717
1704
  json: {
1718
1705
  baseBranch?: string | null | undefined;
@@ -1735,7 +1722,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1735
1722
  error: string;
1736
1723
  };
1737
1724
  outputFormat: "json";
1738
- status: 409;
1725
+ status: 500;
1739
1726
  input: {
1740
1727
  json: {
1741
1728
  baseBranch?: string | null | undefined;
@@ -1755,13 +1742,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1755
1742
  };
1756
1743
  } | {
1757
1744
  output: {
1758
- error: string;
1759
- };
1760
- outputFormat: "json";
1761
- status: 500;
1762
- input: {
1763
- json: {
1764
- baseBranch?: string | null | undefined;
1745
+ baseBranch: string | null;
1746
+ defaultRunner: "claude" | "codex" | "opencode";
1747
+ systemPrompt: string | null;
1748
+ defaultModels: {
1749
+ claude?: string | undefined;
1750
+ codex?: string | undefined;
1751
+ opencode?: string | undefined;
1752
+ };
1753
+ modelsLocked: boolean;
1754
+ maxParallel: number;
1755
+ memoryLimitMb: number | null;
1756
+ worktreeRetention: number;
1757
+ liveTitleUpdates: boolean | null;
1758
+ reviewGate: boolean | null;
1759
+ };
1760
+ outputFormat: "json";
1761
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1762
+ input: {
1763
+ json: {
1764
+ baseBranch?: string | null | undefined;
1765
1765
  defaultRunner?: "claude" | "codex" | "opencode" | undefined;
1766
1766
  systemPrompt?: string | null | undefined;
1767
1767
  defaultModels?: {
@@ -1781,6 +1781,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1781
1781
  }, "/"> | import("hono/types").MergeSchemaPath<{
1782
1782
  "/skills": {
1783
1783
  $get: {
1784
+ output: {
1785
+ error: string;
1786
+ };
1787
+ outputFormat: "json";
1788
+ status: 400;
1789
+ input: {
1790
+ query: {
1791
+ wait?: string | undefined;
1792
+ };
1793
+ };
1794
+ } | {
1784
1795
  output: {
1785
1796
  name: string;
1786
1797
  description?: string;
@@ -1803,7 +1814,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1803
1814
  wait?: string | undefined;
1804
1815
  };
1805
1816
  };
1806
- } | {
1817
+ };
1818
+ };
1819
+ } & {
1820
+ "/skills/importable": {
1821
+ $get: {
1807
1822
  output: {
1808
1823
  error: string;
1809
1824
  };
@@ -1814,11 +1829,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1814
1829
  wait?: string | undefined;
1815
1830
  };
1816
1831
  };
1817
- };
1818
- };
1819
- } & {
1820
- "/skills/importable": {
1821
- $get: {
1832
+ } | {
1822
1833
  output: {
1823
1834
  name: string;
1824
1835
  description?: string | undefined;
@@ -1830,17 +1841,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1830
1841
  wait?: string | undefined;
1831
1842
  };
1832
1843
  };
1833
- } | {
1834
- output: {
1835
- error: string;
1836
- };
1837
- outputFormat: "json";
1838
- status: 400;
1839
- input: {
1840
- query: {
1841
- wait?: string | undefined;
1842
- };
1843
- };
1844
1844
  };
1845
1845
  };
1846
1846
  } & {
@@ -1894,7 +1894,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1894
1894
  error: string;
1895
1895
  };
1896
1896
  outputFormat: "json";
1897
- status: 409;
1897
+ status: 404;
1898
1898
  input: {
1899
1899
  param: {
1900
1900
  id: string;
@@ -1902,10 +1902,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1902
1902
  };
1903
1903
  } | {
1904
1904
  output: {
1905
- removed: true;
1905
+ error: string;
1906
1906
  };
1907
1907
  outputFormat: "json";
1908
- status: import("hono/utils/http-status").ContentfulStatusCode;
1908
+ status: 409;
1909
1909
  input: {
1910
1910
  param: {
1911
1911
  id: string;
@@ -1913,10 +1913,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1913
1913
  };
1914
1914
  } | {
1915
1915
  output: {
1916
- error: string;
1916
+ removed: true;
1917
1917
  };
1918
1918
  outputFormat: "json";
1919
- status: 404;
1919
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1920
1920
  input: {
1921
1921
  param: {
1922
1922
  id: string;
@@ -1927,23 +1927,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1927
1927
  } & {
1928
1928
  "/todos/:id/start": {
1929
1929
  $post: {
1930
- output: {
1931
- error: string;
1932
- };
1933
- outputFormat: "json";
1934
- status: 409;
1935
- input: {
1936
- json: {
1937
- runner?: "claude" | "codex" | "opencode" | undefined;
1938
- model?: string | undefined;
1939
- prompt?: string | undefined;
1940
- } | undefined;
1941
- } & {
1942
- param: {
1943
- id: string;
1944
- };
1945
- };
1946
- } | {
1947
1930
  output: {
1948
1931
  run: {
1949
1932
  id: string;
@@ -2071,6 +2054,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2071
2054
  id: string;
2072
2055
  };
2073
2056
  };
2057
+ } | {
2058
+ output: {
2059
+ error: string;
2060
+ };
2061
+ outputFormat: "json";
2062
+ status: 404;
2063
+ input: {
2064
+ json: {
2065
+ runner?: "claude" | "codex" | "opencode" | undefined;
2066
+ model?: string | undefined;
2067
+ prompt?: string | undefined;
2068
+ } | undefined;
2069
+ } & {
2070
+ param: {
2071
+ id: string;
2072
+ };
2073
+ };
2074
2074
  } | {
2075
2075
  output: {
2076
2076
  error: string;
@@ -2093,7 +2093,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2093
2093
  error: string;
2094
2094
  };
2095
2095
  outputFormat: "json";
2096
- status: 404;
2096
+ status: 409;
2097
2097
  input: {
2098
2098
  json: {
2099
2099
  runner?: "claude" | "codex" | "opencode" | undefined;
@@ -2195,14 +2195,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2195
2195
  "/agent-config/:id": {
2196
2196
  $put: {
2197
2197
  output: {
2198
- id: string;
2199
- path: string;
2200
- exists: boolean;
2201
- content: string;
2202
- version: string | null;
2198
+ error: string;
2203
2199
  };
2204
2200
  outputFormat: "json";
2205
- status: import("hono/utils/http-status").ContentfulStatusCode;
2201
+ status: 404;
2206
2202
  input: {
2207
2203
  json: {
2208
2204
  content: string;
@@ -2215,10 +2211,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2215
2211
  };
2216
2212
  } | {
2217
2213
  output: {
2218
- error: string;
2214
+ id: string;
2215
+ path: string;
2216
+ exists: boolean;
2217
+ content: string;
2218
+ version: string | null;
2219
2219
  };
2220
2220
  outputFormat: "json";
2221
- status: 404;
2221
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2222
2222
  input: {
2223
2223
  json: {
2224
2224
  content: string;
@@ -2286,10 +2286,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2286
2286
  "/workflows": {
2287
2287
  $post: {
2288
2288
  output: {
2289
- error: string;
2289
+ path: string;
2290
+ name: string;
2290
2291
  };
2291
2292
  outputFormat: "json";
2292
- status: 400;
2293
+ status: 201;
2293
2294
  input: {
2294
2295
  json: {
2295
2296
  name: string;
@@ -2316,10 +2317,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2316
2317
  } | {
2317
2318
  output: {
2318
2319
  error: string;
2319
- exists: true;
2320
2320
  };
2321
2321
  outputFormat: "json";
2322
- status: 409;
2322
+ status: 400;
2323
2323
  input: {
2324
2324
  json: {
2325
2325
  name: string;
@@ -2346,9 +2346,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2346
2346
  } | {
2347
2347
  output: {
2348
2348
  error: string;
2349
+ exists: true;
2349
2350
  };
2350
2351
  outputFormat: "json";
2351
- status: 500;
2352
+ status: 409;
2352
2353
  input: {
2353
2354
  json: {
2354
2355
  name: string;
@@ -2374,11 +2375,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2374
2375
  };
2375
2376
  } | {
2376
2377
  output: {
2377
- path: string;
2378
- name: string;
2378
+ error: string;
2379
2379
  };
2380
2380
  outputFormat: "json";
2381
- status: 201;
2381
+ status: 500;
2382
2382
  input: {
2383
2383
  json: {
2384
2384
  name: string;
@@ -2411,7 +2411,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2411
2411
  error: string;
2412
2412
  };
2413
2413
  outputFormat: "json";
2414
- status: 404;
2414
+ status: 400;
2415
2415
  input: {
2416
2416
  param: {
2417
2417
  name: string;
@@ -2422,7 +2422,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2422
2422
  error: string;
2423
2423
  };
2424
2424
  outputFormat: "json";
2425
- status: 400;
2425
+ status: 404;
2426
2426
  input: {
2427
2427
  param: {
2428
2428
  name: string;
@@ -2545,9 +2545,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2545
2545
  } & {
2546
2546
  "/repo/commit/:sha": {
2547
2547
  $get: {
2548
- output: string;
2549
- outputFormat: "text";
2550
- status: import("hono/utils/http-status").ContentfulStatusCode;
2548
+ output: {
2549
+ error: string;
2550
+ };
2551
+ outputFormat: "json";
2552
+ status: 400;
2551
2553
  input: {
2552
2554
  query: {
2553
2555
  structured?: string | undefined;
@@ -2562,7 +2564,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2562
2564
  error: string;
2563
2565
  };
2564
2566
  outputFormat: "json";
2565
- status: 400;
2567
+ status: 409;
2566
2568
  input: {
2567
2569
  query: {
2568
2570
  structured?: string | undefined;
@@ -2606,11 +2608,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2606
2608
  };
2607
2609
  };
2608
2610
  } | {
2609
- output: {
2610
- error: string;
2611
- };
2612
- outputFormat: "json";
2613
- status: 409;
2611
+ output: string;
2612
+ outputFormat: "text";
2613
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2614
2614
  input: {
2615
2615
  query: {
2616
2616
  structured?: string | undefined;
@@ -2625,6 +2625,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2625
2625
  } & {
2626
2626
  "/repo/changes": {
2627
2627
  $get: {
2628
+ output: {
2629
+ error: string;
2630
+ };
2631
+ outputFormat: "json";
2632
+ status: 409;
2633
+ input: {};
2634
+ } | {
2628
2635
  output: {
2629
2636
  files: {
2630
2637
  path: string;
@@ -2649,13 +2656,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2649
2656
  outputFormat: "json";
2650
2657
  status: import("hono/utils/http-status").ContentfulStatusCode;
2651
2658
  input: {};
2652
- } | {
2653
- output: {
2654
- error: string;
2655
- };
2656
- outputFormat: "json";
2657
- status: 409;
2658
- input: {};
2659
2659
  };
2660
2660
  };
2661
2661
  } & {
@@ -3240,30 +3240,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3240
3240
  "/automations": {
3241
3241
  $post: {
3242
3242
  output: {
3243
- error: string;
3244
- };
3245
- outputFormat: "json";
3246
- status: 400;
3247
- input: {
3248
- json: {
3243
+ automation: {
3244
+ [x: string]: import("hono/utils/types").JSONValue;
3245
+ id: string;
3246
+ revision: number;
3249
3247
  name: string;
3250
3248
  description?: string | undefined;
3251
- enabled?: boolean | undefined;
3249
+ enabled: boolean;
3252
3250
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
3253
3251
  intervalSeconds: number;
3254
3252
  filters: {
3255
- [x: string]: unknown;
3253
+ [x: string]: import("hono/utils/types").JSONValue;
3256
3254
  authors?: string[] | undefined;
3257
3255
  assignees?: string[] | undefined;
3258
3256
  allLabels?: string[] | undefined;
3259
3257
  anyLabels?: string[] | undefined;
3260
3258
  excludeLabels?: string[] | undefined;
3261
3259
  changedLabels?: string[] | undefined;
3262
- lookbackDays?: number | undefined;
3263
- maxRecords?: number | undefined;
3260
+ lookbackDays: number;
3261
+ maxRecords: number;
3264
3262
  };
3265
3263
  task: {
3266
- [x: string]: unknown;
3264
+ [x: string]: import("hono/utils/types").JSONValue;
3267
3265
  prompt: string;
3268
3266
  workflow?: string | undefined;
3269
3267
  steps?: {
@@ -3278,7 +3276,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3278
3276
  command?: string | undefined;
3279
3277
  onFail?: {
3280
3278
  retry: string;
3281
- max?: number | undefined;
3279
+ max: number;
3282
3280
  } | undefined;
3283
3281
  }[] | undefined;
3284
3282
  runner?: "claude" | "codex" | "opencode" | undefined;
@@ -3289,33 +3287,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3289
3287
  autonomous?: boolean | undefined;
3290
3288
  systemPrompt?: string | undefined;
3291
3289
  };
3292
- enable?: boolean | undefined;
3290
+ createdAt: string;
3291
+ updatedAt: string;
3293
3292
  };
3294
3293
  };
3295
- } | {
3296
- output: {
3297
- automation: {
3298
- [x: string]: import("hono/utils/types").JSONValue;
3299
- id: string;
3300
- revision: number;
3294
+ outputFormat: "json";
3295
+ status: 201;
3296
+ input: {
3297
+ json: {
3301
3298
  name: string;
3302
3299
  description?: string | undefined;
3303
- enabled: boolean;
3300
+ enabled?: boolean | undefined;
3304
3301
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
3305
3302
  intervalSeconds: number;
3306
3303
  filters: {
3307
- [x: string]: import("hono/utils/types").JSONValue;
3304
+ [x: string]: unknown;
3308
3305
  authors?: string[] | undefined;
3309
3306
  assignees?: string[] | undefined;
3310
3307
  allLabels?: string[] | undefined;
3311
3308
  anyLabels?: string[] | undefined;
3312
3309
  excludeLabels?: string[] | undefined;
3313
3310
  changedLabels?: string[] | undefined;
3314
- lookbackDays: number;
3315
- maxRecords: number;
3311
+ lookbackDays?: number | undefined;
3312
+ maxRecords?: number | undefined;
3316
3313
  };
3317
3314
  task: {
3318
- [x: string]: import("hono/utils/types").JSONValue;
3315
+ [x: string]: unknown;
3319
3316
  prompt: string;
3320
3317
  workflow?: string | undefined;
3321
3318
  steps?: {
@@ -3330,7 +3327,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3330
3327
  command?: string | undefined;
3331
3328
  onFail?: {
3332
3329
  retry: string;
3333
- max: number;
3330
+ max?: number | undefined;
3334
3331
  } | undefined;
3335
3332
  }[] | undefined;
3336
3333
  runner?: "claude" | "codex" | "opencode" | undefined;
@@ -3341,12 +3338,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3341
3338
  autonomous?: boolean | undefined;
3342
3339
  systemPrompt?: string | undefined;
3343
3340
  };
3344
- createdAt: string;
3345
- updatedAt: string;
3341
+ enable?: boolean | undefined;
3346
3342
  };
3347
3343
  };
3344
+ } | {
3345
+ output: {
3346
+ error: string;
3347
+ };
3348
3348
  outputFormat: "json";
3349
- status: 201;
3349
+ status: 400;
3350
3350
  input: {
3351
3351
  json: {
3352
3352
  name: string;
@@ -3926,10 +3926,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3926
3926
  "/automations/:id/check": {
3927
3927
  $post: {
3928
3928
  output: {
3929
- error: string;
3929
+ checkId: string;
3930
3930
  };
3931
3931
  outputFormat: "json";
3932
- status: 404;
3932
+ status: 202;
3933
3933
  input: {
3934
3934
  json: {
3935
3935
  mode: "execute" | "preview";
@@ -3941,10 +3941,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3941
3941
  };
3942
3942
  } | {
3943
3943
  output: {
3944
- checkId: string;
3944
+ error: string;
3945
3945
  };
3946
3946
  outputFormat: "json";
3947
- status: 202;
3947
+ status: 404;
3948
3948
  input: {
3949
3949
  json: {
3950
3950
  mode: "execute" | "preview";
@@ -4017,10 +4017,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4017
4017
  "/automation-log/:receiptId/retry": {
4018
4018
  $post: {
4019
4019
  output: {
4020
- error: string;
4020
+ receiptId: string;
4021
+ runId: string;
4021
4022
  };
4022
4023
  outputFormat: "json";
4023
- status: 404;
4024
+ status: 202;
4024
4025
  input: {
4025
4026
  param: {
4026
4027
  receiptId: string;
@@ -4031,7 +4032,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4031
4032
  error: string;
4032
4033
  };
4033
4034
  outputFormat: "json";
4034
- status: 409;
4035
+ status: 404;
4035
4036
  input: {
4036
4037
  param: {
4037
4038
  receiptId: string;
@@ -4039,11 +4040,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4039
4040
  };
4040
4041
  } | {
4041
4042
  output: {
4042
- receiptId: string;
4043
- runId: string;
4043
+ error: string;
4044
4044
  };
4045
4045
  outputFormat: "json";
4046
- status: 202;
4046
+ status: 409;
4047
4047
  input: {
4048
4048
  param: {
4049
4049
  receiptId: string;
@@ -4187,18 +4187,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4187
4187
  "/runs/:id/archive": {
4188
4188
  $post: {
4189
4189
  output: {
4190
- id: string;
4191
- title: string;
4192
- titleSummary?: string | undefined;
4193
- diffStat?: {
4194
- adds: number;
4195
- dels: number;
4196
- files: number;
4197
- repointed?: boolean | undefined;
4198
- } | undefined;
4199
- workflow: string;
4200
- task: string;
4201
- queuedMessages?: {
4190
+ error: string;
4191
+ };
4192
+ outputFormat: "json";
4193
+ status: 404;
4194
+ input: {
4195
+ json: {
4196
+ archived?: boolean | undefined;
4197
+ };
4198
+ } & {
4199
+ param: {
4200
+ id: string;
4201
+ };
4202
+ };
4203
+ } | {
4204
+ output: {
4205
+ id: string;
4206
+ title: string;
4207
+ titleSummary?: string | undefined;
4208
+ diffStat?: {
4209
+ adds: number;
4210
+ dels: number;
4211
+ files: number;
4212
+ repointed?: boolean | undefined;
4213
+ } | undefined;
4214
+ workflow: string;
4215
+ task: string;
4216
+ queuedMessages?: {
4202
4217
  id: string;
4203
4218
  text: string;
4204
4219
  images?: string[] | undefined;
@@ -4309,21 +4324,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4309
4324
  id: string;
4310
4325
  };
4311
4326
  };
4312
- } | {
4313
- output: {
4314
- error: string;
4315
- };
4316
- outputFormat: "json";
4317
- status: 404;
4318
- input: {
4319
- json: {
4320
- archived?: boolean | undefined;
4321
- };
4322
- } & {
4323
- param: {
4324
- id: string;
4325
- };
4326
- };
4327
4327
  };
4328
4328
  };
4329
4329
  } & {
@@ -4478,10 +4478,121 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4478
4478
  };
4479
4479
  } | {
4480
4480
  output: {
4481
- error: string;
4481
+ runs: {
4482
+ id: string;
4483
+ title: string;
4484
+ titleSummary?: string | undefined;
4485
+ diffStat?: {
4486
+ adds: number;
4487
+ dels: number;
4488
+ files: number;
4489
+ repointed?: boolean | undefined;
4490
+ } | undefined;
4491
+ workflow: string;
4492
+ task: string;
4493
+ queuedMessages?: {
4494
+ id: string;
4495
+ text: string;
4496
+ images?: string[] | undefined;
4497
+ createdAt: string;
4498
+ }[] | undefined;
4499
+ taskImages?: string[] | undefined;
4500
+ model?: string | undefined;
4501
+ modelIdentity?: string | undefined;
4502
+ runner?: "claude" | "codex" | "opencode" | undefined;
4503
+ systemPrompt?: string | undefined;
4504
+ generateFollowups?: boolean | undefined;
4505
+ autonomous?: boolean | undefined;
4506
+ automation?: {
4507
+ automationId: string;
4508
+ automationRevision: number;
4509
+ receiptId: string;
4510
+ event: string;
4511
+ githubUrl: string;
4512
+ } | undefined;
4513
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
4514
+ activity?: "monitoring" | undefined;
4515
+ monitoringWakeAt?: string | undefined;
4516
+ monitoringWakeCapReached?: boolean | undefined;
4517
+ createdAt: string;
4518
+ startedAt?: string | undefined;
4519
+ finishedAt?: string | undefined;
4520
+ tokensUsed: number;
4521
+ inputTokens?: number | undefined;
4522
+ outputTokens?: number | undefined;
4523
+ costUsd?: number | undefined;
4524
+ pullRequestUrl?: string | undefined;
4525
+ referencedPullRequestUrl?: string | undefined;
4526
+ prNumber?: number | undefined;
4527
+ issueNumber?: number | undefined;
4528
+ referencedIssueNumberSeeded?: boolean | undefined;
4529
+ titleOrigin?: "auto" | "marker" | "user" | undefined;
4530
+ markerRefs?: {
4531
+ pr?: number | undefined;
4532
+ issue?: number | undefined;
4533
+ } | undefined;
4534
+ referencedPrCandidates?: string[] | undefined;
4535
+ referencedIssueUrl?: string | undefined;
4536
+ referencedIssueCandidates?: string[] | undefined;
4537
+ worktree?: false | undefined;
4538
+ worktreePath?: string | undefined;
4539
+ branch?: string | undefined;
4540
+ baseBranch?: string | undefined;
4541
+ worktreeReclaimedAt?: string | undefined;
4542
+ groupId?: string | undefined;
4543
+ variant?: string | undefined;
4544
+ peakRssBytes?: number | undefined;
4545
+ peakProcCount?: number | undefined;
4546
+ archived: boolean;
4547
+ archivedAt?: string | undefined;
4548
+ currentStepId?: string | undefined;
4549
+ error?: string | undefined;
4550
+ steps: {
4551
+ id: string;
4552
+ name: string;
4553
+ kind: "agent" | "check";
4554
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
4555
+ iterations: number;
4556
+ tokensUsed: number;
4557
+ inputTokens?: number | undefined;
4558
+ outputTokens?: number | undefined;
4559
+ usageInvocationsStarted?: number | undefined;
4560
+ usageInvocationsObserved?: number | undefined;
4561
+ usageTurnsStarted?: number | undefined;
4562
+ usageTurnsRecorded?: number | undefined;
4563
+ usageInvocationEpoch?: number | undefined;
4564
+ startedAt?: string | undefined;
4565
+ finishedAt?: string | undefined;
4566
+ error?: string | undefined;
4567
+ sessionId?: string | undefined;
4568
+ backend?: "claude" | "codex" | "opencode" | undefined;
4569
+ costUsd?: number | undefined;
4570
+ }[];
4571
+ workflowDef?: {
4572
+ name: string;
4573
+ description?: string | undefined;
4574
+ steps: {
4575
+ id: string;
4576
+ name?: string | undefined;
4577
+ prompt?: string | undefined;
4578
+ skill?: string | undefined;
4579
+ model?: string | undefined;
4580
+ runner?: "claude" | "codex" | "opencode" | undefined;
4581
+ allowedTools?: string[] | undefined;
4582
+ bashAllowlist?: string[] | undefined;
4583
+ command?: string | undefined;
4584
+ onFail?: {
4585
+ retry: string;
4586
+ max: number;
4587
+ } | undefined;
4588
+ }[];
4589
+ source: "built-in" | "file";
4590
+ path?: string | undefined;
4591
+ } | undefined;
4592
+ }[];
4482
4593
  };
4483
4594
  outputFormat: "json";
4484
- status: 409;
4595
+ status: 201;
4485
4596
  input: {
4486
4597
  json: {
4487
4598
  workflow?: string | undefined;
@@ -4595,121 +4706,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4595
4706
  };
4596
4707
  } | {
4597
4708
  output: {
4598
- runs: {
4599
- id: string;
4600
- title: string;
4601
- titleSummary?: string | undefined;
4602
- diffStat?: {
4603
- adds: number;
4604
- dels: number;
4605
- files: number;
4606
- repointed?: boolean | undefined;
4607
- } | undefined;
4608
- workflow: string;
4609
- task: string;
4610
- queuedMessages?: {
4611
- id: string;
4612
- text: string;
4613
- images?: string[] | undefined;
4614
- createdAt: string;
4615
- }[] | undefined;
4616
- taskImages?: string[] | undefined;
4617
- model?: string | undefined;
4618
- modelIdentity?: string | undefined;
4619
- runner?: "claude" | "codex" | "opencode" | undefined;
4620
- systemPrompt?: string | undefined;
4621
- generateFollowups?: boolean | undefined;
4622
- autonomous?: boolean | undefined;
4623
- automation?: {
4624
- automationId: string;
4625
- automationRevision: number;
4626
- receiptId: string;
4627
- event: string;
4628
- githubUrl: string;
4629
- } | undefined;
4630
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
4631
- activity?: "monitoring" | undefined;
4632
- monitoringWakeAt?: string | undefined;
4633
- monitoringWakeCapReached?: boolean | undefined;
4634
- createdAt: string;
4635
- startedAt?: string | undefined;
4636
- finishedAt?: string | undefined;
4637
- tokensUsed: number;
4638
- inputTokens?: number | undefined;
4639
- outputTokens?: number | undefined;
4640
- costUsd?: number | undefined;
4641
- pullRequestUrl?: string | undefined;
4642
- referencedPullRequestUrl?: string | undefined;
4643
- prNumber?: number | undefined;
4644
- issueNumber?: number | undefined;
4645
- referencedIssueNumberSeeded?: boolean | undefined;
4646
- titleOrigin?: "auto" | "marker" | "user" | undefined;
4647
- markerRefs?: {
4648
- pr?: number | undefined;
4649
- issue?: number | undefined;
4650
- } | undefined;
4651
- referencedPrCandidates?: string[] | undefined;
4652
- referencedIssueUrl?: string | undefined;
4653
- referencedIssueCandidates?: string[] | undefined;
4654
- worktree?: false | undefined;
4655
- worktreePath?: string | undefined;
4656
- branch?: string | undefined;
4657
- baseBranch?: string | undefined;
4658
- worktreeReclaimedAt?: string | undefined;
4659
- groupId?: string | undefined;
4660
- variant?: string | undefined;
4661
- peakRssBytes?: number | undefined;
4662
- peakProcCount?: number | undefined;
4663
- archived: boolean;
4664
- archivedAt?: string | undefined;
4665
- currentStepId?: string | undefined;
4666
- error?: string | undefined;
4667
- steps: {
4668
- id: string;
4669
- name: string;
4670
- kind: "agent" | "check";
4671
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
4672
- iterations: number;
4673
- tokensUsed: number;
4674
- inputTokens?: number | undefined;
4675
- outputTokens?: number | undefined;
4676
- usageInvocationsStarted?: number | undefined;
4677
- usageInvocationsObserved?: number | undefined;
4678
- usageTurnsStarted?: number | undefined;
4679
- usageTurnsRecorded?: number | undefined;
4680
- usageInvocationEpoch?: number | undefined;
4681
- startedAt?: string | undefined;
4682
- finishedAt?: string | undefined;
4683
- error?: string | undefined;
4684
- sessionId?: string | undefined;
4685
- backend?: "claude" | "codex" | "opencode" | undefined;
4686
- costUsd?: number | undefined;
4687
- }[];
4688
- workflowDef?: {
4689
- name: string;
4690
- description?: string | undefined;
4691
- steps: {
4692
- id: string;
4693
- name?: string | undefined;
4694
- prompt?: string | undefined;
4695
- skill?: string | undefined;
4696
- model?: string | undefined;
4697
- runner?: "claude" | "codex" | "opencode" | undefined;
4698
- allowedTools?: string[] | undefined;
4699
- bashAllowlist?: string[] | undefined;
4700
- command?: string | undefined;
4701
- onFail?: {
4702
- retry: string;
4703
- max: number;
4704
- } | undefined;
4705
- }[];
4706
- source: "built-in" | "file";
4707
- path?: string | undefined;
4708
- } | undefined;
4709
- }[];
4709
+ error: string;
4710
4710
  };
4711
4711
  outputFormat: "json";
4712
- status: 201;
4712
+ status: 409;
4713
4713
  input: {
4714
4714
  json: {
4715
4715
  workflow?: string | undefined;
@@ -4748,6 +4748,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4748
4748
  } & {
4749
4749
  "/runs/:id": {
4750
4750
  $get: {
4751
+ output: {
4752
+ error: string;
4753
+ };
4754
+ outputFormat: "json";
4755
+ status: 404;
4756
+ input: {
4757
+ param: {
4758
+ id: string;
4759
+ };
4760
+ };
4761
+ } | {
4751
4762
  output: {
4752
4763
  id: string;
4753
4764
  title: string;
@@ -4868,6 +4879,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4868
4879
  id: string;
4869
4880
  };
4870
4881
  };
4882
+ };
4883
+ };
4884
+ } & {
4885
+ "/runs/:id": {
4886
+ $patch: {
4887
+ output: {
4888
+ error: string;
4889
+ };
4890
+ outputFormat: "json";
4891
+ status: 400;
4892
+ input: {
4893
+ json: {
4894
+ title?: string | undefined;
4895
+ task?: string | undefined;
4896
+ };
4897
+ } & {
4898
+ param: {
4899
+ id: string;
4900
+ };
4901
+ };
4871
4902
  } | {
4872
4903
  output: {
4873
4904
  error: string;
@@ -4875,15 +4906,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4875
4906
  outputFormat: "json";
4876
4907
  status: 404;
4877
4908
  input: {
4909
+ json: {
4910
+ title?: string | undefined;
4911
+ task?: string | undefined;
4912
+ };
4913
+ } & {
4878
4914
  param: {
4879
4915
  id: string;
4880
4916
  };
4881
4917
  };
4882
- };
4883
- };
4884
- } & {
4885
- "/runs/:id": {
4886
- $patch: {
4918
+ } | {
4919
+ output: {
4920
+ error: string;
4921
+ };
4922
+ outputFormat: "json";
4923
+ status: 409;
4924
+ input: {
4925
+ json: {
4926
+ title?: string | undefined;
4927
+ task?: string | undefined;
4928
+ };
4929
+ } & {
4930
+ param: {
4931
+ id: string;
4932
+ };
4933
+ };
4934
+ } | {
4887
4935
  output: {
4888
4936
  id: string;
4889
4937
  title: string;
@@ -5008,54 +5056,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5008
5056
  id: string;
5009
5057
  };
5010
5058
  };
5011
- } | {
5012
- output: {
5013
- error: string;
5014
- };
5015
- outputFormat: "json";
5016
- status: 404;
5017
- input: {
5018
- json: {
5019
- title?: string | undefined;
5020
- task?: string | undefined;
5021
- };
5022
- } & {
5023
- param: {
5024
- id: string;
5025
- };
5026
- };
5027
- } | {
5028
- output: {
5029
- error: string;
5030
- };
5031
- outputFormat: "json";
5032
- status: 400;
5033
- input: {
5034
- json: {
5035
- title?: string | undefined;
5036
- task?: string | undefined;
5037
- };
5038
- } & {
5039
- param: {
5040
- id: string;
5041
- };
5042
- };
5043
- } | {
5044
- output: {
5045
- error: string;
5046
- };
5047
- outputFormat: "json";
5048
- status: 409;
5049
- input: {
5050
- json: {
5051
- title?: string | undefined;
5052
- task?: string | undefined;
5053
- };
5054
- } & {
5055
- param: {
5056
- id: string;
5057
- };
5058
- };
5059
5059
  };
5060
5060
  };
5061
5061
  } & {
@@ -5091,7 +5091,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5091
5091
  error: string;
5092
5092
  };
5093
5093
  outputFormat: "json";
5094
- status: 404;
5094
+ status: 400;
5095
5095
  input: {
5096
5096
  json: {
5097
5097
  text?: string | undefined;
@@ -5110,7 +5110,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5110
5110
  error: string;
5111
5111
  };
5112
5112
  outputFormat: "json";
5113
- status: 409;
5113
+ status: 404;
5114
5114
  input: {
5115
5115
  json: {
5116
5116
  text?: string | undefined;
@@ -5126,10 +5126,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5126
5126
  };
5127
5127
  } | {
5128
5128
  output: {
5129
- delivered: true;
5129
+ error: string;
5130
5130
  };
5131
5131
  outputFormat: "json";
5132
- status: import("hono/utils/http-status").ContentfulStatusCode;
5132
+ status: 409;
5133
5133
  input: {
5134
5134
  json: {
5135
5135
  text?: string | undefined;
@@ -5145,10 +5145,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5145
5145
  };
5146
5146
  } | {
5147
5147
  output: {
5148
- error: string;
5148
+ delivered: true;
5149
5149
  };
5150
5150
  outputFormat: "json";
5151
- status: 400;
5151
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5152
5152
  input: {
5153
5153
  json: {
5154
5154
  text?: string | undefined;
@@ -5215,7 +5215,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5215
5215
  error: string;
5216
5216
  };
5217
5217
  outputFormat: "json";
5218
- status: 404;
5218
+ status: 400;
5219
5219
  input: {
5220
5220
  json: {
5221
5221
  text?: string | undefined;
@@ -5236,7 +5236,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5236
5236
  error: string;
5237
5237
  };
5238
5238
  outputFormat: "json";
5239
- status: 400;
5239
+ status: 404;
5240
5240
  input: {
5241
5241
  json: {
5242
5242
  text?: string | undefined;
@@ -5493,7 +5493,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5493
5493
  error: string;
5494
5494
  };
5495
5495
  outputFormat: "json";
5496
- status: 404;
5496
+ status: 400;
5497
5497
  input: {
5498
5498
  json: {
5499
5499
  target: string;
@@ -5509,7 +5509,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5509
5509
  error: string;
5510
5510
  };
5511
5511
  outputFormat: "json";
5512
- status: 409;
5512
+ status: 404;
5513
5513
  input: {
5514
5514
  json: {
5515
5515
  target: string;
@@ -5525,7 +5525,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5525
5525
  error: string;
5526
5526
  };
5527
5527
  outputFormat: "json";
5528
- status: 400;
5528
+ status: 409;
5529
5529
  input: {
5530
5530
  json: {
5531
5531
  target: string;
@@ -5597,20 +5597,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5597
5597
  } & {
5598
5598
  "/runs/:id/diff": {
5599
5599
  $get: {
5600
- output: string;
5601
- outputFormat: "text";
5602
- status: import("hono/utils/http-status").ContentfulStatusCode;
5600
+ output: {
5601
+ error: string;
5602
+ };
5603
+ outputFormat: "json";
5604
+ status: 404;
5603
5605
  input: {
5604
5606
  param: {
5605
5607
  id: string;
5606
5608
  };
5607
5609
  };
5608
5610
  } | {
5609
- output: {
5610
- error: string;
5611
- };
5612
- outputFormat: "json";
5613
- status: 404;
5611
+ output: string;
5612
+ outputFormat: "text";
5613
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5614
5614
  input: {
5615
5615
  param: {
5616
5616
  id: string;
@@ -5979,10 +5979,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5979
5979
  "/runs/:id/pr": {
5980
5980
  $post: {
5981
5981
  output: {
5982
- error: string;
5982
+ url: string;
5983
+ dryRun: boolean;
5983
5984
  };
5984
5985
  outputFormat: "json";
5985
- status: 404;
5986
+ status: 201;
5986
5987
  input: {
5987
5988
  param: {
5988
5989
  id: string;
@@ -5993,7 +5994,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5993
5994
  error: string;
5994
5995
  };
5995
5996
  outputFormat: "json";
5996
- status: 409;
5997
+ status: 400;
5997
5998
  input: {
5998
5999
  param: {
5999
6000
  id: string;
@@ -6004,7 +6005,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6004
6005
  error: string;
6005
6006
  };
6006
6007
  outputFormat: "json";
6007
- status: 400;
6008
+ status: 404;
6008
6009
  input: {
6009
6010
  param: {
6010
6011
  id: string;
@@ -6012,11 +6013,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6012
6013
  };
6013
6014
  } | {
6014
6015
  output: {
6015
- url: string;
6016
- dryRun: boolean;
6016
+ error: string;
6017
6017
  };
6018
6018
  outputFormat: "json";
6019
- status: 201;
6019
+ status: 409;
6020
6020
  input: {
6021
6021
  param: {
6022
6022
  id: string;
@@ -6068,7 +6068,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6068
6068
  error: string;
6069
6069
  };
6070
6070
  outputFormat: "json";
6071
- status: 409;
6071
+ status: 404;
6072
6072
  input: {
6073
6073
  param: {
6074
6074
  id: string;
@@ -6079,7 +6079,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6079
6079
  error: string;
6080
6080
  };
6081
6081
  outputFormat: "json";
6082
- status: 404;
6082
+ status: 409;
6083
6083
  input: {
6084
6084
  param: {
6085
6085
  id: string;
@@ -6567,33 +6567,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6567
6567
  input: {};
6568
6568
  };
6569
6569
  };
6570
- }, "/"> | import("hono/types").MergeSchemaPath<{
6571
- "/config": {
6572
- $get: {
6573
- output: {
6574
- baseBranch: string | null;
6575
- defaultRunner: "claude" | "codex" | "opencode";
6576
- systemPrompt: string | null;
6577
- defaultModels: {
6578
- claude?: string | undefined;
6579
- codex?: string | undefined;
6580
- opencode?: string | undefined;
6581
- };
6582
- modelsLocked: boolean;
6583
- maxParallel: number;
6584
- memoryLimitMb: number | null;
6585
- worktreeRetention: number;
6586
- liveTitleUpdates: boolean | null;
6587
- reviewGate: boolean | null;
6588
- };
6589
- outputFormat: "json";
6590
- status: import("hono/utils/http-status").ContentfulStatusCode;
6591
- input: {};
6592
- };
6593
- };
6594
- } & {
6570
+ }, "/"> | import("hono/types").MergeSchemaPath<{
6595
6571
  "/config": {
6596
- $put: {
6572
+ $get: {
6597
6573
  output: {
6598
6574
  baseBranch: string | null;
6599
6575
  defaultRunner: "claude" | "codex" | "opencode";
@@ -6612,6 +6588,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6612
6588
  };
6613
6589
  outputFormat: "json";
6614
6590
  status: import("hono/utils/http-status").ContentfulStatusCode;
6591
+ input: {};
6592
+ };
6593
+ };
6594
+ } & {
6595
+ "/config": {
6596
+ $put: {
6597
+ output: {
6598
+ error: string;
6599
+ };
6600
+ outputFormat: "json";
6601
+ status: 409;
6615
6602
  input: {
6616
6603
  json: {
6617
6604
  baseBranch?: string | null | undefined;
@@ -6634,7 +6621,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6634
6621
  error: string;
6635
6622
  };
6636
6623
  outputFormat: "json";
6637
- status: 409;
6624
+ status: 500;
6638
6625
  input: {
6639
6626
  json: {
6640
6627
  baseBranch?: string | null | undefined;
@@ -6654,10 +6641,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6654
6641
  };
6655
6642
  } | {
6656
6643
  output: {
6657
- error: string;
6644
+ baseBranch: string | null;
6645
+ defaultRunner: "claude" | "codex" | "opencode";
6646
+ systemPrompt: string | null;
6647
+ defaultModels: {
6648
+ claude?: string | undefined;
6649
+ codex?: string | undefined;
6650
+ opencode?: string | undefined;
6651
+ };
6652
+ modelsLocked: boolean;
6653
+ maxParallel: number;
6654
+ memoryLimitMb: number | null;
6655
+ worktreeRetention: number;
6656
+ liveTitleUpdates: boolean | null;
6657
+ reviewGate: boolean | null;
6658
6658
  };
6659
6659
  outputFormat: "json";
6660
- status: 500;
6660
+ status: import("hono/utils/http-status").ContentfulStatusCode;
6661
6661
  input: {
6662
6662
  json: {
6663
6663
  baseBranch?: string | null | undefined;
@@ -6680,6 +6680,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6680
6680
  }, "/"> | import("hono/types").MergeSchemaPath<{
6681
6681
  "/skills": {
6682
6682
  $get: {
6683
+ output: {
6684
+ error: string;
6685
+ };
6686
+ outputFormat: "json";
6687
+ status: 400;
6688
+ input: {
6689
+ query: {
6690
+ wait?: string | undefined;
6691
+ };
6692
+ };
6693
+ } | {
6683
6694
  output: {
6684
6695
  name: string;
6685
6696
  description?: string;
@@ -6702,7 +6713,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6702
6713
  wait?: string | undefined;
6703
6714
  };
6704
6715
  };
6705
- } | {
6716
+ };
6717
+ };
6718
+ } & {
6719
+ "/skills/importable": {
6720
+ $get: {
6706
6721
  output: {
6707
6722
  error: string;
6708
6723
  };
@@ -6713,11 +6728,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6713
6728
  wait?: string | undefined;
6714
6729
  };
6715
6730
  };
6716
- };
6717
- };
6718
- } & {
6719
- "/skills/importable": {
6720
- $get: {
6731
+ } | {
6721
6732
  output: {
6722
6733
  name: string;
6723
6734
  description?: string | undefined;
@@ -6729,17 +6740,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6729
6740
  wait?: string | undefined;
6730
6741
  };
6731
6742
  };
6732
- } | {
6733
- output: {
6734
- error: string;
6735
- };
6736
- outputFormat: "json";
6737
- status: 400;
6738
- input: {
6739
- query: {
6740
- wait?: string | undefined;
6741
- };
6742
- };
6743
6743
  };
6744
6744
  };
6745
6745
  } & {
@@ -6793,7 +6793,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6793
6793
  error: string;
6794
6794
  };
6795
6795
  outputFormat: "json";
6796
- status: 409;
6796
+ status: 404;
6797
6797
  input: {
6798
6798
  param: {
6799
6799
  id: string;
@@ -6801,10 +6801,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6801
6801
  };
6802
6802
  } | {
6803
6803
  output: {
6804
- removed: true;
6804
+ error: string;
6805
6805
  };
6806
6806
  outputFormat: "json";
6807
- status: import("hono/utils/http-status").ContentfulStatusCode;
6807
+ status: 409;
6808
6808
  input: {
6809
6809
  param: {
6810
6810
  id: string;
@@ -6812,10 +6812,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6812
6812
  };
6813
6813
  } | {
6814
6814
  output: {
6815
- error: string;
6815
+ removed: true;
6816
6816
  };
6817
6817
  outputFormat: "json";
6818
- status: 404;
6818
+ status: import("hono/utils/http-status").ContentfulStatusCode;
6819
6819
  input: {
6820
6820
  param: {
6821
6821
  id: string;
@@ -6826,23 +6826,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6826
6826
  } & {
6827
6827
  "/todos/:id/start": {
6828
6828
  $post: {
6829
- output: {
6830
- error: string;
6831
- };
6832
- outputFormat: "json";
6833
- status: 409;
6834
- input: {
6835
- json: {
6836
- runner?: "claude" | "codex" | "opencode" | undefined;
6837
- model?: string | undefined;
6838
- prompt?: string | undefined;
6839
- } | undefined;
6840
- } & {
6841
- param: {
6842
- id: string;
6843
- };
6844
- };
6845
- } | {
6846
6829
  output: {
6847
6830
  run: {
6848
6831
  id: string;
@@ -6970,6 +6953,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6970
6953
  id: string;
6971
6954
  };
6972
6955
  };
6956
+ } | {
6957
+ output: {
6958
+ error: string;
6959
+ };
6960
+ outputFormat: "json";
6961
+ status: 404;
6962
+ input: {
6963
+ json: {
6964
+ runner?: "claude" | "codex" | "opencode" | undefined;
6965
+ model?: string | undefined;
6966
+ prompt?: string | undefined;
6967
+ } | undefined;
6968
+ } & {
6969
+ param: {
6970
+ id: string;
6971
+ };
6972
+ };
6973
6973
  } | {
6974
6974
  output: {
6975
6975
  error: string;
@@ -6992,7 +6992,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6992
6992
  error: string;
6993
6993
  };
6994
6994
  outputFormat: "json";
6995
- status: 404;
6995
+ status: 409;
6996
6996
  input: {
6997
6997
  json: {
6998
6998
  runner?: "claude" | "codex" | "opencode" | undefined;
@@ -7094,14 +7094,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7094
7094
  "/agent-config/:id": {
7095
7095
  $put: {
7096
7096
  output: {
7097
- id: string;
7098
- path: string;
7099
- exists: boolean;
7100
- content: string;
7101
- version: string | null;
7097
+ error: string;
7102
7098
  };
7103
7099
  outputFormat: "json";
7104
- status: import("hono/utils/http-status").ContentfulStatusCode;
7100
+ status: 404;
7105
7101
  input: {
7106
7102
  json: {
7107
7103
  content: string;
@@ -7114,10 +7110,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7114
7110
  };
7115
7111
  } | {
7116
7112
  output: {
7117
- error: string;
7113
+ id: string;
7114
+ path: string;
7115
+ exists: boolean;
7116
+ content: string;
7117
+ version: string | null;
7118
7118
  };
7119
7119
  outputFormat: "json";
7120
- status: 404;
7120
+ status: import("hono/utils/http-status").ContentfulStatusCode;
7121
7121
  input: {
7122
7122
  json: {
7123
7123
  content: string;
@@ -7185,10 +7185,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7185
7185
  "/workflows": {
7186
7186
  $post: {
7187
7187
  output: {
7188
- error: string;
7188
+ path: string;
7189
+ name: string;
7189
7190
  };
7190
7191
  outputFormat: "json";
7191
- status: 400;
7192
+ status: 201;
7192
7193
  input: {
7193
7194
  json: {
7194
7195
  name: string;
@@ -7215,10 +7216,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7215
7216
  } | {
7216
7217
  output: {
7217
7218
  error: string;
7218
- exists: true;
7219
7219
  };
7220
7220
  outputFormat: "json";
7221
- status: 409;
7221
+ status: 400;
7222
7222
  input: {
7223
7223
  json: {
7224
7224
  name: string;
@@ -7245,9 +7245,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7245
7245
  } | {
7246
7246
  output: {
7247
7247
  error: string;
7248
+ exists: true;
7248
7249
  };
7249
7250
  outputFormat: "json";
7250
- status: 500;
7251
+ status: 409;
7251
7252
  input: {
7252
7253
  json: {
7253
7254
  name: string;
@@ -7273,11 +7274,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7273
7274
  };
7274
7275
  } | {
7275
7276
  output: {
7276
- path: string;
7277
- name: string;
7277
+ error: string;
7278
7278
  };
7279
7279
  outputFormat: "json";
7280
- status: 201;
7280
+ status: 500;
7281
7281
  input: {
7282
7282
  json: {
7283
7283
  name: string;
@@ -7310,7 +7310,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7310
7310
  error: string;
7311
7311
  };
7312
7312
  outputFormat: "json";
7313
- status: 404;
7313
+ status: 400;
7314
7314
  input: {
7315
7315
  param: {
7316
7316
  name: string;
@@ -7321,7 +7321,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7321
7321
  error: string;
7322
7322
  };
7323
7323
  outputFormat: "json";
7324
- status: 400;
7324
+ status: 404;
7325
7325
  input: {
7326
7326
  param: {
7327
7327
  name: string;
@@ -7444,9 +7444,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7444
7444
  } & {
7445
7445
  "/repo/commit/:sha": {
7446
7446
  $get: {
7447
- output: string;
7448
- outputFormat: "text";
7449
- status: import("hono/utils/http-status").ContentfulStatusCode;
7447
+ output: {
7448
+ error: string;
7449
+ };
7450
+ outputFormat: "json";
7451
+ status: 400;
7450
7452
  input: {
7451
7453
  query: {
7452
7454
  structured?: string | undefined;
@@ -7461,7 +7463,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7461
7463
  error: string;
7462
7464
  };
7463
7465
  outputFormat: "json";
7464
- status: 400;
7466
+ status: 409;
7465
7467
  input: {
7466
7468
  query: {
7467
7469
  structured?: string | undefined;
@@ -7505,11 +7507,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7505
7507
  };
7506
7508
  };
7507
7509
  } | {
7508
- output: {
7509
- error: string;
7510
- };
7511
- outputFormat: "json";
7512
- status: 409;
7510
+ output: string;
7511
+ outputFormat: "text";
7512
+ status: import("hono/utils/http-status").ContentfulStatusCode;
7513
7513
  input: {
7514
7514
  query: {
7515
7515
  structured?: string | undefined;
@@ -7524,6 +7524,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7524
7524
  } & {
7525
7525
  "/repo/changes": {
7526
7526
  $get: {
7527
+ output: {
7528
+ error: string;
7529
+ };
7530
+ outputFormat: "json";
7531
+ status: 409;
7532
+ input: {};
7533
+ } | {
7527
7534
  output: {
7528
7535
  files: {
7529
7536
  path: string;
@@ -7548,13 +7555,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7548
7555
  outputFormat: "json";
7549
7556
  status: import("hono/utils/http-status").ContentfulStatusCode;
7550
7557
  input: {};
7551
- } | {
7552
- output: {
7553
- error: string;
7554
- };
7555
- outputFormat: "json";
7556
- status: 409;
7557
- input: {};
7558
7558
  };
7559
7559
  };
7560
7560
  } & {
@@ -8139,30 +8139,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8139
8139
  "/automations": {
8140
8140
  $post: {
8141
8141
  output: {
8142
- error: string;
8143
- };
8144
- outputFormat: "json";
8145
- status: 400;
8146
- input: {
8147
- json: {
8142
+ automation: {
8143
+ [x: string]: import("hono/utils/types").JSONValue;
8144
+ id: string;
8145
+ revision: number;
8148
8146
  name: string;
8149
8147
  description?: string | undefined;
8150
- enabled?: boolean | undefined;
8148
+ enabled: boolean;
8151
8149
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
8152
8150
  intervalSeconds: number;
8153
8151
  filters: {
8154
- [x: string]: unknown;
8152
+ [x: string]: import("hono/utils/types").JSONValue;
8155
8153
  authors?: string[] | undefined;
8156
8154
  assignees?: string[] | undefined;
8157
8155
  allLabels?: string[] | undefined;
8158
8156
  anyLabels?: string[] | undefined;
8159
8157
  excludeLabels?: string[] | undefined;
8160
8158
  changedLabels?: string[] | undefined;
8161
- lookbackDays?: number | undefined;
8162
- maxRecords?: number | undefined;
8159
+ lookbackDays: number;
8160
+ maxRecords: number;
8163
8161
  };
8164
8162
  task: {
8165
- [x: string]: unknown;
8163
+ [x: string]: import("hono/utils/types").JSONValue;
8166
8164
  prompt: string;
8167
8165
  workflow?: string | undefined;
8168
8166
  steps?: {
@@ -8177,7 +8175,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8177
8175
  command?: string | undefined;
8178
8176
  onFail?: {
8179
8177
  retry: string;
8180
- max?: number | undefined;
8178
+ max: number;
8181
8179
  } | undefined;
8182
8180
  }[] | undefined;
8183
8181
  runner?: "claude" | "codex" | "opencode" | undefined;
@@ -8188,33 +8186,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8188
8186
  autonomous?: boolean | undefined;
8189
8187
  systemPrompt?: string | undefined;
8190
8188
  };
8191
- enable?: boolean | undefined;
8189
+ createdAt: string;
8190
+ updatedAt: string;
8192
8191
  };
8193
8192
  };
8194
- } | {
8195
- output: {
8196
- automation: {
8197
- [x: string]: import("hono/utils/types").JSONValue;
8198
- id: string;
8199
- revision: number;
8193
+ outputFormat: "json";
8194
+ status: 201;
8195
+ input: {
8196
+ json: {
8200
8197
  name: string;
8201
8198
  description?: string | undefined;
8202
- enabled: boolean;
8199
+ enabled?: boolean | undefined;
8203
8200
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
8204
8201
  intervalSeconds: number;
8205
8202
  filters: {
8206
- [x: string]: import("hono/utils/types").JSONValue;
8203
+ [x: string]: unknown;
8207
8204
  authors?: string[] | undefined;
8208
8205
  assignees?: string[] | undefined;
8209
8206
  allLabels?: string[] | undefined;
8210
8207
  anyLabels?: string[] | undefined;
8211
8208
  excludeLabels?: string[] | undefined;
8212
8209
  changedLabels?: string[] | undefined;
8213
- lookbackDays: number;
8214
- maxRecords: number;
8210
+ lookbackDays?: number | undefined;
8211
+ maxRecords?: number | undefined;
8215
8212
  };
8216
8213
  task: {
8217
- [x: string]: import("hono/utils/types").JSONValue;
8214
+ [x: string]: unknown;
8218
8215
  prompt: string;
8219
8216
  workflow?: string | undefined;
8220
8217
  steps?: {
@@ -8229,7 +8226,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8229
8226
  command?: string | undefined;
8230
8227
  onFail?: {
8231
8228
  retry: string;
8232
- max: number;
8229
+ max?: number | undefined;
8233
8230
  } | undefined;
8234
8231
  }[] | undefined;
8235
8232
  runner?: "claude" | "codex" | "opencode" | undefined;
@@ -8240,12 +8237,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8240
8237
  autonomous?: boolean | undefined;
8241
8238
  systemPrompt?: string | undefined;
8242
8239
  };
8243
- createdAt: string;
8244
- updatedAt: string;
8240
+ enable?: boolean | undefined;
8245
8241
  };
8246
8242
  };
8243
+ } | {
8244
+ output: {
8245
+ error: string;
8246
+ };
8247
8247
  outputFormat: "json";
8248
- status: 201;
8248
+ status: 400;
8249
8249
  input: {
8250
8250
  json: {
8251
8251
  name: string;
@@ -8825,10 +8825,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8825
8825
  "/automations/:id/check": {
8826
8826
  $post: {
8827
8827
  output: {
8828
- error: string;
8828
+ checkId: string;
8829
8829
  };
8830
8830
  outputFormat: "json";
8831
- status: 404;
8831
+ status: 202;
8832
8832
  input: {
8833
8833
  json: {
8834
8834
  mode: "execute" | "preview";
@@ -8840,10 +8840,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8840
8840
  };
8841
8841
  } | {
8842
8842
  output: {
8843
- checkId: string;
8843
+ error: string;
8844
8844
  };
8845
8845
  outputFormat: "json";
8846
- status: 202;
8846
+ status: 404;
8847
8847
  input: {
8848
8848
  json: {
8849
8849
  mode: "execute" | "preview";
@@ -8916,10 +8916,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8916
8916
  "/automation-log/:receiptId/retry": {
8917
8917
  $post: {
8918
8918
  output: {
8919
- error: string;
8919
+ receiptId: string;
8920
+ runId: string;
8920
8921
  };
8921
8922
  outputFormat: "json";
8922
- status: 404;
8923
+ status: 202;
8923
8924
  input: {
8924
8925
  param: {
8925
8926
  receiptId: string;
@@ -8930,7 +8931,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8930
8931
  error: string;
8931
8932
  };
8932
8933
  outputFormat: "json";
8933
- status: 409;
8934
+ status: 404;
8934
8935
  input: {
8935
8936
  param: {
8936
8937
  receiptId: string;
@@ -8938,11 +8939,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8938
8939
  };
8939
8940
  } | {
8940
8941
  output: {
8941
- receiptId: string;
8942
- runId: string;
8942
+ error: string;
8943
8943
  };
8944
8944
  outputFormat: "json";
8945
- status: 202;
8945
+ status: 409;
8946
8946
  input: {
8947
8947
  param: {
8948
8948
  receiptId: string;
@@ -9085,6 +9085,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9085
9085
  } & {
9086
9086
  "/runs/:id/archive": {
9087
9087
  $post: {
9088
+ output: {
9089
+ error: string;
9090
+ };
9091
+ outputFormat: "json";
9092
+ status: 404;
9093
+ input: {
9094
+ json: {
9095
+ archived?: boolean | undefined;
9096
+ };
9097
+ } & {
9098
+ param: {
9099
+ id: string;
9100
+ };
9101
+ };
9102
+ } | {
9088
9103
  output: {
9089
9104
  id: string;
9090
9105
  title: string;
@@ -9208,21 +9223,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9208
9223
  id: string;
9209
9224
  };
9210
9225
  };
9211
- } | {
9212
- output: {
9213
- error: string;
9214
- };
9215
- outputFormat: "json";
9216
- status: 404;
9217
- input: {
9218
- json: {
9219
- archived?: boolean | undefined;
9220
- };
9221
- } & {
9222
- param: {
9223
- id: string;
9224
- };
9225
- };
9226
9226
  };
9227
9227
  };
9228
9228
  } & {
@@ -9375,123 +9375,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9375
9375
  todoId?: string | undefined;
9376
9376
  };
9377
9377
  };
9378
- } | {
9379
- output: {
9380
- error: string;
9381
- };
9382
- outputFormat: "json";
9383
- status: 409;
9384
- input: {
9385
- json: {
9386
- workflow?: string | undefined;
9387
- steps?: {
9388
- id: string;
9389
- name?: string | undefined;
9390
- prompt?: string | undefined;
9391
- skill?: string | undefined;
9392
- model?: string | undefined;
9393
- runner?: "claude" | "codex" | "opencode" | undefined;
9394
- allowedTools?: string[] | undefined;
9395
- bashAllowlist?: string[] | undefined;
9396
- command?: string | undefined;
9397
- onFail?: {
9398
- retry: string;
9399
- max?: number | undefined;
9400
- } | undefined;
9401
- }[] | undefined;
9402
- task: string;
9403
- model?: string | undefined;
9404
- runner?: "claude" | "codex" | "opencode" | undefined;
9405
- variants?: number | undefined;
9406
- worktree?: boolean | undefined;
9407
- autonomous?: boolean | undefined;
9408
- generateFollowups?: boolean | undefined;
9409
- systemPrompt?: string | undefined;
9410
- images?: {
9411
- mediaType: string;
9412
- data: string;
9413
- }[] | undefined;
9414
- todoId?: string | undefined;
9415
- };
9416
- };
9417
- } | {
9418
- output: {
9419
- error: string;
9420
- };
9421
- outputFormat: "json";
9422
- status: 400;
9423
- input: {
9424
- json: {
9425
- workflow?: string | undefined;
9426
- steps?: {
9427
- id: string;
9428
- name?: string | undefined;
9429
- prompt?: string | undefined;
9430
- skill?: string | undefined;
9431
- model?: string | undefined;
9432
- runner?: "claude" | "codex" | "opencode" | undefined;
9433
- allowedTools?: string[] | undefined;
9434
- bashAllowlist?: string[] | undefined;
9435
- command?: string | undefined;
9436
- onFail?: {
9437
- retry: string;
9438
- max?: number | undefined;
9439
- } | undefined;
9440
- }[] | undefined;
9441
- task: string;
9442
- model?: string | undefined;
9443
- runner?: "claude" | "codex" | "opencode" | undefined;
9444
- variants?: number | undefined;
9445
- worktree?: boolean | undefined;
9446
- autonomous?: boolean | undefined;
9447
- generateFollowups?: boolean | undefined;
9448
- systemPrompt?: string | undefined;
9449
- images?: {
9450
- mediaType: string;
9451
- data: string;
9452
- }[] | undefined;
9453
- todoId?: string | undefined;
9454
- };
9455
- };
9456
- } | {
9457
- output: {
9458
- error: string;
9459
- };
9460
- outputFormat: "json";
9461
- status: 404;
9462
- input: {
9463
- json: {
9464
- workflow?: string | undefined;
9465
- steps?: {
9466
- id: string;
9467
- name?: string | undefined;
9468
- prompt?: string | undefined;
9469
- skill?: string | undefined;
9470
- model?: string | undefined;
9471
- runner?: "claude" | "codex" | "opencode" | undefined;
9472
- allowedTools?: string[] | undefined;
9473
- bashAllowlist?: string[] | undefined;
9474
- command?: string | undefined;
9475
- onFail?: {
9476
- retry: string;
9477
- max?: number | undefined;
9478
- } | undefined;
9479
- }[] | undefined;
9480
- task: string;
9481
- model?: string | undefined;
9482
- runner?: "claude" | "codex" | "opencode" | undefined;
9483
- variants?: number | undefined;
9484
- worktree?: boolean | undefined;
9485
- autonomous?: boolean | undefined;
9486
- generateFollowups?: boolean | undefined;
9487
- systemPrompt?: string | undefined;
9488
- images?: {
9489
- mediaType: string;
9490
- data: string;
9491
- }[] | undefined;
9492
- todoId?: string | undefined;
9493
- };
9494
- };
9495
9378
  } | {
9496
9379
  output: {
9497
9380
  runs: {
@@ -9565,50 +9448,167 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9565
9448
  error?: string | undefined;
9566
9449
  steps: {
9567
9450
  id: string;
9568
- name: string;
9569
- kind: "agent" | "check";
9570
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
9571
- iterations: number;
9572
- tokensUsed: number;
9573
- inputTokens?: number | undefined;
9574
- outputTokens?: number | undefined;
9575
- usageInvocationsStarted?: number | undefined;
9576
- usageInvocationsObserved?: number | undefined;
9577
- usageTurnsStarted?: number | undefined;
9578
- usageTurnsRecorded?: number | undefined;
9579
- usageInvocationEpoch?: number | undefined;
9580
- startedAt?: string | undefined;
9581
- finishedAt?: string | undefined;
9582
- error?: string | undefined;
9583
- sessionId?: string | undefined;
9584
- backend?: "claude" | "codex" | "opencode" | undefined;
9585
- costUsd?: number | undefined;
9586
- }[];
9587
- workflowDef?: {
9588
- name: string;
9589
- description?: string | undefined;
9590
- steps: {
9591
- id: string;
9592
- name?: string | undefined;
9593
- prompt?: string | undefined;
9594
- skill?: string | undefined;
9595
- model?: string | undefined;
9596
- runner?: "claude" | "codex" | "opencode" | undefined;
9597
- allowedTools?: string[] | undefined;
9598
- bashAllowlist?: string[] | undefined;
9599
- command?: string | undefined;
9600
- onFail?: {
9601
- retry: string;
9602
- max: number;
9603
- } | undefined;
9604
- }[];
9605
- source: "built-in" | "file";
9606
- path?: string | undefined;
9607
- } | undefined;
9608
- }[];
9451
+ name: string;
9452
+ kind: "agent" | "check";
9453
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
9454
+ iterations: number;
9455
+ tokensUsed: number;
9456
+ inputTokens?: number | undefined;
9457
+ outputTokens?: number | undefined;
9458
+ usageInvocationsStarted?: number | undefined;
9459
+ usageInvocationsObserved?: number | undefined;
9460
+ usageTurnsStarted?: number | undefined;
9461
+ usageTurnsRecorded?: number | undefined;
9462
+ usageInvocationEpoch?: number | undefined;
9463
+ startedAt?: string | undefined;
9464
+ finishedAt?: string | undefined;
9465
+ error?: string | undefined;
9466
+ sessionId?: string | undefined;
9467
+ backend?: "claude" | "codex" | "opencode" | undefined;
9468
+ costUsd?: number | undefined;
9469
+ }[];
9470
+ workflowDef?: {
9471
+ name: string;
9472
+ description?: string | undefined;
9473
+ steps: {
9474
+ id: string;
9475
+ name?: string | undefined;
9476
+ prompt?: string | undefined;
9477
+ skill?: string | undefined;
9478
+ model?: string | undefined;
9479
+ runner?: "claude" | "codex" | "opencode" | undefined;
9480
+ allowedTools?: string[] | undefined;
9481
+ bashAllowlist?: string[] | undefined;
9482
+ command?: string | undefined;
9483
+ onFail?: {
9484
+ retry: string;
9485
+ max: number;
9486
+ } | undefined;
9487
+ }[];
9488
+ source: "built-in" | "file";
9489
+ path?: string | undefined;
9490
+ } | undefined;
9491
+ }[];
9492
+ };
9493
+ outputFormat: "json";
9494
+ status: 201;
9495
+ input: {
9496
+ json: {
9497
+ workflow?: string | undefined;
9498
+ steps?: {
9499
+ id: string;
9500
+ name?: string | undefined;
9501
+ prompt?: string | undefined;
9502
+ skill?: string | undefined;
9503
+ model?: string | undefined;
9504
+ runner?: "claude" | "codex" | "opencode" | undefined;
9505
+ allowedTools?: string[] | undefined;
9506
+ bashAllowlist?: string[] | undefined;
9507
+ command?: string | undefined;
9508
+ onFail?: {
9509
+ retry: string;
9510
+ max?: number | undefined;
9511
+ } | undefined;
9512
+ }[] | undefined;
9513
+ task: string;
9514
+ model?: string | undefined;
9515
+ runner?: "claude" | "codex" | "opencode" | undefined;
9516
+ variants?: number | undefined;
9517
+ worktree?: boolean | undefined;
9518
+ autonomous?: boolean | undefined;
9519
+ generateFollowups?: boolean | undefined;
9520
+ systemPrompt?: string | undefined;
9521
+ images?: {
9522
+ mediaType: string;
9523
+ data: string;
9524
+ }[] | undefined;
9525
+ todoId?: string | undefined;
9526
+ };
9527
+ };
9528
+ } | {
9529
+ output: {
9530
+ error: string;
9531
+ };
9532
+ outputFormat: "json";
9533
+ status: 400;
9534
+ input: {
9535
+ json: {
9536
+ workflow?: string | undefined;
9537
+ steps?: {
9538
+ id: string;
9539
+ name?: string | undefined;
9540
+ prompt?: string | undefined;
9541
+ skill?: string | undefined;
9542
+ model?: string | undefined;
9543
+ runner?: "claude" | "codex" | "opencode" | undefined;
9544
+ allowedTools?: string[] | undefined;
9545
+ bashAllowlist?: string[] | undefined;
9546
+ command?: string | undefined;
9547
+ onFail?: {
9548
+ retry: string;
9549
+ max?: number | undefined;
9550
+ } | undefined;
9551
+ }[] | undefined;
9552
+ task: string;
9553
+ model?: string | undefined;
9554
+ runner?: "claude" | "codex" | "opencode" | undefined;
9555
+ variants?: number | undefined;
9556
+ worktree?: boolean | undefined;
9557
+ autonomous?: boolean | undefined;
9558
+ generateFollowups?: boolean | undefined;
9559
+ systemPrompt?: string | undefined;
9560
+ images?: {
9561
+ mediaType: string;
9562
+ data: string;
9563
+ }[] | undefined;
9564
+ todoId?: string | undefined;
9565
+ };
9566
+ };
9567
+ } | {
9568
+ output: {
9569
+ error: string;
9570
+ };
9571
+ outputFormat: "json";
9572
+ status: 404;
9573
+ input: {
9574
+ json: {
9575
+ workflow?: string | undefined;
9576
+ steps?: {
9577
+ id: string;
9578
+ name?: string | undefined;
9579
+ prompt?: string | undefined;
9580
+ skill?: string | undefined;
9581
+ model?: string | undefined;
9582
+ runner?: "claude" | "codex" | "opencode" | undefined;
9583
+ allowedTools?: string[] | undefined;
9584
+ bashAllowlist?: string[] | undefined;
9585
+ command?: string | undefined;
9586
+ onFail?: {
9587
+ retry: string;
9588
+ max?: number | undefined;
9589
+ } | undefined;
9590
+ }[] | undefined;
9591
+ task: string;
9592
+ model?: string | undefined;
9593
+ runner?: "claude" | "codex" | "opencode" | undefined;
9594
+ variants?: number | undefined;
9595
+ worktree?: boolean | undefined;
9596
+ autonomous?: boolean | undefined;
9597
+ generateFollowups?: boolean | undefined;
9598
+ systemPrompt?: string | undefined;
9599
+ images?: {
9600
+ mediaType: string;
9601
+ data: string;
9602
+ }[] | undefined;
9603
+ todoId?: string | undefined;
9604
+ };
9605
+ };
9606
+ } | {
9607
+ output: {
9608
+ error: string;
9609
9609
  };
9610
9610
  outputFormat: "json";
9611
- status: 201;
9611
+ status: 409;
9612
9612
  input: {
9613
9613
  json: {
9614
9614
  workflow?: string | undefined;
@@ -9647,6 +9647,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9647
9647
  } & {
9648
9648
  "/runs/:id": {
9649
9649
  $get: {
9650
+ output: {
9651
+ error: string;
9652
+ };
9653
+ outputFormat: "json";
9654
+ status: 404;
9655
+ input: {
9656
+ param: {
9657
+ id: string;
9658
+ };
9659
+ };
9660
+ } | {
9650
9661
  output: {
9651
9662
  id: string;
9652
9663
  title: string;
@@ -9767,6 +9778,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9767
9778
  id: string;
9768
9779
  };
9769
9780
  };
9781
+ };
9782
+ };
9783
+ } & {
9784
+ "/runs/:id": {
9785
+ $patch: {
9786
+ output: {
9787
+ error: string;
9788
+ };
9789
+ outputFormat: "json";
9790
+ status: 400;
9791
+ input: {
9792
+ json: {
9793
+ title?: string | undefined;
9794
+ task?: string | undefined;
9795
+ };
9796
+ } & {
9797
+ param: {
9798
+ id: string;
9799
+ };
9800
+ };
9770
9801
  } | {
9771
9802
  output: {
9772
9803
  error: string;
@@ -9774,15 +9805,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9774
9805
  outputFormat: "json";
9775
9806
  status: 404;
9776
9807
  input: {
9808
+ json: {
9809
+ title?: string | undefined;
9810
+ task?: string | undefined;
9811
+ };
9812
+ } & {
9813
+ param: {
9814
+ id: string;
9815
+ };
9816
+ };
9817
+ } | {
9818
+ output: {
9819
+ error: string;
9820
+ };
9821
+ outputFormat: "json";
9822
+ status: 409;
9823
+ input: {
9824
+ json: {
9825
+ title?: string | undefined;
9826
+ task?: string | undefined;
9827
+ };
9828
+ } & {
9777
9829
  param: {
9778
9830
  id: string;
9779
9831
  };
9780
9832
  };
9781
- };
9782
- };
9783
- } & {
9784
- "/runs/:id": {
9785
- $patch: {
9833
+ } | {
9786
9834
  output: {
9787
9835
  id: string;
9788
9836
  title: string;
@@ -9907,54 +9955,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9907
9955
  id: string;
9908
9956
  };
9909
9957
  };
9910
- } | {
9911
- output: {
9912
- error: string;
9913
- };
9914
- outputFormat: "json";
9915
- status: 404;
9916
- input: {
9917
- json: {
9918
- title?: string | undefined;
9919
- task?: string | undefined;
9920
- };
9921
- } & {
9922
- param: {
9923
- id: string;
9924
- };
9925
- };
9926
- } | {
9927
- output: {
9928
- error: string;
9929
- };
9930
- outputFormat: "json";
9931
- status: 400;
9932
- input: {
9933
- json: {
9934
- title?: string | undefined;
9935
- task?: string | undefined;
9936
- };
9937
- } & {
9938
- param: {
9939
- id: string;
9940
- };
9941
- };
9942
- } | {
9943
- output: {
9944
- error: string;
9945
- };
9946
- outputFormat: "json";
9947
- status: 409;
9948
- input: {
9949
- json: {
9950
- title?: string | undefined;
9951
- task?: string | undefined;
9952
- };
9953
- } & {
9954
- param: {
9955
- id: string;
9956
- };
9957
- };
9958
9958
  };
9959
9959
  };
9960
9960
  } & {
@@ -9990,7 +9990,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9990
9990
  error: string;
9991
9991
  };
9992
9992
  outputFormat: "json";
9993
- status: 404;
9993
+ status: 400;
9994
9994
  input: {
9995
9995
  json: {
9996
9996
  text?: string | undefined;
@@ -10009,7 +10009,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10009
10009
  error: string;
10010
10010
  };
10011
10011
  outputFormat: "json";
10012
- status: 409;
10012
+ status: 404;
10013
10013
  input: {
10014
10014
  json: {
10015
10015
  text?: string | undefined;
@@ -10025,10 +10025,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10025
10025
  };
10026
10026
  } | {
10027
10027
  output: {
10028
- delivered: true;
10028
+ error: string;
10029
10029
  };
10030
10030
  outputFormat: "json";
10031
- status: import("hono/utils/http-status").ContentfulStatusCode;
10031
+ status: 409;
10032
10032
  input: {
10033
10033
  json: {
10034
10034
  text?: string | undefined;
@@ -10044,10 +10044,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10044
10044
  };
10045
10045
  } | {
10046
10046
  output: {
10047
- error: string;
10047
+ delivered: true;
10048
10048
  };
10049
10049
  outputFormat: "json";
10050
- status: 400;
10050
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10051
10051
  input: {
10052
10052
  json: {
10053
10053
  text?: string | undefined;
@@ -10114,7 +10114,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10114
10114
  error: string;
10115
10115
  };
10116
10116
  outputFormat: "json";
10117
- status: 404;
10117
+ status: 400;
10118
10118
  input: {
10119
10119
  json: {
10120
10120
  text?: string | undefined;
@@ -10135,7 +10135,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10135
10135
  error: string;
10136
10136
  };
10137
10137
  outputFormat: "json";
10138
- status: 400;
10138
+ status: 404;
10139
10139
  input: {
10140
10140
  json: {
10141
10141
  text?: string | undefined;
@@ -10392,7 +10392,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10392
10392
  error: string;
10393
10393
  };
10394
10394
  outputFormat: "json";
10395
- status: 404;
10395
+ status: 400;
10396
10396
  input: {
10397
10397
  json: {
10398
10398
  target: string;
@@ -10408,7 +10408,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10408
10408
  error: string;
10409
10409
  };
10410
10410
  outputFormat: "json";
10411
- status: 409;
10411
+ status: 404;
10412
10412
  input: {
10413
10413
  json: {
10414
10414
  target: string;
@@ -10424,7 +10424,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10424
10424
  error: string;
10425
10425
  };
10426
10426
  outputFormat: "json";
10427
- status: 400;
10427
+ status: 409;
10428
10428
  input: {
10429
10429
  json: {
10430
10430
  target: string;
@@ -10496,20 +10496,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10496
10496
  } & {
10497
10497
  "/runs/:id/diff": {
10498
10498
  $get: {
10499
- output: string;
10500
- outputFormat: "text";
10501
- status: import("hono/utils/http-status").ContentfulStatusCode;
10499
+ output: {
10500
+ error: string;
10501
+ };
10502
+ outputFormat: "json";
10503
+ status: 404;
10502
10504
  input: {
10503
10505
  param: {
10504
10506
  id: string;
10505
10507
  };
10506
10508
  };
10507
10509
  } | {
10508
- output: {
10509
- error: string;
10510
- };
10511
- outputFormat: "json";
10512
- status: 404;
10510
+ output: string;
10511
+ outputFormat: "text";
10512
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10513
10513
  input: {
10514
10514
  param: {
10515
10515
  id: string;
@@ -10878,10 +10878,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10878
10878
  "/runs/:id/pr": {
10879
10879
  $post: {
10880
10880
  output: {
10881
- error: string;
10881
+ url: string;
10882
+ dryRun: boolean;
10882
10883
  };
10883
10884
  outputFormat: "json";
10884
- status: 404;
10885
+ status: 201;
10885
10886
  input: {
10886
10887
  param: {
10887
10888
  id: string;
@@ -10892,7 +10893,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10892
10893
  error: string;
10893
10894
  };
10894
10895
  outputFormat: "json";
10895
- status: 409;
10896
+ status: 400;
10896
10897
  input: {
10897
10898
  param: {
10898
10899
  id: string;
@@ -10903,7 +10904,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10903
10904
  error: string;
10904
10905
  };
10905
10906
  outputFormat: "json";
10906
- status: 400;
10907
+ status: 404;
10907
10908
  input: {
10908
10909
  param: {
10909
10910
  id: string;
@@ -10911,11 +10912,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10911
10912
  };
10912
10913
  } | {
10913
10914
  output: {
10914
- url: string;
10915
- dryRun: boolean;
10915
+ error: string;
10916
10916
  };
10917
10917
  outputFormat: "json";
10918
- status: 201;
10918
+ status: 409;
10919
10919
  input: {
10920
10920
  param: {
10921
10921
  id: string;
@@ -10967,7 +10967,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10967
10967
  error: string;
10968
10968
  };
10969
10969
  outputFormat: "json";
10970
- status: 409;
10970
+ status: 404;
10971
10971
  input: {
10972
10972
  param: {
10973
10973
  id: string;
@@ -10978,7 +10978,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10978
10978
  error: string;
10979
10979
  };
10980
10980
  outputFormat: "json";
10981
- status: 404;
10981
+ status: 409;
10982
10982
  input: {
10983
10983
  param: {
10984
10984
  id: string;