@wjarka/cezarion 0.13.5-pr355.546 → 0.13.5-pr357.545

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,17 +315,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
315
315
  };
316
316
  } | {
317
317
  output: {
318
- path: string;
319
- parent: string | null;
320
- dirs: {
321
- name: string;
322
- path: string;
323
- isRepo: boolean;
324
- }[];
325
- truncated: boolean;
318
+ error: string;
326
319
  };
327
320
  outputFormat: "json";
328
- status: import("hono/utils/http-status").ContentfulStatusCode;
321
+ status: 400 | 404;
329
322
  input: {
330
323
  query: {
331
324
  path?: string | undefined;
@@ -334,10 +327,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
334
327
  };
335
328
  } | {
336
329
  output: {
337
- error: string;
330
+ path: string;
331
+ parent: string | null;
332
+ dirs: {
333
+ name: string;
334
+ path: string;
335
+ isRepo: boolean;
336
+ }[];
337
+ truncated: boolean;
338
338
  };
339
339
  outputFormat: "json";
340
- status: 400 | 404;
340
+ status: import("hono/utils/http-status").ContentfulStatusCode;
341
341
  input: {
342
342
  query: {
343
343
  path?: string | undefined;
@@ -349,17 +349,6 @@ 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
- } | {
363
352
  output: {
364
353
  id: string;
365
354
  automationId: string;
@@ -378,6 +367,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
378
367
  checkId: string;
379
368
  };
380
369
  };
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,6 +470,17 @@ 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
+ };
473
484
  } | {
474
485
  output: {
475
486
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -496,17 +507,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
496
507
  projectId: string | string[];
497
508
  };
498
509
  };
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,10 +645,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
645
645
  };
646
646
  } | {
647
647
  output: {
648
- error: string;
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
+ }[];
649
656
  };
650
657
  outputFormat: "json";
651
- status: 500;
658
+ status: import("hono/utils/http-status").ContentfulStatusCode;
652
659
  input: {
653
660
  param: {
654
661
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -660,17 +667,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
660
667
  };
661
668
  } | {
662
669
  output: {
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
- }[];
670
+ error: string;
671
671
  };
672
672
  outputFormat: "json";
673
- status: import("hono/utils/http-status").ContentfulStatusCode;
673
+ status: 500;
674
674
  input: {
675
675
  param: {
676
676
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -702,10 +702,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
702
702
  };
703
703
  } | {
704
704
  output: {
705
- error: string;
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
+ }[];
706
713
  };
707
714
  outputFormat: "json";
708
- status: 409;
715
+ status: import("hono/utils/http-status").ContentfulStatusCode;
709
716
  input: {
710
717
  param: {
711
718
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -717,17 +724,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
717
724
  };
718
725
  } | {
719
726
  output: {
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
- }[];
727
+ error: string;
728
728
  };
729
729
  outputFormat: "json";
730
- status: import("hono/utils/http-status").ContentfulStatusCode;
730
+ status: 409;
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: 400;
749
+ status: 409;
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: 409;
761
+ status: 400;
762
762
  input: {
763
763
  json: {
764
764
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -846,10 +846,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
846
846
  "/workspace/config": {
847
847
  $put: {
848
848
  output: {
849
- error: string;
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
+ };
850
875
  };
851
876
  outputFormat: "json";
852
- status: 400;
877
+ status: import("hono/utils/http-status").ContentfulStatusCode;
853
878
  input: {
854
879
  json: {
855
880
  browseRoot?: string | undefined;
@@ -883,7 +908,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
883
908
  error: string;
884
909
  };
885
910
  outputFormat: "json";
886
- status: 500;
911
+ status: 400;
887
912
  input: {
888
913
  json: {
889
914
  browseRoot?: string | undefined;
@@ -914,35 +939,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
914
939
  };
915
940
  } | {
916
941
  output: {
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
- };
942
+ error: string;
943
943
  };
944
944
  outputFormat: "json";
945
- status: import("hono/utils/http-status").ContentfulStatusCode;
945
+ status: 500;
946
946
  input: {
947
947
  json: {
948
948
  browseRoot?: string | undefined;
@@ -1022,10 +1022,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1022
1022
  "/workspace/ui-state": {
1023
1023
  $put: {
1024
1024
  output: {
1025
- error: string;
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;
1026
1060
  };
1027
1061
  outputFormat: "json";
1028
- status: 500;
1062
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1029
1063
  input: {
1030
1064
  json: {
1031
1065
  [x: string]: unknown;
@@ -1063,44 +1097,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1063
1097
  };
1064
1098
  } | {
1065
1099
  output: {
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;
1100
+ error: string;
1101
1101
  };
1102
1102
  outputFormat: "json";
1103
- status: import("hono/utils/http-status").ContentfulStatusCode;
1103
+ status: 500;
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: 404;
1233
+ status: 409;
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: 409;
1244
+ status: 404;
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: 404;
1282
+ status: 409;
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: 409;
1298
+ status: 404;
1299
1299
  input: {
1300
1300
  json: {
1301
1301
  maxParallel?: number | null | undefined;
@@ -1472,6 +1472,45 @@ 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
+ } | {
1475
1514
  output: {
1476
1515
  profile: {
1477
1516
  exists: boolean;
@@ -1522,45 +1561,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1522
1561
  configDir: string;
1523
1562
  };
1524
1563
  };
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: 400;
1590
+ status: 409;
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: 404;
1606
+ status: 400;
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: 409;
1622
+ status: 404;
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: 404;
1728
+ status: 409;
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: 409;
1743
+ status: 404;
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: 404;
1796
+ status: 409;
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: 409;
1807
+ status: 404;
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: 400;
1855
+ status: 409;
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: 409;
1887
+ status: 400;
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: 400;
1924
+ status: 409;
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: 409;
1950
+ status: 400;
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: 404;
2020
+ status: 409;
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: 409;
2031
+ status: 500;
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: 500;
2042
+ status: 404;
2043
2043
  input: {
2044
2044
  param: {
2045
2045
  id: string;
@@ -2711,7 +2711,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2711
2711
  error: string;
2712
2712
  };
2713
2713
  outputFormat: "json";
2714
- status: 400;
2714
+ status: 409;
2715
2715
  input: {
2716
2716
  json: {
2717
2717
  target: string;
@@ -2722,7 +2722,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2722
2722
  error: string;
2723
2723
  };
2724
2724
  outputFormat: "json";
2725
- status: 409;
2725
+ status: 400;
2726
2726
  input: {
2727
2727
  json: {
2728
2728
  target: string;
@@ -2781,12 +2781,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2781
2781
  }, "/"> | import("hono/types").MergeSchemaPath<{
2782
2782
  "/runs/:id/events": {
2783
2783
  $get: {
2784
- output: {
2785
- error: string;
2786
- code?: "invalid_input" | undefined;
2787
- };
2788
- outputFormat: "json";
2789
- status: 400;
2784
+ output: {};
2785
+ outputFormat: string;
2786
+ status: import("hono/utils/http-status").StatusCode;
2790
2787
  input: {
2791
2788
  param: {
2792
2789
  id: string;
@@ -2798,9 +2795,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2798
2795
  };
2799
2796
  };
2800
2797
  } | {
2801
- output: {};
2802
- outputFormat: string;
2803
- status: import("hono/utils/http-status").StatusCode;
2798
+ output: {
2799
+ error: string;
2800
+ code?: "invalid_input" | undefined;
2801
+ };
2802
+ outputFormat: "json";
2803
+ status: 400;
2804
2804
  input: {
2805
2805
  param: {
2806
2806
  id: string;
@@ -2851,10 +2851,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2851
2851
  "/config": {
2852
2852
  $put: {
2853
2853
  output: {
2854
- error: string;
2854
+ baseBranch: string | null;
2855
+ defaultRunner: "claude" | "codex" | "opencode" | "pi";
2856
+ systemPrompt: string | null;
2857
+ defaultModels: {
2858
+ claude?: string | undefined;
2859
+ codex?: string | undefined;
2860
+ opencode?: string | undefined;
2861
+ pi?: string | undefined;
2862
+ };
2863
+ modelsLocked: boolean;
2864
+ maxParallel: number;
2865
+ memoryLimitMb: number | null;
2866
+ worktreeRetention: number;
2867
+ liveTitleUpdates: boolean | null;
2868
+ reviewGate: boolean | null;
2855
2869
  };
2856
2870
  outputFormat: "json";
2857
- status: 409;
2871
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2858
2872
  input: {
2859
2873
  json: {
2860
2874
  baseBranch?: string | null | undefined;
@@ -2878,7 +2892,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2878
2892
  error: string;
2879
2893
  };
2880
2894
  outputFormat: "json";
2881
- status: 500;
2895
+ status: 409;
2882
2896
  input: {
2883
2897
  json: {
2884
2898
  baseBranch?: string | null | undefined;
@@ -2899,24 +2913,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2899
2913
  };
2900
2914
  } | {
2901
2915
  output: {
2902
- baseBranch: string | null;
2903
- defaultRunner: "claude" | "codex" | "opencode" | "pi";
2904
- systemPrompt: string | null;
2905
- defaultModels: {
2906
- claude?: string | undefined;
2907
- codex?: string | undefined;
2908
- opencode?: string | undefined;
2909
- pi?: string | undefined;
2910
- };
2911
- modelsLocked: boolean;
2912
- maxParallel: number;
2913
- memoryLimitMb: number | null;
2914
- worktreeRetention: number;
2915
- liveTitleUpdates: boolean | null;
2916
- reviewGate: boolean | null;
2916
+ error: string;
2917
2917
  };
2918
2918
  outputFormat: "json";
2919
- status: import("hono/utils/http-status").ContentfulStatusCode;
2919
+ status: 500;
2920
2920
  input: {
2921
2921
  json: {
2922
2922
  baseBranch?: string | null | undefined;
@@ -2940,18 +2940,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2940
2940
  }, "/"> | import("hono/types").MergeSchemaPath<{
2941
2941
  "/skills": {
2942
2942
  $get: {
2943
- output: {
2944
- error: string;
2945
- code?: "invalid_input" | undefined;
2946
- };
2947
- outputFormat: "json";
2948
- status: 400;
2949
- input: {
2950
- query: {
2951
- wait?: string | undefined;
2952
- };
2953
- };
2954
- } | {
2955
2943
  output: {
2956
2944
  name: string;
2957
2945
  description?: string;
@@ -2974,11 +2962,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2974
2962
  wait?: string | undefined;
2975
2963
  };
2976
2964
  };
2977
- };
2978
- };
2979
- } & {
2980
- "/skills/importable": {
2981
- $get: {
2965
+ } | {
2982
2966
  output: {
2983
2967
  error: string;
2984
2968
  code?: "invalid_input" | undefined;
@@ -2990,7 +2974,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2990
2974
  wait?: string | undefined;
2991
2975
  };
2992
2976
  };
2993
- } | {
2977
+ };
2978
+ };
2979
+ } & {
2980
+ "/skills/importable": {
2981
+ $get: {
2994
2982
  output: {
2995
2983
  name: string;
2996
2984
  description?: string | undefined;
@@ -3002,6 +2990,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3002
2990
  wait?: string | undefined;
3003
2991
  };
3004
2992
  };
2993
+ } | {
2994
+ output: {
2995
+ error: string;
2996
+ code?: "invalid_input" | undefined;
2997
+ };
2998
+ outputFormat: "json";
2999
+ status: 400;
3000
+ input: {
3001
+ query: {
3002
+ wait?: string | undefined;
3003
+ };
3004
+ };
3005
3005
  };
3006
3006
  };
3007
3007
  } & {
@@ -3055,7 +3055,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3055
3055
  error: string;
3056
3056
  };
3057
3057
  outputFormat: "json";
3058
- status: 404;
3058
+ status: 409;
3059
3059
  input: {
3060
3060
  param: {
3061
3061
  id: string;
@@ -3063,10 +3063,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3063
3063
  };
3064
3064
  } | {
3065
3065
  output: {
3066
- error: string;
3066
+ removed: true;
3067
3067
  };
3068
3068
  outputFormat: "json";
3069
- status: 409;
3069
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3070
3070
  input: {
3071
3071
  param: {
3072
3072
  id: string;
@@ -3074,10 +3074,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3074
3074
  };
3075
3075
  } | {
3076
3076
  output: {
3077
- removed: true;
3077
+ error: string;
3078
3078
  };
3079
3079
  outputFormat: "json";
3080
- status: import("hono/utils/http-status").ContentfulStatusCode;
3080
+ status: 404;
3081
3081
  input: {
3082
3082
  param: {
3083
3083
  id: string;
@@ -3088,6 +3088,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3088
3088
  } & {
3089
3089
  "/todos/:id/start": {
3090
3090
  $post: {
3091
+ output: {
3092
+ error: string;
3093
+ };
3094
+ outputFormat: "json";
3095
+ status: 409;
3096
+ input: {
3097
+ json: {
3098
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
3099
+ model?: string | undefined;
3100
+ effort?: string | undefined;
3101
+ prompt?: string | undefined;
3102
+ } | undefined;
3103
+ } & {
3104
+ param: {
3105
+ id: string;
3106
+ };
3107
+ };
3108
+ } | {
3091
3109
  output: {
3092
3110
  run: {
3093
3111
  id: string;
@@ -3448,24 +3466,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3448
3466
  id: string;
3449
3467
  };
3450
3468
  };
3451
- } | {
3452
- output: {
3453
- error: string;
3454
- };
3455
- outputFormat: "json";
3456
- status: 404;
3457
- input: {
3458
- json: {
3459
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
3460
- model?: string | undefined;
3461
- effort?: string | undefined;
3462
- prompt?: string | undefined;
3463
- } | undefined;
3464
- } & {
3465
- param: {
3466
- id: string;
3467
- };
3468
- };
3469
3469
  } | {
3470
3470
  output: {
3471
3471
  error: string;
@@ -3489,7 +3489,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3489
3489
  error: string;
3490
3490
  };
3491
3491
  outputFormat: "json";
3492
- status: 409;
3492
+ status: 404;
3493
3493
  input: {
3494
3494
  json: {
3495
3495
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -3592,10 +3592,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3592
3592
  "/agent-config/:id": {
3593
3593
  $put: {
3594
3594
  output: {
3595
- error: string;
3596
- };
3597
- outputFormat: "json";
3598
- status: 404;
3595
+ id: string;
3596
+ path: string;
3597
+ exists: boolean;
3598
+ content: string;
3599
+ version: string | null;
3600
+ };
3601
+ outputFormat: "json";
3602
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3599
3603
  input: {
3600
3604
  json: {
3601
3605
  content: string;
@@ -3608,14 +3612,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3608
3612
  };
3609
3613
  } | {
3610
3614
  output: {
3611
- id: string;
3612
- path: string;
3613
- exists: boolean;
3614
- content: string;
3615
- version: string | null;
3615
+ error: string;
3616
3616
  };
3617
3617
  outputFormat: "json";
3618
- status: import("hono/utils/http-status").ContentfulStatusCode;
3618
+ status: 404;
3619
3619
  input: {
3620
3620
  json: {
3621
3621
  content: string;
@@ -3683,11 +3683,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3683
3683
  "/workflows": {
3684
3684
  $post: {
3685
3685
  output: {
3686
- path: string;
3687
- name: string;
3686
+ error: string;
3688
3687
  };
3689
3688
  outputFormat: "json";
3690
- status: 201;
3689
+ status: 400;
3691
3690
  input: {
3692
3691
  json: {
3693
3692
  name: string;
@@ -3714,9 +3713,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3714
3713
  } | {
3715
3714
  output: {
3716
3715
  error: string;
3716
+ exists: true;
3717
3717
  };
3718
3718
  outputFormat: "json";
3719
- status: 400;
3719
+ status: 409;
3720
3720
  input: {
3721
3721
  json: {
3722
3722
  name: string;
@@ -3743,10 +3743,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3743
3743
  } | {
3744
3744
  output: {
3745
3745
  error: string;
3746
- exists: true;
3747
3746
  };
3748
3747
  outputFormat: "json";
3749
- status: 409;
3748
+ status: 500;
3750
3749
  input: {
3751
3750
  json: {
3752
3751
  name: string;
@@ -3772,10 +3771,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3772
3771
  };
3773
3772
  } | {
3774
3773
  output: {
3775
- error: string;
3774
+ path: string;
3775
+ name: string;
3776
3776
  };
3777
3777
  outputFormat: "json";
3778
- status: 500;
3778
+ status: 201;
3779
3779
  input: {
3780
3780
  json: {
3781
3781
  name: string;
@@ -3808,7 +3808,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3808
3808
  error: string;
3809
3809
  };
3810
3810
  outputFormat: "json";
3811
- status: 400;
3811
+ status: 404;
3812
3812
  input: {
3813
3813
  param: {
3814
3814
  name: string;
@@ -3819,7 +3819,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3819
3819
  error: string;
3820
3820
  };
3821
3821
  outputFormat: "json";
3822
- status: 404;
3822
+ status: 400;
3823
3823
  input: {
3824
3824
  param: {
3825
3825
  name: string;
@@ -3942,12 +3942,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3942
3942
  } & {
3943
3943
  "/repo/commit/:sha": {
3944
3944
  $get: {
3945
- output: {
3946
- error: string;
3947
- code?: "invalid_input" | undefined;
3948
- };
3949
- outputFormat: "json";
3950
- status: 400;
3945
+ output: string;
3946
+ outputFormat: "text";
3947
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3951
3948
  input: {
3952
3949
  query: {
3953
3950
  structured?: string | undefined;
@@ -3960,9 +3957,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3960
3957
  } | {
3961
3958
  output: {
3962
3959
  error: string;
3960
+ code?: "invalid_input" | undefined;
3963
3961
  };
3964
3962
  outputFormat: "json";
3965
- status: 409;
3963
+ status: 400;
3966
3964
  input: {
3967
3965
  query: {
3968
3966
  structured?: string | undefined;
@@ -4006,9 +4004,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4006
4004
  };
4007
4005
  };
4008
4006
  } | {
4009
- output: string;
4010
- outputFormat: "text";
4011
- status: import("hono/utils/http-status").ContentfulStatusCode;
4007
+ output: {
4008
+ error: string;
4009
+ };
4010
+ outputFormat: "json";
4011
+ status: 409;
4012
4012
  input: {
4013
4013
  query: {
4014
4014
  structured?: string | undefined;
@@ -4023,13 +4023,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4023
4023
  } & {
4024
4024
  "/repo/changes": {
4025
4025
  $get: {
4026
- output: {
4027
- error: string;
4028
- };
4029
- outputFormat: "json";
4030
- status: 409;
4031
- input: {};
4032
- } | {
4033
4026
  output: {
4034
4027
  files: {
4035
4028
  path: string;
@@ -4054,6 +4047,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4054
4047
  outputFormat: "json";
4055
4048
  status: import("hono/utils/http-status").ContentfulStatusCode;
4056
4049
  input: {};
4050
+ } | {
4051
+ output: {
4052
+ error: string;
4053
+ };
4054
+ outputFormat: "json";
4055
+ status: 409;
4056
+ input: {};
4057
4057
  };
4058
4058
  };
4059
4059
  } & {
@@ -4078,12 +4078,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4078
4078
  "/repo/pull": {
4079
4079
  $post: {
4080
4080
  output: {
4081
- branch: string;
4082
- pulled: true;
4083
- summary: string;
4081
+ error: string;
4084
4082
  };
4085
4083
  outputFormat: "json";
4086
- status: 200;
4084
+ status: 409;
4087
4085
  input: {
4088
4086
  json: {
4089
4087
  branch?: string | undefined;
@@ -4092,10 +4090,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4092
4090
  };
4093
4091
  } | {
4094
4092
  output: {
4095
- error: string;
4093
+ branch: string;
4094
+ pulled: true;
4095
+ summary: string;
4096
4096
  };
4097
4097
  outputFormat: "json";
4098
- status: 409;
4098
+ status: 200;
4099
4099
  input: {
4100
4100
  json: {
4101
4101
  branch?: string | undefined;
@@ -4811,28 +4811,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4811
4811
  "/automations": {
4812
4812
  $post: {
4813
4813
  output: {
4814
- automation: {
4815
- [x: string]: import("hono/utils/types").JSONValue;
4816
- id: string;
4817
- revision: number;
4814
+ error: string;
4815
+ };
4816
+ outputFormat: "json";
4817
+ status: 400;
4818
+ input: {
4819
+ json: {
4818
4820
  name: string;
4819
4821
  description?: string | undefined;
4820
- enabled: boolean;
4822
+ enabled?: boolean | undefined;
4821
4823
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4822
4824
  intervalSeconds: number;
4823
4825
  filters: {
4824
- [x: string]: import("hono/utils/types").JSONValue;
4826
+ [x: string]: unknown;
4825
4827
  authors?: string[] | undefined;
4826
4828
  assignees?: string[] | undefined;
4827
4829
  allLabels?: string[] | undefined;
4828
4830
  anyLabels?: string[] | undefined;
4829
4831
  excludeLabels?: string[] | undefined;
4830
4832
  changedLabels?: string[] | undefined;
4831
- lookbackDays: number;
4832
- maxRecords: number;
4833
+ lookbackDays?: number | undefined;
4834
+ maxRecords?: number | undefined;
4833
4835
  };
4834
4836
  task: {
4835
- [x: string]: import("hono/utils/types").JSONValue;
4837
+ [x: string]: unknown;
4836
4838
  prompt: string;
4837
4839
  workflow?: string | undefined;
4838
4840
  steps?: {
@@ -4847,7 +4849,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4847
4849
  command?: string | undefined;
4848
4850
  onFail?: {
4849
4851
  retry: string;
4850
- max: number;
4852
+ max?: number | undefined;
4851
4853
  } | undefined;
4852
4854
  }[] | undefined;
4853
4855
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -4859,32 +4861,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4859
4861
  autonomous?: boolean | undefined;
4860
4862
  systemPrompt?: string | undefined;
4861
4863
  };
4862
- createdAt: string;
4863
- updatedAt: string;
4864
+ enable?: boolean | undefined;
4864
4865
  };
4865
4866
  };
4866
- outputFormat: "json";
4867
- status: 201;
4868
- input: {
4869
- json: {
4867
+ } | {
4868
+ output: {
4869
+ automation: {
4870
+ [x: string]: import("hono/utils/types").JSONValue;
4871
+ id: string;
4872
+ revision: number;
4870
4873
  name: string;
4871
4874
  description?: string | undefined;
4872
- enabled?: boolean | undefined;
4875
+ enabled: boolean;
4873
4876
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4874
4877
  intervalSeconds: number;
4875
4878
  filters: {
4876
- [x: string]: unknown;
4879
+ [x: string]: import("hono/utils/types").JSONValue;
4877
4880
  authors?: string[] | undefined;
4878
4881
  assignees?: string[] | undefined;
4879
4882
  allLabels?: string[] | undefined;
4880
4883
  anyLabels?: string[] | undefined;
4881
4884
  excludeLabels?: string[] | undefined;
4882
4885
  changedLabels?: string[] | undefined;
4883
- lookbackDays?: number | undefined;
4884
- maxRecords?: number | undefined;
4886
+ lookbackDays: number;
4887
+ maxRecords: number;
4885
4888
  };
4886
4889
  task: {
4887
- [x: string]: unknown;
4890
+ [x: string]: import("hono/utils/types").JSONValue;
4888
4891
  prompt: string;
4889
4892
  workflow?: string | undefined;
4890
4893
  steps?: {
@@ -4899,7 +4902,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4899
4902
  command?: string | undefined;
4900
4903
  onFail?: {
4901
4904
  retry: string;
4902
- max?: number | undefined;
4905
+ max: number;
4903
4906
  } | undefined;
4904
4907
  }[] | undefined;
4905
4908
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -4911,15 +4914,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4911
4914
  autonomous?: boolean | undefined;
4912
4915
  systemPrompt?: string | undefined;
4913
4916
  };
4914
- enable?: boolean | undefined;
4917
+ createdAt: string;
4918
+ updatedAt: string;
4915
4919
  };
4916
4920
  };
4917
- } | {
4918
- output: {
4919
- error: string;
4920
- };
4921
4921
  outputFormat: "json";
4922
- status: 400;
4922
+ status: 201;
4923
4923
  input: {
4924
4924
  json: {
4925
4925
  name: string;
@@ -5507,10 +5507,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5507
5507
  "/automations/:id/check": {
5508
5508
  $post: {
5509
5509
  output: {
5510
- checkId: string;
5510
+ error: string;
5511
5511
  };
5512
5512
  outputFormat: "json";
5513
- status: 202;
5513
+ status: 404;
5514
5514
  input: {
5515
5515
  json: {
5516
5516
  mode: "execute" | "preview";
@@ -5522,10 +5522,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5522
5522
  };
5523
5523
  } | {
5524
5524
  output: {
5525
- error: string;
5525
+ checkId: string;
5526
5526
  };
5527
5527
  outputFormat: "json";
5528
- status: 404;
5528
+ status: 202;
5529
5529
  input: {
5530
5530
  json: {
5531
5531
  mode: "execute" | "preview";
@@ -5599,11 +5599,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5599
5599
  "/automation-log/:receiptId/retry": {
5600
5600
  $post: {
5601
5601
  output: {
5602
- receiptId: string;
5603
- runId: string;
5602
+ error: string;
5604
5603
  };
5605
5604
  outputFormat: "json";
5606
- status: 202;
5605
+ status: 404;
5607
5606
  input: {
5608
5607
  param: {
5609
5608
  receiptId: string;
@@ -5614,7 +5613,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5614
5613
  error: string;
5615
5614
  };
5616
5615
  outputFormat: "json";
5617
- status: 404;
5616
+ status: 409;
5618
5617
  input: {
5619
5618
  param: {
5620
5619
  receiptId: string;
@@ -5622,10 +5621,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5622
5621
  };
5623
5622
  } | {
5624
5623
  output: {
5625
- error: string;
5624
+ receiptId: string;
5625
+ runId: string;
5626
5626
  };
5627
5627
  outputFormat: "json";
5628
- status: 409;
5628
+ status: 202;
5629
5629
  input: {
5630
5630
  param: {
5631
5631
  receiptId: string;
@@ -6109,20 +6109,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6109
6109
  "/runs/:id/worker-destroy": {
6110
6110
  $post: {
6111
6111
  output: {
6112
- workerId: string;
6113
- state: "complete" | "incomplete";
6114
- deleted?: ({
6115
- kind: "worktree";
6116
- path: string;
6117
- } | {
6118
- kind: "branch";
6119
- ref: string;
6120
- })[] | undefined;
6121
- remaining: ("branch" | "process" | "worktree")[];
6122
- error?: string | undefined;
6112
+ error: string;
6113
+ code?: "invalid_input" | undefined;
6123
6114
  };
6124
6115
  outputFormat: "json";
6125
- status: 200;
6116
+ status: 400;
6126
6117
  input: {
6127
6118
  query: {
6128
6119
  [x: string]: string | string[];
@@ -6136,11 +6127,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6136
6127
  };
6137
6128
  } | {
6138
6129
  output: {
6139
- error: string;
6140
- code?: "invalid_input" | undefined;
6130
+ workerId: string;
6131
+ state: "complete" | "incomplete";
6132
+ deleted?: ({
6133
+ kind: "worktree";
6134
+ path: string;
6135
+ } | {
6136
+ kind: "branch";
6137
+ ref: string;
6138
+ })[] | undefined;
6139
+ remaining: ("branch" | "process" | "worktree")[];
6140
+ error?: string | undefined;
6141
6141
  };
6142
6142
  outputFormat: "json";
6143
- status: 400;
6143
+ status: 200;
6144
6144
  input: {
6145
6145
  query: {
6146
6146
  [x: string]: string | string[];
@@ -6224,21 +6224,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6224
6224
  } & {
6225
6225
  "/runs/:id/archive": {
6226
6226
  $post: {
6227
- output: {
6228
- error: string;
6229
- };
6230
- outputFormat: "json";
6231
- status: 404;
6232
- input: {
6233
- json: {
6234
- archived?: boolean | undefined;
6235
- };
6236
- } & {
6237
- param: {
6238
- id: string;
6239
- };
6240
- };
6241
- } | {
6242
6227
  output: {
6243
6228
  id: string;
6244
6229
  title: string;
@@ -6594,32 +6579,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6594
6579
  id: string;
6595
6580
  };
6596
6581
  };
6597
- };
6598
- };
6599
- } & {
6600
- "/runs/:id/pin": {
6601
- $post: {
6582
+ } | {
6602
6583
  output: {
6603
6584
  error: string;
6604
- code?: "invalid_input" | undefined;
6605
6585
  };
6606
6586
  outputFormat: "json";
6607
- status: 400;
6587
+ status: 404;
6608
6588
  input: {
6609
- param: {
6610
- id: string;
6589
+ json: {
6590
+ archived?: boolean | undefined;
6611
6591
  };
6612
6592
  } & {
6613
- json: {
6614
- pinned?: boolean | undefined;
6593
+ param: {
6594
+ id: string;
6615
6595
  };
6616
6596
  };
6617
- } | {
6597
+ };
6598
+ };
6599
+ } & {
6600
+ "/runs/:id/pin": {
6601
+ $post: {
6618
6602
  output: {
6619
6603
  error: string;
6604
+ code?: "invalid_input" | undefined;
6620
6605
  };
6621
6606
  outputFormat: "json";
6622
- status: 404;
6607
+ status: 400;
6623
6608
  input: {
6624
6609
  param: {
6625
6610
  id: string;
@@ -6985,6 +6970,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6985
6970
  pinned?: boolean | undefined;
6986
6971
  };
6987
6972
  };
6973
+ } | {
6974
+ output: {
6975
+ error: string;
6976
+ };
6977
+ outputFormat: "json";
6978
+ status: 404;
6979
+ input: {
6980
+ param: {
6981
+ id: string;
6982
+ };
6983
+ } & {
6984
+ json: {
6985
+ pinned?: boolean | undefined;
6986
+ };
6987
+ };
6988
6988
  };
6989
6989
  };
6990
6990
  } & {
@@ -7016,17 +7016,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7016
7016
  } & {
7017
7017
  "/runs/:id/read": {
7018
7018
  $post: {
7019
- output: {
7020
- error: string;
7021
- };
7022
- outputFormat: "json";
7023
- status: 404;
7024
- input: {
7025
- param: {
7026
- id: string;
7027
- };
7028
- };
7029
- } | {
7030
7019
  output: {
7031
7020
  id: string;
7032
7021
  title: string;
@@ -7378,11 +7367,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7378
7367
  id: string;
7379
7368
  };
7380
7369
  };
7381
- };
7382
- };
7383
- } & {
7384
- "/runs/:id/unread": {
7385
- $post: {
7370
+ } | {
7386
7371
  output: {
7387
7372
  error: string;
7388
7373
  };
@@ -7393,7 +7378,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7393
7378
  id: string;
7394
7379
  };
7395
7380
  };
7396
- } | {
7381
+ };
7382
+ };
7383
+ } & {
7384
+ "/runs/:id/unread": {
7385
+ $post: {
7397
7386
  output: {
7398
7387
  id: string;
7399
7388
  title: string;
@@ -7745,6 +7734,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7745
7734
  id: string;
7746
7735
  };
7747
7736
  };
7737
+ } | {
7738
+ output: {
7739
+ error: string;
7740
+ };
7741
+ outputFormat: "json";
7742
+ status: 404;
7743
+ input: {
7744
+ param: {
7745
+ id: string;
7746
+ };
7747
+ };
7748
7748
  };
7749
7749
  };
7750
7750
  } & {
@@ -8131,6 +8131,129 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8131
8131
  todoId?: string | undefined;
8132
8132
  };
8133
8133
  };
8134
+ } | {
8135
+ output: {
8136
+ error: string;
8137
+ };
8138
+ outputFormat: "json";
8139
+ status: 409;
8140
+ input: {
8141
+ json: {
8142
+ workflow?: string | undefined;
8143
+ steps?: {
8144
+ id: string;
8145
+ name?: string | undefined;
8146
+ prompt?: string | undefined;
8147
+ skill?: string | undefined;
8148
+ model?: string | undefined;
8149
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8150
+ allowedTools?: string[] | undefined;
8151
+ bashAllowlist?: string[] | undefined;
8152
+ command?: string | undefined;
8153
+ onFail?: {
8154
+ retry: string;
8155
+ max?: number | undefined;
8156
+ } | undefined;
8157
+ }[] | undefined;
8158
+ task: string;
8159
+ model?: string | undefined;
8160
+ effort?: string | undefined;
8161
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8162
+ agentProfile?: string | undefined;
8163
+ variants?: number | undefined;
8164
+ worktree?: boolean | undefined;
8165
+ autonomous?: boolean | undefined;
8166
+ generateFollowups?: boolean | undefined;
8167
+ systemPrompt?: string | undefined;
8168
+ images?: {
8169
+ mediaType: string;
8170
+ data: string;
8171
+ }[] | undefined;
8172
+ todoId?: string | undefined;
8173
+ };
8174
+ };
8175
+ } | {
8176
+ output: {
8177
+ error: string;
8178
+ };
8179
+ outputFormat: "json";
8180
+ status: 400;
8181
+ input: {
8182
+ json: {
8183
+ workflow?: string | undefined;
8184
+ steps?: {
8185
+ id: string;
8186
+ name?: string | undefined;
8187
+ prompt?: string | undefined;
8188
+ skill?: string | undefined;
8189
+ model?: string | undefined;
8190
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8191
+ allowedTools?: string[] | undefined;
8192
+ bashAllowlist?: string[] | undefined;
8193
+ command?: string | undefined;
8194
+ onFail?: {
8195
+ retry: string;
8196
+ max?: number | undefined;
8197
+ } | undefined;
8198
+ }[] | undefined;
8199
+ task: string;
8200
+ model?: string | undefined;
8201
+ effort?: string | undefined;
8202
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8203
+ agentProfile?: string | undefined;
8204
+ variants?: number | undefined;
8205
+ worktree?: boolean | undefined;
8206
+ autonomous?: boolean | undefined;
8207
+ generateFollowups?: boolean | undefined;
8208
+ systemPrompt?: string | undefined;
8209
+ images?: {
8210
+ mediaType: string;
8211
+ data: string;
8212
+ }[] | undefined;
8213
+ todoId?: string | undefined;
8214
+ };
8215
+ };
8216
+ } | {
8217
+ output: {
8218
+ error: string;
8219
+ };
8220
+ outputFormat: "json";
8221
+ status: 404;
8222
+ input: {
8223
+ json: {
8224
+ workflow?: string | undefined;
8225
+ steps?: {
8226
+ id: string;
8227
+ name?: string | undefined;
8228
+ prompt?: string | undefined;
8229
+ skill?: string | undefined;
8230
+ model?: string | undefined;
8231
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8232
+ allowedTools?: string[] | undefined;
8233
+ bashAllowlist?: string[] | undefined;
8234
+ command?: string | undefined;
8235
+ onFail?: {
8236
+ retry: string;
8237
+ max?: number | undefined;
8238
+ } | undefined;
8239
+ }[] | undefined;
8240
+ task: string;
8241
+ model?: string | undefined;
8242
+ effort?: string | undefined;
8243
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8244
+ agentProfile?: string | undefined;
8245
+ variants?: number | undefined;
8246
+ worktree?: boolean | undefined;
8247
+ autonomous?: boolean | undefined;
8248
+ generateFollowups?: boolean | undefined;
8249
+ systemPrompt?: string | undefined;
8250
+ images?: {
8251
+ mediaType: string;
8252
+ data: string;
8253
+ }[] | undefined;
8254
+ todoId?: string | undefined;
8255
+ };
8256
+ };
8134
8257
  } | {
8135
8258
  output: {
8136
8259
  runs: {
@@ -8515,205 +8638,71 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8515
8638
  todoId?: string | undefined;
8516
8639
  };
8517
8640
  };
8518
- } | {
8641
+ };
8642
+ };
8643
+ } & {
8644
+ "/runs/:id": {
8645
+ $get: {
8519
8646
  output: {
8520
- error: string;
8521
- };
8522
- outputFormat: "json";
8523
- status: 400;
8524
- input: {
8525
- json: {
8526
- workflow?: string | undefined;
8527
- steps?: {
8528
- id: string;
8529
- name?: string | undefined;
8530
- prompt?: string | undefined;
8531
- skill?: string | undefined;
8532
- model?: string | undefined;
8533
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8534
- allowedTools?: string[] | undefined;
8535
- bashAllowlist?: string[] | undefined;
8536
- command?: string | undefined;
8537
- onFail?: {
8538
- retry: string;
8539
- max?: number | undefined;
8540
- } | undefined;
8541
- }[] | undefined;
8542
- task: string;
8543
- model?: string | undefined;
8544
- effort?: string | undefined;
8545
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8546
- agentProfile?: string | undefined;
8547
- variants?: number | undefined;
8548
- worktree?: boolean | undefined;
8549
- autonomous?: boolean | undefined;
8550
- generateFollowups?: boolean | undefined;
8551
- systemPrompt?: string | undefined;
8552
- images?: {
8553
- mediaType: string;
8554
- data: string;
8555
- }[] | undefined;
8556
- todoId?: string | undefined;
8557
- };
8558
- };
8559
- } | {
8560
- output: {
8561
- error: string;
8562
- };
8563
- outputFormat: "json";
8564
- status: 404;
8565
- input: {
8566
- json: {
8567
- workflow?: string | undefined;
8568
- steps?: {
8569
- id: string;
8570
- name?: string | undefined;
8571
- prompt?: string | undefined;
8572
- skill?: string | undefined;
8573
- model?: string | undefined;
8574
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8575
- allowedTools?: string[] | undefined;
8576
- bashAllowlist?: string[] | undefined;
8577
- command?: string | undefined;
8578
- onFail?: {
8579
- retry: string;
8580
- max?: number | undefined;
8581
- } | undefined;
8582
- }[] | undefined;
8583
- task: string;
8584
- model?: string | undefined;
8585
- effort?: string | undefined;
8586
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8587
- agentProfile?: string | undefined;
8588
- variants?: number | undefined;
8589
- worktree?: boolean | undefined;
8590
- autonomous?: boolean | undefined;
8591
- generateFollowups?: boolean | undefined;
8592
- systemPrompt?: string | undefined;
8593
- images?: {
8594
- mediaType: string;
8595
- data: string;
8596
- }[] | undefined;
8597
- todoId?: string | undefined;
8598
- };
8599
- };
8600
- } | {
8601
- output: {
8602
- error: string;
8603
- };
8604
- outputFormat: "json";
8605
- status: 409;
8606
- input: {
8607
- json: {
8608
- workflow?: string | undefined;
8609
- steps?: {
8610
- id: string;
8611
- name?: string | undefined;
8612
- prompt?: string | undefined;
8613
- skill?: string | undefined;
8614
- model?: string | undefined;
8615
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8616
- allowedTools?: string[] | undefined;
8617
- bashAllowlist?: string[] | undefined;
8618
- command?: string | undefined;
8619
- onFail?: {
8620
- retry: string;
8621
- max?: number | undefined;
8622
- } | undefined;
8623
- }[] | undefined;
8624
- task: string;
8625
- model?: string | undefined;
8626
- effort?: string | undefined;
8627
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8628
- agentProfile?: string | undefined;
8629
- variants?: number | undefined;
8630
- worktree?: boolean | undefined;
8631
- autonomous?: boolean | undefined;
8632
- generateFollowups?: boolean | undefined;
8633
- systemPrompt?: string | undefined;
8634
- images?: {
8635
- mediaType: string;
8636
- data: string;
8637
- }[] | undefined;
8638
- todoId?: string | undefined;
8639
- };
8640
- };
8641
- };
8642
- };
8643
- } & {
8644
- "/runs/:id": {
8645
- $get: {
8646
- output: {
8647
- error: string;
8648
- };
8649
- outputFormat: "json";
8650
- status: 404;
8651
- input: {
8652
- param: {
8653
- id: string;
8654
- };
8655
- };
8656
- } | {
8657
- output: {
8658
- id: string;
8659
- title: string;
8660
- titleSummary?: string | undefined;
8661
- diffStat?: {
8662
- adds: number;
8663
- dels: number;
8664
- files: number;
8665
- repointed?: boolean | undefined;
8666
- } | undefined;
8667
- workflow: string;
8668
- task: string;
8669
- queuedMessages?: {
8670
- id: string;
8671
- text: string;
8672
- images?: string[] | undefined;
8673
- createdAt: string;
8674
- }[] | undefined;
8675
- continuationMessage?: {
8676
- id: string;
8677
- text: string;
8678
- images?: string[] | undefined;
8679
- createdAt: string;
8680
- origin?: "human" | "lifecycle" | undefined;
8681
- } | undefined;
8682
- invalidAsk?: boolean | undefined;
8683
- delegation?: {
8684
- role: "invalid";
8685
- } | {
8686
- role: "root";
8687
- conversation?: {
8688
- messages: {
8689
- senderRunId: string;
8690
- recipientRunId: string;
8691
- kind: "follow-up" | "progress" | "reply" | "request";
8692
- requestId?: string | undefined;
8693
- id: string;
8694
- text: string;
8695
- createdAt: string;
8696
- deadline?: string | undefined;
8697
- requestHash: string;
8698
- state: "accepted" | "continuation-required" | "destroyed" | "late";
8699
- }[];
8700
- outcomes: {
8701
- requestId: string;
8702
- status: "cancelled" | "completed-without-reply" | "destroyed" | "failed" | "replied" | "sender-closed" | "timed-out";
8703
- observedAt: string;
8704
- replyId?: string | undefined;
8705
- }[];
8706
- } | undefined;
8707
- permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
8708
- receipts: {
8709
- requestId: string;
8710
- workerId: string;
8711
- requestHash: string;
8712
- deletion?: {
8713
- phase: "complete" | "pending";
8714
- revision: number;
8715
- resourceId: string;
8716
- generation: string;
8647
+ id: string;
8648
+ title: string;
8649
+ titleSummary?: string | undefined;
8650
+ diffStat?: {
8651
+ adds: number;
8652
+ dels: number;
8653
+ files: number;
8654
+ repointed?: boolean | undefined;
8655
+ } | undefined;
8656
+ workflow: string;
8657
+ task: string;
8658
+ queuedMessages?: {
8659
+ id: string;
8660
+ text: string;
8661
+ images?: string[] | undefined;
8662
+ createdAt: string;
8663
+ }[] | undefined;
8664
+ continuationMessage?: {
8665
+ id: string;
8666
+ text: string;
8667
+ images?: string[] | undefined;
8668
+ createdAt: string;
8669
+ origin?: "human" | "lifecycle" | undefined;
8670
+ } | undefined;
8671
+ invalidAsk?: boolean | undefined;
8672
+ delegation?: {
8673
+ role: "invalid";
8674
+ } | {
8675
+ role: "root";
8676
+ conversation?: {
8677
+ messages: {
8678
+ senderRunId: string;
8679
+ recipientRunId: string;
8680
+ kind: "follow-up" | "progress" | "reply" | "request";
8681
+ requestId?: string | undefined;
8682
+ id: string;
8683
+ text: string;
8684
+ createdAt: string;
8685
+ deadline?: string | undefined;
8686
+ requestHash: string;
8687
+ state: "accepted" | "continuation-required" | "destroyed" | "late";
8688
+ }[];
8689
+ outcomes: {
8690
+ requestId: string;
8691
+ status: "cancelled" | "completed-without-reply" | "destroyed" | "failed" | "replied" | "sender-closed" | "timed-out";
8692
+ observedAt: string;
8693
+ replyId?: string | undefined;
8694
+ }[];
8695
+ } | undefined;
8696
+ permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
8697
+ receipts: {
8698
+ requestId: string;
8699
+ workerId: string;
8700
+ requestHash: string;
8701
+ deletion?: {
8702
+ phase: "complete" | "pending";
8703
+ revision: number;
8704
+ resourceId: string;
8705
+ generation: string;
8717
8706
  } | undefined;
8718
8707
  }[];
8719
8708
  wait?: {
@@ -9006,6 +8995,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9006
8995
  id: string;
9007
8996
  };
9008
8997
  };
8998
+ } | {
8999
+ output: {
9000
+ error: string;
9001
+ };
9002
+ outputFormat: "json";
9003
+ status: 404;
9004
+ input: {
9005
+ param: {
9006
+ id: string;
9007
+ };
9008
+ };
9009
9009
  };
9010
9010
  };
9011
9011
  } & {
@@ -9133,54 +9133,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9133
9133
  } & {
9134
9134
  "/runs/:id": {
9135
9135
  $patch: {
9136
- output: {
9137
- error: string;
9138
- };
9139
- outputFormat: "json";
9140
- status: 400;
9141
- input: {
9142
- json: {
9143
- title?: string | undefined;
9144
- task?: string | undefined;
9145
- };
9146
- } & {
9147
- param: {
9148
- id: string;
9149
- };
9150
- };
9151
- } | {
9152
- output: {
9153
- error: string;
9154
- };
9155
- outputFormat: "json";
9156
- status: 404;
9157
- input: {
9158
- json: {
9159
- title?: string | undefined;
9160
- task?: string | undefined;
9161
- };
9162
- } & {
9163
- param: {
9164
- id: string;
9165
- };
9166
- };
9167
- } | {
9168
- output: {
9169
- error: string;
9170
- };
9171
- outputFormat: "json";
9172
- status: 409;
9173
- input: {
9174
- json: {
9175
- title?: string | undefined;
9176
- task?: string | undefined;
9177
- };
9178
- } & {
9179
- param: {
9180
- id: string;
9181
- };
9182
- };
9183
- } | {
9184
9136
  output: {
9185
9137
  id: string;
9186
9138
  title: string;
@@ -9537,37 +9489,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9537
9489
  id: string;
9538
9490
  };
9539
9491
  };
9540
- };
9541
- };
9542
- } & {
9543
- "/runs/:id/cancel": {
9544
- $post: {
9492
+ } | {
9545
9493
  output: {
9546
9494
  error: string;
9547
9495
  };
9548
9496
  outputFormat: "json";
9549
9497
  status: 404;
9550
9498
  input: {
9551
- param: {
9552
- id: string;
9499
+ json: {
9500
+ title?: string | undefined;
9501
+ task?: string | undefined;
9553
9502
  };
9554
- };
9555
- } | {
9556
- output: {
9557
- cancelled: boolean;
9558
- };
9559
- outputFormat: "json";
9560
- status: import("hono/utils/http-status").ContentfulStatusCode;
9561
- input: {
9503
+ } & {
9562
9504
  param: {
9563
9505
  id: string;
9564
9506
  };
9565
9507
  };
9566
- };
9567
- };
9568
- } & {
9569
- "/runs/:id/messages": {
9570
- $post: {
9508
+ } | {
9571
9509
  output: {
9572
9510
  error: string;
9573
9511
  };
@@ -9575,11 +9513,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9575
9513
  status: 400;
9576
9514
  input: {
9577
9515
  json: {
9578
- text?: string | undefined;
9579
- images?: {
9580
- mediaType: string;
9581
- data: string;
9582
- }[] | undefined;
9516
+ title?: string | undefined;
9517
+ task?: string | undefined;
9583
9518
  };
9584
9519
  } & {
9585
9520
  param: {
@@ -9591,24 +9526,70 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9591
9526
  error: string;
9592
9527
  };
9593
9528
  outputFormat: "json";
9594
- status: 404;
9529
+ status: 409;
9595
9530
  input: {
9596
9531
  json: {
9597
- text?: string | undefined;
9598
- images?: {
9599
- mediaType: string;
9600
- data: string;
9601
- }[] | undefined;
9532
+ title?: string | undefined;
9533
+ task?: string | undefined;
9602
9534
  };
9603
9535
  } & {
9604
9536
  param: {
9605
9537
  id: string;
9606
9538
  };
9607
9539
  };
9608
- } | {
9609
- output: {
9610
- error: string;
9611
- };
9540
+ };
9541
+ };
9542
+ } & {
9543
+ "/runs/:id/cancel": {
9544
+ $post: {
9545
+ output: {
9546
+ error: string;
9547
+ };
9548
+ outputFormat: "json";
9549
+ status: 404;
9550
+ input: {
9551
+ param: {
9552
+ id: string;
9553
+ };
9554
+ };
9555
+ } | {
9556
+ output: {
9557
+ cancelled: boolean;
9558
+ };
9559
+ outputFormat: "json";
9560
+ status: import("hono/utils/http-status").ContentfulStatusCode;
9561
+ input: {
9562
+ param: {
9563
+ id: string;
9564
+ };
9565
+ };
9566
+ };
9567
+ };
9568
+ } & {
9569
+ "/runs/:id/messages": {
9570
+ $post: {
9571
+ output: {
9572
+ error: string;
9573
+ };
9574
+ outputFormat: "json";
9575
+ status: 404;
9576
+ input: {
9577
+ json: {
9578
+ text?: string | undefined;
9579
+ images?: {
9580
+ mediaType: string;
9581
+ data: string;
9582
+ }[] | undefined;
9583
+ };
9584
+ } & {
9585
+ param: {
9586
+ id: string;
9587
+ };
9588
+ };
9589
+ } | {
9590
+ output: {
9591
+ error: string;
9592
+ };
9612
9593
  outputFormat: "json";
9613
9594
  status: 409;
9614
9595
  input: {
@@ -9643,6 +9624,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9643
9624
  id: string;
9644
9625
  };
9645
9626
  };
9627
+ } | {
9628
+ output: {
9629
+ error: string;
9630
+ };
9631
+ outputFormat: "json";
9632
+ status: 400;
9633
+ input: {
9634
+ json: {
9635
+ text?: string | undefined;
9636
+ images?: {
9637
+ mediaType: string;
9638
+ data: string;
9639
+ }[] | undefined;
9640
+ };
9641
+ } & {
9642
+ param: {
9643
+ id: string;
9644
+ };
9645
+ };
9646
9646
  } | {
9647
9647
  output: {
9648
9648
  queued: true;
@@ -9696,7 +9696,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9696
9696
  error: string;
9697
9697
  };
9698
9698
  outputFormat: "json";
9699
- status: 400;
9699
+ status: 404;
9700
9700
  input: {
9701
9701
  json: {
9702
9702
  text?: string | undefined;
@@ -9717,7 +9717,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9717
9717
  error: string;
9718
9718
  };
9719
9719
  outputFormat: "json";
9720
- status: 404;
9720
+ status: 400;
9721
9721
  input: {
9722
9722
  json: {
9723
9723
  text?: string | undefined;
@@ -9869,7 +9869,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9869
9869
  error: string;
9870
9870
  };
9871
9871
  outputFormat: "json";
9872
- status: 400;
9872
+ status: 404;
9873
9873
  input: {
9874
9874
  json: {
9875
9875
  text?: string | undefined;
@@ -9892,7 +9892,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9892
9892
  error: string;
9893
9893
  };
9894
9894
  outputFormat: "json";
9895
- status: 404;
9895
+ status: 400;
9896
9896
  input: {
9897
9897
  json: {
9898
9898
  text?: string | undefined;
@@ -10003,7 +10003,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10003
10003
  error: string;
10004
10004
  };
10005
10005
  outputFormat: "json";
10006
- status: 400;
10006
+ status: 404;
10007
10007
  input: {
10008
10008
  json: {
10009
10009
  target: string;
@@ -10019,7 +10019,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10019
10019
  error: string;
10020
10020
  };
10021
10021
  outputFormat: "json";
10022
- status: 404;
10022
+ status: 409;
10023
10023
  input: {
10024
10024
  json: {
10025
10025
  target: string;
@@ -10035,7 +10035,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10035
10035
  error: string;
10036
10036
  };
10037
10037
  outputFormat: "json";
10038
- status: 409;
10038
+ status: 400;
10039
10039
  input: {
10040
10040
  json: {
10041
10041
  target: string;
@@ -10092,12 +10092,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10092
10092
  } & {
10093
10093
  "/runs/:id/images/:file": {
10094
10094
  $get: {
10095
- output: {
10096
- error: string;
10097
- code?: "invalid_input" | undefined;
10098
- };
10099
- outputFormat: "json";
10100
- status: 400;
10095
+ output: {};
10096
+ outputFormat: string;
10097
+ status: import("hono/utils/http-status").StatusCode;
10101
10098
  input: {
10102
10099
  param: {
10103
10100
  id: string;
@@ -10105,9 +10102,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10105
10102
  };
10106
10103
  };
10107
10104
  } | {
10108
- output: {};
10109
- outputFormat: string;
10110
- status: import("hono/utils/http-status").StatusCode;
10105
+ output: {
10106
+ error: string;
10107
+ code?: "invalid_input" | undefined;
10108
+ };
10109
+ outputFormat: "json";
10110
+ status: 400;
10111
10111
  input: {
10112
10112
  param: {
10113
10113
  id: string;
@@ -10119,20 +10119,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10119
10119
  } & {
10120
10120
  "/runs/:id/diff": {
10121
10121
  $get: {
10122
- output: {
10123
- error: string;
10124
- };
10125
- outputFormat: "json";
10126
- status: 404;
10122
+ output: string;
10123
+ outputFormat: "text";
10124
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10127
10125
  input: {
10128
10126
  param: {
10129
10127
  id: string;
10130
10128
  };
10131
10129
  };
10132
10130
  } | {
10133
- output: string;
10134
- outputFormat: "text";
10135
- status: import("hono/utils/http-status").ContentfulStatusCode;
10131
+ output: {
10132
+ error: string;
10133
+ };
10134
+ outputFormat: "json";
10135
+ status: 404;
10136
10136
  input: {
10137
10137
  param: {
10138
10138
  id: string;
@@ -10502,11 +10502,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10502
10502
  "/runs/:id/pr": {
10503
10503
  $post: {
10504
10504
  output: {
10505
- url: string;
10506
- dryRun: boolean;
10505
+ error: string;
10507
10506
  };
10508
10507
  outputFormat: "json";
10509
- status: 201;
10508
+ status: 404;
10510
10509
  input: {
10511
10510
  param: {
10512
10511
  id: string;
@@ -10517,7 +10516,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10517
10516
  error: string;
10518
10517
  };
10519
10518
  outputFormat: "json";
10520
- status: 400;
10519
+ status: 409;
10521
10520
  input: {
10522
10521
  param: {
10523
10522
  id: string;
@@ -10528,7 +10527,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10528
10527
  error: string;
10529
10528
  };
10530
10529
  outputFormat: "json";
10531
- status: 404;
10530
+ status: 400;
10532
10531
  input: {
10533
10532
  param: {
10534
10533
  id: string;
@@ -10536,10 +10535,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10536
10535
  };
10537
10536
  } | {
10538
10537
  output: {
10539
- error: string;
10538
+ url: string;
10539
+ dryRun: boolean;
10540
10540
  };
10541
10541
  outputFormat: "json";
10542
- status: 409;
10542
+ status: 201;
10543
10543
  input: {
10544
10544
  param: {
10545
10545
  id: string;
@@ -10591,7 +10591,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10591
10591
  error: string;
10592
10592
  };
10593
10593
  outputFormat: "json";
10594
- status: 404;
10594
+ status: 409;
10595
10595
  input: {
10596
10596
  param: {
10597
10597
  id: string;
@@ -10602,7 +10602,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10602
10602
  error: string;
10603
10603
  };
10604
10604
  outputFormat: "json";
10605
- status: 409;
10605
+ status: 404;
10606
10606
  input: {
10607
10607
  param: {
10608
10608
  id: string;
@@ -11273,7 +11273,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11273
11273
  error: string;
11274
11274
  };
11275
11275
  outputFormat: "json";
11276
- status: 400;
11276
+ status: 409;
11277
11277
  input: {
11278
11278
  json: {
11279
11279
  target: string;
@@ -11284,7 +11284,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11284
11284
  error: string;
11285
11285
  };
11286
11286
  outputFormat: "json";
11287
- status: 409;
11287
+ status: 400;
11288
11288
  input: {
11289
11289
  json: {
11290
11290
  target: string;
@@ -11343,12 +11343,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11343
11343
  }, "/"> | import("hono/types").MergeSchemaPath<{
11344
11344
  "/runs/:id/events": {
11345
11345
  $get: {
11346
- output: {
11347
- error: string;
11348
- code?: "invalid_input" | undefined;
11349
- };
11350
- outputFormat: "json";
11351
- status: 400;
11346
+ output: {};
11347
+ outputFormat: string;
11348
+ status: import("hono/utils/http-status").StatusCode;
11352
11349
  input: {
11353
11350
  param: {
11354
11351
  id: string;
@@ -11360,9 +11357,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11360
11357
  };
11361
11358
  };
11362
11359
  } | {
11363
- output: {};
11364
- outputFormat: string;
11365
- status: import("hono/utils/http-status").StatusCode;
11360
+ output: {
11361
+ error: string;
11362
+ code?: "invalid_input" | undefined;
11363
+ };
11364
+ outputFormat: "json";
11365
+ status: 400;
11366
11366
  input: {
11367
11367
  param: {
11368
11368
  id: string;
@@ -11413,10 +11413,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11413
11413
  "/config": {
11414
11414
  $put: {
11415
11415
  output: {
11416
- error: string;
11416
+ baseBranch: string | null;
11417
+ defaultRunner: "claude" | "codex" | "opencode" | "pi";
11418
+ systemPrompt: string | null;
11419
+ defaultModels: {
11420
+ claude?: string | undefined;
11421
+ codex?: string | undefined;
11422
+ opencode?: string | undefined;
11423
+ pi?: string | undefined;
11424
+ };
11425
+ modelsLocked: boolean;
11426
+ maxParallel: number;
11427
+ memoryLimitMb: number | null;
11428
+ worktreeRetention: number;
11429
+ liveTitleUpdates: boolean | null;
11430
+ reviewGate: boolean | null;
11417
11431
  };
11418
11432
  outputFormat: "json";
11419
- status: 409;
11433
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11420
11434
  input: {
11421
11435
  json: {
11422
11436
  baseBranch?: string | null | undefined;
@@ -11440,7 +11454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11440
11454
  error: string;
11441
11455
  };
11442
11456
  outputFormat: "json";
11443
- status: 500;
11457
+ status: 409;
11444
11458
  input: {
11445
11459
  json: {
11446
11460
  baseBranch?: string | null | undefined;
@@ -11461,24 +11475,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11461
11475
  };
11462
11476
  } | {
11463
11477
  output: {
11464
- baseBranch: string | null;
11465
- defaultRunner: "claude" | "codex" | "opencode" | "pi";
11466
- systemPrompt: string | null;
11467
- defaultModels: {
11468
- claude?: string | undefined;
11469
- codex?: string | undefined;
11470
- opencode?: string | undefined;
11471
- pi?: string | undefined;
11472
- };
11473
- modelsLocked: boolean;
11474
- maxParallel: number;
11475
- memoryLimitMb: number | null;
11476
- worktreeRetention: number;
11477
- liveTitleUpdates: boolean | null;
11478
- reviewGate: boolean | null;
11478
+ error: string;
11479
11479
  };
11480
11480
  outputFormat: "json";
11481
- status: import("hono/utils/http-status").ContentfulStatusCode;
11481
+ status: 500;
11482
11482
  input: {
11483
11483
  json: {
11484
11484
  baseBranch?: string | null | undefined;
@@ -11502,18 +11502,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11502
11502
  }, "/"> | import("hono/types").MergeSchemaPath<{
11503
11503
  "/skills": {
11504
11504
  $get: {
11505
- output: {
11506
- error: string;
11507
- code?: "invalid_input" | undefined;
11508
- };
11509
- outputFormat: "json";
11510
- status: 400;
11511
- input: {
11512
- query: {
11513
- wait?: string | undefined;
11514
- };
11515
- };
11516
- } | {
11517
11505
  output: {
11518
11506
  name: string;
11519
11507
  description?: string;
@@ -11536,11 +11524,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11536
11524
  wait?: string | undefined;
11537
11525
  };
11538
11526
  };
11539
- };
11540
- };
11541
- } & {
11542
- "/skills/importable": {
11543
- $get: {
11527
+ } | {
11544
11528
  output: {
11545
11529
  error: string;
11546
11530
  code?: "invalid_input" | undefined;
@@ -11552,7 +11536,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11552
11536
  wait?: string | undefined;
11553
11537
  };
11554
11538
  };
11555
- } | {
11539
+ };
11540
+ };
11541
+ } & {
11542
+ "/skills/importable": {
11543
+ $get: {
11556
11544
  output: {
11557
11545
  name: string;
11558
11546
  description?: string | undefined;
@@ -11564,6 +11552,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11564
11552
  wait?: string | undefined;
11565
11553
  };
11566
11554
  };
11555
+ } | {
11556
+ output: {
11557
+ error: string;
11558
+ code?: "invalid_input" | undefined;
11559
+ };
11560
+ outputFormat: "json";
11561
+ status: 400;
11562
+ input: {
11563
+ query: {
11564
+ wait?: string | undefined;
11565
+ };
11566
+ };
11567
11567
  };
11568
11568
  };
11569
11569
  } & {
@@ -11617,7 +11617,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11617
11617
  error: string;
11618
11618
  };
11619
11619
  outputFormat: "json";
11620
- status: 404;
11620
+ status: 409;
11621
11621
  input: {
11622
11622
  param: {
11623
11623
  id: string;
@@ -11625,10 +11625,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11625
11625
  };
11626
11626
  } | {
11627
11627
  output: {
11628
- error: string;
11628
+ removed: true;
11629
11629
  };
11630
11630
  outputFormat: "json";
11631
- status: 409;
11631
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11632
11632
  input: {
11633
11633
  param: {
11634
11634
  id: string;
@@ -11636,10 +11636,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11636
11636
  };
11637
11637
  } | {
11638
11638
  output: {
11639
- removed: true;
11639
+ error: string;
11640
11640
  };
11641
11641
  outputFormat: "json";
11642
- status: import("hono/utils/http-status").ContentfulStatusCode;
11642
+ status: 404;
11643
11643
  input: {
11644
11644
  param: {
11645
11645
  id: string;
@@ -11651,18 +11651,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11651
11651
  "/todos/:id/start": {
11652
11652
  $post: {
11653
11653
  output: {
11654
- run: {
11655
- id: string;
11656
- title: string;
11657
- titleSummary?: string | undefined;
11658
- diffStat?: {
11659
- adds: number;
11660
- dels: number;
11661
- files: number;
11662
- repointed?: boolean | undefined;
11663
- } | undefined;
11664
- workflow: string;
11665
- task: string;
11654
+ error: string;
11655
+ };
11656
+ outputFormat: "json";
11657
+ status: 409;
11658
+ input: {
11659
+ json: {
11660
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11661
+ model?: string | undefined;
11662
+ effort?: string | undefined;
11663
+ prompt?: string | undefined;
11664
+ } | undefined;
11665
+ } & {
11666
+ param: {
11667
+ id: string;
11668
+ };
11669
+ };
11670
+ } | {
11671
+ output: {
11672
+ run: {
11673
+ id: string;
11674
+ title: string;
11675
+ titleSummary?: string | undefined;
11676
+ diffStat?: {
11677
+ adds: number;
11678
+ dels: number;
11679
+ files: number;
11680
+ repointed?: boolean | undefined;
11681
+ } | undefined;
11682
+ workflow: string;
11683
+ task: string;
11666
11684
  queuedMessages?: {
11667
11685
  id: string;
11668
11686
  text: string;
@@ -12010,24 +12028,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12010
12028
  id: string;
12011
12029
  };
12012
12030
  };
12013
- } | {
12014
- output: {
12015
- error: string;
12016
- };
12017
- outputFormat: "json";
12018
- status: 404;
12019
- input: {
12020
- json: {
12021
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
12022
- model?: string | undefined;
12023
- effort?: string | undefined;
12024
- prompt?: string | undefined;
12025
- } | undefined;
12026
- } & {
12027
- param: {
12028
- id: string;
12029
- };
12030
- };
12031
12031
  } | {
12032
12032
  output: {
12033
12033
  error: string;
@@ -12051,7 +12051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12051
12051
  error: string;
12052
12052
  };
12053
12053
  outputFormat: "json";
12054
- status: 409;
12054
+ status: 404;
12055
12055
  input: {
12056
12056
  json: {
12057
12057
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -12154,10 +12154,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12154
12154
  "/agent-config/:id": {
12155
12155
  $put: {
12156
12156
  output: {
12157
- error: string;
12157
+ id: string;
12158
+ path: string;
12159
+ exists: boolean;
12160
+ content: string;
12161
+ version: string | null;
12158
12162
  };
12159
12163
  outputFormat: "json";
12160
- status: 404;
12164
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12161
12165
  input: {
12162
12166
  json: {
12163
12167
  content: string;
@@ -12170,14 +12174,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12170
12174
  };
12171
12175
  } | {
12172
12176
  output: {
12173
- id: string;
12174
- path: string;
12175
- exists: boolean;
12176
- content: string;
12177
- version: string | null;
12177
+ error: string;
12178
12178
  };
12179
12179
  outputFormat: "json";
12180
- status: import("hono/utils/http-status").ContentfulStatusCode;
12180
+ status: 404;
12181
12181
  input: {
12182
12182
  json: {
12183
12183
  content: string;
@@ -12245,11 +12245,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12245
12245
  "/workflows": {
12246
12246
  $post: {
12247
12247
  output: {
12248
- path: string;
12249
- name: string;
12248
+ error: string;
12250
12249
  };
12251
12250
  outputFormat: "json";
12252
- status: 201;
12251
+ status: 400;
12253
12252
  input: {
12254
12253
  json: {
12255
12254
  name: string;
@@ -12276,9 +12275,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12276
12275
  } | {
12277
12276
  output: {
12278
12277
  error: string;
12278
+ exists: true;
12279
12279
  };
12280
12280
  outputFormat: "json";
12281
- status: 400;
12281
+ status: 409;
12282
12282
  input: {
12283
12283
  json: {
12284
12284
  name: string;
@@ -12305,10 +12305,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12305
12305
  } | {
12306
12306
  output: {
12307
12307
  error: string;
12308
- exists: true;
12309
12308
  };
12310
12309
  outputFormat: "json";
12311
- status: 409;
12310
+ status: 500;
12312
12311
  input: {
12313
12312
  json: {
12314
12313
  name: string;
@@ -12334,10 +12333,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12334
12333
  };
12335
12334
  } | {
12336
12335
  output: {
12337
- error: string;
12336
+ path: string;
12337
+ name: string;
12338
12338
  };
12339
12339
  outputFormat: "json";
12340
- status: 500;
12340
+ status: 201;
12341
12341
  input: {
12342
12342
  json: {
12343
12343
  name: string;
@@ -12370,7 +12370,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12370
12370
  error: string;
12371
12371
  };
12372
12372
  outputFormat: "json";
12373
- status: 400;
12373
+ status: 404;
12374
12374
  input: {
12375
12375
  param: {
12376
12376
  name: string;
@@ -12381,7 +12381,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12381
12381
  error: string;
12382
12382
  };
12383
12383
  outputFormat: "json";
12384
- status: 404;
12384
+ status: 400;
12385
12385
  input: {
12386
12386
  param: {
12387
12387
  name: string;
@@ -12504,12 +12504,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12504
12504
  } & {
12505
12505
  "/repo/commit/:sha": {
12506
12506
  $get: {
12507
- output: {
12508
- error: string;
12509
- code?: "invalid_input" | undefined;
12510
- };
12511
- outputFormat: "json";
12512
- status: 400;
12507
+ output: string;
12508
+ outputFormat: "text";
12509
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12513
12510
  input: {
12514
12511
  query: {
12515
12512
  structured?: string | undefined;
@@ -12522,9 +12519,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12522
12519
  } | {
12523
12520
  output: {
12524
12521
  error: string;
12522
+ code?: "invalid_input" | undefined;
12525
12523
  };
12526
12524
  outputFormat: "json";
12527
- status: 409;
12525
+ status: 400;
12528
12526
  input: {
12529
12527
  query: {
12530
12528
  structured?: string | undefined;
@@ -12568,9 +12566,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12568
12566
  };
12569
12567
  };
12570
12568
  } | {
12571
- output: string;
12572
- outputFormat: "text";
12573
- status: import("hono/utils/http-status").ContentfulStatusCode;
12569
+ output: {
12570
+ error: string;
12571
+ };
12572
+ outputFormat: "json";
12573
+ status: 409;
12574
12574
  input: {
12575
12575
  query: {
12576
12576
  structured?: string | undefined;
@@ -12585,13 +12585,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12585
12585
  } & {
12586
12586
  "/repo/changes": {
12587
12587
  $get: {
12588
- output: {
12589
- error: string;
12590
- };
12591
- outputFormat: "json";
12592
- status: 409;
12593
- input: {};
12594
- } | {
12595
12588
  output: {
12596
12589
  files: {
12597
12590
  path: string;
@@ -12616,6 +12609,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12616
12609
  outputFormat: "json";
12617
12610
  status: import("hono/utils/http-status").ContentfulStatusCode;
12618
12611
  input: {};
12612
+ } | {
12613
+ output: {
12614
+ error: string;
12615
+ };
12616
+ outputFormat: "json";
12617
+ status: 409;
12618
+ input: {};
12619
12619
  };
12620
12620
  };
12621
12621
  } & {
@@ -12640,12 +12640,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12640
12640
  "/repo/pull": {
12641
12641
  $post: {
12642
12642
  output: {
12643
- branch: string;
12644
- pulled: true;
12645
- summary: string;
12643
+ error: string;
12646
12644
  };
12647
12645
  outputFormat: "json";
12648
- status: 200;
12646
+ status: 409;
12649
12647
  input: {
12650
12648
  json: {
12651
12649
  branch?: string | undefined;
@@ -12654,10 +12652,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12654
12652
  };
12655
12653
  } | {
12656
12654
  output: {
12657
- error: string;
12655
+ branch: string;
12656
+ pulled: true;
12657
+ summary: string;
12658
12658
  };
12659
12659
  outputFormat: "json";
12660
- status: 409;
12660
+ status: 200;
12661
12661
  input: {
12662
12662
  json: {
12663
12663
  branch?: string | undefined;
@@ -13373,28 +13373,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13373
13373
  "/automations": {
13374
13374
  $post: {
13375
13375
  output: {
13376
- automation: {
13377
- [x: string]: import("hono/utils/types").JSONValue;
13378
- id: string;
13379
- revision: number;
13376
+ error: string;
13377
+ };
13378
+ outputFormat: "json";
13379
+ status: 400;
13380
+ input: {
13381
+ json: {
13380
13382
  name: string;
13381
13383
  description?: string | undefined;
13382
- enabled: boolean;
13384
+ enabled?: boolean | undefined;
13383
13385
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
13384
13386
  intervalSeconds: number;
13385
13387
  filters: {
13386
- [x: string]: import("hono/utils/types").JSONValue;
13388
+ [x: string]: unknown;
13387
13389
  authors?: string[] | undefined;
13388
13390
  assignees?: string[] | undefined;
13389
13391
  allLabels?: string[] | undefined;
13390
13392
  anyLabels?: string[] | undefined;
13391
13393
  excludeLabels?: string[] | undefined;
13392
13394
  changedLabels?: string[] | undefined;
13393
- lookbackDays: number;
13394
- maxRecords: number;
13395
+ lookbackDays?: number | undefined;
13396
+ maxRecords?: number | undefined;
13395
13397
  };
13396
13398
  task: {
13397
- [x: string]: import("hono/utils/types").JSONValue;
13399
+ [x: string]: unknown;
13398
13400
  prompt: string;
13399
13401
  workflow?: string | undefined;
13400
13402
  steps?: {
@@ -13409,7 +13411,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13409
13411
  command?: string | undefined;
13410
13412
  onFail?: {
13411
13413
  retry: string;
13412
- max: number;
13414
+ max?: number | undefined;
13413
13415
  } | undefined;
13414
13416
  }[] | undefined;
13415
13417
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -13421,32 +13423,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13421
13423
  autonomous?: boolean | undefined;
13422
13424
  systemPrompt?: string | undefined;
13423
13425
  };
13424
- createdAt: string;
13425
- updatedAt: string;
13426
+ enable?: boolean | undefined;
13426
13427
  };
13427
13428
  };
13428
- outputFormat: "json";
13429
- status: 201;
13430
- input: {
13431
- json: {
13429
+ } | {
13430
+ output: {
13431
+ automation: {
13432
+ [x: string]: import("hono/utils/types").JSONValue;
13433
+ id: string;
13434
+ revision: number;
13432
13435
  name: string;
13433
13436
  description?: string | undefined;
13434
- enabled?: boolean | undefined;
13437
+ enabled: boolean;
13435
13438
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
13436
13439
  intervalSeconds: number;
13437
13440
  filters: {
13438
- [x: string]: unknown;
13441
+ [x: string]: import("hono/utils/types").JSONValue;
13439
13442
  authors?: string[] | undefined;
13440
13443
  assignees?: string[] | undefined;
13441
13444
  allLabels?: string[] | undefined;
13442
13445
  anyLabels?: string[] | undefined;
13443
13446
  excludeLabels?: string[] | undefined;
13444
13447
  changedLabels?: string[] | undefined;
13445
- lookbackDays?: number | undefined;
13446
- maxRecords?: number | undefined;
13448
+ lookbackDays: number;
13449
+ maxRecords: number;
13447
13450
  };
13448
13451
  task: {
13449
- [x: string]: unknown;
13452
+ [x: string]: import("hono/utils/types").JSONValue;
13450
13453
  prompt: string;
13451
13454
  workflow?: string | undefined;
13452
13455
  steps?: {
@@ -13461,7 +13464,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13461
13464
  command?: string | undefined;
13462
13465
  onFail?: {
13463
13466
  retry: string;
13464
- max?: number | undefined;
13467
+ max: number;
13465
13468
  } | undefined;
13466
13469
  }[] | undefined;
13467
13470
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -13473,15 +13476,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13473
13476
  autonomous?: boolean | undefined;
13474
13477
  systemPrompt?: string | undefined;
13475
13478
  };
13476
- enable?: boolean | undefined;
13479
+ createdAt: string;
13480
+ updatedAt: string;
13477
13481
  };
13478
13482
  };
13479
- } | {
13480
- output: {
13481
- error: string;
13482
- };
13483
13483
  outputFormat: "json";
13484
- status: 400;
13484
+ status: 201;
13485
13485
  input: {
13486
13486
  json: {
13487
13487
  name: string;
@@ -14069,10 +14069,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14069
14069
  "/automations/:id/check": {
14070
14070
  $post: {
14071
14071
  output: {
14072
- checkId: string;
14072
+ error: string;
14073
14073
  };
14074
14074
  outputFormat: "json";
14075
- status: 202;
14075
+ status: 404;
14076
14076
  input: {
14077
14077
  json: {
14078
14078
  mode: "execute" | "preview";
@@ -14084,10 +14084,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14084
14084
  };
14085
14085
  } | {
14086
14086
  output: {
14087
- error: string;
14087
+ checkId: string;
14088
14088
  };
14089
14089
  outputFormat: "json";
14090
- status: 404;
14090
+ status: 202;
14091
14091
  input: {
14092
14092
  json: {
14093
14093
  mode: "execute" | "preview";
@@ -14161,11 +14161,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14161
14161
  "/automation-log/:receiptId/retry": {
14162
14162
  $post: {
14163
14163
  output: {
14164
- receiptId: string;
14165
- runId: string;
14164
+ error: string;
14166
14165
  };
14167
14166
  outputFormat: "json";
14168
- status: 202;
14167
+ status: 404;
14169
14168
  input: {
14170
14169
  param: {
14171
14170
  receiptId: string;
@@ -14176,7 +14175,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14176
14175
  error: string;
14177
14176
  };
14178
14177
  outputFormat: "json";
14179
- status: 404;
14178
+ status: 409;
14180
14179
  input: {
14181
14180
  param: {
14182
14181
  receiptId: string;
@@ -14184,10 +14183,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14184
14183
  };
14185
14184
  } | {
14186
14185
  output: {
14187
- error: string;
14186
+ receiptId: string;
14187
+ runId: string;
14188
14188
  };
14189
14189
  outputFormat: "json";
14190
- status: 409;
14190
+ status: 202;
14191
14191
  input: {
14192
14192
  param: {
14193
14193
  receiptId: string;
@@ -14671,20 +14671,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14671
14671
  "/runs/:id/worker-destroy": {
14672
14672
  $post: {
14673
14673
  output: {
14674
- workerId: string;
14675
- state: "complete" | "incomplete";
14676
- deleted?: ({
14677
- kind: "worktree";
14678
- path: string;
14679
- } | {
14680
- kind: "branch";
14681
- ref: string;
14682
- })[] | undefined;
14683
- remaining: ("branch" | "process" | "worktree")[];
14684
- error?: string | undefined;
14674
+ error: string;
14675
+ code?: "invalid_input" | undefined;
14685
14676
  };
14686
14677
  outputFormat: "json";
14687
- status: 200;
14678
+ status: 400;
14688
14679
  input: {
14689
14680
  query: {
14690
14681
  [x: string]: string | string[];
@@ -14698,11 +14689,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14698
14689
  };
14699
14690
  } | {
14700
14691
  output: {
14701
- error: string;
14702
- code?: "invalid_input" | undefined;
14692
+ workerId: string;
14693
+ state: "complete" | "incomplete";
14694
+ deleted?: ({
14695
+ kind: "worktree";
14696
+ path: string;
14697
+ } | {
14698
+ kind: "branch";
14699
+ ref: string;
14700
+ })[] | undefined;
14701
+ remaining: ("branch" | "process" | "worktree")[];
14702
+ error?: string | undefined;
14703
14703
  };
14704
14704
  outputFormat: "json";
14705
- status: 400;
14705
+ status: 200;
14706
14706
  input: {
14707
14707
  query: {
14708
14708
  [x: string]: string | string[];
@@ -14786,21 +14786,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14786
14786
  } & {
14787
14787
  "/runs/:id/archive": {
14788
14788
  $post: {
14789
- output: {
14790
- error: string;
14791
- };
14792
- outputFormat: "json";
14793
- status: 404;
14794
- input: {
14795
- json: {
14796
- archived?: boolean | undefined;
14797
- };
14798
- } & {
14799
- param: {
14800
- id: string;
14801
- };
14802
- };
14803
- } | {
14804
14789
  output: {
14805
14790
  id: string;
14806
14791
  title: string;
@@ -15156,32 +15141,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15156
15141
  id: string;
15157
15142
  };
15158
15143
  };
15159
- };
15160
- };
15161
- } & {
15162
- "/runs/:id/pin": {
15163
- $post: {
15144
+ } | {
15164
15145
  output: {
15165
15146
  error: string;
15166
- code?: "invalid_input" | undefined;
15167
15147
  };
15168
15148
  outputFormat: "json";
15169
- status: 400;
15149
+ status: 404;
15170
15150
  input: {
15171
- param: {
15172
- id: string;
15151
+ json: {
15152
+ archived?: boolean | undefined;
15173
15153
  };
15174
15154
  } & {
15175
- json: {
15176
- pinned?: boolean | undefined;
15155
+ param: {
15156
+ id: string;
15177
15157
  };
15178
15158
  };
15179
- } | {
15159
+ };
15160
+ };
15161
+ } & {
15162
+ "/runs/:id/pin": {
15163
+ $post: {
15180
15164
  output: {
15181
15165
  error: string;
15166
+ code?: "invalid_input" | undefined;
15182
15167
  };
15183
15168
  outputFormat: "json";
15184
- status: 404;
15169
+ status: 400;
15185
15170
  input: {
15186
15171
  param: {
15187
15172
  id: string;
@@ -15547,6 +15532,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15547
15532
  pinned?: boolean | undefined;
15548
15533
  };
15549
15534
  };
15535
+ } | {
15536
+ output: {
15537
+ error: string;
15538
+ };
15539
+ outputFormat: "json";
15540
+ status: 404;
15541
+ input: {
15542
+ param: {
15543
+ id: string;
15544
+ };
15545
+ } & {
15546
+ json: {
15547
+ pinned?: boolean | undefined;
15548
+ };
15549
+ };
15550
15550
  };
15551
15551
  };
15552
15552
  } & {
@@ -15578,17 +15578,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15578
15578
  } & {
15579
15579
  "/runs/:id/read": {
15580
15580
  $post: {
15581
- output: {
15582
- error: string;
15583
- };
15584
- outputFormat: "json";
15585
- status: 404;
15586
- input: {
15587
- param: {
15588
- id: string;
15589
- };
15590
- };
15591
- } | {
15592
15581
  output: {
15593
15582
  id: string;
15594
15583
  title: string;
@@ -15940,11 +15929,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15940
15929
  id: string;
15941
15930
  };
15942
15931
  };
15943
- };
15944
- };
15945
- } & {
15946
- "/runs/:id/unread": {
15947
- $post: {
15932
+ } | {
15948
15933
  output: {
15949
15934
  error: string;
15950
15935
  };
@@ -15955,7 +15940,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15955
15940
  id: string;
15956
15941
  };
15957
15942
  };
15958
- } | {
15943
+ };
15944
+ };
15945
+ } & {
15946
+ "/runs/:id/unread": {
15947
+ $post: {
15959
15948
  output: {
15960
15949
  id: string;
15961
15950
  title: string;
@@ -16307,6 +16296,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16307
16296
  id: string;
16308
16297
  };
16309
16298
  };
16299
+ } | {
16300
+ output: {
16301
+ error: string;
16302
+ };
16303
+ outputFormat: "json";
16304
+ status: 404;
16305
+ input: {
16306
+ param: {
16307
+ id: string;
16308
+ };
16309
+ };
16310
16310
  };
16311
16311
  };
16312
16312
  } & {
@@ -16693,6 +16693,129 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16693
16693
  todoId?: string | undefined;
16694
16694
  };
16695
16695
  };
16696
+ } | {
16697
+ output: {
16698
+ error: string;
16699
+ };
16700
+ outputFormat: "json";
16701
+ status: 409;
16702
+ input: {
16703
+ json: {
16704
+ workflow?: string | undefined;
16705
+ steps?: {
16706
+ id: string;
16707
+ name?: string | undefined;
16708
+ prompt?: string | undefined;
16709
+ skill?: string | undefined;
16710
+ model?: string | undefined;
16711
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16712
+ allowedTools?: string[] | undefined;
16713
+ bashAllowlist?: string[] | undefined;
16714
+ command?: string | undefined;
16715
+ onFail?: {
16716
+ retry: string;
16717
+ max?: number | undefined;
16718
+ } | undefined;
16719
+ }[] | undefined;
16720
+ task: string;
16721
+ model?: string | undefined;
16722
+ effort?: string | undefined;
16723
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16724
+ agentProfile?: string | undefined;
16725
+ variants?: number | undefined;
16726
+ worktree?: boolean | undefined;
16727
+ autonomous?: boolean | undefined;
16728
+ generateFollowups?: boolean | undefined;
16729
+ systemPrompt?: string | undefined;
16730
+ images?: {
16731
+ mediaType: string;
16732
+ data: string;
16733
+ }[] | undefined;
16734
+ todoId?: string | undefined;
16735
+ };
16736
+ };
16737
+ } | {
16738
+ output: {
16739
+ error: string;
16740
+ };
16741
+ outputFormat: "json";
16742
+ status: 400;
16743
+ input: {
16744
+ json: {
16745
+ workflow?: string | undefined;
16746
+ steps?: {
16747
+ id: string;
16748
+ name?: string | undefined;
16749
+ prompt?: string | undefined;
16750
+ skill?: string | undefined;
16751
+ model?: string | undefined;
16752
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16753
+ allowedTools?: string[] | undefined;
16754
+ bashAllowlist?: string[] | undefined;
16755
+ command?: string | undefined;
16756
+ onFail?: {
16757
+ retry: string;
16758
+ max?: number | undefined;
16759
+ } | undefined;
16760
+ }[] | undefined;
16761
+ task: string;
16762
+ model?: string | undefined;
16763
+ effort?: string | undefined;
16764
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16765
+ agentProfile?: string | undefined;
16766
+ variants?: number | undefined;
16767
+ worktree?: boolean | undefined;
16768
+ autonomous?: boolean | undefined;
16769
+ generateFollowups?: boolean | undefined;
16770
+ systemPrompt?: string | undefined;
16771
+ images?: {
16772
+ mediaType: string;
16773
+ data: string;
16774
+ }[] | undefined;
16775
+ todoId?: string | undefined;
16776
+ };
16777
+ };
16778
+ } | {
16779
+ output: {
16780
+ error: string;
16781
+ };
16782
+ outputFormat: "json";
16783
+ status: 404;
16784
+ input: {
16785
+ json: {
16786
+ workflow?: string | undefined;
16787
+ steps?: {
16788
+ id: string;
16789
+ name?: string | undefined;
16790
+ prompt?: string | undefined;
16791
+ skill?: string | undefined;
16792
+ model?: string | undefined;
16793
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16794
+ allowedTools?: string[] | undefined;
16795
+ bashAllowlist?: string[] | undefined;
16796
+ command?: string | undefined;
16797
+ onFail?: {
16798
+ retry: string;
16799
+ max?: number | undefined;
16800
+ } | undefined;
16801
+ }[] | undefined;
16802
+ task: string;
16803
+ model?: string | undefined;
16804
+ effort?: string | undefined;
16805
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16806
+ agentProfile?: string | undefined;
16807
+ variants?: number | undefined;
16808
+ worktree?: boolean | undefined;
16809
+ autonomous?: boolean | undefined;
16810
+ generateFollowups?: boolean | undefined;
16811
+ systemPrompt?: string | undefined;
16812
+ images?: {
16813
+ mediaType: string;
16814
+ data: string;
16815
+ }[] | undefined;
16816
+ todoId?: string | undefined;
16817
+ };
16818
+ };
16696
16819
  } | {
16697
16820
  output: {
16698
16821
  runs: {
@@ -16981,190 +17104,67 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16981
17104
  worktreePath?: string | undefined;
16982
17105
  branch?: string | undefined;
16983
17106
  baseBranch?: string | undefined;
16984
- worktreeReclaimedAt?: string | undefined;
16985
- groupId?: string | undefined;
16986
- variant?: string | undefined;
16987
- peakRssBytes?: number | undefined;
16988
- peakProcCount?: number | undefined;
16989
- archived: boolean;
16990
- archivedAt?: string | undefined;
16991
- pinned?: boolean | undefined;
16992
- pinnedAt?: string | undefined;
16993
- seenAt?: string | undefined;
16994
- currentStepId?: string | undefined;
16995
- error?: string | undefined;
16996
- steps: {
16997
- id: string;
16998
- name: string;
16999
- kind: "agent" | "check";
17000
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
17001
- iterations: number;
17002
- retriesUsed?: number | undefined;
17003
- tokensUsed: number;
17004
- inputTokens?: number | undefined;
17005
- outputTokens?: number | undefined;
17006
- usageInvocationsStarted?: number | undefined;
17007
- usageInvocationsObserved?: number | undefined;
17008
- usageTurnsStarted?: number | undefined;
17009
- usageTurnsRecorded?: number | undefined;
17010
- usageInvocationEpoch?: number | undefined;
17011
- startedAt?: string | undefined;
17012
- finishedAt?: string | undefined;
17013
- error?: string | undefined;
17014
- sessionId?: string | undefined;
17015
- backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
17016
- profileId?: string | undefined;
17017
- costUsd?: number | undefined;
17018
- synthetic?: "continuation" | undefined;
17019
- }[];
17020
- workflowDef?: {
17021
- name: string;
17022
- description?: string | undefined;
17023
- steps: {
17024
- id: string;
17025
- name?: string | undefined;
17026
- prompt?: string | undefined;
17027
- skill?: string | undefined;
17028
- model?: string | undefined;
17029
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17030
- allowedTools?: string[] | undefined;
17031
- bashAllowlist?: string[] | undefined;
17032
- command?: string | undefined;
17033
- onFail?: {
17034
- retry: string;
17035
- max: number;
17036
- } | undefined;
17037
- }[];
17038
- source: "built-in" | "file";
17039
- path?: string | undefined;
17040
- } | undefined;
17041
- }[];
17042
- };
17043
- outputFormat: "json";
17044
- status: 201;
17045
- input: {
17046
- json: {
17047
- workflow?: string | undefined;
17048
- steps?: {
17049
- id: string;
17050
- name?: string | undefined;
17051
- prompt?: string | undefined;
17052
- skill?: string | undefined;
17053
- model?: string | undefined;
17054
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17055
- allowedTools?: string[] | undefined;
17056
- bashAllowlist?: string[] | undefined;
17057
- command?: string | undefined;
17058
- onFail?: {
17059
- retry: string;
17060
- max?: number | undefined;
17061
- } | undefined;
17062
- }[] | undefined;
17063
- task: string;
17064
- model?: string | undefined;
17065
- effort?: string | undefined;
17066
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17067
- agentProfile?: string | undefined;
17068
- variants?: number | undefined;
17069
- worktree?: boolean | undefined;
17070
- autonomous?: boolean | undefined;
17071
- generateFollowups?: boolean | undefined;
17072
- systemPrompt?: string | undefined;
17073
- images?: {
17074
- mediaType: string;
17075
- data: string;
17076
- }[] | undefined;
17077
- todoId?: string | undefined;
17078
- };
17079
- };
17080
- } | {
17081
- output: {
17082
- error: string;
17083
- };
17084
- outputFormat: "json";
17085
- status: 400;
17086
- input: {
17087
- json: {
17088
- workflow?: string | undefined;
17089
- steps?: {
17090
- id: string;
17091
- name?: string | undefined;
17092
- prompt?: string | undefined;
17093
- skill?: string | undefined;
17094
- model?: string | undefined;
17095
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17096
- allowedTools?: string[] | undefined;
17097
- bashAllowlist?: string[] | undefined;
17098
- command?: string | undefined;
17099
- onFail?: {
17100
- retry: string;
17101
- max?: number | undefined;
17102
- } | undefined;
17103
- }[] | undefined;
17104
- task: string;
17105
- model?: string | undefined;
17106
- effort?: string | undefined;
17107
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17108
- agentProfile?: string | undefined;
17109
- variants?: number | undefined;
17110
- worktree?: boolean | undefined;
17111
- autonomous?: boolean | undefined;
17112
- generateFollowups?: boolean | undefined;
17113
- systemPrompt?: string | undefined;
17114
- images?: {
17115
- mediaType: string;
17116
- data: string;
17117
- }[] | undefined;
17118
- todoId?: string | undefined;
17119
- };
17120
- };
17121
- } | {
17122
- output: {
17123
- error: string;
17124
- };
17125
- outputFormat: "json";
17126
- status: 404;
17127
- input: {
17128
- json: {
17129
- workflow?: string | undefined;
17130
- steps?: {
17131
- id: string;
17132
- name?: string | undefined;
17133
- prompt?: string | undefined;
17134
- skill?: string | undefined;
17135
- model?: string | undefined;
17136
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17137
- allowedTools?: string[] | undefined;
17138
- bashAllowlist?: string[] | undefined;
17139
- command?: string | undefined;
17140
- onFail?: {
17141
- retry: string;
17142
- max?: number | undefined;
17143
- } | undefined;
17144
- }[] | undefined;
17145
- task: string;
17146
- model?: string | undefined;
17147
- effort?: string | undefined;
17148
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17149
- agentProfile?: string | undefined;
17150
- variants?: number | undefined;
17151
- worktree?: boolean | undefined;
17152
- autonomous?: boolean | undefined;
17153
- generateFollowups?: boolean | undefined;
17154
- systemPrompt?: string | undefined;
17155
- images?: {
17156
- mediaType: string;
17157
- data: string;
17158
- }[] | undefined;
17159
- todoId?: string | undefined;
17160
- };
17161
- };
17162
- } | {
17163
- output: {
17164
- error: string;
17107
+ worktreeReclaimedAt?: string | undefined;
17108
+ groupId?: string | undefined;
17109
+ variant?: string | undefined;
17110
+ peakRssBytes?: number | undefined;
17111
+ peakProcCount?: number | undefined;
17112
+ archived: boolean;
17113
+ archivedAt?: string | undefined;
17114
+ pinned?: boolean | undefined;
17115
+ pinnedAt?: string | undefined;
17116
+ seenAt?: string | undefined;
17117
+ currentStepId?: string | undefined;
17118
+ error?: string | undefined;
17119
+ steps: {
17120
+ id: string;
17121
+ name: string;
17122
+ kind: "agent" | "check";
17123
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
17124
+ iterations: number;
17125
+ retriesUsed?: number | undefined;
17126
+ tokensUsed: number;
17127
+ inputTokens?: number | undefined;
17128
+ outputTokens?: number | undefined;
17129
+ usageInvocationsStarted?: number | undefined;
17130
+ usageInvocationsObserved?: number | undefined;
17131
+ usageTurnsStarted?: number | undefined;
17132
+ usageTurnsRecorded?: number | undefined;
17133
+ usageInvocationEpoch?: number | undefined;
17134
+ startedAt?: string | undefined;
17135
+ finishedAt?: string | undefined;
17136
+ error?: string | undefined;
17137
+ sessionId?: string | undefined;
17138
+ backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
17139
+ profileId?: string | undefined;
17140
+ costUsd?: number | undefined;
17141
+ synthetic?: "continuation" | undefined;
17142
+ }[];
17143
+ workflowDef?: {
17144
+ name: string;
17145
+ description?: string | undefined;
17146
+ steps: {
17147
+ id: string;
17148
+ name?: string | undefined;
17149
+ prompt?: string | undefined;
17150
+ skill?: string | undefined;
17151
+ model?: string | undefined;
17152
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17153
+ allowedTools?: string[] | undefined;
17154
+ bashAllowlist?: string[] | undefined;
17155
+ command?: string | undefined;
17156
+ onFail?: {
17157
+ retry: string;
17158
+ max: number;
17159
+ } | undefined;
17160
+ }[];
17161
+ source: "built-in" | "file";
17162
+ path?: string | undefined;
17163
+ } | undefined;
17164
+ }[];
17165
17165
  };
17166
17166
  outputFormat: "json";
17167
- status: 409;
17167
+ status: 201;
17168
17168
  input: {
17169
17169
  json: {
17170
17170
  workflow?: string | undefined;
@@ -17205,17 +17205,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17205
17205
  } & {
17206
17206
  "/runs/:id": {
17207
17207
  $get: {
17208
- output: {
17209
- error: string;
17210
- };
17211
- outputFormat: "json";
17212
- status: 404;
17213
- input: {
17214
- param: {
17215
- id: string;
17216
- };
17217
- };
17218
- } | {
17219
17208
  output: {
17220
17209
  id: string;
17221
17210
  title: string;
@@ -17568,6 +17557,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17568
17557
  id: string;
17569
17558
  };
17570
17559
  };
17560
+ } | {
17561
+ output: {
17562
+ error: string;
17563
+ };
17564
+ outputFormat: "json";
17565
+ status: 404;
17566
+ input: {
17567
+ param: {
17568
+ id: string;
17569
+ };
17570
+ };
17571
17571
  };
17572
17572
  };
17573
17573
  } & {
@@ -17695,54 +17695,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17695
17695
  } & {
17696
17696
  "/runs/:id": {
17697
17697
  $patch: {
17698
- output: {
17699
- error: string;
17700
- };
17701
- outputFormat: "json";
17702
- status: 400;
17703
- input: {
17704
- json: {
17705
- title?: string | undefined;
17706
- task?: string | undefined;
17707
- };
17708
- } & {
17709
- param: {
17710
- id: string;
17711
- };
17712
- };
17713
- } | {
17714
- output: {
17715
- error: string;
17716
- };
17717
- outputFormat: "json";
17718
- status: 404;
17719
- input: {
17720
- json: {
17721
- title?: string | undefined;
17722
- task?: string | undefined;
17723
- };
17724
- } & {
17725
- param: {
17726
- id: string;
17727
- };
17728
- };
17729
- } | {
17730
- output: {
17731
- error: string;
17732
- };
17733
- outputFormat: "json";
17734
- status: 409;
17735
- input: {
17736
- json: {
17737
- title?: string | undefined;
17738
- task?: string | undefined;
17739
- };
17740
- } & {
17741
- param: {
17742
- id: string;
17743
- };
17744
- };
17745
- } | {
17746
17698
  output: {
17747
17699
  id: string;
17748
17700
  title: string;
@@ -18099,6 +18051,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18099
18051
  id: string;
18100
18052
  };
18101
18053
  };
18054
+ } | {
18055
+ output: {
18056
+ error: string;
18057
+ };
18058
+ outputFormat: "json";
18059
+ status: 404;
18060
+ input: {
18061
+ json: {
18062
+ title?: string | undefined;
18063
+ task?: string | undefined;
18064
+ };
18065
+ } & {
18066
+ param: {
18067
+ id: string;
18068
+ };
18069
+ };
18070
+ } | {
18071
+ output: {
18072
+ error: string;
18073
+ };
18074
+ outputFormat: "json";
18075
+ status: 400;
18076
+ input: {
18077
+ json: {
18078
+ title?: string | undefined;
18079
+ task?: string | undefined;
18080
+ };
18081
+ } & {
18082
+ param: {
18083
+ id: string;
18084
+ };
18085
+ };
18086
+ } | {
18087
+ output: {
18088
+ error: string;
18089
+ };
18090
+ outputFormat: "json";
18091
+ status: 409;
18092
+ input: {
18093
+ json: {
18094
+ title?: string | undefined;
18095
+ task?: string | undefined;
18096
+ };
18097
+ } & {
18098
+ param: {
18099
+ id: string;
18100
+ };
18101
+ };
18102
18102
  };
18103
18103
  };
18104
18104
  } & {
@@ -18134,7 +18134,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18134
18134
  error: string;
18135
18135
  };
18136
18136
  outputFormat: "json";
18137
- status: 400;
18137
+ status: 404;
18138
18138
  input: {
18139
18139
  json: {
18140
18140
  text?: string | undefined;
@@ -18153,7 +18153,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18153
18153
  error: string;
18154
18154
  };
18155
18155
  outputFormat: "json";
18156
- status: 404;
18156
+ status: 409;
18157
18157
  input: {
18158
18158
  json: {
18159
18159
  text?: string | undefined;
@@ -18169,10 +18169,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18169
18169
  };
18170
18170
  } | {
18171
18171
  output: {
18172
- error: string;
18172
+ delivered: true;
18173
18173
  };
18174
18174
  outputFormat: "json";
18175
- status: 409;
18175
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18176
18176
  input: {
18177
18177
  json: {
18178
18178
  text?: string | undefined;
@@ -18188,10 +18188,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18188
18188
  };
18189
18189
  } | {
18190
18190
  output: {
18191
- delivered: true;
18191
+ error: string;
18192
18192
  };
18193
18193
  outputFormat: "json";
18194
- status: import("hono/utils/http-status").ContentfulStatusCode;
18194
+ status: 400;
18195
18195
  input: {
18196
18196
  json: {
18197
18197
  text?: string | undefined;
@@ -18258,7 +18258,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18258
18258
  error: string;
18259
18259
  };
18260
18260
  outputFormat: "json";
18261
- status: 400;
18261
+ status: 404;
18262
18262
  input: {
18263
18263
  json: {
18264
18264
  text?: string | undefined;
@@ -18279,7 +18279,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18279
18279
  error: string;
18280
18280
  };
18281
18281
  outputFormat: "json";
18282
- status: 404;
18282
+ status: 400;
18283
18283
  input: {
18284
18284
  json: {
18285
18285
  text?: string | undefined;
@@ -18431,7 +18431,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18431
18431
  error: string;
18432
18432
  };
18433
18433
  outputFormat: "json";
18434
- status: 400;
18434
+ status: 404;
18435
18435
  input: {
18436
18436
  json: {
18437
18437
  text?: string | undefined;
@@ -18454,7 +18454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18454
18454
  error: string;
18455
18455
  };
18456
18456
  outputFormat: "json";
18457
- status: 404;
18457
+ status: 400;
18458
18458
  input: {
18459
18459
  json: {
18460
18460
  text?: string | undefined;
@@ -18565,7 +18565,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18565
18565
  error: string;
18566
18566
  };
18567
18567
  outputFormat: "json";
18568
- status: 400;
18568
+ status: 404;
18569
18569
  input: {
18570
18570
  json: {
18571
18571
  target: string;
@@ -18581,7 +18581,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18581
18581
  error: string;
18582
18582
  };
18583
18583
  outputFormat: "json";
18584
- status: 404;
18584
+ status: 409;
18585
18585
  input: {
18586
18586
  json: {
18587
18587
  target: string;
@@ -18597,7 +18597,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18597
18597
  error: string;
18598
18598
  };
18599
18599
  outputFormat: "json";
18600
- status: 409;
18600
+ status: 400;
18601
18601
  input: {
18602
18602
  json: {
18603
18603
  target: string;
@@ -18654,12 +18654,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18654
18654
  } & {
18655
18655
  "/runs/:id/images/:file": {
18656
18656
  $get: {
18657
- output: {
18658
- error: string;
18659
- code?: "invalid_input" | undefined;
18660
- };
18661
- outputFormat: "json";
18662
- status: 400;
18657
+ output: {};
18658
+ outputFormat: string;
18659
+ status: import("hono/utils/http-status").StatusCode;
18663
18660
  input: {
18664
18661
  param: {
18665
18662
  id: string;
@@ -18667,9 +18664,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18667
18664
  };
18668
18665
  };
18669
18666
  } | {
18670
- output: {};
18671
- outputFormat: string;
18672
- status: import("hono/utils/http-status").StatusCode;
18667
+ output: {
18668
+ error: string;
18669
+ code?: "invalid_input" | undefined;
18670
+ };
18671
+ outputFormat: "json";
18672
+ status: 400;
18673
18673
  input: {
18674
18674
  param: {
18675
18675
  id: string;
@@ -18681,20 +18681,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18681
18681
  } & {
18682
18682
  "/runs/:id/diff": {
18683
18683
  $get: {
18684
- output: {
18685
- error: string;
18686
- };
18687
- outputFormat: "json";
18688
- status: 404;
18684
+ output: string;
18685
+ outputFormat: "text";
18686
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18689
18687
  input: {
18690
18688
  param: {
18691
18689
  id: string;
18692
18690
  };
18693
18691
  };
18694
18692
  } | {
18695
- output: string;
18696
- outputFormat: "text";
18697
- status: import("hono/utils/http-status").ContentfulStatusCode;
18693
+ output: {
18694
+ error: string;
18695
+ };
18696
+ outputFormat: "json";
18697
+ status: 404;
18698
18698
  input: {
18699
18699
  param: {
18700
18700
  id: string;
@@ -19064,11 +19064,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19064
19064
  "/runs/:id/pr": {
19065
19065
  $post: {
19066
19066
  output: {
19067
- url: string;
19068
- dryRun: boolean;
19067
+ error: string;
19069
19068
  };
19070
19069
  outputFormat: "json";
19071
- status: 201;
19070
+ status: 404;
19072
19071
  input: {
19073
19072
  param: {
19074
19073
  id: string;
@@ -19079,7 +19078,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19079
19078
  error: string;
19080
19079
  };
19081
19080
  outputFormat: "json";
19082
- status: 400;
19081
+ status: 409;
19083
19082
  input: {
19084
19083
  param: {
19085
19084
  id: string;
@@ -19090,7 +19089,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19090
19089
  error: string;
19091
19090
  };
19092
19091
  outputFormat: "json";
19093
- status: 404;
19092
+ status: 400;
19094
19093
  input: {
19095
19094
  param: {
19096
19095
  id: string;
@@ -19098,10 +19097,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19098
19097
  };
19099
19098
  } | {
19100
19099
  output: {
19101
- error: string;
19100
+ url: string;
19101
+ dryRun: boolean;
19102
19102
  };
19103
19103
  outputFormat: "json";
19104
- status: 409;
19104
+ status: 201;
19105
19105
  input: {
19106
19106
  param: {
19107
19107
  id: string;
@@ -19153,7 +19153,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19153
19153
  error: string;
19154
19154
  };
19155
19155
  outputFormat: "json";
19156
- status: 404;
19156
+ status: 409;
19157
19157
  input: {
19158
19158
  param: {
19159
19159
  id: string;
@@ -19164,7 +19164,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19164
19164
  error: string;
19165
19165
  };
19166
19166
  outputFormat: "json";
19167
- status: 409;
19167
+ status: 404;
19168
19168
  input: {
19169
19169
  param: {
19170
19170
  id: string;