@wjarka/cezarion 0.13.3-pr311.460 → 0.13.4

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.
@@ -315,10 +315,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
315
315
  };
316
316
  } | {
317
317
  output: {
318
- error: string;
318
+ path: string;
319
+ parent: string | null;
320
+ dirs: {
321
+ name: string;
322
+ path: string;
323
+ isRepo: boolean;
324
+ }[];
325
+ truncated: boolean;
319
326
  };
320
327
  outputFormat: "json";
321
- status: 400 | 404;
328
+ status: import("hono/utils/http-status").ContentfulStatusCode;
322
329
  input: {
323
330
  query: {
324
331
  path?: string | undefined;
@@ -327,17 +334,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
327
334
  };
328
335
  } | {
329
336
  output: {
330
- path: string;
331
- parent: string | null;
332
- dirs: {
333
- name: string;
334
- path: string;
335
- isRepo: boolean;
336
- }[];
337
- truncated: boolean;
337
+ error: string;
338
338
  };
339
339
  outputFormat: "json";
340
- status: import("hono/utils/http-status").ContentfulStatusCode;
340
+ status: 400 | 404;
341
341
  input: {
342
342
  query: {
343
343
  path?: string | undefined;
@@ -349,6 +349,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
349
349
  }, "/"> | import("hono/types").MergeSchemaPath<{
350
350
  "/automation-checks/:checkId": {
351
351
  $get: {
352
+ output: {
353
+ error: string;
354
+ };
355
+ outputFormat: "json";
356
+ status: 404;
357
+ input: {
358
+ param: {
359
+ checkId: string;
360
+ };
361
+ };
362
+ } | {
352
363
  output: {
353
364
  id: string;
354
365
  automationId: string;
@@ -367,17 +378,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
367
378
  checkId: string;
368
379
  };
369
380
  };
370
- } | {
371
- output: {
372
- error: string;
373
- };
374
- outputFormat: "json";
375
- status: 404;
376
- input: {
377
- param: {
378
- checkId: string;
379
- };
380
- };
381
381
  };
382
382
  };
383
383
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -470,17 +470,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
470
470
  projectId: string | string[];
471
471
  };
472
472
  };
473
- } | {
474
- output: {
475
- error: string;
476
- };
477
- outputFormat: "json";
478
- status: 404 | 409;
479
- input: {
480
- query: {
481
- projectId: string | string[];
482
- };
483
- };
484
473
  } | {
485
474
  output: {
486
475
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -507,6 +496,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
507
496
  projectId: string | string[];
508
497
  };
509
498
  };
499
+ } | {
500
+ output: {
501
+ error: string;
502
+ };
503
+ outputFormat: "json";
504
+ status: 404 | 409;
505
+ input: {
506
+ query: {
507
+ projectId: string | string[];
508
+ };
509
+ };
510
510
  };
511
511
  };
512
512
  } & {
@@ -645,17 +645,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
645
645
  };
646
646
  } | {
647
647
  output: {
648
- providers: {
649
- provider: ProviderId;
650
- status: import("../core/provider-auth.ts").ProviderConnectionState;
651
- enabled?: boolean;
652
- hint?: string;
653
- authFailureId?: string;
654
- profileId?: string;
655
- }[];
648
+ error: string;
656
649
  };
657
650
  outputFormat: "json";
658
- status: import("hono/utils/http-status").ContentfulStatusCode;
651
+ status: 500;
659
652
  input: {
660
653
  param: {
661
654
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -667,10 +660,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
667
660
  };
668
661
  } | {
669
662
  output: {
670
- error: string;
663
+ providers: {
664
+ provider: ProviderId;
665
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
666
+ enabled?: boolean;
667
+ hint?: string;
668
+ authFailureId?: string;
669
+ profileId?: string;
670
+ }[];
671
671
  };
672
672
  outputFormat: "json";
673
- status: 500;
673
+ status: import("hono/utils/http-status").ContentfulStatusCode;
674
674
  input: {
675
675
  param: {
676
676
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -702,17 +702,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
702
702
  };
703
703
  } | {
704
704
  output: {
705
- providers: {
706
- provider: ProviderId;
707
- status: import("../core/provider-auth.ts").ProviderConnectionState;
708
- enabled?: boolean;
709
- hint?: string;
710
- authFailureId?: string;
711
- profileId?: string;
712
- }[];
705
+ error: string;
713
706
  };
714
707
  outputFormat: "json";
715
- status: import("hono/utils/http-status").ContentfulStatusCode;
708
+ status: 409;
716
709
  input: {
717
710
  param: {
718
711
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -724,10 +717,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
724
717
  };
725
718
  } | {
726
719
  output: {
727
- error: string;
720
+ providers: {
721
+ provider: ProviderId;
722
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
723
+ enabled?: boolean;
724
+ hint?: string;
725
+ authFailureId?: string;
726
+ profileId?: string;
727
+ }[];
728
728
  };
729
729
  outputFormat: "json";
730
- status: 409;
730
+ status: import("hono/utils/http-status").ContentfulStatusCode;
731
731
  input: {
732
732
  param: {
733
733
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -746,7 +746,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
746
746
  error: string;
747
747
  };
748
748
  outputFormat: "json";
749
- status: 409;
749
+ status: 400;
750
750
  input: {
751
751
  json: {
752
752
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -758,7 +758,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
758
758
  error: string;
759
759
  };
760
760
  outputFormat: "json";
761
- status: 400;
761
+ status: 409;
762
762
  input: {
763
763
  json: {
764
764
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -846,35 +846,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
846
846
  "/workspace/config": {
847
847
  $put: {
848
848
  output: {
849
- browseRoot: string;
850
- projectsDir: string;
851
- skillsAutoUpdate: boolean | null;
852
- effectiveSkillsAutoUpdate: boolean;
853
- composerDefaults: {
854
- autonomous: boolean | null;
855
- worktree: boolean | null;
856
- inheritedAutonomous: boolean | 'source-dependent';
857
- inheritedWorktree: boolean;
858
- };
859
- resources: {
860
- maxParallel: number;
861
- maxMonitoringSessions: number;
862
- monitoringWakeIntervalMinutes: number | null;
863
- autoResumeOnUsageLimit: boolean;
864
- memoryLimitMb: number | null;
865
- worktreeRetentionDefault: number;
866
- };
867
- agentDefaults: {
868
- runner?: ProviderId;
869
- models?: {
870
- claude?: string;
871
- codex?: string;
872
- opencode?: string;
873
- } | undefined;
874
- };
849
+ error: string;
875
850
  };
876
851
  outputFormat: "json";
877
- status: import("hono/utils/http-status").ContentfulStatusCode;
852
+ status: 400;
878
853
  input: {
879
854
  json: {
880
855
  browseRoot?: string | undefined;
@@ -908,7 +883,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
908
883
  error: string;
909
884
  };
910
885
  outputFormat: "json";
911
- status: 400;
886
+ status: 500;
912
887
  input: {
913
888
  json: {
914
889
  browseRoot?: string | undefined;
@@ -939,10 +914,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
939
914
  };
940
915
  } | {
941
916
  output: {
942
- error: string;
917
+ browseRoot: string;
918
+ projectsDir: string;
919
+ skillsAutoUpdate: boolean | null;
920
+ effectiveSkillsAutoUpdate: boolean;
921
+ composerDefaults: {
922
+ autonomous: boolean | null;
923
+ worktree: boolean | null;
924
+ inheritedAutonomous: boolean | 'source-dependent';
925
+ inheritedWorktree: boolean;
926
+ };
927
+ resources: {
928
+ maxParallel: number;
929
+ maxMonitoringSessions: number;
930
+ monitoringWakeIntervalMinutes: number | null;
931
+ autoResumeOnUsageLimit: boolean;
932
+ memoryLimitMb: number | null;
933
+ worktreeRetentionDefault: number;
934
+ };
935
+ agentDefaults: {
936
+ runner?: ProviderId;
937
+ models?: {
938
+ claude?: string;
939
+ codex?: string;
940
+ opencode?: string;
941
+ } | undefined;
942
+ };
943
943
  };
944
944
  outputFormat: "json";
945
- status: 500;
945
+ status: import("hono/utils/http-status").ContentfulStatusCode;
946
946
  input: {
947
947
  json: {
948
948
  browseRoot?: string | undefined;
@@ -1022,44 +1022,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1022
1022
  "/workspace/ui-state": {
1023
1023
  $put: {
1024
1024
  output: {
1025
- [x: string]: import("hono/utils/types").JSONValue;
1026
- sidebar?: {
1027
- [x: string]: import("hono/utils/types").JSONValue;
1028
- collapsed?: {
1029
- [x: string]: boolean;
1030
- } | undefined;
1031
- } | undefined;
1032
- dismissedProviderAuthFailures?: {
1033
- claude?: string | undefined;
1034
- codex?: string | undefined;
1035
- opencode?: string | undefined;
1036
- pi?: string | undefined;
1037
- } | undefined;
1038
- appearance?: {
1039
- accent?: "cezarion" | "lime" | "violet" | undefined;
1040
- density?: "comfortable" | "compact" | "ultra" | undefined;
1041
- width?: "narrow" | "wide" | undefined;
1042
- } | undefined;
1043
- notifications?: {
1044
- [x: string]: import("hono/utils/types").JSONValue;
1045
- enabled?: boolean | undefined;
1046
- } | undefined;
1047
- taskTable?: {
1048
- [x: string]: import("hono/utils/types").JSONValue;
1049
- expandedColumns?: {
1050
- [x: string]: boolean;
1051
- } | undefined;
1052
- } | undefined;
1053
- lastLocation?: {
1054
- projectId: string;
1055
- pathname: string;
1056
- search?: string | undefined;
1057
- hash?: string | undefined;
1058
- } | undefined;
1059
- importedSkills?: string[] | undefined;
1025
+ error: string;
1060
1026
  };
1061
1027
  outputFormat: "json";
1062
- status: import("hono/utils/http-status").ContentfulStatusCode;
1028
+ status: 500;
1063
1029
  input: {
1064
1030
  json: {
1065
1031
  [x: string]: unknown;
@@ -1097,10 +1063,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1097
1063
  };
1098
1064
  } | {
1099
1065
  output: {
1100
- error: string;
1066
+ [x: string]: import("hono/utils/types").JSONValue;
1067
+ sidebar?: {
1068
+ [x: string]: import("hono/utils/types").JSONValue;
1069
+ collapsed?: {
1070
+ [x: string]: boolean;
1071
+ } | undefined;
1072
+ } | undefined;
1073
+ dismissedProviderAuthFailures?: {
1074
+ claude?: string | undefined;
1075
+ codex?: string | undefined;
1076
+ opencode?: string | undefined;
1077
+ pi?: string | undefined;
1078
+ } | undefined;
1079
+ appearance?: {
1080
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1081
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1082
+ width?: "narrow" | "wide" | undefined;
1083
+ } | undefined;
1084
+ notifications?: {
1085
+ [x: string]: import("hono/utils/types").JSONValue;
1086
+ enabled?: boolean | undefined;
1087
+ } | undefined;
1088
+ taskTable?: {
1089
+ [x: string]: import("hono/utils/types").JSONValue;
1090
+ expandedColumns?: {
1091
+ [x: string]: boolean;
1092
+ } | undefined;
1093
+ } | undefined;
1094
+ lastLocation?: {
1095
+ projectId: string;
1096
+ pathname: string;
1097
+ search?: string | undefined;
1098
+ hash?: string | undefined;
1099
+ } | undefined;
1100
+ importedSkills?: string[] | undefined;
1101
1101
  };
1102
1102
  outputFormat: "json";
1103
- status: 500;
1103
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1104
1104
  input: {
1105
1105
  json: {
1106
1106
  [x: string]: unknown;
@@ -1230,7 +1230,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1230
1230
  error: string;
1231
1231
  };
1232
1232
  outputFormat: "json";
1233
- status: 409;
1233
+ status: 404;
1234
1234
  input: {
1235
1235
  param: {
1236
1236
  projectId: string;
@@ -1241,7 +1241,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1241
1241
  error: string;
1242
1242
  };
1243
1243
  outputFormat: "json";
1244
- status: 404;
1244
+ status: 409;
1245
1245
  input: {
1246
1246
  param: {
1247
1247
  projectId: string;
@@ -1279,7 +1279,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1279
1279
  error: string;
1280
1280
  };
1281
1281
  outputFormat: "json";
1282
- status: 409;
1282
+ status: 404;
1283
1283
  input: {
1284
1284
  json: {
1285
1285
  maxParallel?: number | null | undefined;
@@ -1295,7 +1295,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1295
1295
  error: string;
1296
1296
  };
1297
1297
  outputFormat: "json";
1298
- status: 404;
1298
+ status: 409;
1299
1299
  input: {
1300
1300
  json: {
1301
1301
  maxParallel?: number | null | undefined;
@@ -1472,45 +1472,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1472
1472
  } & {
1473
1473
  "/workspace/agent-profiles": {
1474
1474
  $post: {
1475
- output: {
1476
- error: string;
1477
- };
1478
- outputFormat: "json";
1479
- status: 409;
1480
- input: {
1481
- json: {
1482
- provider: "claude" | "codex" | "opencode" | "pi";
1483
- label?: string | undefined;
1484
- configDir: string;
1485
- };
1486
- };
1487
- } | {
1488
- output: {
1489
- error: string;
1490
- };
1491
- outputFormat: "json";
1492
- status: 400;
1493
- input: {
1494
- json: {
1495
- provider: "claude" | "codex" | "opencode" | "pi";
1496
- label?: string | undefined;
1497
- configDir: string;
1498
- };
1499
- };
1500
- } | {
1501
- output: {
1502
- error: string;
1503
- };
1504
- outputFormat: "json";
1505
- status: 500;
1506
- input: {
1507
- json: {
1508
- provider: "claude" | "codex" | "opencode" | "pi";
1509
- label?: string | undefined;
1510
- configDir: string;
1511
- };
1512
- };
1513
- } | {
1514
1475
  output: {
1515
1476
  profile: {
1516
1477
  exists: boolean;
@@ -1561,6 +1522,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1561
1522
  configDir: string;
1562
1523
  };
1563
1524
  };
1525
+ } | {
1526
+ output: {
1527
+ error: string;
1528
+ };
1529
+ outputFormat: "json";
1530
+ status: 400;
1531
+ input: {
1532
+ json: {
1533
+ provider: "claude" | "codex" | "opencode" | "pi";
1534
+ label?: string | undefined;
1535
+ configDir: string;
1536
+ };
1537
+ };
1538
+ } | {
1539
+ output: {
1540
+ error: string;
1541
+ };
1542
+ outputFormat: "json";
1543
+ status: 409;
1544
+ input: {
1545
+ json: {
1546
+ provider: "claude" | "codex" | "opencode" | "pi";
1547
+ label?: string | undefined;
1548
+ configDir: string;
1549
+ };
1550
+ };
1551
+ } | {
1552
+ output: {
1553
+ error: string;
1554
+ };
1555
+ outputFormat: "json";
1556
+ status: 500;
1557
+ input: {
1558
+ json: {
1559
+ provider: "claude" | "codex" | "opencode" | "pi";
1560
+ label?: string | undefined;
1561
+ configDir: string;
1562
+ };
1563
+ };
1564
1564
  };
1565
1565
  };
1566
1566
  } & {
@@ -1587,7 +1587,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1587
1587
  error: string;
1588
1588
  };
1589
1589
  outputFormat: "json";
1590
- status: 409;
1590
+ status: 400;
1591
1591
  input: {
1592
1592
  param: {
1593
1593
  id: string;
@@ -1603,7 +1603,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1603
1603
  error: string;
1604
1604
  };
1605
1605
  outputFormat: "json";
1606
- status: 400;
1606
+ status: 404;
1607
1607
  input: {
1608
1608
  param: {
1609
1609
  id: string;
@@ -1619,7 +1619,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1619
1619
  error: string;
1620
1620
  };
1621
1621
  outputFormat: "json";
1622
- status: 404;
1622
+ status: 409;
1623
1623
  input: {
1624
1624
  param: {
1625
1625
  id: string;
@@ -1725,7 +1725,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1725
1725
  error: string;
1726
1726
  };
1727
1727
  outputFormat: "json";
1728
- status: 409;
1728
+ status: 404;
1729
1729
  input: {
1730
1730
  param: {
1731
1731
  id: string;
@@ -1740,7 +1740,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1740
1740
  error: string;
1741
1741
  };
1742
1742
  outputFormat: "json";
1743
- status: 404;
1743
+ status: 409;
1744
1744
  input: {
1745
1745
  param: {
1746
1746
  id: string;
@@ -1793,7 +1793,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1793
1793
  error: string;
1794
1794
  };
1795
1795
  outputFormat: "json";
1796
- status: 409;
1796
+ status: 404;
1797
1797
  input: {
1798
1798
  param: {
1799
1799
  id: string;
@@ -1804,7 +1804,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1804
1804
  error: string;
1805
1805
  };
1806
1806
  outputFormat: "json";
1807
- status: 404;
1807
+ status: 409;
1808
1808
  input: {
1809
1809
  param: {
1810
1810
  id: string;
@@ -1852,7 +1852,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1852
1852
  error: string;
1853
1853
  };
1854
1854
  outputFormat: "json";
1855
- status: 409;
1855
+ status: 400;
1856
1856
  input: {
1857
1857
  param: {
1858
1858
  id: string;
@@ -1884,7 +1884,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1884
1884
  error: string;
1885
1885
  };
1886
1886
  outputFormat: "json";
1887
- status: 400;
1887
+ status: 409;
1888
1888
  input: {
1889
1889
  param: {
1890
1890
  id: string;
@@ -1921,7 +1921,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1921
1921
  error: string;
1922
1922
  };
1923
1923
  outputFormat: "json";
1924
- status: 409;
1924
+ status: 400;
1925
1925
  input: {
1926
1926
  json: {
1927
1927
  projectId: string | null;
@@ -1947,7 +1947,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1947
1947
  error: string;
1948
1948
  };
1949
1949
  outputFormat: "json";
1950
- status: 400;
1950
+ status: 409;
1951
1951
  input: {
1952
1952
  json: {
1953
1953
  projectId: string | null;
@@ -2017,7 +2017,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2017
2017
  error: string;
2018
2018
  };
2019
2019
  outputFormat: "json";
2020
- status: 409;
2020
+ status: 404;
2021
2021
  input: {
2022
2022
  param: {
2023
2023
  id: string;
@@ -2028,7 +2028,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2028
2028
  error: string;
2029
2029
  };
2030
2030
  outputFormat: "json";
2031
- status: 500;
2031
+ status: 409;
2032
2032
  input: {
2033
2033
  param: {
2034
2034
  id: string;
@@ -2039,7 +2039,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2039
2039
  error: string;
2040
2040
  };
2041
2041
  outputFormat: "json";
2042
- status: 404;
2042
+ status: 500;
2043
2043
  input: {
2044
2044
  param: {
2045
2045
  id: string;
@@ -2708,7 +2708,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2708
2708
  error: string;
2709
2709
  };
2710
2710
  outputFormat: "json";
2711
- status: 409;
2711
+ status: 400;
2712
2712
  input: {
2713
2713
  json: {
2714
2714
  target: string;
@@ -2719,7 +2719,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2719
2719
  error: string;
2720
2720
  };
2721
2721
  outputFormat: "json";
2722
- status: 400;
2722
+ status: 409;
2723
2723
  input: {
2724
2724
  json: {
2725
2725
  target: string;
@@ -2778,9 +2778,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2778
2778
  }, "/"> | import("hono/types").MergeSchemaPath<{
2779
2779
  "/runs/:id/events": {
2780
2780
  $get: {
2781
- output: {};
2782
- outputFormat: string;
2783
- status: import("hono/utils/http-status").StatusCode;
2781
+ output: {
2782
+ error: string;
2783
+ code?: "invalid_input" | undefined;
2784
+ };
2785
+ outputFormat: "json";
2786
+ status: 400;
2784
2787
  input: {
2785
2788
  param: {
2786
2789
  id: string;
@@ -2792,12 +2795,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2792
2795
  };
2793
2796
  };
2794
2797
  } | {
2795
- output: {
2796
- error: string;
2797
- code?: "invalid_input" | undefined;
2798
- };
2799
- outputFormat: "json";
2800
- status: 400;
2798
+ output: {};
2799
+ outputFormat: string;
2800
+ status: import("hono/utils/http-status").StatusCode;
2801
2801
  input: {
2802
2802
  param: {
2803
2803
  id: string;
@@ -2848,24 +2848,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2848
2848
  "/config": {
2849
2849
  $put: {
2850
2850
  output: {
2851
- baseBranch: string | null;
2852
- defaultRunner: "claude" | "codex" | "opencode" | "pi";
2853
- systemPrompt: string | null;
2854
- defaultModels: {
2855
- claude?: string | undefined;
2856
- codex?: string | undefined;
2857
- opencode?: string | undefined;
2858
- pi?: string | undefined;
2859
- };
2860
- modelsLocked: boolean;
2861
- maxParallel: number;
2862
- memoryLimitMb: number | null;
2863
- worktreeRetention: number;
2864
- liveTitleUpdates: boolean | null;
2865
- reviewGate: boolean | null;
2851
+ error: string;
2866
2852
  };
2867
2853
  outputFormat: "json";
2868
- status: import("hono/utils/http-status").ContentfulStatusCode;
2854
+ status: 409;
2869
2855
  input: {
2870
2856
  json: {
2871
2857
  baseBranch?: string | null | undefined;
@@ -2889,7 +2875,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2889
2875
  error: string;
2890
2876
  };
2891
2877
  outputFormat: "json";
2892
- status: 409;
2878
+ status: 500;
2893
2879
  input: {
2894
2880
  json: {
2895
2881
  baseBranch?: string | null | undefined;
@@ -2910,10 +2896,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2910
2896
  };
2911
2897
  } | {
2912
2898
  output: {
2913
- error: string;
2899
+ baseBranch: string | null;
2900
+ defaultRunner: "claude" | "codex" | "opencode" | "pi";
2901
+ systemPrompt: string | null;
2902
+ defaultModels: {
2903
+ claude?: string | undefined;
2904
+ codex?: string | undefined;
2905
+ opencode?: string | undefined;
2906
+ pi?: string | undefined;
2907
+ };
2908
+ modelsLocked: boolean;
2909
+ maxParallel: number;
2910
+ memoryLimitMb: number | null;
2911
+ worktreeRetention: number;
2912
+ liveTitleUpdates: boolean | null;
2913
+ reviewGate: boolean | null;
2914
2914
  };
2915
2915
  outputFormat: "json";
2916
- status: 500;
2916
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2917
2917
  input: {
2918
2918
  json: {
2919
2919
  baseBranch?: string | null | undefined;
@@ -2937,6 +2937,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2937
2937
  }, "/"> | import("hono/types").MergeSchemaPath<{
2938
2938
  "/skills": {
2939
2939
  $get: {
2940
+ output: {
2941
+ error: string;
2942
+ code?: "invalid_input" | undefined;
2943
+ };
2944
+ outputFormat: "json";
2945
+ status: 400;
2946
+ input: {
2947
+ query: {
2948
+ wait?: string | undefined;
2949
+ };
2950
+ };
2951
+ } | {
2940
2952
  output: {
2941
2953
  name: string;
2942
2954
  description?: string;
@@ -2959,7 +2971,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2959
2971
  wait?: string | undefined;
2960
2972
  };
2961
2973
  };
2962
- } | {
2974
+ };
2975
+ };
2976
+ } & {
2977
+ "/skills/importable": {
2978
+ $get: {
2963
2979
  output: {
2964
2980
  error: string;
2965
2981
  code?: "invalid_input" | undefined;
@@ -2971,11 +2987,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2971
2987
  wait?: string | undefined;
2972
2988
  };
2973
2989
  };
2974
- };
2975
- };
2976
- } & {
2977
- "/skills/importable": {
2978
- $get: {
2990
+ } | {
2979
2991
  output: {
2980
2992
  name: string;
2981
2993
  description?: string | undefined;
@@ -2987,18 +2999,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2987
2999
  wait?: string | undefined;
2988
3000
  };
2989
3001
  };
2990
- } | {
2991
- output: {
2992
- error: string;
2993
- code?: "invalid_input" | undefined;
2994
- };
2995
- outputFormat: "json";
2996
- status: 400;
2997
- input: {
2998
- query: {
2999
- wait?: string | undefined;
3000
- };
3001
- };
3002
3002
  };
3003
3003
  };
3004
3004
  } & {
@@ -3052,7 +3052,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3052
3052
  error: string;
3053
3053
  };
3054
3054
  outputFormat: "json";
3055
- status: 409;
3055
+ status: 404;
3056
3056
  input: {
3057
3057
  param: {
3058
3058
  id: string;
@@ -3060,10 +3060,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3060
3060
  };
3061
3061
  } | {
3062
3062
  output: {
3063
- removed: true;
3063
+ error: string;
3064
3064
  };
3065
3065
  outputFormat: "json";
3066
- status: import("hono/utils/http-status").ContentfulStatusCode;
3066
+ status: 409;
3067
3067
  input: {
3068
3068
  param: {
3069
3069
  id: string;
@@ -3071,10 +3071,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3071
3071
  };
3072
3072
  } | {
3073
3073
  output: {
3074
- error: string;
3074
+ removed: true;
3075
3075
  };
3076
3076
  outputFormat: "json";
3077
- status: 404;
3077
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3078
3078
  input: {
3079
3079
  param: {
3080
3080
  id: string;
@@ -3085,24 +3085,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3085
3085
  } & {
3086
3086
  "/todos/:id/start": {
3087
3087
  $post: {
3088
- output: {
3089
- error: string;
3090
- };
3091
- outputFormat: "json";
3092
- status: 409;
3093
- input: {
3094
- json: {
3095
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
3096
- model?: string | undefined;
3097
- effort?: string | undefined;
3098
- prompt?: string | undefined;
3099
- } | undefined;
3100
- } & {
3101
- param: {
3102
- id: string;
3103
- };
3104
- };
3105
- } | {
3106
3088
  output: {
3107
3089
  run: {
3108
3090
  id: string;
@@ -3460,6 +3442,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3460
3442
  id: string;
3461
3443
  };
3462
3444
  };
3445
+ } | {
3446
+ output: {
3447
+ error: string;
3448
+ };
3449
+ outputFormat: "json";
3450
+ status: 404;
3451
+ input: {
3452
+ json: {
3453
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
3454
+ model?: string | undefined;
3455
+ effort?: string | undefined;
3456
+ prompt?: string | undefined;
3457
+ } | undefined;
3458
+ } & {
3459
+ param: {
3460
+ id: string;
3461
+ };
3462
+ };
3463
3463
  } | {
3464
3464
  output: {
3465
3465
  error: string;
@@ -3483,7 +3483,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3483
3483
  error: string;
3484
3484
  };
3485
3485
  outputFormat: "json";
3486
- status: 404;
3486
+ status: 409;
3487
3487
  input: {
3488
3488
  json: {
3489
3489
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -3586,14 +3586,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3586
3586
  "/agent-config/:id": {
3587
3587
  $put: {
3588
3588
  output: {
3589
- id: string;
3590
- path: string;
3591
- exists: boolean;
3592
- content: string;
3593
- version: string | null;
3589
+ error: string;
3594
3590
  };
3595
3591
  outputFormat: "json";
3596
- status: import("hono/utils/http-status").ContentfulStatusCode;
3592
+ status: 404;
3597
3593
  input: {
3598
3594
  json: {
3599
3595
  content: string;
@@ -3606,10 +3602,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3606
3602
  };
3607
3603
  } | {
3608
3604
  output: {
3609
- error: string;
3605
+ id: string;
3606
+ path: string;
3607
+ exists: boolean;
3608
+ content: string;
3609
+ version: string | null;
3610
3610
  };
3611
3611
  outputFormat: "json";
3612
- status: 404;
3612
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3613
3613
  input: {
3614
3614
  json: {
3615
3615
  content: string;
@@ -3677,10 +3677,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3677
3677
  "/workflows": {
3678
3678
  $post: {
3679
3679
  output: {
3680
- error: string;
3680
+ path: string;
3681
+ name: string;
3681
3682
  };
3682
3683
  outputFormat: "json";
3683
- status: 400;
3684
+ status: 201;
3684
3685
  input: {
3685
3686
  json: {
3686
3687
  name: string;
@@ -3707,10 +3708,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3707
3708
  } | {
3708
3709
  output: {
3709
3710
  error: string;
3710
- exists: true;
3711
3711
  };
3712
3712
  outputFormat: "json";
3713
- status: 409;
3713
+ status: 400;
3714
3714
  input: {
3715
3715
  json: {
3716
3716
  name: string;
@@ -3737,9 +3737,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3737
3737
  } | {
3738
3738
  output: {
3739
3739
  error: string;
3740
+ exists: true;
3740
3741
  };
3741
3742
  outputFormat: "json";
3742
- status: 500;
3743
+ status: 409;
3743
3744
  input: {
3744
3745
  json: {
3745
3746
  name: string;
@@ -3765,11 +3766,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3765
3766
  };
3766
3767
  } | {
3767
3768
  output: {
3768
- path: string;
3769
- name: string;
3769
+ error: string;
3770
3770
  };
3771
3771
  outputFormat: "json";
3772
- status: 201;
3772
+ status: 500;
3773
3773
  input: {
3774
3774
  json: {
3775
3775
  name: string;
@@ -3802,7 +3802,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3802
3802
  error: string;
3803
3803
  };
3804
3804
  outputFormat: "json";
3805
- status: 404;
3805
+ status: 400;
3806
3806
  input: {
3807
3807
  param: {
3808
3808
  name: string;
@@ -3813,7 +3813,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3813
3813
  error: string;
3814
3814
  };
3815
3815
  outputFormat: "json";
3816
- status: 400;
3816
+ status: 404;
3817
3817
  input: {
3818
3818
  param: {
3819
3819
  name: string;
@@ -3936,9 +3936,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3936
3936
  } & {
3937
3937
  "/repo/commit/:sha": {
3938
3938
  $get: {
3939
- output: string;
3940
- outputFormat: "text";
3941
- status: import("hono/utils/http-status").ContentfulStatusCode;
3939
+ output: {
3940
+ error: string;
3941
+ code?: "invalid_input" | undefined;
3942
+ };
3943
+ outputFormat: "json";
3944
+ status: 400;
3942
3945
  input: {
3943
3946
  query: {
3944
3947
  structured?: string | undefined;
@@ -3951,10 +3954,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3951
3954
  } | {
3952
3955
  output: {
3953
3956
  error: string;
3954
- code?: "invalid_input" | undefined;
3955
3957
  };
3956
3958
  outputFormat: "json";
3957
- status: 400;
3959
+ status: 409;
3958
3960
  input: {
3959
3961
  query: {
3960
3962
  structured?: string | undefined;
@@ -3998,11 +4000,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3998
4000
  };
3999
4001
  };
4000
4002
  } | {
4001
- output: {
4002
- error: string;
4003
- };
4004
- outputFormat: "json";
4005
- status: 409;
4003
+ output: string;
4004
+ outputFormat: "text";
4005
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4006
4006
  input: {
4007
4007
  query: {
4008
4008
  structured?: string | undefined;
@@ -4017,6 +4017,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4017
4017
  } & {
4018
4018
  "/repo/changes": {
4019
4019
  $get: {
4020
+ output: {
4021
+ error: string;
4022
+ };
4023
+ outputFormat: "json";
4024
+ status: 409;
4025
+ input: {};
4026
+ } | {
4020
4027
  output: {
4021
4028
  files: {
4022
4029
  path: string;
@@ -4041,13 +4048,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4041
4048
  outputFormat: "json";
4042
4049
  status: import("hono/utils/http-status").ContentfulStatusCode;
4043
4050
  input: {};
4044
- } | {
4045
- output: {
4046
- error: string;
4047
- };
4048
- outputFormat: "json";
4049
- status: 409;
4050
- input: {};
4051
4051
  };
4052
4052
  };
4053
4053
  } & {
@@ -4072,10 +4072,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4072
4072
  "/repo/pull": {
4073
4073
  $post: {
4074
4074
  output: {
4075
- error: string;
4075
+ branch: string;
4076
+ pulled: true;
4077
+ summary: string;
4076
4078
  };
4077
4079
  outputFormat: "json";
4078
- status: 409;
4080
+ status: 200;
4079
4081
  input: {
4080
4082
  json: {
4081
4083
  branch?: string | undefined;
@@ -4084,12 +4086,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4084
4086
  };
4085
4087
  } | {
4086
4088
  output: {
4087
- branch: string;
4088
- pulled: true;
4089
- summary: string;
4089
+ error: string;
4090
4090
  };
4091
4091
  outputFormat: "json";
4092
- status: 200;
4092
+ status: 409;
4093
4093
  input: {
4094
4094
  json: {
4095
4095
  branch?: string | undefined;
@@ -4805,30 +4805,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4805
4805
  "/automations": {
4806
4806
  $post: {
4807
4807
  output: {
4808
- error: string;
4809
- };
4810
- outputFormat: "json";
4811
- status: 400;
4812
- input: {
4813
- json: {
4808
+ automation: {
4809
+ [x: string]: import("hono/utils/types").JSONValue;
4810
+ id: string;
4811
+ revision: number;
4814
4812
  name: string;
4815
4813
  description?: string | undefined;
4816
- enabled?: boolean | undefined;
4814
+ enabled: boolean;
4817
4815
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4818
4816
  intervalSeconds: number;
4819
4817
  filters: {
4820
- [x: string]: unknown;
4818
+ [x: string]: import("hono/utils/types").JSONValue;
4821
4819
  authors?: string[] | undefined;
4822
4820
  assignees?: string[] | undefined;
4823
4821
  allLabels?: string[] | undefined;
4824
4822
  anyLabels?: string[] | undefined;
4825
4823
  excludeLabels?: string[] | undefined;
4826
4824
  changedLabels?: string[] | undefined;
4827
- lookbackDays?: number | undefined;
4828
- maxRecords?: number | undefined;
4825
+ lookbackDays: number;
4826
+ maxRecords: number;
4829
4827
  };
4830
4828
  task: {
4831
- [x: string]: unknown;
4829
+ [x: string]: import("hono/utils/types").JSONValue;
4832
4830
  prompt: string;
4833
4831
  workflow?: string | undefined;
4834
4832
  steps?: {
@@ -4843,7 +4841,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4843
4841
  command?: string | undefined;
4844
4842
  onFail?: {
4845
4843
  retry: string;
4846
- max?: number | undefined;
4844
+ max: number;
4847
4845
  } | undefined;
4848
4846
  }[] | undefined;
4849
4847
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -4855,33 +4853,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4855
4853
  autonomous?: boolean | undefined;
4856
4854
  systemPrompt?: string | undefined;
4857
4855
  };
4858
- enable?: boolean | undefined;
4856
+ createdAt: string;
4857
+ updatedAt: string;
4859
4858
  };
4860
4859
  };
4861
- } | {
4862
- output: {
4863
- automation: {
4864
- [x: string]: import("hono/utils/types").JSONValue;
4865
- id: string;
4866
- revision: number;
4860
+ outputFormat: "json";
4861
+ status: 201;
4862
+ input: {
4863
+ json: {
4867
4864
  name: string;
4868
4865
  description?: string | undefined;
4869
- enabled: boolean;
4866
+ enabled?: boolean | undefined;
4870
4867
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4871
4868
  intervalSeconds: number;
4872
4869
  filters: {
4873
- [x: string]: import("hono/utils/types").JSONValue;
4870
+ [x: string]: unknown;
4874
4871
  authors?: string[] | undefined;
4875
4872
  assignees?: string[] | undefined;
4876
4873
  allLabels?: string[] | undefined;
4877
4874
  anyLabels?: string[] | undefined;
4878
4875
  excludeLabels?: string[] | undefined;
4879
4876
  changedLabels?: string[] | undefined;
4880
- lookbackDays: number;
4881
- maxRecords: number;
4877
+ lookbackDays?: number | undefined;
4878
+ maxRecords?: number | undefined;
4882
4879
  };
4883
4880
  task: {
4884
- [x: string]: import("hono/utils/types").JSONValue;
4881
+ [x: string]: unknown;
4885
4882
  prompt: string;
4886
4883
  workflow?: string | undefined;
4887
4884
  steps?: {
@@ -4896,7 +4893,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4896
4893
  command?: string | undefined;
4897
4894
  onFail?: {
4898
4895
  retry: string;
4899
- max: number;
4896
+ max?: number | undefined;
4900
4897
  } | undefined;
4901
4898
  }[] | undefined;
4902
4899
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -4908,12 +4905,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4908
4905
  autonomous?: boolean | undefined;
4909
4906
  systemPrompt?: string | undefined;
4910
4907
  };
4911
- createdAt: string;
4912
- updatedAt: string;
4908
+ enable?: boolean | undefined;
4913
4909
  };
4914
4910
  };
4911
+ } | {
4912
+ output: {
4913
+ error: string;
4914
+ };
4915
4915
  outputFormat: "json";
4916
- status: 201;
4916
+ status: 400;
4917
4917
  input: {
4918
4918
  json: {
4919
4919
  name: string;
@@ -5501,10 +5501,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5501
5501
  "/automations/:id/check": {
5502
5502
  $post: {
5503
5503
  output: {
5504
- error: string;
5504
+ checkId: string;
5505
5505
  };
5506
5506
  outputFormat: "json";
5507
- status: 404;
5507
+ status: 202;
5508
5508
  input: {
5509
5509
  json: {
5510
5510
  mode: "execute" | "preview";
@@ -5516,10 +5516,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5516
5516
  };
5517
5517
  } | {
5518
5518
  output: {
5519
- checkId: string;
5519
+ error: string;
5520
5520
  };
5521
5521
  outputFormat: "json";
5522
- status: 202;
5522
+ status: 404;
5523
5523
  input: {
5524
5524
  json: {
5525
5525
  mode: "execute" | "preview";
@@ -5593,10 +5593,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5593
5593
  "/automation-log/:receiptId/retry": {
5594
5594
  $post: {
5595
5595
  output: {
5596
- error: string;
5596
+ receiptId: string;
5597
+ runId: string;
5597
5598
  };
5598
5599
  outputFormat: "json";
5599
- status: 404;
5600
+ status: 202;
5600
5601
  input: {
5601
5602
  param: {
5602
5603
  receiptId: string;
@@ -5607,7 +5608,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5607
5608
  error: string;
5608
5609
  };
5609
5610
  outputFormat: "json";
5610
- status: 409;
5611
+ status: 404;
5611
5612
  input: {
5612
5613
  param: {
5613
5614
  receiptId: string;
@@ -5615,11 +5616,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5615
5616
  };
5616
5617
  } | {
5617
5618
  output: {
5618
- receiptId: string;
5619
- runId: string;
5619
+ error: string;
5620
5620
  };
5621
5621
  outputFormat: "json";
5622
- status: 202;
5622
+ status: 409;
5623
5623
  input: {
5624
5624
  param: {
5625
5625
  receiptId: string;
@@ -6100,11 +6100,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6100
6100
  "/runs/:id/worker-destroy": {
6101
6101
  $post: {
6102
6102
  output: {
6103
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6104
- readonly error: string;
6103
+ workerId: string;
6104
+ state: "complete" | "incomplete";
6105
+ deleted?: ({
6106
+ kind: "worktree";
6107
+ path: string;
6108
+ } | {
6109
+ kind: "branch";
6110
+ ref: string;
6111
+ })[] | undefined;
6112
+ remaining: ("branch" | "process" | "worktree")[];
6113
+ error?: string | undefined;
6105
6114
  };
6106
6115
  outputFormat: "json";
6107
- status: 400 | 401 | 403 | 409 | 503;
6116
+ status: 200;
6108
6117
  input: {
6109
6118
  query: {
6110
6119
  [x: string]: string | string[];
@@ -6149,7 +6158,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6149
6158
  error?: string | undefined;
6150
6159
  };
6151
6160
  outputFormat: "json";
6152
- status: 200;
6161
+ status: 409;
6153
6162
  input: {
6154
6163
  query: {
6155
6164
  [x: string]: string | string[];
@@ -6163,20 +6172,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6163
6172
  };
6164
6173
  } | {
6165
6174
  output: {
6166
- workerId: string;
6167
- state: "complete" | "incomplete";
6168
- deleted?: ({
6169
- kind: "worktree";
6170
- path: string;
6171
- } | {
6172
- kind: "branch";
6173
- ref: string;
6174
- })[] | undefined;
6175
- remaining: ("branch" | "process" | "worktree")[];
6176
- error?: string | undefined;
6175
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6176
+ readonly error: string;
6177
6177
  };
6178
6178
  outputFormat: "json";
6179
- status: 409;
6179
+ status: 400 | 401 | 403 | 409 | 503;
6180
6180
  input: {
6181
6181
  query: {
6182
6182
  [x: string]: string | string[];
@@ -6215,6 +6215,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6215
6215
  } & {
6216
6216
  "/runs/:id/archive": {
6217
6217
  $post: {
6218
+ output: {
6219
+ error: string;
6220
+ };
6221
+ outputFormat: "json";
6222
+ status: 404;
6223
+ input: {
6224
+ json: {
6225
+ archived?: boolean | undefined;
6226
+ };
6227
+ } & {
6228
+ param: {
6229
+ id: string;
6230
+ };
6231
+ };
6232
+ } | {
6218
6233
  output: {
6219
6234
  id: string;
6220
6235
  title: string;
@@ -6567,32 +6582,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6567
6582
  id: string;
6568
6583
  };
6569
6584
  };
6570
- } | {
6585
+ };
6586
+ };
6587
+ } & {
6588
+ "/runs/:id/pin": {
6589
+ $post: {
6571
6590
  output: {
6572
6591
  error: string;
6592
+ code?: "invalid_input" | undefined;
6573
6593
  };
6574
6594
  outputFormat: "json";
6575
- status: 404;
6595
+ status: 400;
6576
6596
  input: {
6577
- json: {
6578
- archived?: boolean | undefined;
6579
- };
6580
- } & {
6581
6597
  param: {
6582
6598
  id: string;
6583
6599
  };
6600
+ } & {
6601
+ json: {
6602
+ pinned?: boolean | undefined;
6603
+ };
6584
6604
  };
6585
- };
6586
- };
6587
- } & {
6588
- "/runs/:id/pin": {
6589
- $post: {
6605
+ } | {
6590
6606
  output: {
6591
6607
  error: string;
6592
- code?: "invalid_input" | undefined;
6593
6608
  };
6594
6609
  outputFormat: "json";
6595
- status: 400;
6610
+ status: 404;
6596
6611
  input: {
6597
6612
  param: {
6598
6613
  id: string;
@@ -6955,21 +6970,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6955
6970
  pinned?: boolean | undefined;
6956
6971
  };
6957
6972
  };
6958
- } | {
6959
- output: {
6960
- error: string;
6961
- };
6962
- outputFormat: "json";
6963
- status: 404;
6964
- input: {
6965
- param: {
6966
- id: string;
6967
- };
6968
- } & {
6969
- json: {
6970
- pinned?: boolean | undefined;
6971
- };
6972
- };
6973
6973
  };
6974
6974
  };
6975
6975
  } & {
@@ -7001,6 +7001,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7001
7001
  } & {
7002
7002
  "/runs/:id/read": {
7003
7003
  $post: {
7004
+ output: {
7005
+ error: string;
7006
+ };
7007
+ outputFormat: "json";
7008
+ status: 404;
7009
+ input: {
7010
+ param: {
7011
+ id: string;
7012
+ };
7013
+ };
7014
+ } | {
7004
7015
  output: {
7005
7016
  id: string;
7006
7017
  title: string;
@@ -7349,7 +7360,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7349
7360
  id: string;
7350
7361
  };
7351
7362
  };
7352
- } | {
7363
+ };
7364
+ };
7365
+ } & {
7366
+ "/runs/:id/unread": {
7367
+ $post: {
7353
7368
  output: {
7354
7369
  error: string;
7355
7370
  };
@@ -7360,11 +7375,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7360
7375
  id: string;
7361
7376
  };
7362
7377
  };
7363
- };
7364
- };
7365
- } & {
7366
- "/runs/:id/unread": {
7367
- $post: {
7378
+ } | {
7368
7379
  output: {
7369
7380
  id: string;
7370
7381
  title: string;
@@ -7713,17 +7724,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7713
7724
  id: string;
7714
7725
  };
7715
7726
  };
7716
- } | {
7717
- output: {
7718
- error: string;
7719
- };
7720
- outputFormat: "json";
7721
- status: 404;
7722
- input: {
7723
- param: {
7724
- id: string;
7725
- };
7726
- };
7727
7727
  };
7728
7728
  };
7729
7729
  } & {
@@ -8018,146 +8018,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8018
8018
  groupId?: string | undefined;
8019
8019
  variant?: string | undefined;
8020
8020
  peakRssBytes?: number | undefined;
8021
- peakProcCount?: number | undefined;
8022
- archived: boolean;
8023
- archivedAt?: string | undefined;
8024
- pinned?: boolean | undefined;
8025
- pinnedAt?: string | undefined;
8026
- seenAt?: string | undefined;
8027
- currentStepId?: string | undefined;
8028
- error?: string | undefined;
8029
- steps: {
8030
- id: string;
8031
- name: string;
8032
- kind: "agent" | "check";
8033
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
8034
- iterations: number;
8035
- tokensUsed: number;
8036
- inputTokens?: number | undefined;
8037
- outputTokens?: number | undefined;
8038
- usageInvocationsStarted?: number | undefined;
8039
- usageInvocationsObserved?: number | undefined;
8040
- usageTurnsStarted?: number | undefined;
8041
- usageTurnsRecorded?: number | undefined;
8042
- usageInvocationEpoch?: number | undefined;
8043
- startedAt?: string | undefined;
8044
- finishedAt?: string | undefined;
8045
- error?: string | undefined;
8046
- sessionId?: string | undefined;
8047
- backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
8048
- profileId?: string | undefined;
8049
- costUsd?: number | undefined;
8050
- }[];
8051
- workflowDef?: {
8052
- name: string;
8053
- description?: string | undefined;
8054
- steps: {
8055
- id: string;
8056
- name?: string | undefined;
8057
- prompt?: string | undefined;
8058
- skill?: string | undefined;
8059
- model?: string | undefined;
8060
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8061
- allowedTools?: string[] | undefined;
8062
- bashAllowlist?: string[] | undefined;
8063
- command?: string | undefined;
8064
- onFail?: {
8065
- retry: string;
8066
- max: number;
8067
- } | undefined;
8068
- }[];
8069
- source: "built-in" | "file";
8070
- path?: string | undefined;
8071
- } | undefined;
8072
- };
8073
- outputFormat: "json";
8074
- status: 201;
8075
- input: {
8076
- json: {
8077
- workflow?: string | undefined;
8078
- steps?: {
8079
- id: string;
8080
- name?: string | undefined;
8081
- prompt?: string | undefined;
8082
- skill?: string | undefined;
8083
- model?: string | undefined;
8084
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8085
- allowedTools?: string[] | undefined;
8086
- bashAllowlist?: string[] | undefined;
8087
- command?: string | undefined;
8088
- onFail?: {
8089
- retry: string;
8090
- max?: number | undefined;
8091
- } | undefined;
8092
- }[] | undefined;
8093
- task: string;
8094
- model?: string | undefined;
8095
- effort?: string | undefined;
8096
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8097
- agentProfile?: string | undefined;
8098
- variants?: number | undefined;
8099
- worktree?: boolean | undefined;
8100
- autonomous?: boolean | undefined;
8101
- generateFollowups?: boolean | undefined;
8102
- systemPrompt?: string | undefined;
8103
- images?: {
8104
- mediaType: string;
8105
- data: string;
8106
- }[] | undefined;
8107
- todoId?: string | undefined;
8108
- };
8109
- };
8110
- } | {
8111
- output: {
8112
- error: string;
8113
- };
8114
- outputFormat: "json";
8115
- status: 409;
8116
- input: {
8117
- json: {
8118
- workflow?: string | undefined;
8119
- steps?: {
8120
- id: string;
8121
- name?: string | undefined;
8122
- prompt?: string | undefined;
8123
- skill?: string | undefined;
8124
- model?: string | undefined;
8125
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8126
- allowedTools?: string[] | undefined;
8127
- bashAllowlist?: string[] | undefined;
8128
- command?: string | undefined;
8129
- onFail?: {
8130
- retry: string;
8131
- max?: number | undefined;
8132
- } | undefined;
8133
- }[] | undefined;
8134
- task: string;
8135
- model?: string | undefined;
8136
- effort?: string | undefined;
8137
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8138
- agentProfile?: string | undefined;
8139
- variants?: number | undefined;
8140
- worktree?: boolean | undefined;
8141
- autonomous?: boolean | undefined;
8142
- generateFollowups?: boolean | undefined;
8143
- systemPrompt?: string | undefined;
8144
- images?: {
8145
- mediaType: string;
8146
- data: string;
8147
- }[] | undefined;
8148
- todoId?: string | undefined;
8149
- };
8150
- };
8151
- } | {
8152
- output: {
8153
- error: string;
8154
- };
8155
- outputFormat: "json";
8156
- status: 400;
8157
- input: {
8158
- json: {
8159
- workflow?: string | undefined;
8160
- steps?: {
8021
+ peakProcCount?: number | undefined;
8022
+ archived: boolean;
8023
+ archivedAt?: string | undefined;
8024
+ pinned?: boolean | undefined;
8025
+ pinnedAt?: string | undefined;
8026
+ seenAt?: string | undefined;
8027
+ currentStepId?: string | undefined;
8028
+ error?: string | undefined;
8029
+ steps: {
8030
+ id: string;
8031
+ name: string;
8032
+ kind: "agent" | "check";
8033
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
8034
+ iterations: number;
8035
+ tokensUsed: number;
8036
+ inputTokens?: number | undefined;
8037
+ outputTokens?: number | undefined;
8038
+ usageInvocationsStarted?: number | undefined;
8039
+ usageInvocationsObserved?: number | undefined;
8040
+ usageTurnsStarted?: number | undefined;
8041
+ usageTurnsRecorded?: number | undefined;
8042
+ usageInvocationEpoch?: number | undefined;
8043
+ startedAt?: string | undefined;
8044
+ finishedAt?: string | undefined;
8045
+ error?: string | undefined;
8046
+ sessionId?: string | undefined;
8047
+ backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
8048
+ profileId?: string | undefined;
8049
+ costUsd?: number | undefined;
8050
+ }[];
8051
+ workflowDef?: {
8052
+ name: string;
8053
+ description?: string | undefined;
8054
+ steps: {
8161
8055
  id: string;
8162
8056
  name?: string | undefined;
8163
8057
  prompt?: string | undefined;
@@ -8169,32 +8063,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8169
8063
  command?: string | undefined;
8170
8064
  onFail?: {
8171
8065
  retry: string;
8172
- max?: number | undefined;
8066
+ max: number;
8173
8067
  } | undefined;
8174
- }[] | undefined;
8175
- task: string;
8176
- model?: string | undefined;
8177
- effort?: string | undefined;
8178
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8179
- agentProfile?: string | undefined;
8180
- variants?: number | undefined;
8181
- worktree?: boolean | undefined;
8182
- autonomous?: boolean | undefined;
8183
- generateFollowups?: boolean | undefined;
8184
- systemPrompt?: string | undefined;
8185
- images?: {
8186
- mediaType: string;
8187
- data: string;
8188
- }[] | undefined;
8189
- todoId?: string | undefined;
8190
- };
8191
- };
8192
- } | {
8193
- output: {
8194
- error: string;
8068
+ }[];
8069
+ source: "built-in" | "file";
8070
+ path?: string | undefined;
8071
+ } | undefined;
8195
8072
  };
8196
8073
  outputFormat: "json";
8197
- status: 404;
8074
+ status: 201;
8198
8075
  input: {
8199
8076
  json: {
8200
8077
  workflow?: string | undefined;
@@ -8611,11 +8488,145 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8611
8488
  todoId?: string | undefined;
8612
8489
  };
8613
8490
  };
8491
+ } | {
8492
+ output: {
8493
+ error: string;
8494
+ };
8495
+ outputFormat: "json";
8496
+ status: 400;
8497
+ input: {
8498
+ json: {
8499
+ workflow?: string | undefined;
8500
+ steps?: {
8501
+ id: string;
8502
+ name?: string | undefined;
8503
+ prompt?: string | undefined;
8504
+ skill?: string | undefined;
8505
+ model?: string | undefined;
8506
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8507
+ allowedTools?: string[] | undefined;
8508
+ bashAllowlist?: string[] | undefined;
8509
+ command?: string | undefined;
8510
+ onFail?: {
8511
+ retry: string;
8512
+ max?: number | undefined;
8513
+ } | undefined;
8514
+ }[] | undefined;
8515
+ task: string;
8516
+ model?: string | undefined;
8517
+ effort?: string | undefined;
8518
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8519
+ agentProfile?: string | undefined;
8520
+ variants?: number | undefined;
8521
+ worktree?: boolean | undefined;
8522
+ autonomous?: boolean | undefined;
8523
+ generateFollowups?: boolean | undefined;
8524
+ systemPrompt?: string | undefined;
8525
+ images?: {
8526
+ mediaType: string;
8527
+ data: string;
8528
+ }[] | undefined;
8529
+ todoId?: string | undefined;
8530
+ };
8531
+ };
8532
+ } | {
8533
+ output: {
8534
+ error: string;
8535
+ };
8536
+ outputFormat: "json";
8537
+ status: 404;
8538
+ input: {
8539
+ json: {
8540
+ workflow?: string | undefined;
8541
+ steps?: {
8542
+ id: string;
8543
+ name?: string | undefined;
8544
+ prompt?: string | undefined;
8545
+ skill?: string | undefined;
8546
+ model?: string | undefined;
8547
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8548
+ allowedTools?: string[] | undefined;
8549
+ bashAllowlist?: string[] | undefined;
8550
+ command?: string | undefined;
8551
+ onFail?: {
8552
+ retry: string;
8553
+ max?: number | undefined;
8554
+ } | undefined;
8555
+ }[] | undefined;
8556
+ task: string;
8557
+ model?: string | undefined;
8558
+ effort?: string | undefined;
8559
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8560
+ agentProfile?: string | undefined;
8561
+ variants?: number | undefined;
8562
+ worktree?: boolean | undefined;
8563
+ autonomous?: boolean | undefined;
8564
+ generateFollowups?: boolean | undefined;
8565
+ systemPrompt?: string | undefined;
8566
+ images?: {
8567
+ mediaType: string;
8568
+ data: string;
8569
+ }[] | undefined;
8570
+ todoId?: string | undefined;
8571
+ };
8572
+ };
8573
+ } | {
8574
+ output: {
8575
+ error: string;
8576
+ };
8577
+ outputFormat: "json";
8578
+ status: 409;
8579
+ input: {
8580
+ json: {
8581
+ workflow?: string | undefined;
8582
+ steps?: {
8583
+ id: string;
8584
+ name?: string | undefined;
8585
+ prompt?: string | undefined;
8586
+ skill?: string | undefined;
8587
+ model?: string | undefined;
8588
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8589
+ allowedTools?: string[] | undefined;
8590
+ bashAllowlist?: string[] | undefined;
8591
+ command?: string | undefined;
8592
+ onFail?: {
8593
+ retry: string;
8594
+ max?: number | undefined;
8595
+ } | undefined;
8596
+ }[] | undefined;
8597
+ task: string;
8598
+ model?: string | undefined;
8599
+ effort?: string | undefined;
8600
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8601
+ agentProfile?: string | undefined;
8602
+ variants?: number | undefined;
8603
+ worktree?: boolean | undefined;
8604
+ autonomous?: boolean | undefined;
8605
+ generateFollowups?: boolean | undefined;
8606
+ systemPrompt?: string | undefined;
8607
+ images?: {
8608
+ mediaType: string;
8609
+ data: string;
8610
+ }[] | undefined;
8611
+ todoId?: string | undefined;
8612
+ };
8613
+ };
8614
8614
  };
8615
8615
  };
8616
8616
  } & {
8617
8617
  "/runs/:id": {
8618
8618
  $get: {
8619
+ output: {
8620
+ error: string;
8621
+ };
8622
+ outputFormat: "json";
8623
+ status: 404;
8624
+ input: {
8625
+ param: {
8626
+ id: string;
8627
+ };
8628
+ };
8629
+ } | {
8619
8630
  output: {
8620
8631
  id: string;
8621
8632
  title: string;
@@ -8965,17 +8976,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8965
8976
  id: string;
8966
8977
  };
8967
8978
  };
8968
- } | {
8969
- output: {
8970
- error: string;
8971
- };
8972
- outputFormat: "json";
8973
- status: 404;
8974
- input: {
8975
- param: {
8976
- id: string;
8977
- };
8978
- };
8979
8979
  };
8980
8980
  };
8981
8981
  } & {
@@ -9098,11 +9098,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9098
9098
  id: string;
9099
9099
  };
9100
9100
  };
9101
- };
9102
- };
9103
- } & {
9104
- "/runs/:id": {
9105
- $patch: {
9101
+ };
9102
+ };
9103
+ } & {
9104
+ "/runs/:id": {
9105
+ $patch: {
9106
+ output: {
9107
+ error: string;
9108
+ };
9109
+ outputFormat: "json";
9110
+ status: 400;
9111
+ input: {
9112
+ json: {
9113
+ title?: string | undefined;
9114
+ task?: string | undefined;
9115
+ };
9116
+ } & {
9117
+ param: {
9118
+ id: string;
9119
+ };
9120
+ };
9121
+ } | {
9122
+ output: {
9123
+ error: string;
9124
+ };
9125
+ outputFormat: "json";
9126
+ status: 404;
9127
+ input: {
9128
+ json: {
9129
+ title?: string | undefined;
9130
+ task?: string | undefined;
9131
+ };
9132
+ } & {
9133
+ param: {
9134
+ id: string;
9135
+ };
9136
+ };
9137
+ } | {
9138
+ output: {
9139
+ error: string;
9140
+ };
9141
+ outputFormat: "json";
9142
+ status: 409;
9143
+ input: {
9144
+ json: {
9145
+ title?: string | undefined;
9146
+ task?: string | undefined;
9147
+ };
9148
+ } & {
9149
+ param: {
9150
+ id: string;
9151
+ };
9152
+ };
9153
+ } | {
9106
9154
  output: {
9107
9155
  id: string;
9108
9156
  title: string;
@@ -9456,54 +9504,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9456
9504
  id: string;
9457
9505
  };
9458
9506
  };
9459
- } | {
9460
- output: {
9461
- error: string;
9462
- };
9463
- outputFormat: "json";
9464
- status: 404;
9465
- input: {
9466
- json: {
9467
- title?: string | undefined;
9468
- task?: string | undefined;
9469
- };
9470
- } & {
9471
- param: {
9472
- id: string;
9473
- };
9474
- };
9475
- } | {
9476
- output: {
9477
- error: string;
9478
- };
9479
- outputFormat: "json";
9480
- status: 400;
9481
- input: {
9482
- json: {
9483
- title?: string | undefined;
9484
- task?: string | undefined;
9485
- };
9486
- } & {
9487
- param: {
9488
- id: string;
9489
- };
9490
- };
9491
- } | {
9492
- output: {
9493
- error: string;
9494
- };
9495
- outputFormat: "json";
9496
- status: 409;
9497
- input: {
9498
- json: {
9499
- title?: string | undefined;
9500
- task?: string | undefined;
9501
- };
9502
- } & {
9503
- param: {
9504
- id: string;
9505
- };
9506
- };
9507
9507
  };
9508
9508
  };
9509
9509
  } & {
@@ -9539,7 +9539,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9539
9539
  error: string;
9540
9540
  };
9541
9541
  outputFormat: "json";
9542
- status: 404;
9542
+ status: 400;
9543
9543
  input: {
9544
9544
  json: {
9545
9545
  text?: string | undefined;
@@ -9558,7 +9558,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9558
9558
  error: string;
9559
9559
  };
9560
9560
  outputFormat: "json";
9561
- status: 409;
9561
+ status: 404;
9562
9562
  input: {
9563
9563
  json: {
9564
9564
  text?: string | undefined;
@@ -9574,10 +9574,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9574
9574
  };
9575
9575
  } | {
9576
9576
  output: {
9577
- delivered: true;
9577
+ error: string;
9578
9578
  };
9579
9579
  outputFormat: "json";
9580
- status: import("hono/utils/http-status").ContentfulStatusCode;
9580
+ status: 409;
9581
9581
  input: {
9582
9582
  json: {
9583
9583
  text?: string | undefined;
@@ -9593,10 +9593,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9593
9593
  };
9594
9594
  } | {
9595
9595
  output: {
9596
- error: string;
9596
+ delivered: true;
9597
9597
  };
9598
9598
  outputFormat: "json";
9599
- status: 400;
9599
+ status: import("hono/utils/http-status").ContentfulStatusCode;
9600
9600
  input: {
9601
9601
  json: {
9602
9602
  text?: string | undefined;
@@ -9663,7 +9663,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9663
9663
  error: string;
9664
9664
  };
9665
9665
  outputFormat: "json";
9666
- status: 404;
9666
+ status: 400;
9667
9667
  input: {
9668
9668
  json: {
9669
9669
  text?: string | undefined;
@@ -9684,7 +9684,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9684
9684
  error: string;
9685
9685
  };
9686
9686
  outputFormat: "json";
9687
- status: 400;
9687
+ status: 404;
9688
9688
  input: {
9689
9689
  json: {
9690
9690
  text?: string | undefined;
@@ -9836,7 +9836,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9836
9836
  error: string;
9837
9837
  };
9838
9838
  outputFormat: "json";
9839
- status: 404;
9839
+ status: 400;
9840
9840
  input: {
9841
9841
  json: {
9842
9842
  text?: string | undefined;
@@ -9859,7 +9859,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9859
9859
  error: string;
9860
9860
  };
9861
9861
  outputFormat: "json";
9862
- status: 400;
9862
+ status: 404;
9863
9863
  input: {
9864
9864
  json: {
9865
9865
  text?: string | undefined;
@@ -9970,7 +9970,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9970
9970
  error: string;
9971
9971
  };
9972
9972
  outputFormat: "json";
9973
- status: 404;
9973
+ status: 400;
9974
9974
  input: {
9975
9975
  json: {
9976
9976
  target: string;
@@ -9986,7 +9986,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9986
9986
  error: string;
9987
9987
  };
9988
9988
  outputFormat: "json";
9989
- status: 409;
9989
+ status: 404;
9990
9990
  input: {
9991
9991
  json: {
9992
9992
  target: string;
@@ -10002,7 +10002,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10002
10002
  error: string;
10003
10003
  };
10004
10004
  outputFormat: "json";
10005
- status: 400;
10005
+ status: 409;
10006
10006
  input: {
10007
10007
  json: {
10008
10008
  target: string;
@@ -10059,9 +10059,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10059
10059
  } & {
10060
10060
  "/runs/:id/images/:file": {
10061
10061
  $get: {
10062
- output: {};
10063
- outputFormat: string;
10064
- status: import("hono/utils/http-status").StatusCode;
10062
+ output: {
10063
+ error: string;
10064
+ code?: "invalid_input" | undefined;
10065
+ };
10066
+ outputFormat: "json";
10067
+ status: 400;
10065
10068
  input: {
10066
10069
  param: {
10067
10070
  id: string;
@@ -10069,12 +10072,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10069
10072
  };
10070
10073
  };
10071
10074
  } | {
10072
- output: {
10073
- error: string;
10074
- code?: "invalid_input" | undefined;
10075
- };
10076
- outputFormat: "json";
10077
- status: 400;
10075
+ output: {};
10076
+ outputFormat: string;
10077
+ status: import("hono/utils/http-status").StatusCode;
10078
10078
  input: {
10079
10079
  param: {
10080
10080
  id: string;
@@ -10086,20 +10086,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10086
10086
  } & {
10087
10087
  "/runs/:id/diff": {
10088
10088
  $get: {
10089
- output: string;
10090
- outputFormat: "text";
10091
- status: import("hono/utils/http-status").ContentfulStatusCode;
10089
+ output: {
10090
+ error: string;
10091
+ };
10092
+ outputFormat: "json";
10093
+ status: 404;
10092
10094
  input: {
10093
10095
  param: {
10094
10096
  id: string;
10095
10097
  };
10096
10098
  };
10097
10099
  } | {
10098
- output: {
10099
- error: string;
10100
- };
10101
- outputFormat: "json";
10102
- status: 404;
10100
+ output: string;
10101
+ outputFormat: "text";
10102
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10103
10103
  input: {
10104
10104
  param: {
10105
10105
  id: string;
@@ -10469,10 +10469,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10469
10469
  "/runs/:id/pr": {
10470
10470
  $post: {
10471
10471
  output: {
10472
- error: string;
10472
+ url: string;
10473
+ dryRun: boolean;
10473
10474
  };
10474
10475
  outputFormat: "json";
10475
- status: 404;
10476
+ status: 201;
10476
10477
  input: {
10477
10478
  param: {
10478
10479
  id: string;
@@ -10483,7 +10484,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10483
10484
  error: string;
10484
10485
  };
10485
10486
  outputFormat: "json";
10486
- status: 409;
10487
+ status: 400;
10487
10488
  input: {
10488
10489
  param: {
10489
10490
  id: string;
@@ -10494,7 +10495,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10494
10495
  error: string;
10495
10496
  };
10496
10497
  outputFormat: "json";
10497
- status: 400;
10498
+ status: 404;
10498
10499
  input: {
10499
10500
  param: {
10500
10501
  id: string;
@@ -10502,11 +10503,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10502
10503
  };
10503
10504
  } | {
10504
10505
  output: {
10505
- url: string;
10506
- dryRun: boolean;
10506
+ error: string;
10507
10507
  };
10508
10508
  outputFormat: "json";
10509
- status: 201;
10509
+ status: 409;
10510
10510
  input: {
10511
10511
  param: {
10512
10512
  id: string;
@@ -10558,7 +10558,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10558
10558
  error: string;
10559
10559
  };
10560
10560
  outputFormat: "json";
10561
- status: 409;
10561
+ status: 404;
10562
10562
  input: {
10563
10563
  param: {
10564
10564
  id: string;
@@ -10569,7 +10569,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10569
10569
  error: string;
10570
10570
  };
10571
10571
  outputFormat: "json";
10572
- status: 404;
10572
+ status: 409;
10573
10573
  input: {
10574
10574
  param: {
10575
10575
  id: string;
@@ -11237,7 +11237,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11237
11237
  error: string;
11238
11238
  };
11239
11239
  outputFormat: "json";
11240
- status: 409;
11240
+ status: 400;
11241
11241
  input: {
11242
11242
  json: {
11243
11243
  target: string;
@@ -11248,7 +11248,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11248
11248
  error: string;
11249
11249
  };
11250
11250
  outputFormat: "json";
11251
- status: 400;
11251
+ status: 409;
11252
11252
  input: {
11253
11253
  json: {
11254
11254
  target: string;
@@ -11307,9 +11307,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11307
11307
  }, "/"> | import("hono/types").MergeSchemaPath<{
11308
11308
  "/runs/:id/events": {
11309
11309
  $get: {
11310
- output: {};
11311
- outputFormat: string;
11312
- status: import("hono/utils/http-status").StatusCode;
11310
+ output: {
11311
+ error: string;
11312
+ code?: "invalid_input" | undefined;
11313
+ };
11314
+ outputFormat: "json";
11315
+ status: 400;
11313
11316
  input: {
11314
11317
  param: {
11315
11318
  id: string;
@@ -11321,12 +11324,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11321
11324
  };
11322
11325
  };
11323
11326
  } | {
11324
- output: {
11325
- error: string;
11326
- code?: "invalid_input" | undefined;
11327
- };
11328
- outputFormat: "json";
11329
- status: 400;
11327
+ output: {};
11328
+ outputFormat: string;
11329
+ status: import("hono/utils/http-status").StatusCode;
11330
11330
  input: {
11331
11331
  param: {
11332
11332
  id: string;
@@ -11377,24 +11377,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11377
11377
  "/config": {
11378
11378
  $put: {
11379
11379
  output: {
11380
- baseBranch: string | null;
11381
- defaultRunner: "claude" | "codex" | "opencode" | "pi";
11382
- systemPrompt: string | null;
11383
- defaultModels: {
11384
- claude?: string | undefined;
11385
- codex?: string | undefined;
11386
- opencode?: string | undefined;
11387
- pi?: string | undefined;
11388
- };
11389
- modelsLocked: boolean;
11390
- maxParallel: number;
11391
- memoryLimitMb: number | null;
11392
- worktreeRetention: number;
11393
- liveTitleUpdates: boolean | null;
11394
- reviewGate: boolean | null;
11380
+ error: string;
11395
11381
  };
11396
11382
  outputFormat: "json";
11397
- status: import("hono/utils/http-status").ContentfulStatusCode;
11383
+ status: 409;
11398
11384
  input: {
11399
11385
  json: {
11400
11386
  baseBranch?: string | null | undefined;
@@ -11418,7 +11404,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11418
11404
  error: string;
11419
11405
  };
11420
11406
  outputFormat: "json";
11421
- status: 409;
11407
+ status: 500;
11422
11408
  input: {
11423
11409
  json: {
11424
11410
  baseBranch?: string | null | undefined;
@@ -11439,10 +11425,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11439
11425
  };
11440
11426
  } | {
11441
11427
  output: {
11442
- error: string;
11428
+ baseBranch: string | null;
11429
+ defaultRunner: "claude" | "codex" | "opencode" | "pi";
11430
+ systemPrompt: string | null;
11431
+ defaultModels: {
11432
+ claude?: string | undefined;
11433
+ codex?: string | undefined;
11434
+ opencode?: string | undefined;
11435
+ pi?: string | undefined;
11436
+ };
11437
+ modelsLocked: boolean;
11438
+ maxParallel: number;
11439
+ memoryLimitMb: number | null;
11440
+ worktreeRetention: number;
11441
+ liveTitleUpdates: boolean | null;
11442
+ reviewGate: boolean | null;
11443
11443
  };
11444
11444
  outputFormat: "json";
11445
- status: 500;
11445
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11446
11446
  input: {
11447
11447
  json: {
11448
11448
  baseBranch?: string | null | undefined;
@@ -11466,6 +11466,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11466
11466
  }, "/"> | import("hono/types").MergeSchemaPath<{
11467
11467
  "/skills": {
11468
11468
  $get: {
11469
+ output: {
11470
+ error: string;
11471
+ code?: "invalid_input" | undefined;
11472
+ };
11473
+ outputFormat: "json";
11474
+ status: 400;
11475
+ input: {
11476
+ query: {
11477
+ wait?: string | undefined;
11478
+ };
11479
+ };
11480
+ } | {
11469
11481
  output: {
11470
11482
  name: string;
11471
11483
  description?: string;
@@ -11488,7 +11500,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11488
11500
  wait?: string | undefined;
11489
11501
  };
11490
11502
  };
11491
- } | {
11503
+ };
11504
+ };
11505
+ } & {
11506
+ "/skills/importable": {
11507
+ $get: {
11492
11508
  output: {
11493
11509
  error: string;
11494
11510
  code?: "invalid_input" | undefined;
@@ -11500,11 +11516,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11500
11516
  wait?: string | undefined;
11501
11517
  };
11502
11518
  };
11503
- };
11504
- };
11505
- } & {
11506
- "/skills/importable": {
11507
- $get: {
11519
+ } | {
11508
11520
  output: {
11509
11521
  name: string;
11510
11522
  description?: string | undefined;
@@ -11516,18 +11528,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11516
11528
  wait?: string | undefined;
11517
11529
  };
11518
11530
  };
11519
- } | {
11520
- output: {
11521
- error: string;
11522
- code?: "invalid_input" | undefined;
11523
- };
11524
- outputFormat: "json";
11525
- status: 400;
11526
- input: {
11527
- query: {
11528
- wait?: string | undefined;
11529
- };
11530
- };
11531
11531
  };
11532
11532
  };
11533
11533
  } & {
@@ -11581,18 +11581,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11581
11581
  error: string;
11582
11582
  };
11583
11583
  outputFormat: "json";
11584
- status: 409;
11585
- input: {
11586
- param: {
11587
- id: string;
11588
- };
11589
- };
11590
- } | {
11591
- output: {
11592
- removed: true;
11593
- };
11594
- outputFormat: "json";
11595
- status: import("hono/utils/http-status").ContentfulStatusCode;
11584
+ status: 404;
11596
11585
  input: {
11597
11586
  param: {
11598
11587
  id: string;
@@ -11603,35 +11592,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11603
11592
  error: string;
11604
11593
  };
11605
11594
  outputFormat: "json";
11606
- status: 404;
11595
+ status: 409;
11607
11596
  input: {
11608
11597
  param: {
11609
11598
  id: string;
11610
11599
  };
11611
11600
  };
11612
- };
11613
- };
11614
- } & {
11615
- "/todos/:id/start": {
11616
- $post: {
11601
+ } | {
11617
11602
  output: {
11618
- error: string;
11603
+ removed: true;
11619
11604
  };
11620
11605
  outputFormat: "json";
11621
- status: 409;
11606
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11622
11607
  input: {
11623
- json: {
11624
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11625
- model?: string | undefined;
11626
- effort?: string | undefined;
11627
- prompt?: string | undefined;
11628
- } | undefined;
11629
- } & {
11630
11608
  param: {
11631
11609
  id: string;
11632
11610
  };
11633
11611
  };
11634
- } | {
11612
+ };
11613
+ };
11614
+ } & {
11615
+ "/todos/:id/start": {
11616
+ $post: {
11635
11617
  output: {
11636
11618
  run: {
11637
11619
  id: string;
@@ -11989,6 +11971,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11989
11971
  id: string;
11990
11972
  };
11991
11973
  };
11974
+ } | {
11975
+ output: {
11976
+ error: string;
11977
+ };
11978
+ outputFormat: "json";
11979
+ status: 404;
11980
+ input: {
11981
+ json: {
11982
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11983
+ model?: string | undefined;
11984
+ effort?: string | undefined;
11985
+ prompt?: string | undefined;
11986
+ } | undefined;
11987
+ } & {
11988
+ param: {
11989
+ id: string;
11990
+ };
11991
+ };
11992
11992
  } | {
11993
11993
  output: {
11994
11994
  error: string;
@@ -12012,7 +12012,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12012
12012
  error: string;
12013
12013
  };
12014
12014
  outputFormat: "json";
12015
- status: 404;
12015
+ status: 409;
12016
12016
  input: {
12017
12017
  json: {
12018
12018
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -12115,14 +12115,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12115
12115
  "/agent-config/:id": {
12116
12116
  $put: {
12117
12117
  output: {
12118
- id: string;
12119
- path: string;
12120
- exists: boolean;
12121
- content: string;
12122
- version: string | null;
12118
+ error: string;
12123
12119
  };
12124
12120
  outputFormat: "json";
12125
- status: import("hono/utils/http-status").ContentfulStatusCode;
12121
+ status: 404;
12126
12122
  input: {
12127
12123
  json: {
12128
12124
  content: string;
@@ -12135,10 +12131,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12135
12131
  };
12136
12132
  } | {
12137
12133
  output: {
12138
- error: string;
12134
+ id: string;
12135
+ path: string;
12136
+ exists: boolean;
12137
+ content: string;
12138
+ version: string | null;
12139
12139
  };
12140
12140
  outputFormat: "json";
12141
- status: 404;
12141
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12142
12142
  input: {
12143
12143
  json: {
12144
12144
  content: string;
@@ -12206,10 +12206,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12206
12206
  "/workflows": {
12207
12207
  $post: {
12208
12208
  output: {
12209
- error: string;
12209
+ path: string;
12210
+ name: string;
12210
12211
  };
12211
12212
  outputFormat: "json";
12212
- status: 400;
12213
+ status: 201;
12213
12214
  input: {
12214
12215
  json: {
12215
12216
  name: string;
@@ -12236,10 +12237,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12236
12237
  } | {
12237
12238
  output: {
12238
12239
  error: string;
12239
- exists: true;
12240
12240
  };
12241
12241
  outputFormat: "json";
12242
- status: 409;
12242
+ status: 400;
12243
12243
  input: {
12244
12244
  json: {
12245
12245
  name: string;
@@ -12266,9 +12266,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12266
12266
  } | {
12267
12267
  output: {
12268
12268
  error: string;
12269
+ exists: true;
12269
12270
  };
12270
12271
  outputFormat: "json";
12271
- status: 500;
12272
+ status: 409;
12272
12273
  input: {
12273
12274
  json: {
12274
12275
  name: string;
@@ -12294,11 +12295,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12294
12295
  };
12295
12296
  } | {
12296
12297
  output: {
12297
- path: string;
12298
- name: string;
12298
+ error: string;
12299
12299
  };
12300
12300
  outputFormat: "json";
12301
- status: 201;
12301
+ status: 500;
12302
12302
  input: {
12303
12303
  json: {
12304
12304
  name: string;
@@ -12331,7 +12331,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12331
12331
  error: string;
12332
12332
  };
12333
12333
  outputFormat: "json";
12334
- status: 404;
12334
+ status: 400;
12335
12335
  input: {
12336
12336
  param: {
12337
12337
  name: string;
@@ -12342,7 +12342,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12342
12342
  error: string;
12343
12343
  };
12344
12344
  outputFormat: "json";
12345
- status: 400;
12345
+ status: 404;
12346
12346
  input: {
12347
12347
  param: {
12348
12348
  name: string;
@@ -12465,9 +12465,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12465
12465
  } & {
12466
12466
  "/repo/commit/:sha": {
12467
12467
  $get: {
12468
- output: string;
12469
- outputFormat: "text";
12470
- status: import("hono/utils/http-status").ContentfulStatusCode;
12468
+ output: {
12469
+ error: string;
12470
+ code?: "invalid_input" | undefined;
12471
+ };
12472
+ outputFormat: "json";
12473
+ status: 400;
12471
12474
  input: {
12472
12475
  query: {
12473
12476
  structured?: string | undefined;
@@ -12480,10 +12483,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12480
12483
  } | {
12481
12484
  output: {
12482
12485
  error: string;
12483
- code?: "invalid_input" | undefined;
12484
12486
  };
12485
12487
  outputFormat: "json";
12486
- status: 400;
12488
+ status: 409;
12487
12489
  input: {
12488
12490
  query: {
12489
12491
  structured?: string | undefined;
@@ -12527,11 +12529,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12527
12529
  };
12528
12530
  };
12529
12531
  } | {
12530
- output: {
12531
- error: string;
12532
- };
12533
- outputFormat: "json";
12534
- status: 409;
12532
+ output: string;
12533
+ outputFormat: "text";
12534
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12535
12535
  input: {
12536
12536
  query: {
12537
12537
  structured?: string | undefined;
@@ -12546,6 +12546,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12546
12546
  } & {
12547
12547
  "/repo/changes": {
12548
12548
  $get: {
12549
+ output: {
12550
+ error: string;
12551
+ };
12552
+ outputFormat: "json";
12553
+ status: 409;
12554
+ input: {};
12555
+ } | {
12549
12556
  output: {
12550
12557
  files: {
12551
12558
  path: string;
@@ -12570,13 +12577,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12570
12577
  outputFormat: "json";
12571
12578
  status: import("hono/utils/http-status").ContentfulStatusCode;
12572
12579
  input: {};
12573
- } | {
12574
- output: {
12575
- error: string;
12576
- };
12577
- outputFormat: "json";
12578
- status: 409;
12579
- input: {};
12580
12580
  };
12581
12581
  };
12582
12582
  } & {
@@ -12601,10 +12601,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12601
12601
  "/repo/pull": {
12602
12602
  $post: {
12603
12603
  output: {
12604
- error: string;
12604
+ branch: string;
12605
+ pulled: true;
12606
+ summary: string;
12605
12607
  };
12606
12608
  outputFormat: "json";
12607
- status: 409;
12609
+ status: 200;
12608
12610
  input: {
12609
12611
  json: {
12610
12612
  branch?: string | undefined;
@@ -12613,12 +12615,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12613
12615
  };
12614
12616
  } | {
12615
12617
  output: {
12616
- branch: string;
12617
- pulled: true;
12618
- summary: string;
12618
+ error: string;
12619
12619
  };
12620
12620
  outputFormat: "json";
12621
- status: 200;
12621
+ status: 409;
12622
12622
  input: {
12623
12623
  json: {
12624
12624
  branch?: string | undefined;
@@ -13334,30 +13334,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13334
13334
  "/automations": {
13335
13335
  $post: {
13336
13336
  output: {
13337
- error: string;
13338
- };
13339
- outputFormat: "json";
13340
- status: 400;
13341
- input: {
13342
- json: {
13337
+ automation: {
13338
+ [x: string]: import("hono/utils/types").JSONValue;
13339
+ id: string;
13340
+ revision: number;
13343
13341
  name: string;
13344
13342
  description?: string | undefined;
13345
- enabled?: boolean | undefined;
13343
+ enabled: boolean;
13346
13344
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
13347
13345
  intervalSeconds: number;
13348
13346
  filters: {
13349
- [x: string]: unknown;
13347
+ [x: string]: import("hono/utils/types").JSONValue;
13350
13348
  authors?: string[] | undefined;
13351
13349
  assignees?: string[] | undefined;
13352
13350
  allLabels?: string[] | undefined;
13353
13351
  anyLabels?: string[] | undefined;
13354
13352
  excludeLabels?: string[] | undefined;
13355
13353
  changedLabels?: string[] | undefined;
13356
- lookbackDays?: number | undefined;
13357
- maxRecords?: number | undefined;
13354
+ lookbackDays: number;
13355
+ maxRecords: number;
13358
13356
  };
13359
13357
  task: {
13360
- [x: string]: unknown;
13358
+ [x: string]: import("hono/utils/types").JSONValue;
13361
13359
  prompt: string;
13362
13360
  workflow?: string | undefined;
13363
13361
  steps?: {
@@ -13372,7 +13370,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13372
13370
  command?: string | undefined;
13373
13371
  onFail?: {
13374
13372
  retry: string;
13375
- max?: number | undefined;
13373
+ max: number;
13376
13374
  } | undefined;
13377
13375
  }[] | undefined;
13378
13376
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -13384,33 +13382,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13384
13382
  autonomous?: boolean | undefined;
13385
13383
  systemPrompt?: string | undefined;
13386
13384
  };
13387
- enable?: boolean | undefined;
13385
+ createdAt: string;
13386
+ updatedAt: string;
13388
13387
  };
13389
13388
  };
13390
- } | {
13391
- output: {
13392
- automation: {
13393
- [x: string]: import("hono/utils/types").JSONValue;
13394
- id: string;
13395
- revision: number;
13389
+ outputFormat: "json";
13390
+ status: 201;
13391
+ input: {
13392
+ json: {
13396
13393
  name: string;
13397
13394
  description?: string | undefined;
13398
- enabled: boolean;
13395
+ enabled?: boolean | undefined;
13399
13396
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
13400
13397
  intervalSeconds: number;
13401
13398
  filters: {
13402
- [x: string]: import("hono/utils/types").JSONValue;
13399
+ [x: string]: unknown;
13403
13400
  authors?: string[] | undefined;
13404
13401
  assignees?: string[] | undefined;
13405
13402
  allLabels?: string[] | undefined;
13406
13403
  anyLabels?: string[] | undefined;
13407
13404
  excludeLabels?: string[] | undefined;
13408
13405
  changedLabels?: string[] | undefined;
13409
- lookbackDays: number;
13410
- maxRecords: number;
13406
+ lookbackDays?: number | undefined;
13407
+ maxRecords?: number | undefined;
13411
13408
  };
13412
13409
  task: {
13413
- [x: string]: import("hono/utils/types").JSONValue;
13410
+ [x: string]: unknown;
13414
13411
  prompt: string;
13415
13412
  workflow?: string | undefined;
13416
13413
  steps?: {
@@ -13425,7 +13422,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13425
13422
  command?: string | undefined;
13426
13423
  onFail?: {
13427
13424
  retry: string;
13428
- max: number;
13425
+ max?: number | undefined;
13429
13426
  } | undefined;
13430
13427
  }[] | undefined;
13431
13428
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -13437,12 +13434,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13437
13434
  autonomous?: boolean | undefined;
13438
13435
  systemPrompt?: string | undefined;
13439
13436
  };
13440
- createdAt: string;
13441
- updatedAt: string;
13437
+ enable?: boolean | undefined;
13442
13438
  };
13443
13439
  };
13440
+ } | {
13441
+ output: {
13442
+ error: string;
13443
+ };
13444
13444
  outputFormat: "json";
13445
- status: 201;
13445
+ status: 400;
13446
13446
  input: {
13447
13447
  json: {
13448
13448
  name: string;
@@ -14030,10 +14030,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14030
14030
  "/automations/:id/check": {
14031
14031
  $post: {
14032
14032
  output: {
14033
- error: string;
14033
+ checkId: string;
14034
14034
  };
14035
14035
  outputFormat: "json";
14036
- status: 404;
14036
+ status: 202;
14037
14037
  input: {
14038
14038
  json: {
14039
14039
  mode: "execute" | "preview";
@@ -14045,10 +14045,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14045
14045
  };
14046
14046
  } | {
14047
14047
  output: {
14048
- checkId: string;
14048
+ error: string;
14049
14049
  };
14050
14050
  outputFormat: "json";
14051
- status: 202;
14051
+ status: 404;
14052
14052
  input: {
14053
14053
  json: {
14054
14054
  mode: "execute" | "preview";
@@ -14122,10 +14122,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14122
14122
  "/automation-log/:receiptId/retry": {
14123
14123
  $post: {
14124
14124
  output: {
14125
- error: string;
14125
+ receiptId: string;
14126
+ runId: string;
14126
14127
  };
14127
14128
  outputFormat: "json";
14128
- status: 404;
14129
+ status: 202;
14129
14130
  input: {
14130
14131
  param: {
14131
14132
  receiptId: string;
@@ -14136,7 +14137,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14136
14137
  error: string;
14137
14138
  };
14138
14139
  outputFormat: "json";
14139
- status: 409;
14140
+ status: 404;
14140
14141
  input: {
14141
14142
  param: {
14142
14143
  receiptId: string;
@@ -14144,11 +14145,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14144
14145
  };
14145
14146
  } | {
14146
14147
  output: {
14147
- receiptId: string;
14148
- runId: string;
14148
+ error: string;
14149
14149
  };
14150
14150
  outputFormat: "json";
14151
- status: 202;
14151
+ status: 409;
14152
14152
  input: {
14153
14153
  param: {
14154
14154
  receiptId: string;
@@ -14629,11 +14629,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14629
14629
  "/runs/:id/worker-destroy": {
14630
14630
  $post: {
14631
14631
  output: {
14632
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
14633
- readonly error: string;
14632
+ workerId: string;
14633
+ state: "complete" | "incomplete";
14634
+ deleted?: ({
14635
+ kind: "worktree";
14636
+ path: string;
14637
+ } | {
14638
+ kind: "branch";
14639
+ ref: string;
14640
+ })[] | undefined;
14641
+ remaining: ("branch" | "process" | "worktree")[];
14642
+ error?: string | undefined;
14634
14643
  };
14635
14644
  outputFormat: "json";
14636
- status: 400 | 401 | 403 | 409 | 503;
14645
+ status: 200;
14637
14646
  input: {
14638
14647
  query: {
14639
14648
  [x: string]: string | string[];
@@ -14678,7 +14687,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14678
14687
  error?: string | undefined;
14679
14688
  };
14680
14689
  outputFormat: "json";
14681
- status: 200;
14690
+ status: 409;
14682
14691
  input: {
14683
14692
  query: {
14684
14693
  [x: string]: string | string[];
@@ -14692,20 +14701,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14692
14701
  };
14693
14702
  } | {
14694
14703
  output: {
14695
- workerId: string;
14696
- state: "complete" | "incomplete";
14697
- deleted?: ({
14698
- kind: "worktree";
14699
- path: string;
14700
- } | {
14701
- kind: "branch";
14702
- ref: string;
14703
- })[] | undefined;
14704
- remaining: ("branch" | "process" | "worktree")[];
14705
- error?: string | undefined;
14704
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
14705
+ readonly error: string;
14706
14706
  };
14707
14707
  outputFormat: "json";
14708
- status: 409;
14708
+ status: 400 | 401 | 403 | 409 | 503;
14709
14709
  input: {
14710
14710
  query: {
14711
14711
  [x: string]: string | string[];
@@ -14744,6 +14744,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14744
14744
  } & {
14745
14745
  "/runs/:id/archive": {
14746
14746
  $post: {
14747
+ output: {
14748
+ error: string;
14749
+ };
14750
+ outputFormat: "json";
14751
+ status: 404;
14752
+ input: {
14753
+ json: {
14754
+ archived?: boolean | undefined;
14755
+ };
14756
+ } & {
14757
+ param: {
14758
+ id: string;
14759
+ };
14760
+ };
14761
+ } | {
14747
14762
  output: {
14748
14763
  id: string;
14749
14764
  title: string;
@@ -15082,26 +15097,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15082
15097
  } | undefined;
15083
15098
  }[];
15084
15099
  source: "built-in" | "file";
15085
- path?: string | undefined;
15086
- } | undefined;
15087
- };
15088
- outputFormat: "json";
15089
- status: import("hono/utils/http-status").ContentfulStatusCode;
15090
- input: {
15091
- json: {
15092
- archived?: boolean | undefined;
15093
- };
15094
- } & {
15095
- param: {
15096
- id: string;
15097
- };
15098
- };
15099
- } | {
15100
- output: {
15101
- error: string;
15100
+ path?: string | undefined;
15101
+ } | undefined;
15102
15102
  };
15103
15103
  outputFormat: "json";
15104
- status: 404;
15104
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15105
15105
  input: {
15106
15106
  json: {
15107
15107
  archived?: boolean | undefined;
@@ -15131,6 +15131,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15131
15131
  pinned?: boolean | undefined;
15132
15132
  };
15133
15133
  };
15134
+ } | {
15135
+ output: {
15136
+ error: string;
15137
+ };
15138
+ outputFormat: "json";
15139
+ status: 404;
15140
+ input: {
15141
+ param: {
15142
+ id: string;
15143
+ };
15144
+ } & {
15145
+ json: {
15146
+ pinned?: boolean | undefined;
15147
+ };
15148
+ };
15134
15149
  } | {
15135
15150
  output: {
15136
15151
  id: string;
@@ -15484,21 +15499,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15484
15499
  pinned?: boolean | undefined;
15485
15500
  };
15486
15501
  };
15487
- } | {
15488
- output: {
15489
- error: string;
15490
- };
15491
- outputFormat: "json";
15492
- status: 404;
15493
- input: {
15494
- param: {
15495
- id: string;
15496
- };
15497
- } & {
15498
- json: {
15499
- pinned?: boolean | undefined;
15500
- };
15501
- };
15502
15502
  };
15503
15503
  };
15504
15504
  } & {
@@ -15530,6 +15530,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15530
15530
  } & {
15531
15531
  "/runs/:id/read": {
15532
15532
  $post: {
15533
+ output: {
15534
+ error: string;
15535
+ };
15536
+ outputFormat: "json";
15537
+ status: 404;
15538
+ input: {
15539
+ param: {
15540
+ id: string;
15541
+ };
15542
+ };
15543
+ } | {
15533
15544
  output: {
15534
15545
  id: string;
15535
15546
  title: string;
@@ -15878,7 +15889,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15878
15889
  id: string;
15879
15890
  };
15880
15891
  };
15881
- } | {
15892
+ };
15893
+ };
15894
+ } & {
15895
+ "/runs/:id/unread": {
15896
+ $post: {
15882
15897
  output: {
15883
15898
  error: string;
15884
15899
  };
@@ -15889,11 +15904,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15889
15904
  id: string;
15890
15905
  };
15891
15906
  };
15892
- };
15893
- };
15894
- } & {
15895
- "/runs/:id/unread": {
15896
- $post: {
15907
+ } | {
15897
15908
  output: {
15898
15909
  id: string;
15899
15910
  title: string;
@@ -16242,17 +16253,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16242
16253
  id: string;
16243
16254
  };
16244
16255
  };
16245
- } | {
16246
- output: {
16247
- error: string;
16248
- };
16249
- outputFormat: "json";
16250
- status: 404;
16251
- input: {
16252
- param: {
16253
- id: string;
16254
- };
16255
- };
16256
16256
  };
16257
16257
  };
16258
16258
  } & {
@@ -16636,129 +16636,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16636
16636
  todoId?: string | undefined;
16637
16637
  };
16638
16638
  };
16639
- } | {
16640
- output: {
16641
- error: string;
16642
- };
16643
- outputFormat: "json";
16644
- status: 409;
16645
- input: {
16646
- json: {
16647
- workflow?: string | undefined;
16648
- steps?: {
16649
- id: string;
16650
- name?: string | undefined;
16651
- prompt?: string | undefined;
16652
- skill?: string | undefined;
16653
- model?: string | undefined;
16654
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16655
- allowedTools?: string[] | undefined;
16656
- bashAllowlist?: string[] | undefined;
16657
- command?: string | undefined;
16658
- onFail?: {
16659
- retry: string;
16660
- max?: number | undefined;
16661
- } | undefined;
16662
- }[] | undefined;
16663
- task: string;
16664
- model?: string | undefined;
16665
- effort?: string | undefined;
16666
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16667
- agentProfile?: string | undefined;
16668
- variants?: number | undefined;
16669
- worktree?: boolean | undefined;
16670
- autonomous?: boolean | undefined;
16671
- generateFollowups?: boolean | undefined;
16672
- systemPrompt?: string | undefined;
16673
- images?: {
16674
- mediaType: string;
16675
- data: string;
16676
- }[] | undefined;
16677
- todoId?: string | undefined;
16678
- };
16679
- };
16680
- } | {
16681
- output: {
16682
- error: string;
16683
- };
16684
- outputFormat: "json";
16685
- status: 400;
16686
- input: {
16687
- json: {
16688
- workflow?: string | undefined;
16689
- steps?: {
16690
- id: string;
16691
- name?: string | undefined;
16692
- prompt?: string | undefined;
16693
- skill?: string | undefined;
16694
- model?: string | undefined;
16695
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16696
- allowedTools?: string[] | undefined;
16697
- bashAllowlist?: string[] | undefined;
16698
- command?: string | undefined;
16699
- onFail?: {
16700
- retry: string;
16701
- max?: number | undefined;
16702
- } | undefined;
16703
- }[] | undefined;
16704
- task: string;
16705
- model?: string | undefined;
16706
- effort?: string | undefined;
16707
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16708
- agentProfile?: string | undefined;
16709
- variants?: number | undefined;
16710
- worktree?: boolean | undefined;
16711
- autonomous?: boolean | undefined;
16712
- generateFollowups?: boolean | undefined;
16713
- systemPrompt?: string | undefined;
16714
- images?: {
16715
- mediaType: string;
16716
- data: string;
16717
- }[] | undefined;
16718
- todoId?: string | undefined;
16719
- };
16720
- };
16721
- } | {
16722
- output: {
16723
- error: string;
16724
- };
16725
- outputFormat: "json";
16726
- status: 404;
16727
- input: {
16728
- json: {
16729
- workflow?: string | undefined;
16730
- steps?: {
16731
- id: string;
16732
- name?: string | undefined;
16733
- prompt?: string | undefined;
16734
- skill?: string | undefined;
16735
- model?: string | undefined;
16736
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16737
- allowedTools?: string[] | undefined;
16738
- bashAllowlist?: string[] | undefined;
16739
- command?: string | undefined;
16740
- onFail?: {
16741
- retry: string;
16742
- max?: number | undefined;
16743
- } | undefined;
16744
- }[] | undefined;
16745
- task: string;
16746
- model?: string | undefined;
16747
- effort?: string | undefined;
16748
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16749
- agentProfile?: string | undefined;
16750
- variants?: number | undefined;
16751
- worktree?: boolean | undefined;
16752
- autonomous?: boolean | undefined;
16753
- generateFollowups?: boolean | undefined;
16754
- systemPrompt?: string | undefined;
16755
- images?: {
16756
- mediaType: string;
16757
- data: string;
16758
- }[] | undefined;
16759
- todoId?: string | undefined;
16760
- };
16761
- };
16762
16639
  } | {
16763
16640
  output: {
16764
16641
  runs: {
@@ -17104,7 +16981,130 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17104
16981
  }[];
17105
16982
  };
17106
16983
  outputFormat: "json";
17107
- status: 201;
16984
+ status: 201;
16985
+ input: {
16986
+ json: {
16987
+ workflow?: string | undefined;
16988
+ steps?: {
16989
+ id: string;
16990
+ name?: string | undefined;
16991
+ prompt?: string | undefined;
16992
+ skill?: string | undefined;
16993
+ model?: string | undefined;
16994
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16995
+ allowedTools?: string[] | undefined;
16996
+ bashAllowlist?: string[] | undefined;
16997
+ command?: string | undefined;
16998
+ onFail?: {
16999
+ retry: string;
17000
+ max?: number | undefined;
17001
+ } | undefined;
17002
+ }[] | undefined;
17003
+ task: string;
17004
+ model?: string | undefined;
17005
+ effort?: string | undefined;
17006
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17007
+ agentProfile?: string | undefined;
17008
+ variants?: number | undefined;
17009
+ worktree?: boolean | undefined;
17010
+ autonomous?: boolean | undefined;
17011
+ generateFollowups?: boolean | undefined;
17012
+ systemPrompt?: string | undefined;
17013
+ images?: {
17014
+ mediaType: string;
17015
+ data: string;
17016
+ }[] | undefined;
17017
+ todoId?: string | undefined;
17018
+ };
17019
+ };
17020
+ } | {
17021
+ output: {
17022
+ error: string;
17023
+ };
17024
+ outputFormat: "json";
17025
+ status: 400;
17026
+ input: {
17027
+ json: {
17028
+ workflow?: string | undefined;
17029
+ steps?: {
17030
+ id: string;
17031
+ name?: string | undefined;
17032
+ prompt?: string | undefined;
17033
+ skill?: string | undefined;
17034
+ model?: string | undefined;
17035
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17036
+ allowedTools?: string[] | undefined;
17037
+ bashAllowlist?: string[] | undefined;
17038
+ command?: string | undefined;
17039
+ onFail?: {
17040
+ retry: string;
17041
+ max?: number | undefined;
17042
+ } | undefined;
17043
+ }[] | undefined;
17044
+ task: string;
17045
+ model?: string | undefined;
17046
+ effort?: string | undefined;
17047
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17048
+ agentProfile?: string | undefined;
17049
+ variants?: number | undefined;
17050
+ worktree?: boolean | undefined;
17051
+ autonomous?: boolean | undefined;
17052
+ generateFollowups?: boolean | undefined;
17053
+ systemPrompt?: string | undefined;
17054
+ images?: {
17055
+ mediaType: string;
17056
+ data: string;
17057
+ }[] | undefined;
17058
+ todoId?: string | undefined;
17059
+ };
17060
+ };
17061
+ } | {
17062
+ output: {
17063
+ error: string;
17064
+ };
17065
+ outputFormat: "json";
17066
+ status: 404;
17067
+ input: {
17068
+ json: {
17069
+ workflow?: string | undefined;
17070
+ steps?: {
17071
+ id: string;
17072
+ name?: string | undefined;
17073
+ prompt?: string | undefined;
17074
+ skill?: string | undefined;
17075
+ model?: string | undefined;
17076
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17077
+ allowedTools?: string[] | undefined;
17078
+ bashAllowlist?: string[] | undefined;
17079
+ command?: string | undefined;
17080
+ onFail?: {
17081
+ retry: string;
17082
+ max?: number | undefined;
17083
+ } | undefined;
17084
+ }[] | undefined;
17085
+ task: string;
17086
+ model?: string | undefined;
17087
+ effort?: string | undefined;
17088
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17089
+ agentProfile?: string | undefined;
17090
+ variants?: number | undefined;
17091
+ worktree?: boolean | undefined;
17092
+ autonomous?: boolean | undefined;
17093
+ generateFollowups?: boolean | undefined;
17094
+ systemPrompt?: string | undefined;
17095
+ images?: {
17096
+ mediaType: string;
17097
+ data: string;
17098
+ }[] | undefined;
17099
+ todoId?: string | undefined;
17100
+ };
17101
+ };
17102
+ } | {
17103
+ output: {
17104
+ error: string;
17105
+ };
17106
+ outputFormat: "json";
17107
+ status: 409;
17108
17108
  input: {
17109
17109
  json: {
17110
17110
  workflow?: string | undefined;
@@ -17145,6 +17145,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17145
17145
  } & {
17146
17146
  "/runs/:id": {
17147
17147
  $get: {
17148
+ output: {
17149
+ error: string;
17150
+ };
17151
+ outputFormat: "json";
17152
+ status: 404;
17153
+ input: {
17154
+ param: {
17155
+ id: string;
17156
+ };
17157
+ };
17158
+ } | {
17148
17159
  output: {
17149
17160
  id: string;
17150
17161
  title: string;
@@ -17494,17 +17505,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17494
17505
  id: string;
17495
17506
  };
17496
17507
  };
17497
- } | {
17498
- output: {
17499
- error: string;
17500
- };
17501
- outputFormat: "json";
17502
- status: 404;
17503
- input: {
17504
- param: {
17505
- id: string;
17506
- };
17507
- };
17508
17508
  };
17509
17509
  };
17510
17510
  } & {
@@ -17632,6 +17632,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17632
17632
  } & {
17633
17633
  "/runs/:id": {
17634
17634
  $patch: {
17635
+ output: {
17636
+ error: string;
17637
+ };
17638
+ outputFormat: "json";
17639
+ status: 400;
17640
+ input: {
17641
+ json: {
17642
+ title?: string | undefined;
17643
+ task?: string | undefined;
17644
+ };
17645
+ } & {
17646
+ param: {
17647
+ id: string;
17648
+ };
17649
+ };
17650
+ } | {
17651
+ output: {
17652
+ error: string;
17653
+ };
17654
+ outputFormat: "json";
17655
+ status: 404;
17656
+ input: {
17657
+ json: {
17658
+ title?: string | undefined;
17659
+ task?: string | undefined;
17660
+ };
17661
+ } & {
17662
+ param: {
17663
+ id: string;
17664
+ };
17665
+ };
17666
+ } | {
17667
+ output: {
17668
+ error: string;
17669
+ };
17670
+ outputFormat: "json";
17671
+ status: 409;
17672
+ input: {
17673
+ json: {
17674
+ title?: string | undefined;
17675
+ task?: string | undefined;
17676
+ };
17677
+ } & {
17678
+ param: {
17679
+ id: string;
17680
+ };
17681
+ };
17682
+ } | {
17635
17683
  output: {
17636
17684
  id: string;
17637
17685
  title: string;
@@ -17985,54 +18033,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17985
18033
  id: string;
17986
18034
  };
17987
18035
  };
17988
- } | {
17989
- output: {
17990
- error: string;
17991
- };
17992
- outputFormat: "json";
17993
- status: 404;
17994
- input: {
17995
- json: {
17996
- title?: string | undefined;
17997
- task?: string | undefined;
17998
- };
17999
- } & {
18000
- param: {
18001
- id: string;
18002
- };
18003
- };
18004
- } | {
18005
- output: {
18006
- error: string;
18007
- };
18008
- outputFormat: "json";
18009
- status: 400;
18010
- input: {
18011
- json: {
18012
- title?: string | undefined;
18013
- task?: string | undefined;
18014
- };
18015
- } & {
18016
- param: {
18017
- id: string;
18018
- };
18019
- };
18020
- } | {
18021
- output: {
18022
- error: string;
18023
- };
18024
- outputFormat: "json";
18025
- status: 409;
18026
- input: {
18027
- json: {
18028
- title?: string | undefined;
18029
- task?: string | undefined;
18030
- };
18031
- } & {
18032
- param: {
18033
- id: string;
18034
- };
18035
- };
18036
18036
  };
18037
18037
  };
18038
18038
  } & {
@@ -18068,7 +18068,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18068
18068
  error: string;
18069
18069
  };
18070
18070
  outputFormat: "json";
18071
- status: 404;
18071
+ status: 400;
18072
18072
  input: {
18073
18073
  json: {
18074
18074
  text?: string | undefined;
@@ -18087,7 +18087,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18087
18087
  error: string;
18088
18088
  };
18089
18089
  outputFormat: "json";
18090
- status: 409;
18090
+ status: 404;
18091
18091
  input: {
18092
18092
  json: {
18093
18093
  text?: string | undefined;
@@ -18103,10 +18103,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18103
18103
  };
18104
18104
  } | {
18105
18105
  output: {
18106
- delivered: true;
18106
+ error: string;
18107
18107
  };
18108
18108
  outputFormat: "json";
18109
- status: import("hono/utils/http-status").ContentfulStatusCode;
18109
+ status: 409;
18110
18110
  input: {
18111
18111
  json: {
18112
18112
  text?: string | undefined;
@@ -18122,10 +18122,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18122
18122
  };
18123
18123
  } | {
18124
18124
  output: {
18125
- error: string;
18125
+ delivered: true;
18126
18126
  };
18127
18127
  outputFormat: "json";
18128
- status: 400;
18128
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18129
18129
  input: {
18130
18130
  json: {
18131
18131
  text?: string | undefined;
@@ -18192,7 +18192,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18192
18192
  error: string;
18193
18193
  };
18194
18194
  outputFormat: "json";
18195
- status: 404;
18195
+ status: 400;
18196
18196
  input: {
18197
18197
  json: {
18198
18198
  text?: string | undefined;
@@ -18213,7 +18213,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18213
18213
  error: string;
18214
18214
  };
18215
18215
  outputFormat: "json";
18216
- status: 400;
18216
+ status: 404;
18217
18217
  input: {
18218
18218
  json: {
18219
18219
  text?: string | undefined;
@@ -18365,7 +18365,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18365
18365
  error: string;
18366
18366
  };
18367
18367
  outputFormat: "json";
18368
- status: 404;
18368
+ status: 400;
18369
18369
  input: {
18370
18370
  json: {
18371
18371
  text?: string | undefined;
@@ -18388,7 +18388,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18388
18388
  error: string;
18389
18389
  };
18390
18390
  outputFormat: "json";
18391
- status: 400;
18391
+ status: 404;
18392
18392
  input: {
18393
18393
  json: {
18394
18394
  text?: string | undefined;
@@ -18499,7 +18499,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18499
18499
  error: string;
18500
18500
  };
18501
18501
  outputFormat: "json";
18502
- status: 404;
18502
+ status: 400;
18503
18503
  input: {
18504
18504
  json: {
18505
18505
  target: string;
@@ -18515,7 +18515,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18515
18515
  error: string;
18516
18516
  };
18517
18517
  outputFormat: "json";
18518
- status: 409;
18518
+ status: 404;
18519
18519
  input: {
18520
18520
  json: {
18521
18521
  target: string;
@@ -18531,7 +18531,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18531
18531
  error: string;
18532
18532
  };
18533
18533
  outputFormat: "json";
18534
- status: 400;
18534
+ status: 409;
18535
18535
  input: {
18536
18536
  json: {
18537
18537
  target: string;
@@ -18588,9 +18588,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18588
18588
  } & {
18589
18589
  "/runs/:id/images/:file": {
18590
18590
  $get: {
18591
- output: {};
18592
- outputFormat: string;
18593
- status: import("hono/utils/http-status").StatusCode;
18591
+ output: {
18592
+ error: string;
18593
+ code?: "invalid_input" | undefined;
18594
+ };
18595
+ outputFormat: "json";
18596
+ status: 400;
18594
18597
  input: {
18595
18598
  param: {
18596
18599
  id: string;
@@ -18598,12 +18601,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18598
18601
  };
18599
18602
  };
18600
18603
  } | {
18601
- output: {
18602
- error: string;
18603
- code?: "invalid_input" | undefined;
18604
- };
18605
- outputFormat: "json";
18606
- status: 400;
18604
+ output: {};
18605
+ outputFormat: string;
18606
+ status: import("hono/utils/http-status").StatusCode;
18607
18607
  input: {
18608
18608
  param: {
18609
18609
  id: string;
@@ -18615,20 +18615,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18615
18615
  } & {
18616
18616
  "/runs/:id/diff": {
18617
18617
  $get: {
18618
- output: string;
18619
- outputFormat: "text";
18620
- status: import("hono/utils/http-status").ContentfulStatusCode;
18618
+ output: {
18619
+ error: string;
18620
+ };
18621
+ outputFormat: "json";
18622
+ status: 404;
18621
18623
  input: {
18622
18624
  param: {
18623
18625
  id: string;
18624
18626
  };
18625
18627
  };
18626
18628
  } | {
18627
- output: {
18628
- error: string;
18629
- };
18630
- outputFormat: "json";
18631
- status: 404;
18629
+ output: string;
18630
+ outputFormat: "text";
18631
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18632
18632
  input: {
18633
18633
  param: {
18634
18634
  id: string;
@@ -18998,10 +18998,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18998
18998
  "/runs/:id/pr": {
18999
18999
  $post: {
19000
19000
  output: {
19001
- error: string;
19001
+ url: string;
19002
+ dryRun: boolean;
19002
19003
  };
19003
19004
  outputFormat: "json";
19004
- status: 404;
19005
+ status: 201;
19005
19006
  input: {
19006
19007
  param: {
19007
19008
  id: string;
@@ -19012,7 +19013,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19012
19013
  error: string;
19013
19014
  };
19014
19015
  outputFormat: "json";
19015
- status: 409;
19016
+ status: 400;
19016
19017
  input: {
19017
19018
  param: {
19018
19019
  id: string;
@@ -19023,7 +19024,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19023
19024
  error: string;
19024
19025
  };
19025
19026
  outputFormat: "json";
19026
- status: 400;
19027
+ status: 404;
19027
19028
  input: {
19028
19029
  param: {
19029
19030
  id: string;
@@ -19031,11 +19032,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19031
19032
  };
19032
19033
  } | {
19033
19034
  output: {
19034
- url: string;
19035
- dryRun: boolean;
19035
+ error: string;
19036
19036
  };
19037
19037
  outputFormat: "json";
19038
- status: 201;
19038
+ status: 409;
19039
19039
  input: {
19040
19040
  param: {
19041
19041
  id: string;
@@ -19087,7 +19087,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19087
19087
  error: string;
19088
19088
  };
19089
19089
  outputFormat: "json";
19090
- status: 409;
19090
+ status: 404;
19091
19091
  input: {
19092
19092
  param: {
19093
19093
  id: string;
@@ -19098,7 +19098,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19098
19098
  error: string;
19099
19099
  };
19100
19100
  outputFormat: "json";
19101
- status: 404;
19101
+ status: 409;
19102
19102
  input: {
19103
19103
  param: {
19104
19104
  id: string;