@wjarka/cezarion 0.11.1-pr49.76 → 0.11.1-pr50.79

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.
@@ -309,10 +309,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
309
309
  };
310
310
  } | {
311
311
  output: {
312
- error: string;
312
+ path: string;
313
+ parent: string | null;
314
+ dirs: {
315
+ name: string;
316
+ path: string;
317
+ isRepo: boolean;
318
+ }[];
319
+ truncated: boolean;
313
320
  };
314
321
  outputFormat: "json";
315
- status: 400 | 404;
322
+ status: import("hono/utils/http-status").ContentfulStatusCode;
316
323
  input: {
317
324
  query: {
318
325
  path?: string | undefined;
@@ -321,17 +328,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
321
328
  };
322
329
  } | {
323
330
  output: {
324
- path: string;
325
- parent: string | null;
326
- dirs: {
327
- name: string;
328
- path: string;
329
- isRepo: boolean;
330
- }[];
331
- truncated: boolean;
331
+ error: string;
332
332
  };
333
333
  outputFormat: "json";
334
- status: import("hono/utils/http-status").ContentfulStatusCode;
334
+ status: 400 | 404;
335
335
  input: {
336
336
  query: {
337
337
  path?: string | undefined;
@@ -343,6 +343,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
343
343
  }, "/"> | import("hono/types").MergeSchemaPath<{
344
344
  "/automation-checks/:checkId": {
345
345
  $get: {
346
+ output: {
347
+ error: string;
348
+ };
349
+ outputFormat: "json";
350
+ status: 404;
351
+ input: {
352
+ param: {
353
+ checkId: string;
354
+ };
355
+ };
356
+ } | {
346
357
  output: {
347
358
  id: string;
348
359
  automationId: string;
@@ -361,17 +372,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
361
372
  checkId: string;
362
373
  };
363
374
  };
364
- } | {
365
- output: {
366
- error: string;
367
- };
368
- outputFormat: "json";
369
- status: 404;
370
- input: {
371
- param: {
372
- checkId: string;
373
- };
374
- };
375
375
  };
376
376
  };
377
377
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -452,17 +452,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
452
452
  projectId: string | string[];
453
453
  };
454
454
  };
455
- } | {
456
- output: {
457
- error: string;
458
- };
459
- outputFormat: "json";
460
- status: 404 | 409;
461
- input: {
462
- query: {
463
- projectId: string | string[];
464
- };
465
- };
466
455
  } | {
467
456
  output: {
468
457
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -489,6 +478,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
489
478
  projectId: string | string[];
490
479
  };
491
480
  };
481
+ } | {
482
+ output: {
483
+ error: string;
484
+ };
485
+ outputFormat: "json";
486
+ status: 404 | 409;
487
+ input: {
488
+ query: {
489
+ projectId: string | string[];
490
+ };
491
+ };
492
492
  };
493
493
  };
494
494
  } & {
@@ -625,17 +625,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
625
625
  };
626
626
  } | {
627
627
  output: {
628
- providers: {
629
- provider: ProviderId;
630
- status: import("../core/provider-auth.ts").ProviderConnectionState;
631
- enabled?: boolean;
632
- hint?: string;
633
- authFailureId?: string;
634
- profileId?: string;
635
- }[];
628
+ error: string;
636
629
  };
637
630
  outputFormat: "json";
638
- status: import("hono/utils/http-status").ContentfulStatusCode;
631
+ status: 500;
639
632
  input: {
640
633
  param: {
641
634
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -647,10 +640,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
647
640
  };
648
641
  } | {
649
642
  output: {
650
- error: string;
643
+ providers: {
644
+ provider: ProviderId;
645
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
646
+ enabled?: boolean;
647
+ hint?: string;
648
+ authFailureId?: string;
649
+ profileId?: string;
650
+ }[];
651
651
  };
652
652
  outputFormat: "json";
653
- status: 500;
653
+ status: import("hono/utils/http-status").ContentfulStatusCode;
654
654
  input: {
655
655
  param: {
656
656
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -681,17 +681,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
681
681
  };
682
682
  } | {
683
683
  output: {
684
- providers: {
685
- provider: ProviderId;
686
- status: import("../core/provider-auth.ts").ProviderConnectionState;
687
- enabled?: boolean;
688
- hint?: string;
689
- authFailureId?: string;
690
- profileId?: string;
691
- }[];
684
+ error: string;
692
685
  };
693
686
  outputFormat: "json";
694
- status: import("hono/utils/http-status").ContentfulStatusCode;
687
+ status: 409;
695
688
  input: {
696
689
  param: {
697
690
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -703,10 +696,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
703
696
  };
704
697
  } | {
705
698
  output: {
706
- error: string;
699
+ providers: {
700
+ provider: ProviderId;
701
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
702
+ enabled?: boolean;
703
+ hint?: string;
704
+ authFailureId?: string;
705
+ profileId?: string;
706
+ }[];
707
707
  };
708
708
  outputFormat: "json";
709
- status: 409;
709
+ status: import("hono/utils/http-status").ContentfulStatusCode;
710
710
  input: {
711
711
  param: {
712
712
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -725,7 +725,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
725
725
  error: string;
726
726
  };
727
727
  outputFormat: "json";
728
- status: 409;
728
+ status: 400;
729
729
  input: {
730
730
  json: {
731
731
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -737,7 +737,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
737
737
  error: string;
738
738
  };
739
739
  outputFormat: "json";
740
- status: 400;
740
+ status: 409;
741
741
  input: {
742
742
  json: {
743
743
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -825,35 +825,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
825
825
  "/workspace/config": {
826
826
  $put: {
827
827
  output: {
828
- browseRoot: string;
829
- projectsDir: string;
830
- skillsAutoUpdate: boolean | null;
831
- effectiveSkillsAutoUpdate: boolean;
832
- composerDefaults: {
833
- autonomous: boolean | null;
834
- worktree: boolean | null;
835
- inheritedAutonomous: boolean | 'source-dependent';
836
- inheritedWorktree: boolean;
837
- };
838
- resources: {
839
- maxParallel: number;
840
- maxMonitoringSessions: number;
841
- monitoringWakeIntervalMinutes: number | null;
842
- autoResumeOnUsageLimit: boolean;
843
- memoryLimitMb: number | null;
844
- worktreeRetentionDefault: number;
845
- };
846
- agentDefaults: {
847
- runner?: ProviderId;
848
- models?: {
849
- claude?: string;
850
- codex?: string;
851
- opencode?: string;
852
- } | undefined;
853
- };
828
+ error: string;
854
829
  };
855
830
  outputFormat: "json";
856
- status: import("hono/utils/http-status").ContentfulStatusCode;
831
+ status: 400;
857
832
  input: {
858
833
  json: {
859
834
  browseRoot?: string | undefined;
@@ -887,7 +862,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
887
862
  error: string;
888
863
  };
889
864
  outputFormat: "json";
890
- status: 400;
865
+ status: 500;
891
866
  input: {
892
867
  json: {
893
868
  browseRoot?: string | undefined;
@@ -918,10 +893,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
918
893
  };
919
894
  } | {
920
895
  output: {
921
- error: string;
896
+ browseRoot: string;
897
+ projectsDir: string;
898
+ skillsAutoUpdate: boolean | null;
899
+ effectiveSkillsAutoUpdate: boolean;
900
+ composerDefaults: {
901
+ autonomous: boolean | null;
902
+ worktree: boolean | null;
903
+ inheritedAutonomous: boolean | 'source-dependent';
904
+ inheritedWorktree: boolean;
905
+ };
906
+ resources: {
907
+ maxParallel: number;
908
+ maxMonitoringSessions: number;
909
+ monitoringWakeIntervalMinutes: number | null;
910
+ autoResumeOnUsageLimit: boolean;
911
+ memoryLimitMb: number | null;
912
+ worktreeRetentionDefault: number;
913
+ };
914
+ agentDefaults: {
915
+ runner?: ProviderId;
916
+ models?: {
917
+ claude?: string;
918
+ codex?: string;
919
+ opencode?: string;
920
+ } | undefined;
921
+ };
922
922
  };
923
923
  outputFormat: "json";
924
- status: 500;
924
+ status: import("hono/utils/http-status").ContentfulStatusCode;
925
925
  input: {
926
926
  json: {
927
927
  browseRoot?: string | undefined;
@@ -1001,44 +1001,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1001
1001
  "/workspace/ui-state": {
1002
1002
  $put: {
1003
1003
  output: {
1004
- [x: string]: import("hono/utils/types").JSONValue;
1005
- sidebar?: {
1006
- [x: string]: import("hono/utils/types").JSONValue;
1007
- collapsed?: {
1008
- [x: string]: boolean;
1009
- } | undefined;
1010
- } | undefined;
1011
- dismissedProviderAuthFailures?: {
1012
- claude?: string | undefined;
1013
- codex?: string | undefined;
1014
- opencode?: string | undefined;
1015
- pi?: string | undefined;
1016
- } | undefined;
1017
- appearance?: {
1018
- accent?: "lime" | "violet" | undefined;
1019
- density?: "comfortable" | "compact" | "ultra" | undefined;
1020
- width?: "narrow" | "wide" | undefined;
1021
- } | undefined;
1022
- notifications?: {
1023
- [x: string]: import("hono/utils/types").JSONValue;
1024
- enabled?: boolean | undefined;
1025
- } | undefined;
1026
- taskTable?: {
1027
- [x: string]: import("hono/utils/types").JSONValue;
1028
- expandedColumns?: {
1029
- [x: string]: boolean;
1030
- } | undefined;
1031
- } | undefined;
1032
- lastLocation?: {
1033
- projectId: string;
1034
- pathname: string;
1035
- search?: string | undefined;
1036
- hash?: string | undefined;
1037
- } | undefined;
1038
- importedSkills?: string[] | undefined;
1004
+ error: string;
1039
1005
  };
1040
1006
  outputFormat: "json";
1041
- status: import("hono/utils/http-status").ContentfulStatusCode;
1007
+ status: 500;
1042
1008
  input: {
1043
1009
  json: {
1044
1010
  [x: string]: unknown;
@@ -1076,10 +1042,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1076
1042
  };
1077
1043
  } | {
1078
1044
  output: {
1079
- error: string;
1045
+ [x: string]: import("hono/utils/types").JSONValue;
1046
+ sidebar?: {
1047
+ [x: string]: import("hono/utils/types").JSONValue;
1048
+ collapsed?: {
1049
+ [x: string]: boolean;
1050
+ } | undefined;
1051
+ } | undefined;
1052
+ dismissedProviderAuthFailures?: {
1053
+ claude?: string | undefined;
1054
+ codex?: string | undefined;
1055
+ opencode?: string | undefined;
1056
+ pi?: string | undefined;
1057
+ } | undefined;
1058
+ appearance?: {
1059
+ accent?: "lime" | "violet" | undefined;
1060
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1061
+ width?: "narrow" | "wide" | undefined;
1062
+ } | undefined;
1063
+ notifications?: {
1064
+ [x: string]: import("hono/utils/types").JSONValue;
1065
+ enabled?: boolean | undefined;
1066
+ } | undefined;
1067
+ taskTable?: {
1068
+ [x: string]: import("hono/utils/types").JSONValue;
1069
+ expandedColumns?: {
1070
+ [x: string]: boolean;
1071
+ } | undefined;
1072
+ } | undefined;
1073
+ lastLocation?: {
1074
+ projectId: string;
1075
+ pathname: string;
1076
+ search?: string | undefined;
1077
+ hash?: string | undefined;
1078
+ } | undefined;
1079
+ importedSkills?: string[] | undefined;
1080
1080
  };
1081
1081
  outputFormat: "json";
1082
- status: 500;
1082
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1083
1083
  input: {
1084
1084
  json: {
1085
1085
  [x: string]: unknown;
@@ -1209,7 +1209,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1209
1209
  error: string;
1210
1210
  };
1211
1211
  outputFormat: "json";
1212
- status: 409;
1212
+ status: 404;
1213
1213
  input: {
1214
1214
  param: {
1215
1215
  projectId: string;
@@ -1220,7 +1220,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1220
1220
  error: string;
1221
1221
  };
1222
1222
  outputFormat: "json";
1223
- status: 404;
1223
+ status: 409;
1224
1224
  input: {
1225
1225
  param: {
1226
1226
  projectId: string;
@@ -1258,7 +1258,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1258
1258
  error: string;
1259
1259
  };
1260
1260
  outputFormat: "json";
1261
- status: 409;
1261
+ status: 404;
1262
1262
  input: {
1263
1263
  json: {
1264
1264
  maxParallel?: number | null | undefined;
@@ -1274,7 +1274,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1274
1274
  error: string;
1275
1275
  };
1276
1276
  outputFormat: "json";
1277
- status: 404;
1277
+ status: 409;
1278
1278
  input: {
1279
1279
  json: {
1280
1280
  maxParallel?: number | null | undefined;
@@ -1451,45 +1451,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1451
1451
  } & {
1452
1452
  "/workspace/agent-profiles": {
1453
1453
  $post: {
1454
- output: {
1455
- error: string;
1456
- };
1457
- outputFormat: "json";
1458
- status: 409;
1459
- input: {
1460
- json: {
1461
- provider: "claude" | "codex" | "opencode" | "pi";
1462
- label?: string | undefined;
1463
- configDir: string;
1464
- };
1465
- };
1466
- } | {
1467
- output: {
1468
- error: string;
1469
- };
1470
- outputFormat: "json";
1471
- status: 400;
1472
- input: {
1473
- json: {
1474
- provider: "claude" | "codex" | "opencode" | "pi";
1475
- label?: string | undefined;
1476
- configDir: string;
1477
- };
1478
- };
1479
- } | {
1480
- output: {
1481
- error: string;
1482
- };
1483
- outputFormat: "json";
1484
- status: 500;
1485
- input: {
1486
- json: {
1487
- provider: "claude" | "codex" | "opencode" | "pi";
1488
- label?: string | undefined;
1489
- configDir: string;
1490
- };
1491
- };
1492
- } | {
1493
1454
  output: {
1494
1455
  profile: {
1495
1456
  exists: boolean;
@@ -1540,6 +1501,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1540
1501
  configDir: string;
1541
1502
  };
1542
1503
  };
1504
+ } | {
1505
+ output: {
1506
+ error: string;
1507
+ };
1508
+ outputFormat: "json";
1509
+ status: 400;
1510
+ input: {
1511
+ json: {
1512
+ provider: "claude" | "codex" | "opencode" | "pi";
1513
+ label?: string | undefined;
1514
+ configDir: string;
1515
+ };
1516
+ };
1517
+ } | {
1518
+ output: {
1519
+ error: string;
1520
+ };
1521
+ outputFormat: "json";
1522
+ status: 409;
1523
+ input: {
1524
+ json: {
1525
+ provider: "claude" | "codex" | "opencode" | "pi";
1526
+ label?: string | undefined;
1527
+ configDir: string;
1528
+ };
1529
+ };
1530
+ } | {
1531
+ output: {
1532
+ error: string;
1533
+ };
1534
+ outputFormat: "json";
1535
+ status: 500;
1536
+ input: {
1537
+ json: {
1538
+ provider: "claude" | "codex" | "opencode" | "pi";
1539
+ label?: string | undefined;
1540
+ configDir: string;
1541
+ };
1542
+ };
1543
1543
  };
1544
1544
  };
1545
1545
  } & {
@@ -1565,7 +1565,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1565
1565
  error: string;
1566
1566
  };
1567
1567
  outputFormat: "json";
1568
- status: 409;
1568
+ status: 400;
1569
1569
  input: {
1570
1570
  param: {
1571
1571
  id: string;
@@ -1581,7 +1581,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1581
1581
  error: string;
1582
1582
  };
1583
1583
  outputFormat: "json";
1584
- status: 400;
1584
+ status: 404;
1585
1585
  input: {
1586
1586
  param: {
1587
1587
  id: string;
@@ -1597,7 +1597,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1597
1597
  error: string;
1598
1598
  };
1599
1599
  outputFormat: "json";
1600
- status: 404;
1600
+ status: 409;
1601
1601
  input: {
1602
1602
  param: {
1603
1603
  id: string;
@@ -1702,7 +1702,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1702
1702
  error: string;
1703
1703
  };
1704
1704
  outputFormat: "json";
1705
- status: 409;
1705
+ status: 404;
1706
1706
  input: {
1707
1707
  param: {
1708
1708
  id: string;
@@ -1717,7 +1717,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1717
1717
  error: string;
1718
1718
  };
1719
1719
  outputFormat: "json";
1720
- status: 404;
1720
+ status: 409;
1721
1721
  input: {
1722
1722
  param: {
1723
1723
  id: string;
@@ -1769,7 +1769,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1769
1769
  error: string;
1770
1770
  };
1771
1771
  outputFormat: "json";
1772
- status: 409;
1772
+ status: 404;
1773
1773
  input: {
1774
1774
  param: {
1775
1775
  id: string;
@@ -1780,7 +1780,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1780
1780
  error: string;
1781
1781
  };
1782
1782
  outputFormat: "json";
1783
- status: 404;
1783
+ status: 409;
1784
1784
  input: {
1785
1785
  param: {
1786
1786
  id: string;
@@ -1827,7 +1827,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1827
1827
  error: string;
1828
1828
  };
1829
1829
  outputFormat: "json";
1830
- status: 409;
1830
+ status: 400;
1831
1831
  input: {
1832
1832
  param: {
1833
1833
  id: string;
@@ -1859,7 +1859,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1859
1859
  error: string;
1860
1860
  };
1861
1861
  outputFormat: "json";
1862
- status: 400;
1862
+ status: 409;
1863
1863
  input: {
1864
1864
  param: {
1865
1865
  id: string;
@@ -1896,7 +1896,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1896
1896
  error: string;
1897
1897
  };
1898
1898
  outputFormat: "json";
1899
- status: 409;
1899
+ status: 400;
1900
1900
  input: {
1901
1901
  json: {
1902
1902
  projectId: string | null;
@@ -1922,7 +1922,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1922
1922
  error: string;
1923
1923
  };
1924
1924
  outputFormat: "json";
1925
- status: 400;
1925
+ status: 409;
1926
1926
  input: {
1927
1927
  json: {
1928
1928
  projectId: string | null;
@@ -1991,7 +1991,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1991
1991
  error: string;
1992
1992
  };
1993
1993
  outputFormat: "json";
1994
- status: 409;
1994
+ status: 404;
1995
1995
  input: {
1996
1996
  param: {
1997
1997
  id: string;
@@ -2002,7 +2002,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2002
2002
  error: string;
2003
2003
  };
2004
2004
  outputFormat: "json";
2005
- status: 500;
2005
+ status: 409;
2006
2006
  input: {
2007
2007
  param: {
2008
2008
  id: string;
@@ -2013,7 +2013,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2013
2013
  error: string;
2014
2014
  };
2015
2015
  outputFormat: "json";
2016
- status: 404;
2016
+ status: 500;
2017
2017
  input: {
2018
2018
  param: {
2019
2019
  id: string;
@@ -2459,7 +2459,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2459
2459
  error: string;
2460
2460
  };
2461
2461
  outputFormat: "json";
2462
- status: 409;
2462
+ status: 400;
2463
2463
  input: {
2464
2464
  json: {
2465
2465
  target: string;
@@ -2470,7 +2470,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2470
2470
  error: string;
2471
2471
  };
2472
2472
  outputFormat: "json";
2473
- status: 400;
2473
+ status: 409;
2474
2474
  input: {
2475
2475
  json: {
2476
2476
  target: string;
@@ -2529,9 +2529,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2529
2529
  }, "/"> | import("hono/types").MergeSchemaPath<{
2530
2530
  "/runs/:id/events": {
2531
2531
  $get: {
2532
- output: {};
2533
- outputFormat: string;
2534
- status: import("hono/utils/http-status").StatusCode;
2532
+ output: {
2533
+ error: string;
2534
+ };
2535
+ outputFormat: "json";
2536
+ status: 400;
2535
2537
  input: {
2536
2538
  param: {
2537
2539
  id: string;
@@ -2543,11 +2545,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2543
2545
  };
2544
2546
  };
2545
2547
  } | {
2546
- output: {
2547
- error: string;
2548
- };
2549
- outputFormat: "json";
2550
- status: 400;
2548
+ output: {};
2549
+ outputFormat: string;
2550
+ status: import("hono/utils/http-status").StatusCode;
2551
2551
  input: {
2552
2552
  param: {
2553
2553
  id: string;
@@ -2598,24 +2598,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2598
2598
  "/config": {
2599
2599
  $put: {
2600
2600
  output: {
2601
- baseBranch: string | null;
2602
- defaultRunner: "claude" | "codex" | "opencode" | "pi";
2603
- systemPrompt: string | null;
2604
- defaultModels: {
2605
- claude?: string | undefined;
2606
- codex?: string | undefined;
2607
- opencode?: string | undefined;
2608
- pi?: string | undefined;
2609
- };
2610
- modelsLocked: boolean;
2611
- maxParallel: number;
2612
- memoryLimitMb: number | null;
2613
- worktreeRetention: number;
2614
- liveTitleUpdates: boolean | null;
2615
- reviewGate: boolean | null;
2601
+ error: string;
2616
2602
  };
2617
2603
  outputFormat: "json";
2618
- status: import("hono/utils/http-status").ContentfulStatusCode;
2604
+ status: 409;
2619
2605
  input: {
2620
2606
  json: {
2621
2607
  baseBranch?: string | null | undefined;
@@ -2639,7 +2625,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2639
2625
  error: string;
2640
2626
  };
2641
2627
  outputFormat: "json";
2642
- status: 409;
2628
+ status: 500;
2643
2629
  input: {
2644
2630
  json: {
2645
2631
  baseBranch?: string | null | undefined;
@@ -2660,10 +2646,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2660
2646
  };
2661
2647
  } | {
2662
2648
  output: {
2663
- error: string;
2649
+ baseBranch: string | null;
2650
+ defaultRunner: "claude" | "codex" | "opencode" | "pi";
2651
+ systemPrompt: string | null;
2652
+ defaultModels: {
2653
+ claude?: string | undefined;
2654
+ codex?: string | undefined;
2655
+ opencode?: string | undefined;
2656
+ pi?: string | undefined;
2657
+ };
2658
+ modelsLocked: boolean;
2659
+ maxParallel: number;
2660
+ memoryLimitMb: number | null;
2661
+ worktreeRetention: number;
2662
+ liveTitleUpdates: boolean | null;
2663
+ reviewGate: boolean | null;
2664
2664
  };
2665
2665
  outputFormat: "json";
2666
- status: 500;
2666
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2667
2667
  input: {
2668
2668
  json: {
2669
2669
  baseBranch?: string | null | undefined;
@@ -2687,6 +2687,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2687
2687
  }, "/"> | import("hono/types").MergeSchemaPath<{
2688
2688
  "/skills": {
2689
2689
  $get: {
2690
+ output: {
2691
+ error: string;
2692
+ };
2693
+ outputFormat: "json";
2694
+ status: 400;
2695
+ input: {
2696
+ query: {
2697
+ wait?: string | undefined;
2698
+ };
2699
+ };
2700
+ } | {
2690
2701
  output: {
2691
2702
  name: string;
2692
2703
  description?: string;
@@ -2709,7 +2720,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2709
2720
  wait?: string | undefined;
2710
2721
  };
2711
2722
  };
2712
- } | {
2723
+ };
2724
+ };
2725
+ } & {
2726
+ "/skills/importable": {
2727
+ $get: {
2713
2728
  output: {
2714
2729
  error: string;
2715
2730
  };
@@ -2720,11 +2735,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2720
2735
  wait?: string | undefined;
2721
2736
  };
2722
2737
  };
2723
- };
2724
- };
2725
- } & {
2726
- "/skills/importable": {
2727
- $get: {
2738
+ } | {
2728
2739
  output: {
2729
2740
  name: string;
2730
2741
  description?: string | undefined;
@@ -2736,17 +2747,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2736
2747
  wait?: string | undefined;
2737
2748
  };
2738
2749
  };
2739
- } | {
2740
- output: {
2741
- error: string;
2742
- };
2743
- outputFormat: "json";
2744
- status: 400;
2745
- input: {
2746
- query: {
2747
- wait?: string | undefined;
2748
- };
2749
- };
2750
2750
  };
2751
2751
  };
2752
2752
  } & {
@@ -2800,7 +2800,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2800
2800
  error: string;
2801
2801
  };
2802
2802
  outputFormat: "json";
2803
- status: 409;
2803
+ status: 404;
2804
2804
  input: {
2805
2805
  param: {
2806
2806
  id: string;
@@ -2808,10 +2808,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2808
2808
  };
2809
2809
  } | {
2810
2810
  output: {
2811
- removed: true;
2811
+ error: string;
2812
2812
  };
2813
2813
  outputFormat: "json";
2814
- status: import("hono/utils/http-status").ContentfulStatusCode;
2814
+ status: 409;
2815
2815
  input: {
2816
2816
  param: {
2817
2817
  id: string;
@@ -2819,10 +2819,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2819
2819
  };
2820
2820
  } | {
2821
2821
  output: {
2822
- error: string;
2822
+ removed: true;
2823
2823
  };
2824
2824
  outputFormat: "json";
2825
- status: 404;
2825
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2826
2826
  input: {
2827
2827
  param: {
2828
2828
  id: string;
@@ -2833,24 +2833,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2833
2833
  } & {
2834
2834
  "/todos/:id/start": {
2835
2835
  $post: {
2836
- output: {
2837
- error: string;
2838
- };
2839
- outputFormat: "json";
2840
- status: 409;
2841
- input: {
2842
- json: {
2843
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
2844
- model?: string | undefined;
2845
- effort?: string | undefined;
2846
- prompt?: string | undefined;
2847
- } | undefined;
2848
- } & {
2849
- param: {
2850
- id: string;
2851
- };
2852
- };
2853
- } | {
2854
2836
  output: {
2855
2837
  run: {
2856
2838
  id: string;
@@ -2985,6 +2967,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2985
2967
  id: string;
2986
2968
  };
2987
2969
  };
2970
+ } | {
2971
+ output: {
2972
+ error: string;
2973
+ };
2974
+ outputFormat: "json";
2975
+ status: 404;
2976
+ input: {
2977
+ json: {
2978
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
2979
+ model?: string | undefined;
2980
+ effort?: string | undefined;
2981
+ prompt?: string | undefined;
2982
+ } | undefined;
2983
+ } & {
2984
+ param: {
2985
+ id: string;
2986
+ };
2987
+ };
2988
2988
  } | {
2989
2989
  output: {
2990
2990
  error: string;
@@ -3008,7 +3008,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3008
3008
  error: string;
3009
3009
  };
3010
3010
  outputFormat: "json";
3011
- status: 404;
3011
+ status: 409;
3012
3012
  input: {
3013
3013
  json: {
3014
3014
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -3111,14 +3111,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3111
3111
  "/agent-config/:id": {
3112
3112
  $put: {
3113
3113
  output: {
3114
- id: string;
3115
- path: string;
3116
- exists: boolean;
3117
- content: string;
3118
- version: string | null;
3114
+ error: string;
3119
3115
  };
3120
3116
  outputFormat: "json";
3121
- status: import("hono/utils/http-status").ContentfulStatusCode;
3117
+ status: 404;
3122
3118
  input: {
3123
3119
  json: {
3124
3120
  content: string;
@@ -3131,10 +3127,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3131
3127
  };
3132
3128
  } | {
3133
3129
  output: {
3134
- error: string;
3130
+ id: string;
3131
+ path: string;
3132
+ exists: boolean;
3133
+ content: string;
3134
+ version: string | null;
3135
3135
  };
3136
3136
  outputFormat: "json";
3137
- status: 404;
3137
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3138
3138
  input: {
3139
3139
  json: {
3140
3140
  content: string;
@@ -3202,10 +3202,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3202
3202
  "/workflows": {
3203
3203
  $post: {
3204
3204
  output: {
3205
- error: string;
3205
+ path: string;
3206
+ name: string;
3206
3207
  };
3207
3208
  outputFormat: "json";
3208
- status: 400;
3209
+ status: 201;
3209
3210
  input: {
3210
3211
  json: {
3211
3212
  name: string;
@@ -3232,10 +3233,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3232
3233
  } | {
3233
3234
  output: {
3234
3235
  error: string;
3235
- exists: true;
3236
3236
  };
3237
3237
  outputFormat: "json";
3238
- status: 409;
3238
+ status: 400;
3239
3239
  input: {
3240
3240
  json: {
3241
3241
  name: string;
@@ -3262,9 +3262,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3262
3262
  } | {
3263
3263
  output: {
3264
3264
  error: string;
3265
+ exists: true;
3265
3266
  };
3266
3267
  outputFormat: "json";
3267
- status: 500;
3268
+ status: 409;
3268
3269
  input: {
3269
3270
  json: {
3270
3271
  name: string;
@@ -3290,11 +3291,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3290
3291
  };
3291
3292
  } | {
3292
3293
  output: {
3293
- path: string;
3294
- name: string;
3294
+ error: string;
3295
3295
  };
3296
3296
  outputFormat: "json";
3297
- status: 201;
3297
+ status: 500;
3298
3298
  input: {
3299
3299
  json: {
3300
3300
  name: string;
@@ -3327,7 +3327,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3327
3327
  error: string;
3328
3328
  };
3329
3329
  outputFormat: "json";
3330
- status: 404;
3330
+ status: 400;
3331
3331
  input: {
3332
3332
  param: {
3333
3333
  name: string;
@@ -3338,7 +3338,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3338
3338
  error: string;
3339
3339
  };
3340
3340
  outputFormat: "json";
3341
- status: 400;
3341
+ status: 404;
3342
3342
  input: {
3343
3343
  param: {
3344
3344
  name: string;
@@ -3461,9 +3461,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3461
3461
  } & {
3462
3462
  "/repo/commit/:sha": {
3463
3463
  $get: {
3464
- output: string;
3465
- outputFormat: "text";
3466
- status: import("hono/utils/http-status").ContentfulStatusCode;
3464
+ output: {
3465
+ error: string;
3466
+ };
3467
+ outputFormat: "json";
3468
+ status: 400;
3467
3469
  input: {
3468
3470
  query: {
3469
3471
  structured?: string | undefined;
@@ -3478,7 +3480,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3478
3480
  error: string;
3479
3481
  };
3480
3482
  outputFormat: "json";
3481
- status: 400;
3483
+ status: 409;
3482
3484
  input: {
3483
3485
  query: {
3484
3486
  structured?: string | undefined;
@@ -3522,11 +3524,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3522
3524
  };
3523
3525
  };
3524
3526
  } | {
3525
- output: {
3526
- error: string;
3527
- };
3528
- outputFormat: "json";
3529
- status: 409;
3527
+ output: string;
3528
+ outputFormat: "text";
3529
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3530
3530
  input: {
3531
3531
  query: {
3532
3532
  structured?: string | undefined;
@@ -3541,6 +3541,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3541
3541
  } & {
3542
3542
  "/repo/changes": {
3543
3543
  $get: {
3544
+ output: {
3545
+ error: string;
3546
+ };
3547
+ outputFormat: "json";
3548
+ status: 409;
3549
+ input: {};
3550
+ } | {
3544
3551
  output: {
3545
3552
  files: {
3546
3553
  path: string;
@@ -3565,13 +3572,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3565
3572
  outputFormat: "json";
3566
3573
  status: import("hono/utils/http-status").ContentfulStatusCode;
3567
3574
  input: {};
3568
- } | {
3569
- output: {
3570
- error: string;
3571
- };
3572
- outputFormat: "json";
3573
- status: 409;
3574
- input: {};
3575
3575
  };
3576
3576
  };
3577
3577
  } & {
@@ -4209,30 +4209,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4209
4209
  "/automations": {
4210
4210
  $post: {
4211
4211
  output: {
4212
- error: string;
4213
- };
4214
- outputFormat: "json";
4215
- status: 400;
4216
- input: {
4217
- json: {
4212
+ automation: {
4213
+ [x: string]: import("hono/utils/types").JSONValue;
4214
+ id: string;
4215
+ revision: number;
4218
4216
  name: string;
4219
4217
  description?: string | undefined;
4220
- enabled?: boolean | undefined;
4218
+ enabled: boolean;
4221
4219
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4222
4220
  intervalSeconds: number;
4223
4221
  filters: {
4224
- [x: string]: unknown;
4222
+ [x: string]: import("hono/utils/types").JSONValue;
4225
4223
  authors?: string[] | undefined;
4226
4224
  assignees?: string[] | undefined;
4227
4225
  allLabels?: string[] | undefined;
4228
4226
  anyLabels?: string[] | undefined;
4229
4227
  excludeLabels?: string[] | undefined;
4230
4228
  changedLabels?: string[] | undefined;
4231
- lookbackDays?: number | undefined;
4232
- maxRecords?: number | undefined;
4229
+ lookbackDays: number;
4230
+ maxRecords: number;
4233
4231
  };
4234
4232
  task: {
4235
- [x: string]: unknown;
4233
+ [x: string]: import("hono/utils/types").JSONValue;
4236
4234
  prompt: string;
4237
4235
  workflow?: string | undefined;
4238
4236
  steps?: {
@@ -4247,7 +4245,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4247
4245
  command?: string | undefined;
4248
4246
  onFail?: {
4249
4247
  retry: string;
4250
- max?: number | undefined;
4248
+ max: number;
4251
4249
  } | undefined;
4252
4250
  }[] | undefined;
4253
4251
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -4259,33 +4257,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4259
4257
  autonomous?: boolean | undefined;
4260
4258
  systemPrompt?: string | undefined;
4261
4259
  };
4262
- enable?: boolean | undefined;
4260
+ createdAt: string;
4261
+ updatedAt: string;
4263
4262
  };
4264
4263
  };
4265
- } | {
4266
- output: {
4267
- automation: {
4268
- [x: string]: import("hono/utils/types").JSONValue;
4269
- id: string;
4270
- revision: number;
4264
+ outputFormat: "json";
4265
+ status: 201;
4266
+ input: {
4267
+ json: {
4271
4268
  name: string;
4272
4269
  description?: string | undefined;
4273
- enabled: boolean;
4270
+ enabled?: boolean | undefined;
4274
4271
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4275
4272
  intervalSeconds: number;
4276
4273
  filters: {
4277
- [x: string]: import("hono/utils/types").JSONValue;
4274
+ [x: string]: unknown;
4278
4275
  authors?: string[] | undefined;
4279
4276
  assignees?: string[] | undefined;
4280
4277
  allLabels?: string[] | undefined;
4281
4278
  anyLabels?: string[] | undefined;
4282
4279
  excludeLabels?: string[] | undefined;
4283
4280
  changedLabels?: string[] | undefined;
4284
- lookbackDays: number;
4285
- maxRecords: number;
4281
+ lookbackDays?: number | undefined;
4282
+ maxRecords?: number | undefined;
4286
4283
  };
4287
4284
  task: {
4288
- [x: string]: import("hono/utils/types").JSONValue;
4285
+ [x: string]: unknown;
4289
4286
  prompt: string;
4290
4287
  workflow?: string | undefined;
4291
4288
  steps?: {
@@ -4300,7 +4297,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4300
4297
  command?: string | undefined;
4301
4298
  onFail?: {
4302
4299
  retry: string;
4303
- max: number;
4300
+ max?: number | undefined;
4304
4301
  } | undefined;
4305
4302
  }[] | undefined;
4306
4303
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -4312,12 +4309,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4312
4309
  autonomous?: boolean | undefined;
4313
4310
  systemPrompt?: string | undefined;
4314
4311
  };
4315
- createdAt: string;
4316
- updatedAt: string;
4312
+ enable?: boolean | undefined;
4317
4313
  };
4318
4314
  };
4315
+ } | {
4316
+ output: {
4317
+ error: string;
4318
+ };
4319
4319
  outputFormat: "json";
4320
- status: 201;
4320
+ status: 400;
4321
4321
  input: {
4322
4322
  json: {
4323
4323
  name: string;
@@ -4905,10 +4905,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4905
4905
  "/automations/:id/check": {
4906
4906
  $post: {
4907
4907
  output: {
4908
- error: string;
4908
+ checkId: string;
4909
4909
  };
4910
4910
  outputFormat: "json";
4911
- status: 404;
4911
+ status: 202;
4912
4912
  input: {
4913
4913
  json: {
4914
4914
  mode: "execute" | "preview";
@@ -4920,10 +4920,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4920
4920
  };
4921
4921
  } | {
4922
4922
  output: {
4923
- checkId: string;
4923
+ error: string;
4924
4924
  };
4925
4925
  outputFormat: "json";
4926
- status: 202;
4926
+ status: 404;
4927
4927
  input: {
4928
4928
  json: {
4929
4929
  mode: "execute" | "preview";
@@ -4996,10 +4996,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4996
4996
  "/automation-log/:receiptId/retry": {
4997
4997
  $post: {
4998
4998
  output: {
4999
- error: string;
4999
+ receiptId: string;
5000
+ runId: string;
5000
5001
  };
5001
5002
  outputFormat: "json";
5002
- status: 404;
5003
+ status: 202;
5003
5004
  input: {
5004
5005
  param: {
5005
5006
  receiptId: string;
@@ -5010,7 +5011,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5010
5011
  error: string;
5011
5012
  };
5012
5013
  outputFormat: "json";
5013
- status: 409;
5014
+ status: 404;
5014
5015
  input: {
5015
5016
  param: {
5016
5017
  receiptId: string;
@@ -5018,11 +5019,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5018
5019
  };
5019
5020
  } | {
5020
5021
  output: {
5021
- receiptId: string;
5022
- runId: string;
5022
+ error: string;
5023
5023
  };
5024
5024
  outputFormat: "json";
5025
- status: 202;
5025
+ status: 409;
5026
5026
  input: {
5027
5027
  param: {
5028
5028
  receiptId: string;
@@ -5182,6 +5182,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5182
5182
  } & {
5183
5183
  "/runs/:id/archive": {
5184
5184
  $post: {
5185
+ output: {
5186
+ error: string;
5187
+ };
5188
+ outputFormat: "json";
5189
+ status: 404;
5190
+ input: {
5191
+ json: {
5192
+ archived?: boolean | undefined;
5193
+ };
5194
+ } & {
5195
+ param: {
5196
+ id: string;
5197
+ };
5198
+ };
5199
+ } | {
5185
5200
  output: {
5186
5201
  id: string;
5187
5202
  title: string;
@@ -5311,21 +5326,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5311
5326
  id: string;
5312
5327
  };
5313
5328
  };
5314
- } | {
5315
- output: {
5316
- error: string;
5317
- };
5318
- outputFormat: "json";
5319
- status: 404;
5320
- input: {
5321
- json: {
5322
- archived?: boolean | undefined;
5323
- };
5324
- } & {
5325
- param: {
5326
- id: string;
5327
- };
5328
- };
5329
5329
  };
5330
5330
  };
5331
5331
  } & {
@@ -5357,6 +5357,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5357
5357
  } & {
5358
5358
  "/runs/:id/read": {
5359
5359
  $post: {
5360
+ output: {
5361
+ error: string;
5362
+ };
5363
+ outputFormat: "json";
5364
+ status: 404;
5365
+ input: {
5366
+ param: {
5367
+ id: string;
5368
+ };
5369
+ };
5370
+ } | {
5360
5371
  output: {
5361
5372
  id: string;
5362
5373
  title: string;
@@ -5482,7 +5493,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5482
5493
  id: string;
5483
5494
  };
5484
5495
  };
5485
- } | {
5496
+ };
5497
+ };
5498
+ } & {
5499
+ "/runs/:id/unread": {
5500
+ $post: {
5486
5501
  output: {
5487
5502
  error: string;
5488
5503
  };
@@ -5493,11 +5508,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5493
5508
  id: string;
5494
5509
  };
5495
5510
  };
5496
- };
5497
- };
5498
- } & {
5499
- "/runs/:id/unread": {
5500
- $post: {
5511
+ } | {
5501
5512
  output: {
5502
5513
  id: string;
5503
5514
  title: string;
@@ -5623,17 +5634,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5623
5634
  id: string;
5624
5635
  };
5625
5636
  };
5626
- } | {
5627
- output: {
5628
- error: string;
5629
- };
5630
- outputFormat: "json";
5631
- status: 404;
5632
- input: {
5633
- param: {
5634
- id: string;
5635
- };
5636
- };
5637
5637
  };
5638
5638
  };
5639
5639
  } & {
@@ -5796,151 +5796,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5796
5796
  };
5797
5797
  } | {
5798
5798
  output: {
5799
- error: string;
5800
- };
5801
- outputFormat: "json";
5802
- status: 409;
5803
- input: {
5804
- json: {
5805
- workflow?: string | undefined;
5806
- steps?: {
5799
+ runs: {
5800
+ id: string;
5801
+ title: string;
5802
+ titleSummary?: string | undefined;
5803
+ diffStat?: {
5804
+ adds: number;
5805
+ dels: number;
5806
+ files: number;
5807
+ repointed?: boolean | undefined;
5808
+ } | undefined;
5809
+ workflow: string;
5810
+ task: string;
5811
+ queuedMessages?: {
5807
5812
  id: string;
5808
- name?: string | undefined;
5809
- prompt?: string | undefined;
5810
- skill?: string | undefined;
5811
- model?: string | undefined;
5812
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5813
- allowedTools?: string[] | undefined;
5814
- bashAllowlist?: string[] | undefined;
5815
- command?: string | undefined;
5816
- onFail?: {
5817
- retry: string;
5818
- max?: number | undefined;
5819
- } | undefined;
5813
+ text: string;
5814
+ images?: string[] | undefined;
5815
+ createdAt: string;
5820
5816
  }[] | undefined;
5821
- task: string;
5817
+ taskImages?: string[] | undefined;
5822
5818
  model?: string | undefined;
5823
5819
  effort?: string | undefined;
5824
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5825
- agentProfile?: string | undefined;
5826
- variants?: number | undefined;
5827
- worktree?: boolean | undefined;
5828
- autonomous?: boolean | undefined;
5829
- generateFollowups?: boolean | undefined;
5830
- systemPrompt?: string | undefined;
5831
- images?: {
5832
- mediaType: string;
5833
- data: string;
5834
- }[] | undefined;
5835
- todoId?: string | undefined;
5836
- };
5837
- };
5838
- } | {
5839
- output: {
5840
- error: string;
5841
- };
5842
- outputFormat: "json";
5843
- status: 400;
5844
- input: {
5845
- json: {
5846
- workflow?: string | undefined;
5847
- steps?: {
5848
- id: string;
5849
- name?: string | undefined;
5850
- prompt?: string | undefined;
5851
- skill?: string | undefined;
5852
- model?: string | undefined;
5853
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5854
- allowedTools?: string[] | undefined;
5855
- bashAllowlist?: string[] | undefined;
5856
- command?: string | undefined;
5857
- onFail?: {
5858
- retry: string;
5859
- max?: number | undefined;
5860
- } | undefined;
5861
- }[] | undefined;
5862
- task: string;
5863
- model?: string | undefined;
5864
- effort?: string | undefined;
5865
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5866
- agentProfile?: string | undefined;
5867
- variants?: number | undefined;
5868
- worktree?: boolean | undefined;
5869
- autonomous?: boolean | undefined;
5870
- generateFollowups?: boolean | undefined;
5871
- systemPrompt?: string | undefined;
5872
- images?: {
5873
- mediaType: string;
5874
- data: string;
5875
- }[] | undefined;
5876
- todoId?: string | undefined;
5877
- };
5878
- };
5879
- } | {
5880
- output: {
5881
- error: string;
5882
- };
5883
- outputFormat: "json";
5884
- status: 404;
5885
- input: {
5886
- json: {
5887
- workflow?: string | undefined;
5888
- steps?: {
5889
- id: string;
5890
- name?: string | undefined;
5891
- prompt?: string | undefined;
5892
- skill?: string | undefined;
5893
- model?: string | undefined;
5894
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5895
- allowedTools?: string[] | undefined;
5896
- bashAllowlist?: string[] | undefined;
5897
- command?: string | undefined;
5898
- onFail?: {
5899
- retry: string;
5900
- max?: number | undefined;
5901
- } | undefined;
5902
- }[] | undefined;
5903
- task: string;
5904
- model?: string | undefined;
5905
- effort?: string | undefined;
5906
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5907
- agentProfile?: string | undefined;
5908
- variants?: number | undefined;
5909
- worktree?: boolean | undefined;
5910
- autonomous?: boolean | undefined;
5911
- generateFollowups?: boolean | undefined;
5912
- systemPrompt?: string | undefined;
5913
- images?: {
5914
- mediaType: string;
5915
- data: string;
5916
- }[] | undefined;
5917
- todoId?: string | undefined;
5918
- };
5919
- };
5920
- } | {
5921
- output: {
5922
- runs: {
5923
- id: string;
5924
- title: string;
5925
- titleSummary?: string | undefined;
5926
- diffStat?: {
5927
- adds: number;
5928
- dels: number;
5929
- files: number;
5930
- repointed?: boolean | undefined;
5931
- } | undefined;
5932
- workflow: string;
5933
- task: string;
5934
- queuedMessages?: {
5935
- id: string;
5936
- text: string;
5937
- images?: string[] | undefined;
5938
- createdAt: string;
5939
- }[] | undefined;
5940
- taskImages?: string[] | undefined;
5941
- model?: string | undefined;
5942
- effort?: string | undefined;
5943
- modelIdentity?: string | undefined;
5820
+ modelIdentity?: string | undefined;
5944
5821
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5945
5822
  agentProfile?: string | undefined;
5946
5823
  systemPrompt?: string | undefined;
@@ -6075,11 +5952,145 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6075
5952
  todoId?: string | undefined;
6076
5953
  };
6077
5954
  };
5955
+ } | {
5956
+ output: {
5957
+ error: string;
5958
+ };
5959
+ outputFormat: "json";
5960
+ status: 400;
5961
+ input: {
5962
+ json: {
5963
+ workflow?: string | undefined;
5964
+ steps?: {
5965
+ id: string;
5966
+ name?: string | undefined;
5967
+ prompt?: string | undefined;
5968
+ skill?: string | undefined;
5969
+ model?: string | undefined;
5970
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5971
+ allowedTools?: string[] | undefined;
5972
+ bashAllowlist?: string[] | undefined;
5973
+ command?: string | undefined;
5974
+ onFail?: {
5975
+ retry: string;
5976
+ max?: number | undefined;
5977
+ } | undefined;
5978
+ }[] | undefined;
5979
+ task: string;
5980
+ model?: string | undefined;
5981
+ effort?: string | undefined;
5982
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
5983
+ agentProfile?: string | undefined;
5984
+ variants?: number | undefined;
5985
+ worktree?: boolean | undefined;
5986
+ autonomous?: boolean | undefined;
5987
+ generateFollowups?: boolean | undefined;
5988
+ systemPrompt?: string | undefined;
5989
+ images?: {
5990
+ mediaType: string;
5991
+ data: string;
5992
+ }[] | undefined;
5993
+ todoId?: string | undefined;
5994
+ };
5995
+ };
5996
+ } | {
5997
+ output: {
5998
+ error: string;
5999
+ };
6000
+ outputFormat: "json";
6001
+ status: 404;
6002
+ input: {
6003
+ json: {
6004
+ workflow?: string | undefined;
6005
+ steps?: {
6006
+ id: string;
6007
+ name?: string | undefined;
6008
+ prompt?: string | undefined;
6009
+ skill?: string | undefined;
6010
+ model?: string | undefined;
6011
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
6012
+ allowedTools?: string[] | undefined;
6013
+ bashAllowlist?: string[] | undefined;
6014
+ command?: string | undefined;
6015
+ onFail?: {
6016
+ retry: string;
6017
+ max?: number | undefined;
6018
+ } | undefined;
6019
+ }[] | undefined;
6020
+ task: string;
6021
+ model?: string | undefined;
6022
+ effort?: string | undefined;
6023
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
6024
+ agentProfile?: string | undefined;
6025
+ variants?: number | undefined;
6026
+ worktree?: boolean | undefined;
6027
+ autonomous?: boolean | undefined;
6028
+ generateFollowups?: boolean | undefined;
6029
+ systemPrompt?: string | undefined;
6030
+ images?: {
6031
+ mediaType: string;
6032
+ data: string;
6033
+ }[] | undefined;
6034
+ todoId?: string | undefined;
6035
+ };
6036
+ };
6037
+ } | {
6038
+ output: {
6039
+ error: string;
6040
+ };
6041
+ outputFormat: "json";
6042
+ status: 409;
6043
+ input: {
6044
+ json: {
6045
+ workflow?: string | undefined;
6046
+ steps?: {
6047
+ id: string;
6048
+ name?: string | undefined;
6049
+ prompt?: string | undefined;
6050
+ skill?: string | undefined;
6051
+ model?: string | undefined;
6052
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
6053
+ allowedTools?: string[] | undefined;
6054
+ bashAllowlist?: string[] | undefined;
6055
+ command?: string | undefined;
6056
+ onFail?: {
6057
+ retry: string;
6058
+ max?: number | undefined;
6059
+ } | undefined;
6060
+ }[] | undefined;
6061
+ task: string;
6062
+ model?: string | undefined;
6063
+ effort?: string | undefined;
6064
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
6065
+ agentProfile?: string | undefined;
6066
+ variants?: number | undefined;
6067
+ worktree?: boolean | undefined;
6068
+ autonomous?: boolean | undefined;
6069
+ generateFollowups?: boolean | undefined;
6070
+ systemPrompt?: string | undefined;
6071
+ images?: {
6072
+ mediaType: string;
6073
+ data: string;
6074
+ }[] | undefined;
6075
+ todoId?: string | undefined;
6076
+ };
6077
+ };
6078
6078
  };
6079
6079
  };
6080
6080
  } & {
6081
6081
  "/runs/:id": {
6082
6082
  $get: {
6083
+ output: {
6084
+ error: string;
6085
+ };
6086
+ outputFormat: "json";
6087
+ status: 404;
6088
+ input: {
6089
+ param: {
6090
+ id: string;
6091
+ };
6092
+ };
6093
+ } | {
6083
6094
  output: {
6084
6095
  id: string;
6085
6096
  title: string;
@@ -6206,17 +6217,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6206
6217
  id: string;
6207
6218
  };
6208
6219
  };
6209
- } | {
6210
- output: {
6211
- error: string;
6212
- };
6213
- outputFormat: "json";
6214
- status: 404;
6215
- input: {
6216
- param: {
6217
- id: string;
6218
- };
6219
- };
6220
6220
  };
6221
6221
  };
6222
6222
  } & {
@@ -6342,6 +6342,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6342
6342
  } & {
6343
6343
  "/runs/:id": {
6344
6344
  $patch: {
6345
+ output: {
6346
+ error: string;
6347
+ };
6348
+ outputFormat: "json";
6349
+ status: 400;
6350
+ input: {
6351
+ json: {
6352
+ title?: string | undefined;
6353
+ task?: string | undefined;
6354
+ };
6355
+ } & {
6356
+ param: {
6357
+ id: string;
6358
+ };
6359
+ };
6360
+ } | {
6361
+ output: {
6362
+ error: string;
6363
+ };
6364
+ outputFormat: "json";
6365
+ status: 404;
6366
+ input: {
6367
+ json: {
6368
+ title?: string | undefined;
6369
+ task?: string | undefined;
6370
+ };
6371
+ } & {
6372
+ param: {
6373
+ id: string;
6374
+ };
6375
+ };
6376
+ } | {
6377
+ output: {
6378
+ error: string;
6379
+ };
6380
+ outputFormat: "json";
6381
+ status: 409;
6382
+ input: {
6383
+ json: {
6384
+ title?: string | undefined;
6385
+ task?: string | undefined;
6386
+ };
6387
+ } & {
6388
+ param: {
6389
+ id: string;
6390
+ };
6391
+ };
6392
+ } | {
6345
6393
  output: {
6346
6394
  id: string;
6347
6395
  title: string;
@@ -6472,54 +6520,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6472
6520
  id: string;
6473
6521
  };
6474
6522
  };
6475
- } | {
6476
- output: {
6477
- error: string;
6478
- };
6479
- outputFormat: "json";
6480
- status: 404;
6481
- input: {
6482
- json: {
6483
- title?: string | undefined;
6484
- task?: string | undefined;
6485
- };
6486
- } & {
6487
- param: {
6488
- id: string;
6489
- };
6490
- };
6491
- } | {
6492
- output: {
6493
- error: string;
6494
- };
6495
- outputFormat: "json";
6496
- status: 400;
6497
- input: {
6498
- json: {
6499
- title?: string | undefined;
6500
- task?: string | undefined;
6501
- };
6502
- } & {
6503
- param: {
6504
- id: string;
6505
- };
6506
- };
6507
- } | {
6508
- output: {
6509
- error: string;
6510
- };
6511
- outputFormat: "json";
6512
- status: 409;
6513
- input: {
6514
- json: {
6515
- title?: string | undefined;
6516
- task?: string | undefined;
6517
- };
6518
- } & {
6519
- param: {
6520
- id: string;
6521
- };
6522
- };
6523
6523
  };
6524
6524
  };
6525
6525
  } & {
@@ -6555,7 +6555,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6555
6555
  error: string;
6556
6556
  };
6557
6557
  outputFormat: "json";
6558
- status: 404;
6558
+ status: 400;
6559
6559
  input: {
6560
6560
  json: {
6561
6561
  text?: string | undefined;
@@ -6574,7 +6574,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6574
6574
  error: string;
6575
6575
  };
6576
6576
  outputFormat: "json";
6577
- status: 409;
6577
+ status: 404;
6578
6578
  input: {
6579
6579
  json: {
6580
6580
  text?: string | undefined;
@@ -6590,10 +6590,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6590
6590
  };
6591
6591
  } | {
6592
6592
  output: {
6593
- delivered: true;
6593
+ error: string;
6594
6594
  };
6595
6595
  outputFormat: "json";
6596
- status: import("hono/utils/http-status").ContentfulStatusCode;
6596
+ status: 409;
6597
6597
  input: {
6598
6598
  json: {
6599
6599
  text?: string | undefined;
@@ -6609,10 +6609,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6609
6609
  };
6610
6610
  } | {
6611
6611
  output: {
6612
- error: string;
6612
+ delivered: true;
6613
6613
  };
6614
6614
  outputFormat: "json";
6615
- status: 400;
6615
+ status: import("hono/utils/http-status").ContentfulStatusCode;
6616
6616
  input: {
6617
6617
  json: {
6618
6618
  text?: string | undefined;
@@ -6679,7 +6679,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6679
6679
  error: string;
6680
6680
  };
6681
6681
  outputFormat: "json";
6682
- status: 404;
6682
+ status: 400;
6683
6683
  input: {
6684
6684
  json: {
6685
6685
  text?: string | undefined;
@@ -6700,7 +6700,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6700
6700
  error: string;
6701
6701
  };
6702
6702
  outputFormat: "json";
6703
- status: 400;
6703
+ status: 404;
6704
6704
  input: {
6705
6705
  json: {
6706
6706
  text?: string | undefined;
@@ -6852,7 +6852,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6852
6852
  error: string;
6853
6853
  };
6854
6854
  outputFormat: "json";
6855
- status: 404;
6855
+ status: 400;
6856
6856
  input: {
6857
6857
  json: {
6858
6858
  text?: string | undefined;
@@ -6875,7 +6875,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6875
6875
  error: string;
6876
6876
  };
6877
6877
  outputFormat: "json";
6878
- status: 400;
6878
+ status: 404;
6879
6879
  input: {
6880
6880
  json: {
6881
6881
  text?: string | undefined;
@@ -6986,7 +6986,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6986
6986
  error: string;
6987
6987
  };
6988
6988
  outputFormat: "json";
6989
- status: 404;
6989
+ status: 400;
6990
6990
  input: {
6991
6991
  json: {
6992
6992
  target: string;
@@ -7002,7 +7002,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7002
7002
  error: string;
7003
7003
  };
7004
7004
  outputFormat: "json";
7005
- status: 409;
7005
+ status: 404;
7006
7006
  input: {
7007
7007
  json: {
7008
7008
  target: string;
@@ -7018,7 +7018,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7018
7018
  error: string;
7019
7019
  };
7020
7020
  outputFormat: "json";
7021
- status: 400;
7021
+ status: 409;
7022
7022
  input: {
7023
7023
  json: {
7024
7024
  target: string;
@@ -7090,20 +7090,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7090
7090
  } & {
7091
7091
  "/runs/:id/diff": {
7092
7092
  $get: {
7093
- output: string;
7094
- outputFormat: "text";
7095
- status: import("hono/utils/http-status").ContentfulStatusCode;
7093
+ output: {
7094
+ error: string;
7095
+ };
7096
+ outputFormat: "json";
7097
+ status: 404;
7096
7098
  input: {
7097
7099
  param: {
7098
7100
  id: string;
7099
7101
  };
7100
7102
  };
7101
7103
  } | {
7102
- output: {
7103
- error: string;
7104
- };
7105
- outputFormat: "json";
7106
- status: 404;
7104
+ output: string;
7105
+ outputFormat: "text";
7106
+ status: import("hono/utils/http-status").ContentfulStatusCode;
7107
7107
  input: {
7108
7108
  param: {
7109
7109
  id: string;
@@ -7472,10 +7472,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7472
7472
  "/runs/:id/pr": {
7473
7473
  $post: {
7474
7474
  output: {
7475
- error: string;
7475
+ url: string;
7476
+ dryRun: boolean;
7476
7477
  };
7477
7478
  outputFormat: "json";
7478
- status: 404;
7479
+ status: 201;
7479
7480
  input: {
7480
7481
  param: {
7481
7482
  id: string;
@@ -7486,7 +7487,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7486
7487
  error: string;
7487
7488
  };
7488
7489
  outputFormat: "json";
7489
- status: 409;
7490
+ status: 400;
7490
7491
  input: {
7491
7492
  param: {
7492
7493
  id: string;
@@ -7497,7 +7498,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7497
7498
  error: string;
7498
7499
  };
7499
7500
  outputFormat: "json";
7500
- status: 400;
7501
+ status: 404;
7501
7502
  input: {
7502
7503
  param: {
7503
7504
  id: string;
@@ -7505,11 +7506,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7505
7506
  };
7506
7507
  } | {
7507
7508
  output: {
7508
- url: string;
7509
- dryRun: boolean;
7509
+ error: string;
7510
7510
  };
7511
7511
  outputFormat: "json";
7512
- status: 201;
7512
+ status: 409;
7513
7513
  input: {
7514
7514
  param: {
7515
7515
  id: string;
@@ -7561,7 +7561,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7561
7561
  error: string;
7562
7562
  };
7563
7563
  outputFormat: "json";
7564
- status: 409;
7564
+ status: 404;
7565
7565
  input: {
7566
7566
  param: {
7567
7567
  id: string;
@@ -7572,7 +7572,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7572
7572
  error: string;
7573
7573
  };
7574
7574
  outputFormat: "json";
7575
- status: 404;
7575
+ status: 409;
7576
7576
  input: {
7577
7577
  param: {
7578
7578
  id: string;
@@ -8017,7 +8017,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8017
8017
  error: string;
8018
8018
  };
8019
8019
  outputFormat: "json";
8020
- status: 409;
8020
+ status: 400;
8021
8021
  input: {
8022
8022
  json: {
8023
8023
  target: string;
@@ -8028,7 +8028,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8028
8028
  error: string;
8029
8029
  };
8030
8030
  outputFormat: "json";
8031
- status: 400;
8031
+ status: 409;
8032
8032
  input: {
8033
8033
  json: {
8034
8034
  target: string;
@@ -8087,9 +8087,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8087
8087
  }, "/"> | import("hono/types").MergeSchemaPath<{
8088
8088
  "/runs/:id/events": {
8089
8089
  $get: {
8090
- output: {};
8091
- outputFormat: string;
8092
- status: import("hono/utils/http-status").StatusCode;
8090
+ output: {
8091
+ error: string;
8092
+ };
8093
+ outputFormat: "json";
8094
+ status: 400;
8093
8095
  input: {
8094
8096
  param: {
8095
8097
  id: string;
@@ -8101,11 +8103,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8101
8103
  };
8102
8104
  };
8103
8105
  } | {
8104
- output: {
8105
- error: string;
8106
- };
8107
- outputFormat: "json";
8108
- status: 400;
8106
+ output: {};
8107
+ outputFormat: string;
8108
+ status: import("hono/utils/http-status").StatusCode;
8109
8109
  input: {
8110
8110
  param: {
8111
8111
  id: string;
@@ -8156,24 +8156,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8156
8156
  "/config": {
8157
8157
  $put: {
8158
8158
  output: {
8159
- baseBranch: string | null;
8160
- defaultRunner: "claude" | "codex" | "opencode" | "pi";
8161
- systemPrompt: string | null;
8162
- defaultModels: {
8163
- claude?: string | undefined;
8164
- codex?: string | undefined;
8165
- opencode?: string | undefined;
8166
- pi?: string | undefined;
8167
- };
8168
- modelsLocked: boolean;
8169
- maxParallel: number;
8170
- memoryLimitMb: number | null;
8171
- worktreeRetention: number;
8172
- liveTitleUpdates: boolean | null;
8173
- reviewGate: boolean | null;
8159
+ error: string;
8174
8160
  };
8175
8161
  outputFormat: "json";
8176
- status: import("hono/utils/http-status").ContentfulStatusCode;
8162
+ status: 409;
8177
8163
  input: {
8178
8164
  json: {
8179
8165
  baseBranch?: string | null | undefined;
@@ -8197,7 +8183,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8197
8183
  error: string;
8198
8184
  };
8199
8185
  outputFormat: "json";
8200
- status: 409;
8186
+ status: 500;
8201
8187
  input: {
8202
8188
  json: {
8203
8189
  baseBranch?: string | null | undefined;
@@ -8218,10 +8204,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8218
8204
  };
8219
8205
  } | {
8220
8206
  output: {
8221
- error: string;
8207
+ baseBranch: string | null;
8208
+ defaultRunner: "claude" | "codex" | "opencode" | "pi";
8209
+ systemPrompt: string | null;
8210
+ defaultModels: {
8211
+ claude?: string | undefined;
8212
+ codex?: string | undefined;
8213
+ opencode?: string | undefined;
8214
+ pi?: string | undefined;
8215
+ };
8216
+ modelsLocked: boolean;
8217
+ maxParallel: number;
8218
+ memoryLimitMb: number | null;
8219
+ worktreeRetention: number;
8220
+ liveTitleUpdates: boolean | null;
8221
+ reviewGate: boolean | null;
8222
8222
  };
8223
8223
  outputFormat: "json";
8224
- status: 500;
8224
+ status: import("hono/utils/http-status").ContentfulStatusCode;
8225
8225
  input: {
8226
8226
  json: {
8227
8227
  baseBranch?: string | null | undefined;
@@ -8245,6 +8245,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8245
8245
  }, "/"> | import("hono/types").MergeSchemaPath<{
8246
8246
  "/skills": {
8247
8247
  $get: {
8248
+ output: {
8249
+ error: string;
8250
+ };
8251
+ outputFormat: "json";
8252
+ status: 400;
8253
+ input: {
8254
+ query: {
8255
+ wait?: string | undefined;
8256
+ };
8257
+ };
8258
+ } | {
8248
8259
  output: {
8249
8260
  name: string;
8250
8261
  description?: string;
@@ -8267,7 +8278,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8267
8278
  wait?: string | undefined;
8268
8279
  };
8269
8280
  };
8270
- } | {
8281
+ };
8282
+ };
8283
+ } & {
8284
+ "/skills/importable": {
8285
+ $get: {
8271
8286
  output: {
8272
8287
  error: string;
8273
8288
  };
@@ -8278,11 +8293,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8278
8293
  wait?: string | undefined;
8279
8294
  };
8280
8295
  };
8281
- };
8282
- };
8283
- } & {
8284
- "/skills/importable": {
8285
- $get: {
8296
+ } | {
8286
8297
  output: {
8287
8298
  name: string;
8288
8299
  description?: string | undefined;
@@ -8294,17 +8305,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8294
8305
  wait?: string | undefined;
8295
8306
  };
8296
8307
  };
8297
- } | {
8298
- output: {
8299
- error: string;
8300
- };
8301
- outputFormat: "json";
8302
- status: 400;
8303
- input: {
8304
- query: {
8305
- wait?: string | undefined;
8306
- };
8307
- };
8308
8308
  };
8309
8309
  };
8310
8310
  } & {
@@ -8358,7 +8358,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8358
8358
  error: string;
8359
8359
  };
8360
8360
  outputFormat: "json";
8361
- status: 409;
8361
+ status: 404;
8362
8362
  input: {
8363
8363
  param: {
8364
8364
  id: string;
@@ -8366,10 +8366,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8366
8366
  };
8367
8367
  } | {
8368
8368
  output: {
8369
- removed: true;
8369
+ error: string;
8370
8370
  };
8371
8371
  outputFormat: "json";
8372
- status: import("hono/utils/http-status").ContentfulStatusCode;
8372
+ status: 409;
8373
8373
  input: {
8374
8374
  param: {
8375
8375
  id: string;
@@ -8377,10 +8377,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8377
8377
  };
8378
8378
  } | {
8379
8379
  output: {
8380
- error: string;
8380
+ removed: true;
8381
8381
  };
8382
8382
  outputFormat: "json";
8383
- status: 404;
8383
+ status: import("hono/utils/http-status").ContentfulStatusCode;
8384
8384
  input: {
8385
8385
  param: {
8386
8386
  id: string;
@@ -8391,24 +8391,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8391
8391
  } & {
8392
8392
  "/todos/:id/start": {
8393
8393
  $post: {
8394
- output: {
8395
- error: string;
8396
- };
8397
- outputFormat: "json";
8398
- status: 409;
8399
- input: {
8400
- json: {
8401
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8402
- model?: string | undefined;
8403
- effort?: string | undefined;
8404
- prompt?: string | undefined;
8405
- } | undefined;
8406
- } & {
8407
- param: {
8408
- id: string;
8409
- };
8410
- };
8411
- } | {
8412
8394
  output: {
8413
8395
  run: {
8414
8396
  id: string;
@@ -8543,6 +8525,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8543
8525
  id: string;
8544
8526
  };
8545
8527
  };
8528
+ } | {
8529
+ output: {
8530
+ error: string;
8531
+ };
8532
+ outputFormat: "json";
8533
+ status: 404;
8534
+ input: {
8535
+ json: {
8536
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8537
+ model?: string | undefined;
8538
+ effort?: string | undefined;
8539
+ prompt?: string | undefined;
8540
+ } | undefined;
8541
+ } & {
8542
+ param: {
8543
+ id: string;
8544
+ };
8545
+ };
8546
8546
  } | {
8547
8547
  output: {
8548
8548
  error: string;
@@ -8566,7 +8566,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8566
8566
  error: string;
8567
8567
  };
8568
8568
  outputFormat: "json";
8569
- status: 404;
8569
+ status: 409;
8570
8570
  input: {
8571
8571
  json: {
8572
8572
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -8669,14 +8669,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8669
8669
  "/agent-config/:id": {
8670
8670
  $put: {
8671
8671
  output: {
8672
- id: string;
8673
- path: string;
8674
- exists: boolean;
8675
- content: string;
8676
- version: string | null;
8672
+ error: string;
8677
8673
  };
8678
8674
  outputFormat: "json";
8679
- status: import("hono/utils/http-status").ContentfulStatusCode;
8675
+ status: 404;
8680
8676
  input: {
8681
8677
  json: {
8682
8678
  content: string;
@@ -8689,10 +8685,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8689
8685
  };
8690
8686
  } | {
8691
8687
  output: {
8692
- error: string;
8688
+ id: string;
8689
+ path: string;
8690
+ exists: boolean;
8691
+ content: string;
8692
+ version: string | null;
8693
8693
  };
8694
8694
  outputFormat: "json";
8695
- status: 404;
8695
+ status: import("hono/utils/http-status").ContentfulStatusCode;
8696
8696
  input: {
8697
8697
  json: {
8698
8698
  content: string;
@@ -8760,10 +8760,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8760
8760
  "/workflows": {
8761
8761
  $post: {
8762
8762
  output: {
8763
- error: string;
8763
+ path: string;
8764
+ name: string;
8764
8765
  };
8765
8766
  outputFormat: "json";
8766
- status: 400;
8767
+ status: 201;
8767
8768
  input: {
8768
8769
  json: {
8769
8770
  name: string;
@@ -8790,10 +8791,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8790
8791
  } | {
8791
8792
  output: {
8792
8793
  error: string;
8793
- exists: true;
8794
8794
  };
8795
8795
  outputFormat: "json";
8796
- status: 409;
8796
+ status: 400;
8797
8797
  input: {
8798
8798
  json: {
8799
8799
  name: string;
@@ -8820,9 +8820,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8820
8820
  } | {
8821
8821
  output: {
8822
8822
  error: string;
8823
+ exists: true;
8823
8824
  };
8824
8825
  outputFormat: "json";
8825
- status: 500;
8826
+ status: 409;
8826
8827
  input: {
8827
8828
  json: {
8828
8829
  name: string;
@@ -8848,11 +8849,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8848
8849
  };
8849
8850
  } | {
8850
8851
  output: {
8851
- path: string;
8852
- name: string;
8852
+ error: string;
8853
8853
  };
8854
8854
  outputFormat: "json";
8855
- status: 201;
8855
+ status: 500;
8856
8856
  input: {
8857
8857
  json: {
8858
8858
  name: string;
@@ -8885,7 +8885,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8885
8885
  error: string;
8886
8886
  };
8887
8887
  outputFormat: "json";
8888
- status: 404;
8888
+ status: 400;
8889
8889
  input: {
8890
8890
  param: {
8891
8891
  name: string;
@@ -8896,7 +8896,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8896
8896
  error: string;
8897
8897
  };
8898
8898
  outputFormat: "json";
8899
- status: 400;
8899
+ status: 404;
8900
8900
  input: {
8901
8901
  param: {
8902
8902
  name: string;
@@ -9019,9 +9019,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9019
9019
  } & {
9020
9020
  "/repo/commit/:sha": {
9021
9021
  $get: {
9022
- output: string;
9023
- outputFormat: "text";
9024
- status: import("hono/utils/http-status").ContentfulStatusCode;
9022
+ output: {
9023
+ error: string;
9024
+ };
9025
+ outputFormat: "json";
9026
+ status: 400;
9025
9027
  input: {
9026
9028
  query: {
9027
9029
  structured?: string | undefined;
@@ -9036,7 +9038,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9036
9038
  error: string;
9037
9039
  };
9038
9040
  outputFormat: "json";
9039
- status: 400;
9041
+ status: 409;
9040
9042
  input: {
9041
9043
  query: {
9042
9044
  structured?: string | undefined;
@@ -9080,11 +9082,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9080
9082
  };
9081
9083
  };
9082
9084
  } | {
9083
- output: {
9084
- error: string;
9085
- };
9086
- outputFormat: "json";
9087
- status: 409;
9085
+ output: string;
9086
+ outputFormat: "text";
9087
+ status: import("hono/utils/http-status").ContentfulStatusCode;
9088
9088
  input: {
9089
9089
  query: {
9090
9090
  structured?: string | undefined;
@@ -9099,6 +9099,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9099
9099
  } & {
9100
9100
  "/repo/changes": {
9101
9101
  $get: {
9102
+ output: {
9103
+ error: string;
9104
+ };
9105
+ outputFormat: "json";
9106
+ status: 409;
9107
+ input: {};
9108
+ } | {
9102
9109
  output: {
9103
9110
  files: {
9104
9111
  path: string;
@@ -9123,13 +9130,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9123
9130
  outputFormat: "json";
9124
9131
  status: import("hono/utils/http-status").ContentfulStatusCode;
9125
9132
  input: {};
9126
- } | {
9127
- output: {
9128
- error: string;
9129
- };
9130
- outputFormat: "json";
9131
- status: 409;
9132
- input: {};
9133
9133
  };
9134
9134
  };
9135
9135
  } & {
@@ -9767,30 +9767,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9767
9767
  "/automations": {
9768
9768
  $post: {
9769
9769
  output: {
9770
- error: string;
9771
- };
9772
- outputFormat: "json";
9773
- status: 400;
9774
- input: {
9775
- json: {
9770
+ automation: {
9771
+ [x: string]: import("hono/utils/types").JSONValue;
9772
+ id: string;
9773
+ revision: number;
9776
9774
  name: string;
9777
9775
  description?: string | undefined;
9778
- enabled?: boolean | undefined;
9776
+ enabled: boolean;
9779
9777
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
9780
9778
  intervalSeconds: number;
9781
9779
  filters: {
9782
- [x: string]: unknown;
9780
+ [x: string]: import("hono/utils/types").JSONValue;
9783
9781
  authors?: string[] | undefined;
9784
9782
  assignees?: string[] | undefined;
9785
9783
  allLabels?: string[] | undefined;
9786
9784
  anyLabels?: string[] | undefined;
9787
9785
  excludeLabels?: string[] | undefined;
9788
9786
  changedLabels?: string[] | undefined;
9789
- lookbackDays?: number | undefined;
9790
- maxRecords?: number | undefined;
9787
+ lookbackDays: number;
9788
+ maxRecords: number;
9791
9789
  };
9792
9790
  task: {
9793
- [x: string]: unknown;
9791
+ [x: string]: import("hono/utils/types").JSONValue;
9794
9792
  prompt: string;
9795
9793
  workflow?: string | undefined;
9796
9794
  steps?: {
@@ -9805,7 +9803,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9805
9803
  command?: string | undefined;
9806
9804
  onFail?: {
9807
9805
  retry: string;
9808
- max?: number | undefined;
9806
+ max: number;
9809
9807
  } | undefined;
9810
9808
  }[] | undefined;
9811
9809
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -9817,33 +9815,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9817
9815
  autonomous?: boolean | undefined;
9818
9816
  systemPrompt?: string | undefined;
9819
9817
  };
9820
- enable?: boolean | undefined;
9818
+ createdAt: string;
9819
+ updatedAt: string;
9821
9820
  };
9822
9821
  };
9823
- } | {
9824
- output: {
9825
- automation: {
9826
- [x: string]: import("hono/utils/types").JSONValue;
9827
- id: string;
9828
- revision: number;
9822
+ outputFormat: "json";
9823
+ status: 201;
9824
+ input: {
9825
+ json: {
9829
9826
  name: string;
9830
9827
  description?: string | undefined;
9831
- enabled: boolean;
9828
+ enabled?: boolean | undefined;
9832
9829
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
9833
9830
  intervalSeconds: number;
9834
9831
  filters: {
9835
- [x: string]: import("hono/utils/types").JSONValue;
9832
+ [x: string]: unknown;
9836
9833
  authors?: string[] | undefined;
9837
9834
  assignees?: string[] | undefined;
9838
9835
  allLabels?: string[] | undefined;
9839
9836
  anyLabels?: string[] | undefined;
9840
9837
  excludeLabels?: string[] | undefined;
9841
9838
  changedLabels?: string[] | undefined;
9842
- lookbackDays: number;
9843
- maxRecords: number;
9839
+ lookbackDays?: number | undefined;
9840
+ maxRecords?: number | undefined;
9844
9841
  };
9845
9842
  task: {
9846
- [x: string]: import("hono/utils/types").JSONValue;
9843
+ [x: string]: unknown;
9847
9844
  prompt: string;
9848
9845
  workflow?: string | undefined;
9849
9846
  steps?: {
@@ -9858,7 +9855,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9858
9855
  command?: string | undefined;
9859
9856
  onFail?: {
9860
9857
  retry: string;
9861
- max: number;
9858
+ max?: number | undefined;
9862
9859
  } | undefined;
9863
9860
  }[] | undefined;
9864
9861
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -9870,12 +9867,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9870
9867
  autonomous?: boolean | undefined;
9871
9868
  systemPrompt?: string | undefined;
9872
9869
  };
9873
- createdAt: string;
9874
- updatedAt: string;
9870
+ enable?: boolean | undefined;
9875
9871
  };
9876
9872
  };
9873
+ } | {
9874
+ output: {
9875
+ error: string;
9876
+ };
9877
9877
  outputFormat: "json";
9878
- status: 201;
9878
+ status: 400;
9879
9879
  input: {
9880
9880
  json: {
9881
9881
  name: string;
@@ -10463,10 +10463,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10463
10463
  "/automations/:id/check": {
10464
10464
  $post: {
10465
10465
  output: {
10466
- error: string;
10466
+ checkId: string;
10467
10467
  };
10468
10468
  outputFormat: "json";
10469
- status: 404;
10469
+ status: 202;
10470
10470
  input: {
10471
10471
  json: {
10472
10472
  mode: "execute" | "preview";
@@ -10478,10 +10478,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10478
10478
  };
10479
10479
  } | {
10480
10480
  output: {
10481
- checkId: string;
10481
+ error: string;
10482
10482
  };
10483
10483
  outputFormat: "json";
10484
- status: 202;
10484
+ status: 404;
10485
10485
  input: {
10486
10486
  json: {
10487
10487
  mode: "execute" | "preview";
@@ -10554,10 +10554,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10554
10554
  "/automation-log/:receiptId/retry": {
10555
10555
  $post: {
10556
10556
  output: {
10557
- error: string;
10557
+ receiptId: string;
10558
+ runId: string;
10558
10559
  };
10559
10560
  outputFormat: "json";
10560
- status: 404;
10561
+ status: 202;
10561
10562
  input: {
10562
10563
  param: {
10563
10564
  receiptId: string;
@@ -10568,7 +10569,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10568
10569
  error: string;
10569
10570
  };
10570
10571
  outputFormat: "json";
10571
- status: 409;
10572
+ status: 404;
10572
10573
  input: {
10573
10574
  param: {
10574
10575
  receiptId: string;
@@ -10576,11 +10577,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10576
10577
  };
10577
10578
  } | {
10578
10579
  output: {
10579
- receiptId: string;
10580
- runId: string;
10580
+ error: string;
10581
10581
  };
10582
10582
  outputFormat: "json";
10583
- status: 202;
10583
+ status: 409;
10584
10584
  input: {
10585
10585
  param: {
10586
10586
  receiptId: string;
@@ -10740,6 +10740,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10740
10740
  } & {
10741
10741
  "/runs/:id/archive": {
10742
10742
  $post: {
10743
+ output: {
10744
+ error: string;
10745
+ };
10746
+ outputFormat: "json";
10747
+ status: 404;
10748
+ input: {
10749
+ json: {
10750
+ archived?: boolean | undefined;
10751
+ };
10752
+ } & {
10753
+ param: {
10754
+ id: string;
10755
+ };
10756
+ };
10757
+ } | {
10743
10758
  output: {
10744
10759
  id: string;
10745
10760
  title: string;
@@ -10869,21 +10884,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10869
10884
  id: string;
10870
10885
  };
10871
10886
  };
10872
- } | {
10873
- output: {
10874
- error: string;
10875
- };
10876
- outputFormat: "json";
10877
- status: 404;
10878
- input: {
10879
- json: {
10880
- archived?: boolean | undefined;
10881
- };
10882
- } & {
10883
- param: {
10884
- id: string;
10885
- };
10886
- };
10887
10887
  };
10888
10888
  };
10889
10889
  } & {
@@ -10915,6 +10915,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10915
10915
  } & {
10916
10916
  "/runs/:id/read": {
10917
10917
  $post: {
10918
+ output: {
10919
+ error: string;
10920
+ };
10921
+ outputFormat: "json";
10922
+ status: 404;
10923
+ input: {
10924
+ param: {
10925
+ id: string;
10926
+ };
10927
+ };
10928
+ } | {
10918
10929
  output: {
10919
10930
  id: string;
10920
10931
  title: string;
@@ -11040,7 +11051,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11040
11051
  id: string;
11041
11052
  };
11042
11053
  };
11043
- } | {
11054
+ };
11055
+ };
11056
+ } & {
11057
+ "/runs/:id/unread": {
11058
+ $post: {
11044
11059
  output: {
11045
11060
  error: string;
11046
11061
  };
@@ -11051,11 +11066,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11051
11066
  id: string;
11052
11067
  };
11053
11068
  };
11054
- };
11055
- };
11056
- } & {
11057
- "/runs/:id/unread": {
11058
- $post: {
11069
+ } | {
11059
11070
  output: {
11060
11071
  id: string;
11061
11072
  title: string;
@@ -11181,17 +11192,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11181
11192
  id: string;
11182
11193
  };
11183
11194
  };
11184
- } | {
11185
- output: {
11186
- error: string;
11187
- };
11188
- outputFormat: "json";
11189
- status: 404;
11190
- input: {
11191
- param: {
11192
- id: string;
11193
- };
11194
- };
11195
11195
  };
11196
11196
  };
11197
11197
  } & {
@@ -11354,10 +11354,127 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11354
11354
  };
11355
11355
  } | {
11356
11356
  output: {
11357
- error: string;
11357
+ runs: {
11358
+ id: string;
11359
+ title: string;
11360
+ titleSummary?: string | undefined;
11361
+ diffStat?: {
11362
+ adds: number;
11363
+ dels: number;
11364
+ files: number;
11365
+ repointed?: boolean | undefined;
11366
+ } | undefined;
11367
+ workflow: string;
11368
+ task: string;
11369
+ queuedMessages?: {
11370
+ id: string;
11371
+ text: string;
11372
+ images?: string[] | undefined;
11373
+ createdAt: string;
11374
+ }[] | undefined;
11375
+ taskImages?: string[] | undefined;
11376
+ model?: string | undefined;
11377
+ effort?: string | undefined;
11378
+ modelIdentity?: string | undefined;
11379
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11380
+ agentProfile?: string | undefined;
11381
+ systemPrompt?: string | undefined;
11382
+ generateFollowups?: boolean | undefined;
11383
+ autonomous?: boolean | undefined;
11384
+ automation?: {
11385
+ automationId: string;
11386
+ automationRevision: number;
11387
+ receiptId: string;
11388
+ event: string;
11389
+ githubUrl: string;
11390
+ } | undefined;
11391
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
11392
+ activity?: "monitoring" | undefined;
11393
+ monitoringWakeAt?: string | undefined;
11394
+ monitoringWakeCapReached?: boolean | undefined;
11395
+ autoResumeAt?: string | undefined;
11396
+ autoResumeAttempts?: number | undefined;
11397
+ createdAt: string;
11398
+ startedAt?: string | undefined;
11399
+ finishedAt?: string | undefined;
11400
+ tokensUsed: number;
11401
+ inputTokens?: number | undefined;
11402
+ outputTokens?: number | undefined;
11403
+ costUsd?: number | undefined;
11404
+ pullRequestUrl?: string | undefined;
11405
+ referencedPullRequestUrl?: string | undefined;
11406
+ prNumber?: number | undefined;
11407
+ issueNumber?: number | undefined;
11408
+ referencedIssueNumberSeeded?: boolean | undefined;
11409
+ titleOrigin?: "auto" | "marker" | "user" | undefined;
11410
+ markerRefs?: {
11411
+ pr?: number | undefined;
11412
+ issue?: number | undefined;
11413
+ } | undefined;
11414
+ referencedPrCandidates?: string[] | undefined;
11415
+ referencedIssueUrl?: string | undefined;
11416
+ referencedIssueCandidates?: string[] | undefined;
11417
+ worktree?: false | undefined;
11418
+ worktreePath?: string | undefined;
11419
+ branch?: string | undefined;
11420
+ baseBranch?: string | undefined;
11421
+ worktreeReclaimedAt?: string | undefined;
11422
+ groupId?: string | undefined;
11423
+ variant?: string | undefined;
11424
+ peakRssBytes?: number | undefined;
11425
+ peakProcCount?: number | undefined;
11426
+ archived: boolean;
11427
+ archivedAt?: string | undefined;
11428
+ seenAt?: string | undefined;
11429
+ currentStepId?: string | undefined;
11430
+ error?: string | undefined;
11431
+ steps: {
11432
+ id: string;
11433
+ name: string;
11434
+ kind: "agent" | "check";
11435
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
11436
+ iterations: number;
11437
+ tokensUsed: number;
11438
+ inputTokens?: number | undefined;
11439
+ outputTokens?: number | undefined;
11440
+ usageInvocationsStarted?: number | undefined;
11441
+ usageInvocationsObserved?: number | undefined;
11442
+ usageTurnsStarted?: number | undefined;
11443
+ usageTurnsRecorded?: number | undefined;
11444
+ usageInvocationEpoch?: number | undefined;
11445
+ startedAt?: string | undefined;
11446
+ finishedAt?: string | undefined;
11447
+ error?: string | undefined;
11448
+ sessionId?: string | undefined;
11449
+ backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
11450
+ profileId?: string | undefined;
11451
+ costUsd?: number | undefined;
11452
+ }[];
11453
+ workflowDef?: {
11454
+ name: string;
11455
+ description?: string | undefined;
11456
+ steps: {
11457
+ id: string;
11458
+ name?: string | undefined;
11459
+ prompt?: string | undefined;
11460
+ skill?: string | undefined;
11461
+ model?: string | undefined;
11462
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11463
+ allowedTools?: string[] | undefined;
11464
+ bashAllowlist?: string[] | undefined;
11465
+ command?: string | undefined;
11466
+ onFail?: {
11467
+ retry: string;
11468
+ max: number;
11469
+ } | undefined;
11470
+ }[];
11471
+ source: "built-in" | "file";
11472
+ path?: string | undefined;
11473
+ } | undefined;
11474
+ }[];
11358
11475
  };
11359
11476
  outputFormat: "json";
11360
- status: 409;
11477
+ status: 201;
11361
11478
  input: {
11362
11479
  json: {
11363
11480
  workflow?: string | undefined;
@@ -11443,161 +11560,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11443
11560
  input: {
11444
11561
  json: {
11445
11562
  workflow?: string | undefined;
11446
- steps?: {
11447
- id: string;
11448
- name?: string | undefined;
11449
- prompt?: string | undefined;
11450
- skill?: string | undefined;
11451
- model?: string | undefined;
11452
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11453
- allowedTools?: string[] | undefined;
11454
- bashAllowlist?: string[] | undefined;
11455
- command?: string | undefined;
11456
- onFail?: {
11457
- retry: string;
11458
- max?: number | undefined;
11459
- } | undefined;
11460
- }[] | undefined;
11461
- task: string;
11462
- model?: string | undefined;
11463
- effort?: string | undefined;
11464
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11465
- agentProfile?: string | undefined;
11466
- variants?: number | undefined;
11467
- worktree?: boolean | undefined;
11468
- autonomous?: boolean | undefined;
11469
- generateFollowups?: boolean | undefined;
11470
- systemPrompt?: string | undefined;
11471
- images?: {
11472
- mediaType: string;
11473
- data: string;
11474
- }[] | undefined;
11475
- todoId?: string | undefined;
11476
- };
11477
- };
11478
- } | {
11479
- output: {
11480
- runs: {
11481
- id: string;
11482
- title: string;
11483
- titleSummary?: string | undefined;
11484
- diffStat?: {
11485
- adds: number;
11486
- dels: number;
11487
- files: number;
11488
- repointed?: boolean | undefined;
11489
- } | undefined;
11490
- workflow: string;
11491
- task: string;
11492
- queuedMessages?: {
11493
- id: string;
11494
- text: string;
11495
- images?: string[] | undefined;
11496
- createdAt: string;
11497
- }[] | undefined;
11498
- taskImages?: string[] | undefined;
11499
- model?: string | undefined;
11500
- effort?: string | undefined;
11501
- modelIdentity?: string | undefined;
11502
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11503
- agentProfile?: string | undefined;
11504
- systemPrompt?: string | undefined;
11505
- generateFollowups?: boolean | undefined;
11506
- autonomous?: boolean | undefined;
11507
- automation?: {
11508
- automationId: string;
11509
- automationRevision: number;
11510
- receiptId: string;
11511
- event: string;
11512
- githubUrl: string;
11513
- } | undefined;
11514
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
11515
- activity?: "monitoring" | undefined;
11516
- monitoringWakeAt?: string | undefined;
11517
- monitoringWakeCapReached?: boolean | undefined;
11518
- autoResumeAt?: string | undefined;
11519
- autoResumeAttempts?: number | undefined;
11520
- createdAt: string;
11521
- startedAt?: string | undefined;
11522
- finishedAt?: string | undefined;
11523
- tokensUsed: number;
11524
- inputTokens?: number | undefined;
11525
- outputTokens?: number | undefined;
11526
- costUsd?: number | undefined;
11527
- pullRequestUrl?: string | undefined;
11528
- referencedPullRequestUrl?: string | undefined;
11529
- prNumber?: number | undefined;
11530
- issueNumber?: number | undefined;
11531
- referencedIssueNumberSeeded?: boolean | undefined;
11532
- titleOrigin?: "auto" | "marker" | "user" | undefined;
11533
- markerRefs?: {
11534
- pr?: number | undefined;
11535
- issue?: number | undefined;
11536
- } | undefined;
11537
- referencedPrCandidates?: string[] | undefined;
11538
- referencedIssueUrl?: string | undefined;
11539
- referencedIssueCandidates?: string[] | undefined;
11540
- worktree?: false | undefined;
11541
- worktreePath?: string | undefined;
11542
- branch?: string | undefined;
11543
- baseBranch?: string | undefined;
11544
- worktreeReclaimedAt?: string | undefined;
11545
- groupId?: string | undefined;
11546
- variant?: string | undefined;
11547
- peakRssBytes?: number | undefined;
11548
- peakProcCount?: number | undefined;
11549
- archived: boolean;
11550
- archivedAt?: string | undefined;
11551
- seenAt?: string | undefined;
11552
- currentStepId?: string | undefined;
11553
- error?: string | undefined;
11554
- steps: {
11563
+ steps?: {
11555
11564
  id: string;
11556
- name: string;
11557
- kind: "agent" | "check";
11558
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
11559
- iterations: number;
11560
- tokensUsed: number;
11561
- inputTokens?: number | undefined;
11562
- outputTokens?: number | undefined;
11563
- usageInvocationsStarted?: number | undefined;
11564
- usageInvocationsObserved?: number | undefined;
11565
- usageTurnsStarted?: number | undefined;
11566
- usageTurnsRecorded?: number | undefined;
11567
- usageInvocationEpoch?: number | undefined;
11568
- startedAt?: string | undefined;
11569
- finishedAt?: string | undefined;
11570
- error?: string | undefined;
11571
- sessionId?: string | undefined;
11572
- backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
11573
- profileId?: string | undefined;
11574
- costUsd?: number | undefined;
11575
- }[];
11576
- workflowDef?: {
11577
- name: string;
11578
- description?: string | undefined;
11579
- steps: {
11580
- id: string;
11581
- name?: string | undefined;
11582
- prompt?: string | undefined;
11583
- skill?: string | undefined;
11584
- model?: string | undefined;
11585
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11586
- allowedTools?: string[] | undefined;
11587
- bashAllowlist?: string[] | undefined;
11588
- command?: string | undefined;
11589
- onFail?: {
11590
- retry: string;
11591
- max: number;
11592
- } | undefined;
11593
- }[];
11594
- source: "built-in" | "file";
11595
- path?: string | undefined;
11596
- } | undefined;
11597
- }[];
11565
+ name?: string | undefined;
11566
+ prompt?: string | undefined;
11567
+ skill?: string | undefined;
11568
+ model?: string | undefined;
11569
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11570
+ allowedTools?: string[] | undefined;
11571
+ bashAllowlist?: string[] | undefined;
11572
+ command?: string | undefined;
11573
+ onFail?: {
11574
+ retry: string;
11575
+ max?: number | undefined;
11576
+ } | undefined;
11577
+ }[] | undefined;
11578
+ task: string;
11579
+ model?: string | undefined;
11580
+ effort?: string | undefined;
11581
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11582
+ agentProfile?: string | undefined;
11583
+ variants?: number | undefined;
11584
+ worktree?: boolean | undefined;
11585
+ autonomous?: boolean | undefined;
11586
+ generateFollowups?: boolean | undefined;
11587
+ systemPrompt?: string | undefined;
11588
+ images?: {
11589
+ mediaType: string;
11590
+ data: string;
11591
+ }[] | undefined;
11592
+ todoId?: string | undefined;
11593
+ };
11594
+ };
11595
+ } | {
11596
+ output: {
11597
+ error: string;
11598
11598
  };
11599
11599
  outputFormat: "json";
11600
- status: 201;
11600
+ status: 409;
11601
11601
  input: {
11602
11602
  json: {
11603
11603
  workflow?: string | undefined;
@@ -11638,6 +11638,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11638
11638
  } & {
11639
11639
  "/runs/:id": {
11640
11640
  $get: {
11641
+ output: {
11642
+ error: string;
11643
+ };
11644
+ outputFormat: "json";
11645
+ status: 404;
11646
+ input: {
11647
+ param: {
11648
+ id: string;
11649
+ };
11650
+ };
11651
+ } | {
11641
11652
  output: {
11642
11653
  id: string;
11643
11654
  title: string;
@@ -11764,17 +11775,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11764
11775
  id: string;
11765
11776
  };
11766
11777
  };
11767
- } | {
11768
- output: {
11769
- error: string;
11770
- };
11771
- outputFormat: "json";
11772
- status: 404;
11773
- input: {
11774
- param: {
11775
- id: string;
11776
- };
11777
- };
11778
11778
  };
11779
11779
  };
11780
11780
  } & {
@@ -11900,6 +11900,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11900
11900
  } & {
11901
11901
  "/runs/:id": {
11902
11902
  $patch: {
11903
+ output: {
11904
+ error: string;
11905
+ };
11906
+ outputFormat: "json";
11907
+ status: 400;
11908
+ input: {
11909
+ json: {
11910
+ title?: string | undefined;
11911
+ task?: string | undefined;
11912
+ };
11913
+ } & {
11914
+ param: {
11915
+ id: string;
11916
+ };
11917
+ };
11918
+ } | {
11919
+ output: {
11920
+ error: string;
11921
+ };
11922
+ outputFormat: "json";
11923
+ status: 404;
11924
+ input: {
11925
+ json: {
11926
+ title?: string | undefined;
11927
+ task?: string | undefined;
11928
+ };
11929
+ } & {
11930
+ param: {
11931
+ id: string;
11932
+ };
11933
+ };
11934
+ } | {
11935
+ output: {
11936
+ error: string;
11937
+ };
11938
+ outputFormat: "json";
11939
+ status: 409;
11940
+ input: {
11941
+ json: {
11942
+ title?: string | undefined;
11943
+ task?: string | undefined;
11944
+ };
11945
+ } & {
11946
+ param: {
11947
+ id: string;
11948
+ };
11949
+ };
11950
+ } | {
11903
11951
  output: {
11904
11952
  id: string;
11905
11953
  title: string;
@@ -12030,54 +12078,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12030
12078
  id: string;
12031
12079
  };
12032
12080
  };
12033
- } | {
12034
- output: {
12035
- error: string;
12036
- };
12037
- outputFormat: "json";
12038
- status: 404;
12039
- input: {
12040
- json: {
12041
- title?: string | undefined;
12042
- task?: string | undefined;
12043
- };
12044
- } & {
12045
- param: {
12046
- id: string;
12047
- };
12048
- };
12049
- } | {
12050
- output: {
12051
- error: string;
12052
- };
12053
- outputFormat: "json";
12054
- status: 400;
12055
- input: {
12056
- json: {
12057
- title?: string | undefined;
12058
- task?: string | undefined;
12059
- };
12060
- } & {
12061
- param: {
12062
- id: string;
12063
- };
12064
- };
12065
- } | {
12066
- output: {
12067
- error: string;
12068
- };
12069
- outputFormat: "json";
12070
- status: 409;
12071
- input: {
12072
- json: {
12073
- title?: string | undefined;
12074
- task?: string | undefined;
12075
- };
12076
- } & {
12077
- param: {
12078
- id: string;
12079
- };
12080
- };
12081
12081
  };
12082
12082
  };
12083
12083
  } & {
@@ -12113,7 +12113,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12113
12113
  error: string;
12114
12114
  };
12115
12115
  outputFormat: "json";
12116
- status: 404;
12116
+ status: 400;
12117
12117
  input: {
12118
12118
  json: {
12119
12119
  text?: string | undefined;
@@ -12132,7 +12132,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12132
12132
  error: string;
12133
12133
  };
12134
12134
  outputFormat: "json";
12135
- status: 409;
12135
+ status: 404;
12136
12136
  input: {
12137
12137
  json: {
12138
12138
  text?: string | undefined;
@@ -12148,10 +12148,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12148
12148
  };
12149
12149
  } | {
12150
12150
  output: {
12151
- delivered: true;
12151
+ error: string;
12152
12152
  };
12153
12153
  outputFormat: "json";
12154
- status: import("hono/utils/http-status").ContentfulStatusCode;
12154
+ status: 409;
12155
12155
  input: {
12156
12156
  json: {
12157
12157
  text?: string | undefined;
@@ -12167,10 +12167,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12167
12167
  };
12168
12168
  } | {
12169
12169
  output: {
12170
- error: string;
12170
+ delivered: true;
12171
12171
  };
12172
12172
  outputFormat: "json";
12173
- status: 400;
12173
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12174
12174
  input: {
12175
12175
  json: {
12176
12176
  text?: string | undefined;
@@ -12237,7 +12237,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12237
12237
  error: string;
12238
12238
  };
12239
12239
  outputFormat: "json";
12240
- status: 404;
12240
+ status: 400;
12241
12241
  input: {
12242
12242
  json: {
12243
12243
  text?: string | undefined;
@@ -12258,7 +12258,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12258
12258
  error: string;
12259
12259
  };
12260
12260
  outputFormat: "json";
12261
- status: 400;
12261
+ status: 404;
12262
12262
  input: {
12263
12263
  json: {
12264
12264
  text?: string | undefined;
@@ -12410,7 +12410,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12410
12410
  error: string;
12411
12411
  };
12412
12412
  outputFormat: "json";
12413
- status: 404;
12413
+ status: 400;
12414
12414
  input: {
12415
12415
  json: {
12416
12416
  text?: string | undefined;
@@ -12433,7 +12433,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12433
12433
  error: string;
12434
12434
  };
12435
12435
  outputFormat: "json";
12436
- status: 400;
12436
+ status: 404;
12437
12437
  input: {
12438
12438
  json: {
12439
12439
  text?: string | undefined;
@@ -12544,7 +12544,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12544
12544
  error: string;
12545
12545
  };
12546
12546
  outputFormat: "json";
12547
- status: 404;
12547
+ status: 400;
12548
12548
  input: {
12549
12549
  json: {
12550
12550
  target: string;
@@ -12560,7 +12560,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12560
12560
  error: string;
12561
12561
  };
12562
12562
  outputFormat: "json";
12563
- status: 409;
12563
+ status: 404;
12564
12564
  input: {
12565
12565
  json: {
12566
12566
  target: string;
@@ -12576,7 +12576,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12576
12576
  error: string;
12577
12577
  };
12578
12578
  outputFormat: "json";
12579
- status: 400;
12579
+ status: 409;
12580
12580
  input: {
12581
12581
  json: {
12582
12582
  target: string;
@@ -12648,20 +12648,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12648
12648
  } & {
12649
12649
  "/runs/:id/diff": {
12650
12650
  $get: {
12651
- output: string;
12652
- outputFormat: "text";
12653
- status: import("hono/utils/http-status").ContentfulStatusCode;
12651
+ output: {
12652
+ error: string;
12653
+ };
12654
+ outputFormat: "json";
12655
+ status: 404;
12654
12656
  input: {
12655
12657
  param: {
12656
12658
  id: string;
12657
12659
  };
12658
12660
  };
12659
12661
  } | {
12660
- output: {
12661
- error: string;
12662
- };
12663
- outputFormat: "json";
12664
- status: 404;
12662
+ output: string;
12663
+ outputFormat: "text";
12664
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12665
12665
  input: {
12666
12666
  param: {
12667
12667
  id: string;
@@ -13030,10 +13030,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13030
13030
  "/runs/:id/pr": {
13031
13031
  $post: {
13032
13032
  output: {
13033
- error: string;
13033
+ url: string;
13034
+ dryRun: boolean;
13034
13035
  };
13035
13036
  outputFormat: "json";
13036
- status: 404;
13037
+ status: 201;
13037
13038
  input: {
13038
13039
  param: {
13039
13040
  id: string;
@@ -13044,7 +13045,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13044
13045
  error: string;
13045
13046
  };
13046
13047
  outputFormat: "json";
13047
- status: 409;
13048
+ status: 400;
13048
13049
  input: {
13049
13050
  param: {
13050
13051
  id: string;
@@ -13055,7 +13056,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13055
13056
  error: string;
13056
13057
  };
13057
13058
  outputFormat: "json";
13058
- status: 400;
13059
+ status: 404;
13059
13060
  input: {
13060
13061
  param: {
13061
13062
  id: string;
@@ -13063,11 +13064,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13063
13064
  };
13064
13065
  } | {
13065
13066
  output: {
13066
- url: string;
13067
- dryRun: boolean;
13067
+ error: string;
13068
13068
  };
13069
13069
  outputFormat: "json";
13070
- status: 201;
13070
+ status: 409;
13071
13071
  input: {
13072
13072
  param: {
13073
13073
  id: string;
@@ -13119,7 +13119,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13119
13119
  error: string;
13120
13120
  };
13121
13121
  outputFormat: "json";
13122
- status: 409;
13122
+ status: 404;
13123
13123
  input: {
13124
13124
  param: {
13125
13125
  id: string;
@@ -13130,7 +13130,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13130
13130
  error: string;
13131
13131
  };
13132
13132
  outputFormat: "json";
13133
- status: 404;
13133
+ status: 409;
13134
13134
  input: {
13135
13135
  param: {
13136
13136
  id: string;