@wjarka/cezarion 0.14.9-dev.829 → 0.14.9-dev.878

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 (65) hide show
  1. package/README.md +8 -0
  2. package/dist/ci-wait/controller.d.ts +12 -12
  3. package/dist/core/claude-cli-runner.js +1 -1
  4. package/dist/core/claude-cli-runner.js.map +1 -1
  5. package/dist/core/cursor-acp-runner.d.ts +2 -0
  6. package/dist/core/cursor-acp-runner.js +116 -26
  7. package/dist/core/cursor-acp-runner.js.map +1 -1
  8. package/dist/core/cursor-provider-error.d.ts +3 -0
  9. package/dist/core/cursor-provider-error.js +14 -1
  10. package/dist/core/cursor-provider-error.js.map +1 -1
  11. package/dist/core/opencode-server-runner.js +12 -5
  12. package/dist/core/opencode-server-runner.js.map +1 -1
  13. package/dist/core/pi-runner.js +17 -4
  14. package/dist/core/pi-runner.js.map +1 -1
  15. package/dist/delegation/results.js +10 -6
  16. package/dist/delegation/results.js.map +1 -1
  17. package/dist/git-worktree.d.ts +3 -1
  18. package/dist/git-worktree.js +26 -4
  19. package/dist/git-worktree.js.map +1 -1
  20. package/dist/runs/retention.d.ts +7 -2
  21. package/dist/runs/retention.js +39 -7
  22. package/dist/runs/retention.js.map +1 -1
  23. package/dist/runs/store.js +1 -1
  24. package/dist/runs/store.js.map +1 -1
  25. package/dist/server/server.d.ts +1211 -1211
  26. package/dist/server/server.js +5 -2
  27. package/dist/server/server.js.map +1 -1
  28. package/dist/task-cli/cli.js +36 -2
  29. package/dist/task-cli/cli.js.map +1 -1
  30. package/dist/workflows/run.d.ts +8 -0
  31. package/dist/workflows/run.js +80 -13
  32. package/dist/workflows/run.js.map +1 -1
  33. package/package.json +3 -3
  34. package/scripts/mock-cursor-acp.mjs +22 -3
  35. package/scripts/mock-cursor-hang-stdin.mjs +16 -0
  36. package/scripts/mock-pi-rpc.mjs +15 -4
  37. package/web/dist/assets/{agent-accounts-JPfZPgKn.js → agent-accounts-tNk0wiKj.js} +1 -1
  38. package/web/dist/assets/centered-state-DXxIJA15.js +43 -0
  39. package/web/dist/assets/{collapsible-CTymFdL7.js → collapsible-D3Lh_nlG.js} +1 -1
  40. package/web/dist/assets/{commit-list-BZpYGQl2.js → commit-list-CgoIXaVd.js} +1 -1
  41. package/web/dist/assets/{compare-variants-9VkybaQ7.js → compare-variants-2AnPP6ez.js} +1 -1
  42. package/web/dist/assets/{diff-controls-CpcHG3Mm.js → diff-controls-BCazakYu.js} +1 -1
  43. package/web/dist/assets/{dropdown-menu-_YAzCaoQ.js → dropdown-menu-CyFz8H2A.js} +1 -1
  44. package/web/dist/assets/{git-toolbar-BvKDz6uS.js → git-toolbar-DT4Q02mZ.js} +1 -1
  45. package/web/dist/assets/{github-CgjJCGrD.js → github-vwoJvCTz.js} +1 -1
  46. package/web/dist/assets/{index-BJtve0Pm.js → index-1YNk4P3I.js} +4 -4
  47. package/web/dist/assets/{markdown-CFWZnvMh.js → markdown-0VE-LMFx.js} +1 -1
  48. package/web/dist/assets/{pill-QfwkuR50.js → pill-BU5y1CTd.js} +1 -1
  49. package/web/dist/assets/{project-router-CkAA39N5.js → project-router-EEnXzYjj.js} +1 -1
  50. package/web/dist/assets/{prompt-templates-Cfna_S0T.js → prompt-templates-D8lCwJds.js} +1 -1
  51. package/web/dist/assets/{repo-git-DgzgJ0cP.js → repo-git-CYDGngEk.js} +1 -1
  52. package/web/dist/assets/{run-diff-YbCEQn5I.js → run-diff-C-Ij6Y04.js} +1 -1
  53. package/web/dist/assets/{run-header-DMgIbr1d.js → run-header-DYiqx0qE.js} +1 -1
  54. package/web/dist/assets/{skills-BW79kUTd.js → skills-CH6TkMy9.js} +1 -1
  55. package/web/dist/assets/{tab-link-MIHvczEm.js → tab-link-CQc65wEy.js} +1 -1
  56. package/web/dist/assets/{task-changes-C96ekt94.js → task-changes-CEi-l2GZ.js} +1 -1
  57. package/web/dist/assets/{task-commits-DBfcMZyG.js → task-commits-BYdWmsx1.js} +1 -1
  58. package/web/dist/assets/{task-files-BKpH8dKQ.js → task-files-DHUEF1Fh.js} +1 -1
  59. package/web/dist/assets/{task-thread-Dnq7Ek6W.js → task-thread-DAxvkDvr.js} +2 -2
  60. package/web/dist/assets/{textarea-D2vAVgYW.js → textarea-BOXhPgVD.js} +1 -1
  61. package/web/dist/assets/{thread-loading-NW8Mthco.js → thread-loading-D9dDLmql.js} +1 -1
  62. package/web/dist/assets/{token-metrics-D188e6_0.js → token-metrics-DJeOZ5n-.js} +1 -1
  63. package/web/dist/assets/{workflows-BFY1hgp3.js → workflows-CpHaJbUe.js} +1 -1
  64. package/web/dist/index.html +11 -11
  65. package/web/dist/assets/centered-state-HwCqQkH3.js +0 -43
@@ -323,10 +323,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
323
323
  };
324
324
  } | {
325
325
  output: {
326
- error: string;
326
+ path: string;
327
+ parent: string | null;
328
+ dirs: {
329
+ name: string;
330
+ path: string;
331
+ isRepo: boolean;
332
+ }[];
333
+ truncated: boolean;
327
334
  };
328
335
  outputFormat: "json";
329
- status: 400 | 404;
336
+ status: import("hono/utils/http-status").ContentfulStatusCode;
330
337
  input: {
331
338
  query: {
332
339
  path?: string | undefined;
@@ -335,17 +342,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
335
342
  };
336
343
  } | {
337
344
  output: {
338
- path: string;
339
- parent: string | null;
340
- dirs: {
341
- name: string;
342
- path: string;
343
- isRepo: boolean;
344
- }[];
345
- truncated: boolean;
345
+ error: string;
346
346
  };
347
347
  outputFormat: "json";
348
- status: import("hono/utils/http-status").ContentfulStatusCode;
348
+ status: 400 | 404;
349
349
  input: {
350
350
  query: {
351
351
  path?: string | undefined;
@@ -357,6 +357,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
357
357
  }, "/"> | import("hono/types").MergeSchemaPath<{
358
358
  "/automation-checks/:checkId": {
359
359
  $get: {
360
+ output: {
361
+ error: string;
362
+ };
363
+ outputFormat: "json";
364
+ status: 404;
365
+ input: {
366
+ param: {
367
+ checkId: string;
368
+ };
369
+ };
370
+ } | {
360
371
  output: {
361
372
  id: string;
362
373
  automationId: string;
@@ -375,17 +386,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
375
386
  checkId: string;
376
387
  };
377
388
  };
378
- } | {
379
- output: {
380
- error: string;
381
- };
382
- outputFormat: "json";
383
- status: 404;
384
- input: {
385
- param: {
386
- checkId: string;
387
- };
388
- };
389
389
  };
390
390
  };
391
391
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -537,17 +537,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
537
537
  projectId: string | string[];
538
538
  };
539
539
  };
540
- } | {
541
- output: {
542
- error: string;
543
- };
544
- outputFormat: "json";
545
- status: 404 | 409;
546
- input: {
547
- query: {
548
- projectId: string | string[];
549
- };
550
- };
551
540
  } | {
552
541
  output: {
553
542
  status: import("../skills-update.ts").SkillsUpdateStatus;
@@ -574,6 +563,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
574
563
  projectId: string | string[];
575
564
  };
576
565
  };
566
+ } | {
567
+ output: {
568
+ error: string;
569
+ };
570
+ outputFormat: "json";
571
+ status: 404 | 409;
572
+ input: {
573
+ query: {
574
+ projectId: string | string[];
575
+ };
576
+ };
577
577
  };
578
578
  };
579
579
  } & {
@@ -712,17 +712,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
712
712
  };
713
713
  } | {
714
714
  output: {
715
- providers: {
716
- provider: ProviderId;
717
- status: import("../core/provider-auth.ts").ProviderConnectionState;
718
- enabled?: boolean;
719
- hint?: string;
720
- authFailureId?: string;
721
- profileId?: string;
722
- }[];
715
+ error: string;
723
716
  };
724
717
  outputFormat: "json";
725
- status: import("hono/utils/http-status").ContentfulStatusCode;
718
+ status: 500;
726
719
  input: {
727
720
  param: {
728
721
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -734,10 +727,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
734
727
  };
735
728
  } | {
736
729
  output: {
737
- error: string;
730
+ providers: {
731
+ provider: ProviderId;
732
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
733
+ enabled?: boolean;
734
+ hint?: string;
735
+ authFailureId?: string;
736
+ profileId?: string;
737
+ }[];
738
738
  };
739
739
  outputFormat: "json";
740
- status: 500;
740
+ status: import("hono/utils/http-status").ContentfulStatusCode;
741
741
  input: {
742
742
  param: {
743
743
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -769,17 +769,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
769
769
  };
770
770
  } | {
771
771
  output: {
772
- providers: {
773
- provider: ProviderId;
774
- status: import("../core/provider-auth.ts").ProviderConnectionState;
775
- enabled?: boolean;
776
- hint?: string;
777
- authFailureId?: string;
778
- profileId?: string;
779
- }[];
772
+ error: string;
780
773
  };
781
774
  outputFormat: "json";
782
- status: import("hono/utils/http-status").ContentfulStatusCode;
775
+ status: 409;
783
776
  input: {
784
777
  param: {
785
778
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -791,10 +784,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
791
784
  };
792
785
  } | {
793
786
  output: {
794
- error: string;
787
+ providers: {
788
+ provider: ProviderId;
789
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
790
+ enabled?: boolean;
791
+ hint?: string;
792
+ authFailureId?: string;
793
+ profileId?: string;
794
+ }[];
795
795
  };
796
796
  outputFormat: "json";
797
- status: 409;
797
+ status: import("hono/utils/http-status").ContentfulStatusCode;
798
798
  input: {
799
799
  param: {
800
800
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -813,7 +813,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
813
813
  error: string;
814
814
  };
815
815
  outputFormat: "json";
816
- status: 409;
816
+ status: 400;
817
817
  input: {
818
818
  json: {
819
819
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -825,7 +825,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
825
825
  error: string;
826
826
  };
827
827
  outputFormat: "json";
828
- status: 400;
828
+ status: 409;
829
829
  input: {
830
830
  json: {
831
831
  provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
@@ -913,35 +913,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
913
913
  "/workspace/config": {
914
914
  $put: {
915
915
  output: {
916
- browseRoot: string;
917
- projectsDir: string;
918
- skillsAutoUpdate: boolean | null;
919
- effectiveSkillsAutoUpdate: boolean;
920
- composerDefaults: {
921
- autonomous: boolean | null;
922
- worktree: boolean | null;
923
- inheritedAutonomous: boolean | 'source-dependent';
924
- inheritedWorktree: boolean;
925
- };
926
- resources: {
927
- maxParallel: number;
928
- maxMonitoringSessions: number;
929
- monitoringWakeIntervalMinutes: number | null;
930
- autoResumeOnUsageLimit: boolean;
931
- memoryLimitMb: number | null;
932
- worktreeRetentionDefault: number;
933
- };
934
- agentDefaults: {
935
- runner?: ProviderId;
936
- models?: {
937
- claude?: string;
938
- codex?: string;
939
- opencode?: string;
940
- } | undefined;
941
- };
916
+ error: string;
942
917
  };
943
918
  outputFormat: "json";
944
- status: import("hono/utils/http-status").ContentfulStatusCode;
919
+ status: 400;
945
920
  input: {
946
921
  json: {
947
922
  browseRoot?: string | undefined;
@@ -976,7 +951,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
976
951
  error: string;
977
952
  };
978
953
  outputFormat: "json";
979
- status: 400;
954
+ status: 500;
980
955
  input: {
981
956
  json: {
982
957
  browseRoot?: string | undefined;
@@ -1008,10 +983,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1008
983
  };
1009
984
  } | {
1010
985
  output: {
1011
- error: string;
986
+ browseRoot: string;
987
+ projectsDir: string;
988
+ skillsAutoUpdate: boolean | null;
989
+ effectiveSkillsAutoUpdate: boolean;
990
+ composerDefaults: {
991
+ autonomous: boolean | null;
992
+ worktree: boolean | null;
993
+ inheritedAutonomous: boolean | 'source-dependent';
994
+ inheritedWorktree: boolean;
995
+ };
996
+ resources: {
997
+ maxParallel: number;
998
+ maxMonitoringSessions: number;
999
+ monitoringWakeIntervalMinutes: number | null;
1000
+ autoResumeOnUsageLimit: boolean;
1001
+ memoryLimitMb: number | null;
1002
+ worktreeRetentionDefault: number;
1003
+ };
1004
+ agentDefaults: {
1005
+ runner?: ProviderId;
1006
+ models?: {
1007
+ claude?: string;
1008
+ codex?: string;
1009
+ opencode?: string;
1010
+ } | undefined;
1011
+ };
1012
1012
  };
1013
1013
  outputFormat: "json";
1014
- status: 500;
1014
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1015
1015
  input: {
1016
1016
  json: {
1017
1017
  browseRoot?: string | undefined;
@@ -1093,45 +1093,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1093
1093
  "/workspace/ui-state": {
1094
1094
  $put: {
1095
1095
  output: {
1096
- [x: string]: import("hono/utils/types").JSONValue;
1097
- sidebar?: {
1098
- [x: string]: import("hono/utils/types").JSONValue;
1099
- collapsed?: {
1100
- [x: string]: boolean;
1101
- } | undefined;
1102
- } | undefined;
1103
- dismissedProviderAuthFailures?: {
1104
- claude?: string | undefined;
1105
- codex?: string | undefined;
1106
- opencode?: string | undefined;
1107
- pi?: string | undefined;
1108
- cursor?: string | undefined;
1109
- } | undefined;
1110
- appearance?: {
1111
- accent?: "cezarion" | "lime" | "violet" | undefined;
1112
- density?: "comfortable" | "compact" | "ultra" | undefined;
1113
- width?: "narrow" | "wide" | undefined;
1114
- } | undefined;
1115
- notifications?: {
1116
- [x: string]: import("hono/utils/types").JSONValue;
1117
- enabled?: boolean | undefined;
1118
- } | undefined;
1119
- taskTable?: {
1120
- [x: string]: import("hono/utils/types").JSONValue;
1121
- expandedColumns?: {
1122
- [x: string]: boolean;
1123
- } | undefined;
1124
- } | undefined;
1125
- lastLocation?: {
1126
- projectId: string;
1127
- pathname: string;
1128
- search?: string | undefined;
1129
- hash?: string | undefined;
1130
- } | undefined;
1131
- importedSkills?: string[] | undefined;
1096
+ error: string;
1132
1097
  };
1133
1098
  outputFormat: "json";
1134
- status: import("hono/utils/http-status").ContentfulStatusCode;
1099
+ status: 500;
1135
1100
  input: {
1136
1101
  json: {
1137
1102
  [x: string]: unknown;
@@ -1170,10 +1135,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1170
1135
  };
1171
1136
  } | {
1172
1137
  output: {
1173
- error: string;
1138
+ [x: string]: import("hono/utils/types").JSONValue;
1139
+ sidebar?: {
1140
+ [x: string]: import("hono/utils/types").JSONValue;
1141
+ collapsed?: {
1142
+ [x: string]: boolean;
1143
+ } | undefined;
1144
+ } | undefined;
1145
+ dismissedProviderAuthFailures?: {
1146
+ claude?: string | undefined;
1147
+ codex?: string | undefined;
1148
+ opencode?: string | undefined;
1149
+ pi?: string | undefined;
1150
+ cursor?: string | undefined;
1151
+ } | undefined;
1152
+ appearance?: {
1153
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1154
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1155
+ width?: "narrow" | "wide" | undefined;
1156
+ } | undefined;
1157
+ notifications?: {
1158
+ [x: string]: import("hono/utils/types").JSONValue;
1159
+ enabled?: boolean | undefined;
1160
+ } | undefined;
1161
+ taskTable?: {
1162
+ [x: string]: import("hono/utils/types").JSONValue;
1163
+ expandedColumns?: {
1164
+ [x: string]: boolean;
1165
+ } | undefined;
1166
+ } | undefined;
1167
+ lastLocation?: {
1168
+ projectId: string;
1169
+ pathname: string;
1170
+ search?: string | undefined;
1171
+ hash?: string | undefined;
1172
+ } | undefined;
1173
+ importedSkills?: string[] | undefined;
1174
1174
  };
1175
1175
  outputFormat: "json";
1176
- status: 500;
1176
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1177
1177
  input: {
1178
1178
  json: {
1179
1179
  [x: string]: unknown;
@@ -1304,7 +1304,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1304
1304
  error: string;
1305
1305
  };
1306
1306
  outputFormat: "json";
1307
- status: 409;
1307
+ status: 404;
1308
1308
  input: {
1309
1309
  param: {
1310
1310
  projectId: string;
@@ -1315,7 +1315,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1315
1315
  error: string;
1316
1316
  };
1317
1317
  outputFormat: "json";
1318
- status: 404;
1318
+ status: 409;
1319
1319
  input: {
1320
1320
  param: {
1321
1321
  projectId: string;
@@ -1353,7 +1353,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1353
1353
  error: string;
1354
1354
  };
1355
1355
  outputFormat: "json";
1356
- status: 409;
1356
+ status: 404;
1357
1357
  input: {
1358
1358
  json: {
1359
1359
  maxParallel?: number | null | undefined;
@@ -1369,7 +1369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1369
1369
  error: string;
1370
1370
  };
1371
1371
  outputFormat: "json";
1372
- status: 404;
1372
+ status: 409;
1373
1373
  input: {
1374
1374
  json: {
1375
1375
  maxParallel?: number | null | undefined;
@@ -1548,45 +1548,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1548
1548
  } & {
1549
1549
  "/workspace/agent-profiles": {
1550
1550
  $post: {
1551
- output: {
1552
- error: string;
1553
- };
1554
- outputFormat: "json";
1555
- status: 409;
1556
- input: {
1557
- json: {
1558
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1559
- label?: string | undefined;
1560
- configDir: string;
1561
- };
1562
- };
1563
- } | {
1564
- output: {
1565
- error: string;
1566
- };
1567
- outputFormat: "json";
1568
- status: 400;
1569
- input: {
1570
- json: {
1571
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1572
- label?: string | undefined;
1573
- configDir: string;
1574
- };
1575
- };
1576
- } | {
1577
- output: {
1578
- error: string;
1579
- };
1580
- outputFormat: "json";
1581
- status: 500;
1582
- input: {
1583
- json: {
1584
- provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1585
- label?: string | undefined;
1586
- configDir: string;
1587
- };
1588
- };
1589
- } | {
1590
1551
  output: {
1591
1552
  profile: {
1592
1553
  exists: boolean;
@@ -1637,6 +1598,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1637
1598
  configDir: string;
1638
1599
  };
1639
1600
  };
1601
+ } | {
1602
+ output: {
1603
+ error: string;
1604
+ };
1605
+ outputFormat: "json";
1606
+ status: 400;
1607
+ input: {
1608
+ json: {
1609
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1610
+ label?: string | undefined;
1611
+ configDir: string;
1612
+ };
1613
+ };
1614
+ } | {
1615
+ output: {
1616
+ error: string;
1617
+ };
1618
+ outputFormat: "json";
1619
+ status: 409;
1620
+ input: {
1621
+ json: {
1622
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1623
+ label?: string | undefined;
1624
+ configDir: string;
1625
+ };
1626
+ };
1627
+ } | {
1628
+ output: {
1629
+ error: string;
1630
+ };
1631
+ outputFormat: "json";
1632
+ status: 500;
1633
+ input: {
1634
+ json: {
1635
+ provider: "claude" | "codex" | "cursor" | "opencode" | "pi";
1636
+ label?: string | undefined;
1637
+ configDir: string;
1638
+ };
1639
+ };
1640
1640
  };
1641
1641
  };
1642
1642
  } & {
@@ -1663,7 +1663,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1663
1663
  error: string;
1664
1664
  };
1665
1665
  outputFormat: "json";
1666
- status: 409;
1666
+ status: 400;
1667
1667
  input: {
1668
1668
  param: {
1669
1669
  id: string;
@@ -1679,7 +1679,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1679
1679
  error: string;
1680
1680
  };
1681
1681
  outputFormat: "json";
1682
- status: 400;
1682
+ status: 404;
1683
1683
  input: {
1684
1684
  param: {
1685
1685
  id: string;
@@ -1695,7 +1695,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1695
1695
  error: string;
1696
1696
  };
1697
1697
  outputFormat: "json";
1698
- status: 404;
1698
+ status: 409;
1699
1699
  input: {
1700
1700
  param: {
1701
1701
  id: string;
@@ -1801,7 +1801,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1801
1801
  error: string;
1802
1802
  };
1803
1803
  outputFormat: "json";
1804
- status: 409;
1804
+ status: 404;
1805
1805
  input: {
1806
1806
  param: {
1807
1807
  id: string;
@@ -1816,7 +1816,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1816
1816
  error: string;
1817
1817
  };
1818
1818
  outputFormat: "json";
1819
- status: 404;
1819
+ status: 409;
1820
1820
  input: {
1821
1821
  param: {
1822
1822
  id: string;
@@ -1869,7 +1869,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1869
1869
  error: string;
1870
1870
  };
1871
1871
  outputFormat: "json";
1872
- status: 409;
1872
+ status: 404;
1873
1873
  input: {
1874
1874
  param: {
1875
1875
  id: string;
@@ -1880,7 +1880,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1880
1880
  error: string;
1881
1881
  };
1882
1882
  outputFormat: "json";
1883
- status: 404;
1883
+ status: 409;
1884
1884
  input: {
1885
1885
  param: {
1886
1886
  id: string;
@@ -1928,7 +1928,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1928
1928
  error: string;
1929
1929
  };
1930
1930
  outputFormat: "json";
1931
- status: 409;
1931
+ status: 400;
1932
1932
  input: {
1933
1933
  param: {
1934
1934
  id: string;
@@ -1960,7 +1960,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1960
1960
  error: string;
1961
1961
  };
1962
1962
  outputFormat: "json";
1963
- status: 400;
1963
+ status: 409;
1964
1964
  input: {
1965
1965
  param: {
1966
1966
  id: string;
@@ -1997,7 +1997,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1997
1997
  error: string;
1998
1998
  };
1999
1999
  outputFormat: "json";
2000
- status: 409;
2000
+ status: 400;
2001
2001
  input: {
2002
2002
  json: {
2003
2003
  projectId: string | null;
@@ -2023,7 +2023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2023
2023
  error: string;
2024
2024
  };
2025
2025
  outputFormat: "json";
2026
- status: 400;
2026
+ status: 409;
2027
2027
  input: {
2028
2028
  json: {
2029
2029
  projectId: string | null;
@@ -2095,7 +2095,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2095
2095
  error: string;
2096
2096
  };
2097
2097
  outputFormat: "json";
2098
- status: 409;
2098
+ status: 404;
2099
2099
  input: {
2100
2100
  param: {
2101
2101
  id: string;
@@ -2106,7 +2106,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2106
2106
  error: string;
2107
2107
  };
2108
2108
  outputFormat: "json";
2109
- status: 500;
2109
+ status: 409;
2110
2110
  input: {
2111
2111
  param: {
2112
2112
  id: string;
@@ -2117,7 +2117,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2117
2117
  error: string;
2118
2118
  };
2119
2119
  outputFormat: "json";
2120
- status: 404;
2120
+ status: 500;
2121
2121
  input: {
2122
2122
  param: {
2123
2123
  id: string;
@@ -2878,7 +2878,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2878
2878
  error: string;
2879
2879
  };
2880
2880
  outputFormat: "json";
2881
- status: 409;
2881
+ status: 400;
2882
2882
  input: {
2883
2883
  json: {
2884
2884
  target: string;
@@ -2889,7 +2889,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2889
2889
  error: string;
2890
2890
  };
2891
2891
  outputFormat: "json";
2892
- status: 400;
2892
+ status: 409;
2893
2893
  input: {
2894
2894
  json: {
2895
2895
  target: string;
@@ -2948,9 +2948,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2948
2948
  }, "/"> | import("hono/types").MergeSchemaPath<{
2949
2949
  "/runs/:id/events": {
2950
2950
  $get: {
2951
- output: {};
2952
- outputFormat: string;
2953
- status: import("hono/utils/http-status").StatusCode;
2951
+ output: {
2952
+ error: string;
2953
+ code?: "invalid_input" | undefined;
2954
+ };
2955
+ outputFormat: "json";
2956
+ status: 400;
2954
2957
  input: {
2955
2958
  param: {
2956
2959
  id: string;
@@ -2962,12 +2965,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2962
2965
  };
2963
2966
  };
2964
2967
  } | {
2965
- output: {
2966
- error: string;
2967
- code?: "invalid_input" | undefined;
2968
- };
2969
- outputFormat: "json";
2970
- status: 400;
2968
+ output: {};
2969
+ outputFormat: string;
2970
+ status: import("hono/utils/http-status").StatusCode;
2971
2971
  input: {
2972
2972
  param: {
2973
2973
  id: string;
@@ -3019,25 +3019,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3019
3019
  "/config": {
3020
3020
  $put: {
3021
3021
  output: {
3022
- baseBranch: string | null;
3023
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3024
- systemPrompt: string | null;
3025
- defaultModels: {
3026
- claude?: string | undefined;
3027
- codex?: string | undefined;
3028
- cursor?: string | undefined;
3029
- opencode?: string | undefined;
3030
- pi?: string | undefined;
3031
- };
3032
- modelsLocked: boolean;
3033
- maxParallel: number;
3034
- memoryLimitMb: number | null;
3035
- worktreeRetention: number;
3036
- liveTitleUpdates: boolean | null;
3037
- reviewGate: boolean | null;
3022
+ error: string;
3038
3023
  };
3039
3024
  outputFormat: "json";
3040
- status: import("hono/utils/http-status").ContentfulStatusCode;
3025
+ status: 409;
3041
3026
  input: {
3042
3027
  json: {
3043
3028
  baseBranch?: string | null | undefined;
@@ -3062,7 +3047,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3062
3047
  error: string;
3063
3048
  };
3064
3049
  outputFormat: "json";
3065
- status: 409;
3050
+ status: 500;
3066
3051
  input: {
3067
3052
  json: {
3068
3053
  baseBranch?: string | null | undefined;
@@ -3084,10 +3069,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3084
3069
  };
3085
3070
  } | {
3086
3071
  output: {
3087
- error: string;
3072
+ baseBranch: string | null;
3073
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
3074
+ systemPrompt: string | null;
3075
+ defaultModels: {
3076
+ claude?: string | undefined;
3077
+ codex?: string | undefined;
3078
+ cursor?: string | undefined;
3079
+ opencode?: string | undefined;
3080
+ pi?: string | undefined;
3081
+ };
3082
+ modelsLocked: boolean;
3083
+ maxParallel: number;
3084
+ memoryLimitMb: number | null;
3085
+ worktreeRetention: number;
3086
+ liveTitleUpdates: boolean | null;
3087
+ reviewGate: boolean | null;
3088
3088
  };
3089
3089
  outputFormat: "json";
3090
- status: 500;
3090
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3091
3091
  input: {
3092
3092
  json: {
3093
3093
  baseBranch?: string | null | undefined;
@@ -3112,6 +3112,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3112
3112
  }, "/"> | import("hono/types").MergeSchemaPath<{
3113
3113
  "/skills": {
3114
3114
  $get: {
3115
+ output: {
3116
+ error: string;
3117
+ code?: "invalid_input" | undefined;
3118
+ };
3119
+ outputFormat: "json";
3120
+ status: 400;
3121
+ input: {
3122
+ query: {
3123
+ wait?: string | undefined;
3124
+ };
3125
+ };
3126
+ } | {
3115
3127
  output: {
3116
3128
  name: string;
3117
3129
  description?: string;
@@ -3134,7 +3146,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3134
3146
  wait?: string | undefined;
3135
3147
  };
3136
3148
  };
3137
- } | {
3149
+ };
3150
+ };
3151
+ } & {
3152
+ "/skills/importable": {
3153
+ $get: {
3138
3154
  output: {
3139
3155
  error: string;
3140
3156
  code?: "invalid_input" | undefined;
@@ -3146,11 +3162,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3146
3162
  wait?: string | undefined;
3147
3163
  };
3148
3164
  };
3149
- };
3150
- };
3151
- } & {
3152
- "/skills/importable": {
3153
- $get: {
3165
+ } | {
3154
3166
  output: {
3155
3167
  name: string;
3156
3168
  description?: string | undefined;
@@ -3162,18 +3174,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3162
3174
  wait?: string | undefined;
3163
3175
  };
3164
3176
  };
3165
- } | {
3166
- output: {
3167
- error: string;
3168
- code?: "invalid_input" | undefined;
3169
- };
3170
- outputFormat: "json";
3171
- status: 400;
3172
- input: {
3173
- query: {
3174
- wait?: string | undefined;
3175
- };
3176
- };
3177
3177
  };
3178
3178
  };
3179
3179
  } & {
@@ -3227,7 +3227,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3227
3227
  error: string;
3228
3228
  };
3229
3229
  outputFormat: "json";
3230
- status: 409;
3230
+ status: 404;
3231
3231
  input: {
3232
3232
  param: {
3233
3233
  id: string;
@@ -3235,10 +3235,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3235
3235
  };
3236
3236
  } | {
3237
3237
  output: {
3238
- removed: true;
3238
+ error: string;
3239
3239
  };
3240
3240
  outputFormat: "json";
3241
- status: import("hono/utils/http-status").ContentfulStatusCode;
3241
+ status: 409;
3242
3242
  input: {
3243
3243
  param: {
3244
3244
  id: string;
@@ -3246,10 +3246,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3246
3246
  };
3247
3247
  } | {
3248
3248
  output: {
3249
- error: string;
3249
+ removed: true;
3250
3250
  };
3251
3251
  outputFormat: "json";
3252
- status: 404;
3252
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3253
3253
  input: {
3254
3254
  param: {
3255
3255
  id: string;
@@ -3260,24 +3260,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3260
3260
  } & {
3261
3261
  "/todos/:id/start": {
3262
3262
  $post: {
3263
- output: {
3264
- error: string;
3265
- };
3266
- outputFormat: "json";
3267
- status: 409;
3268
- input: {
3269
- json: {
3270
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3271
- model?: string | undefined;
3272
- effort?: string | undefined;
3273
- prompt?: string | undefined;
3274
- } | undefined;
3275
- } & {
3276
- param: {
3277
- id: string;
3278
- };
3279
- };
3280
- } | {
3281
3263
  output: {
3282
3264
  run: {
3283
3265
  id: string;
@@ -3725,6 +3707,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3725
3707
  id: string;
3726
3708
  };
3727
3709
  };
3710
+ } | {
3711
+ output: {
3712
+ error: string;
3713
+ };
3714
+ outputFormat: "json";
3715
+ status: 404;
3716
+ input: {
3717
+ json: {
3718
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3719
+ model?: string | undefined;
3720
+ effort?: string | undefined;
3721
+ prompt?: string | undefined;
3722
+ } | undefined;
3723
+ } & {
3724
+ param: {
3725
+ id: string;
3726
+ };
3727
+ };
3728
3728
  } | {
3729
3729
  output: {
3730
3730
  error: string;
@@ -3748,7 +3748,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3748
3748
  error: string;
3749
3749
  };
3750
3750
  outputFormat: "json";
3751
- status: 404;
3751
+ status: 409;
3752
3752
  input: {
3753
3753
  json: {
3754
3754
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -3851,14 +3851,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3851
3851
  "/agent-config/:id": {
3852
3852
  $put: {
3853
3853
  output: {
3854
- id: string;
3855
- path: string;
3856
- exists: boolean;
3857
- content: string;
3858
- version: string | null;
3854
+ error: string;
3859
3855
  };
3860
3856
  outputFormat: "json";
3861
- status: import("hono/utils/http-status").ContentfulStatusCode;
3857
+ status: 404;
3862
3858
  input: {
3863
3859
  json: {
3864
3860
  content: string;
@@ -3871,10 +3867,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3871
3867
  };
3872
3868
  } | {
3873
3869
  output: {
3874
- error: string;
3870
+ id: string;
3871
+ path: string;
3872
+ exists: boolean;
3873
+ content: string;
3874
+ version: string | null;
3875
3875
  };
3876
3876
  outputFormat: "json";
3877
- status: 404;
3877
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3878
3878
  input: {
3879
3879
  json: {
3880
3880
  content: string;
@@ -3944,10 +3944,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3944
3944
  "/workflows": {
3945
3945
  $post: {
3946
3946
  output: {
3947
- error: string;
3947
+ path: string;
3948
+ name: string;
3948
3949
  };
3949
3950
  outputFormat: "json";
3950
- status: 400;
3951
+ status: 201;
3951
3952
  input: {
3952
3953
  json: {
3953
3954
  name: string;
@@ -3976,10 +3977,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3976
3977
  } | {
3977
3978
  output: {
3978
3979
  error: string;
3979
- exists: true;
3980
3980
  };
3981
3981
  outputFormat: "json";
3982
- status: 409;
3982
+ status: 400;
3983
3983
  input: {
3984
3984
  json: {
3985
3985
  name: string;
@@ -4008,9 +4008,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4008
4008
  } | {
4009
4009
  output: {
4010
4010
  error: string;
4011
+ exists: true;
4011
4012
  };
4012
4013
  outputFormat: "json";
4013
- status: 500;
4014
+ status: 409;
4014
4015
  input: {
4015
4016
  json: {
4016
4017
  name: string;
@@ -4038,11 +4039,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4038
4039
  };
4039
4040
  } | {
4040
4041
  output: {
4041
- path: string;
4042
- name: string;
4042
+ error: string;
4043
4043
  };
4044
4044
  outputFormat: "json";
4045
- status: 201;
4045
+ status: 500;
4046
4046
  input: {
4047
4047
  json: {
4048
4048
  name: string;
@@ -4077,7 +4077,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4077
4077
  error: string;
4078
4078
  };
4079
4079
  outputFormat: "json";
4080
- status: 404;
4080
+ status: 400;
4081
4081
  input: {
4082
4082
  param: {
4083
4083
  name: string;
@@ -4088,7 +4088,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4088
4088
  error: string;
4089
4089
  };
4090
4090
  outputFormat: "json";
4091
- status: 400;
4091
+ status: 404;
4092
4092
  input: {
4093
4093
  param: {
4094
4094
  name: string;
@@ -4213,9 +4213,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4213
4213
  } & {
4214
4214
  "/repo/commit/:sha": {
4215
4215
  $get: {
4216
- output: string;
4217
- outputFormat: "text";
4218
- status: import("hono/utils/http-status").ContentfulStatusCode;
4216
+ output: {
4217
+ error: string;
4218
+ code?: "invalid_input" | undefined;
4219
+ };
4220
+ outputFormat: "json";
4221
+ status: 400;
4219
4222
  input: {
4220
4223
  query: {
4221
4224
  structured?: string | undefined;
@@ -4228,10 +4231,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4228
4231
  } | {
4229
4232
  output: {
4230
4233
  error: string;
4231
- code?: "invalid_input" | undefined;
4232
4234
  };
4233
4235
  outputFormat: "json";
4234
- status: 400;
4236
+ status: 409;
4235
4237
  input: {
4236
4238
  query: {
4237
4239
  structured?: string | undefined;
@@ -4275,11 +4277,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4275
4277
  };
4276
4278
  };
4277
4279
  } | {
4278
- output: {
4279
- error: string;
4280
- };
4281
- outputFormat: "json";
4282
- status: 409;
4280
+ output: string;
4281
+ outputFormat: "text";
4282
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4283
4283
  input: {
4284
4284
  query: {
4285
4285
  structured?: string | undefined;
@@ -4294,6 +4294,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4294
4294
  } & {
4295
4295
  "/repo/changes": {
4296
4296
  $get: {
4297
+ output: {
4298
+ error: string;
4299
+ };
4300
+ outputFormat: "json";
4301
+ status: 409;
4302
+ input: {};
4303
+ } | {
4297
4304
  output: {
4298
4305
  files: {
4299
4306
  path: string;
@@ -4318,13 +4325,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4318
4325
  outputFormat: "json";
4319
4326
  status: import("hono/utils/http-status").ContentfulStatusCode;
4320
4327
  input: {};
4321
- } | {
4322
- output: {
4323
- error: string;
4324
- };
4325
- outputFormat: "json";
4326
- status: 409;
4327
- input: {};
4328
4328
  };
4329
4329
  };
4330
4330
  } & {
@@ -4349,10 +4349,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4349
4349
  "/repo/pull": {
4350
4350
  $post: {
4351
4351
  output: {
4352
- error: string;
4352
+ branch: string;
4353
+ pulled: true;
4354
+ summary: string;
4353
4355
  };
4354
4356
  outputFormat: "json";
4355
- status: 409;
4357
+ status: 200;
4356
4358
  input: {
4357
4359
  json: {
4358
4360
  branch?: string | undefined;
@@ -4361,12 +4363,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4361
4363
  };
4362
4364
  } | {
4363
4365
  output: {
4364
- branch: string;
4365
- pulled: true;
4366
- summary: string;
4366
+ error: string;
4367
4367
  };
4368
4368
  outputFormat: "json";
4369
- status: 200;
4369
+ status: 409;
4370
4370
  input: {
4371
4371
  json: {
4372
4372
  branch?: string | undefined;
@@ -5084,30 +5084,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5084
5084
  "/automations": {
5085
5085
  $post: {
5086
5086
  output: {
5087
- error: string;
5088
- };
5089
- outputFormat: "json";
5090
- status: 400;
5091
- input: {
5092
- json: {
5087
+ automation: {
5088
+ [x: string]: import("hono/utils/types").JSONValue;
5089
+ id: string;
5090
+ revision: number;
5093
5091
  name: string;
5094
5092
  description?: string | undefined;
5095
- enabled?: boolean | undefined;
5093
+ enabled: boolean;
5096
5094
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5097
5095
  intervalSeconds: number;
5098
5096
  filters: {
5099
- [x: string]: unknown;
5097
+ [x: string]: import("hono/utils/types").JSONValue;
5100
5098
  authors?: string[] | undefined;
5101
5099
  assignees?: string[] | undefined;
5102
5100
  allLabels?: string[] | undefined;
5103
5101
  anyLabels?: string[] | undefined;
5104
5102
  excludeLabels?: string[] | undefined;
5105
5103
  changedLabels?: string[] | undefined;
5106
- lookbackDays?: number | undefined;
5107
- maxRecords?: number | undefined;
5104
+ lookbackDays: number;
5105
+ maxRecords: number;
5108
5106
  };
5109
5107
  task: {
5110
- [x: string]: unknown;
5108
+ [x: string]: import("hono/utils/types").JSONValue;
5111
5109
  prompt: string;
5112
5110
  workflow?: string | undefined;
5113
5111
  steps?: {
@@ -5124,7 +5122,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5124
5122
  command?: string | undefined;
5125
5123
  onFail?: {
5126
5124
  retry: string;
5127
- max?: number | undefined;
5125
+ max: number;
5128
5126
  } | undefined;
5129
5127
  }[] | undefined;
5130
5128
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5136,33 +5134,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5136
5134
  autonomous?: boolean | undefined;
5137
5135
  systemPrompt?: string | undefined;
5138
5136
  };
5139
- enable?: boolean | undefined;
5137
+ createdAt: string;
5138
+ updatedAt: string;
5140
5139
  };
5141
5140
  };
5142
- } | {
5143
- output: {
5144
- automation: {
5145
- [x: string]: import("hono/utils/types").JSONValue;
5146
- id: string;
5147
- revision: number;
5141
+ outputFormat: "json";
5142
+ status: 201;
5143
+ input: {
5144
+ json: {
5148
5145
  name: string;
5149
5146
  description?: string | undefined;
5150
- enabled: boolean;
5147
+ enabled?: boolean | undefined;
5151
5148
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
5152
5149
  intervalSeconds: number;
5153
5150
  filters: {
5154
- [x: string]: import("hono/utils/types").JSONValue;
5151
+ [x: string]: unknown;
5155
5152
  authors?: string[] | undefined;
5156
5153
  assignees?: string[] | undefined;
5157
5154
  allLabels?: string[] | undefined;
5158
5155
  anyLabels?: string[] | undefined;
5159
5156
  excludeLabels?: string[] | undefined;
5160
5157
  changedLabels?: string[] | undefined;
5161
- lookbackDays: number;
5162
- maxRecords: number;
5158
+ lookbackDays?: number | undefined;
5159
+ maxRecords?: number | undefined;
5163
5160
  };
5164
5161
  task: {
5165
- [x: string]: import("hono/utils/types").JSONValue;
5162
+ [x: string]: unknown;
5166
5163
  prompt: string;
5167
5164
  workflow?: string | undefined;
5168
5165
  steps?: {
@@ -5179,7 +5176,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5179
5176
  command?: string | undefined;
5180
5177
  onFail?: {
5181
5178
  retry: string;
5182
- max: number;
5179
+ max?: number | undefined;
5183
5180
  } | undefined;
5184
5181
  }[] | undefined;
5185
5182
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -5191,12 +5188,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5191
5188
  autonomous?: boolean | undefined;
5192
5189
  systemPrompt?: string | undefined;
5193
5190
  };
5194
- createdAt: string;
5195
- updatedAt: string;
5191
+ enable?: boolean | undefined;
5196
5192
  };
5197
5193
  };
5194
+ } | {
5195
+ output: {
5196
+ error: string;
5197
+ };
5198
5198
  outputFormat: "json";
5199
- status: 201;
5199
+ status: 400;
5200
5200
  input: {
5201
5201
  json: {
5202
5202
  name: string;
@@ -5800,10 +5800,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5800
5800
  "/automations/:id/check": {
5801
5801
  $post: {
5802
5802
  output: {
5803
- error: string;
5803
+ checkId: string;
5804
5804
  };
5805
5805
  outputFormat: "json";
5806
- status: 404;
5806
+ status: 202;
5807
5807
  input: {
5808
5808
  json: {
5809
5809
  mode: "execute" | "preview";
@@ -5815,10 +5815,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5815
5815
  };
5816
5816
  } | {
5817
5817
  output: {
5818
- checkId: string;
5818
+ error: string;
5819
5819
  };
5820
5820
  outputFormat: "json";
5821
- status: 202;
5821
+ status: 404;
5822
5822
  input: {
5823
5823
  json: {
5824
5824
  mode: "execute" | "preview";
@@ -5892,10 +5892,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5892
5892
  "/automation-log/:receiptId/retry": {
5893
5893
  $post: {
5894
5894
  output: {
5895
- error: string;
5895
+ receiptId: string;
5896
+ runId: string;
5896
5897
  };
5897
5898
  outputFormat: "json";
5898
- status: 404;
5899
+ status: 202;
5899
5900
  input: {
5900
5901
  param: {
5901
5902
  receiptId: string;
@@ -5906,7 +5907,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5906
5907
  error: string;
5907
5908
  };
5908
5909
  outputFormat: "json";
5909
- status: 409;
5910
+ status: 404;
5910
5911
  input: {
5911
5912
  param: {
5912
5913
  receiptId: string;
@@ -5914,11 +5915,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5914
5915
  };
5915
5916
  } | {
5916
5917
  output: {
5917
- receiptId: string;
5918
- runId: string;
5918
+ error: string;
5919
5919
  };
5920
5920
  outputFormat: "json";
5921
- status: 202;
5921
+ status: 409;
5922
5922
  input: {
5923
5923
  param: {
5924
5924
  receiptId: string;
@@ -6495,11 +6495,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6495
6495
  "/runs/:id/worker-destroy": {
6496
6496
  $post: {
6497
6497
  output: {
6498
- error: string;
6499
- code?: "invalid_input" | undefined;
6498
+ workerId: string;
6499
+ state: "complete" | "incomplete";
6500
+ deleted?: ({
6501
+ kind: "worktree";
6502
+ path: string;
6503
+ } | {
6504
+ kind: "branch";
6505
+ ref: string;
6506
+ })[] | undefined;
6507
+ remaining: ("branch" | "process" | "worktree")[];
6508
+ error?: string | undefined;
6500
6509
  };
6501
6510
  outputFormat: "json";
6502
- status: 400;
6511
+ status: 200;
6503
6512
  input: {
6504
6513
  query: {
6505
6514
  [x: string]: string | string[];
@@ -6513,20 +6522,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6513
6522
  };
6514
6523
  } | {
6515
6524
  output: {
6516
- workerId: string;
6517
- state: "complete" | "incomplete";
6518
- deleted?: ({
6519
- kind: "worktree";
6520
- path: string;
6521
- } | {
6522
- kind: "branch";
6523
- ref: string;
6524
- })[] | undefined;
6525
- remaining: ("branch" | "process" | "worktree")[];
6526
- error?: string | undefined;
6525
+ error: string;
6526
+ code?: "invalid_input" | undefined;
6527
6527
  };
6528
6528
  outputFormat: "json";
6529
- status: 200;
6529
+ status: 400;
6530
6530
  input: {
6531
6531
  query: {
6532
6532
  [x: string]: string | string[];
@@ -6610,6 +6610,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6610
6610
  } & {
6611
6611
  "/runs/:id/archive": {
6612
6612
  $post: {
6613
+ output: {
6614
+ error: string;
6615
+ };
6616
+ outputFormat: "json";
6617
+ status: 404;
6618
+ input: {
6619
+ json: {
6620
+ archived?: boolean | undefined;
6621
+ };
6622
+ } & {
6623
+ param: {
6624
+ id: string;
6625
+ };
6626
+ };
6627
+ } | {
6613
6628
  output: {
6614
6629
  id: string;
6615
6630
  title: string;
@@ -7052,32 +7067,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7052
7067
  id: string;
7053
7068
  };
7054
7069
  };
7055
- } | {
7070
+ };
7071
+ };
7072
+ } & {
7073
+ "/runs/:id/pin": {
7074
+ $post: {
7056
7075
  output: {
7057
7076
  error: string;
7077
+ code?: "invalid_input" | undefined;
7058
7078
  };
7059
7079
  outputFormat: "json";
7060
- status: 404;
7080
+ status: 400;
7061
7081
  input: {
7062
- json: {
7063
- archived?: boolean | undefined;
7064
- };
7065
- } & {
7066
7082
  param: {
7067
7083
  id: string;
7068
7084
  };
7085
+ } & {
7086
+ json: {
7087
+ pinned?: boolean | undefined;
7088
+ };
7069
7089
  };
7070
- };
7071
- };
7072
- } & {
7073
- "/runs/:id/pin": {
7074
- $post: {
7090
+ } | {
7075
7091
  output: {
7076
7092
  error: string;
7077
- code?: "invalid_input" | undefined;
7078
7093
  };
7079
7094
  outputFormat: "json";
7080
- status: 400;
7095
+ status: 404;
7081
7096
  input: {
7082
7097
  param: {
7083
7098
  id: string;
@@ -7530,21 +7545,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7530
7545
  pinned?: boolean | undefined;
7531
7546
  };
7532
7547
  };
7533
- } | {
7534
- output: {
7535
- error: string;
7536
- };
7537
- outputFormat: "json";
7538
- status: 404;
7539
- input: {
7540
- param: {
7541
- id: string;
7542
- };
7543
- } & {
7544
- json: {
7545
- pinned?: boolean | undefined;
7546
- };
7547
- };
7548
7548
  };
7549
7549
  };
7550
7550
  } & {
@@ -7576,6 +7576,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7576
7576
  } & {
7577
7577
  "/runs/:id/read": {
7578
7578
  $post: {
7579
+ output: {
7580
+ error: string;
7581
+ };
7582
+ outputFormat: "json";
7583
+ status: 404;
7584
+ input: {
7585
+ param: {
7586
+ id: string;
7587
+ };
7588
+ };
7589
+ } | {
7579
7590
  output: {
7580
7591
  id: string;
7581
7592
  title: string;
@@ -8014,7 +8025,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8014
8025
  id: string;
8015
8026
  };
8016
8027
  };
8017
- } | {
8028
+ };
8029
+ };
8030
+ } & {
8031
+ "/runs/:id/unread": {
8032
+ $post: {
8018
8033
  output: {
8019
8034
  error: string;
8020
8035
  };
@@ -8025,11 +8040,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8025
8040
  id: string;
8026
8041
  };
8027
8042
  };
8028
- };
8029
- };
8030
- } & {
8031
- "/runs/:id/unread": {
8032
- $post: {
8043
+ } | {
8033
8044
  output: {
8034
8045
  id: string;
8035
8046
  title: string;
@@ -8468,17 +8479,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8468
8479
  id: string;
8469
8480
  };
8470
8481
  };
8471
- } | {
8472
- output: {
8473
- error: string;
8474
- };
8475
- outputFormat: "json";
8476
- status: 404;
8477
- input: {
8478
- param: {
8479
- id: string;
8480
- };
8481
- };
8482
8482
  };
8483
8483
  };
8484
8484
  } & {
@@ -9427,138 +9427,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9427
9427
  clientRequestId?: string | undefined;
9428
9428
  };
9429
9429
  };
9430
- } | {
9431
- output: {
9432
- error: string;
9433
- };
9434
- outputFormat: "json";
9435
- status: 409;
9436
- input: {
9437
- json: {
9438
- workflow?: string | undefined;
9439
- steps?: {
9440
- id: string;
9441
- name?: string | undefined;
9442
- prompt?: string | undefined;
9443
- skill?: string | undefined;
9444
- model?: string | undefined;
9445
- effort?: string | undefined;
9446
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9447
- agentProfile?: string | undefined;
9448
- allowedTools?: string[] | undefined;
9449
- bashAllowlist?: string[] | undefined;
9450
- command?: string | undefined;
9451
- onFail?: {
9452
- retry: string;
9453
- max?: number | undefined;
9454
- } | undefined;
9455
- }[] | undefined;
9456
- task: string;
9457
- model?: string | undefined;
9458
- effort?: string | undefined;
9459
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9460
- agentProfile?: string | undefined;
9461
- variants?: number | undefined;
9462
- worktree?: boolean | undefined;
9463
- autonomous?: boolean | undefined;
9464
- generateFollowups?: boolean | undefined;
9465
- systemPrompt?: string | undefined;
9466
- images?: {
9467
- mediaType: string;
9468
- data: string;
9469
- }[] | undefined;
9470
- todoId?: string | undefined;
9471
- clientRequestId?: string | undefined;
9472
- };
9473
- };
9474
- } | {
9475
- output: {
9476
- error: string;
9477
- };
9478
- outputFormat: "json";
9479
- status: 400;
9480
- input: {
9481
- json: {
9482
- workflow?: string | undefined;
9483
- steps?: {
9484
- id: string;
9485
- name?: string | undefined;
9486
- prompt?: string | undefined;
9487
- skill?: string | undefined;
9488
- model?: string | undefined;
9489
- effort?: string | undefined;
9490
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9491
- agentProfile?: string | undefined;
9492
- allowedTools?: string[] | undefined;
9493
- bashAllowlist?: string[] | undefined;
9494
- command?: string | undefined;
9495
- onFail?: {
9496
- retry: string;
9497
- max?: number | undefined;
9498
- } | undefined;
9499
- }[] | undefined;
9500
- task: string;
9501
- model?: string | undefined;
9502
- effort?: string | undefined;
9503
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9504
- agentProfile?: string | undefined;
9505
- variants?: number | undefined;
9506
- worktree?: boolean | undefined;
9507
- autonomous?: boolean | undefined;
9508
- generateFollowups?: boolean | undefined;
9509
- systemPrompt?: string | undefined;
9510
- images?: {
9511
- mediaType: string;
9512
- data: string;
9513
- }[] | undefined;
9514
- todoId?: string | undefined;
9515
- clientRequestId?: string | undefined;
9516
- };
9517
- };
9518
- } | {
9519
- output: {
9520
- error: string;
9521
- };
9522
- outputFormat: "json";
9523
- status: 404;
9524
- input: {
9525
- json: {
9526
- workflow?: string | undefined;
9527
- steps?: {
9528
- id: string;
9529
- name?: string | undefined;
9530
- prompt?: string | undefined;
9531
- skill?: string | undefined;
9532
- model?: string | undefined;
9533
- effort?: string | undefined;
9534
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9535
- agentProfile?: string | undefined;
9536
- allowedTools?: string[] | undefined;
9537
- bashAllowlist?: string[] | undefined;
9538
- command?: string | undefined;
9539
- onFail?: {
9540
- retry: string;
9541
- max?: number | undefined;
9542
- } | undefined;
9543
- }[] | undefined;
9544
- task: string;
9545
- model?: string | undefined;
9546
- effort?: string | undefined;
9547
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9548
- agentProfile?: string | undefined;
9549
- variants?: number | undefined;
9550
- worktree?: boolean | undefined;
9551
- autonomous?: boolean | undefined;
9552
- generateFollowups?: boolean | undefined;
9553
- systemPrompt?: string | undefined;
9554
- images?: {
9555
- mediaType: string;
9556
- data: string;
9557
- }[] | undefined;
9558
- todoId?: string | undefined;
9559
- clientRequestId?: string | undefined;
9560
- };
9561
- };
9562
9430
  } | {
9563
9431
  output: {
9564
9432
  runs: {
@@ -9878,123 +9746,255 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9878
9746
  truncated: boolean;
9879
9747
  diagnostic?: string | undefined;
9880
9748
  } | undefined;
9881
- wakeId?: string | undefined;
9882
- deliveredAt?: string | undefined;
9883
- } | undefined;
9884
- lastCiWaitError?: string | undefined;
9885
- taskImages?: string[] | undefined;
9749
+ wakeId?: string | undefined;
9750
+ deliveredAt?: string | undefined;
9751
+ } | undefined;
9752
+ lastCiWaitError?: string | undefined;
9753
+ taskImages?: string[] | undefined;
9754
+ model?: string | undefined;
9755
+ effort?: string | undefined;
9756
+ modelIdentity?: string | undefined;
9757
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9758
+ agentProfile?: string | undefined;
9759
+ systemPrompt?: string | undefined;
9760
+ generateFollowups?: boolean | undefined;
9761
+ autonomous?: boolean | undefined;
9762
+ automation?: {
9763
+ automationId: string;
9764
+ automationRevision: number;
9765
+ receiptId: string;
9766
+ event: string;
9767
+ githubUrl: string;
9768
+ } | undefined;
9769
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
9770
+ stopping?: boolean | undefined;
9771
+ activity?: "monitoring" | undefined;
9772
+ hasPendingHumanAsk?: boolean | undefined;
9773
+ monitoringWakeAt?: string | undefined;
9774
+ monitoringWakeCapReached?: boolean | undefined;
9775
+ autoResumeAt?: string | undefined;
9776
+ autoResumeAttempts?: number | undefined;
9777
+ createdAt: string;
9778
+ startedAt?: string | undefined;
9779
+ finishedAt?: string | undefined;
9780
+ tokensUsed: number;
9781
+ inputTokens?: number | undefined;
9782
+ outputTokens?: number | undefined;
9783
+ costUsd?: number | undefined;
9784
+ pullRequestUrl?: string | undefined;
9785
+ referencedPullRequestUrl?: string | undefined;
9786
+ prNumber?: number | undefined;
9787
+ issueNumber?: number | undefined;
9788
+ referencedIssueNumberSeeded?: boolean | undefined;
9789
+ titleOrigin?: "auto" | "marker" | "user" | undefined;
9790
+ markerRefs?: {
9791
+ pr?: number | undefined;
9792
+ issue?: number | undefined;
9793
+ } | undefined;
9794
+ referencedPrCandidates?: string[] | undefined;
9795
+ referencedIssueUrl?: string | undefined;
9796
+ referencedIssueCandidates?: string[] | undefined;
9797
+ worktree?: false | undefined;
9798
+ worktreePath?: string | undefined;
9799
+ branch?: string | undefined;
9800
+ baseBranch?: string | undefined;
9801
+ worktreeReclaimedAt?: string | undefined;
9802
+ groupId?: string | undefined;
9803
+ variant?: string | undefined;
9804
+ clientRequestId?: string | undefined;
9805
+ clientRequestHash?: string | undefined;
9806
+ peakRssBytes?: number | undefined;
9807
+ peakProcCount?: number | undefined;
9808
+ archived: boolean;
9809
+ archivedAt?: string | undefined;
9810
+ pinned?: boolean | undefined;
9811
+ pinnedAt?: string | undefined;
9812
+ seenAt?: string | undefined;
9813
+ currentStepId?: string | undefined;
9814
+ error?: string | undefined;
9815
+ steps: {
9816
+ id: string;
9817
+ name: string;
9818
+ kind: "agent" | "check";
9819
+ status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
9820
+ iterations: number;
9821
+ retriesUsed?: number | undefined;
9822
+ tokensUsed: number;
9823
+ inputTokens?: number | undefined;
9824
+ outputTokens?: number | undefined;
9825
+ usageInvocationsStarted?: number | undefined;
9826
+ usageInvocationsObserved?: number | undefined;
9827
+ usageTurnsStarted?: number | undefined;
9828
+ usageTurnsRecorded?: number | undefined;
9829
+ usageInvocationEpoch?: number | undefined;
9830
+ startedAt?: string | undefined;
9831
+ finishedAt?: string | undefined;
9832
+ error?: string | undefined;
9833
+ sessionId?: string | undefined;
9834
+ backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9835
+ profileId?: string | undefined;
9836
+ costUsd?: number | undefined;
9837
+ synthetic?: "continuation" | undefined;
9838
+ }[];
9839
+ workflowDef?: {
9840
+ name: string;
9841
+ description?: string | undefined;
9842
+ steps: {
9843
+ id: string;
9844
+ name?: string | undefined;
9845
+ prompt?: string | undefined;
9846
+ skill?: string | undefined;
9847
+ model?: string | undefined;
9848
+ effort?: string | undefined;
9849
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9850
+ agentProfile?: string | undefined;
9851
+ allowedTools?: string[] | undefined;
9852
+ bashAllowlist?: string[] | undefined;
9853
+ command?: string | undefined;
9854
+ onFail?: {
9855
+ retry: string;
9856
+ max: number;
9857
+ } | undefined;
9858
+ }[];
9859
+ source: "built-in" | "file";
9860
+ path?: string | undefined;
9861
+ } | undefined;
9862
+ }[];
9863
+ };
9864
+ outputFormat: "json";
9865
+ status: 201;
9866
+ input: {
9867
+ json: {
9868
+ workflow?: string | undefined;
9869
+ steps?: {
9870
+ id: string;
9871
+ name?: string | undefined;
9872
+ prompt?: string | undefined;
9873
+ skill?: string | undefined;
9874
+ model?: string | undefined;
9875
+ effort?: string | undefined;
9876
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9877
+ agentProfile?: string | undefined;
9878
+ allowedTools?: string[] | undefined;
9879
+ bashAllowlist?: string[] | undefined;
9880
+ command?: string | undefined;
9881
+ onFail?: {
9882
+ retry: string;
9883
+ max?: number | undefined;
9884
+ } | undefined;
9885
+ }[] | undefined;
9886
+ task: string;
9887
+ model?: string | undefined;
9888
+ effort?: string | undefined;
9889
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9890
+ agentProfile?: string | undefined;
9891
+ variants?: number | undefined;
9892
+ worktree?: boolean | undefined;
9893
+ autonomous?: boolean | undefined;
9894
+ generateFollowups?: boolean | undefined;
9895
+ systemPrompt?: string | undefined;
9896
+ images?: {
9897
+ mediaType: string;
9898
+ data: string;
9899
+ }[] | undefined;
9900
+ todoId?: string | undefined;
9901
+ clientRequestId?: string | undefined;
9902
+ };
9903
+ };
9904
+ } | {
9905
+ output: {
9906
+ error: string;
9907
+ };
9908
+ outputFormat: "json";
9909
+ status: 400;
9910
+ input: {
9911
+ json: {
9912
+ workflow?: string | undefined;
9913
+ steps?: {
9914
+ id: string;
9915
+ name?: string | undefined;
9916
+ prompt?: string | undefined;
9917
+ skill?: string | undefined;
9918
+ model?: string | undefined;
9919
+ effort?: string | undefined;
9920
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9921
+ agentProfile?: string | undefined;
9922
+ allowedTools?: string[] | undefined;
9923
+ bashAllowlist?: string[] | undefined;
9924
+ command?: string | undefined;
9925
+ onFail?: {
9926
+ retry: string;
9927
+ max?: number | undefined;
9928
+ } | undefined;
9929
+ }[] | undefined;
9930
+ task: string;
9931
+ model?: string | undefined;
9932
+ effort?: string | undefined;
9933
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9934
+ agentProfile?: string | undefined;
9935
+ variants?: number | undefined;
9936
+ worktree?: boolean | undefined;
9937
+ autonomous?: boolean | undefined;
9938
+ generateFollowups?: boolean | undefined;
9939
+ systemPrompt?: string | undefined;
9940
+ images?: {
9941
+ mediaType: string;
9942
+ data: string;
9943
+ }[] | undefined;
9944
+ todoId?: string | undefined;
9945
+ clientRequestId?: string | undefined;
9946
+ };
9947
+ };
9948
+ } | {
9949
+ output: {
9950
+ error: string;
9951
+ };
9952
+ outputFormat: "json";
9953
+ status: 404;
9954
+ input: {
9955
+ json: {
9956
+ workflow?: string | undefined;
9957
+ steps?: {
9958
+ id: string;
9959
+ name?: string | undefined;
9960
+ prompt?: string | undefined;
9961
+ skill?: string | undefined;
9962
+ model?: string | undefined;
9963
+ effort?: string | undefined;
9964
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9965
+ agentProfile?: string | undefined;
9966
+ allowedTools?: string[] | undefined;
9967
+ bashAllowlist?: string[] | undefined;
9968
+ command?: string | undefined;
9969
+ onFail?: {
9970
+ retry: string;
9971
+ max?: number | undefined;
9972
+ } | undefined;
9973
+ }[] | undefined;
9974
+ task: string;
9886
9975
  model?: string | undefined;
9887
9976
  effort?: string | undefined;
9888
- modelIdentity?: string | undefined;
9889
9977
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9890
9978
  agentProfile?: string | undefined;
9891
- systemPrompt?: string | undefined;
9892
- generateFollowups?: boolean | undefined;
9979
+ variants?: number | undefined;
9980
+ worktree?: boolean | undefined;
9893
9981
  autonomous?: boolean | undefined;
9894
- automation?: {
9895
- automationId: string;
9896
- automationRevision: number;
9897
- receiptId: string;
9898
- event: string;
9899
- githubUrl: string;
9900
- } | undefined;
9901
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
9902
- stopping?: boolean | undefined;
9903
- activity?: "monitoring" | undefined;
9904
- hasPendingHumanAsk?: boolean | undefined;
9905
- monitoringWakeAt?: string | undefined;
9906
- monitoringWakeCapReached?: boolean | undefined;
9907
- autoResumeAt?: string | undefined;
9908
- autoResumeAttempts?: number | undefined;
9909
- createdAt: string;
9910
- startedAt?: string | undefined;
9911
- finishedAt?: string | undefined;
9912
- tokensUsed: number;
9913
- inputTokens?: number | undefined;
9914
- outputTokens?: number | undefined;
9915
- costUsd?: number | undefined;
9916
- pullRequestUrl?: string | undefined;
9917
- referencedPullRequestUrl?: string | undefined;
9918
- prNumber?: number | undefined;
9919
- issueNumber?: number | undefined;
9920
- referencedIssueNumberSeeded?: boolean | undefined;
9921
- titleOrigin?: "auto" | "marker" | "user" | undefined;
9922
- markerRefs?: {
9923
- pr?: number | undefined;
9924
- issue?: number | undefined;
9925
- } | undefined;
9926
- referencedPrCandidates?: string[] | undefined;
9927
- referencedIssueUrl?: string | undefined;
9928
- referencedIssueCandidates?: string[] | undefined;
9929
- worktree?: false | undefined;
9930
- worktreePath?: string | undefined;
9931
- branch?: string | undefined;
9932
- baseBranch?: string | undefined;
9933
- worktreeReclaimedAt?: string | undefined;
9934
- groupId?: string | undefined;
9935
- variant?: string | undefined;
9982
+ generateFollowups?: boolean | undefined;
9983
+ systemPrompt?: string | undefined;
9984
+ images?: {
9985
+ mediaType: string;
9986
+ data: string;
9987
+ }[] | undefined;
9988
+ todoId?: string | undefined;
9936
9989
  clientRequestId?: string | undefined;
9937
- clientRequestHash?: string | undefined;
9938
- peakRssBytes?: number | undefined;
9939
- peakProcCount?: number | undefined;
9940
- archived: boolean;
9941
- archivedAt?: string | undefined;
9942
- pinned?: boolean | undefined;
9943
- pinnedAt?: string | undefined;
9944
- seenAt?: string | undefined;
9945
- currentStepId?: string | undefined;
9946
- error?: string | undefined;
9947
- steps: {
9948
- id: string;
9949
- name: string;
9950
- kind: "agent" | "check";
9951
- status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
9952
- iterations: number;
9953
- retriesUsed?: number | undefined;
9954
- tokensUsed: number;
9955
- inputTokens?: number | undefined;
9956
- outputTokens?: number | undefined;
9957
- usageInvocationsStarted?: number | undefined;
9958
- usageInvocationsObserved?: number | undefined;
9959
- usageTurnsStarted?: number | undefined;
9960
- usageTurnsRecorded?: number | undefined;
9961
- usageInvocationEpoch?: number | undefined;
9962
- startedAt?: string | undefined;
9963
- finishedAt?: string | undefined;
9964
- error?: string | undefined;
9965
- sessionId?: string | undefined;
9966
- backend?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9967
- profileId?: string | undefined;
9968
- costUsd?: number | undefined;
9969
- synthetic?: "continuation" | undefined;
9970
- }[];
9971
- workflowDef?: {
9972
- name: string;
9973
- description?: string | undefined;
9974
- steps: {
9975
- id: string;
9976
- name?: string | undefined;
9977
- prompt?: string | undefined;
9978
- skill?: string | undefined;
9979
- model?: string | undefined;
9980
- effort?: string | undefined;
9981
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9982
- agentProfile?: string | undefined;
9983
- allowedTools?: string[] | undefined;
9984
- bashAllowlist?: string[] | undefined;
9985
- command?: string | undefined;
9986
- onFail?: {
9987
- retry: string;
9988
- max: number;
9989
- } | undefined;
9990
- }[];
9991
- source: "built-in" | "file";
9992
- path?: string | undefined;
9993
- } | undefined;
9994
- }[];
9990
+ };
9991
+ };
9992
+ } | {
9993
+ output: {
9994
+ error: string;
9995
9995
  };
9996
9996
  outputFormat: "json";
9997
- status: 201;
9997
+ status: 409;
9998
9998
  input: {
9999
9999
  json: {
10000
10000
  workflow?: string | undefined;
@@ -10038,6 +10038,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10038
10038
  } & {
10039
10039
  "/runs/:id": {
10040
10040
  $get: {
10041
+ output: {
10042
+ error: string;
10043
+ };
10044
+ outputFormat: "json";
10045
+ status: 404;
10046
+ input: {
10047
+ param: {
10048
+ id: string;
10049
+ };
10050
+ };
10051
+ } | {
10041
10052
  output: {
10042
10053
  id: string;
10043
10054
  title: string;
@@ -10483,17 +10494,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10483
10494
  id: string;
10484
10495
  };
10485
10496
  };
10486
- } | {
10487
- output: {
10488
- error: string;
10489
- };
10490
- outputFormat: "json";
10491
- status: 404;
10492
- input: {
10493
- param: {
10494
- id: string;
10495
- };
10496
- };
10497
10497
  };
10498
10498
  };
10499
10499
  } & {
@@ -10621,6 +10621,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10621
10621
  } & {
10622
10622
  "/runs/:id": {
10623
10623
  $patch: {
10624
+ output: {
10625
+ error: string;
10626
+ };
10627
+ outputFormat: "json";
10628
+ status: 400;
10629
+ input: {
10630
+ json: {
10631
+ title?: string | undefined;
10632
+ task?: string | undefined;
10633
+ };
10634
+ } & {
10635
+ param: {
10636
+ id: string;
10637
+ };
10638
+ };
10639
+ } | {
10640
+ output: {
10641
+ error: string;
10642
+ };
10643
+ outputFormat: "json";
10644
+ status: 404;
10645
+ input: {
10646
+ json: {
10647
+ title?: string | undefined;
10648
+ task?: string | undefined;
10649
+ };
10650
+ } & {
10651
+ param: {
10652
+ id: string;
10653
+ };
10654
+ };
10655
+ } | {
10656
+ output: {
10657
+ error: string;
10658
+ };
10659
+ outputFormat: "json";
10660
+ status: 409;
10661
+ input: {
10662
+ json: {
10663
+ title?: string | undefined;
10664
+ task?: string | undefined;
10665
+ };
10666
+ } & {
10667
+ param: {
10668
+ id: string;
10669
+ };
10670
+ };
10671
+ } | {
10624
10672
  output: {
10625
10673
  id: string;
10626
10674
  title: string;
@@ -11043,65 +11091,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11043
11091
  allowedTools?: string[] | undefined;
11044
11092
  bashAllowlist?: string[] | undefined;
11045
11093
  command?: string | undefined;
11046
- onFail?: {
11047
- retry: string;
11048
- max: number;
11049
- } | undefined;
11050
- }[];
11051
- source: "built-in" | "file";
11052
- path?: string | undefined;
11053
- } | undefined;
11054
- };
11055
- outputFormat: "json";
11056
- status: import("hono/utils/http-status").ContentfulStatusCode;
11057
- input: {
11058
- json: {
11059
- title?: string | undefined;
11060
- task?: string | undefined;
11061
- };
11062
- } & {
11063
- param: {
11064
- id: string;
11065
- };
11066
- };
11067
- } | {
11068
- output: {
11069
- error: string;
11070
- };
11071
- outputFormat: "json";
11072
- status: 404;
11073
- input: {
11074
- json: {
11075
- title?: string | undefined;
11076
- task?: string | undefined;
11077
- };
11078
- } & {
11079
- param: {
11080
- id: string;
11081
- };
11082
- };
11083
- } | {
11084
- output: {
11085
- error: string;
11086
- };
11087
- outputFormat: "json";
11088
- status: 400;
11089
- input: {
11090
- json: {
11091
- title?: string | undefined;
11092
- task?: string | undefined;
11093
- };
11094
- } & {
11095
- param: {
11096
- id: string;
11097
- };
11098
- };
11099
- } | {
11100
- output: {
11101
- error: string;
11094
+ onFail?: {
11095
+ retry: string;
11096
+ max: number;
11097
+ } | undefined;
11098
+ }[];
11099
+ source: "built-in" | "file";
11100
+ path?: string | undefined;
11101
+ } | undefined;
11102
11102
  };
11103
11103
  outputFormat: "json";
11104
- status: 409;
11104
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11105
11105
  input: {
11106
11106
  json: {
11107
11107
  title?: string | undefined;
@@ -11147,7 +11147,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11147
11147
  error: string;
11148
11148
  };
11149
11149
  outputFormat: "json";
11150
- status: 404;
11150
+ status: 400;
11151
11151
  input: {
11152
11152
  json: {
11153
11153
  text?: string | undefined;
@@ -11166,7 +11166,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11166
11166
  error: string;
11167
11167
  };
11168
11168
  outputFormat: "json";
11169
- status: 409;
11169
+ status: 404;
11170
11170
  input: {
11171
11171
  json: {
11172
11172
  text?: string | undefined;
@@ -11182,10 +11182,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11182
11182
  };
11183
11183
  } | {
11184
11184
  output: {
11185
- delivered: true;
11185
+ error: string;
11186
11186
  };
11187
11187
  outputFormat: "json";
11188
- status: import("hono/utils/http-status").ContentfulStatusCode;
11188
+ status: 409;
11189
11189
  input: {
11190
11190
  json: {
11191
11191
  text?: string | undefined;
@@ -11201,10 +11201,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11201
11201
  };
11202
11202
  } | {
11203
11203
  output: {
11204
- error: string;
11204
+ delivered: true;
11205
11205
  };
11206
11206
  outputFormat: "json";
11207
- status: 400;
11207
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11208
11208
  input: {
11209
11209
  json: {
11210
11210
  text?: string | undefined;
@@ -11271,7 +11271,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11271
11271
  error: string;
11272
11272
  };
11273
11273
  outputFormat: "json";
11274
- status: 404;
11274
+ status: 400;
11275
11275
  input: {
11276
11276
  json: {
11277
11277
  text?: string | undefined;
@@ -11292,7 +11292,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11292
11292
  error: string;
11293
11293
  };
11294
11294
  outputFormat: "json";
11295
- status: 400;
11295
+ status: 404;
11296
11296
  input: {
11297
11297
  json: {
11298
11298
  text?: string | undefined;
@@ -11444,7 +11444,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11444
11444
  error: string;
11445
11445
  };
11446
11446
  outputFormat: "json";
11447
- status: 404;
11447
+ status: 400;
11448
11448
  input: {
11449
11449
  json: {
11450
11450
  text?: string | undefined;
@@ -11467,7 +11467,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11467
11467
  error: string;
11468
11468
  };
11469
11469
  outputFormat: "json";
11470
- status: 400;
11470
+ status: 404;
11471
11471
  input: {
11472
11472
  json: {
11473
11473
  text?: string | undefined;
@@ -11578,7 +11578,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11578
11578
  error: string;
11579
11579
  };
11580
11580
  outputFormat: "json";
11581
- status: 404;
11581
+ status: 400;
11582
11582
  input: {
11583
11583
  json: {
11584
11584
  target: string;
@@ -11594,7 +11594,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11594
11594
  error: string;
11595
11595
  };
11596
11596
  outputFormat: "json";
11597
- status: 409;
11597
+ status: 404;
11598
11598
  input: {
11599
11599
  json: {
11600
11600
  target: string;
@@ -11610,7 +11610,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11610
11610
  error: string;
11611
11611
  };
11612
11612
  outputFormat: "json";
11613
- status: 400;
11613
+ status: 409;
11614
11614
  input: {
11615
11615
  json: {
11616
11616
  target: string;
@@ -11667,9 +11667,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11667
11667
  } & {
11668
11668
  "/runs/:id/images/:file": {
11669
11669
  $get: {
11670
- output: {};
11671
- outputFormat: string;
11672
- status: import("hono/utils/http-status").StatusCode;
11670
+ output: {
11671
+ error: string;
11672
+ code?: "invalid_input" | undefined;
11673
+ };
11674
+ outputFormat: "json";
11675
+ status: 400;
11673
11676
  input: {
11674
11677
  param: {
11675
11678
  id: string;
@@ -11677,12 +11680,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11677
11680
  };
11678
11681
  };
11679
11682
  } | {
11680
- output: {
11681
- error: string;
11682
- code?: "invalid_input" | undefined;
11683
- };
11684
- outputFormat: "json";
11685
- status: 400;
11683
+ output: {};
11684
+ outputFormat: string;
11685
+ status: import("hono/utils/http-status").StatusCode;
11686
11686
  input: {
11687
11687
  param: {
11688
11688
  id: string;
@@ -11694,20 +11694,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11694
11694
  } & {
11695
11695
  "/runs/:id/diff": {
11696
11696
  $get: {
11697
- output: string;
11698
- outputFormat: "text";
11699
- status: import("hono/utils/http-status").ContentfulStatusCode;
11697
+ output: {
11698
+ error: string;
11699
+ };
11700
+ outputFormat: "json";
11701
+ status: 404;
11700
11702
  input: {
11701
11703
  param: {
11702
11704
  id: string;
11703
11705
  };
11704
11706
  };
11705
11707
  } | {
11706
- output: {
11707
- error: string;
11708
- };
11709
- outputFormat: "json";
11710
- status: 404;
11708
+ output: string;
11709
+ outputFormat: "text";
11710
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11711
11711
  input: {
11712
11712
  param: {
11713
11713
  id: string;
@@ -12036,6 +12036,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12036
12036
  artifactId: string;
12037
12037
  };
12038
12038
  };
12039
+ } | {
12040
+ output: {
12041
+ error: string;
12042
+ };
12043
+ outputFormat: "json";
12044
+ status: 404;
12045
+ input: {
12046
+ param: {
12047
+ id: string;
12048
+ artifactId: string;
12049
+ };
12050
+ };
12039
12051
  } | {
12040
12052
  output: {
12041
12053
  type: "file";
@@ -12063,18 +12075,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12063
12075
  artifactId: string;
12064
12076
  };
12065
12077
  };
12066
- } | {
12067
- output: {
12068
- error: string;
12069
- };
12070
- outputFormat: "json";
12071
- status: 404;
12072
- input: {
12073
- param: {
12074
- id: string;
12075
- artifactId: string;
12076
- };
12077
- };
12078
12078
  };
12079
12079
  };
12080
12080
  } & {
@@ -12371,10 +12371,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12371
12371
  "/runs/:id/pr": {
12372
12372
  $post: {
12373
12373
  output: {
12374
- error: string;
12374
+ url: string;
12375
+ dryRun: boolean;
12375
12376
  };
12376
12377
  outputFormat: "json";
12377
- status: 404;
12378
+ status: 201;
12378
12379
  input: {
12379
12380
  param: {
12380
12381
  id: string;
@@ -12385,7 +12386,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12385
12386
  error: string;
12386
12387
  };
12387
12388
  outputFormat: "json";
12388
- status: 409;
12389
+ status: 400;
12389
12390
  input: {
12390
12391
  param: {
12391
12392
  id: string;
@@ -12396,7 +12397,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12396
12397
  error: string;
12397
12398
  };
12398
12399
  outputFormat: "json";
12399
- status: 400;
12400
+ status: 404;
12400
12401
  input: {
12401
12402
  param: {
12402
12403
  id: string;
@@ -12404,11 +12405,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12404
12405
  };
12405
12406
  } | {
12406
12407
  output: {
12407
- url: string;
12408
- dryRun: boolean;
12408
+ error: string;
12409
12409
  };
12410
12410
  outputFormat: "json";
12411
- status: 201;
12411
+ status: 409;
12412
12412
  input: {
12413
12413
  param: {
12414
12414
  id: string;
@@ -12460,7 +12460,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12460
12460
  error: string;
12461
12461
  };
12462
12462
  outputFormat: "json";
12463
- status: 409;
12463
+ status: 404;
12464
12464
  input: {
12465
12465
  param: {
12466
12466
  id: string;
@@ -12471,7 +12471,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12471
12471
  error: string;
12472
12472
  };
12473
12473
  outputFormat: "json";
12474
- status: 404;
12474
+ status: 409;
12475
12475
  input: {
12476
12476
  param: {
12477
12477
  id: string;
@@ -13231,7 +13231,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13231
13231
  error: string;
13232
13232
  };
13233
13233
  outputFormat: "json";
13234
- status: 409;
13234
+ status: 400;
13235
13235
  input: {
13236
13236
  json: {
13237
13237
  target: string;
@@ -13242,7 +13242,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13242
13242
  error: string;
13243
13243
  };
13244
13244
  outputFormat: "json";
13245
- status: 400;
13245
+ status: 409;
13246
13246
  input: {
13247
13247
  json: {
13248
13248
  target: string;
@@ -13301,9 +13301,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13301
13301
  }, "/"> | import("hono/types").MergeSchemaPath<{
13302
13302
  "/runs/:id/events": {
13303
13303
  $get: {
13304
- output: {};
13305
- outputFormat: string;
13306
- status: import("hono/utils/http-status").StatusCode;
13304
+ output: {
13305
+ error: string;
13306
+ code?: "invalid_input" | undefined;
13307
+ };
13308
+ outputFormat: "json";
13309
+ status: 400;
13307
13310
  input: {
13308
13311
  param: {
13309
13312
  id: string;
@@ -13315,12 +13318,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13315
13318
  };
13316
13319
  };
13317
13320
  } | {
13318
- output: {
13319
- error: string;
13320
- code?: "invalid_input" | undefined;
13321
- };
13322
- outputFormat: "json";
13323
- status: 400;
13321
+ output: {};
13322
+ outputFormat: string;
13323
+ status: import("hono/utils/http-status").StatusCode;
13324
13324
  input: {
13325
13325
  param: {
13326
13326
  id: string;
@@ -13372,25 +13372,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13372
13372
  "/config": {
13373
13373
  $put: {
13374
13374
  output: {
13375
- baseBranch: string | null;
13376
- defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
13377
- systemPrompt: string | null;
13378
- defaultModels: {
13379
- claude?: string | undefined;
13380
- codex?: string | undefined;
13381
- cursor?: string | undefined;
13382
- opencode?: string | undefined;
13383
- pi?: string | undefined;
13384
- };
13385
- modelsLocked: boolean;
13386
- maxParallel: number;
13387
- memoryLimitMb: number | null;
13388
- worktreeRetention: number;
13389
- liveTitleUpdates: boolean | null;
13390
- reviewGate: boolean | null;
13375
+ error: string;
13391
13376
  };
13392
13377
  outputFormat: "json";
13393
- status: import("hono/utils/http-status").ContentfulStatusCode;
13378
+ status: 409;
13394
13379
  input: {
13395
13380
  json: {
13396
13381
  baseBranch?: string | null | undefined;
@@ -13415,7 +13400,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13415
13400
  error: string;
13416
13401
  };
13417
13402
  outputFormat: "json";
13418
- status: 409;
13403
+ status: 500;
13419
13404
  input: {
13420
13405
  json: {
13421
13406
  baseBranch?: string | null | undefined;
@@ -13437,10 +13422,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13437
13422
  };
13438
13423
  } | {
13439
13424
  output: {
13440
- error: string;
13425
+ baseBranch: string | null;
13426
+ defaultRunner: "claude" | "codex" | "cursor" | "opencode" | "pi";
13427
+ systemPrompt: string | null;
13428
+ defaultModels: {
13429
+ claude?: string | undefined;
13430
+ codex?: string | undefined;
13431
+ cursor?: string | undefined;
13432
+ opencode?: string | undefined;
13433
+ pi?: string | undefined;
13434
+ };
13435
+ modelsLocked: boolean;
13436
+ maxParallel: number;
13437
+ memoryLimitMb: number | null;
13438
+ worktreeRetention: number;
13439
+ liveTitleUpdates: boolean | null;
13440
+ reviewGate: boolean | null;
13441
13441
  };
13442
13442
  outputFormat: "json";
13443
- status: 500;
13443
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13444
13444
  input: {
13445
13445
  json: {
13446
13446
  baseBranch?: string | null | undefined;
@@ -13465,6 +13465,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13465
13465
  }, "/"> | import("hono/types").MergeSchemaPath<{
13466
13466
  "/skills": {
13467
13467
  $get: {
13468
+ output: {
13469
+ error: string;
13470
+ code?: "invalid_input" | undefined;
13471
+ };
13472
+ outputFormat: "json";
13473
+ status: 400;
13474
+ input: {
13475
+ query: {
13476
+ wait?: string | undefined;
13477
+ };
13478
+ };
13479
+ } | {
13468
13480
  output: {
13469
13481
  name: string;
13470
13482
  description?: string;
@@ -13487,7 +13499,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13487
13499
  wait?: string | undefined;
13488
13500
  };
13489
13501
  };
13490
- } | {
13502
+ };
13503
+ };
13504
+ } & {
13505
+ "/skills/importable": {
13506
+ $get: {
13491
13507
  output: {
13492
13508
  error: string;
13493
13509
  code?: "invalid_input" | undefined;
@@ -13499,11 +13515,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13499
13515
  wait?: string | undefined;
13500
13516
  };
13501
13517
  };
13502
- };
13503
- };
13504
- } & {
13505
- "/skills/importable": {
13506
- $get: {
13518
+ } | {
13507
13519
  output: {
13508
13520
  name: string;
13509
13521
  description?: string | undefined;
@@ -13515,18 +13527,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13515
13527
  wait?: string | undefined;
13516
13528
  };
13517
13529
  };
13518
- } | {
13519
- output: {
13520
- error: string;
13521
- code?: "invalid_input" | undefined;
13522
- };
13523
- outputFormat: "json";
13524
- status: 400;
13525
- input: {
13526
- query: {
13527
- wait?: string | undefined;
13528
- };
13529
- };
13530
13530
  };
13531
13531
  };
13532
13532
  } & {
@@ -13580,7 +13580,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13580
13580
  error: string;
13581
13581
  };
13582
13582
  outputFormat: "json";
13583
- status: 409;
13583
+ status: 404;
13584
13584
  input: {
13585
13585
  param: {
13586
13586
  id: string;
@@ -13588,10 +13588,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13588
13588
  };
13589
13589
  } | {
13590
13590
  output: {
13591
- removed: true;
13591
+ error: string;
13592
13592
  };
13593
13593
  outputFormat: "json";
13594
- status: import("hono/utils/http-status").ContentfulStatusCode;
13594
+ status: 409;
13595
13595
  input: {
13596
13596
  param: {
13597
13597
  id: string;
@@ -13599,10 +13599,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13599
13599
  };
13600
13600
  } | {
13601
13601
  output: {
13602
- error: string;
13602
+ removed: true;
13603
13603
  };
13604
13604
  outputFormat: "json";
13605
- status: 404;
13605
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13606
13606
  input: {
13607
13607
  param: {
13608
13608
  id: string;
@@ -13613,24 +13613,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13613
13613
  } & {
13614
13614
  "/todos/:id/start": {
13615
13615
  $post: {
13616
- output: {
13617
- error: string;
13618
- };
13619
- outputFormat: "json";
13620
- status: 409;
13621
- input: {
13622
- json: {
13623
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13624
- model?: string | undefined;
13625
- effort?: string | undefined;
13626
- prompt?: string | undefined;
13627
- } | undefined;
13628
- } & {
13629
- param: {
13630
- id: string;
13631
- };
13632
- };
13633
- } | {
13634
13616
  output: {
13635
13617
  run: {
13636
13618
  id: string;
@@ -14065,7 +14047,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14065
14047
  };
14066
14048
  };
14067
14049
  outputFormat: "json";
14068
- status: 201;
14050
+ status: 201;
14051
+ input: {
14052
+ json: {
14053
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14054
+ model?: string | undefined;
14055
+ effort?: string | undefined;
14056
+ prompt?: string | undefined;
14057
+ } | undefined;
14058
+ } & {
14059
+ param: {
14060
+ id: string;
14061
+ };
14062
+ };
14063
+ } | {
14064
+ output: {
14065
+ error: string;
14066
+ };
14067
+ outputFormat: "json";
14068
+ status: 404;
14069
14069
  input: {
14070
14070
  json: {
14071
14071
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -14101,7 +14101,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14101
14101
  error: string;
14102
14102
  };
14103
14103
  outputFormat: "json";
14104
- status: 404;
14104
+ status: 409;
14105
14105
  input: {
14106
14106
  json: {
14107
14107
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -14204,14 +14204,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14204
14204
  "/agent-config/:id": {
14205
14205
  $put: {
14206
14206
  output: {
14207
- id: string;
14208
- path: string;
14209
- exists: boolean;
14210
- content: string;
14211
- version: string | null;
14207
+ error: string;
14212
14208
  };
14213
14209
  outputFormat: "json";
14214
- status: import("hono/utils/http-status").ContentfulStatusCode;
14210
+ status: 404;
14215
14211
  input: {
14216
14212
  json: {
14217
14213
  content: string;
@@ -14224,10 +14220,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14224
14220
  };
14225
14221
  } | {
14226
14222
  output: {
14227
- error: string;
14223
+ id: string;
14224
+ path: string;
14225
+ exists: boolean;
14226
+ content: string;
14227
+ version: string | null;
14228
14228
  };
14229
14229
  outputFormat: "json";
14230
- status: 404;
14230
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14231
14231
  input: {
14232
14232
  json: {
14233
14233
  content: string;
@@ -14297,10 +14297,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14297
14297
  "/workflows": {
14298
14298
  $post: {
14299
14299
  output: {
14300
- error: string;
14300
+ path: string;
14301
+ name: string;
14301
14302
  };
14302
14303
  outputFormat: "json";
14303
- status: 400;
14304
+ status: 201;
14304
14305
  input: {
14305
14306
  json: {
14306
14307
  name: string;
@@ -14329,10 +14330,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14329
14330
  } | {
14330
14331
  output: {
14331
14332
  error: string;
14332
- exists: true;
14333
14333
  };
14334
14334
  outputFormat: "json";
14335
- status: 409;
14335
+ status: 400;
14336
14336
  input: {
14337
14337
  json: {
14338
14338
  name: string;
@@ -14361,9 +14361,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14361
14361
  } | {
14362
14362
  output: {
14363
14363
  error: string;
14364
+ exists: true;
14364
14365
  };
14365
14366
  outputFormat: "json";
14366
- status: 500;
14367
+ status: 409;
14367
14368
  input: {
14368
14369
  json: {
14369
14370
  name: string;
@@ -14391,11 +14392,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14391
14392
  };
14392
14393
  } | {
14393
14394
  output: {
14394
- path: string;
14395
- name: string;
14395
+ error: string;
14396
14396
  };
14397
14397
  outputFormat: "json";
14398
- status: 201;
14398
+ status: 500;
14399
14399
  input: {
14400
14400
  json: {
14401
14401
  name: string;
@@ -14430,7 +14430,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14430
14430
  error: string;
14431
14431
  };
14432
14432
  outputFormat: "json";
14433
- status: 404;
14433
+ status: 400;
14434
14434
  input: {
14435
14435
  param: {
14436
14436
  name: string;
@@ -14441,7 +14441,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14441
14441
  error: string;
14442
14442
  };
14443
14443
  outputFormat: "json";
14444
- status: 400;
14444
+ status: 404;
14445
14445
  input: {
14446
14446
  param: {
14447
14447
  name: string;
@@ -14566,9 +14566,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14566
14566
  } & {
14567
14567
  "/repo/commit/:sha": {
14568
14568
  $get: {
14569
- output: string;
14570
- outputFormat: "text";
14571
- status: import("hono/utils/http-status").ContentfulStatusCode;
14569
+ output: {
14570
+ error: string;
14571
+ code?: "invalid_input" | undefined;
14572
+ };
14573
+ outputFormat: "json";
14574
+ status: 400;
14572
14575
  input: {
14573
14576
  query: {
14574
14577
  structured?: string | undefined;
@@ -14581,10 +14584,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14581
14584
  } | {
14582
14585
  output: {
14583
14586
  error: string;
14584
- code?: "invalid_input" | undefined;
14585
14587
  };
14586
14588
  outputFormat: "json";
14587
- status: 400;
14589
+ status: 409;
14588
14590
  input: {
14589
14591
  query: {
14590
14592
  structured?: string | undefined;
@@ -14628,11 +14630,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14628
14630
  };
14629
14631
  };
14630
14632
  } | {
14631
- output: {
14632
- error: string;
14633
- };
14634
- outputFormat: "json";
14635
- status: 409;
14633
+ output: string;
14634
+ outputFormat: "text";
14635
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14636
14636
  input: {
14637
14637
  query: {
14638
14638
  structured?: string | undefined;
@@ -14647,6 +14647,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14647
14647
  } & {
14648
14648
  "/repo/changes": {
14649
14649
  $get: {
14650
+ output: {
14651
+ error: string;
14652
+ };
14653
+ outputFormat: "json";
14654
+ status: 409;
14655
+ input: {};
14656
+ } | {
14650
14657
  output: {
14651
14658
  files: {
14652
14659
  path: string;
@@ -14671,13 +14678,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14671
14678
  outputFormat: "json";
14672
14679
  status: import("hono/utils/http-status").ContentfulStatusCode;
14673
14680
  input: {};
14674
- } | {
14675
- output: {
14676
- error: string;
14677
- };
14678
- outputFormat: "json";
14679
- status: 409;
14680
- input: {};
14681
14681
  };
14682
14682
  };
14683
14683
  } & {
@@ -14702,10 +14702,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14702
14702
  "/repo/pull": {
14703
14703
  $post: {
14704
14704
  output: {
14705
- error: string;
14705
+ branch: string;
14706
+ pulled: true;
14707
+ summary: string;
14706
14708
  };
14707
14709
  outputFormat: "json";
14708
- status: 409;
14710
+ status: 200;
14709
14711
  input: {
14710
14712
  json: {
14711
14713
  branch?: string | undefined;
@@ -14714,12 +14716,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14714
14716
  };
14715
14717
  } | {
14716
14718
  output: {
14717
- branch: string;
14718
- pulled: true;
14719
- summary: string;
14719
+ error: string;
14720
14720
  };
14721
14721
  outputFormat: "json";
14722
- status: 200;
14722
+ status: 409;
14723
14723
  input: {
14724
14724
  json: {
14725
14725
  branch?: string | undefined;
@@ -15437,30 +15437,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15437
15437
  "/automations": {
15438
15438
  $post: {
15439
15439
  output: {
15440
- error: string;
15441
- };
15442
- outputFormat: "json";
15443
- status: 400;
15444
- input: {
15445
- json: {
15440
+ automation: {
15441
+ [x: string]: import("hono/utils/types").JSONValue;
15442
+ id: string;
15443
+ revision: number;
15446
15444
  name: string;
15447
15445
  description?: string | undefined;
15448
- enabled?: boolean | undefined;
15446
+ enabled: boolean;
15449
15447
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
15450
15448
  intervalSeconds: number;
15451
15449
  filters: {
15452
- [x: string]: unknown;
15450
+ [x: string]: import("hono/utils/types").JSONValue;
15453
15451
  authors?: string[] | undefined;
15454
15452
  assignees?: string[] | undefined;
15455
15453
  allLabels?: string[] | undefined;
15456
15454
  anyLabels?: string[] | undefined;
15457
15455
  excludeLabels?: string[] | undefined;
15458
15456
  changedLabels?: string[] | undefined;
15459
- lookbackDays?: number | undefined;
15460
- maxRecords?: number | undefined;
15457
+ lookbackDays: number;
15458
+ maxRecords: number;
15461
15459
  };
15462
15460
  task: {
15463
- [x: string]: unknown;
15461
+ [x: string]: import("hono/utils/types").JSONValue;
15464
15462
  prompt: string;
15465
15463
  workflow?: string | undefined;
15466
15464
  steps?: {
@@ -15477,7 +15475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15477
15475
  command?: string | undefined;
15478
15476
  onFail?: {
15479
15477
  retry: string;
15480
- max?: number | undefined;
15478
+ max: number;
15481
15479
  } | undefined;
15482
15480
  }[] | undefined;
15483
15481
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -15489,33 +15487,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15489
15487
  autonomous?: boolean | undefined;
15490
15488
  systemPrompt?: string | undefined;
15491
15489
  };
15492
- enable?: boolean | undefined;
15490
+ createdAt: string;
15491
+ updatedAt: string;
15493
15492
  };
15494
15493
  };
15495
- } | {
15496
- output: {
15497
- automation: {
15498
- [x: string]: import("hono/utils/types").JSONValue;
15499
- id: string;
15500
- revision: number;
15494
+ outputFormat: "json";
15495
+ status: 201;
15496
+ input: {
15497
+ json: {
15501
15498
  name: string;
15502
15499
  description?: string | undefined;
15503
- enabled: boolean;
15500
+ enabled?: boolean | undefined;
15504
15501
  events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
15505
15502
  intervalSeconds: number;
15506
15503
  filters: {
15507
- [x: string]: import("hono/utils/types").JSONValue;
15504
+ [x: string]: unknown;
15508
15505
  authors?: string[] | undefined;
15509
15506
  assignees?: string[] | undefined;
15510
15507
  allLabels?: string[] | undefined;
15511
15508
  anyLabels?: string[] | undefined;
15512
15509
  excludeLabels?: string[] | undefined;
15513
15510
  changedLabels?: string[] | undefined;
15514
- lookbackDays: number;
15515
- maxRecords: number;
15511
+ lookbackDays?: number | undefined;
15512
+ maxRecords?: number | undefined;
15516
15513
  };
15517
15514
  task: {
15518
- [x: string]: import("hono/utils/types").JSONValue;
15515
+ [x: string]: unknown;
15519
15516
  prompt: string;
15520
15517
  workflow?: string | undefined;
15521
15518
  steps?: {
@@ -15532,7 +15529,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15532
15529
  command?: string | undefined;
15533
15530
  onFail?: {
15534
15531
  retry: string;
15535
- max: number;
15532
+ max?: number | undefined;
15536
15533
  } | undefined;
15537
15534
  }[] | undefined;
15538
15535
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
@@ -15544,12 +15541,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15544
15541
  autonomous?: boolean | undefined;
15545
15542
  systemPrompt?: string | undefined;
15546
15543
  };
15547
- createdAt: string;
15548
- updatedAt: string;
15544
+ enable?: boolean | undefined;
15549
15545
  };
15550
15546
  };
15547
+ } | {
15548
+ output: {
15549
+ error: string;
15550
+ };
15551
15551
  outputFormat: "json";
15552
- status: 201;
15552
+ status: 400;
15553
15553
  input: {
15554
15554
  json: {
15555
15555
  name: string;
@@ -16153,10 +16153,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16153
16153
  "/automations/:id/check": {
16154
16154
  $post: {
16155
16155
  output: {
16156
- error: string;
16156
+ checkId: string;
16157
16157
  };
16158
16158
  outputFormat: "json";
16159
- status: 404;
16159
+ status: 202;
16160
16160
  input: {
16161
16161
  json: {
16162
16162
  mode: "execute" | "preview";
@@ -16168,10 +16168,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16168
16168
  };
16169
16169
  } | {
16170
16170
  output: {
16171
- checkId: string;
16171
+ error: string;
16172
16172
  };
16173
16173
  outputFormat: "json";
16174
- status: 202;
16174
+ status: 404;
16175
16175
  input: {
16176
16176
  json: {
16177
16177
  mode: "execute" | "preview";
@@ -16245,10 +16245,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16245
16245
  "/automation-log/:receiptId/retry": {
16246
16246
  $post: {
16247
16247
  output: {
16248
- error: string;
16248
+ receiptId: string;
16249
+ runId: string;
16249
16250
  };
16250
16251
  outputFormat: "json";
16251
- status: 404;
16252
+ status: 202;
16252
16253
  input: {
16253
16254
  param: {
16254
16255
  receiptId: string;
@@ -16259,7 +16260,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16259
16260
  error: string;
16260
16261
  };
16261
16262
  outputFormat: "json";
16262
- status: 409;
16263
+ status: 404;
16263
16264
  input: {
16264
16265
  param: {
16265
16266
  receiptId: string;
@@ -16267,11 +16268,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16267
16268
  };
16268
16269
  } | {
16269
16270
  output: {
16270
- receiptId: string;
16271
- runId: string;
16271
+ error: string;
16272
16272
  };
16273
16273
  outputFormat: "json";
16274
- status: 202;
16274
+ status: 409;
16275
16275
  input: {
16276
16276
  param: {
16277
16277
  receiptId: string;
@@ -16848,11 +16848,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16848
16848
  "/runs/:id/worker-destroy": {
16849
16849
  $post: {
16850
16850
  output: {
16851
- error: string;
16852
- code?: "invalid_input" | undefined;
16851
+ workerId: string;
16852
+ state: "complete" | "incomplete";
16853
+ deleted?: ({
16854
+ kind: "worktree";
16855
+ path: string;
16856
+ } | {
16857
+ kind: "branch";
16858
+ ref: string;
16859
+ })[] | undefined;
16860
+ remaining: ("branch" | "process" | "worktree")[];
16861
+ error?: string | undefined;
16853
16862
  };
16854
16863
  outputFormat: "json";
16855
- status: 400;
16864
+ status: 200;
16856
16865
  input: {
16857
16866
  query: {
16858
16867
  [x: string]: string | string[];
@@ -16866,20 +16875,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16866
16875
  };
16867
16876
  } | {
16868
16877
  output: {
16869
- workerId: string;
16870
- state: "complete" | "incomplete";
16871
- deleted?: ({
16872
- kind: "worktree";
16873
- path: string;
16874
- } | {
16875
- kind: "branch";
16876
- ref: string;
16877
- })[] | undefined;
16878
- remaining: ("branch" | "process" | "worktree")[];
16879
- error?: string | undefined;
16878
+ error: string;
16879
+ code?: "invalid_input" | undefined;
16880
16880
  };
16881
16881
  outputFormat: "json";
16882
- status: 200;
16882
+ status: 400;
16883
16883
  input: {
16884
16884
  query: {
16885
16885
  [x: string]: string | string[];
@@ -16963,6 +16963,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16963
16963
  } & {
16964
16964
  "/runs/:id/archive": {
16965
16965
  $post: {
16966
+ output: {
16967
+ error: string;
16968
+ };
16969
+ outputFormat: "json";
16970
+ status: 404;
16971
+ input: {
16972
+ json: {
16973
+ archived?: boolean | undefined;
16974
+ };
16975
+ } & {
16976
+ param: {
16977
+ id: string;
16978
+ };
16979
+ };
16980
+ } | {
16966
16981
  output: {
16967
16982
  id: string;
16968
16983
  title: string;
@@ -17405,32 +17420,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17405
17420
  id: string;
17406
17421
  };
17407
17422
  };
17408
- } | {
17423
+ };
17424
+ };
17425
+ } & {
17426
+ "/runs/:id/pin": {
17427
+ $post: {
17409
17428
  output: {
17410
17429
  error: string;
17430
+ code?: "invalid_input" | undefined;
17411
17431
  };
17412
17432
  outputFormat: "json";
17413
- status: 404;
17433
+ status: 400;
17414
17434
  input: {
17415
- json: {
17416
- archived?: boolean | undefined;
17417
- };
17418
- } & {
17419
17435
  param: {
17420
17436
  id: string;
17421
17437
  };
17438
+ } & {
17439
+ json: {
17440
+ pinned?: boolean | undefined;
17441
+ };
17422
17442
  };
17423
- };
17424
- };
17425
- } & {
17426
- "/runs/:id/pin": {
17427
- $post: {
17443
+ } | {
17428
17444
  output: {
17429
17445
  error: string;
17430
- code?: "invalid_input" | undefined;
17431
17446
  };
17432
17447
  outputFormat: "json";
17433
- status: 400;
17448
+ status: 404;
17434
17449
  input: {
17435
17450
  param: {
17436
17451
  id: string;
@@ -17883,21 +17898,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17883
17898
  pinned?: boolean | undefined;
17884
17899
  };
17885
17900
  };
17886
- } | {
17887
- output: {
17888
- error: string;
17889
- };
17890
- outputFormat: "json";
17891
- status: 404;
17892
- input: {
17893
- param: {
17894
- id: string;
17895
- };
17896
- } & {
17897
- json: {
17898
- pinned?: boolean | undefined;
17899
- };
17900
- };
17901
17901
  };
17902
17902
  };
17903
17903
  } & {
@@ -17929,6 +17929,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17929
17929
  } & {
17930
17930
  "/runs/:id/read": {
17931
17931
  $post: {
17932
+ output: {
17933
+ error: string;
17934
+ };
17935
+ outputFormat: "json";
17936
+ status: 404;
17937
+ input: {
17938
+ param: {
17939
+ id: string;
17940
+ };
17941
+ };
17942
+ } | {
17932
17943
  output: {
17933
17944
  id: string;
17934
17945
  title: string;
@@ -18367,7 +18378,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18367
18378
  id: string;
18368
18379
  };
18369
18380
  };
18370
- } | {
18381
+ };
18382
+ };
18383
+ } & {
18384
+ "/runs/:id/unread": {
18385
+ $post: {
18371
18386
  output: {
18372
18387
  error: string;
18373
18388
  };
@@ -18378,11 +18393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18378
18393
  id: string;
18379
18394
  };
18380
18395
  };
18381
- };
18382
- };
18383
- } & {
18384
- "/runs/:id/unread": {
18385
- $post: {
18396
+ } | {
18386
18397
  output: {
18387
18398
  id: string;
18388
18399
  title: string;
@@ -18821,17 +18832,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18821
18832
  id: string;
18822
18833
  };
18823
18834
  };
18824
- } | {
18825
- output: {
18826
- error: string;
18827
- };
18828
- outputFormat: "json";
18829
- status: 404;
18830
- input: {
18831
- param: {
18832
- id: string;
18833
- };
18834
- };
18835
18835
  };
18836
18836
  };
18837
18837
  } & {
@@ -19780,138 +19780,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19780
19780
  clientRequestId?: string | undefined;
19781
19781
  };
19782
19782
  };
19783
- } | {
19784
- output: {
19785
- error: string;
19786
- };
19787
- outputFormat: "json";
19788
- status: 409;
19789
- input: {
19790
- json: {
19791
- workflow?: string | undefined;
19792
- steps?: {
19793
- id: string;
19794
- name?: string | undefined;
19795
- prompt?: string | undefined;
19796
- skill?: string | undefined;
19797
- model?: string | undefined;
19798
- effort?: string | undefined;
19799
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19800
- agentProfile?: string | undefined;
19801
- allowedTools?: string[] | undefined;
19802
- bashAllowlist?: string[] | undefined;
19803
- command?: string | undefined;
19804
- onFail?: {
19805
- retry: string;
19806
- max?: number | undefined;
19807
- } | undefined;
19808
- }[] | undefined;
19809
- task: string;
19810
- model?: string | undefined;
19811
- effort?: string | undefined;
19812
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19813
- agentProfile?: string | undefined;
19814
- variants?: number | undefined;
19815
- worktree?: boolean | undefined;
19816
- autonomous?: boolean | undefined;
19817
- generateFollowups?: boolean | undefined;
19818
- systemPrompt?: string | undefined;
19819
- images?: {
19820
- mediaType: string;
19821
- data: string;
19822
- }[] | undefined;
19823
- todoId?: string | undefined;
19824
- clientRequestId?: string | undefined;
19825
- };
19826
- };
19827
- } | {
19828
- output: {
19829
- error: string;
19830
- };
19831
- outputFormat: "json";
19832
- status: 400;
19833
- input: {
19834
- json: {
19835
- workflow?: string | undefined;
19836
- steps?: {
19837
- id: string;
19838
- name?: string | undefined;
19839
- prompt?: string | undefined;
19840
- skill?: string | undefined;
19841
- model?: string | undefined;
19842
- effort?: string | undefined;
19843
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19844
- agentProfile?: string | undefined;
19845
- allowedTools?: string[] | undefined;
19846
- bashAllowlist?: string[] | undefined;
19847
- command?: string | undefined;
19848
- onFail?: {
19849
- retry: string;
19850
- max?: number | undefined;
19851
- } | undefined;
19852
- }[] | undefined;
19853
- task: string;
19854
- model?: string | undefined;
19855
- effort?: string | undefined;
19856
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19857
- agentProfile?: string | undefined;
19858
- variants?: number | undefined;
19859
- worktree?: boolean | undefined;
19860
- autonomous?: boolean | undefined;
19861
- generateFollowups?: boolean | undefined;
19862
- systemPrompt?: string | undefined;
19863
- images?: {
19864
- mediaType: string;
19865
- data: string;
19866
- }[] | undefined;
19867
- todoId?: string | undefined;
19868
- clientRequestId?: string | undefined;
19869
- };
19870
- };
19871
- } | {
19872
- output: {
19873
- error: string;
19874
- };
19875
- outputFormat: "json";
19876
- status: 404;
19877
- input: {
19878
- json: {
19879
- workflow?: string | undefined;
19880
- steps?: {
19881
- id: string;
19882
- name?: string | undefined;
19883
- prompt?: string | undefined;
19884
- skill?: string | undefined;
19885
- model?: string | undefined;
19886
- effort?: string | undefined;
19887
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19888
- agentProfile?: string | undefined;
19889
- allowedTools?: string[] | undefined;
19890
- bashAllowlist?: string[] | undefined;
19891
- command?: string | undefined;
19892
- onFail?: {
19893
- retry: string;
19894
- max?: number | undefined;
19895
- } | undefined;
19896
- }[] | undefined;
19897
- task: string;
19898
- model?: string | undefined;
19899
- effort?: string | undefined;
19900
- runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
19901
- agentProfile?: string | undefined;
19902
- variants?: number | undefined;
19903
- worktree?: boolean | undefined;
19904
- autonomous?: boolean | undefined;
19905
- generateFollowups?: boolean | undefined;
19906
- systemPrompt?: string | undefined;
19907
- images?: {
19908
- mediaType: string;
19909
- data: string;
19910
- }[] | undefined;
19911
- todoId?: string | undefined;
19912
- clientRequestId?: string | undefined;
19913
- };
19914
- };
19915
19783
  } | {
19916
19784
  output: {
19917
19785
  runs: {
@@ -20347,7 +20215,139 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20347
20215
  }[];
20348
20216
  };
20349
20217
  outputFormat: "json";
20350
- status: 201;
20218
+ status: 201;
20219
+ input: {
20220
+ json: {
20221
+ workflow?: string | undefined;
20222
+ steps?: {
20223
+ id: string;
20224
+ name?: string | undefined;
20225
+ prompt?: string | undefined;
20226
+ skill?: string | undefined;
20227
+ model?: string | undefined;
20228
+ effort?: string | undefined;
20229
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20230
+ agentProfile?: string | undefined;
20231
+ allowedTools?: string[] | undefined;
20232
+ bashAllowlist?: string[] | undefined;
20233
+ command?: string | undefined;
20234
+ onFail?: {
20235
+ retry: string;
20236
+ max?: number | undefined;
20237
+ } | undefined;
20238
+ }[] | undefined;
20239
+ task: string;
20240
+ model?: string | undefined;
20241
+ effort?: string | undefined;
20242
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20243
+ agentProfile?: string | undefined;
20244
+ variants?: number | undefined;
20245
+ worktree?: boolean | undefined;
20246
+ autonomous?: boolean | undefined;
20247
+ generateFollowups?: boolean | undefined;
20248
+ systemPrompt?: string | undefined;
20249
+ images?: {
20250
+ mediaType: string;
20251
+ data: string;
20252
+ }[] | undefined;
20253
+ todoId?: string | undefined;
20254
+ clientRequestId?: string | undefined;
20255
+ };
20256
+ };
20257
+ } | {
20258
+ output: {
20259
+ error: string;
20260
+ };
20261
+ outputFormat: "json";
20262
+ status: 400;
20263
+ input: {
20264
+ json: {
20265
+ workflow?: string | undefined;
20266
+ steps?: {
20267
+ id: string;
20268
+ name?: string | undefined;
20269
+ prompt?: string | undefined;
20270
+ skill?: string | undefined;
20271
+ model?: string | undefined;
20272
+ effort?: string | undefined;
20273
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20274
+ agentProfile?: string | undefined;
20275
+ allowedTools?: string[] | undefined;
20276
+ bashAllowlist?: string[] | undefined;
20277
+ command?: string | undefined;
20278
+ onFail?: {
20279
+ retry: string;
20280
+ max?: number | undefined;
20281
+ } | undefined;
20282
+ }[] | undefined;
20283
+ task: string;
20284
+ model?: string | undefined;
20285
+ effort?: string | undefined;
20286
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20287
+ agentProfile?: string | undefined;
20288
+ variants?: number | undefined;
20289
+ worktree?: boolean | undefined;
20290
+ autonomous?: boolean | undefined;
20291
+ generateFollowups?: boolean | undefined;
20292
+ systemPrompt?: string | undefined;
20293
+ images?: {
20294
+ mediaType: string;
20295
+ data: string;
20296
+ }[] | undefined;
20297
+ todoId?: string | undefined;
20298
+ clientRequestId?: string | undefined;
20299
+ };
20300
+ };
20301
+ } | {
20302
+ output: {
20303
+ error: string;
20304
+ };
20305
+ outputFormat: "json";
20306
+ status: 404;
20307
+ input: {
20308
+ json: {
20309
+ workflow?: string | undefined;
20310
+ steps?: {
20311
+ id: string;
20312
+ name?: string | undefined;
20313
+ prompt?: string | undefined;
20314
+ skill?: string | undefined;
20315
+ model?: string | undefined;
20316
+ effort?: string | undefined;
20317
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20318
+ agentProfile?: string | undefined;
20319
+ allowedTools?: string[] | undefined;
20320
+ bashAllowlist?: string[] | undefined;
20321
+ command?: string | undefined;
20322
+ onFail?: {
20323
+ retry: string;
20324
+ max?: number | undefined;
20325
+ } | undefined;
20326
+ }[] | undefined;
20327
+ task: string;
20328
+ model?: string | undefined;
20329
+ effort?: string | undefined;
20330
+ runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
20331
+ agentProfile?: string | undefined;
20332
+ variants?: number | undefined;
20333
+ worktree?: boolean | undefined;
20334
+ autonomous?: boolean | undefined;
20335
+ generateFollowups?: boolean | undefined;
20336
+ systemPrompt?: string | undefined;
20337
+ images?: {
20338
+ mediaType: string;
20339
+ data: string;
20340
+ }[] | undefined;
20341
+ todoId?: string | undefined;
20342
+ clientRequestId?: string | undefined;
20343
+ };
20344
+ };
20345
+ } | {
20346
+ output: {
20347
+ error: string;
20348
+ };
20349
+ outputFormat: "json";
20350
+ status: 409;
20351
20351
  input: {
20352
20352
  json: {
20353
20353
  workflow?: string | undefined;
@@ -20391,6 +20391,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20391
20391
  } & {
20392
20392
  "/runs/:id": {
20393
20393
  $get: {
20394
+ output: {
20395
+ error: string;
20396
+ };
20397
+ outputFormat: "json";
20398
+ status: 404;
20399
+ input: {
20400
+ param: {
20401
+ id: string;
20402
+ };
20403
+ };
20404
+ } | {
20394
20405
  output: {
20395
20406
  id: string;
20396
20407
  title: string;
@@ -20836,17 +20847,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20836
20847
  id: string;
20837
20848
  };
20838
20849
  };
20839
- } | {
20840
- output: {
20841
- error: string;
20842
- };
20843
- outputFormat: "json";
20844
- status: 404;
20845
- input: {
20846
- param: {
20847
- id: string;
20848
- };
20849
- };
20850
20850
  };
20851
20851
  };
20852
20852
  } & {
@@ -20974,6 +20974,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20974
20974
  } & {
20975
20975
  "/runs/:id": {
20976
20976
  $patch: {
20977
+ output: {
20978
+ error: string;
20979
+ };
20980
+ outputFormat: "json";
20981
+ status: 400;
20982
+ input: {
20983
+ json: {
20984
+ title?: string | undefined;
20985
+ task?: string | undefined;
20986
+ };
20987
+ } & {
20988
+ param: {
20989
+ id: string;
20990
+ };
20991
+ };
20992
+ } | {
20993
+ output: {
20994
+ error: string;
20995
+ };
20996
+ outputFormat: "json";
20997
+ status: 404;
20998
+ input: {
20999
+ json: {
21000
+ title?: string | undefined;
21001
+ task?: string | undefined;
21002
+ };
21003
+ } & {
21004
+ param: {
21005
+ id: string;
21006
+ };
21007
+ };
21008
+ } | {
21009
+ output: {
21010
+ error: string;
21011
+ };
21012
+ outputFormat: "json";
21013
+ status: 409;
21014
+ input: {
21015
+ json: {
21016
+ title?: string | undefined;
21017
+ task?: string | undefined;
21018
+ };
21019
+ } & {
21020
+ param: {
21021
+ id: string;
21022
+ };
21023
+ };
21024
+ } | {
20977
21025
  output: {
20978
21026
  id: string;
20979
21027
  title: string;
@@ -21417,54 +21465,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21417
21465
  id: string;
21418
21466
  };
21419
21467
  };
21420
- } | {
21421
- output: {
21422
- error: string;
21423
- };
21424
- outputFormat: "json";
21425
- status: 404;
21426
- input: {
21427
- json: {
21428
- title?: string | undefined;
21429
- task?: string | undefined;
21430
- };
21431
- } & {
21432
- param: {
21433
- id: string;
21434
- };
21435
- };
21436
- } | {
21437
- output: {
21438
- error: string;
21439
- };
21440
- outputFormat: "json";
21441
- status: 400;
21442
- input: {
21443
- json: {
21444
- title?: string | undefined;
21445
- task?: string | undefined;
21446
- };
21447
- } & {
21448
- param: {
21449
- id: string;
21450
- };
21451
- };
21452
- } | {
21453
- output: {
21454
- error: string;
21455
- };
21456
- outputFormat: "json";
21457
- status: 409;
21458
- input: {
21459
- json: {
21460
- title?: string | undefined;
21461
- task?: string | undefined;
21462
- };
21463
- } & {
21464
- param: {
21465
- id: string;
21466
- };
21467
- };
21468
21468
  };
21469
21469
  };
21470
21470
  } & {
@@ -21500,7 +21500,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21500
21500
  error: string;
21501
21501
  };
21502
21502
  outputFormat: "json";
21503
- status: 404;
21503
+ status: 400;
21504
21504
  input: {
21505
21505
  json: {
21506
21506
  text?: string | undefined;
@@ -21519,7 +21519,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21519
21519
  error: string;
21520
21520
  };
21521
21521
  outputFormat: "json";
21522
- status: 409;
21522
+ status: 404;
21523
21523
  input: {
21524
21524
  json: {
21525
21525
  text?: string | undefined;
@@ -21535,10 +21535,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21535
21535
  };
21536
21536
  } | {
21537
21537
  output: {
21538
- delivered: true;
21538
+ error: string;
21539
21539
  };
21540
21540
  outputFormat: "json";
21541
- status: import("hono/utils/http-status").ContentfulStatusCode;
21541
+ status: 409;
21542
21542
  input: {
21543
21543
  json: {
21544
21544
  text?: string | undefined;
@@ -21554,10 +21554,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21554
21554
  };
21555
21555
  } | {
21556
21556
  output: {
21557
- error: string;
21557
+ delivered: true;
21558
21558
  };
21559
21559
  outputFormat: "json";
21560
- status: 400;
21560
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21561
21561
  input: {
21562
21562
  json: {
21563
21563
  text?: string | undefined;
@@ -21624,7 +21624,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21624
21624
  error: string;
21625
21625
  };
21626
21626
  outputFormat: "json";
21627
- status: 404;
21627
+ status: 400;
21628
21628
  input: {
21629
21629
  json: {
21630
21630
  text?: string | undefined;
@@ -21645,7 +21645,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21645
21645
  error: string;
21646
21646
  };
21647
21647
  outputFormat: "json";
21648
- status: 400;
21648
+ status: 404;
21649
21649
  input: {
21650
21650
  json: {
21651
21651
  text?: string | undefined;
@@ -21797,7 +21797,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21797
21797
  error: string;
21798
21798
  };
21799
21799
  outputFormat: "json";
21800
- status: 404;
21800
+ status: 400;
21801
21801
  input: {
21802
21802
  json: {
21803
21803
  text?: string | undefined;
@@ -21820,7 +21820,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21820
21820
  error: string;
21821
21821
  };
21822
21822
  outputFormat: "json";
21823
- status: 400;
21823
+ status: 404;
21824
21824
  input: {
21825
21825
  json: {
21826
21826
  text?: string | undefined;
@@ -21931,7 +21931,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21931
21931
  error: string;
21932
21932
  };
21933
21933
  outputFormat: "json";
21934
- status: 404;
21934
+ status: 400;
21935
21935
  input: {
21936
21936
  json: {
21937
21937
  target: string;
@@ -21947,7 +21947,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21947
21947
  error: string;
21948
21948
  };
21949
21949
  outputFormat: "json";
21950
- status: 409;
21950
+ status: 404;
21951
21951
  input: {
21952
21952
  json: {
21953
21953
  target: string;
@@ -21963,7 +21963,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21963
21963
  error: string;
21964
21964
  };
21965
21965
  outputFormat: "json";
21966
- status: 400;
21966
+ status: 409;
21967
21967
  input: {
21968
21968
  json: {
21969
21969
  target: string;
@@ -22020,9 +22020,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22020
22020
  } & {
22021
22021
  "/runs/:id/images/:file": {
22022
22022
  $get: {
22023
- output: {};
22024
- outputFormat: string;
22025
- status: import("hono/utils/http-status").StatusCode;
22023
+ output: {
22024
+ error: string;
22025
+ code?: "invalid_input" | undefined;
22026
+ };
22027
+ outputFormat: "json";
22028
+ status: 400;
22026
22029
  input: {
22027
22030
  param: {
22028
22031
  id: string;
@@ -22030,12 +22033,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22030
22033
  };
22031
22034
  };
22032
22035
  } | {
22033
- output: {
22034
- error: string;
22035
- code?: "invalid_input" | undefined;
22036
- };
22037
- outputFormat: "json";
22038
- status: 400;
22036
+ output: {};
22037
+ outputFormat: string;
22038
+ status: import("hono/utils/http-status").StatusCode;
22039
22039
  input: {
22040
22040
  param: {
22041
22041
  id: string;
@@ -22047,20 +22047,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22047
22047
  } & {
22048
22048
  "/runs/:id/diff": {
22049
22049
  $get: {
22050
- output: string;
22051
- outputFormat: "text";
22052
- status: import("hono/utils/http-status").ContentfulStatusCode;
22050
+ output: {
22051
+ error: string;
22052
+ };
22053
+ outputFormat: "json";
22054
+ status: 404;
22053
22055
  input: {
22054
22056
  param: {
22055
22057
  id: string;
22056
22058
  };
22057
22059
  };
22058
22060
  } | {
22059
- output: {
22060
- error: string;
22061
- };
22062
- outputFormat: "json";
22063
- status: 404;
22061
+ output: string;
22062
+ outputFormat: "text";
22063
+ status: import("hono/utils/http-status").ContentfulStatusCode;
22064
22064
  input: {
22065
22065
  param: {
22066
22066
  id: string;
@@ -22389,6 +22389,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22389
22389
  artifactId: string;
22390
22390
  };
22391
22391
  };
22392
+ } | {
22393
+ output: {
22394
+ error: string;
22395
+ };
22396
+ outputFormat: "json";
22397
+ status: 404;
22398
+ input: {
22399
+ param: {
22400
+ id: string;
22401
+ artifactId: string;
22402
+ };
22403
+ };
22392
22404
  } | {
22393
22405
  output: {
22394
22406
  type: "file";
@@ -22416,18 +22428,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22416
22428
  artifactId: string;
22417
22429
  };
22418
22430
  };
22419
- } | {
22420
- output: {
22421
- error: string;
22422
- };
22423
- outputFormat: "json";
22424
- status: 404;
22425
- input: {
22426
- param: {
22427
- id: string;
22428
- artifactId: string;
22429
- };
22430
- };
22431
22431
  };
22432
22432
  };
22433
22433
  } & {
@@ -22724,10 +22724,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22724
22724
  "/runs/:id/pr": {
22725
22725
  $post: {
22726
22726
  output: {
22727
- error: string;
22727
+ url: string;
22728
+ dryRun: boolean;
22728
22729
  };
22729
22730
  outputFormat: "json";
22730
- status: 404;
22731
+ status: 201;
22731
22732
  input: {
22732
22733
  param: {
22733
22734
  id: string;
@@ -22738,7 +22739,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22738
22739
  error: string;
22739
22740
  };
22740
22741
  outputFormat: "json";
22741
- status: 409;
22742
+ status: 400;
22742
22743
  input: {
22743
22744
  param: {
22744
22745
  id: string;
@@ -22749,7 +22750,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22749
22750
  error: string;
22750
22751
  };
22751
22752
  outputFormat: "json";
22752
- status: 400;
22753
+ status: 404;
22753
22754
  input: {
22754
22755
  param: {
22755
22756
  id: string;
@@ -22757,11 +22758,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22757
22758
  };
22758
22759
  } | {
22759
22760
  output: {
22760
- url: string;
22761
- dryRun: boolean;
22761
+ error: string;
22762
22762
  };
22763
22763
  outputFormat: "json";
22764
- status: 201;
22764
+ status: 409;
22765
22765
  input: {
22766
22766
  param: {
22767
22767
  id: string;
@@ -22813,7 +22813,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22813
22813
  error: string;
22814
22814
  };
22815
22815
  outputFormat: "json";
22816
- status: 409;
22816
+ status: 404;
22817
22817
  input: {
22818
22818
  param: {
22819
22819
  id: string;
@@ -22824,7 +22824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22824
22824
  error: string;
22825
22825
  };
22826
22826
  outputFormat: "json";
22827
- status: 404;
22827
+ status: 409;
22828
22828
  input: {
22829
22829
  param: {
22830
22830
  id: string;