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