@wjarka/cezarion 0.13.5 → 0.13.6

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.
Files changed (39) hide show
  1. package/dist/config.js +16 -1
  2. package/dist/config.js.map +1 -1
  3. package/dist/release/snapshot.d.ts +2 -2
  4. package/dist/release/snapshot.js +1 -1
  5. package/dist/release/snapshot.js.map +1 -1
  6. package/dist/server/server.d.ts +1104 -1104
  7. package/package.json +3 -3
  8. package/web/dist/assets/{agent-accounts-0XE1H17O.js → agent-accounts-CdHFiYTN.js} +1 -1
  9. package/web/dist/assets/{alert-dialog-DFJbVtBQ.js → alert-dialog-7OZcjFyp.js} +1 -1
  10. package/web/dist/assets/{collapsible-CY3Kzhe7.js → collapsible-CI78cX0k.js} +1 -1
  11. package/web/dist/assets/{commit-list-DGa1MVRq.js → commit-list-D3Cy_0hj.js} +1 -1
  12. package/web/dist/assets/{compare-variants-CSpVrnYN.js → compare-variants-BkYiBaI1.js} +1 -1
  13. package/web/dist/assets/{diff-controls-C_7Ket1G.js → diff-controls-C1THeHoP.js} +1 -1
  14. package/web/dist/assets/{dropdown-menu-D_AapbCA.js → dropdown-menu-BP8LYsNU.js} +1 -1
  15. package/web/dist/assets/{git-toolbar-Ctck--gW.js → git-toolbar-BP8_wDyk.js} +1 -1
  16. package/web/dist/assets/{github-D4F_Ux2B.js → github-CVranJaK.js} +1 -1
  17. package/web/dist/assets/{index-BWdizKd9.js → index-CokupxlP.js} +4 -4
  18. package/web/dist/assets/index-hcgmKBPj.css +1 -0
  19. package/web/dist/assets/{markdown-zVtbO9Y3.js → markdown-uwx4ouIE.js} +1 -1
  20. package/web/dist/assets/pill-jITycc8f.js +1 -0
  21. package/web/dist/assets/{project-router-_NlWrr1u.js → project-router-D9DfwL9L.js} +1 -1
  22. package/web/dist/assets/{prompt-templates-BAHuEV4s.js → prompt-templates-DgR9lv5k.js} +1 -1
  23. package/web/dist/assets/{repo-git-C9XN3mXu.js → repo-git-BLjI-1pn.js} +1 -1
  24. package/web/dist/assets/{run-diff-BqNutNWV.js → run-diff-DRPGyUPP.js} +1 -1
  25. package/web/dist/assets/{run-header-C3oNFHTw.js → run-header-DO-yE5Gj.js} +1 -1
  26. package/web/dist/assets/{skills-DUsxmcGu.js → skills-DRowiHKX.js} +1 -1
  27. package/web/dist/assets/{tab-link-CjkLjjTf.js → tab-link-C5tpLlqv.js} +1 -1
  28. package/web/dist/assets/{task-changes-Brwkn3tJ.js → task-changes-LBnRxH_G.js} +1 -1
  29. package/web/dist/assets/{task-commits-DskL6rzX.js → task-commits-lpE22fPa.js} +1 -1
  30. package/web/dist/assets/{task-files-BJD8fAX4.js → task-files-Dh6SjTQF.js} +1 -1
  31. package/web/dist/assets/task-thread-B_74GvMl.js +9 -0
  32. package/web/dist/assets/{textarea-DZV_YYw9.js → textarea-D_Ce7vp0.js} +1 -1
  33. package/web/dist/assets/{thread-loading-Bet4X9Ow.js → thread-loading-CwnPHwar.js} +1 -1
  34. package/web/dist/assets/{token-metrics-C_zRfWAP.js → token-metrics-BC00XXU8.js} +1 -1
  35. package/web/dist/assets/{workflows-C0RXiAAC.js → workflows-B2Iq2bcd.js} +1 -1
  36. package/web/dist/index.html +12 -12
  37. package/web/dist/assets/index-1w-3-ebj.css +0 -1
  38. package/web/dist/assets/pill-D7x-JgPk.js +0 -1
  39. package/web/dist/assets/task-thread-BaIlrXIF.js +0 -9
@@ -315,10 +315,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
315
315
  };
316
316
  } | {
317
317
  output: {
318
- error: string;
318
+ path: string;
319
+ parent: string | null;
320
+ dirs: {
321
+ name: string;
322
+ path: string;
323
+ isRepo: boolean;
324
+ }[];
325
+ truncated: boolean;
319
326
  };
320
327
  outputFormat: "json";
321
- status: 400 | 404;
328
+ status: import("hono/utils/http-status").ContentfulStatusCode;
322
329
  input: {
323
330
  query: {
324
331
  path?: string | undefined;
@@ -327,17 +334,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
327
334
  };
328
335
  } | {
329
336
  output: {
330
- path: string;
331
- parent: string | null;
332
- dirs: {
333
- name: string;
334
- path: string;
335
- isRepo: boolean;
336
- }[];
337
- truncated: boolean;
337
+ error: string;
338
338
  };
339
339
  outputFormat: "json";
340
- status: import("hono/utils/http-status").ContentfulStatusCode;
340
+ status: 400 | 404;
341
341
  input: {
342
342
  query: {
343
343
  path?: string | undefined;
@@ -349,6 +349,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
349
349
  }, "/"> | import("hono/types").MergeSchemaPath<{
350
350
  "/automation-checks/:checkId": {
351
351
  $get: {
352
+ output: {
353
+ error: string;
354
+ };
355
+ outputFormat: "json";
356
+ status: 404;
357
+ input: {
358
+ param: {
359
+ checkId: string;
360
+ };
361
+ };
362
+ } | {
352
363
  output: {
353
364
  id: string;
354
365
  automationId: string;
@@ -367,17 +378,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
367
378
  checkId: string;
368
379
  };
369
380
  };
370
- } | {
371
- output: {
372
- error: string;
373
- };
374
- outputFormat: "json";
375
- status: 404;
376
- input: {
377
- param: {
378
- checkId: string;
379
- };
380
- };
381
381
  };
382
382
  };
383
383
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -470,17 +470,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
470
470
  projectId: string | string[];
471
471
  };
472
472
  };
473
- } | {
474
- output: {
475
- error: string;
476
- };
477
- outputFormat: "json";
478
- status: 404 | 409;
479
- input: {
480
- query: {
481
- projectId: string | string[];
482
- };
483
- };
484
473
  } | {
485
474
  output: {
486
475
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -507,6 +496,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
507
496
  projectId: string | string[];
508
497
  };
509
498
  };
499
+ } | {
500
+ output: {
501
+ error: string;
502
+ };
503
+ outputFormat: "json";
504
+ status: 404 | 409;
505
+ input: {
506
+ query: {
507
+ projectId: string | string[];
508
+ };
509
+ };
510
510
  };
511
511
  };
512
512
  } & {
@@ -645,17 +645,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
645
645
  };
646
646
  } | {
647
647
  output: {
648
- providers: {
649
- provider: ProviderId;
650
- status: import("../core/provider-auth.ts").ProviderConnectionState;
651
- enabled?: boolean;
652
- hint?: string;
653
- authFailureId?: string;
654
- profileId?: string;
655
- }[];
648
+ error: string;
656
649
  };
657
650
  outputFormat: "json";
658
- status: import("hono/utils/http-status").ContentfulStatusCode;
651
+ status: 500;
659
652
  input: {
660
653
  param: {
661
654
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -667,10 +660,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
667
660
  };
668
661
  } | {
669
662
  output: {
670
- error: string;
663
+ providers: {
664
+ provider: ProviderId;
665
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
666
+ enabled?: boolean;
667
+ hint?: string;
668
+ authFailureId?: string;
669
+ profileId?: string;
670
+ }[];
671
671
  };
672
672
  outputFormat: "json";
673
- status: 500;
673
+ status: import("hono/utils/http-status").ContentfulStatusCode;
674
674
  input: {
675
675
  param: {
676
676
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -702,17 +702,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
702
702
  };
703
703
  } | {
704
704
  output: {
705
- providers: {
706
- provider: ProviderId;
707
- status: import("../core/provider-auth.ts").ProviderConnectionState;
708
- enabled?: boolean;
709
- hint?: string;
710
- authFailureId?: string;
711
- profileId?: string;
712
- }[];
705
+ error: string;
713
706
  };
714
707
  outputFormat: "json";
715
- status: import("hono/utils/http-status").ContentfulStatusCode;
708
+ status: 409;
716
709
  input: {
717
710
  param: {
718
711
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -724,10 +717,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
724
717
  };
725
718
  } | {
726
719
  output: {
727
- error: string;
720
+ providers: {
721
+ provider: ProviderId;
722
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
723
+ enabled?: boolean;
724
+ hint?: string;
725
+ authFailureId?: string;
726
+ profileId?: string;
727
+ }[];
728
728
  };
729
729
  outputFormat: "json";
730
- status: 409;
730
+ status: import("hono/utils/http-status").ContentfulStatusCode;
731
731
  input: {
732
732
  param: {
733
733
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -746,7 +746,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
746
746
  error: string;
747
747
  };
748
748
  outputFormat: "json";
749
- status: 409;
749
+ status: 400;
750
750
  input: {
751
751
  json: {
752
752
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -758,7 +758,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
758
758
  error: string;
759
759
  };
760
760
  outputFormat: "json";
761
- status: 400;
761
+ status: 409;
762
762
  input: {
763
763
  json: {
764
764
  provider: "claude" | "codex" | "opencode" | "pi";
@@ -846,35 +846,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
846
846
  "/workspace/config": {
847
847
  $put: {
848
848
  output: {
849
- browseRoot: string;
850
- projectsDir: string;
851
- skillsAutoUpdate: boolean | null;
852
- effectiveSkillsAutoUpdate: boolean;
853
- composerDefaults: {
854
- autonomous: boolean | null;
855
- worktree: boolean | null;
856
- inheritedAutonomous: boolean | 'source-dependent';
857
- inheritedWorktree: boolean;
858
- };
859
- resources: {
860
- maxParallel: number;
861
- maxMonitoringSessions: number;
862
- monitoringWakeIntervalMinutes: number | null;
863
- autoResumeOnUsageLimit: boolean;
864
- memoryLimitMb: number | null;
865
- worktreeRetentionDefault: number;
866
- };
867
- agentDefaults: {
868
- runner?: ProviderId;
869
- models?: {
870
- claude?: string;
871
- codex?: string;
872
- opencode?: string;
873
- } | undefined;
874
- };
849
+ error: string;
875
850
  };
876
851
  outputFormat: "json";
877
- status: import("hono/utils/http-status").ContentfulStatusCode;
852
+ status: 400;
878
853
  input: {
879
854
  json: {
880
855
  browseRoot?: string | undefined;
@@ -908,7 +883,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
908
883
  error: string;
909
884
  };
910
885
  outputFormat: "json";
911
- status: 400;
886
+ status: 500;
912
887
  input: {
913
888
  json: {
914
889
  browseRoot?: string | undefined;
@@ -939,10 +914,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
939
914
  };
940
915
  } | {
941
916
  output: {
942
- error: string;
917
+ browseRoot: string;
918
+ projectsDir: string;
919
+ skillsAutoUpdate: boolean | null;
920
+ effectiveSkillsAutoUpdate: boolean;
921
+ composerDefaults: {
922
+ autonomous: boolean | null;
923
+ worktree: boolean | null;
924
+ inheritedAutonomous: boolean | 'source-dependent';
925
+ inheritedWorktree: boolean;
926
+ };
927
+ resources: {
928
+ maxParallel: number;
929
+ maxMonitoringSessions: number;
930
+ monitoringWakeIntervalMinutes: number | null;
931
+ autoResumeOnUsageLimit: boolean;
932
+ memoryLimitMb: number | null;
933
+ worktreeRetentionDefault: number;
934
+ };
935
+ agentDefaults: {
936
+ runner?: ProviderId;
937
+ models?: {
938
+ claude?: string;
939
+ codex?: string;
940
+ opencode?: string;
941
+ } | undefined;
942
+ };
943
943
  };
944
944
  outputFormat: "json";
945
- status: 500;
945
+ status: import("hono/utils/http-status").ContentfulStatusCode;
946
946
  input: {
947
947
  json: {
948
948
  browseRoot?: string | undefined;
@@ -1022,44 +1022,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1022
1022
  "/workspace/ui-state": {
1023
1023
  $put: {
1024
1024
  output: {
1025
- [x: string]: import("hono/utils/types").JSONValue;
1026
- sidebar?: {
1027
- [x: string]: import("hono/utils/types").JSONValue;
1028
- collapsed?: {
1029
- [x: string]: boolean;
1030
- } | undefined;
1031
- } | undefined;
1032
- dismissedProviderAuthFailures?: {
1033
- claude?: string | undefined;
1034
- codex?: string | undefined;
1035
- opencode?: string | undefined;
1036
- pi?: string | undefined;
1037
- } | undefined;
1038
- appearance?: {
1039
- accent?: "cezarion" | "lime" | "violet" | undefined;
1040
- density?: "comfortable" | "compact" | "ultra" | undefined;
1041
- width?: "narrow" | "wide" | undefined;
1042
- } | undefined;
1043
- notifications?: {
1044
- [x: string]: import("hono/utils/types").JSONValue;
1045
- enabled?: boolean | undefined;
1046
- } | undefined;
1047
- taskTable?: {
1048
- [x: string]: import("hono/utils/types").JSONValue;
1049
- expandedColumns?: {
1050
- [x: string]: boolean;
1051
- } | undefined;
1052
- } | undefined;
1053
- lastLocation?: {
1054
- projectId: string;
1055
- pathname: string;
1056
- search?: string | undefined;
1057
- hash?: string | undefined;
1058
- } | undefined;
1059
- importedSkills?: string[] | undefined;
1025
+ error: string;
1060
1026
  };
1061
1027
  outputFormat: "json";
1062
- status: import("hono/utils/http-status").ContentfulStatusCode;
1028
+ status: 500;
1063
1029
  input: {
1064
1030
  json: {
1065
1031
  [x: string]: unknown;
@@ -1097,10 +1063,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1097
1063
  };
1098
1064
  } | {
1099
1065
  output: {
1100
- error: string;
1066
+ [x: string]: import("hono/utils/types").JSONValue;
1067
+ sidebar?: {
1068
+ [x: string]: import("hono/utils/types").JSONValue;
1069
+ collapsed?: {
1070
+ [x: string]: boolean;
1071
+ } | undefined;
1072
+ } | undefined;
1073
+ dismissedProviderAuthFailures?: {
1074
+ claude?: string | undefined;
1075
+ codex?: string | undefined;
1076
+ opencode?: string | undefined;
1077
+ pi?: string | undefined;
1078
+ } | undefined;
1079
+ appearance?: {
1080
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1081
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1082
+ width?: "narrow" | "wide" | undefined;
1083
+ } | undefined;
1084
+ notifications?: {
1085
+ [x: string]: import("hono/utils/types").JSONValue;
1086
+ enabled?: boolean | undefined;
1087
+ } | undefined;
1088
+ taskTable?: {
1089
+ [x: string]: import("hono/utils/types").JSONValue;
1090
+ expandedColumns?: {
1091
+ [x: string]: boolean;
1092
+ } | undefined;
1093
+ } | undefined;
1094
+ lastLocation?: {
1095
+ projectId: string;
1096
+ pathname: string;
1097
+ search?: string | undefined;
1098
+ hash?: string | undefined;
1099
+ } | undefined;
1100
+ importedSkills?: string[] | undefined;
1101
1101
  };
1102
1102
  outputFormat: "json";
1103
- status: 500;
1103
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1104
1104
  input: {
1105
1105
  json: {
1106
1106
  [x: string]: unknown;
@@ -1230,7 +1230,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1230
1230
  error: string;
1231
1231
  };
1232
1232
  outputFormat: "json";
1233
- status: 409;
1233
+ status: 404;
1234
1234
  input: {
1235
1235
  param: {
1236
1236
  projectId: string;
@@ -1241,7 +1241,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1241
1241
  error: string;
1242
1242
  };
1243
1243
  outputFormat: "json";
1244
- status: 404;
1244
+ status: 409;
1245
1245
  input: {
1246
1246
  param: {
1247
1247
  projectId: string;
@@ -1279,7 +1279,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1279
1279
  error: string;
1280
1280
  };
1281
1281
  outputFormat: "json";
1282
- status: 409;
1282
+ status: 404;
1283
1283
  input: {
1284
1284
  json: {
1285
1285
  maxParallel?: number | null | undefined;
@@ -1295,7 +1295,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1295
1295
  error: string;
1296
1296
  };
1297
1297
  outputFormat: "json";
1298
- status: 404;
1298
+ status: 409;
1299
1299
  input: {
1300
1300
  json: {
1301
1301
  maxParallel?: number | null | undefined;
@@ -1472,45 +1472,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1472
1472
  } & {
1473
1473
  "/workspace/agent-profiles": {
1474
1474
  $post: {
1475
- output: {
1476
- error: string;
1477
- };
1478
- outputFormat: "json";
1479
- status: 409;
1480
- input: {
1481
- json: {
1482
- provider: "claude" | "codex" | "opencode" | "pi";
1483
- label?: string | undefined;
1484
- configDir: string;
1485
- };
1486
- };
1487
- } | {
1488
- output: {
1489
- error: string;
1490
- };
1491
- outputFormat: "json";
1492
- status: 400;
1493
- input: {
1494
- json: {
1495
- provider: "claude" | "codex" | "opencode" | "pi";
1496
- label?: string | undefined;
1497
- configDir: string;
1498
- };
1499
- };
1500
- } | {
1501
- output: {
1502
- error: string;
1503
- };
1504
- outputFormat: "json";
1505
- status: 500;
1506
- input: {
1507
- json: {
1508
- provider: "claude" | "codex" | "opencode" | "pi";
1509
- label?: string | undefined;
1510
- configDir: string;
1511
- };
1512
- };
1513
- } | {
1514
1475
  output: {
1515
1476
  profile: {
1516
1477
  exists: boolean;
@@ -1561,6 +1522,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1561
1522
  configDir: string;
1562
1523
  };
1563
1524
  };
1525
+ } | {
1526
+ output: {
1527
+ error: string;
1528
+ };
1529
+ outputFormat: "json";
1530
+ status: 400;
1531
+ input: {
1532
+ json: {
1533
+ provider: "claude" | "codex" | "opencode" | "pi";
1534
+ label?: string | undefined;
1535
+ configDir: string;
1536
+ };
1537
+ };
1538
+ } | {
1539
+ output: {
1540
+ error: string;
1541
+ };
1542
+ outputFormat: "json";
1543
+ status: 409;
1544
+ input: {
1545
+ json: {
1546
+ provider: "claude" | "codex" | "opencode" | "pi";
1547
+ label?: string | undefined;
1548
+ configDir: string;
1549
+ };
1550
+ };
1551
+ } | {
1552
+ output: {
1553
+ error: string;
1554
+ };
1555
+ outputFormat: "json";
1556
+ status: 500;
1557
+ input: {
1558
+ json: {
1559
+ provider: "claude" | "codex" | "opencode" | "pi";
1560
+ label?: string | undefined;
1561
+ configDir: string;
1562
+ };
1563
+ };
1564
1564
  };
1565
1565
  };
1566
1566
  } & {
@@ -1587,7 +1587,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1587
1587
  error: string;
1588
1588
  };
1589
1589
  outputFormat: "json";
1590
- status: 409;
1590
+ status: 400;
1591
1591
  input: {
1592
1592
  param: {
1593
1593
  id: string;
@@ -1603,7 +1603,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1603
1603
  error: string;
1604
1604
  };
1605
1605
  outputFormat: "json";
1606
- status: 400;
1606
+ status: 404;
1607
1607
  input: {
1608
1608
  param: {
1609
1609
  id: string;
@@ -1619,7 +1619,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1619
1619
  error: string;
1620
1620
  };
1621
1621
  outputFormat: "json";
1622
- status: 404;
1622
+ status: 409;
1623
1623
  input: {
1624
1624
  param: {
1625
1625
  id: string;
@@ -1725,7 +1725,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1725
1725
  error: string;
1726
1726
  };
1727
1727
  outputFormat: "json";
1728
- status: 409;
1728
+ status: 404;
1729
1729
  input: {
1730
1730
  param: {
1731
1731
  id: string;
@@ -1740,7 +1740,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1740
1740
  error: string;
1741
1741
  };
1742
1742
  outputFormat: "json";
1743
- status: 404;
1743
+ status: 409;
1744
1744
  input: {
1745
1745
  param: {
1746
1746
  id: string;
@@ -1793,7 +1793,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1793
1793
  error: string;
1794
1794
  };
1795
1795
  outputFormat: "json";
1796
- status: 409;
1796
+ status: 404;
1797
1797
  input: {
1798
1798
  param: {
1799
1799
  id: string;
@@ -1804,7 +1804,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1804
1804
  error: string;
1805
1805
  };
1806
1806
  outputFormat: "json";
1807
- status: 404;
1807
+ status: 409;
1808
1808
  input: {
1809
1809
  param: {
1810
1810
  id: string;
@@ -1852,7 +1852,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1852
1852
  error: string;
1853
1853
  };
1854
1854
  outputFormat: "json";
1855
- status: 409;
1855
+ status: 400;
1856
1856
  input: {
1857
1857
  param: {
1858
1858
  id: string;
@@ -1884,7 +1884,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1884
1884
  error: string;
1885
1885
  };
1886
1886
  outputFormat: "json";
1887
- status: 400;
1887
+ status: 409;
1888
1888
  input: {
1889
1889
  param: {
1890
1890
  id: string;
@@ -1921,7 +1921,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1921
1921
  error: string;
1922
1922
  };
1923
1923
  outputFormat: "json";
1924
- status: 409;
1924
+ status: 400;
1925
1925
  input: {
1926
1926
  json: {
1927
1927
  projectId: string | null;
@@ -1947,7 +1947,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1947
1947
  error: string;
1948
1948
  };
1949
1949
  outputFormat: "json";
1950
- status: 400;
1950
+ status: 409;
1951
1951
  input: {
1952
1952
  json: {
1953
1953
  projectId: string | null;
@@ -2017,7 +2017,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2017
2017
  error: string;
2018
2018
  };
2019
2019
  outputFormat: "json";
2020
- status: 409;
2020
+ status: 404;
2021
2021
  input: {
2022
2022
  param: {
2023
2023
  id: string;
@@ -2028,7 +2028,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2028
2028
  error: string;
2029
2029
  };
2030
2030
  outputFormat: "json";
2031
- status: 500;
2031
+ status: 409;
2032
2032
  input: {
2033
2033
  param: {
2034
2034
  id: string;
@@ -2039,7 +2039,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2039
2039
  error: string;
2040
2040
  };
2041
2041
  outputFormat: "json";
2042
- status: 404;
2042
+ status: 500;
2043
2043
  input: {
2044
2044
  param: {
2045
2045
  id: string;
@@ -2711,7 +2711,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2711
2711
  error: string;
2712
2712
  };
2713
2713
  outputFormat: "json";
2714
- status: 409;
2714
+ status: 400;
2715
2715
  input: {
2716
2716
  json: {
2717
2717
  target: string;
@@ -2722,7 +2722,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2722
2722
  error: string;
2723
2723
  };
2724
2724
  outputFormat: "json";
2725
- status: 400;
2725
+ status: 409;
2726
2726
  input: {
2727
2727
  json: {
2728
2728
  target: string;
@@ -2781,9 +2781,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2781
2781
  }, "/"> | import("hono/types").MergeSchemaPath<{
2782
2782
  "/runs/:id/events": {
2783
2783
  $get: {
2784
- output: {};
2785
- outputFormat: string;
2786
- status: import("hono/utils/http-status").StatusCode;
2784
+ output: {
2785
+ error: string;
2786
+ code?: "invalid_input" | undefined;
2787
+ };
2788
+ outputFormat: "json";
2789
+ status: 400;
2787
2790
  input: {
2788
2791
  param: {
2789
2792
  id: string;
@@ -2795,12 +2798,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2795
2798
  };
2796
2799
  };
2797
2800
  } | {
2798
- output: {
2799
- error: string;
2800
- code?: "invalid_input" | undefined;
2801
- };
2802
- outputFormat: "json";
2803
- status: 400;
2801
+ output: {};
2802
+ outputFormat: string;
2803
+ status: import("hono/utils/http-status").StatusCode;
2804
2804
  input: {
2805
2805
  param: {
2806
2806
  id: string;
@@ -2851,24 +2851,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2851
2851
  "/config": {
2852
2852
  $put: {
2853
2853
  output: {
2854
- baseBranch: string | null;
2855
- defaultRunner: "claude" | "codex" | "opencode" | "pi";
2856
- systemPrompt: string | null;
2857
- defaultModels: {
2858
- claude?: string | undefined;
2859
- codex?: string | undefined;
2860
- opencode?: string | undefined;
2861
- pi?: string | undefined;
2862
- };
2863
- modelsLocked: boolean;
2864
- maxParallel: number;
2865
- memoryLimitMb: number | null;
2866
- worktreeRetention: number;
2867
- liveTitleUpdates: boolean | null;
2868
- reviewGate: boolean | null;
2854
+ error: string;
2869
2855
  };
2870
2856
  outputFormat: "json";
2871
- status: import("hono/utils/http-status").ContentfulStatusCode;
2857
+ status: 409;
2872
2858
  input: {
2873
2859
  json: {
2874
2860
  baseBranch?: string | null | undefined;
@@ -2892,7 +2878,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2892
2878
  error: string;
2893
2879
  };
2894
2880
  outputFormat: "json";
2895
- status: 409;
2881
+ status: 500;
2896
2882
  input: {
2897
2883
  json: {
2898
2884
  baseBranch?: string | null | undefined;
@@ -2913,10 +2899,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2913
2899
  };
2914
2900
  } | {
2915
2901
  output: {
2916
- error: string;
2902
+ baseBranch: string | null;
2903
+ defaultRunner: "claude" | "codex" | "opencode" | "pi";
2904
+ systemPrompt: string | null;
2905
+ defaultModels: {
2906
+ claude?: string | undefined;
2907
+ codex?: string | undefined;
2908
+ opencode?: string | undefined;
2909
+ pi?: string | undefined;
2910
+ };
2911
+ modelsLocked: boolean;
2912
+ maxParallel: number;
2913
+ memoryLimitMb: number | null;
2914
+ worktreeRetention: number;
2915
+ liveTitleUpdates: boolean | null;
2916
+ reviewGate: boolean | null;
2917
2917
  };
2918
2918
  outputFormat: "json";
2919
- status: 500;
2919
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2920
2920
  input: {
2921
2921
  json: {
2922
2922
  baseBranch?: string | null | undefined;
@@ -2940,6 +2940,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2940
2940
  }, "/"> | import("hono/types").MergeSchemaPath<{
2941
2941
  "/skills": {
2942
2942
  $get: {
2943
+ output: {
2944
+ error: string;
2945
+ code?: "invalid_input" | undefined;
2946
+ };
2947
+ outputFormat: "json";
2948
+ status: 400;
2949
+ input: {
2950
+ query: {
2951
+ wait?: string | undefined;
2952
+ };
2953
+ };
2954
+ } | {
2943
2955
  output: {
2944
2956
  name: string;
2945
2957
  description?: string;
@@ -2962,7 +2974,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2962
2974
  wait?: string | undefined;
2963
2975
  };
2964
2976
  };
2965
- } | {
2977
+ };
2978
+ };
2979
+ } & {
2980
+ "/skills/importable": {
2981
+ $get: {
2966
2982
  output: {
2967
2983
  error: string;
2968
2984
  code?: "invalid_input" | undefined;
@@ -2974,11 +2990,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2974
2990
  wait?: string | undefined;
2975
2991
  };
2976
2992
  };
2977
- };
2978
- };
2979
- } & {
2980
- "/skills/importable": {
2981
- $get: {
2993
+ } | {
2982
2994
  output: {
2983
2995
  name: string;
2984
2996
  description?: string | undefined;
@@ -2990,18 +3002,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2990
3002
  wait?: string | undefined;
2991
3003
  };
2992
3004
  };
2993
- } | {
2994
- output: {
2995
- error: string;
2996
- code?: "invalid_input" | undefined;
2997
- };
2998
- outputFormat: "json";
2999
- status: 400;
3000
- input: {
3001
- query: {
3002
- wait?: string | undefined;
3003
- };
3004
- };
3005
3005
  };
3006
3006
  };
3007
3007
  } & {
@@ -3055,7 +3055,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3055
3055
  error: string;
3056
3056
  };
3057
3057
  outputFormat: "json";
3058
- status: 409;
3058
+ status: 404;
3059
3059
  input: {
3060
3060
  param: {
3061
3061
  id: string;
@@ -3063,10 +3063,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3063
3063
  };
3064
3064
  } | {
3065
3065
  output: {
3066
- removed: true;
3066
+ error: string;
3067
3067
  };
3068
3068
  outputFormat: "json";
3069
- status: import("hono/utils/http-status").ContentfulStatusCode;
3069
+ status: 409;
3070
3070
  input: {
3071
3071
  param: {
3072
3072
  id: string;
@@ -3074,10 +3074,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3074
3074
  };
3075
3075
  } | {
3076
3076
  output: {
3077
- error: string;
3077
+ removed: true;
3078
3078
  };
3079
3079
  outputFormat: "json";
3080
- status: 404;
3080
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3081
3081
  input: {
3082
3082
  param: {
3083
3083
  id: string;
@@ -3088,24 +3088,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3088
3088
  } & {
3089
3089
  "/todos/:id/start": {
3090
3090
  $post: {
3091
- output: {
3092
- error: string;
3093
- };
3094
- outputFormat: "json";
3095
- status: 409;
3096
- input: {
3097
- json: {
3098
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
3099
- model?: string | undefined;
3100
- effort?: string | undefined;
3101
- prompt?: string | undefined;
3102
- } | undefined;
3103
- } & {
3104
- param: {
3105
- id: string;
3106
- };
3107
- };
3108
- } | {
3109
3091
  output: {
3110
3092
  run: {
3111
3093
  id: string;
@@ -3466,6 +3448,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3466
3448
  id: string;
3467
3449
  };
3468
3450
  };
3451
+ } | {
3452
+ output: {
3453
+ error: string;
3454
+ };
3455
+ outputFormat: "json";
3456
+ status: 404;
3457
+ input: {
3458
+ json: {
3459
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
3460
+ model?: string | undefined;
3461
+ effort?: string | undefined;
3462
+ prompt?: string | undefined;
3463
+ } | undefined;
3464
+ } & {
3465
+ param: {
3466
+ id: string;
3467
+ };
3468
+ };
3469
3469
  } | {
3470
3470
  output: {
3471
3471
  error: string;
@@ -3489,7 +3489,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3489
3489
  error: string;
3490
3490
  };
3491
3491
  outputFormat: "json";
3492
- status: 404;
3492
+ status: 409;
3493
3493
  input: {
3494
3494
  json: {
3495
3495
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -3592,14 +3592,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3592
3592
  "/agent-config/:id": {
3593
3593
  $put: {
3594
3594
  output: {
3595
- id: string;
3596
- path: string;
3597
- exists: boolean;
3598
- content: string;
3599
- version: string | null;
3595
+ error: string;
3600
3596
  };
3601
3597
  outputFormat: "json";
3602
- status: import("hono/utils/http-status").ContentfulStatusCode;
3598
+ status: 404;
3603
3599
  input: {
3604
3600
  json: {
3605
3601
  content: string;
@@ -3612,10 +3608,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3612
3608
  };
3613
3609
  } | {
3614
3610
  output: {
3615
- error: string;
3611
+ id: string;
3612
+ path: string;
3613
+ exists: boolean;
3614
+ content: string;
3615
+ version: string | null;
3616
3616
  };
3617
3617
  outputFormat: "json";
3618
- status: 404;
3618
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3619
3619
  input: {
3620
3620
  json: {
3621
3621
  content: string;
@@ -3683,10 +3683,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3683
3683
  "/workflows": {
3684
3684
  $post: {
3685
3685
  output: {
3686
- error: string;
3686
+ path: string;
3687
+ name: string;
3687
3688
  };
3688
3689
  outputFormat: "json";
3689
- status: 400;
3690
+ status: 201;
3690
3691
  input: {
3691
3692
  json: {
3692
3693
  name: string;
@@ -3713,10 +3714,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3713
3714
  } | {
3714
3715
  output: {
3715
3716
  error: string;
3716
- exists: true;
3717
3717
  };
3718
3718
  outputFormat: "json";
3719
- status: 409;
3719
+ status: 400;
3720
3720
  input: {
3721
3721
  json: {
3722
3722
  name: string;
@@ -3743,9 +3743,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3743
3743
  } | {
3744
3744
  output: {
3745
3745
  error: string;
3746
+ exists: true;
3746
3747
  };
3747
3748
  outputFormat: "json";
3748
- status: 500;
3749
+ status: 409;
3749
3750
  input: {
3750
3751
  json: {
3751
3752
  name: string;
@@ -3771,11 +3772,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3771
3772
  };
3772
3773
  } | {
3773
3774
  output: {
3774
- path: string;
3775
- name: string;
3775
+ error: string;
3776
3776
  };
3777
3777
  outputFormat: "json";
3778
- status: 201;
3778
+ status: 500;
3779
3779
  input: {
3780
3780
  json: {
3781
3781
  name: string;
@@ -3808,7 +3808,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3808
3808
  error: string;
3809
3809
  };
3810
3810
  outputFormat: "json";
3811
- status: 404;
3811
+ status: 400;
3812
3812
  input: {
3813
3813
  param: {
3814
3814
  name: string;
@@ -3819,7 +3819,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3819
3819
  error: string;
3820
3820
  };
3821
3821
  outputFormat: "json";
3822
- status: 400;
3822
+ status: 404;
3823
3823
  input: {
3824
3824
  param: {
3825
3825
  name: string;
@@ -3942,9 +3942,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3942
3942
  } & {
3943
3943
  "/repo/commit/:sha": {
3944
3944
  $get: {
3945
- output: string;
3946
- outputFormat: "text";
3947
- status: import("hono/utils/http-status").ContentfulStatusCode;
3945
+ output: {
3946
+ error: string;
3947
+ code?: "invalid_input" | undefined;
3948
+ };
3949
+ outputFormat: "json";
3950
+ status: 400;
3948
3951
  input: {
3949
3952
  query: {
3950
3953
  structured?: string | undefined;
@@ -3957,10 +3960,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3957
3960
  } | {
3958
3961
  output: {
3959
3962
  error: string;
3960
- code?: "invalid_input" | undefined;
3961
3963
  };
3962
3964
  outputFormat: "json";
3963
- status: 400;
3965
+ status: 409;
3964
3966
  input: {
3965
3967
  query: {
3966
3968
  structured?: string | undefined;
@@ -4004,11 +4006,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4004
4006
  };
4005
4007
  };
4006
4008
  } | {
4007
- output: {
4008
- error: string;
4009
- };
4010
- outputFormat: "json";
4011
- status: 409;
4009
+ output: string;
4010
+ outputFormat: "text";
4011
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4012
4012
  input: {
4013
4013
  query: {
4014
4014
  structured?: string | undefined;
@@ -4023,6 +4023,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4023
4023
  } & {
4024
4024
  "/repo/changes": {
4025
4025
  $get: {
4026
+ output: {
4027
+ error: string;
4028
+ };
4029
+ outputFormat: "json";
4030
+ status: 409;
4031
+ input: {};
4032
+ } | {
4026
4033
  output: {
4027
4034
  files: {
4028
4035
  path: string;
@@ -4047,13 +4054,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4047
4054
  outputFormat: "json";
4048
4055
  status: import("hono/utils/http-status").ContentfulStatusCode;
4049
4056
  input: {};
4050
- } | {
4051
- output: {
4052
- error: string;
4053
- };
4054
- outputFormat: "json";
4055
- status: 409;
4056
- input: {};
4057
4057
  };
4058
4058
  };
4059
4059
  } & {
@@ -4078,10 +4078,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4078
4078
  "/repo/pull": {
4079
4079
  $post: {
4080
4080
  output: {
4081
- error: string;
4081
+ branch: string;
4082
+ pulled: true;
4083
+ summary: string;
4082
4084
  };
4083
4085
  outputFormat: "json";
4084
- status: 409;
4086
+ status: 200;
4085
4087
  input: {
4086
4088
  json: {
4087
4089
  branch?: string | undefined;
@@ -4090,12 +4092,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4090
4092
  };
4091
4093
  } | {
4092
4094
  output: {
4093
- branch: string;
4094
- pulled: true;
4095
- summary: string;
4095
+ error: string;
4096
4096
  };
4097
4097
  outputFormat: "json";
4098
- status: 200;
4098
+ status: 409;
4099
4099
  input: {
4100
4100
  json: {
4101
4101
  branch?: string | undefined;
@@ -4811,30 +4811,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4811
4811
  "/automations": {
4812
4812
  $post: {
4813
4813
  output: {
4814
- error: string;
4815
- };
4816
- outputFormat: "json";
4817
- status: 400;
4818
- input: {
4819
- json: {
4814
+ automation: {
4815
+ [x: string]: import("hono/utils/types").JSONValue;
4816
+ id: string;
4817
+ revision: number;
4820
4818
  name: string;
4821
4819
  description?: string | undefined;
4822
- enabled?: boolean | undefined;
4820
+ enabled: boolean;
4823
4821
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4824
4822
  intervalSeconds: number;
4825
4823
  filters: {
4826
- [x: string]: unknown;
4824
+ [x: string]: import("hono/utils/types").JSONValue;
4827
4825
  authors?: string[] | undefined;
4828
4826
  assignees?: string[] | undefined;
4829
4827
  allLabels?: string[] | undefined;
4830
4828
  anyLabels?: string[] | undefined;
4831
4829
  excludeLabels?: string[] | undefined;
4832
4830
  changedLabels?: string[] | undefined;
4833
- lookbackDays?: number | undefined;
4834
- maxRecords?: number | undefined;
4831
+ lookbackDays: number;
4832
+ maxRecords: number;
4835
4833
  };
4836
4834
  task: {
4837
- [x: string]: unknown;
4835
+ [x: string]: import("hono/utils/types").JSONValue;
4838
4836
  prompt: string;
4839
4837
  workflow?: string | undefined;
4840
4838
  steps?: {
@@ -4849,7 +4847,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4849
4847
  command?: string | undefined;
4850
4848
  onFail?: {
4851
4849
  retry: string;
4852
- max?: number | undefined;
4850
+ max: number;
4853
4851
  } | undefined;
4854
4852
  }[] | undefined;
4855
4853
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -4861,33 +4859,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4861
4859
  autonomous?: boolean | undefined;
4862
4860
  systemPrompt?: string | undefined;
4863
4861
  };
4864
- enable?: boolean | undefined;
4862
+ createdAt: string;
4863
+ updatedAt: string;
4865
4864
  };
4866
4865
  };
4867
- } | {
4868
- output: {
4869
- automation: {
4870
- [x: string]: import("hono/utils/types").JSONValue;
4871
- id: string;
4872
- revision: number;
4866
+ outputFormat: "json";
4867
+ status: 201;
4868
+ input: {
4869
+ json: {
4873
4870
  name: string;
4874
4871
  description?: string | undefined;
4875
- enabled: boolean;
4872
+ enabled?: boolean | undefined;
4876
4873
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4877
4874
  intervalSeconds: number;
4878
4875
  filters: {
4879
- [x: string]: import("hono/utils/types").JSONValue;
4876
+ [x: string]: unknown;
4880
4877
  authors?: string[] | undefined;
4881
4878
  assignees?: string[] | undefined;
4882
4879
  allLabels?: string[] | undefined;
4883
4880
  anyLabels?: string[] | undefined;
4884
4881
  excludeLabels?: string[] | undefined;
4885
4882
  changedLabels?: string[] | undefined;
4886
- lookbackDays: number;
4887
- maxRecords: number;
4883
+ lookbackDays?: number | undefined;
4884
+ maxRecords?: number | undefined;
4888
4885
  };
4889
4886
  task: {
4890
- [x: string]: import("hono/utils/types").JSONValue;
4887
+ [x: string]: unknown;
4891
4888
  prompt: string;
4892
4889
  workflow?: string | undefined;
4893
4890
  steps?: {
@@ -4902,7 +4899,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4902
4899
  command?: string | undefined;
4903
4900
  onFail?: {
4904
4901
  retry: string;
4905
- max: number;
4902
+ max?: number | undefined;
4906
4903
  } | undefined;
4907
4904
  }[] | undefined;
4908
4905
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -4914,12 +4911,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4914
4911
  autonomous?: boolean | undefined;
4915
4912
  systemPrompt?: string | undefined;
4916
4913
  };
4917
- createdAt: string;
4918
- updatedAt: string;
4914
+ enable?: boolean | undefined;
4919
4915
  };
4920
4916
  };
4917
+ } | {
4918
+ output: {
4919
+ error: string;
4920
+ };
4921
4921
  outputFormat: "json";
4922
- status: 201;
4922
+ status: 400;
4923
4923
  input: {
4924
4924
  json: {
4925
4925
  name: string;
@@ -5507,10 +5507,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5507
5507
  "/automations/:id/check": {
5508
5508
  $post: {
5509
5509
  output: {
5510
- error: string;
5510
+ checkId: string;
5511
5511
  };
5512
5512
  outputFormat: "json";
5513
- status: 404;
5513
+ status: 202;
5514
5514
  input: {
5515
5515
  json: {
5516
5516
  mode: "execute" | "preview";
@@ -5522,10 +5522,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5522
5522
  };
5523
5523
  } | {
5524
5524
  output: {
5525
- checkId: string;
5525
+ error: string;
5526
5526
  };
5527
5527
  outputFormat: "json";
5528
- status: 202;
5528
+ status: 404;
5529
5529
  input: {
5530
5530
  json: {
5531
5531
  mode: "execute" | "preview";
@@ -5599,10 +5599,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5599
5599
  "/automation-log/:receiptId/retry": {
5600
5600
  $post: {
5601
5601
  output: {
5602
- error: string;
5602
+ receiptId: string;
5603
+ runId: string;
5603
5604
  };
5604
5605
  outputFormat: "json";
5605
- status: 404;
5606
+ status: 202;
5606
5607
  input: {
5607
5608
  param: {
5608
5609
  receiptId: string;
@@ -5613,7 +5614,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5613
5614
  error: string;
5614
5615
  };
5615
5616
  outputFormat: "json";
5616
- status: 409;
5617
+ status: 404;
5617
5618
  input: {
5618
5619
  param: {
5619
5620
  receiptId: string;
@@ -5621,11 +5622,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5621
5622
  };
5622
5623
  } | {
5623
5624
  output: {
5624
- receiptId: string;
5625
- runId: string;
5625
+ error: string;
5626
5626
  };
5627
5627
  outputFormat: "json";
5628
- status: 202;
5628
+ status: 409;
5629
5629
  input: {
5630
5630
  param: {
5631
5631
  receiptId: string;
@@ -6109,11 +6109,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6109
6109
  "/runs/:id/worker-destroy": {
6110
6110
  $post: {
6111
6111
  output: {
6112
- error: string;
6113
- code?: "invalid_input" | undefined;
6112
+ workerId: string;
6113
+ state: "complete" | "incomplete";
6114
+ deleted?: ({
6115
+ kind: "worktree";
6116
+ path: string;
6117
+ } | {
6118
+ kind: "branch";
6119
+ ref: string;
6120
+ })[] | undefined;
6121
+ remaining: ("branch" | "process" | "worktree")[];
6122
+ error?: string | undefined;
6114
6123
  };
6115
6124
  outputFormat: "json";
6116
- status: 400;
6125
+ status: 200;
6117
6126
  input: {
6118
6127
  query: {
6119
6128
  [x: string]: string | string[];
@@ -6127,20 +6136,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6127
6136
  };
6128
6137
  } | {
6129
6138
  output: {
6130
- workerId: string;
6131
- state: "complete" | "incomplete";
6132
- deleted?: ({
6133
- kind: "worktree";
6134
- path: string;
6135
- } | {
6136
- kind: "branch";
6137
- ref: string;
6138
- })[] | undefined;
6139
- remaining: ("branch" | "process" | "worktree")[];
6140
- error?: string | undefined;
6139
+ error: string;
6140
+ code?: "invalid_input" | undefined;
6141
6141
  };
6142
6142
  outputFormat: "json";
6143
- status: 200;
6143
+ status: 400;
6144
6144
  input: {
6145
6145
  query: {
6146
6146
  [x: string]: string | string[];
@@ -6224,6 +6224,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6224
6224
  } & {
6225
6225
  "/runs/:id/archive": {
6226
6226
  $post: {
6227
+ output: {
6228
+ error: string;
6229
+ };
6230
+ outputFormat: "json";
6231
+ status: 404;
6232
+ input: {
6233
+ json: {
6234
+ archived?: boolean | undefined;
6235
+ };
6236
+ } & {
6237
+ param: {
6238
+ id: string;
6239
+ };
6240
+ };
6241
+ } | {
6227
6242
  output: {
6228
6243
  id: string;
6229
6244
  title: string;
@@ -6579,32 +6594,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6579
6594
  id: string;
6580
6595
  };
6581
6596
  };
6582
- } | {
6597
+ };
6598
+ };
6599
+ } & {
6600
+ "/runs/:id/pin": {
6601
+ $post: {
6583
6602
  output: {
6584
6603
  error: string;
6604
+ code?: "invalid_input" | undefined;
6585
6605
  };
6586
6606
  outputFormat: "json";
6587
- status: 404;
6607
+ status: 400;
6588
6608
  input: {
6589
- json: {
6590
- archived?: boolean | undefined;
6591
- };
6592
- } & {
6593
6609
  param: {
6594
6610
  id: string;
6595
6611
  };
6612
+ } & {
6613
+ json: {
6614
+ pinned?: boolean | undefined;
6615
+ };
6596
6616
  };
6597
- };
6598
- };
6599
- } & {
6600
- "/runs/:id/pin": {
6601
- $post: {
6617
+ } | {
6602
6618
  output: {
6603
6619
  error: string;
6604
- code?: "invalid_input" | undefined;
6605
6620
  };
6606
6621
  outputFormat: "json";
6607
- status: 400;
6622
+ status: 404;
6608
6623
  input: {
6609
6624
  param: {
6610
6625
  id: string;
@@ -6970,21 +6985,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6970
6985
  pinned?: boolean | undefined;
6971
6986
  };
6972
6987
  };
6973
- } | {
6974
- output: {
6975
- error: string;
6976
- };
6977
- outputFormat: "json";
6978
- status: 404;
6979
- input: {
6980
- param: {
6981
- id: string;
6982
- };
6983
- } & {
6984
- json: {
6985
- pinned?: boolean | undefined;
6986
- };
6987
- };
6988
6988
  };
6989
6989
  };
6990
6990
  } & {
@@ -7016,6 +7016,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7016
7016
  } & {
7017
7017
  "/runs/:id/read": {
7018
7018
  $post: {
7019
+ output: {
7020
+ error: string;
7021
+ };
7022
+ outputFormat: "json";
7023
+ status: 404;
7024
+ input: {
7025
+ param: {
7026
+ id: string;
7027
+ };
7028
+ };
7029
+ } | {
7019
7030
  output: {
7020
7031
  id: string;
7021
7032
  title: string;
@@ -7367,7 +7378,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7367
7378
  id: string;
7368
7379
  };
7369
7380
  };
7370
- } | {
7381
+ };
7382
+ };
7383
+ } & {
7384
+ "/runs/:id/unread": {
7385
+ $post: {
7371
7386
  output: {
7372
7387
  error: string;
7373
7388
  };
@@ -7378,11 +7393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7378
7393
  id: string;
7379
7394
  };
7380
7395
  };
7381
- };
7382
- };
7383
- } & {
7384
- "/runs/:id/unread": {
7385
- $post: {
7396
+ } | {
7386
7397
  output: {
7387
7398
  id: string;
7388
7399
  title: string;
@@ -7734,17 +7745,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7734
7745
  id: string;
7735
7746
  };
7736
7747
  };
7737
- } | {
7738
- output: {
7739
- error: string;
7740
- };
7741
- outputFormat: "json";
7742
- status: 404;
7743
- input: {
7744
- param: {
7745
- id: string;
7746
- };
7747
- };
7748
7748
  };
7749
7749
  };
7750
7750
  } & {
@@ -8040,148 +8040,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8040
8040
  groupId?: string | undefined;
8041
8041
  variant?: string | undefined;
8042
8042
  peakRssBytes?: number | undefined;
8043
- peakProcCount?: number | undefined;
8044
- archived: boolean;
8045
- archivedAt?: string | undefined;
8046
- pinned?: boolean | undefined;
8047
- pinnedAt?: string | undefined;
8048
- seenAt?: string | undefined;
8049
- currentStepId?: string | undefined;
8050
- error?: string | undefined;
8051
- steps: {
8052
- id: string;
8053
- name: string;
8054
- kind: "agent" | "check";
8055
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
8056
- iterations: number;
8057
- retriesUsed?: number | undefined;
8058
- tokensUsed: number;
8059
- inputTokens?: number | undefined;
8060
- outputTokens?: number | undefined;
8061
- usageInvocationsStarted?: number | undefined;
8062
- usageInvocationsObserved?: number | undefined;
8063
- usageTurnsStarted?: number | undefined;
8064
- usageTurnsRecorded?: number | undefined;
8065
- usageInvocationEpoch?: number | undefined;
8066
- startedAt?: string | undefined;
8067
- finishedAt?: string | undefined;
8068
- error?: string | undefined;
8069
- sessionId?: string | undefined;
8070
- backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
8071
- profileId?: string | undefined;
8072
- costUsd?: number | undefined;
8073
- synthetic?: "continuation" | undefined;
8074
- }[];
8075
- workflowDef?: {
8076
- name: string;
8077
- description?: string | undefined;
8078
- steps: {
8079
- id: string;
8080
- name?: string | undefined;
8081
- prompt?: string | undefined;
8082
- skill?: string | undefined;
8083
- model?: string | undefined;
8084
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8085
- allowedTools?: string[] | undefined;
8086
- bashAllowlist?: string[] | undefined;
8087
- command?: string | undefined;
8088
- onFail?: {
8089
- retry: string;
8090
- max: number;
8091
- } | undefined;
8092
- }[];
8093
- source: "built-in" | "file";
8094
- path?: string | undefined;
8095
- } | undefined;
8096
- };
8097
- outputFormat: "json";
8098
- status: 201;
8099
- input: {
8100
- json: {
8101
- workflow?: string | undefined;
8102
- steps?: {
8103
- id: string;
8104
- name?: string | undefined;
8105
- prompt?: string | undefined;
8106
- skill?: string | undefined;
8107
- model?: string | undefined;
8108
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8109
- allowedTools?: string[] | undefined;
8110
- bashAllowlist?: string[] | undefined;
8111
- command?: string | undefined;
8112
- onFail?: {
8113
- retry: string;
8114
- max?: number | undefined;
8115
- } | undefined;
8116
- }[] | undefined;
8117
- task: string;
8118
- model?: string | undefined;
8119
- effort?: string | undefined;
8120
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8121
- agentProfile?: string | undefined;
8122
- variants?: number | undefined;
8123
- worktree?: boolean | undefined;
8124
- autonomous?: boolean | undefined;
8125
- generateFollowups?: boolean | undefined;
8126
- systemPrompt?: string | undefined;
8127
- images?: {
8128
- mediaType: string;
8129
- data: string;
8130
- }[] | undefined;
8131
- todoId?: string | undefined;
8132
- };
8133
- };
8134
- } | {
8135
- output: {
8136
- error: string;
8137
- };
8138
- outputFormat: "json";
8139
- status: 409;
8140
- input: {
8141
- json: {
8142
- workflow?: string | undefined;
8143
- steps?: {
8144
- id: string;
8145
- name?: string | undefined;
8146
- prompt?: string | undefined;
8147
- skill?: string | undefined;
8148
- model?: string | undefined;
8149
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8150
- allowedTools?: string[] | undefined;
8151
- bashAllowlist?: string[] | undefined;
8152
- command?: string | undefined;
8153
- onFail?: {
8154
- retry: string;
8155
- max?: number | undefined;
8156
- } | undefined;
8157
- }[] | undefined;
8158
- task: string;
8159
- model?: string | undefined;
8160
- effort?: string | undefined;
8161
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8162
- agentProfile?: string | undefined;
8163
- variants?: number | undefined;
8164
- worktree?: boolean | undefined;
8165
- autonomous?: boolean | undefined;
8166
- generateFollowups?: boolean | undefined;
8167
- systemPrompt?: string | undefined;
8168
- images?: {
8169
- mediaType: string;
8170
- data: string;
8171
- }[] | undefined;
8172
- todoId?: string | undefined;
8173
- };
8174
- };
8175
- } | {
8176
- output: {
8177
- error: string;
8178
- };
8179
- outputFormat: "json";
8180
- status: 400;
8181
- input: {
8182
- json: {
8183
- workflow?: string | undefined;
8184
- steps?: {
8043
+ peakProcCount?: number | undefined;
8044
+ archived: boolean;
8045
+ archivedAt?: string | undefined;
8046
+ pinned?: boolean | undefined;
8047
+ pinnedAt?: string | undefined;
8048
+ seenAt?: string | undefined;
8049
+ currentStepId?: string | undefined;
8050
+ error?: string | undefined;
8051
+ steps: {
8052
+ id: string;
8053
+ name: string;
8054
+ kind: "agent" | "check";
8055
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
8056
+ iterations: number;
8057
+ retriesUsed?: number | undefined;
8058
+ tokensUsed: number;
8059
+ inputTokens?: number | undefined;
8060
+ outputTokens?: number | undefined;
8061
+ usageInvocationsStarted?: number | undefined;
8062
+ usageInvocationsObserved?: number | undefined;
8063
+ usageTurnsStarted?: number | undefined;
8064
+ usageTurnsRecorded?: number | undefined;
8065
+ usageInvocationEpoch?: number | undefined;
8066
+ startedAt?: string | undefined;
8067
+ finishedAt?: string | undefined;
8068
+ error?: string | undefined;
8069
+ sessionId?: string | undefined;
8070
+ backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
8071
+ profileId?: string | undefined;
8072
+ costUsd?: number | undefined;
8073
+ synthetic?: "continuation" | undefined;
8074
+ }[];
8075
+ workflowDef?: {
8076
+ name: string;
8077
+ description?: string | undefined;
8078
+ steps: {
8185
8079
  id: string;
8186
8080
  name?: string | undefined;
8187
8081
  prompt?: string | undefined;
@@ -8193,32 +8087,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8193
8087
  command?: string | undefined;
8194
8088
  onFail?: {
8195
8089
  retry: string;
8196
- max?: number | undefined;
8090
+ max: number;
8197
8091
  } | undefined;
8198
- }[] | undefined;
8199
- task: string;
8200
- model?: string | undefined;
8201
- effort?: string | undefined;
8202
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8203
- agentProfile?: string | undefined;
8204
- variants?: number | undefined;
8205
- worktree?: boolean | undefined;
8206
- autonomous?: boolean | undefined;
8207
- generateFollowups?: boolean | undefined;
8208
- systemPrompt?: string | undefined;
8209
- images?: {
8210
- mediaType: string;
8211
- data: string;
8212
- }[] | undefined;
8213
- todoId?: string | undefined;
8214
- };
8215
- };
8216
- } | {
8217
- output: {
8218
- error: string;
8092
+ }[];
8093
+ source: "built-in" | "file";
8094
+ path?: string | undefined;
8095
+ } | undefined;
8219
8096
  };
8220
8097
  outputFormat: "json";
8221
- status: 404;
8098
+ status: 201;
8222
8099
  input: {
8223
8100
  json: {
8224
8101
  workflow?: string | undefined;
@@ -8638,11 +8515,145 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8638
8515
  todoId?: string | undefined;
8639
8516
  };
8640
8517
  };
8518
+ } | {
8519
+ output: {
8520
+ error: string;
8521
+ };
8522
+ outputFormat: "json";
8523
+ status: 400;
8524
+ input: {
8525
+ json: {
8526
+ workflow?: string | undefined;
8527
+ steps?: {
8528
+ id: string;
8529
+ name?: string | undefined;
8530
+ prompt?: string | undefined;
8531
+ skill?: string | undefined;
8532
+ model?: string | undefined;
8533
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8534
+ allowedTools?: string[] | undefined;
8535
+ bashAllowlist?: string[] | undefined;
8536
+ command?: string | undefined;
8537
+ onFail?: {
8538
+ retry: string;
8539
+ max?: number | undefined;
8540
+ } | undefined;
8541
+ }[] | undefined;
8542
+ task: string;
8543
+ model?: string | undefined;
8544
+ effort?: string | undefined;
8545
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8546
+ agentProfile?: string | undefined;
8547
+ variants?: number | undefined;
8548
+ worktree?: boolean | undefined;
8549
+ autonomous?: boolean | undefined;
8550
+ generateFollowups?: boolean | undefined;
8551
+ systemPrompt?: string | undefined;
8552
+ images?: {
8553
+ mediaType: string;
8554
+ data: string;
8555
+ }[] | undefined;
8556
+ todoId?: string | undefined;
8557
+ };
8558
+ };
8559
+ } | {
8560
+ output: {
8561
+ error: string;
8562
+ };
8563
+ outputFormat: "json";
8564
+ status: 404;
8565
+ input: {
8566
+ json: {
8567
+ workflow?: string | undefined;
8568
+ steps?: {
8569
+ id: string;
8570
+ name?: string | undefined;
8571
+ prompt?: string | undefined;
8572
+ skill?: string | undefined;
8573
+ model?: string | undefined;
8574
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8575
+ allowedTools?: string[] | undefined;
8576
+ bashAllowlist?: string[] | undefined;
8577
+ command?: string | undefined;
8578
+ onFail?: {
8579
+ retry: string;
8580
+ max?: number | undefined;
8581
+ } | undefined;
8582
+ }[] | undefined;
8583
+ task: string;
8584
+ model?: string | undefined;
8585
+ effort?: string | undefined;
8586
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8587
+ agentProfile?: string | undefined;
8588
+ variants?: number | undefined;
8589
+ worktree?: boolean | undefined;
8590
+ autonomous?: boolean | undefined;
8591
+ generateFollowups?: boolean | undefined;
8592
+ systemPrompt?: string | undefined;
8593
+ images?: {
8594
+ mediaType: string;
8595
+ data: string;
8596
+ }[] | undefined;
8597
+ todoId?: string | undefined;
8598
+ };
8599
+ };
8600
+ } | {
8601
+ output: {
8602
+ error: string;
8603
+ };
8604
+ outputFormat: "json";
8605
+ status: 409;
8606
+ input: {
8607
+ json: {
8608
+ workflow?: string | undefined;
8609
+ steps?: {
8610
+ id: string;
8611
+ name?: string | undefined;
8612
+ prompt?: string | undefined;
8613
+ skill?: string | undefined;
8614
+ model?: string | undefined;
8615
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8616
+ allowedTools?: string[] | undefined;
8617
+ bashAllowlist?: string[] | undefined;
8618
+ command?: string | undefined;
8619
+ onFail?: {
8620
+ retry: string;
8621
+ max?: number | undefined;
8622
+ } | undefined;
8623
+ }[] | undefined;
8624
+ task: string;
8625
+ model?: string | undefined;
8626
+ effort?: string | undefined;
8627
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
8628
+ agentProfile?: string | undefined;
8629
+ variants?: number | undefined;
8630
+ worktree?: boolean | undefined;
8631
+ autonomous?: boolean | undefined;
8632
+ generateFollowups?: boolean | undefined;
8633
+ systemPrompt?: string | undefined;
8634
+ images?: {
8635
+ mediaType: string;
8636
+ data: string;
8637
+ }[] | undefined;
8638
+ todoId?: string | undefined;
8639
+ };
8640
+ };
8641
8641
  };
8642
8642
  };
8643
8643
  } & {
8644
8644
  "/runs/:id": {
8645
8645
  $get: {
8646
+ output: {
8647
+ error: string;
8648
+ };
8649
+ outputFormat: "json";
8650
+ status: 404;
8651
+ input: {
8652
+ param: {
8653
+ id: string;
8654
+ };
8655
+ };
8656
+ } | {
8646
8657
  output: {
8647
8658
  id: string;
8648
8659
  title: string;
@@ -8995,17 +9006,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8995
9006
  id: string;
8996
9007
  };
8997
9008
  };
8998
- } | {
8999
- output: {
9000
- error: string;
9001
- };
9002
- outputFormat: "json";
9003
- status: 404;
9004
- input: {
9005
- param: {
9006
- id: string;
9007
- };
9008
- };
9009
9009
  };
9010
9010
  };
9011
9011
  } & {
@@ -9128,11 +9128,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9128
9128
  id: string;
9129
9129
  };
9130
9130
  };
9131
- };
9132
- };
9133
- } & {
9134
- "/runs/:id": {
9135
- $patch: {
9131
+ };
9132
+ };
9133
+ } & {
9134
+ "/runs/:id": {
9135
+ $patch: {
9136
+ output: {
9137
+ error: string;
9138
+ };
9139
+ outputFormat: "json";
9140
+ status: 400;
9141
+ input: {
9142
+ json: {
9143
+ title?: string | undefined;
9144
+ task?: string | undefined;
9145
+ };
9146
+ } & {
9147
+ param: {
9148
+ id: string;
9149
+ };
9150
+ };
9151
+ } | {
9152
+ output: {
9153
+ error: string;
9154
+ };
9155
+ outputFormat: "json";
9156
+ status: 404;
9157
+ input: {
9158
+ json: {
9159
+ title?: string | undefined;
9160
+ task?: string | undefined;
9161
+ };
9162
+ } & {
9163
+ param: {
9164
+ id: string;
9165
+ };
9166
+ };
9167
+ } | {
9168
+ output: {
9169
+ error: string;
9170
+ };
9171
+ outputFormat: "json";
9172
+ status: 409;
9173
+ input: {
9174
+ json: {
9175
+ title?: string | undefined;
9176
+ task?: string | undefined;
9177
+ };
9178
+ } & {
9179
+ param: {
9180
+ id: string;
9181
+ };
9182
+ };
9183
+ } | {
9136
9184
  output: {
9137
9185
  id: string;
9138
9186
  title: string;
@@ -9489,54 +9537,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9489
9537
  id: string;
9490
9538
  };
9491
9539
  };
9492
- } | {
9493
- output: {
9494
- error: string;
9495
- };
9496
- outputFormat: "json";
9497
- status: 404;
9498
- input: {
9499
- json: {
9500
- title?: string | undefined;
9501
- task?: string | undefined;
9502
- };
9503
- } & {
9504
- param: {
9505
- id: string;
9506
- };
9507
- };
9508
- } | {
9509
- output: {
9510
- error: string;
9511
- };
9512
- outputFormat: "json";
9513
- status: 400;
9514
- input: {
9515
- json: {
9516
- title?: string | undefined;
9517
- task?: string | undefined;
9518
- };
9519
- } & {
9520
- param: {
9521
- id: string;
9522
- };
9523
- };
9524
- } | {
9525
- output: {
9526
- error: string;
9527
- };
9528
- outputFormat: "json";
9529
- status: 409;
9530
- input: {
9531
- json: {
9532
- title?: string | undefined;
9533
- task?: string | undefined;
9534
- };
9535
- } & {
9536
- param: {
9537
- id: string;
9538
- };
9539
- };
9540
9540
  };
9541
9541
  };
9542
9542
  } & {
@@ -9572,7 +9572,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9572
9572
  error: string;
9573
9573
  };
9574
9574
  outputFormat: "json";
9575
- status: 404;
9575
+ status: 400;
9576
9576
  input: {
9577
9577
  json: {
9578
9578
  text?: string | undefined;
@@ -9591,7 +9591,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9591
9591
  error: string;
9592
9592
  };
9593
9593
  outputFormat: "json";
9594
- status: 409;
9594
+ status: 404;
9595
9595
  input: {
9596
9596
  json: {
9597
9597
  text?: string | undefined;
@@ -9607,10 +9607,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9607
9607
  };
9608
9608
  } | {
9609
9609
  output: {
9610
- delivered: true;
9610
+ error: string;
9611
9611
  };
9612
9612
  outputFormat: "json";
9613
- status: import("hono/utils/http-status").ContentfulStatusCode;
9613
+ status: 409;
9614
9614
  input: {
9615
9615
  json: {
9616
9616
  text?: string | undefined;
@@ -9626,10 +9626,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9626
9626
  };
9627
9627
  } | {
9628
9628
  output: {
9629
- error: string;
9629
+ delivered: true;
9630
9630
  };
9631
9631
  outputFormat: "json";
9632
- status: 400;
9632
+ status: import("hono/utils/http-status").ContentfulStatusCode;
9633
9633
  input: {
9634
9634
  json: {
9635
9635
  text?: string | undefined;
@@ -9696,7 +9696,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9696
9696
  error: string;
9697
9697
  };
9698
9698
  outputFormat: "json";
9699
- status: 404;
9699
+ status: 400;
9700
9700
  input: {
9701
9701
  json: {
9702
9702
  text?: string | undefined;
@@ -9717,7 +9717,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9717
9717
  error: string;
9718
9718
  };
9719
9719
  outputFormat: "json";
9720
- status: 400;
9720
+ status: 404;
9721
9721
  input: {
9722
9722
  json: {
9723
9723
  text?: string | undefined;
@@ -9869,7 +9869,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9869
9869
  error: string;
9870
9870
  };
9871
9871
  outputFormat: "json";
9872
- status: 404;
9872
+ status: 400;
9873
9873
  input: {
9874
9874
  json: {
9875
9875
  text?: string | undefined;
@@ -9892,7 +9892,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9892
9892
  error: string;
9893
9893
  };
9894
9894
  outputFormat: "json";
9895
- status: 400;
9895
+ status: 404;
9896
9896
  input: {
9897
9897
  json: {
9898
9898
  text?: string | undefined;
@@ -10003,7 +10003,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10003
10003
  error: string;
10004
10004
  };
10005
10005
  outputFormat: "json";
10006
- status: 404;
10006
+ status: 400;
10007
10007
  input: {
10008
10008
  json: {
10009
10009
  target: string;
@@ -10019,7 +10019,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10019
10019
  error: string;
10020
10020
  };
10021
10021
  outputFormat: "json";
10022
- status: 409;
10022
+ status: 404;
10023
10023
  input: {
10024
10024
  json: {
10025
10025
  target: string;
@@ -10035,7 +10035,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10035
10035
  error: string;
10036
10036
  };
10037
10037
  outputFormat: "json";
10038
- status: 400;
10038
+ status: 409;
10039
10039
  input: {
10040
10040
  json: {
10041
10041
  target: string;
@@ -10092,9 +10092,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10092
10092
  } & {
10093
10093
  "/runs/:id/images/:file": {
10094
10094
  $get: {
10095
- output: {};
10096
- outputFormat: string;
10097
- status: import("hono/utils/http-status").StatusCode;
10095
+ output: {
10096
+ error: string;
10097
+ code?: "invalid_input" | undefined;
10098
+ };
10099
+ outputFormat: "json";
10100
+ status: 400;
10098
10101
  input: {
10099
10102
  param: {
10100
10103
  id: string;
@@ -10102,12 +10105,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10102
10105
  };
10103
10106
  };
10104
10107
  } | {
10105
- output: {
10106
- error: string;
10107
- code?: "invalid_input" | undefined;
10108
- };
10109
- outputFormat: "json";
10110
- status: 400;
10108
+ output: {};
10109
+ outputFormat: string;
10110
+ status: import("hono/utils/http-status").StatusCode;
10111
10111
  input: {
10112
10112
  param: {
10113
10113
  id: string;
@@ -10119,20 +10119,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10119
10119
  } & {
10120
10120
  "/runs/:id/diff": {
10121
10121
  $get: {
10122
- output: string;
10123
- outputFormat: "text";
10124
- status: import("hono/utils/http-status").ContentfulStatusCode;
10122
+ output: {
10123
+ error: string;
10124
+ };
10125
+ outputFormat: "json";
10126
+ status: 404;
10125
10127
  input: {
10126
10128
  param: {
10127
10129
  id: string;
10128
10130
  };
10129
10131
  };
10130
10132
  } | {
10131
- output: {
10132
- error: string;
10133
- };
10134
- outputFormat: "json";
10135
- status: 404;
10133
+ output: string;
10134
+ outputFormat: "text";
10135
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10136
10136
  input: {
10137
10137
  param: {
10138
10138
  id: string;
@@ -10502,10 +10502,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10502
10502
  "/runs/:id/pr": {
10503
10503
  $post: {
10504
10504
  output: {
10505
- error: string;
10505
+ url: string;
10506
+ dryRun: boolean;
10506
10507
  };
10507
10508
  outputFormat: "json";
10508
- status: 404;
10509
+ status: 201;
10509
10510
  input: {
10510
10511
  param: {
10511
10512
  id: string;
@@ -10516,7 +10517,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10516
10517
  error: string;
10517
10518
  };
10518
10519
  outputFormat: "json";
10519
- status: 409;
10520
+ status: 400;
10520
10521
  input: {
10521
10522
  param: {
10522
10523
  id: string;
@@ -10527,7 +10528,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10527
10528
  error: string;
10528
10529
  };
10529
10530
  outputFormat: "json";
10530
- status: 400;
10531
+ status: 404;
10531
10532
  input: {
10532
10533
  param: {
10533
10534
  id: string;
@@ -10535,11 +10536,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10535
10536
  };
10536
10537
  } | {
10537
10538
  output: {
10538
- url: string;
10539
- dryRun: boolean;
10539
+ error: string;
10540
10540
  };
10541
10541
  outputFormat: "json";
10542
- status: 201;
10542
+ status: 409;
10543
10543
  input: {
10544
10544
  param: {
10545
10545
  id: string;
@@ -10591,7 +10591,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10591
10591
  error: string;
10592
10592
  };
10593
10593
  outputFormat: "json";
10594
- status: 409;
10594
+ status: 404;
10595
10595
  input: {
10596
10596
  param: {
10597
10597
  id: string;
@@ -10602,7 +10602,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10602
10602
  error: string;
10603
10603
  };
10604
10604
  outputFormat: "json";
10605
- status: 404;
10605
+ status: 409;
10606
10606
  input: {
10607
10607
  param: {
10608
10608
  id: string;
@@ -11273,7 +11273,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11273
11273
  error: string;
11274
11274
  };
11275
11275
  outputFormat: "json";
11276
- status: 409;
11276
+ status: 400;
11277
11277
  input: {
11278
11278
  json: {
11279
11279
  target: string;
@@ -11284,7 +11284,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11284
11284
  error: string;
11285
11285
  };
11286
11286
  outputFormat: "json";
11287
- status: 400;
11287
+ status: 409;
11288
11288
  input: {
11289
11289
  json: {
11290
11290
  target: string;
@@ -11343,9 +11343,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11343
11343
  }, "/"> | import("hono/types").MergeSchemaPath<{
11344
11344
  "/runs/:id/events": {
11345
11345
  $get: {
11346
- output: {};
11347
- outputFormat: string;
11348
- status: import("hono/utils/http-status").StatusCode;
11346
+ output: {
11347
+ error: string;
11348
+ code?: "invalid_input" | undefined;
11349
+ };
11350
+ outputFormat: "json";
11351
+ status: 400;
11349
11352
  input: {
11350
11353
  param: {
11351
11354
  id: string;
@@ -11357,12 +11360,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11357
11360
  };
11358
11361
  };
11359
11362
  } | {
11360
- output: {
11361
- error: string;
11362
- code?: "invalid_input" | undefined;
11363
- };
11364
- outputFormat: "json";
11365
- status: 400;
11363
+ output: {};
11364
+ outputFormat: string;
11365
+ status: import("hono/utils/http-status").StatusCode;
11366
11366
  input: {
11367
11367
  param: {
11368
11368
  id: string;
@@ -11413,24 +11413,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11413
11413
  "/config": {
11414
11414
  $put: {
11415
11415
  output: {
11416
- baseBranch: string | null;
11417
- defaultRunner: "claude" | "codex" | "opencode" | "pi";
11418
- systemPrompt: string | null;
11419
- defaultModels: {
11420
- claude?: string | undefined;
11421
- codex?: string | undefined;
11422
- opencode?: string | undefined;
11423
- pi?: string | undefined;
11424
- };
11425
- modelsLocked: boolean;
11426
- maxParallel: number;
11427
- memoryLimitMb: number | null;
11428
- worktreeRetention: number;
11429
- liveTitleUpdates: boolean | null;
11430
- reviewGate: boolean | null;
11416
+ error: string;
11431
11417
  };
11432
11418
  outputFormat: "json";
11433
- status: import("hono/utils/http-status").ContentfulStatusCode;
11419
+ status: 409;
11434
11420
  input: {
11435
11421
  json: {
11436
11422
  baseBranch?: string | null | undefined;
@@ -11454,7 +11440,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11454
11440
  error: string;
11455
11441
  };
11456
11442
  outputFormat: "json";
11457
- status: 409;
11443
+ status: 500;
11458
11444
  input: {
11459
11445
  json: {
11460
11446
  baseBranch?: string | null | undefined;
@@ -11475,10 +11461,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11475
11461
  };
11476
11462
  } | {
11477
11463
  output: {
11478
- error: string;
11464
+ baseBranch: string | null;
11465
+ defaultRunner: "claude" | "codex" | "opencode" | "pi";
11466
+ systemPrompt: string | null;
11467
+ defaultModels: {
11468
+ claude?: string | undefined;
11469
+ codex?: string | undefined;
11470
+ opencode?: string | undefined;
11471
+ pi?: string | undefined;
11472
+ };
11473
+ modelsLocked: boolean;
11474
+ maxParallel: number;
11475
+ memoryLimitMb: number | null;
11476
+ worktreeRetention: number;
11477
+ liveTitleUpdates: boolean | null;
11478
+ reviewGate: boolean | null;
11479
11479
  };
11480
11480
  outputFormat: "json";
11481
- status: 500;
11481
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11482
11482
  input: {
11483
11483
  json: {
11484
11484
  baseBranch?: string | null | undefined;
@@ -11502,6 +11502,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11502
11502
  }, "/"> | import("hono/types").MergeSchemaPath<{
11503
11503
  "/skills": {
11504
11504
  $get: {
11505
+ output: {
11506
+ error: string;
11507
+ code?: "invalid_input" | undefined;
11508
+ };
11509
+ outputFormat: "json";
11510
+ status: 400;
11511
+ input: {
11512
+ query: {
11513
+ wait?: string | undefined;
11514
+ };
11515
+ };
11516
+ } | {
11505
11517
  output: {
11506
11518
  name: string;
11507
11519
  description?: string;
@@ -11524,7 +11536,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11524
11536
  wait?: string | undefined;
11525
11537
  };
11526
11538
  };
11527
- } | {
11539
+ };
11540
+ };
11541
+ } & {
11542
+ "/skills/importable": {
11543
+ $get: {
11528
11544
  output: {
11529
11545
  error: string;
11530
11546
  code?: "invalid_input" | undefined;
@@ -11536,11 +11552,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11536
11552
  wait?: string | undefined;
11537
11553
  };
11538
11554
  };
11539
- };
11540
- };
11541
- } & {
11542
- "/skills/importable": {
11543
- $get: {
11555
+ } | {
11544
11556
  output: {
11545
11557
  name: string;
11546
11558
  description?: string | undefined;
@@ -11552,18 +11564,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11552
11564
  wait?: string | undefined;
11553
11565
  };
11554
11566
  };
11555
- } | {
11556
- output: {
11557
- error: string;
11558
- code?: "invalid_input" | undefined;
11559
- };
11560
- outputFormat: "json";
11561
- status: 400;
11562
- input: {
11563
- query: {
11564
- wait?: string | undefined;
11565
- };
11566
- };
11567
11567
  };
11568
11568
  };
11569
11569
  } & {
@@ -11617,18 +11617,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11617
11617
  error: string;
11618
11618
  };
11619
11619
  outputFormat: "json";
11620
- status: 409;
11621
- input: {
11622
- param: {
11623
- id: string;
11624
- };
11625
- };
11626
- } | {
11627
- output: {
11628
- removed: true;
11629
- };
11630
- outputFormat: "json";
11631
- status: import("hono/utils/http-status").ContentfulStatusCode;
11620
+ status: 404;
11632
11621
  input: {
11633
11622
  param: {
11634
11623
  id: string;
@@ -11639,35 +11628,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11639
11628
  error: string;
11640
11629
  };
11641
11630
  outputFormat: "json";
11642
- status: 404;
11631
+ status: 409;
11643
11632
  input: {
11644
11633
  param: {
11645
11634
  id: string;
11646
11635
  };
11647
11636
  };
11648
- };
11649
- };
11650
- } & {
11651
- "/todos/:id/start": {
11652
- $post: {
11637
+ } | {
11653
11638
  output: {
11654
- error: string;
11639
+ removed: true;
11655
11640
  };
11656
11641
  outputFormat: "json";
11657
- status: 409;
11642
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11658
11643
  input: {
11659
- json: {
11660
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
11661
- model?: string | undefined;
11662
- effort?: string | undefined;
11663
- prompt?: string | undefined;
11664
- } | undefined;
11665
- } & {
11666
11644
  param: {
11667
11645
  id: string;
11668
11646
  };
11669
11647
  };
11670
- } | {
11648
+ };
11649
+ };
11650
+ } & {
11651
+ "/todos/:id/start": {
11652
+ $post: {
11671
11653
  output: {
11672
11654
  run: {
11673
11655
  id: string;
@@ -12028,6 +12010,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12028
12010
  id: string;
12029
12011
  };
12030
12012
  };
12013
+ } | {
12014
+ output: {
12015
+ error: string;
12016
+ };
12017
+ outputFormat: "json";
12018
+ status: 404;
12019
+ input: {
12020
+ json: {
12021
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
12022
+ model?: string | undefined;
12023
+ effort?: string | undefined;
12024
+ prompt?: string | undefined;
12025
+ } | undefined;
12026
+ } & {
12027
+ param: {
12028
+ id: string;
12029
+ };
12030
+ };
12031
12031
  } | {
12032
12032
  output: {
12033
12033
  error: string;
@@ -12051,7 +12051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12051
12051
  error: string;
12052
12052
  };
12053
12053
  outputFormat: "json";
12054
- status: 404;
12054
+ status: 409;
12055
12055
  input: {
12056
12056
  json: {
12057
12057
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -12154,14 +12154,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12154
12154
  "/agent-config/:id": {
12155
12155
  $put: {
12156
12156
  output: {
12157
- id: string;
12158
- path: string;
12159
- exists: boolean;
12160
- content: string;
12161
- version: string | null;
12157
+ error: string;
12162
12158
  };
12163
12159
  outputFormat: "json";
12164
- status: import("hono/utils/http-status").ContentfulStatusCode;
12160
+ status: 404;
12165
12161
  input: {
12166
12162
  json: {
12167
12163
  content: string;
@@ -12174,10 +12170,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12174
12170
  };
12175
12171
  } | {
12176
12172
  output: {
12177
- error: string;
12173
+ id: string;
12174
+ path: string;
12175
+ exists: boolean;
12176
+ content: string;
12177
+ version: string | null;
12178
12178
  };
12179
12179
  outputFormat: "json";
12180
- status: 404;
12180
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12181
12181
  input: {
12182
12182
  json: {
12183
12183
  content: string;
@@ -12245,10 +12245,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12245
12245
  "/workflows": {
12246
12246
  $post: {
12247
12247
  output: {
12248
- error: string;
12248
+ path: string;
12249
+ name: string;
12249
12250
  };
12250
12251
  outputFormat: "json";
12251
- status: 400;
12252
+ status: 201;
12252
12253
  input: {
12253
12254
  json: {
12254
12255
  name: string;
@@ -12275,10 +12276,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12275
12276
  } | {
12276
12277
  output: {
12277
12278
  error: string;
12278
- exists: true;
12279
12279
  };
12280
12280
  outputFormat: "json";
12281
- status: 409;
12281
+ status: 400;
12282
12282
  input: {
12283
12283
  json: {
12284
12284
  name: string;
@@ -12305,9 +12305,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12305
12305
  } | {
12306
12306
  output: {
12307
12307
  error: string;
12308
+ exists: true;
12308
12309
  };
12309
12310
  outputFormat: "json";
12310
- status: 500;
12311
+ status: 409;
12311
12312
  input: {
12312
12313
  json: {
12313
12314
  name: string;
@@ -12333,11 +12334,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12333
12334
  };
12334
12335
  } | {
12335
12336
  output: {
12336
- path: string;
12337
- name: string;
12337
+ error: string;
12338
12338
  };
12339
12339
  outputFormat: "json";
12340
- status: 201;
12340
+ status: 500;
12341
12341
  input: {
12342
12342
  json: {
12343
12343
  name: string;
@@ -12370,7 +12370,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12370
12370
  error: string;
12371
12371
  };
12372
12372
  outputFormat: "json";
12373
- status: 404;
12373
+ status: 400;
12374
12374
  input: {
12375
12375
  param: {
12376
12376
  name: string;
@@ -12381,7 +12381,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12381
12381
  error: string;
12382
12382
  };
12383
12383
  outputFormat: "json";
12384
- status: 400;
12384
+ status: 404;
12385
12385
  input: {
12386
12386
  param: {
12387
12387
  name: string;
@@ -12504,9 +12504,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12504
12504
  } & {
12505
12505
  "/repo/commit/:sha": {
12506
12506
  $get: {
12507
- output: string;
12508
- outputFormat: "text";
12509
- status: import("hono/utils/http-status").ContentfulStatusCode;
12507
+ output: {
12508
+ error: string;
12509
+ code?: "invalid_input" | undefined;
12510
+ };
12511
+ outputFormat: "json";
12512
+ status: 400;
12510
12513
  input: {
12511
12514
  query: {
12512
12515
  structured?: string | undefined;
@@ -12519,10 +12522,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12519
12522
  } | {
12520
12523
  output: {
12521
12524
  error: string;
12522
- code?: "invalid_input" | undefined;
12523
12525
  };
12524
12526
  outputFormat: "json";
12525
- status: 400;
12527
+ status: 409;
12526
12528
  input: {
12527
12529
  query: {
12528
12530
  structured?: string | undefined;
@@ -12566,11 +12568,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12566
12568
  };
12567
12569
  };
12568
12570
  } | {
12569
- output: {
12570
- error: string;
12571
- };
12572
- outputFormat: "json";
12573
- status: 409;
12571
+ output: string;
12572
+ outputFormat: "text";
12573
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12574
12574
  input: {
12575
12575
  query: {
12576
12576
  structured?: string | undefined;
@@ -12585,6 +12585,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12585
12585
  } & {
12586
12586
  "/repo/changes": {
12587
12587
  $get: {
12588
+ output: {
12589
+ error: string;
12590
+ };
12591
+ outputFormat: "json";
12592
+ status: 409;
12593
+ input: {};
12594
+ } | {
12588
12595
  output: {
12589
12596
  files: {
12590
12597
  path: string;
@@ -12609,13 +12616,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12609
12616
  outputFormat: "json";
12610
12617
  status: import("hono/utils/http-status").ContentfulStatusCode;
12611
12618
  input: {};
12612
- } | {
12613
- output: {
12614
- error: string;
12615
- };
12616
- outputFormat: "json";
12617
- status: 409;
12618
- input: {};
12619
12619
  };
12620
12620
  };
12621
12621
  } & {
@@ -12640,10 +12640,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12640
12640
  "/repo/pull": {
12641
12641
  $post: {
12642
12642
  output: {
12643
- error: string;
12643
+ branch: string;
12644
+ pulled: true;
12645
+ summary: string;
12644
12646
  };
12645
12647
  outputFormat: "json";
12646
- status: 409;
12648
+ status: 200;
12647
12649
  input: {
12648
12650
  json: {
12649
12651
  branch?: string | undefined;
@@ -12652,12 +12654,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12652
12654
  };
12653
12655
  } | {
12654
12656
  output: {
12655
- branch: string;
12656
- pulled: true;
12657
- summary: string;
12657
+ error: string;
12658
12658
  };
12659
12659
  outputFormat: "json";
12660
- status: 200;
12660
+ status: 409;
12661
12661
  input: {
12662
12662
  json: {
12663
12663
  branch?: string | undefined;
@@ -13373,30 +13373,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13373
13373
  "/automations": {
13374
13374
  $post: {
13375
13375
  output: {
13376
- error: string;
13377
- };
13378
- outputFormat: "json";
13379
- status: 400;
13380
- input: {
13381
- json: {
13376
+ automation: {
13377
+ [x: string]: import("hono/utils/types").JSONValue;
13378
+ id: string;
13379
+ revision: number;
13382
13380
  name: string;
13383
13381
  description?: string | undefined;
13384
- enabled?: boolean | undefined;
13382
+ enabled: boolean;
13385
13383
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
13386
13384
  intervalSeconds: number;
13387
13385
  filters: {
13388
- [x: string]: unknown;
13386
+ [x: string]: import("hono/utils/types").JSONValue;
13389
13387
  authors?: string[] | undefined;
13390
13388
  assignees?: string[] | undefined;
13391
13389
  allLabels?: string[] | undefined;
13392
13390
  anyLabels?: string[] | undefined;
13393
13391
  excludeLabels?: string[] | undefined;
13394
13392
  changedLabels?: string[] | undefined;
13395
- lookbackDays?: number | undefined;
13396
- maxRecords?: number | undefined;
13393
+ lookbackDays: number;
13394
+ maxRecords: number;
13397
13395
  };
13398
13396
  task: {
13399
- [x: string]: unknown;
13397
+ [x: string]: import("hono/utils/types").JSONValue;
13400
13398
  prompt: string;
13401
13399
  workflow?: string | undefined;
13402
13400
  steps?: {
@@ -13411,7 +13409,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13411
13409
  command?: string | undefined;
13412
13410
  onFail?: {
13413
13411
  retry: string;
13414
- max?: number | undefined;
13412
+ max: number;
13415
13413
  } | undefined;
13416
13414
  }[] | undefined;
13417
13415
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -13423,33 +13421,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13423
13421
  autonomous?: boolean | undefined;
13424
13422
  systemPrompt?: string | undefined;
13425
13423
  };
13426
- enable?: boolean | undefined;
13424
+ createdAt: string;
13425
+ updatedAt: string;
13427
13426
  };
13428
13427
  };
13429
- } | {
13430
- output: {
13431
- automation: {
13432
- [x: string]: import("hono/utils/types").JSONValue;
13433
- id: string;
13434
- revision: number;
13428
+ outputFormat: "json";
13429
+ status: 201;
13430
+ input: {
13431
+ json: {
13435
13432
  name: string;
13436
13433
  description?: string | undefined;
13437
- enabled: boolean;
13434
+ enabled?: boolean | undefined;
13438
13435
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
13439
13436
  intervalSeconds: number;
13440
13437
  filters: {
13441
- [x: string]: import("hono/utils/types").JSONValue;
13438
+ [x: string]: unknown;
13442
13439
  authors?: string[] | undefined;
13443
13440
  assignees?: string[] | undefined;
13444
13441
  allLabels?: string[] | undefined;
13445
13442
  anyLabels?: string[] | undefined;
13446
13443
  excludeLabels?: string[] | undefined;
13447
13444
  changedLabels?: string[] | undefined;
13448
- lookbackDays: number;
13449
- maxRecords: number;
13445
+ lookbackDays?: number | undefined;
13446
+ maxRecords?: number | undefined;
13450
13447
  };
13451
13448
  task: {
13452
- [x: string]: import("hono/utils/types").JSONValue;
13449
+ [x: string]: unknown;
13453
13450
  prompt: string;
13454
13451
  workflow?: string | undefined;
13455
13452
  steps?: {
@@ -13464,7 +13461,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13464
13461
  command?: string | undefined;
13465
13462
  onFail?: {
13466
13463
  retry: string;
13467
- max: number;
13464
+ max?: number | undefined;
13468
13465
  } | undefined;
13469
13466
  }[] | undefined;
13470
13467
  runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
@@ -13476,12 +13473,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13476
13473
  autonomous?: boolean | undefined;
13477
13474
  systemPrompt?: string | undefined;
13478
13475
  };
13479
- createdAt: string;
13480
- updatedAt: string;
13476
+ enable?: boolean | undefined;
13481
13477
  };
13482
13478
  };
13479
+ } | {
13480
+ output: {
13481
+ error: string;
13482
+ };
13483
13483
  outputFormat: "json";
13484
- status: 201;
13484
+ status: 400;
13485
13485
  input: {
13486
13486
  json: {
13487
13487
  name: string;
@@ -14069,10 +14069,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14069
14069
  "/automations/:id/check": {
14070
14070
  $post: {
14071
14071
  output: {
14072
- error: string;
14072
+ checkId: string;
14073
14073
  };
14074
14074
  outputFormat: "json";
14075
- status: 404;
14075
+ status: 202;
14076
14076
  input: {
14077
14077
  json: {
14078
14078
  mode: "execute" | "preview";
@@ -14084,10 +14084,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14084
14084
  };
14085
14085
  } | {
14086
14086
  output: {
14087
- checkId: string;
14087
+ error: string;
14088
14088
  };
14089
14089
  outputFormat: "json";
14090
- status: 202;
14090
+ status: 404;
14091
14091
  input: {
14092
14092
  json: {
14093
14093
  mode: "execute" | "preview";
@@ -14161,10 +14161,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14161
14161
  "/automation-log/:receiptId/retry": {
14162
14162
  $post: {
14163
14163
  output: {
14164
- error: string;
14164
+ receiptId: string;
14165
+ runId: string;
14165
14166
  };
14166
14167
  outputFormat: "json";
14167
- status: 404;
14168
+ status: 202;
14168
14169
  input: {
14169
14170
  param: {
14170
14171
  receiptId: string;
@@ -14175,7 +14176,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14175
14176
  error: string;
14176
14177
  };
14177
14178
  outputFormat: "json";
14178
- status: 409;
14179
+ status: 404;
14179
14180
  input: {
14180
14181
  param: {
14181
14182
  receiptId: string;
@@ -14183,11 +14184,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14183
14184
  };
14184
14185
  } | {
14185
14186
  output: {
14186
- receiptId: string;
14187
- runId: string;
14187
+ error: string;
14188
14188
  };
14189
14189
  outputFormat: "json";
14190
- status: 202;
14190
+ status: 409;
14191
14191
  input: {
14192
14192
  param: {
14193
14193
  receiptId: string;
@@ -14671,11 +14671,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14671
14671
  "/runs/:id/worker-destroy": {
14672
14672
  $post: {
14673
14673
  output: {
14674
- error: string;
14675
- code?: "invalid_input" | undefined;
14674
+ workerId: string;
14675
+ state: "complete" | "incomplete";
14676
+ deleted?: ({
14677
+ kind: "worktree";
14678
+ path: string;
14679
+ } | {
14680
+ kind: "branch";
14681
+ ref: string;
14682
+ })[] | undefined;
14683
+ remaining: ("branch" | "process" | "worktree")[];
14684
+ error?: string | undefined;
14676
14685
  };
14677
14686
  outputFormat: "json";
14678
- status: 400;
14687
+ status: 200;
14679
14688
  input: {
14680
14689
  query: {
14681
14690
  [x: string]: string | string[];
@@ -14689,20 +14698,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14689
14698
  };
14690
14699
  } | {
14691
14700
  output: {
14692
- workerId: string;
14693
- state: "complete" | "incomplete";
14694
- deleted?: ({
14695
- kind: "worktree";
14696
- path: string;
14697
- } | {
14698
- kind: "branch";
14699
- ref: string;
14700
- })[] | undefined;
14701
- remaining: ("branch" | "process" | "worktree")[];
14702
- error?: string | undefined;
14701
+ error: string;
14702
+ code?: "invalid_input" | undefined;
14703
14703
  };
14704
14704
  outputFormat: "json";
14705
- status: 200;
14705
+ status: 400;
14706
14706
  input: {
14707
14707
  query: {
14708
14708
  [x: string]: string | string[];
@@ -14786,6 +14786,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14786
14786
  } & {
14787
14787
  "/runs/:id/archive": {
14788
14788
  $post: {
14789
+ output: {
14790
+ error: string;
14791
+ };
14792
+ outputFormat: "json";
14793
+ status: 404;
14794
+ input: {
14795
+ json: {
14796
+ archived?: boolean | undefined;
14797
+ };
14798
+ } & {
14799
+ param: {
14800
+ id: string;
14801
+ };
14802
+ };
14803
+ } | {
14789
14804
  output: {
14790
14805
  id: string;
14791
14806
  title: string;
@@ -15127,26 +15142,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15127
15142
  } | undefined;
15128
15143
  }[];
15129
15144
  source: "built-in" | "file";
15130
- path?: string | undefined;
15131
- } | undefined;
15132
- };
15133
- outputFormat: "json";
15134
- status: import("hono/utils/http-status").ContentfulStatusCode;
15135
- input: {
15136
- json: {
15137
- archived?: boolean | undefined;
15138
- };
15139
- } & {
15140
- param: {
15141
- id: string;
15142
- };
15143
- };
15144
- } | {
15145
- output: {
15146
- error: string;
15145
+ path?: string | undefined;
15146
+ } | undefined;
15147
15147
  };
15148
15148
  outputFormat: "json";
15149
- status: 404;
15149
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15150
15150
  input: {
15151
15151
  json: {
15152
15152
  archived?: boolean | undefined;
@@ -15176,6 +15176,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15176
15176
  pinned?: boolean | undefined;
15177
15177
  };
15178
15178
  };
15179
+ } | {
15180
+ output: {
15181
+ error: string;
15182
+ };
15183
+ outputFormat: "json";
15184
+ status: 404;
15185
+ input: {
15186
+ param: {
15187
+ id: string;
15188
+ };
15189
+ } & {
15190
+ json: {
15191
+ pinned?: boolean | undefined;
15192
+ };
15193
+ };
15179
15194
  } | {
15180
15195
  output: {
15181
15196
  id: string;
@@ -15532,21 +15547,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15532
15547
  pinned?: boolean | undefined;
15533
15548
  };
15534
15549
  };
15535
- } | {
15536
- output: {
15537
- error: string;
15538
- };
15539
- outputFormat: "json";
15540
- status: 404;
15541
- input: {
15542
- param: {
15543
- id: string;
15544
- };
15545
- } & {
15546
- json: {
15547
- pinned?: boolean | undefined;
15548
- };
15549
- };
15550
15550
  };
15551
15551
  };
15552
15552
  } & {
@@ -15578,6 +15578,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15578
15578
  } & {
15579
15579
  "/runs/:id/read": {
15580
15580
  $post: {
15581
+ output: {
15582
+ error: string;
15583
+ };
15584
+ outputFormat: "json";
15585
+ status: 404;
15586
+ input: {
15587
+ param: {
15588
+ id: string;
15589
+ };
15590
+ };
15591
+ } | {
15581
15592
  output: {
15582
15593
  id: string;
15583
15594
  title: string;
@@ -15929,7 +15940,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15929
15940
  id: string;
15930
15941
  };
15931
15942
  };
15932
- } | {
15943
+ };
15944
+ };
15945
+ } & {
15946
+ "/runs/:id/unread": {
15947
+ $post: {
15933
15948
  output: {
15934
15949
  error: string;
15935
15950
  };
@@ -15940,11 +15955,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15940
15955
  id: string;
15941
15956
  };
15942
15957
  };
15943
- };
15944
- };
15945
- } & {
15946
- "/runs/:id/unread": {
15947
- $post: {
15958
+ } | {
15948
15959
  output: {
15949
15960
  id: string;
15950
15961
  title: string;
@@ -16296,17 +16307,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16296
16307
  id: string;
16297
16308
  };
16298
16309
  };
16299
- } | {
16300
- output: {
16301
- error: string;
16302
- };
16303
- outputFormat: "json";
16304
- status: 404;
16305
- input: {
16306
- param: {
16307
- id: string;
16308
- };
16309
- };
16310
16310
  };
16311
16311
  };
16312
16312
  } & {
@@ -16693,129 +16693,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16693
16693
  todoId?: string | undefined;
16694
16694
  };
16695
16695
  };
16696
- } | {
16697
- output: {
16698
- error: string;
16699
- };
16700
- outputFormat: "json";
16701
- status: 409;
16702
- input: {
16703
- json: {
16704
- workflow?: string | undefined;
16705
- steps?: {
16706
- id: string;
16707
- name?: string | undefined;
16708
- prompt?: string | undefined;
16709
- skill?: string | undefined;
16710
- model?: string | undefined;
16711
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16712
- allowedTools?: string[] | undefined;
16713
- bashAllowlist?: string[] | undefined;
16714
- command?: string | undefined;
16715
- onFail?: {
16716
- retry: string;
16717
- max?: number | undefined;
16718
- } | undefined;
16719
- }[] | undefined;
16720
- task: string;
16721
- model?: string | undefined;
16722
- effort?: string | undefined;
16723
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16724
- agentProfile?: string | undefined;
16725
- variants?: number | undefined;
16726
- worktree?: boolean | undefined;
16727
- autonomous?: boolean | undefined;
16728
- generateFollowups?: boolean | undefined;
16729
- systemPrompt?: string | undefined;
16730
- images?: {
16731
- mediaType: string;
16732
- data: string;
16733
- }[] | undefined;
16734
- todoId?: string | undefined;
16735
- };
16736
- };
16737
- } | {
16738
- output: {
16739
- error: string;
16740
- };
16741
- outputFormat: "json";
16742
- status: 400;
16743
- input: {
16744
- json: {
16745
- workflow?: string | undefined;
16746
- steps?: {
16747
- id: string;
16748
- name?: string | undefined;
16749
- prompt?: string | undefined;
16750
- skill?: string | undefined;
16751
- model?: string | undefined;
16752
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16753
- allowedTools?: string[] | undefined;
16754
- bashAllowlist?: string[] | undefined;
16755
- command?: string | undefined;
16756
- onFail?: {
16757
- retry: string;
16758
- max?: number | undefined;
16759
- } | undefined;
16760
- }[] | undefined;
16761
- task: string;
16762
- model?: string | undefined;
16763
- effort?: string | undefined;
16764
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16765
- agentProfile?: string | undefined;
16766
- variants?: number | undefined;
16767
- worktree?: boolean | undefined;
16768
- autonomous?: boolean | undefined;
16769
- generateFollowups?: boolean | undefined;
16770
- systemPrompt?: string | undefined;
16771
- images?: {
16772
- mediaType: string;
16773
- data: string;
16774
- }[] | undefined;
16775
- todoId?: string | undefined;
16776
- };
16777
- };
16778
- } | {
16779
- output: {
16780
- error: string;
16781
- };
16782
- outputFormat: "json";
16783
- status: 404;
16784
- input: {
16785
- json: {
16786
- workflow?: string | undefined;
16787
- steps?: {
16788
- id: string;
16789
- name?: string | undefined;
16790
- prompt?: string | undefined;
16791
- skill?: string | undefined;
16792
- model?: string | undefined;
16793
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16794
- allowedTools?: string[] | undefined;
16795
- bashAllowlist?: string[] | undefined;
16796
- command?: string | undefined;
16797
- onFail?: {
16798
- retry: string;
16799
- max?: number | undefined;
16800
- } | undefined;
16801
- }[] | undefined;
16802
- task: string;
16803
- model?: string | undefined;
16804
- effort?: string | undefined;
16805
- runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
16806
- agentProfile?: string | undefined;
16807
- variants?: number | undefined;
16808
- worktree?: boolean | undefined;
16809
- autonomous?: boolean | undefined;
16810
- generateFollowups?: boolean | undefined;
16811
- systemPrompt?: string | undefined;
16812
- images?: {
16813
- mediaType: string;
16814
- data: string;
16815
- }[] | undefined;
16816
- todoId?: string | undefined;
16817
- };
16818
- };
16819
16696
  } | {
16820
16697
  output: {
16821
16698
  runs: {
@@ -17164,7 +17041,130 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17164
17041
  }[];
17165
17042
  };
17166
17043
  outputFormat: "json";
17167
- status: 201;
17044
+ status: 201;
17045
+ input: {
17046
+ json: {
17047
+ workflow?: string | undefined;
17048
+ steps?: {
17049
+ id: string;
17050
+ name?: string | undefined;
17051
+ prompt?: string | undefined;
17052
+ skill?: string | undefined;
17053
+ model?: string | undefined;
17054
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17055
+ allowedTools?: string[] | undefined;
17056
+ bashAllowlist?: string[] | undefined;
17057
+ command?: string | undefined;
17058
+ onFail?: {
17059
+ retry: string;
17060
+ max?: number | undefined;
17061
+ } | undefined;
17062
+ }[] | undefined;
17063
+ task: string;
17064
+ model?: string | undefined;
17065
+ effort?: string | undefined;
17066
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17067
+ agentProfile?: string | undefined;
17068
+ variants?: number | undefined;
17069
+ worktree?: boolean | undefined;
17070
+ autonomous?: boolean | undefined;
17071
+ generateFollowups?: boolean | undefined;
17072
+ systemPrompt?: string | undefined;
17073
+ images?: {
17074
+ mediaType: string;
17075
+ data: string;
17076
+ }[] | undefined;
17077
+ todoId?: string | undefined;
17078
+ };
17079
+ };
17080
+ } | {
17081
+ output: {
17082
+ error: string;
17083
+ };
17084
+ outputFormat: "json";
17085
+ status: 400;
17086
+ input: {
17087
+ json: {
17088
+ workflow?: string | undefined;
17089
+ steps?: {
17090
+ id: string;
17091
+ name?: string | undefined;
17092
+ prompt?: string | undefined;
17093
+ skill?: string | undefined;
17094
+ model?: string | undefined;
17095
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17096
+ allowedTools?: string[] | undefined;
17097
+ bashAllowlist?: string[] | undefined;
17098
+ command?: string | undefined;
17099
+ onFail?: {
17100
+ retry: string;
17101
+ max?: number | undefined;
17102
+ } | undefined;
17103
+ }[] | undefined;
17104
+ task: string;
17105
+ model?: string | undefined;
17106
+ effort?: string | undefined;
17107
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17108
+ agentProfile?: string | undefined;
17109
+ variants?: number | undefined;
17110
+ worktree?: boolean | undefined;
17111
+ autonomous?: boolean | undefined;
17112
+ generateFollowups?: boolean | undefined;
17113
+ systemPrompt?: string | undefined;
17114
+ images?: {
17115
+ mediaType: string;
17116
+ data: string;
17117
+ }[] | undefined;
17118
+ todoId?: string | undefined;
17119
+ };
17120
+ };
17121
+ } | {
17122
+ output: {
17123
+ error: string;
17124
+ };
17125
+ outputFormat: "json";
17126
+ status: 404;
17127
+ input: {
17128
+ json: {
17129
+ workflow?: string | undefined;
17130
+ steps?: {
17131
+ id: string;
17132
+ name?: string | undefined;
17133
+ prompt?: string | undefined;
17134
+ skill?: string | undefined;
17135
+ model?: string | undefined;
17136
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17137
+ allowedTools?: string[] | undefined;
17138
+ bashAllowlist?: string[] | undefined;
17139
+ command?: string | undefined;
17140
+ onFail?: {
17141
+ retry: string;
17142
+ max?: number | undefined;
17143
+ } | undefined;
17144
+ }[] | undefined;
17145
+ task: string;
17146
+ model?: string | undefined;
17147
+ effort?: string | undefined;
17148
+ runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
17149
+ agentProfile?: string | undefined;
17150
+ variants?: number | undefined;
17151
+ worktree?: boolean | undefined;
17152
+ autonomous?: boolean | undefined;
17153
+ generateFollowups?: boolean | undefined;
17154
+ systemPrompt?: string | undefined;
17155
+ images?: {
17156
+ mediaType: string;
17157
+ data: string;
17158
+ }[] | undefined;
17159
+ todoId?: string | undefined;
17160
+ };
17161
+ };
17162
+ } | {
17163
+ output: {
17164
+ error: string;
17165
+ };
17166
+ outputFormat: "json";
17167
+ status: 409;
17168
17168
  input: {
17169
17169
  json: {
17170
17170
  workflow?: string | undefined;
@@ -17205,6 +17205,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17205
17205
  } & {
17206
17206
  "/runs/:id": {
17207
17207
  $get: {
17208
+ output: {
17209
+ error: string;
17210
+ };
17211
+ outputFormat: "json";
17212
+ status: 404;
17213
+ input: {
17214
+ param: {
17215
+ id: string;
17216
+ };
17217
+ };
17218
+ } | {
17208
17219
  output: {
17209
17220
  id: string;
17210
17221
  title: string;
@@ -17557,17 +17568,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17557
17568
  id: string;
17558
17569
  };
17559
17570
  };
17560
- } | {
17561
- output: {
17562
- error: string;
17563
- };
17564
- outputFormat: "json";
17565
- status: 404;
17566
- input: {
17567
- param: {
17568
- id: string;
17569
- };
17570
- };
17571
17571
  };
17572
17572
  };
17573
17573
  } & {
@@ -17695,6 +17695,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17695
17695
  } & {
17696
17696
  "/runs/:id": {
17697
17697
  $patch: {
17698
+ output: {
17699
+ error: string;
17700
+ };
17701
+ outputFormat: "json";
17702
+ status: 400;
17703
+ input: {
17704
+ json: {
17705
+ title?: string | undefined;
17706
+ task?: string | undefined;
17707
+ };
17708
+ } & {
17709
+ param: {
17710
+ id: string;
17711
+ };
17712
+ };
17713
+ } | {
17714
+ output: {
17715
+ error: string;
17716
+ };
17717
+ outputFormat: "json";
17718
+ status: 404;
17719
+ input: {
17720
+ json: {
17721
+ title?: string | undefined;
17722
+ task?: string | undefined;
17723
+ };
17724
+ } & {
17725
+ param: {
17726
+ id: string;
17727
+ };
17728
+ };
17729
+ } | {
17730
+ output: {
17731
+ error: string;
17732
+ };
17733
+ outputFormat: "json";
17734
+ status: 409;
17735
+ input: {
17736
+ json: {
17737
+ title?: string | undefined;
17738
+ task?: string | undefined;
17739
+ };
17740
+ } & {
17741
+ param: {
17742
+ id: string;
17743
+ };
17744
+ };
17745
+ } | {
17698
17746
  output: {
17699
17747
  id: string;
17700
17748
  title: string;
@@ -18051,54 +18099,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18051
18099
  id: string;
18052
18100
  };
18053
18101
  };
18054
- } | {
18055
- output: {
18056
- error: string;
18057
- };
18058
- outputFormat: "json";
18059
- status: 404;
18060
- input: {
18061
- json: {
18062
- title?: string | undefined;
18063
- task?: string | undefined;
18064
- };
18065
- } & {
18066
- param: {
18067
- id: string;
18068
- };
18069
- };
18070
- } | {
18071
- output: {
18072
- error: string;
18073
- };
18074
- outputFormat: "json";
18075
- status: 400;
18076
- input: {
18077
- json: {
18078
- title?: string | undefined;
18079
- task?: string | undefined;
18080
- };
18081
- } & {
18082
- param: {
18083
- id: string;
18084
- };
18085
- };
18086
- } | {
18087
- output: {
18088
- error: string;
18089
- };
18090
- outputFormat: "json";
18091
- status: 409;
18092
- input: {
18093
- json: {
18094
- title?: string | undefined;
18095
- task?: string | undefined;
18096
- };
18097
- } & {
18098
- param: {
18099
- id: string;
18100
- };
18101
- };
18102
18102
  };
18103
18103
  };
18104
18104
  } & {
@@ -18134,7 +18134,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18134
18134
  error: string;
18135
18135
  };
18136
18136
  outputFormat: "json";
18137
- status: 404;
18137
+ status: 400;
18138
18138
  input: {
18139
18139
  json: {
18140
18140
  text?: string | undefined;
@@ -18153,7 +18153,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18153
18153
  error: string;
18154
18154
  };
18155
18155
  outputFormat: "json";
18156
- status: 409;
18156
+ status: 404;
18157
18157
  input: {
18158
18158
  json: {
18159
18159
  text?: string | undefined;
@@ -18169,10 +18169,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18169
18169
  };
18170
18170
  } | {
18171
18171
  output: {
18172
- delivered: true;
18172
+ error: string;
18173
18173
  };
18174
18174
  outputFormat: "json";
18175
- status: import("hono/utils/http-status").ContentfulStatusCode;
18175
+ status: 409;
18176
18176
  input: {
18177
18177
  json: {
18178
18178
  text?: string | undefined;
@@ -18188,10 +18188,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18188
18188
  };
18189
18189
  } | {
18190
18190
  output: {
18191
- error: string;
18191
+ delivered: true;
18192
18192
  };
18193
18193
  outputFormat: "json";
18194
- status: 400;
18194
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18195
18195
  input: {
18196
18196
  json: {
18197
18197
  text?: string | undefined;
@@ -18258,7 +18258,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18258
18258
  error: string;
18259
18259
  };
18260
18260
  outputFormat: "json";
18261
- status: 404;
18261
+ status: 400;
18262
18262
  input: {
18263
18263
  json: {
18264
18264
  text?: string | undefined;
@@ -18279,7 +18279,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18279
18279
  error: string;
18280
18280
  };
18281
18281
  outputFormat: "json";
18282
- status: 400;
18282
+ status: 404;
18283
18283
  input: {
18284
18284
  json: {
18285
18285
  text?: string | undefined;
@@ -18431,7 +18431,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18431
18431
  error: string;
18432
18432
  };
18433
18433
  outputFormat: "json";
18434
- status: 404;
18434
+ status: 400;
18435
18435
  input: {
18436
18436
  json: {
18437
18437
  text?: string | undefined;
@@ -18454,7 +18454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18454
18454
  error: string;
18455
18455
  };
18456
18456
  outputFormat: "json";
18457
- status: 400;
18457
+ status: 404;
18458
18458
  input: {
18459
18459
  json: {
18460
18460
  text?: string | undefined;
@@ -18565,7 +18565,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18565
18565
  error: string;
18566
18566
  };
18567
18567
  outputFormat: "json";
18568
- status: 404;
18568
+ status: 400;
18569
18569
  input: {
18570
18570
  json: {
18571
18571
  target: string;
@@ -18581,7 +18581,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18581
18581
  error: string;
18582
18582
  };
18583
18583
  outputFormat: "json";
18584
- status: 409;
18584
+ status: 404;
18585
18585
  input: {
18586
18586
  json: {
18587
18587
  target: string;
@@ -18597,7 +18597,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18597
18597
  error: string;
18598
18598
  };
18599
18599
  outputFormat: "json";
18600
- status: 400;
18600
+ status: 409;
18601
18601
  input: {
18602
18602
  json: {
18603
18603
  target: string;
@@ -18654,9 +18654,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18654
18654
  } & {
18655
18655
  "/runs/:id/images/:file": {
18656
18656
  $get: {
18657
- output: {};
18658
- outputFormat: string;
18659
- status: import("hono/utils/http-status").StatusCode;
18657
+ output: {
18658
+ error: string;
18659
+ code?: "invalid_input" | undefined;
18660
+ };
18661
+ outputFormat: "json";
18662
+ status: 400;
18660
18663
  input: {
18661
18664
  param: {
18662
18665
  id: string;
@@ -18664,12 +18667,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18664
18667
  };
18665
18668
  };
18666
18669
  } | {
18667
- output: {
18668
- error: string;
18669
- code?: "invalid_input" | undefined;
18670
- };
18671
- outputFormat: "json";
18672
- status: 400;
18670
+ output: {};
18671
+ outputFormat: string;
18672
+ status: import("hono/utils/http-status").StatusCode;
18673
18673
  input: {
18674
18674
  param: {
18675
18675
  id: string;
@@ -18681,20 +18681,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18681
18681
  } & {
18682
18682
  "/runs/:id/diff": {
18683
18683
  $get: {
18684
- output: string;
18685
- outputFormat: "text";
18686
- status: import("hono/utils/http-status").ContentfulStatusCode;
18684
+ output: {
18685
+ error: string;
18686
+ };
18687
+ outputFormat: "json";
18688
+ status: 404;
18687
18689
  input: {
18688
18690
  param: {
18689
18691
  id: string;
18690
18692
  };
18691
18693
  };
18692
18694
  } | {
18693
- output: {
18694
- error: string;
18695
- };
18696
- outputFormat: "json";
18697
- status: 404;
18695
+ output: string;
18696
+ outputFormat: "text";
18697
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18698
18698
  input: {
18699
18699
  param: {
18700
18700
  id: string;
@@ -19064,10 +19064,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19064
19064
  "/runs/:id/pr": {
19065
19065
  $post: {
19066
19066
  output: {
19067
- error: string;
19067
+ url: string;
19068
+ dryRun: boolean;
19068
19069
  };
19069
19070
  outputFormat: "json";
19070
- status: 404;
19071
+ status: 201;
19071
19072
  input: {
19072
19073
  param: {
19073
19074
  id: string;
@@ -19078,7 +19079,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19078
19079
  error: string;
19079
19080
  };
19080
19081
  outputFormat: "json";
19081
- status: 409;
19082
+ status: 400;
19082
19083
  input: {
19083
19084
  param: {
19084
19085
  id: string;
@@ -19089,7 +19090,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19089
19090
  error: string;
19090
19091
  };
19091
19092
  outputFormat: "json";
19092
- status: 400;
19093
+ status: 404;
19093
19094
  input: {
19094
19095
  param: {
19095
19096
  id: string;
@@ -19097,11 +19098,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19097
19098
  };
19098
19099
  } | {
19099
19100
  output: {
19100
- url: string;
19101
- dryRun: boolean;
19101
+ error: string;
19102
19102
  };
19103
19103
  outputFormat: "json";
19104
- status: 201;
19104
+ status: 409;
19105
19105
  input: {
19106
19106
  param: {
19107
19107
  id: string;
@@ -19153,7 +19153,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19153
19153
  error: string;
19154
19154
  };
19155
19155
  outputFormat: "json";
19156
- status: 409;
19156
+ status: 404;
19157
19157
  input: {
19158
19158
  param: {
19159
19159
  id: string;
@@ -19164,7 +19164,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19164
19164
  error: string;
19165
19165
  };
19166
19166
  outputFormat: "json";
19167
- status: 404;
19167
+ status: 409;
19168
19168
  input: {
19169
19169
  param: {
19170
19170
  id: string;