@wjarka/cezarion 0.14.1 → 0.14.2-pr391.606.2

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 (40) hide show
  1. package/dist/core/cursor-acp-runner.js +13 -0
  2. package/dist/core/cursor-acp-runner.js.map +1 -1
  3. package/dist/delegation/transport.d.ts +50 -50
  4. package/dist/server/server.d.ts +1109 -1109
  5. package/dist/workflows/run.d.ts +4 -0
  6. package/dist/workflows/run.js +8 -1
  7. package/dist/workflows/run.js.map +1 -1
  8. package/package.json +3 -3
  9. package/scripts/mock-cursor-acp.mjs +15 -3
  10. package/web/dist/assets/{agent-accounts-MT-jtwOU.js → agent-accounts-BP0XBzQP.js} +1 -1
  11. package/web/dist/assets/alert-dialog-Bv9zV9w1.js +43 -0
  12. package/web/dist/assets/{collapsible-CkSaP6_n.js → collapsible-D7QXWXZq.js} +1 -1
  13. package/web/dist/assets/{commit-list-B47VXJez.js → commit-list-AwLNQE91.js} +1 -1
  14. package/web/dist/assets/{compare-variants-DNqtPFUv.js → compare-variants-CBggabVc.js} +1 -1
  15. package/web/dist/assets/{diff-controls-D5b8ocJ0.js → diff-controls-74Z0C3ay.js} +1 -1
  16. package/web/dist/assets/{dropdown-menu-xYcDecNM.js → dropdown-menu-DkzcT6aO.js} +1 -1
  17. package/web/dist/assets/{git-toolbar-C4zVVSpl.js → git-toolbar-Dntzprrr.js} +1 -1
  18. package/web/dist/assets/{github-D97-DHsF.js → github-CBYawanT.js} +1 -1
  19. package/web/dist/assets/{index-ujHRHX5o.js → index-BpI26cbM.js} +3 -3
  20. package/web/dist/assets/{index-hcgmKBPj.css → index-CG0CPeOx.css} +1 -1
  21. package/web/dist/assets/{markdown-CIi0LXvU.js → markdown-BssEOroY.js} +1 -1
  22. package/web/dist/assets/pill-C7gWe96Z.js +1 -0
  23. package/web/dist/assets/{project-router-BOglfKgF.js → project-router-a1gx3dfP.js} +1 -1
  24. package/web/dist/assets/{prompt-templates-DTSPmJP-.js → prompt-templates-B4eJ8kQZ.js} +1 -1
  25. package/web/dist/assets/{repo-git-DvxUSPot.js → repo-git-D8GN9ork.js} +1 -1
  26. package/web/dist/assets/{run-diff-DEVs-zV1.js → run-diff-CHDwMBEQ.js} +1 -1
  27. package/web/dist/assets/{run-header-Dvb1P3Ge.js → run-header-BlqnTQeP.js} +1 -1
  28. package/web/dist/assets/{skills-DJ06RZbi.js → skills-CkWBfIfQ.js} +1 -1
  29. package/web/dist/assets/{tab-link-ChqeHA8K.js → tab-link-DRP4FV8D.js} +1 -1
  30. package/web/dist/assets/{task-changes-CIN0MkJE.js → task-changes-CEyHhiK1.js} +1 -1
  31. package/web/dist/assets/{task-commits-BRZshVHV.js → task-commits-DTdRtZur.js} +1 -1
  32. package/web/dist/assets/{task-files-BZTNbpcP.js → task-files-Cr2qKUk2.js} +1 -1
  33. package/web/dist/assets/{task-thread-D_N6ELtr.js → task-thread-C8XeQXO4.js} +1 -1
  34. package/web/dist/assets/{textarea-DdKiIORK.js → textarea-DAHMUyAp.js} +1 -1
  35. package/web/dist/assets/{thread-loading-BRM8kyKz.js → thread-loading-OtvWGq9Y.js} +1 -1
  36. package/web/dist/assets/{token-metrics-DDvhrHmK.js → token-metrics-Q0paVq5n.js} +1 -1
  37. package/web/dist/assets/{workflows-CplF7YNk.js → workflows-uDL1z3Qp.js} +1 -1
  38. package/web/dist/index.html +12 -12
  39. package/web/dist/assets/alert-dialog-KUiPIBmb.js +0 -43
  40. package/web/dist/assets/pill-DDhByAhe.js +0 -1
@@ -314,10 +314,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
314
314
  };
315
315
  } | {
316
316
  output: {
317
- error: string;
317
+ path: string;
318
+ parent: string | null;
319
+ dirs: {
320
+ name: string;
321
+ path: string;
322
+ isRepo: boolean;
323
+ }[];
324
+ truncated: boolean;
318
325
  };
319
326
  outputFormat: "json";
320
- status: 400 | 404;
327
+ status: import("hono/utils/http-status").ContentfulStatusCode;
321
328
  input: {
322
329
  query: {
323
330
  path?: string | undefined;
@@ -326,17 +333,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
326
333
  };
327
334
  } | {
328
335
  output: {
329
- path: string;
330
- parent: string | null;
331
- dirs: {
332
- name: string;
333
- path: string;
334
- isRepo: boolean;
335
- }[];
336
- truncated: boolean;
336
+ error: string;
337
337
  };
338
338
  outputFormat: "json";
339
- status: import("hono/utils/http-status").ContentfulStatusCode;
339
+ status: 400 | 404;
340
340
  input: {
341
341
  query: {
342
342
  path?: string | undefined;
@@ -348,6 +348,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
348
348
  }, "/"> | import("hono/types").MergeSchemaPath<{
349
349
  "/automation-checks/:checkId": {
350
350
  $get: {
351
+ output: {
352
+ error: string;
353
+ };
354
+ outputFormat: "json";
355
+ status: 404;
356
+ input: {
357
+ param: {
358
+ checkId: string;
359
+ };
360
+ };
361
+ } | {
351
362
  output: {
352
363
  id: string;
353
364
  automationId: string;
@@ -366,17 +377,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
366
377
  checkId: string;
367
378
  };
368
379
  };
369
- } | {
370
- output: {
371
- error: string;
372
- };
373
- outputFormat: "json";
374
- status: 404;
375
- input: {
376
- param: {
377
- checkId: string;
378
- };
379
- };
380
380
  };
381
381
  };
382
382
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -469,17 +469,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
469
469
  projectId: string | string[];
470
470
  };
471
471
  };
472
- } | {
473
- output: {
474
- error: string;
475
- };
476
- outputFormat: "json";
477
- status: 404 | 409;
478
- input: {
479
- query: {
480
- projectId: string | string[];
481
- };
482
- };
483
472
  } | {
484
473
  output: {
485
474
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -506,6 +495,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
506
495
  projectId: string | string[];
507
496
  };
508
497
  };
498
+ } | {
499
+ output: {
500
+ error: string;
501
+ };
502
+ outputFormat: "json";
503
+ status: 404 | 409;
504
+ input: {
505
+ query: {
506
+ projectId: string | string[];
507
+ };
508
+ };
509
509
  };
510
510
  };
511
511
  } & {
@@ -644,17 +644,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
644
644
  };
645
645
  } | {
646
646
  output: {
647
- providers: {
648
- provider: ProviderId;
649
- status: import("../core/provider-auth.ts").ProviderConnectionState;
650
- enabled?: boolean;
651
- hint?: string;
652
- authFailureId?: string;
653
- profileId?: string;
654
- }[];
647
+ error: string;
655
648
  };
656
649
  outputFormat: "json";
657
- status: import("hono/utils/http-status").ContentfulStatusCode;
650
+ status: 500;
658
651
  input: {
659
652
  param: {
660
653
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -666,10 +659,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
666
659
  };
667
660
  } | {
668
661
  output: {
669
- error: string;
662
+ providers: {
663
+ provider: ProviderId;
664
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
665
+ enabled?: boolean;
666
+ hint?: string;
667
+ authFailureId?: string;
668
+ profileId?: string;
669
+ }[];
670
670
  };
671
671
  outputFormat: "json";
672
- status: 500;
672
+ status: import("hono/utils/http-status").ContentfulStatusCode;
673
673
  input: {
674
674
  param: {
675
675
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -701,17 +701,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
701
701
  };
702
702
  } | {
703
703
  output: {
704
- providers: {
705
- provider: ProviderId;
706
- status: import("../core/provider-auth.ts").ProviderConnectionState;
707
- enabled?: boolean;
708
- hint?: string;
709
- authFailureId?: string;
710
- profileId?: string;
711
- }[];
704
+ error: string;
712
705
  };
713
706
  outputFormat: "json";
714
- status: import("hono/utils/http-status").ContentfulStatusCode;
707
+ status: 409;
715
708
  input: {
716
709
  param: {
717
710
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -723,10 +716,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
723
716
  };
724
717
  } | {
725
718
  output: {
726
- error: string;
719
+ providers: {
720
+ provider: ProviderId;
721
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
722
+ enabled?: boolean;
723
+ hint?: string;
724
+ authFailureId?: string;
725
+ profileId?: string;
726
+ }[];
727
727
  };
728
728
  outputFormat: "json";
729
- status: 409;
729
+ status: import("hono/utils/http-status").ContentfulStatusCode;
730
730
  input: {
731
731
  param: {
732
732
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -745,7 +745,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
745
745
  error: string;
746
746
  };
747
747
  outputFormat: "json";
748
- status: 409;
748
+ status: 400;
749
749
  input: {
750
750
  json: {
751
751
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -757,7 +757,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
757
757
  error: string;
758
758
  };
759
759
  outputFormat: "json";
760
- status: 400;
760
+ status: 409;
761
761
  input: {
762
762
  json: {
763
763
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -845,35 +845,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
845
845
  "/workspace/config": {
846
846
  $put: {
847
847
  output: {
848
- browseRoot: string;
849
- projectsDir: string;
850
- skillsAutoUpdate: boolean | null;
851
- effectiveSkillsAutoUpdate: boolean;
852
- composerDefaults: {
853
- autonomous: boolean | null;
854
- worktree: boolean | null;
855
- inheritedAutonomous: boolean | 'source-dependent';
856
- inheritedWorktree: boolean;
857
- };
858
- resources: {
859
- maxParallel: number;
860
- maxMonitoringSessions: number;
861
- monitoringWakeIntervalMinutes: number | null;
862
- autoResumeOnUsageLimit: boolean;
863
- memoryLimitMb: number | null;
864
- worktreeRetentionDefault: number;
865
- };
866
- agentDefaults: {
867
- runner?: ProviderId;
868
- models?: {
869
- claude?: string;
870
- codex?: string;
871
- opencode?: string;
872
- } | undefined;
873
- };
848
+ error: string;
874
849
  };
875
850
  outputFormat: "json";
876
- status: import("hono/utils/http-status").ContentfulStatusCode;
851
+ status: 400;
877
852
  input: {
878
853
  json: {
879
854
  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;
@@ -940,10 +915,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
940
915
  };
941
916
  } | {
942
917
  output: {
943
- error: string;
918
+ browseRoot: string;
919
+ projectsDir: string;
920
+ skillsAutoUpdate: boolean | null;
921
+ effectiveSkillsAutoUpdate: boolean;
922
+ composerDefaults: {
923
+ autonomous: boolean | null;
924
+ worktree: boolean | null;
925
+ inheritedAutonomous: boolean | 'source-dependent';
926
+ inheritedWorktree: boolean;
927
+ };
928
+ resources: {
929
+ maxParallel: number;
930
+ maxMonitoringSessions: number;
931
+ monitoringWakeIntervalMinutes: number | null;
932
+ autoResumeOnUsageLimit: boolean;
933
+ memoryLimitMb: number | null;
934
+ worktreeRetentionDefault: number;
935
+ };
936
+ agentDefaults: {
937
+ runner?: ProviderId;
938
+ models?: {
939
+ claude?: string;
940
+ codex?: string;
941
+ opencode?: string;
942
+ } | undefined;
943
+ };
944
944
  };
945
945
  outputFormat: "json";
946
- status: 500;
946
+ status: import("hono/utils/http-status").ContentfulStatusCode;
947
947
  input: {
948
948
  json: {
949
949
  browseRoot?: string | undefined;
@@ -1025,45 +1025,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1025
1025
  "/workspace/ui-state": {
1026
1026
  $put: {
1027
1027
  output: {
1028
- [x: string]: import("hono/utils/types").JSONValue;
1029
- sidebar?: {
1030
- [x: string]: import("hono/utils/types").JSONValue;
1031
- collapsed?: {
1032
- [x: string]: boolean;
1033
- } | undefined;
1034
- } | undefined;
1035
- dismissedProviderAuthFailures?: {
1036
- claude?: string | undefined;
1037
- codex?: string | undefined;
1038
- opencode?: string | undefined;
1039
- pi?: string | undefined;
1040
- cursor?: string | undefined;
1041
- } | undefined;
1042
- appearance?: {
1043
- accent?: "cezarion" | "lime" | "violet" | undefined;
1044
- density?: "comfortable" | "compact" | "ultra" | undefined;
1045
- width?: "narrow" | "wide" | undefined;
1046
- } | undefined;
1047
- notifications?: {
1048
- [x: string]: import("hono/utils/types").JSONValue;
1049
- enabled?: boolean | undefined;
1050
- } | undefined;
1051
- taskTable?: {
1052
- [x: string]: import("hono/utils/types").JSONValue;
1053
- expandedColumns?: {
1054
- [x: string]: boolean;
1055
- } | undefined;
1056
- } | undefined;
1057
- lastLocation?: {
1058
- projectId: string;
1059
- pathname: string;
1060
- search?: string | undefined;
1061
- hash?: string | undefined;
1062
- } | undefined;
1063
- importedSkills?: string[] | undefined;
1028
+ error: string;
1064
1029
  };
1065
1030
  outputFormat: "json";
1066
- status: import("hono/utils/http-status").ContentfulStatusCode;
1031
+ status: 500;
1067
1032
  input: {
1068
1033
  json: {
1069
1034
  [x: string]: unknown;
@@ -1102,10 +1067,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1102
1067
  };
1103
1068
  } | {
1104
1069
  output: {
1105
- error: string;
1070
+ [x: string]: import("hono/utils/types").JSONValue;
1071
+ sidebar?: {
1072
+ [x: string]: import("hono/utils/types").JSONValue;
1073
+ collapsed?: {
1074
+ [x: string]: boolean;
1075
+ } | undefined;
1076
+ } | undefined;
1077
+ dismissedProviderAuthFailures?: {
1078
+ claude?: string | undefined;
1079
+ codex?: string | undefined;
1080
+ opencode?: string | undefined;
1081
+ pi?: string | undefined;
1082
+ cursor?: string | undefined;
1083
+ } | undefined;
1084
+ appearance?: {
1085
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1086
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1087
+ width?: "narrow" | "wide" | undefined;
1088
+ } | undefined;
1089
+ notifications?: {
1090
+ [x: string]: import("hono/utils/types").JSONValue;
1091
+ enabled?: boolean | undefined;
1092
+ } | undefined;
1093
+ taskTable?: {
1094
+ [x: string]: import("hono/utils/types").JSONValue;
1095
+ expandedColumns?: {
1096
+ [x: string]: boolean;
1097
+ } | undefined;
1098
+ } | undefined;
1099
+ lastLocation?: {
1100
+ projectId: string;
1101
+ pathname: string;
1102
+ search?: string | undefined;
1103
+ hash?: string | undefined;
1104
+ } | undefined;
1105
+ importedSkills?: string[] | undefined;
1106
1106
  };
1107
1107
  outputFormat: "json";
1108
- status: 500;
1108
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1109
1109
  input: {
1110
1110
  json: {
1111
1111
  [x: string]: unknown;
@@ -1236,7 +1236,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1236
1236
  error: string;
1237
1237
  };
1238
1238
  outputFormat: "json";
1239
- status: 409;
1239
+ status: 404;
1240
1240
  input: {
1241
1241
  param: {
1242
1242
  projectId: string;
@@ -1247,7 +1247,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1247
1247
  error: string;
1248
1248
  };
1249
1249
  outputFormat: "json";
1250
- status: 404;
1250
+ status: 409;
1251
1251
  input: {
1252
1252
  param: {
1253
1253
  projectId: string;
@@ -1285,7 +1285,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1285
1285
  error: string;
1286
1286
  };
1287
1287
  outputFormat: "json";
1288
- status: 409;
1288
+ status: 404;
1289
1289
  input: {
1290
1290
  json: {
1291
1291
  maxParallel?: number | null | undefined;
@@ -1301,7 +1301,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1301
1301
  error: string;
1302
1302
  };
1303
1303
  outputFormat: "json";
1304
- status: 404;
1304
+ status: 409;
1305
1305
  input: {
1306
1306
  json: {
1307
1307
  maxParallel?: number | null | undefined;
@@ -1480,45 +1480,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1480
1480
  } & {
1481
1481
  "/workspace/agent-profiles": {
1482
1482
  $post: {
1483
- output: {
1484
- error: string;
1485
- };
1486
- outputFormat: "json";
1487
- status: 409;
1488
- input: {
1489
- json: {
1490
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1491
- label?: string | undefined;
1492
- configDir: string;
1493
- };
1494
- };
1495
- } | {
1496
- output: {
1497
- error: string;
1498
- };
1499
- outputFormat: "json";
1500
- status: 400;
1501
- input: {
1502
- json: {
1503
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1504
- label?: string | undefined;
1505
- configDir: string;
1506
- };
1507
- };
1508
- } | {
1509
- output: {
1510
- error: string;
1511
- };
1512
- outputFormat: "json";
1513
- status: 500;
1514
- input: {
1515
- json: {
1516
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1517
- label?: string | undefined;
1518
- configDir: string;
1519
- };
1520
- };
1521
- } | {
1522
1483
  output: {
1523
1484
  profile: {
1524
1485
  exists: boolean;
@@ -1569,6 +1530,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1569
1530
  configDir: string;
1570
1531
  };
1571
1532
  };
1533
+ } | {
1534
+ output: {
1535
+ error: string;
1536
+ };
1537
+ outputFormat: "json";
1538
+ status: 400;
1539
+ input: {
1540
+ json: {
1541
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1542
+ label?: string | undefined;
1543
+ configDir: string;
1544
+ };
1545
+ };
1546
+ } | {
1547
+ output: {
1548
+ error: string;
1549
+ };
1550
+ outputFormat: "json";
1551
+ status: 409;
1552
+ input: {
1553
+ json: {
1554
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1555
+ label?: string | undefined;
1556
+ configDir: string;
1557
+ };
1558
+ };
1559
+ } | {
1560
+ output: {
1561
+ error: string;
1562
+ };
1563
+ outputFormat: "json";
1564
+ status: 500;
1565
+ input: {
1566
+ json: {
1567
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1568
+ label?: string | undefined;
1569
+ configDir: string;
1570
+ };
1571
+ };
1572
1572
  };
1573
1573
  };
1574
1574
  } & {
@@ -1595,7 +1595,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1595
1595
  error: string;
1596
1596
  };
1597
1597
  outputFormat: "json";
1598
- status: 409;
1598
+ status: 400;
1599
1599
  input: {
1600
1600
  param: {
1601
1601
  id: string;
@@ -1611,7 +1611,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1611
1611
  error: string;
1612
1612
  };
1613
1613
  outputFormat: "json";
1614
- status: 400;
1614
+ status: 404;
1615
1615
  input: {
1616
1616
  param: {
1617
1617
  id: string;
@@ -1627,7 +1627,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1627
1627
  error: string;
1628
1628
  };
1629
1629
  outputFormat: "json";
1630
- status: 404;
1630
+ status: 409;
1631
1631
  input: {
1632
1632
  param: {
1633
1633
  id: string;
@@ -1733,7 +1733,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1733
1733
  error: string;
1734
1734
  };
1735
1735
  outputFormat: "json";
1736
- status: 409;
1736
+ status: 404;
1737
1737
  input: {
1738
1738
  param: {
1739
1739
  id: string;
@@ -1748,7 +1748,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1748
1748
  error: string;
1749
1749
  };
1750
1750
  outputFormat: "json";
1751
- status: 404;
1751
+ status: 409;
1752
1752
  input: {
1753
1753
  param: {
1754
1754
  id: string;
@@ -1801,7 +1801,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1801
1801
  error: string;
1802
1802
  };
1803
1803
  outputFormat: "json";
1804
- status: 409;
1804
+ status: 404;
1805
1805
  input: {
1806
1806
  param: {
1807
1807
  id: string;
@@ -1812,7 +1812,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1812
1812
  error: string;
1813
1813
  };
1814
1814
  outputFormat: "json";
1815
- status: 404;
1815
+ status: 409;
1816
1816
  input: {
1817
1817
  param: {
1818
1818
  id: string;
@@ -1860,7 +1860,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1860
1860
  error: string;
1861
1861
  };
1862
1862
  outputFormat: "json";
1863
- status: 409;
1863
+ status: 400;
1864
1864
  input: {
1865
1865
  param: {
1866
1866
  id: string;
@@ -1892,7 +1892,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1892
1892
  error: string;
1893
1893
  };
1894
1894
  outputFormat: "json";
1895
- status: 400;
1895
+ status: 409;
1896
1896
  input: {
1897
1897
  param: {
1898
1898
  id: string;
@@ -1929,7 +1929,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1929
1929
  error: string;
1930
1930
  };
1931
1931
  outputFormat: "json";
1932
- status: 409;
1932
+ status: 400;
1933
1933
  input: {
1934
1934
  json: {
1935
1935
  projectId: string | null;
@@ -1955,7 +1955,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1955
1955
  error: string;
1956
1956
  };
1957
1957
  outputFormat: "json";
1958
- status: 400;
1958
+ status: 409;
1959
1959
  input: {
1960
1960
  json: {
1961
1961
  projectId: string | null;
@@ -2027,7 +2027,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2027
2027
  error: string;
2028
2028
  };
2029
2029
  outputFormat: "json";
2030
- status: 409;
2030
+ status: 404;
2031
2031
  input: {
2032
2032
  param: {
2033
2033
  id: string;
@@ -2038,7 +2038,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2038
2038
  error: string;
2039
2039
  };
2040
2040
  outputFormat: "json";
2041
- status: 500;
2041
+ status: 409;
2042
2042
  input: {
2043
2043
  param: {
2044
2044
  id: string;
@@ -2049,7 +2049,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2049
2049
  error: string;
2050
2050
  };
2051
2051
  outputFormat: "json";
2052
- status: 404;
2052
+ status: 500;
2053
2053
  input: {
2054
2054
  param: {
2055
2055
  id: string;
@@ -2721,7 +2721,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2721
2721
  error: string;
2722
2722
  };
2723
2723
  outputFormat: "json";
2724
- status: 409;
2724
+ status: 400;
2725
2725
  input: {
2726
2726
  json: {
2727
2727
  target: string;
@@ -2732,7 +2732,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2732
2732
  error: string;
2733
2733
  };
2734
2734
  outputFormat: "json";
2735
- status: 400;
2735
+ status: 409;
2736
2736
  input: {
2737
2737
  json: {
2738
2738
  target: string;
@@ -2791,9 +2791,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2791
2791
  }, "/"> | import("hono/types").MergeSchemaPath<{
2792
2792
  "/runs/:id/events": {
2793
2793
  $get: {
2794
- output: {};
2795
- outputFormat: string;
2796
- status: import("hono/utils/http-status").StatusCode;
2794
+ output: {
2795
+ error: string;
2796
+ code?: "invalid_input" | undefined;
2797
+ };
2798
+ outputFormat: "json";
2799
+ status: 400;
2797
2800
  input: {
2798
2801
  param: {
2799
2802
  id: string;
@@ -2805,12 +2808,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2805
2808
  };
2806
2809
  };
2807
2810
  } | {
2808
- output: {
2809
- error: string;
2810
- code?: "invalid_input" | undefined;
2811
- };
2812
- outputFormat: "json";
2813
- status: 400;
2811
+ output: {};
2812
+ outputFormat: string;
2813
+ status: import("hono/utils/http-status").StatusCode;
2814
2814
  input: {
2815
2815
  param: {
2816
2816
  id: string;
@@ -2862,25 +2862,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2862
2862
  "/config": {
2863
2863
  $put: {
2864
2864
  output: {
2865
- baseBranch: string | null;
2866
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
2867
- systemPrompt: string | null;
2868
- defaultModels: {
2869
- claude?: string | undefined;
2870
- codex?: string | undefined;
2871
- cursor?: string | undefined;
2872
- opencode?: string | undefined;
2873
- pi?: string | undefined;
2874
- };
2875
- modelsLocked: boolean;
2876
- maxParallel: number;
2877
- memoryLimitMb: number | null;
2878
- worktreeRetention: number;
2879
- liveTitleUpdates: boolean | null;
2880
- reviewGate: boolean | null;
2865
+ error: string;
2881
2866
  };
2882
2867
  outputFormat: "json";
2883
- status: import("hono/utils/http-status").ContentfulStatusCode;
2868
+ status: 409;
2884
2869
  input: {
2885
2870
  json: {
2886
2871
  baseBranch?: string | null | undefined;
@@ -2905,7 +2890,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2905
2890
  error: string;
2906
2891
  };
2907
2892
  outputFormat: "json";
2908
- status: 409;
2893
+ status: 500;
2909
2894
  input: {
2910
2895
  json: {
2911
2896
  baseBranch?: string | null | undefined;
@@ -2927,10 +2912,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2927
2912
  };
2928
2913
  } | {
2929
2914
  output: {
2930
- error: string;
2915
+ baseBranch: string | null;
2916
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
2917
+ systemPrompt: string | null;
2918
+ defaultModels: {
2919
+ claude?: string | undefined;
2920
+ codex?: string | undefined;
2921
+ cursor?: string | undefined;
2922
+ opencode?: string | undefined;
2923
+ pi?: string | undefined;
2924
+ };
2925
+ modelsLocked: boolean;
2926
+ maxParallel: number;
2927
+ memoryLimitMb: number | null;
2928
+ worktreeRetention: number;
2929
+ liveTitleUpdates: boolean | null;
2930
+ reviewGate: boolean | null;
2931
2931
  };
2932
2932
  outputFormat: "json";
2933
- status: 500;
2933
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2934
2934
  input: {
2935
2935
  json: {
2936
2936
  baseBranch?: string | null | undefined;
@@ -2955,6 +2955,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2955
2955
  }, "/"> | import("hono/types").MergeSchemaPath<{
2956
2956
  "/skills": {
2957
2957
  $get: {
2958
+ output: {
2959
+ error: string;
2960
+ code?: "invalid_input" | undefined;
2961
+ };
2962
+ outputFormat: "json";
2963
+ status: 400;
2964
+ input: {
2965
+ query: {
2966
+ wait?: string | undefined;
2967
+ };
2968
+ };
2969
+ } | {
2958
2970
  output: {
2959
2971
  name: string;
2960
2972
  description?: string;
@@ -2977,7 +2989,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2977
2989
  wait?: string | undefined;
2978
2990
  };
2979
2991
  };
2980
- } | {
2992
+ };
2993
+ };
2994
+ } & {
2995
+ "/skills/importable": {
2996
+ $get: {
2981
2997
  output: {
2982
2998
  error: string;
2983
2999
  code?: "invalid_input" | undefined;
@@ -2989,11 +3005,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2989
3005
  wait?: string | undefined;
2990
3006
  };
2991
3007
  };
2992
- };
2993
- };
2994
- } & {
2995
- "/skills/importable": {
2996
- $get: {
3008
+ } | {
2997
3009
  output: {
2998
3010
  name: string;
2999
3011
  description?: string | undefined;
@@ -3005,18 +3017,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3005
3017
  wait?: string | undefined;
3006
3018
  };
3007
3019
  };
3008
- } | {
3009
- output: {
3010
- error: string;
3011
- code?: "invalid_input" | undefined;
3012
- };
3013
- outputFormat: "json";
3014
- status: 400;
3015
- input: {
3016
- query: {
3017
- wait?: string | undefined;
3018
- };
3019
- };
3020
3020
  };
3021
3021
  };
3022
3022
  } & {
@@ -3070,7 +3070,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3070
3070
  error: string;
3071
3071
  };
3072
3072
  outputFormat: "json";
3073
- status: 409;
3073
+ status: 404;
3074
3074
  input: {
3075
3075
  param: {
3076
3076
  id: string;
@@ -3078,10 +3078,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3078
3078
  };
3079
3079
  } | {
3080
3080
  output: {
3081
- removed: true;
3081
+ error: string;
3082
3082
  };
3083
3083
  outputFormat: "json";
3084
- status: import("hono/utils/http-status").ContentfulStatusCode;
3084
+ status: 409;
3085
3085
  input: {
3086
3086
  param: {
3087
3087
  id: string;
@@ -3089,10 +3089,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3089
3089
  };
3090
3090
  } | {
3091
3091
  output: {
3092
- error: string;
3092
+ removed: true;
3093
3093
  };
3094
3094
  outputFormat: "json";
3095
- status: 404;
3095
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3096
3096
  input: {
3097
3097
  param: {
3098
3098
  id: string;
@@ -3103,24 +3103,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3103
3103
  } & {
3104
3104
  "/todos/:id/start": {
3105
3105
  $post: {
3106
- output: {
3107
- error: string;
3108
- };
3109
- outputFormat: "json";
3110
- status: 409;
3111
- input: {
3112
- json: {
3113
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3114
- model?: string | undefined;
3115
- effort?: string | undefined;
3116
- prompt?: string | undefined;
3117
- } | undefined;
3118
- } & {
3119
- param: {
3120
- id: string;
3121
- };
3122
- };
3123
- } | {
3124
3106
  output: {
3125
3107
  run: {
3126
3108
  id: string;
@@ -3481,6 +3463,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3481
3463
  id: string;
3482
3464
  };
3483
3465
  };
3466
+ } | {
3467
+ output: {
3468
+ error: string;
3469
+ };
3470
+ outputFormat: "json";
3471
+ status: 404;
3472
+ input: {
3473
+ json: {
3474
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3475
+ model?: string | undefined;
3476
+ effort?: string | undefined;
3477
+ prompt?: string | undefined;
3478
+ } | undefined;
3479
+ } & {
3480
+ param: {
3481
+ id: string;
3482
+ };
3483
+ };
3484
3484
  } | {
3485
3485
  output: {
3486
3486
  error: string;
@@ -3504,7 +3504,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3504
3504
  error: string;
3505
3505
  };
3506
3506
  outputFormat: "json";
3507
- status: 404;
3507
+ status: 409;
3508
3508
  input: {
3509
3509
  json: {
3510
3510
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3607,14 +3607,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3607
3607
  "/agent-config/:id": {
3608
3608
  $put: {
3609
3609
  output: {
3610
- id: string;
3611
- path: string;
3612
- exists: boolean;
3613
- content: string;
3614
- version: string | null;
3610
+ error: string;
3615
3611
  };
3616
3612
  outputFormat: "json";
3617
- status: import("hono/utils/http-status").ContentfulStatusCode;
3613
+ status: 404;
3618
3614
  input: {
3619
3615
  json: {
3620
3616
  content: string;
@@ -3627,10 +3623,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3627
3623
  };
3628
3624
  } | {
3629
3625
  output: {
3630
- error: string;
3626
+ id: string;
3627
+ path: string;
3628
+ exists: boolean;
3629
+ content: string;
3630
+ version: string | null;
3631
3631
  };
3632
3632
  outputFormat: "json";
3633
- status: 404;
3633
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3634
3634
  input: {
3635
3635
  json: {
3636
3636
  content: string;
@@ -3698,10 +3698,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3698
3698
  "/workflows": {
3699
3699
  $post: {
3700
3700
  output: {
3701
- error: string;
3701
+ path: string;
3702
+ name: string;
3702
3703
  };
3703
3704
  outputFormat: "json";
3704
- status: 400;
3705
+ status: 201;
3705
3706
  input: {
3706
3707
  json: {
3707
3708
  name: string;
@@ -3728,10 +3729,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3728
3729
  } | {
3729
3730
  output: {
3730
3731
  error: string;
3731
- exists: true;
3732
3732
  };
3733
3733
  outputFormat: "json";
3734
- status: 409;
3734
+ status: 400;
3735
3735
  input: {
3736
3736
  json: {
3737
3737
  name: string;
@@ -3758,9 +3758,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3758
3758
  } | {
3759
3759
  output: {
3760
3760
  error: string;
3761
+ exists: true;
3761
3762
  };
3762
3763
  outputFormat: "json";
3763
- status: 500;
3764
+ status: 409;
3764
3765
  input: {
3765
3766
  json: {
3766
3767
  name: string;
@@ -3786,11 +3787,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3786
3787
  };
3787
3788
  } | {
3788
3789
  output: {
3789
- path: string;
3790
- name: string;
3790
+ error: string;
3791
3791
  };
3792
3792
  outputFormat: "json";
3793
- status: 201;
3793
+ status: 500;
3794
3794
  input: {
3795
3795
  json: {
3796
3796
  name: string;
@@ -3823,7 +3823,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3823
3823
  error: string;
3824
3824
  };
3825
3825
  outputFormat: "json";
3826
- status: 404;
3826
+ status: 400;
3827
3827
  input: {
3828
3828
  param: {
3829
3829
  name: string;
@@ -3834,7 +3834,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3834
3834
  error: string;
3835
3835
  };
3836
3836
  outputFormat: "json";
3837
- status: 400;
3837
+ status: 404;
3838
3838
  input: {
3839
3839
  param: {
3840
3840
  name: string;
@@ -3957,9 +3957,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3957
3957
  } & {
3958
3958
  "/repo/commit/:sha": {
3959
3959
  $get: {
3960
- output: string;
3961
- outputFormat: "text";
3962
- status: import("hono/utils/http-status").ContentfulStatusCode;
3960
+ output: {
3961
+ error: string;
3962
+ code?: "invalid_input" | undefined;
3963
+ };
3964
+ outputFormat: "json";
3965
+ status: 400;
3963
3966
  input: {
3964
3967
  query: {
3965
3968
  structured?: string | undefined;
@@ -3972,10 +3975,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3972
3975
  } | {
3973
3976
  output: {
3974
3977
  error: string;
3975
- code?: "invalid_input" | undefined;
3976
3978
  };
3977
3979
  outputFormat: "json";
3978
- status: 400;
3980
+ status: 409;
3979
3981
  input: {
3980
3982
  query: {
3981
3983
  structured?: string | undefined;
@@ -4019,11 +4021,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4019
4021
  };
4020
4022
  };
4021
4023
  } | {
4022
- output: {
4023
- error: string;
4024
- };
4025
- outputFormat: "json";
4026
- status: 409;
4024
+ output: string;
4025
+ outputFormat: "text";
4026
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4027
4027
  input: {
4028
4028
  query: {
4029
4029
  structured?: string | undefined;
@@ -4038,6 +4038,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4038
4038
  } & {
4039
4039
  "/repo/changes": {
4040
4040
  $get: {
4041
+ output: {
4042
+ error: string;
4043
+ };
4044
+ outputFormat: "json";
4045
+ status: 409;
4046
+ input: {};
4047
+ } | {
4041
4048
  output: {
4042
4049
  files: {
4043
4050
  path: string;
@@ -4062,13 +4069,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4062
4069
  outputFormat: "json";
4063
4070
  status: import("hono/utils/http-status").ContentfulStatusCode;
4064
4071
  input: {};
4065
- } | {
4066
- output: {
4067
- error: string;
4068
- };
4069
- outputFormat: "json";
4070
- status: 409;
4071
- input: {};
4072
4072
  };
4073
4073
  };
4074
4074
  } & {
@@ -4093,10 +4093,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4093
4093
  "/repo/pull": {
4094
4094
  $post: {
4095
4095
  output: {
4096
- error: string;
4096
+ branch: string;
4097
+ pulled: true;
4098
+ summary: string;
4097
4099
  };
4098
4100
  outputFormat: "json";
4099
- status: 409;
4101
+ status: 200;
4100
4102
  input: {
4101
4103
  json: {
4102
4104
  branch?: string | undefined;
@@ -4105,12 +4107,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4105
4107
  };
4106
4108
  } | {
4107
4109
  output: {
4108
- branch: string;
4109
- pulled: true;
4110
- summary: string;
4110
+ error: string;
4111
4111
  };
4112
4112
  outputFormat: "json";
4113
- status: 200;
4113
+ status: 409;
4114
4114
  input: {
4115
4115
  json: {
4116
4116
  branch?: string | undefined;
@@ -4826,30 +4826,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4826
4826
  "/automations": {
4827
4827
  $post: {
4828
4828
  output: {
4829
- error: string;
4830
- };
4831
- outputFormat: "json";
4832
- status: 400;
4833
- input: {
4834
- json: {
4829
+ automation: {
4830
+ [x: string]: import("hono/utils/types").JSONValue;
4831
+ id: string;
4832
+ revision: number;
4835
4833
  name: string;
4836
4834
  description?: string | undefined;
4837
- enabled?: boolean | undefined;
4835
+ enabled: boolean;
4838
4836
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4839
4837
  intervalSeconds: number;
4840
4838
  filters: {
4841
- [x: string]: unknown;
4839
+ [x: string]: import("hono/utils/types").JSONValue;
4842
4840
  authors?: string[] | undefined;
4843
4841
  assignees?: string[] | undefined;
4844
4842
  allLabels?: string[] | undefined;
4845
4843
  anyLabels?: string[] | undefined;
4846
4844
  excludeLabels?: string[] | undefined;
4847
4845
  changedLabels?: string[] | undefined;
4848
- lookbackDays?: number | undefined;
4849
- maxRecords?: number | undefined;
4846
+ lookbackDays: number;
4847
+ maxRecords: number;
4850
4848
  };
4851
4849
  task: {
4852
- [x: string]: unknown;
4850
+ [x: string]: import("hono/utils/types").JSONValue;
4853
4851
  prompt: string;
4854
4852
  workflow?: string | undefined;
4855
4853
  steps?: {
@@ -4864,7 +4862,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4864
4862
  command?: string | undefined;
4865
4863
  onFail?: {
4866
4864
  retry: string;
4867
- max?: number | undefined;
4865
+ max: number;
4868
4866
  } | undefined;
4869
4867
  }[] | undefined;
4870
4868
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -4876,33 +4874,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4876
4874
  autonomous?: boolean | undefined;
4877
4875
  systemPrompt?: string | undefined;
4878
4876
  };
4879
- enable?: boolean | undefined;
4877
+ createdAt: string;
4878
+ updatedAt: string;
4880
4879
  };
4881
4880
  };
4882
- } | {
4883
- output: {
4884
- automation: {
4885
- [x: string]: import("hono/utils/types").JSONValue;
4886
- id: string;
4887
- revision: number;
4881
+ outputFormat: "json";
4882
+ status: 201;
4883
+ input: {
4884
+ json: {
4888
4885
  name: string;
4889
4886
  description?: string | undefined;
4890
- enabled: boolean;
4887
+ enabled?: boolean | undefined;
4891
4888
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
4892
4889
  intervalSeconds: number;
4893
4890
  filters: {
4894
- [x: string]: import("hono/utils/types").JSONValue;
4891
+ [x: string]: unknown;
4895
4892
  authors?: string[] | undefined;
4896
4893
  assignees?: string[] | undefined;
4897
4894
  allLabels?: string[] | undefined;
4898
4895
  anyLabels?: string[] | undefined;
4899
4896
  excludeLabels?: string[] | undefined;
4900
4897
  changedLabels?: string[] | undefined;
4901
- lookbackDays: number;
4902
- maxRecords: number;
4898
+ lookbackDays?: number | undefined;
4899
+ maxRecords?: number | undefined;
4903
4900
  };
4904
4901
  task: {
4905
- [x: string]: import("hono/utils/types").JSONValue;
4902
+ [x: string]: unknown;
4906
4903
  prompt: string;
4907
4904
  workflow?: string | undefined;
4908
4905
  steps?: {
@@ -4917,7 +4914,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4917
4914
  command?: string | undefined;
4918
4915
  onFail?: {
4919
4916
  retry: string;
4920
- max: number;
4917
+ max?: number | undefined;
4921
4918
  } | undefined;
4922
4919
  }[] | undefined;
4923
4920
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -4929,12 +4926,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4929
4926
  autonomous?: boolean | undefined;
4930
4927
  systemPrompt?: string | undefined;
4931
4928
  };
4932
- createdAt: string;
4933
- updatedAt: string;
4929
+ enable?: boolean | undefined;
4934
4930
  };
4935
4931
  };
4932
+ } | {
4933
+ output: {
4934
+ error: string;
4935
+ };
4936
4936
  outputFormat: "json";
4937
- status: 201;
4937
+ status: 400;
4938
4938
  input: {
4939
4939
  json: {
4940
4940
  name: string;
@@ -5522,10 +5522,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5522
5522
  "/automations/:id/check": {
5523
5523
  $post: {
5524
5524
  output: {
5525
- error: string;
5525
+ checkId: string;
5526
5526
  };
5527
5527
  outputFormat: "json";
5528
- status: 404;
5528
+ status: 202;
5529
5529
  input: {
5530
5530
  json: {
5531
5531
  mode: "execute" | "preview";
@@ -5537,10 +5537,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5537
5537
  };
5538
5538
  } | {
5539
5539
  output: {
5540
- checkId: string;
5540
+ error: string;
5541
5541
  };
5542
5542
  outputFormat: "json";
5543
- status: 202;
5543
+ status: 404;
5544
5544
  input: {
5545
5545
  json: {
5546
5546
  mode: "execute" | "preview";
@@ -5614,10 +5614,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5614
5614
  "/automation-log/:receiptId/retry": {
5615
5615
  $post: {
5616
5616
  output: {
5617
- error: string;
5617
+ receiptId: string;
5618
+ runId: string;
5618
5619
  };
5619
5620
  outputFormat: "json";
5620
- status: 404;
5621
+ status: 202;
5621
5622
  input: {
5622
5623
  param: {
5623
5624
  receiptId: string;
@@ -5628,7 +5629,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5628
5629
  error: string;
5629
5630
  };
5630
5631
  outputFormat: "json";
5631
- status: 409;
5632
+ status: 404;
5632
5633
  input: {
5633
5634
  param: {
5634
5635
  receiptId: string;
@@ -5636,11 +5637,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5636
5637
  };
5637
5638
  } | {
5638
5639
  output: {
5639
- receiptId: string;
5640
- runId: string;
5640
+ error: string;
5641
5641
  };
5642
5642
  outputFormat: "json";
5643
- status: 202;
5643
+ status: 409;
5644
5644
  input: {
5645
5645
  param: {
5646
5646
  receiptId: string;
@@ -6129,11 +6129,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6129
6129
  "/runs/:id/worker-destroy": {
6130
6130
  $post: {
6131
6131
  output: {
6132
- error: string;
6133
- code?: "invalid_input" | undefined;
6132
+ workerId: string;
6133
+ state: "complete" | "incomplete";
6134
+ deleted?: ({
6135
+ kind: "worktree";
6136
+ path: string;
6137
+ } | {
6138
+ kind: "branch";
6139
+ ref: string;
6140
+ })[] | undefined;
6141
+ remaining: ("branch" | "process" | "worktree")[];
6142
+ error?: string | undefined;
6134
6143
  };
6135
6144
  outputFormat: "json";
6136
- status: 400;
6145
+ status: 200;
6137
6146
  input: {
6138
6147
  query: {
6139
6148
  [x: string]: string | string[];
@@ -6147,11 +6156,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6147
6156
  };
6148
6157
  } | {
6149
6158
  output: {
6150
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6151
- readonly error: string;
6159
+ error: string;
6160
+ code?: "invalid_input" | undefined;
6152
6161
  };
6153
6162
  outputFormat: "json";
6154
- status: 400 | 401 | 403 | 409 | 503;
6163
+ status: 400;
6155
6164
  input: {
6156
6165
  query: {
6157
6166
  [x: string]: string | string[];
@@ -6178,7 +6187,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6178
6187
  error?: string | undefined;
6179
6188
  };
6180
6189
  outputFormat: "json";
6181
- status: 200;
6190
+ status: 409;
6182
6191
  input: {
6183
6192
  query: {
6184
6193
  [x: string]: string | string[];
@@ -6192,20 +6201,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6192
6201
  };
6193
6202
  } | {
6194
6203
  output: {
6195
- workerId: string;
6196
- state: "complete" | "incomplete";
6197
- deleted?: ({
6198
- kind: "worktree";
6199
- path: string;
6200
- } | {
6201
- kind: "branch";
6202
- ref: string;
6203
- })[] | undefined;
6204
- remaining: ("branch" | "process" | "worktree")[];
6205
- error?: string | undefined;
6204
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6205
+ readonly error: string;
6206
6206
  };
6207
6207
  outputFormat: "json";
6208
- status: 409;
6208
+ status: 400 | 401 | 403 | 409 | 503;
6209
6209
  input: {
6210
6210
  query: {
6211
6211
  [x: string]: string | string[];
@@ -6244,6 +6244,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6244
6244
  } & {
6245
6245
  "/runs/:id/archive": {
6246
6246
  $post: {
6247
+ output: {
6248
+ error: string;
6249
+ };
6250
+ outputFormat: "json";
6251
+ status: 404;
6252
+ input: {
6253
+ json: {
6254
+ archived?: boolean | undefined;
6255
+ };
6256
+ } & {
6257
+ param: {
6258
+ id: string;
6259
+ };
6260
+ };
6261
+ } | {
6247
6262
  output: {
6248
6263
  id: string;
6249
6264
  title: string;
@@ -6599,32 +6614,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6599
6614
  id: string;
6600
6615
  };
6601
6616
  };
6602
- } | {
6617
+ };
6618
+ };
6619
+ } & {
6620
+ "/runs/:id/pin": {
6621
+ $post: {
6603
6622
  output: {
6604
6623
  error: string;
6624
+ code?: "invalid_input" | undefined;
6605
6625
  };
6606
6626
  outputFormat: "json";
6607
- status: 404;
6627
+ status: 400;
6608
6628
  input: {
6609
- json: {
6610
- archived?: boolean | undefined;
6611
- };
6612
- } & {
6613
6629
  param: {
6614
6630
  id: string;
6615
6631
  };
6632
+ } & {
6633
+ json: {
6634
+ pinned?: boolean | undefined;
6635
+ };
6616
6636
  };
6617
- };
6618
- };
6619
- } & {
6620
- "/runs/:id/pin": {
6621
- $post: {
6637
+ } | {
6622
6638
  output: {
6623
6639
  error: string;
6624
- code?: "invalid_input" | undefined;
6625
6640
  };
6626
6641
  outputFormat: "json";
6627
- status: 400;
6642
+ status: 404;
6628
6643
  input: {
6629
6644
  param: {
6630
6645
  id: string;
@@ -6990,21 +7005,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6990
7005
  pinned?: boolean | undefined;
6991
7006
  };
6992
7007
  };
6993
- } | {
6994
- output: {
6995
- error: string;
6996
- };
6997
- outputFormat: "json";
6998
- status: 404;
6999
- input: {
7000
- param: {
7001
- id: string;
7002
- };
7003
- } & {
7004
- json: {
7005
- pinned?: boolean | undefined;
7006
- };
7007
- };
7008
7008
  };
7009
7009
  };
7010
7010
  } & {
@@ -7036,6 +7036,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7036
7036
  } & {
7037
7037
  "/runs/:id/read": {
7038
7038
  $post: {
7039
+ output: {
7040
+ error: string;
7041
+ };
7042
+ outputFormat: "json";
7043
+ status: 404;
7044
+ input: {
7045
+ param: {
7046
+ id: string;
7047
+ };
7048
+ };
7049
+ } | {
7039
7050
  output: {
7040
7051
  id: string;
7041
7052
  title: string;
@@ -7387,7 +7398,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7387
7398
  id: string;
7388
7399
  };
7389
7400
  };
7390
- } | {
7401
+ };
7402
+ };
7403
+ } & {
7404
+ "/runs/:id/unread": {
7405
+ $post: {
7391
7406
  output: {
7392
7407
  error: string;
7393
7408
  };
@@ -7398,11 +7413,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7398
7413
  id: string;
7399
7414
  };
7400
7415
  };
7401
- };
7402
- };
7403
- } & {
7404
- "/runs/:id/unread": {
7405
- $post: {
7416
+ } | {
7406
7417
  output: {
7407
7418
  id: string;
7408
7419
  title: string;
@@ -7754,17 +7765,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7754
7765
  id: string;
7755
7766
  };
7756
7767
  };
7757
- } | {
7758
- output: {
7759
- error: string;
7760
- };
7761
- outputFormat: "json";
7762
- status: 404;
7763
- input: {
7764
- param: {
7765
- id: string;
7766
- };
7767
- };
7768
7768
  };
7769
7769
  };
7770
7770
  } & {
@@ -8062,146 +8062,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8062
8062
  peakRssBytes?: number | undefined;
8063
8063
  peakProcCount?: number | undefined;
8064
8064
  archived: boolean;
8065
- archivedAt?: string | undefined;
8066
- pinned?: boolean | undefined;
8067
- pinnedAt?: string | undefined;
8068
- seenAt?: string | undefined;
8069
- currentStepId?: string | undefined;
8070
- error?: string | undefined;
8071
- steps: {
8072
- id: string;
8073
- name: string;
8074
- kind: "agent" | "check";
8075
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
8076
- iterations: number;
8077
- retriesUsed?: number | undefined;
8078
- tokensUsed: number;
8079
- inputTokens?: number | undefined;
8080
- outputTokens?: number | undefined;
8081
- usageInvocationsStarted?: number | undefined;
8082
- usageInvocationsObserved?: number | undefined;
8083
- usageTurnsStarted?: number | undefined;
8084
- usageTurnsRecorded?: number | undefined;
8085
- usageInvocationEpoch?: number | undefined;
8086
- startedAt?: string | undefined;
8087
- finishedAt?: string | undefined;
8088
- error?: string | undefined;
8089
- sessionId?: string | undefined;
8090
- backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8091
- profileId?: string | undefined;
8092
- costUsd?: number | undefined;
8093
- synthetic?: "continuation" | undefined;
8094
- }[];
8095
- workflowDef?: {
8096
- name: string;
8097
- description?: string | undefined;
8098
- steps: {
8099
- id: string;
8100
- name?: string | undefined;
8101
- prompt?: string | undefined;
8102
- skill?: string | undefined;
8103
- model?: string | undefined;
8104
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8105
- allowedTools?: string[] | undefined;
8106
- bashAllowlist?: string[] | undefined;
8107
- command?: string | undefined;
8108
- onFail?: {
8109
- retry: string;
8110
- max: number;
8111
- } | undefined;
8112
- }[];
8113
- source: "built-in" | "file";
8114
- path?: string | undefined;
8115
- } | undefined;
8116
- };
8117
- outputFormat: "json";
8118
- status: 201;
8119
- input: {
8120
- json: {
8121
- workflow?: string | undefined;
8122
- steps?: {
8123
- id: string;
8124
- name?: string | undefined;
8125
- prompt?: string | undefined;
8126
- skill?: string | undefined;
8127
- model?: string | undefined;
8128
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8129
- allowedTools?: string[] | undefined;
8130
- bashAllowlist?: string[] | undefined;
8131
- command?: string | undefined;
8132
- onFail?: {
8133
- retry: string;
8134
- max?: number | undefined;
8135
- } | undefined;
8136
- }[] | undefined;
8137
- task: string;
8138
- model?: string | undefined;
8139
- effort?: string | undefined;
8140
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8141
- agentProfile?: string | undefined;
8142
- variants?: number | undefined;
8143
- worktree?: boolean | undefined;
8144
- autonomous?: boolean | undefined;
8145
- generateFollowups?: boolean | undefined;
8146
- systemPrompt?: string | undefined;
8147
- images?: {
8148
- mediaType: string;
8149
- data: string;
8150
- }[] | undefined;
8151
- todoId?: string | undefined;
8152
- };
8153
- };
8154
- } | {
8155
- output: {
8156
- error: string;
8157
- };
8158
- outputFormat: "json";
8159
- status: 409;
8160
- input: {
8161
- json: {
8162
- workflow?: string | undefined;
8163
- steps?: {
8164
- id: string;
8165
- name?: string | undefined;
8166
- prompt?: string | undefined;
8167
- skill?: string | undefined;
8168
- model?: string | undefined;
8169
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8170
- allowedTools?: string[] | undefined;
8171
- bashAllowlist?: string[] | undefined;
8172
- command?: string | undefined;
8173
- onFail?: {
8174
- retry: string;
8175
- max?: number | undefined;
8176
- } | undefined;
8177
- }[] | undefined;
8178
- task: string;
8179
- model?: string | undefined;
8180
- effort?: string | undefined;
8181
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8182
- agentProfile?: string | undefined;
8183
- variants?: number | undefined;
8184
- worktree?: boolean | undefined;
8185
- autonomous?: boolean | undefined;
8186
- generateFollowups?: boolean | undefined;
8187
- systemPrompt?: string | undefined;
8188
- images?: {
8189
- mediaType: string;
8190
- data: string;
8191
- }[] | undefined;
8192
- todoId?: string | undefined;
8193
- };
8194
- };
8195
- } | {
8196
- output: {
8197
- error: string;
8198
- };
8199
- outputFormat: "json";
8200
- status: 400;
8201
- input: {
8202
- json: {
8203
- workflow?: string | undefined;
8204
- steps?: {
8065
+ archivedAt?: string | undefined;
8066
+ pinned?: boolean | undefined;
8067
+ pinnedAt?: string | undefined;
8068
+ seenAt?: string | undefined;
8069
+ currentStepId?: string | undefined;
8070
+ error?: string | undefined;
8071
+ steps: {
8072
+ id: string;
8073
+ name: string;
8074
+ kind: "agent" | "check";
8075
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
8076
+ iterations: number;
8077
+ retriesUsed?: number | undefined;
8078
+ tokensUsed: number;
8079
+ inputTokens?: number | undefined;
8080
+ outputTokens?: number | undefined;
8081
+ usageInvocationsStarted?: number | undefined;
8082
+ usageInvocationsObserved?: number | undefined;
8083
+ usageTurnsStarted?: number | undefined;
8084
+ usageTurnsRecorded?: number | undefined;
8085
+ usageInvocationEpoch?: number | undefined;
8086
+ startedAt?: string | undefined;
8087
+ finishedAt?: string | undefined;
8088
+ error?: string | undefined;
8089
+ sessionId?: string | undefined;
8090
+ backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8091
+ profileId?: string | undefined;
8092
+ costUsd?: number | undefined;
8093
+ synthetic?: "continuation" | undefined;
8094
+ }[];
8095
+ workflowDef?: {
8096
+ name: string;
8097
+ description?: string | undefined;
8098
+ steps: {
8205
8099
  id: string;
8206
8100
  name?: string | undefined;
8207
8101
  prompt?: string | undefined;
@@ -8213,32 +8107,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8213
8107
  command?: string | undefined;
8214
8108
  onFail?: {
8215
8109
  retry: string;
8216
- max?: number | undefined;
8110
+ max: number;
8217
8111
  } | undefined;
8218
- }[] | undefined;
8219
- task: string;
8220
- model?: string | undefined;
8221
- effort?: string | undefined;
8222
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8223
- agentProfile?: string | undefined;
8224
- variants?: number | undefined;
8225
- worktree?: boolean | undefined;
8226
- autonomous?: boolean | undefined;
8227
- generateFollowups?: boolean | undefined;
8228
- systemPrompt?: string | undefined;
8229
- images?: {
8230
- mediaType: string;
8231
- data: string;
8232
- }[] | undefined;
8233
- todoId?: string | undefined;
8234
- };
8235
- };
8236
- } | {
8237
- output: {
8238
- error: string;
8112
+ }[];
8113
+ source: "built-in" | "file";
8114
+ path?: string | undefined;
8115
+ } | undefined;
8239
8116
  };
8240
8117
  outputFormat: "json";
8241
- status: 404;
8118
+ status: 201;
8242
8119
  input: {
8243
8120
  json: {
8244
8121
  workflow?: string | undefined;
@@ -8658,11 +8535,145 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8658
8535
  todoId?: string | undefined;
8659
8536
  };
8660
8537
  };
8538
+ } | {
8539
+ output: {
8540
+ error: string;
8541
+ };
8542
+ outputFormat: "json";
8543
+ status: 400;
8544
+ input: {
8545
+ json: {
8546
+ workflow?: string | undefined;
8547
+ steps?: {
8548
+ id: string;
8549
+ name?: string | undefined;
8550
+ prompt?: string | undefined;
8551
+ skill?: string | undefined;
8552
+ model?: string | undefined;
8553
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8554
+ allowedTools?: string[] | undefined;
8555
+ bashAllowlist?: string[] | undefined;
8556
+ command?: string | undefined;
8557
+ onFail?: {
8558
+ retry: string;
8559
+ max?: number | undefined;
8560
+ } | undefined;
8561
+ }[] | undefined;
8562
+ task: string;
8563
+ model?: string | undefined;
8564
+ effort?: string | undefined;
8565
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8566
+ agentProfile?: string | undefined;
8567
+ variants?: number | undefined;
8568
+ worktree?: boolean | undefined;
8569
+ autonomous?: boolean | undefined;
8570
+ generateFollowups?: boolean | undefined;
8571
+ systemPrompt?: string | undefined;
8572
+ images?: {
8573
+ mediaType: string;
8574
+ data: string;
8575
+ }[] | undefined;
8576
+ todoId?: string | undefined;
8577
+ };
8578
+ };
8579
+ } | {
8580
+ output: {
8581
+ error: string;
8582
+ };
8583
+ outputFormat: "json";
8584
+ status: 404;
8585
+ input: {
8586
+ json: {
8587
+ workflow?: string | undefined;
8588
+ steps?: {
8589
+ id: string;
8590
+ name?: string | undefined;
8591
+ prompt?: string | undefined;
8592
+ skill?: string | undefined;
8593
+ model?: string | undefined;
8594
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8595
+ allowedTools?: string[] | undefined;
8596
+ bashAllowlist?: string[] | undefined;
8597
+ command?: string | undefined;
8598
+ onFail?: {
8599
+ retry: string;
8600
+ max?: number | undefined;
8601
+ } | undefined;
8602
+ }[] | undefined;
8603
+ task: string;
8604
+ model?: string | undefined;
8605
+ effort?: string | undefined;
8606
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8607
+ agentProfile?: string | undefined;
8608
+ variants?: number | undefined;
8609
+ worktree?: boolean | undefined;
8610
+ autonomous?: boolean | undefined;
8611
+ generateFollowups?: boolean | undefined;
8612
+ systemPrompt?: string | undefined;
8613
+ images?: {
8614
+ mediaType: string;
8615
+ data: string;
8616
+ }[] | undefined;
8617
+ todoId?: string | undefined;
8618
+ };
8619
+ };
8620
+ } | {
8621
+ output: {
8622
+ error: string;
8623
+ };
8624
+ outputFormat: "json";
8625
+ status: 409;
8626
+ input: {
8627
+ json: {
8628
+ workflow?: string | undefined;
8629
+ steps?: {
8630
+ id: string;
8631
+ name?: string | undefined;
8632
+ prompt?: string | undefined;
8633
+ skill?: string | undefined;
8634
+ model?: string | undefined;
8635
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8636
+ allowedTools?: string[] | undefined;
8637
+ bashAllowlist?: string[] | undefined;
8638
+ command?: string | undefined;
8639
+ onFail?: {
8640
+ retry: string;
8641
+ max?: number | undefined;
8642
+ } | undefined;
8643
+ }[] | undefined;
8644
+ task: string;
8645
+ model?: string | undefined;
8646
+ effort?: string | undefined;
8647
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8648
+ agentProfile?: string | undefined;
8649
+ variants?: number | undefined;
8650
+ worktree?: boolean | undefined;
8651
+ autonomous?: boolean | undefined;
8652
+ generateFollowups?: boolean | undefined;
8653
+ systemPrompt?: string | undefined;
8654
+ images?: {
8655
+ mediaType: string;
8656
+ data: string;
8657
+ }[] | undefined;
8658
+ todoId?: string | undefined;
8659
+ };
8660
+ };
8661
8661
  };
8662
8662
  };
8663
8663
  } & {
8664
8664
  "/runs/:id": {
8665
8665
  $get: {
8666
+ output: {
8667
+ error: string;
8668
+ };
8669
+ outputFormat: "json";
8670
+ status: 404;
8671
+ input: {
8672
+ param: {
8673
+ id: string;
8674
+ };
8675
+ };
8676
+ } | {
8666
8677
  output: {
8667
8678
  id: string;
8668
8679
  title: string;
@@ -9020,17 +9031,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9020
9031
  id: string;
9021
9032
  };
9022
9033
  };
9023
- } | {
9024
- output: {
9025
- error: string;
9026
- };
9027
- outputFormat: "json";
9028
- status: 404;
9029
- input: {
9030
- param: {
9031
- id: string;
9032
- };
9033
- };
9034
9034
  };
9035
9035
  };
9036
9036
  } & {
@@ -9158,6 +9158,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9158
9158
  } & {
9159
9159
  "/runs/:id": {
9160
9160
  $patch: {
9161
+ output: {
9162
+ error: string;
9163
+ };
9164
+ outputFormat: "json";
9165
+ status: 400;
9166
+ input: {
9167
+ json: {
9168
+ title?: string | undefined;
9169
+ task?: string | undefined;
9170
+ };
9171
+ } & {
9172
+ param: {
9173
+ id: string;
9174
+ };
9175
+ };
9176
+ } | {
9177
+ output: {
9178
+ error: string;
9179
+ };
9180
+ outputFormat: "json";
9181
+ status: 404;
9182
+ input: {
9183
+ json: {
9184
+ title?: string | undefined;
9185
+ task?: string | undefined;
9186
+ };
9187
+ } & {
9188
+ param: {
9189
+ id: string;
9190
+ };
9191
+ };
9192
+ } | {
9193
+ output: {
9194
+ error: string;
9195
+ };
9196
+ outputFormat: "json";
9197
+ status: 409;
9198
+ input: {
9199
+ json: {
9200
+ title?: string | undefined;
9201
+ task?: string | undefined;
9202
+ };
9203
+ } & {
9204
+ param: {
9205
+ id: string;
9206
+ };
9207
+ };
9208
+ } | {
9161
9209
  output: {
9162
9210
  id: string;
9163
9211
  title: string;
@@ -9514,54 +9562,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9514
9562
  id: string;
9515
9563
  };
9516
9564
  };
9517
- } | {
9518
- output: {
9519
- error: string;
9520
- };
9521
- outputFormat: "json";
9522
- status: 404;
9523
- input: {
9524
- json: {
9525
- title?: string | undefined;
9526
- task?: string | undefined;
9527
- };
9528
- } & {
9529
- param: {
9530
- id: string;
9531
- };
9532
- };
9533
- } | {
9534
- output: {
9535
- error: string;
9536
- };
9537
- outputFormat: "json";
9538
- status: 400;
9539
- input: {
9540
- json: {
9541
- title?: string | undefined;
9542
- task?: string | undefined;
9543
- };
9544
- } & {
9545
- param: {
9546
- id: string;
9547
- };
9548
- };
9549
- } | {
9550
- output: {
9551
- error: string;
9552
- };
9553
- outputFormat: "json";
9554
- status: 409;
9555
- input: {
9556
- json: {
9557
- title?: string | undefined;
9558
- task?: string | undefined;
9559
- };
9560
- } & {
9561
- param: {
9562
- id: string;
9563
- };
9564
- };
9565
9565
  };
9566
9566
  };
9567
9567
  } & {
@@ -9597,7 +9597,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9597
9597
  error: string;
9598
9598
  };
9599
9599
  outputFormat: "json";
9600
- status: 404;
9600
+ status: 400;
9601
9601
  input: {
9602
9602
  json: {
9603
9603
  text?: string | undefined;
@@ -9616,7 +9616,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9616
9616
  error: string;
9617
9617
  };
9618
9618
  outputFormat: "json";
9619
- status: 409;
9619
+ status: 404;
9620
9620
  input: {
9621
9621
  json: {
9622
9622
  text?: string | undefined;
@@ -9632,10 +9632,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9632
9632
  };
9633
9633
  } | {
9634
9634
  output: {
9635
- delivered: true;
9635
+ error: string;
9636
9636
  };
9637
9637
  outputFormat: "json";
9638
- status: import("hono/utils/http-status").ContentfulStatusCode;
9638
+ status: 409;
9639
9639
  input: {
9640
9640
  json: {
9641
9641
  text?: string | undefined;
@@ -9651,10 +9651,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9651
9651
  };
9652
9652
  } | {
9653
9653
  output: {
9654
- error: string;
9654
+ delivered: true;
9655
9655
  };
9656
9656
  outputFormat: "json";
9657
- status: 400;
9657
+ status: import("hono/utils/http-status").ContentfulStatusCode;
9658
9658
  input: {
9659
9659
  json: {
9660
9660
  text?: string | undefined;
@@ -9721,7 +9721,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9721
9721
  error: string;
9722
9722
  };
9723
9723
  outputFormat: "json";
9724
- status: 404;
9724
+ status: 400;
9725
9725
  input: {
9726
9726
  json: {
9727
9727
  text?: string | undefined;
@@ -9742,7 +9742,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9742
9742
  error: string;
9743
9743
  };
9744
9744
  outputFormat: "json";
9745
- status: 400;
9745
+ status: 404;
9746
9746
  input: {
9747
9747
  json: {
9748
9748
  text?: string | undefined;
@@ -9894,7 +9894,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9894
9894
  error: string;
9895
9895
  };
9896
9896
  outputFormat: "json";
9897
- status: 404;
9897
+ status: 400;
9898
9898
  input: {
9899
9899
  json: {
9900
9900
  text?: string | undefined;
@@ -9917,7 +9917,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9917
9917
  error: string;
9918
9918
  };
9919
9919
  outputFormat: "json";
9920
- status: 400;
9920
+ status: 404;
9921
9921
  input: {
9922
9922
  json: {
9923
9923
  text?: string | undefined;
@@ -10028,7 +10028,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10028
10028
  error: string;
10029
10029
  };
10030
10030
  outputFormat: "json";
10031
- status: 404;
10031
+ status: 400;
10032
10032
  input: {
10033
10033
  json: {
10034
10034
  target: string;
@@ -10044,7 +10044,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10044
10044
  error: string;
10045
10045
  };
10046
10046
  outputFormat: "json";
10047
- status: 409;
10047
+ status: 404;
10048
10048
  input: {
10049
10049
  json: {
10050
10050
  target: string;
@@ -10060,7 +10060,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10060
10060
  error: string;
10061
10061
  };
10062
10062
  outputFormat: "json";
10063
- status: 400;
10063
+ status: 409;
10064
10064
  input: {
10065
10065
  json: {
10066
10066
  target: string;
@@ -10117,9 +10117,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10117
10117
  } & {
10118
10118
  "/runs/:id/images/:file": {
10119
10119
  $get: {
10120
- output: {};
10121
- outputFormat: string;
10122
- status: import("hono/utils/http-status").StatusCode;
10120
+ output: {
10121
+ error: string;
10122
+ code?: "invalid_input" | undefined;
10123
+ };
10124
+ outputFormat: "json";
10125
+ status: 400;
10123
10126
  input: {
10124
10127
  param: {
10125
10128
  id: string;
@@ -10127,12 +10130,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10127
10130
  };
10128
10131
  };
10129
10132
  } | {
10130
- output: {
10131
- error: string;
10132
- code?: "invalid_input" | undefined;
10133
- };
10134
- outputFormat: "json";
10135
- status: 400;
10133
+ output: {};
10134
+ outputFormat: string;
10135
+ status: import("hono/utils/http-status").StatusCode;
10136
10136
  input: {
10137
10137
  param: {
10138
10138
  id: string;
@@ -10144,20 +10144,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10144
10144
  } & {
10145
10145
  "/runs/:id/diff": {
10146
10146
  $get: {
10147
- output: string;
10148
- outputFormat: "text";
10149
- status: import("hono/utils/http-status").ContentfulStatusCode;
10147
+ output: {
10148
+ error: string;
10149
+ };
10150
+ outputFormat: "json";
10151
+ status: 404;
10150
10152
  input: {
10151
10153
  param: {
10152
10154
  id: string;
10153
10155
  };
10154
10156
  };
10155
10157
  } | {
10156
- output: {
10157
- error: string;
10158
- };
10159
- outputFormat: "json";
10160
- status: 404;
10158
+ output: string;
10159
+ outputFormat: "text";
10160
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10161
10161
  input: {
10162
10162
  param: {
10163
10163
  id: string;
@@ -10527,10 +10527,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10527
10527
  "/runs/:id/pr": {
10528
10528
  $post: {
10529
10529
  output: {
10530
- error: string;
10530
+ url: string;
10531
+ dryRun: boolean;
10531
10532
  };
10532
10533
  outputFormat: "json";
10533
- status: 404;
10534
+ status: 201;
10534
10535
  input: {
10535
10536
  param: {
10536
10537
  id: string;
@@ -10541,7 +10542,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10541
10542
  error: string;
10542
10543
  };
10543
10544
  outputFormat: "json";
10544
- status: 409;
10545
+ status: 400;
10545
10546
  input: {
10546
10547
  param: {
10547
10548
  id: string;
@@ -10552,7 +10553,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10552
10553
  error: string;
10553
10554
  };
10554
10555
  outputFormat: "json";
10555
- status: 400;
10556
+ status: 404;
10556
10557
  input: {
10557
10558
  param: {
10558
10559
  id: string;
@@ -10560,11 +10561,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10560
10561
  };
10561
10562
  } | {
10562
10563
  output: {
10563
- url: string;
10564
- dryRun: boolean;
10564
+ error: string;
10565
10565
  };
10566
10566
  outputFormat: "json";
10567
- status: 201;
10567
+ status: 409;
10568
10568
  input: {
10569
10569
  param: {
10570
10570
  id: string;
@@ -10616,7 +10616,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10616
10616
  error: string;
10617
10617
  };
10618
10618
  outputFormat: "json";
10619
- status: 409;
10619
+ status: 404;
10620
10620
  input: {
10621
10621
  param: {
10622
10622
  id: string;
@@ -10627,7 +10627,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10627
10627
  error: string;
10628
10628
  };
10629
10629
  outputFormat: "json";
10630
- status: 404;
10630
+ status: 409;
10631
10631
  input: {
10632
10632
  param: {
10633
10633
  id: string;
@@ -11298,7 +11298,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11298
11298
  error: string;
11299
11299
  };
11300
11300
  outputFormat: "json";
11301
- status: 409;
11301
+ status: 400;
11302
11302
  input: {
11303
11303
  json: {
11304
11304
  target: string;
@@ -11309,7 +11309,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11309
11309
  error: string;
11310
11310
  };
11311
11311
  outputFormat: "json";
11312
- status: 400;
11312
+ status: 409;
11313
11313
  input: {
11314
11314
  json: {
11315
11315
  target: string;
@@ -11368,9 +11368,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11368
11368
  }, "/"> | import("hono/types").MergeSchemaPath<{
11369
11369
  "/runs/:id/events": {
11370
11370
  $get: {
11371
- output: {};
11372
- outputFormat: string;
11373
- status: import("hono/utils/http-status").StatusCode;
11371
+ output: {
11372
+ error: string;
11373
+ code?: "invalid_input" | undefined;
11374
+ };
11375
+ outputFormat: "json";
11376
+ status: 400;
11374
11377
  input: {
11375
11378
  param: {
11376
11379
  id: string;
@@ -11382,12 +11385,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11382
11385
  };
11383
11386
  };
11384
11387
  } | {
11385
- output: {
11386
- error: string;
11387
- code?: "invalid_input" | undefined;
11388
- };
11389
- outputFormat: "json";
11390
- status: 400;
11388
+ output: {};
11389
+ outputFormat: string;
11390
+ status: import("hono/utils/http-status").StatusCode;
11391
11391
  input: {
11392
11392
  param: {
11393
11393
  id: string;
@@ -11439,25 +11439,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11439
11439
  "/config": {
11440
11440
  $put: {
11441
11441
  output: {
11442
- baseBranch: string | null;
11443
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
11444
- systemPrompt: string | null;
11445
- defaultModels: {
11446
- claude?: string | undefined;
11447
- codex?: string | undefined;
11448
- cursor?: string | undefined;
11449
- opencode?: string | undefined;
11450
- pi?: string | undefined;
11451
- };
11452
- modelsLocked: boolean;
11453
- maxParallel: number;
11454
- memoryLimitMb: number | null;
11455
- worktreeRetention: number;
11456
- liveTitleUpdates: boolean | null;
11457
- reviewGate: boolean | null;
11442
+ error: string;
11458
11443
  };
11459
11444
  outputFormat: "json";
11460
- status: import("hono/utils/http-status").ContentfulStatusCode;
11445
+ status: 409;
11461
11446
  input: {
11462
11447
  json: {
11463
11448
  baseBranch?: string | null | undefined;
@@ -11482,7 +11467,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11482
11467
  error: string;
11483
11468
  };
11484
11469
  outputFormat: "json";
11485
- status: 409;
11470
+ status: 500;
11486
11471
  input: {
11487
11472
  json: {
11488
11473
  baseBranch?: string | null | undefined;
@@ -11504,10 +11489,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11504
11489
  };
11505
11490
  } | {
11506
11491
  output: {
11507
- error: string;
11492
+ baseBranch: string | null;
11493
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
11494
+ systemPrompt: string | null;
11495
+ defaultModels: {
11496
+ claude?: string | undefined;
11497
+ codex?: string | undefined;
11498
+ cursor?: string | undefined;
11499
+ opencode?: string | undefined;
11500
+ pi?: string | undefined;
11501
+ };
11502
+ modelsLocked: boolean;
11503
+ maxParallel: number;
11504
+ memoryLimitMb: number | null;
11505
+ worktreeRetention: number;
11506
+ liveTitleUpdates: boolean | null;
11507
+ reviewGate: boolean | null;
11508
11508
  };
11509
11509
  outputFormat: "json";
11510
- status: 500;
11510
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11511
11511
  input: {
11512
11512
  json: {
11513
11513
  baseBranch?: string | null | undefined;
@@ -11532,6 +11532,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11532
11532
  }, "/"> | import("hono/types").MergeSchemaPath<{
11533
11533
  "/skills": {
11534
11534
  $get: {
11535
+ output: {
11536
+ error: string;
11537
+ code?: "invalid_input" | undefined;
11538
+ };
11539
+ outputFormat: "json";
11540
+ status: 400;
11541
+ input: {
11542
+ query: {
11543
+ wait?: string | undefined;
11544
+ };
11545
+ };
11546
+ } | {
11535
11547
  output: {
11536
11548
  name: string;
11537
11549
  description?: string;
@@ -11554,7 +11566,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11554
11566
  wait?: string | undefined;
11555
11567
  };
11556
11568
  };
11557
- } | {
11569
+ };
11570
+ };
11571
+ } & {
11572
+ "/skills/importable": {
11573
+ $get: {
11558
11574
  output: {
11559
11575
  error: string;
11560
11576
  code?: "invalid_input" | undefined;
@@ -11566,11 +11582,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11566
11582
  wait?: string | undefined;
11567
11583
  };
11568
11584
  };
11569
- };
11570
- };
11571
- } & {
11572
- "/skills/importable": {
11573
- $get: {
11585
+ } | {
11574
11586
  output: {
11575
11587
  name: string;
11576
11588
  description?: string | undefined;
@@ -11582,18 +11594,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11582
11594
  wait?: string | undefined;
11583
11595
  };
11584
11596
  };
11585
- } | {
11586
- output: {
11587
- error: string;
11588
- code?: "invalid_input" | undefined;
11589
- };
11590
- outputFormat: "json";
11591
- status: 400;
11592
- input: {
11593
- query: {
11594
- wait?: string | undefined;
11595
- };
11596
- };
11597
11597
  };
11598
11598
  };
11599
11599
  } & {
@@ -11647,18 +11647,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11647
11647
  error: string;
11648
11648
  };
11649
11649
  outputFormat: "json";
11650
- status: 409;
11651
- input: {
11652
- param: {
11653
- id: string;
11654
- };
11655
- };
11656
- } | {
11657
- output: {
11658
- removed: true;
11659
- };
11660
- outputFormat: "json";
11661
- status: import("hono/utils/http-status").ContentfulStatusCode;
11650
+ status: 404;
11662
11651
  input: {
11663
11652
  param: {
11664
11653
  id: string;
@@ -11669,35 +11658,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11669
11658
  error: string;
11670
11659
  };
11671
11660
  outputFormat: "json";
11672
- status: 404;
11661
+ status: 409;
11673
11662
  input: {
11674
11663
  param: {
11675
11664
  id: string;
11676
11665
  };
11677
11666
  };
11678
- };
11679
- };
11680
- } & {
11681
- "/todos/:id/start": {
11682
- $post: {
11667
+ } | {
11683
11668
  output: {
11684
- error: string;
11669
+ removed: true;
11685
11670
  };
11686
11671
  outputFormat: "json";
11687
- status: 409;
11688
- input: {
11689
- json: {
11690
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
11691
- model?: string | undefined;
11692
- effort?: string | undefined;
11693
- prompt?: string | undefined;
11694
- } | undefined;
11695
- } & {
11672
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11673
+ input: {
11696
11674
  param: {
11697
11675
  id: string;
11698
11676
  };
11699
11677
  };
11700
- } | {
11678
+ };
11679
+ };
11680
+ } & {
11681
+ "/todos/:id/start": {
11682
+ $post: {
11701
11683
  output: {
11702
11684
  run: {
11703
11685
  id: string;
@@ -12058,6 +12040,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12058
12040
  id: string;
12059
12041
  };
12060
12042
  };
12043
+ } | {
12044
+ output: {
12045
+ error: string;
12046
+ };
12047
+ outputFormat: "json";
12048
+ status: 404;
12049
+ input: {
12050
+ json: {
12051
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
12052
+ model?: string | undefined;
12053
+ effort?: string | undefined;
12054
+ prompt?: string | undefined;
12055
+ } | undefined;
12056
+ } & {
12057
+ param: {
12058
+ id: string;
12059
+ };
12060
+ };
12061
12061
  } | {
12062
12062
  output: {
12063
12063
  error: string;
@@ -12081,7 +12081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12081
12081
  error: string;
12082
12082
  };
12083
12083
  outputFormat: "json";
12084
- status: 404;
12084
+ status: 409;
12085
12085
  input: {
12086
12086
  json: {
12087
12087
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -12184,14 +12184,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12184
12184
  "/agent-config/:id": {
12185
12185
  $put: {
12186
12186
  output: {
12187
- id: string;
12188
- path: string;
12189
- exists: boolean;
12190
- content: string;
12191
- version: string | null;
12187
+ error: string;
12192
12188
  };
12193
12189
  outputFormat: "json";
12194
- status: import("hono/utils/http-status").ContentfulStatusCode;
12190
+ status: 404;
12195
12191
  input: {
12196
12192
  json: {
12197
12193
  content: string;
@@ -12204,10 +12200,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12204
12200
  };
12205
12201
  } | {
12206
12202
  output: {
12207
- error: string;
12203
+ id: string;
12204
+ path: string;
12205
+ exists: boolean;
12206
+ content: string;
12207
+ version: string | null;
12208
12208
  };
12209
12209
  outputFormat: "json";
12210
- status: 404;
12210
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12211
12211
  input: {
12212
12212
  json: {
12213
12213
  content: string;
@@ -12275,10 +12275,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12275
12275
  "/workflows": {
12276
12276
  $post: {
12277
12277
  output: {
12278
- error: string;
12278
+ path: string;
12279
+ name: string;
12279
12280
  };
12280
12281
  outputFormat: "json";
12281
- status: 400;
12282
+ status: 201;
12282
12283
  input: {
12283
12284
  json: {
12284
12285
  name: string;
@@ -12305,10 +12306,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12305
12306
  } | {
12306
12307
  output: {
12307
12308
  error: string;
12308
- exists: true;
12309
12309
  };
12310
12310
  outputFormat: "json";
12311
- status: 409;
12311
+ status: 400;
12312
12312
  input: {
12313
12313
  json: {
12314
12314
  name: string;
@@ -12335,9 +12335,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12335
12335
  } | {
12336
12336
  output: {
12337
12337
  error: string;
12338
+ exists: true;
12338
12339
  };
12339
12340
  outputFormat: "json";
12340
- status: 500;
12341
+ status: 409;
12341
12342
  input: {
12342
12343
  json: {
12343
12344
  name: string;
@@ -12363,11 +12364,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12363
12364
  };
12364
12365
  } | {
12365
12366
  output: {
12366
- path: string;
12367
- name: string;
12367
+ error: string;
12368
12368
  };
12369
12369
  outputFormat: "json";
12370
- status: 201;
12370
+ status: 500;
12371
12371
  input: {
12372
12372
  json: {
12373
12373
  name: string;
@@ -12400,7 +12400,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12400
12400
  error: string;
12401
12401
  };
12402
12402
  outputFormat: "json";
12403
- status: 404;
12403
+ status: 400;
12404
12404
  input: {
12405
12405
  param: {
12406
12406
  name: string;
@@ -12411,7 +12411,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12411
12411
  error: string;
12412
12412
  };
12413
12413
  outputFormat: "json";
12414
- status: 400;
12414
+ status: 404;
12415
12415
  input: {
12416
12416
  param: {
12417
12417
  name: string;
@@ -12534,9 +12534,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12534
12534
  } & {
12535
12535
  "/repo/commit/:sha": {
12536
12536
  $get: {
12537
- output: string;
12538
- outputFormat: "text";
12539
- status: import("hono/utils/http-status").ContentfulStatusCode;
12537
+ output: {
12538
+ error: string;
12539
+ code?: "invalid_input" | undefined;
12540
+ };
12541
+ outputFormat: "json";
12542
+ status: 400;
12540
12543
  input: {
12541
12544
  query: {
12542
12545
  structured?: string | undefined;
@@ -12549,10 +12552,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12549
12552
  } | {
12550
12553
  output: {
12551
12554
  error: string;
12552
- code?: "invalid_input" | undefined;
12553
12555
  };
12554
12556
  outputFormat: "json";
12555
- status: 400;
12557
+ status: 409;
12556
12558
  input: {
12557
12559
  query: {
12558
12560
  structured?: string | undefined;
@@ -12596,11 +12598,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12596
12598
  };
12597
12599
  };
12598
12600
  } | {
12599
- output: {
12600
- error: string;
12601
- };
12602
- outputFormat: "json";
12603
- status: 409;
12601
+ output: string;
12602
+ outputFormat: "text";
12603
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12604
12604
  input: {
12605
12605
  query: {
12606
12606
  structured?: string | undefined;
@@ -12615,6 +12615,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12615
12615
  } & {
12616
12616
  "/repo/changes": {
12617
12617
  $get: {
12618
+ output: {
12619
+ error: string;
12620
+ };
12621
+ outputFormat: "json";
12622
+ status: 409;
12623
+ input: {};
12624
+ } | {
12618
12625
  output: {
12619
12626
  files: {
12620
12627
  path: string;
@@ -12639,13 +12646,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12639
12646
  outputFormat: "json";
12640
12647
  status: import("hono/utils/http-status").ContentfulStatusCode;
12641
12648
  input: {};
12642
- } | {
12643
- output: {
12644
- error: string;
12645
- };
12646
- outputFormat: "json";
12647
- status: 409;
12648
- input: {};
12649
12649
  };
12650
12650
  };
12651
12651
  } & {
@@ -12670,10 +12670,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12670
12670
  "/repo/pull": {
12671
12671
  $post: {
12672
12672
  output: {
12673
- error: string;
12673
+ branch: string;
12674
+ pulled: true;
12675
+ summary: string;
12674
12676
  };
12675
12677
  outputFormat: "json";
12676
- status: 409;
12678
+ status: 200;
12677
12679
  input: {
12678
12680
  json: {
12679
12681
  branch?: string | undefined;
@@ -12682,12 +12684,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12682
12684
  };
12683
12685
  } | {
12684
12686
  output: {
12685
- branch: string;
12686
- pulled: true;
12687
- summary: string;
12687
+ error: string;
12688
12688
  };
12689
12689
  outputFormat: "json";
12690
- status: 200;
12690
+ status: 409;
12691
12691
  input: {
12692
12692
  json: {
12693
12693
  branch?: string | undefined;
@@ -13403,30 +13403,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13403
13403
  "/automations": {
13404
13404
  $post: {
13405
13405
  output: {
13406
- error: string;
13407
- };
13408
- outputFormat: "json";
13409
- status: 400;
13410
- input: {
13411
- json: {
13406
+ automation: {
13407
+ [x: string]: import("hono/utils/types").JSONValue;
13408
+ id: string;
13409
+ revision: number;
13412
13410
  name: string;
13413
13411
  description?: string | undefined;
13414
- enabled?: boolean | undefined;
13412
+ enabled: boolean;
13415
13413
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
13416
13414
  intervalSeconds: number;
13417
13415
  filters: {
13418
- [x: string]: unknown;
13416
+ [x: string]: import("hono/utils/types").JSONValue;
13419
13417
  authors?: string[] | undefined;
13420
13418
  assignees?: string[] | undefined;
13421
13419
  allLabels?: string[] | undefined;
13422
13420
  anyLabels?: string[] | undefined;
13423
13421
  excludeLabels?: string[] | undefined;
13424
13422
  changedLabels?: string[] | undefined;
13425
- lookbackDays?: number | undefined;
13426
- maxRecords?: number | undefined;
13423
+ lookbackDays: number;
13424
+ maxRecords: number;
13427
13425
  };
13428
13426
  task: {
13429
- [x: string]: unknown;
13427
+ [x: string]: import("hono/utils/types").JSONValue;
13430
13428
  prompt: string;
13431
13429
  workflow?: string | undefined;
13432
13430
  steps?: {
@@ -13441,7 +13439,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13441
13439
  command?: string | undefined;
13442
13440
  onFail?: {
13443
13441
  retry: string;
13444
- max?: number | undefined;
13442
+ max: number;
13445
13443
  } | undefined;
13446
13444
  }[] | undefined;
13447
13445
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -13453,33 +13451,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13453
13451
  autonomous?: boolean | undefined;
13454
13452
  systemPrompt?: string | undefined;
13455
13453
  };
13456
- enable?: boolean | undefined;
13454
+ createdAt: string;
13455
+ updatedAt: string;
13457
13456
  };
13458
13457
  };
13459
- } | {
13460
- output: {
13461
- automation: {
13462
- [x: string]: import("hono/utils/types").JSONValue;
13463
- id: string;
13464
- revision: number;
13458
+ outputFormat: "json";
13459
+ status: 201;
13460
+ input: {
13461
+ json: {
13465
13462
  name: string;
13466
13463
  description?: string | undefined;
13467
- enabled: boolean;
13464
+ enabled?: boolean | undefined;
13468
13465
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
13469
13466
  intervalSeconds: number;
13470
13467
  filters: {
13471
- [x: string]: import("hono/utils/types").JSONValue;
13468
+ [x: string]: unknown;
13472
13469
  authors?: string[] | undefined;
13473
13470
  assignees?: string[] | undefined;
13474
13471
  allLabels?: string[] | undefined;
13475
13472
  anyLabels?: string[] | undefined;
13476
13473
  excludeLabels?: string[] | undefined;
13477
13474
  changedLabels?: string[] | undefined;
13478
- lookbackDays: number;
13479
- maxRecords: number;
13475
+ lookbackDays?: number | undefined;
13476
+ maxRecords?: number | undefined;
13480
13477
  };
13481
13478
  task: {
13482
- [x: string]: import("hono/utils/types").JSONValue;
13479
+ [x: string]: unknown;
13483
13480
  prompt: string;
13484
13481
  workflow?: string | undefined;
13485
13482
  steps?: {
@@ -13494,7 +13491,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13494
13491
  command?: string | undefined;
13495
13492
  onFail?: {
13496
13493
  retry: string;
13497
- max: number;
13494
+ max?: number | undefined;
13498
13495
  } | undefined;
13499
13496
  }[] | undefined;
13500
13497
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -13506,12 +13503,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13506
13503
  autonomous?: boolean | undefined;
13507
13504
  systemPrompt?: string | undefined;
13508
13505
  };
13509
- createdAt: string;
13510
- updatedAt: string;
13506
+ enable?: boolean | undefined;
13511
13507
  };
13512
13508
  };
13509
+ } | {
13510
+ output: {
13511
+ error: string;
13512
+ };
13513
13513
  outputFormat: "json";
13514
- status: 201;
13514
+ status: 400;
13515
13515
  input: {
13516
13516
  json: {
13517
13517
  name: string;
@@ -14099,10 +14099,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14099
14099
  "/automations/:id/check": {
14100
14100
  $post: {
14101
14101
  output: {
14102
- error: string;
14102
+ checkId: string;
14103
14103
  };
14104
14104
  outputFormat: "json";
14105
- status: 404;
14105
+ status: 202;
14106
14106
  input: {
14107
14107
  json: {
14108
14108
  mode: "execute" | "preview";
@@ -14114,10 +14114,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14114
14114
  };
14115
14115
  } | {
14116
14116
  output: {
14117
- checkId: string;
14117
+ error: string;
14118
14118
  };
14119
14119
  outputFormat: "json";
14120
- status: 202;
14120
+ status: 404;
14121
14121
  input: {
14122
14122
  json: {
14123
14123
  mode: "execute" | "preview";
@@ -14191,10 +14191,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14191
14191
  "/automation-log/:receiptId/retry": {
14192
14192
  $post: {
14193
14193
  output: {
14194
- error: string;
14194
+ receiptId: string;
14195
+ runId: string;
14195
14196
  };
14196
14197
  outputFormat: "json";
14197
- status: 404;
14198
+ status: 202;
14198
14199
  input: {
14199
14200
  param: {
14200
14201
  receiptId: string;
@@ -14205,7 +14206,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14205
14206
  error: string;
14206
14207
  };
14207
14208
  outputFormat: "json";
14208
- status: 409;
14209
+ status: 404;
14209
14210
  input: {
14210
14211
  param: {
14211
14212
  receiptId: string;
@@ -14213,11 +14214,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14213
14214
  };
14214
14215
  } | {
14215
14216
  output: {
14216
- receiptId: string;
14217
- runId: string;
14217
+ error: string;
14218
14218
  };
14219
14219
  outputFormat: "json";
14220
- status: 202;
14220
+ status: 409;
14221
14221
  input: {
14222
14222
  param: {
14223
14223
  receiptId: string;
@@ -14706,11 +14706,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14706
14706
  "/runs/:id/worker-destroy": {
14707
14707
  $post: {
14708
14708
  output: {
14709
- error: string;
14710
- code?: "invalid_input" | undefined;
14709
+ workerId: string;
14710
+ state: "complete" | "incomplete";
14711
+ deleted?: ({
14712
+ kind: "worktree";
14713
+ path: string;
14714
+ } | {
14715
+ kind: "branch";
14716
+ ref: string;
14717
+ })[] | undefined;
14718
+ remaining: ("branch" | "process" | "worktree")[];
14719
+ error?: string | undefined;
14711
14720
  };
14712
14721
  outputFormat: "json";
14713
- status: 400;
14722
+ status: 200;
14714
14723
  input: {
14715
14724
  query: {
14716
14725
  [x: string]: string | string[];
@@ -14724,11 +14733,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14724
14733
  };
14725
14734
  } | {
14726
14735
  output: {
14727
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
14728
- readonly error: string;
14736
+ error: string;
14737
+ code?: "invalid_input" | undefined;
14729
14738
  };
14730
14739
  outputFormat: "json";
14731
- status: 400 | 401 | 403 | 409 | 503;
14740
+ status: 400;
14732
14741
  input: {
14733
14742
  query: {
14734
14743
  [x: string]: string | string[];
@@ -14755,7 +14764,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14755
14764
  error?: string | undefined;
14756
14765
  };
14757
14766
  outputFormat: "json";
14758
- status: 200;
14767
+ status: 409;
14759
14768
  input: {
14760
14769
  query: {
14761
14770
  [x: string]: string | string[];
@@ -14769,20 +14778,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14769
14778
  };
14770
14779
  } | {
14771
14780
  output: {
14772
- workerId: string;
14773
- state: "complete" | "incomplete";
14774
- deleted?: ({
14775
- kind: "worktree";
14776
- path: string;
14777
- } | {
14778
- kind: "branch";
14779
- ref: string;
14780
- })[] | undefined;
14781
- remaining: ("branch" | "process" | "worktree")[];
14782
- error?: string | undefined;
14781
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
14782
+ readonly error: string;
14783
14783
  };
14784
14784
  outputFormat: "json";
14785
- status: 409;
14785
+ status: 400 | 401 | 403 | 409 | 503;
14786
14786
  input: {
14787
14787
  query: {
14788
14788
  [x: string]: string | string[];
@@ -14821,6 +14821,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14821
14821
  } & {
14822
14822
  "/runs/:id/archive": {
14823
14823
  $post: {
14824
+ output: {
14825
+ error: string;
14826
+ };
14827
+ outputFormat: "json";
14828
+ status: 404;
14829
+ input: {
14830
+ json: {
14831
+ archived?: boolean | undefined;
14832
+ };
14833
+ } & {
14834
+ param: {
14835
+ id: string;
14836
+ };
14837
+ };
14838
+ } | {
14824
14839
  output: {
14825
14840
  id: string;
14826
14841
  title: string;
@@ -15162,26 +15177,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15162
15177
  } | undefined;
15163
15178
  }[];
15164
15179
  source: "built-in" | "file";
15165
- path?: string | undefined;
15166
- } | undefined;
15167
- };
15168
- outputFormat: "json";
15169
- status: import("hono/utils/http-status").ContentfulStatusCode;
15170
- input: {
15171
- json: {
15172
- archived?: boolean | undefined;
15173
- };
15174
- } & {
15175
- param: {
15176
- id: string;
15177
- };
15178
- };
15179
- } | {
15180
- output: {
15181
- error: string;
15180
+ path?: string | undefined;
15181
+ } | undefined;
15182
15182
  };
15183
15183
  outputFormat: "json";
15184
- status: 404;
15184
+ status: import("hono/utils/http-status").ContentfulStatusCode;
15185
15185
  input: {
15186
15186
  json: {
15187
15187
  archived?: boolean | undefined;
@@ -15211,6 +15211,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15211
15211
  pinned?: boolean | undefined;
15212
15212
  };
15213
15213
  };
15214
+ } | {
15215
+ output: {
15216
+ error: string;
15217
+ };
15218
+ outputFormat: "json";
15219
+ status: 404;
15220
+ input: {
15221
+ param: {
15222
+ id: string;
15223
+ };
15224
+ } & {
15225
+ json: {
15226
+ pinned?: boolean | undefined;
15227
+ };
15228
+ };
15214
15229
  } | {
15215
15230
  output: {
15216
15231
  id: string;
@@ -15567,21 +15582,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15567
15582
  pinned?: boolean | undefined;
15568
15583
  };
15569
15584
  };
15570
- } | {
15571
- output: {
15572
- error: string;
15573
- };
15574
- outputFormat: "json";
15575
- status: 404;
15576
- input: {
15577
- param: {
15578
- id: string;
15579
- };
15580
- } & {
15581
- json: {
15582
- pinned?: boolean | undefined;
15583
- };
15584
- };
15585
15585
  };
15586
15586
  };
15587
15587
  } & {
@@ -15613,6 +15613,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15613
15613
  } & {
15614
15614
  "/runs/:id/read": {
15615
15615
  $post: {
15616
+ output: {
15617
+ error: string;
15618
+ };
15619
+ outputFormat: "json";
15620
+ status: 404;
15621
+ input: {
15622
+ param: {
15623
+ id: string;
15624
+ };
15625
+ };
15626
+ } | {
15616
15627
  output: {
15617
15628
  id: string;
15618
15629
  title: string;
@@ -15964,7 +15975,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15964
15975
  id: string;
15965
15976
  };
15966
15977
  };
15967
- } | {
15978
+ };
15979
+ };
15980
+ } & {
15981
+ "/runs/:id/unread": {
15982
+ $post: {
15968
15983
  output: {
15969
15984
  error: string;
15970
15985
  };
@@ -15975,11 +15990,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15975
15990
  id: string;
15976
15991
  };
15977
15992
  };
15978
- };
15979
- };
15980
- } & {
15981
- "/runs/:id/unread": {
15982
- $post: {
15993
+ } | {
15983
15994
  output: {
15984
15995
  id: string;
15985
15996
  title: string;
@@ -16331,17 +16342,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16331
16342
  id: string;
16332
16343
  };
16333
16344
  };
16334
- } | {
16335
- output: {
16336
- error: string;
16337
- };
16338
- outputFormat: "json";
16339
- status: 404;
16340
- input: {
16341
- param: {
16342
- id: string;
16343
- };
16344
- };
16345
16345
  };
16346
16346
  };
16347
16347
  } & {
@@ -16728,129 +16728,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16728
16728
  todoId?: string | undefined;
16729
16729
  };
16730
16730
  };
16731
- } | {
16732
- output: {
16733
- error: string;
16734
- };
16735
- outputFormat: "json";
16736
- status: 409;
16737
- input: {
16738
- json: {
16739
- workflow?: string | undefined;
16740
- steps?: {
16741
- id: string;
16742
- name?: string | undefined;
16743
- prompt?: string | undefined;
16744
- skill?: string | undefined;
16745
- model?: string | undefined;
16746
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16747
- allowedTools?: string[] | undefined;
16748
- bashAllowlist?: string[] | undefined;
16749
- command?: string | undefined;
16750
- onFail?: {
16751
- retry: string;
16752
- max?: number | undefined;
16753
- } | undefined;
16754
- }[] | undefined;
16755
- task: string;
16756
- model?: string | undefined;
16757
- effort?: string | undefined;
16758
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16759
- agentProfile?: string | undefined;
16760
- variants?: number | undefined;
16761
- worktree?: boolean | undefined;
16762
- autonomous?: boolean | undefined;
16763
- generateFollowups?: boolean | undefined;
16764
- systemPrompt?: string | undefined;
16765
- images?: {
16766
- mediaType: string;
16767
- data: string;
16768
- }[] | undefined;
16769
- todoId?: string | undefined;
16770
- };
16771
- };
16772
- } | {
16773
- output: {
16774
- error: string;
16775
- };
16776
- outputFormat: "json";
16777
- status: 400;
16778
- input: {
16779
- json: {
16780
- workflow?: string | undefined;
16781
- steps?: {
16782
- id: string;
16783
- name?: string | undefined;
16784
- prompt?: string | undefined;
16785
- skill?: string | undefined;
16786
- model?: string | undefined;
16787
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16788
- allowedTools?: string[] | undefined;
16789
- bashAllowlist?: string[] | undefined;
16790
- command?: string | undefined;
16791
- onFail?: {
16792
- retry: string;
16793
- max?: number | undefined;
16794
- } | undefined;
16795
- }[] | undefined;
16796
- task: string;
16797
- model?: string | undefined;
16798
- effort?: string | undefined;
16799
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16800
- agentProfile?: string | undefined;
16801
- variants?: number | undefined;
16802
- worktree?: boolean | undefined;
16803
- autonomous?: boolean | undefined;
16804
- generateFollowups?: boolean | undefined;
16805
- systemPrompt?: string | undefined;
16806
- images?: {
16807
- mediaType: string;
16808
- data: string;
16809
- }[] | undefined;
16810
- todoId?: string | undefined;
16811
- };
16812
- };
16813
- } | {
16814
- output: {
16815
- error: string;
16816
- };
16817
- outputFormat: "json";
16818
- status: 404;
16819
- input: {
16820
- json: {
16821
- workflow?: string | undefined;
16822
- steps?: {
16823
- id: string;
16824
- name?: string | undefined;
16825
- prompt?: string | undefined;
16826
- skill?: string | undefined;
16827
- model?: string | undefined;
16828
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16829
- allowedTools?: string[] | undefined;
16830
- bashAllowlist?: string[] | undefined;
16831
- command?: string | undefined;
16832
- onFail?: {
16833
- retry: string;
16834
- max?: number | undefined;
16835
- } | undefined;
16836
- }[] | undefined;
16837
- task: string;
16838
- model?: string | undefined;
16839
- effort?: string | undefined;
16840
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16841
- agentProfile?: string | undefined;
16842
- variants?: number | undefined;
16843
- worktree?: boolean | undefined;
16844
- autonomous?: boolean | undefined;
16845
- generateFollowups?: boolean | undefined;
16846
- systemPrompt?: string | undefined;
16847
- images?: {
16848
- mediaType: string;
16849
- data: string;
16850
- }[] | undefined;
16851
- todoId?: string | undefined;
16852
- };
16853
- };
16854
16731
  } | {
16855
16732
  output: {
16856
16733
  runs: {
@@ -17199,7 +17076,130 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17199
17076
  }[];
17200
17077
  };
17201
17078
  outputFormat: "json";
17202
- status: 201;
17079
+ status: 201;
17080
+ input: {
17081
+ json: {
17082
+ workflow?: string | undefined;
17083
+ steps?: {
17084
+ id: string;
17085
+ name?: string | undefined;
17086
+ prompt?: string | undefined;
17087
+ skill?: string | undefined;
17088
+ model?: string | undefined;
17089
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17090
+ allowedTools?: string[] | undefined;
17091
+ bashAllowlist?: string[] | undefined;
17092
+ command?: string | undefined;
17093
+ onFail?: {
17094
+ retry: string;
17095
+ max?: number | undefined;
17096
+ } | undefined;
17097
+ }[] | undefined;
17098
+ task: string;
17099
+ model?: string | undefined;
17100
+ effort?: string | undefined;
17101
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17102
+ agentProfile?: string | undefined;
17103
+ variants?: number | undefined;
17104
+ worktree?: boolean | undefined;
17105
+ autonomous?: boolean | undefined;
17106
+ generateFollowups?: boolean | undefined;
17107
+ systemPrompt?: string | undefined;
17108
+ images?: {
17109
+ mediaType: string;
17110
+ data: string;
17111
+ }[] | undefined;
17112
+ todoId?: string | undefined;
17113
+ };
17114
+ };
17115
+ } | {
17116
+ output: {
17117
+ error: string;
17118
+ };
17119
+ outputFormat: "json";
17120
+ status: 400;
17121
+ input: {
17122
+ json: {
17123
+ workflow?: string | undefined;
17124
+ steps?: {
17125
+ id: string;
17126
+ name?: string | undefined;
17127
+ prompt?: string | undefined;
17128
+ skill?: string | undefined;
17129
+ model?: string | undefined;
17130
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17131
+ allowedTools?: string[] | undefined;
17132
+ bashAllowlist?: string[] | undefined;
17133
+ command?: string | undefined;
17134
+ onFail?: {
17135
+ retry: string;
17136
+ max?: number | undefined;
17137
+ } | undefined;
17138
+ }[] | undefined;
17139
+ task: string;
17140
+ model?: string | undefined;
17141
+ effort?: string | undefined;
17142
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17143
+ agentProfile?: string | undefined;
17144
+ variants?: number | undefined;
17145
+ worktree?: boolean | undefined;
17146
+ autonomous?: boolean | undefined;
17147
+ generateFollowups?: boolean | undefined;
17148
+ systemPrompt?: string | undefined;
17149
+ images?: {
17150
+ mediaType: string;
17151
+ data: string;
17152
+ }[] | undefined;
17153
+ todoId?: string | undefined;
17154
+ };
17155
+ };
17156
+ } | {
17157
+ output: {
17158
+ error: string;
17159
+ };
17160
+ outputFormat: "json";
17161
+ status: 404;
17162
+ input: {
17163
+ json: {
17164
+ workflow?: string | undefined;
17165
+ steps?: {
17166
+ id: string;
17167
+ name?: string | undefined;
17168
+ prompt?: string | undefined;
17169
+ skill?: string | undefined;
17170
+ model?: string | undefined;
17171
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17172
+ allowedTools?: string[] | undefined;
17173
+ bashAllowlist?: string[] | undefined;
17174
+ command?: string | undefined;
17175
+ onFail?: {
17176
+ retry: string;
17177
+ max?: number | undefined;
17178
+ } | undefined;
17179
+ }[] | undefined;
17180
+ task: string;
17181
+ model?: string | undefined;
17182
+ effort?: string | undefined;
17183
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17184
+ agentProfile?: string | undefined;
17185
+ variants?: number | undefined;
17186
+ worktree?: boolean | undefined;
17187
+ autonomous?: boolean | undefined;
17188
+ generateFollowups?: boolean | undefined;
17189
+ systemPrompt?: string | undefined;
17190
+ images?: {
17191
+ mediaType: string;
17192
+ data: string;
17193
+ }[] | undefined;
17194
+ todoId?: string | undefined;
17195
+ };
17196
+ };
17197
+ } | {
17198
+ output: {
17199
+ error: string;
17200
+ };
17201
+ outputFormat: "json";
17202
+ status: 409;
17203
17203
  input: {
17204
17204
  json: {
17205
17205
  workflow?: string | undefined;
@@ -17240,6 +17240,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17240
17240
  } & {
17241
17241
  "/runs/:id": {
17242
17242
  $get: {
17243
+ output: {
17244
+ error: string;
17245
+ };
17246
+ outputFormat: "json";
17247
+ status: 404;
17248
+ input: {
17249
+ param: {
17250
+ id: string;
17251
+ };
17252
+ };
17253
+ } | {
17243
17254
  output: {
17244
17255
  id: string;
17245
17256
  title: string;
@@ -17597,17 +17608,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17597
17608
  id: string;
17598
17609
  };
17599
17610
  };
17600
- } | {
17601
- output: {
17602
- error: string;
17603
- };
17604
- outputFormat: "json";
17605
- status: 404;
17606
- input: {
17607
- param: {
17608
- id: string;
17609
- };
17610
- };
17611
17611
  };
17612
17612
  };
17613
17613
  } & {
@@ -17735,6 +17735,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17735
17735
  } & {
17736
17736
  "/runs/:id": {
17737
17737
  $patch: {
17738
+ output: {
17739
+ error: string;
17740
+ };
17741
+ outputFormat: "json";
17742
+ status: 400;
17743
+ input: {
17744
+ json: {
17745
+ title?: string | undefined;
17746
+ task?: string | undefined;
17747
+ };
17748
+ } & {
17749
+ param: {
17750
+ id: string;
17751
+ };
17752
+ };
17753
+ } | {
17754
+ output: {
17755
+ error: string;
17756
+ };
17757
+ outputFormat: "json";
17758
+ status: 404;
17759
+ input: {
17760
+ json: {
17761
+ title?: string | undefined;
17762
+ task?: string | undefined;
17763
+ };
17764
+ } & {
17765
+ param: {
17766
+ id: string;
17767
+ };
17768
+ };
17769
+ } | {
17770
+ output: {
17771
+ error: string;
17772
+ };
17773
+ outputFormat: "json";
17774
+ status: 409;
17775
+ input: {
17776
+ json: {
17777
+ title?: string | undefined;
17778
+ task?: string | undefined;
17779
+ };
17780
+ } & {
17781
+ param: {
17782
+ id: string;
17783
+ };
17784
+ };
17785
+ } | {
17738
17786
  output: {
17739
17787
  id: string;
17740
17788
  title: string;
@@ -18091,54 +18139,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18091
18139
  id: string;
18092
18140
  };
18093
18141
  };
18094
- } | {
18095
- output: {
18096
- error: string;
18097
- };
18098
- outputFormat: "json";
18099
- status: 404;
18100
- input: {
18101
- json: {
18102
- title?: string | undefined;
18103
- task?: string | undefined;
18104
- };
18105
- } & {
18106
- param: {
18107
- id: string;
18108
- };
18109
- };
18110
- } | {
18111
- output: {
18112
- error: string;
18113
- };
18114
- outputFormat: "json";
18115
- status: 400;
18116
- input: {
18117
- json: {
18118
- title?: string | undefined;
18119
- task?: string | undefined;
18120
- };
18121
- } & {
18122
- param: {
18123
- id: string;
18124
- };
18125
- };
18126
- } | {
18127
- output: {
18128
- error: string;
18129
- };
18130
- outputFormat: "json";
18131
- status: 409;
18132
- input: {
18133
- json: {
18134
- title?: string | undefined;
18135
- task?: string | undefined;
18136
- };
18137
- } & {
18138
- param: {
18139
- id: string;
18140
- };
18141
- };
18142
18142
  };
18143
18143
  };
18144
18144
  } & {
@@ -18174,7 +18174,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18174
18174
  error: string;
18175
18175
  };
18176
18176
  outputFormat: "json";
18177
- status: 404;
18177
+ status: 400;
18178
18178
  input: {
18179
18179
  json: {
18180
18180
  text?: string | undefined;
@@ -18193,7 +18193,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18193
18193
  error: string;
18194
18194
  };
18195
18195
  outputFormat: "json";
18196
- status: 409;
18196
+ status: 404;
18197
18197
  input: {
18198
18198
  json: {
18199
18199
  text?: string | undefined;
@@ -18209,10 +18209,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18209
18209
  };
18210
18210
  } | {
18211
18211
  output: {
18212
- delivered: true;
18212
+ error: string;
18213
18213
  };
18214
18214
  outputFormat: "json";
18215
- status: import("hono/utils/http-status").ContentfulStatusCode;
18215
+ status: 409;
18216
18216
  input: {
18217
18217
  json: {
18218
18218
  text?: string | undefined;
@@ -18228,10 +18228,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18228
18228
  };
18229
18229
  } | {
18230
18230
  output: {
18231
- error: string;
18231
+ delivered: true;
18232
18232
  };
18233
18233
  outputFormat: "json";
18234
- status: 400;
18234
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18235
18235
  input: {
18236
18236
  json: {
18237
18237
  text?: string | undefined;
@@ -18298,7 +18298,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18298
18298
  error: string;
18299
18299
  };
18300
18300
  outputFormat: "json";
18301
- status: 404;
18301
+ status: 400;
18302
18302
  input: {
18303
18303
  json: {
18304
18304
  text?: string | undefined;
@@ -18319,7 +18319,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18319
18319
  error: string;
18320
18320
  };
18321
18321
  outputFormat: "json";
18322
- status: 400;
18322
+ status: 404;
18323
18323
  input: {
18324
18324
  json: {
18325
18325
  text?: string | undefined;
@@ -18471,7 +18471,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18471
18471
  error: string;
18472
18472
  };
18473
18473
  outputFormat: "json";
18474
- status: 404;
18474
+ status: 400;
18475
18475
  input: {
18476
18476
  json: {
18477
18477
  text?: string | undefined;
@@ -18494,7 +18494,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18494
18494
  error: string;
18495
18495
  };
18496
18496
  outputFormat: "json";
18497
- status: 400;
18497
+ status: 404;
18498
18498
  input: {
18499
18499
  json: {
18500
18500
  text?: string | undefined;
@@ -18605,7 +18605,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18605
18605
  error: string;
18606
18606
  };
18607
18607
  outputFormat: "json";
18608
- status: 404;
18608
+ status: 400;
18609
18609
  input: {
18610
18610
  json: {
18611
18611
  target: string;
@@ -18621,7 +18621,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18621
18621
  error: string;
18622
18622
  };
18623
18623
  outputFormat: "json";
18624
- status: 409;
18624
+ status: 404;
18625
18625
  input: {
18626
18626
  json: {
18627
18627
  target: string;
@@ -18637,7 +18637,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18637
18637
  error: string;
18638
18638
  };
18639
18639
  outputFormat: "json";
18640
- status: 400;
18640
+ status: 409;
18641
18641
  input: {
18642
18642
  json: {
18643
18643
  target: string;
@@ -18694,9 +18694,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18694
18694
  } & {
18695
18695
  "/runs/:id/images/:file": {
18696
18696
  $get: {
18697
- output: {};
18698
- outputFormat: string;
18699
- status: import("hono/utils/http-status").StatusCode;
18697
+ output: {
18698
+ error: string;
18699
+ code?: "invalid_input" | undefined;
18700
+ };
18701
+ outputFormat: "json";
18702
+ status: 400;
18700
18703
  input: {
18701
18704
  param: {
18702
18705
  id: string;
@@ -18704,12 +18707,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18704
18707
  };
18705
18708
  };
18706
18709
  } | {
18707
- output: {
18708
- error: string;
18709
- code?: "invalid_input" | undefined;
18710
- };
18711
- outputFormat: "json";
18712
- status: 400;
18710
+ output: {};
18711
+ outputFormat: string;
18712
+ status: import("hono/utils/http-status").StatusCode;
18713
18713
  input: {
18714
18714
  param: {
18715
18715
  id: string;
@@ -18721,20 +18721,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18721
18721
  } & {
18722
18722
  "/runs/:id/diff": {
18723
18723
  $get: {
18724
- output: string;
18725
- outputFormat: "text";
18726
- status: import("hono/utils/http-status").ContentfulStatusCode;
18724
+ output: {
18725
+ error: string;
18726
+ };
18727
+ outputFormat: "json";
18728
+ status: 404;
18727
18729
  input: {
18728
18730
  param: {
18729
18731
  id: string;
18730
18732
  };
18731
18733
  };
18732
18734
  } | {
18733
- output: {
18734
- error: string;
18735
- };
18736
- outputFormat: "json";
18737
- status: 404;
18735
+ output: string;
18736
+ outputFormat: "text";
18737
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18738
18738
  input: {
18739
18739
  param: {
18740
18740
  id: string;
@@ -19104,10 +19104,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19104
19104
  "/runs/:id/pr": {
19105
19105
  $post: {
19106
19106
  output: {
19107
- error: string;
19107
+ url: string;
19108
+ dryRun: boolean;
19108
19109
  };
19109
19110
  outputFormat: "json";
19110
- status: 404;
19111
+ status: 201;
19111
19112
  input: {
19112
19113
  param: {
19113
19114
  id: string;
@@ -19118,7 +19119,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19118
19119
  error: string;
19119
19120
  };
19120
19121
  outputFormat: "json";
19121
- status: 409;
19122
+ status: 400;
19122
19123
  input: {
19123
19124
  param: {
19124
19125
  id: string;
@@ -19129,7 +19130,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19129
19130
  error: string;
19130
19131
  };
19131
19132
  outputFormat: "json";
19132
- status: 400;
19133
+ status: 404;
19133
19134
  input: {
19134
19135
  param: {
19135
19136
  id: string;
@@ -19137,11 +19138,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19137
19138
  };
19138
19139
  } | {
19139
19140
  output: {
19140
- url: string;
19141
- dryRun: boolean;
19141
+ error: string;
19142
19142
  };
19143
19143
  outputFormat: "json";
19144
- status: 201;
19144
+ status: 409;
19145
19145
  input: {
19146
19146
  param: {
19147
19147
  id: string;
@@ -19193,7 +19193,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19193
19193
  error: string;
19194
19194
  };
19195
19195
  outputFormat: "json";
19196
- status: 409;
19196
+ status: 404;
19197
19197
  input: {
19198
19198
  param: {
19199
19199
  id: string;
@@ -19204,7 +19204,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19204
19204
  error: string;
19205
19205
  };
19206
19206
  outputFormat: "json";
19207
- status: 404;
19207
+ status: 409;
19208
19208
  input: {
19209
19209
  param: {
19210
19210
  id: string;