@hearsay-tools/squawk 0.19.0-dev.8843 → 0.19.0-dev.8846

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 (139) hide show
  1. package/dist/boot.d.ts +1 -1
  2. package/dist/boot.js +4 -1
  3. package/dist/boot.js.map +1 -1
  4. package/dist/built-in-forges.d.ts +8 -0
  5. package/dist/built-in-forges.js +15 -0
  6. package/dist/built-in-forges.js.map +1 -0
  7. package/dist/contract/health.d.ts +2 -2
  8. package/dist/contract/index.d.ts +1 -0
  9. package/dist/contract/index.js +39 -11
  10. package/dist/contract/projects.d.ts +6 -6
  11. package/dist/contract/pull-request-urls.d.ts +20 -0
  12. package/dist/contract/runs.d.ts +10 -1
  13. package/dist/core/forge-registry.d.ts +113 -0
  14. package/dist/core/forge-registry.js +127 -0
  15. package/dist/core/forge-registry.js.map +1 -0
  16. package/dist/delegation/routes.d.ts +4 -4
  17. package/dist/delegation/transport.d.ts +69 -69
  18. package/dist/features/automations/github-repository.js +2 -1
  19. package/dist/features/automations/github-repository.js.map +1 -1
  20. package/dist/features/automations/task-template.js +1 -1
  21. package/dist/features/automations/task-template.js.map +1 -1
  22. package/dist/plugin/api.d.ts +4 -0
  23. package/dist/plugin/api.js +10 -1
  24. package/dist/plugin/api.js.map +1 -1
  25. package/dist/plugin/cli.js +1 -1
  26. package/dist/plugin/cli.js.map +1 -1
  27. package/dist/plugin/index.d.ts +1 -0
  28. package/dist/plugin/index.js.map +1 -1
  29. package/dist/runs/pull-requests.d.ts +10 -0
  30. package/dist/runs/pull-requests.js +30 -19
  31. package/dist/runs/pull-requests.js.map +1 -1
  32. package/dist/runs/run-archive.d.ts +1 -0
  33. package/dist/runs/run-archive.js +14 -4
  34. package/dist/runs/run-archive.js.map +1 -1
  35. package/dist/runs/run-decode.d.ts +74 -72
  36. package/dist/runs/run-exits.d.ts +6 -0
  37. package/dist/runs/run-references.d.ts +1 -0
  38. package/dist/runs/run-references.js +7 -6
  39. package/dist/runs/run-references.js.map +1 -1
  40. package/dist/runs/store-open.d.ts +7 -1
  41. package/dist/runs/store-open.js +8 -2
  42. package/dist/runs/store-open.js.map +1 -1
  43. package/dist/runs/task-markers.js +1 -1
  44. package/dist/runs/task-markers.js.map +1 -1
  45. package/dist/runs/task-refs.d.ts +14 -7
  46. package/dist/runs/task-refs.js +32 -18
  47. package/dist/runs/task-refs.js.map +1 -1
  48. package/dist/server/activity-routes.d.ts +23 -23
  49. package/dist/server/completion-actions.js +3 -3
  50. package/dist/server/completion-actions.js.map +1 -1
  51. package/dist/server/forge/draft-pr.d.ts +6 -0
  52. package/dist/server/forge/draft-pr.js +11 -3
  53. package/dist/server/forge/draft-pr.js.map +1 -1
  54. package/dist/server/forge/github-forge.d.ts +4 -0
  55. package/dist/server/forge/github-forge.js +80 -0
  56. package/dist/server/forge/github-forge.js.map +1 -0
  57. package/dist/server/forge/github-mutations.js +4 -2
  58. package/dist/server/forge/github-mutations.js.map +1 -1
  59. package/dist/server/forge/index.d.ts +0 -19
  60. package/dist/server/forge/index.js +6 -29
  61. package/dist/server/forge/index.js.map +1 -1
  62. package/dist/server/forge/types.d.ts +2 -1
  63. package/dist/server/live-routes.d.ts +6 -6
  64. package/dist/server/projects-routes.d.ts +9 -9
  65. package/dist/server/repo-routes.d.ts +21 -21
  66. package/dist/server/runs-routes.d.ts +691 -682
  67. package/dist/server/server.d.ts +1257 -1239
  68. package/dist/server/workspace-live-routes.d.ts +6 -6
  69. package/dist/server/workspace-routes.d.ts +84 -84
  70. package/dist/workflows/continuation-admission.d.ts +1 -0
  71. package/dist/workflows/run/wait-engine.d.ts +73 -72
  72. package/dist/workspace/projects.d.ts +4 -5
  73. package/dist/workspace/projects.js +1 -1
  74. package/dist/workspace/projects.js.map +1 -1
  75. package/package.json +4 -4
  76. package/scripts/benchmark-project-probes.mjs +4 -0
  77. package/web/dist/assets/{accounts-section-D1dia-hG.js → accounts-section-BDtqUWb3.js} +1 -1
  78. package/web/dist/assets/{activity-motion-fPvKJxvA.js → activity-motion-BXoeTgQ0.js} +1 -1
  79. package/web/dist/assets/{activity-route-CB5nog2G.js → activity-route-C6vB-67V.js} +1 -1
  80. package/web/dist/assets/{agent-config-section-D0_Hh9sa.js → agent-config-section-CYKtNSOq.js} +1 -1
  81. package/web/dist/assets/{agent-defaults-section-Da8_EROm.js → agent-defaults-section-Cxi5hgqw.js} +1 -1
  82. package/web/dist/assets/{appearance-D6Jy-FOI.js → appearance-DpiBlg6s.js} +1 -1
  83. package/web/dist/assets/{archive-on-merge-field-C5WFm3HO.js → archive-on-merge-field-BkwRlcuT.js} +1 -1
  84. package/web/dist/assets/attention-ILOaW2-t.js +1 -0
  85. package/web/dist/assets/{automations-route-CctTxl3u.js → automations-route-B7pZjn4t.js} +1 -1
  86. package/web/dist/assets/{commit-list-FImAZR2z.js → commit-list-DmvUQRfc.js} +1 -1
  87. package/web/dist/assets/{diff-controls-DzbvRI1Q.js → diff-controls-DDd5C9KF.js} +1 -1
  88. package/web/dist/assets/{diff-DqOJaV4a.js → diff-pvABbnFN.js} +2 -2
  89. package/web/dist/assets/{diff-view-D8TGCcR9.js → diff-view-y0rJAqxu.js} +1 -1
  90. package/web/dist/assets/{file-preview-B4UtCBRw.js → file-preview-CtLbHTJd.js} +1 -1
  91. package/web/dist/assets/{folder-browser-ZmOa9z3j.js → folder-browser-B_jJl4is.js} +1 -1
  92. package/web/dist/assets/{git-toolbar-Dun1QqPH.js → git-toolbar-BNu4FVNt.js} +1 -1
  93. package/web/dist/assets/{github-BN-W-GO8.js → github-P8iLt9Ze.js} +1 -1
  94. package/web/dist/assets/{global-activity-route--JbzbeqH.js → global-activity-route-DmlKf3HJ.js} +1 -1
  95. package/web/dist/assets/{index-DEWnkuj6.js → index-CtmR0Rih.js} +5 -5
  96. package/web/dist/assets/{label-D91E4F0a.js → label-DMC9mkYa.js} +1 -1
  97. package/web/dist/assets/{markdown-DOEDwgDr.js → markdown-Ccc5GQS7.js} +1 -1
  98. package/web/dist/assets/{notifications-section-WK58Ps4V.js → notifications-section-A6faaEDe.js} +1 -1
  99. package/web/dist/assets/{open-in-menu-CqNkccJr.js → open-in-menu-VhRao_Jk.js} +1 -1
  100. package/web/dist/assets/{preview-pane-connected-BWcpAxTc.js → preview-pane-connected-gDJgoJyx.js} +1 -1
  101. package/web/dist/assets/{project-location-CspXXtNm.js → project-location-DATkk1gA.js} +1 -1
  102. package/web/dist/assets/{project-router-BifLGgRR.js → project-router-B9FTk0rB.js} +1 -1
  103. package/web/dist/assets/{projects-section-DOMgdG7r.js → projects-section-Bo9w_srQ.js} +1 -1
  104. package/web/dist/assets/{prompt-templates-section-DQK4c-Yk.js → prompt-templates-section-CA-GCYAc.js} +1 -1
  105. package/web/dist/assets/{queries-D0v1z40Y.js → queries-hzlF788B.js} +1 -1
  106. package/web/dist/assets/{reference-chip-DXFYkdLT.js → reference-chip-Dgo5aKeb.js} +1 -1
  107. package/web/dist/assets/{remote-settings-notice-B8a6aNBw.js → remote-settings-notice-CEmfxzke.js} +1 -1
  108. package/web/dist/assets/{repo-git-CL-s-Ml4.js → repo-git-CslX0xWz.js} +1 -1
  109. package/web/dist/assets/{report-reader-CYzRGRF-.js → report-reader-C70mj6S6.js} +1 -1
  110. package/web/dist/assets/{report-selection-CDlncYKI.js → report-selection-C-2DJb8L.js} +1 -1
  111. package/web/dist/assets/{reports-BF3eEnvh.js → reports-C7BHDLLE.js} +1 -1
  112. package/web/dist/assets/{resources-section-Bvw0anG8.js → resources-section-DEczWFga.js} +1 -1
  113. package/web/dist/assets/{review-panel-DJivUXQc.js → review-panel-XIuCglMi.js} +1 -1
  114. package/web/dist/assets/{run-detail-refresh-DkwIHh-c.js → run-detail-refresh-Ye2jcT7n.js} +1 -1
  115. package/web/dist/assets/{run-header-B1lhW0fF.js → run-header-gQnKz92B.js} +1 -1
  116. package/web/dist/assets/{select-ttlXTWN-.js → select-VMOFW67M.js} +1 -1
  117. package/web/dist/assets/{session-context-section-DhNuv3zS.js → session-context-section-Dh1KSiWq.js} +1 -1
  118. package/web/dist/assets/{settings-agent-picker-B-a6cPMj.js → settings-agent-picker-QEhmK2uD.js} +1 -1
  119. package/web/dist/assets/{settings-shell-kDDr8_Jd.js → settings-shell-DTu-GViz.js} +1 -1
  120. package/web/dist/assets/{sidebar-section-BP2FtFmc.js → sidebar-section-CIKjtt38.js} +1 -1
  121. package/web/dist/assets/{skills-CWozz5P0.js → skills-CdtSD18y.js} +1 -1
  122. package/web/dist/assets/{tab-link-DAxoMsUp.js → tab-link-BlZX-nKP.js} +1 -1
  123. package/web/dist/assets/{task-changes-CQEaFA9P.js → task-changes-CHlKuW-X.js} +1 -1
  124. package/web/dist/assets/{task-commits-BHYH-E_r.js → task-commits-nF4skyb7.js} +1 -1
  125. package/web/dist/assets/{task-file-scope-CgfssVeu.js → task-file-scope-MfwFcMP-.js} +1 -1
  126. package/web/dist/assets/{task-files-CD4LqOtt.js → task-files-DtFAAilW.js} +1 -1
  127. package/web/dist/assets/{task-github-item-BBwSUB9p.js → task-github-item-7NfAP9Cc.js} +1 -1
  128. package/web/dist/assets/{task-groups-BdayPxX3.js → task-groups-DD46syqv.js} +1 -1
  129. package/web/dist/assets/{task-thread-BPS4pya8.js → task-thread-BythIUIj.js} +1 -1
  130. package/web/dist/assets/{tasks-table-B9Hu3rBi.js → tasks-table-D17JLOhe.js} +1 -1
  131. package/web/dist/assets/{thread-state-22G0OlcH.js → thread-state-D9Q1UDJa.js} +1 -1
  132. package/web/dist/assets/toaster-fWyfEGWF.js +4 -0
  133. package/web/dist/assets/{use-hand-to-agent-state-BdkYBCvG.js → use-hand-to-agent-state-D9nrW-0i.js} +1 -1
  134. package/web/dist/assets/{workflows-C9gvUvUy.js → workflows-CNc4Vs8I.js} +1 -1
  135. package/web/dist/assets/{workspace-tools-Cg0RKomm.js → workspace-tools-C5y6_0Cv.js} +1 -1
  136. package/web/dist/assets/{worktrees-section-DHiLUz-l.js → worktrees-section-CJCdE5Yx.js} +1 -1
  137. package/web/dist/index.html +13 -13
  138. package/web/dist/assets/attention-Dt-QhJ3p.js +0 -1
  139. package/web/dist/assets/toaster-DMfiAEnw.js +0 -4
@@ -158,29 +158,6 @@ export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse,
158
158
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
159
159
  "/workspace/activity": {
160
160
  $get: {
161
- output: {
162
- error: string;
163
- code?: "invalid_input" | undefined;
164
- };
165
- outputFormat: "json";
166
- status: 400;
167
- input: {
168
- query: {
169
- project?: string | undefined;
170
- };
171
- };
172
- } | {
173
- output: {
174
- error: string;
175
- };
176
- outputFormat: "json";
177
- status: 404 | 409 | 503;
178
- input: {
179
- query: {
180
- project?: string | undefined;
181
- };
182
- };
183
- } | {
184
161
  output: {
185
162
  generatedAt: string;
186
163
  projects: {
@@ -431,11 +408,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
431
408
  project?: string | undefined;
432
409
  };
433
410
  };
434
- };
435
- };
436
- }, "/"> | import("hono/types").MergeSchemaPath<{
437
- "/fs/browse": {
438
- $get: {
411
+ } | {
439
412
  output: {
440
413
  error: string;
441
414
  code?: "invalid_input" | undefined;
@@ -444,8 +417,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
444
417
  status: 400;
445
418
  input: {
446
419
  query: {
447
- path?: string | undefined;
448
- showHidden?: string | undefined;
420
+ project?: string | undefined;
449
421
  };
450
422
  };
451
423
  } | {
@@ -453,7 +425,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
453
425
  error: string;
454
426
  };
455
427
  outputFormat: "json";
456
- status: 400 | 403 | 404;
428
+ status: 404 | 409 | 503;
429
+ input: {
430
+ query: {
431
+ project?: string | undefined;
432
+ };
433
+ };
434
+ };
435
+ };
436
+ }, "/"> | import("hono/types").MergeSchemaPath<{
437
+ "/fs/browse": {
438
+ $get: {
439
+ output: {
440
+ error: string;
441
+ code?: "invalid_input" | undefined;
442
+ };
443
+ outputFormat: "json";
444
+ status: 400;
457
445
  input: {
458
446
  query: {
459
447
  path?: string | undefined;
@@ -479,20 +467,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
479
467
  showHidden?: string | undefined;
480
468
  };
481
469
  };
470
+ } | {
471
+ output: {
472
+ error: string;
473
+ };
474
+ outputFormat: "json";
475
+ status: 400 | 403 | 404;
476
+ input: {
477
+ query: {
478
+ path?: string | undefined;
479
+ showHidden?: string | undefined;
480
+ };
481
+ };
482
482
  };
483
483
  };
484
484
  }, "/"> | import("hono/types").MergeSchemaPath<{
485
485
  "/workspace/events": {
486
486
  $get: {
487
- output: {};
488
- outputFormat: string;
489
- status: import("hono/utils/http-status").StatusCode;
490
- input: {
491
- query: {
492
- runs?: "summary" | undefined;
493
- };
494
- };
495
- } | {
496
487
  output: {
497
488
  error: string;
498
489
  code?: "invalid_input" | undefined;
@@ -504,6 +495,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
504
495
  runs?: "summary" | undefined;
505
496
  };
506
497
  };
498
+ } | {
499
+ output: {};
500
+ outputFormat: string;
501
+ status: import("hono/utils/http-status").StatusCode;
502
+ input: {
503
+ query: {
504
+ runs?: "summary" | undefined;
505
+ };
506
+ };
507
507
  };
508
508
  };
509
509
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -528,7 +528,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
528
528
  forge: {
529
529
  available?: boolean | undefined;
530
530
  reason?: string;
531
- kind: "github";
531
+ kind: string;
532
532
  } | null;
533
533
  capabilities: {
534
534
  [x: string]: boolean | undefined;
@@ -580,6 +580,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
580
580
  profileId?: string | undefined;
581
581
  };
582
582
  };
583
+ } | {
584
+ output: {
585
+ error: string;
586
+ };
587
+ outputFormat: "json";
588
+ status: 400;
589
+ input: {
590
+ query: {
591
+ runner: string | string[];
592
+ profileId?: string | undefined;
593
+ };
594
+ };
583
595
  } | {
584
596
  output: {
585
597
  runner: string;
@@ -601,18 +613,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
601
613
  profileId?: string | undefined;
602
614
  };
603
615
  };
604
- } | {
605
- output: {
606
- error: string;
607
- };
608
- outputFormat: "json";
609
- status: 400;
610
- input: {
611
- query: {
612
- runner: string | string[];
613
- profileId?: string | undefined;
614
- };
615
- };
616
616
  };
617
617
  };
618
618
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -969,34 +969,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
969
969
  "/workspace/config": {
970
970
  $put: {
971
971
  output: {
972
- browseRoot: string;
973
- projectsDir: string;
974
- archiveOnMerge: boolean | null;
975
- effectiveArchiveOnMerge: boolean;
976
- archiveOnMergeSource: "default" | "environment" | "global";
977
- composerDefaults: {
978
- autonomous: boolean | null;
979
- worktree: boolean | null;
980
- inheritedAutonomous: "source-dependent" | boolean;
981
- inheritedWorktree: boolean;
982
- };
983
- resources: {
984
- maxParallel: number;
985
- maxMonitoringSessions: number;
986
- monitoringWakeIntervalMinutes: number | null;
987
- autoResumeOnUsageLimit: boolean;
988
- memoryLimitMb: number | null;
989
- worktreeRetentionDefault: number;
990
- };
991
- agentDefaults: {
992
- runner?: string | undefined;
993
- models?: {
994
- [x: string]: string | undefined;
995
- } | undefined;
996
- };
972
+ error: string;
997
973
  };
998
974
  outputFormat: "json";
999
- status: import("hono/utils/http-status").ContentfulStatusCode;
975
+ status: 400;
1000
976
  input: {
1001
977
  json: {
1002
978
  browseRoot?: string | undefined;
@@ -1025,7 +1001,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1025
1001
  error: string;
1026
1002
  };
1027
1003
  outputFormat: "json";
1028
- status: 400;
1004
+ status: 500;
1029
1005
  input: {
1030
1006
  json: {
1031
1007
  browseRoot?: string | undefined;
@@ -1051,10 +1027,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1051
1027
  };
1052
1028
  } | {
1053
1029
  output: {
1054
- error: string;
1030
+ browseRoot: string;
1031
+ projectsDir: string;
1032
+ archiveOnMerge: boolean | null;
1033
+ effectiveArchiveOnMerge: boolean;
1034
+ archiveOnMergeSource: "default" | "environment" | "global";
1035
+ composerDefaults: {
1036
+ autonomous: boolean | null;
1037
+ worktree: boolean | null;
1038
+ inheritedAutonomous: "source-dependent" | boolean;
1039
+ inheritedWorktree: boolean;
1040
+ };
1041
+ resources: {
1042
+ maxParallel: number;
1043
+ maxMonitoringSessions: number;
1044
+ monitoringWakeIntervalMinutes: number | null;
1045
+ autoResumeOnUsageLimit: boolean;
1046
+ memoryLimitMb: number | null;
1047
+ worktreeRetentionDefault: number;
1048
+ };
1049
+ agentDefaults: {
1050
+ runner?: string | undefined;
1051
+ models?: {
1052
+ [x: string]: string | undefined;
1053
+ } | undefined;
1054
+ };
1055
1055
  };
1056
1056
  outputFormat: "json";
1057
- status: 500;
1057
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1058
1058
  input: {
1059
1059
  json: {
1060
1060
  browseRoot?: string | undefined;
@@ -1126,41 +1126,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1126
1126
  "/workspace/ui-state": {
1127
1127
  $put: {
1128
1128
  output: {
1129
- [x: string]: import("hono/utils/types").JSONValue;
1130
- sidebar?: {
1131
- [x: string]: import("hono/utils/types").JSONValue;
1132
- collapsed?: {
1133
- [x: string]: boolean;
1134
- } | undefined;
1135
- projectOrder?: string[] | undefined;
1136
- } | undefined;
1137
- dismissedProviderAuthFailures?: {
1138
- [x: string]: string | undefined;
1139
- } | undefined;
1140
- appearance?: {
1141
- accent?: "cezarion" | "lime" | "violet" | undefined;
1142
- density?: "comfortable" | "compact" | "ultra" | undefined;
1143
- width?: "narrow" | "wide" | undefined;
1144
- } | undefined;
1145
- notifications?: {
1146
- [x: string]: import("hono/utils/types").JSONValue;
1147
- enabled?: boolean | undefined;
1148
- } | undefined;
1149
- taskTable?: {
1150
- [x: string]: import("hono/utils/types").JSONValue;
1151
- expandedColumns?: {
1152
- [x: string]: boolean;
1153
- } | undefined;
1154
- } | undefined;
1155
- lastLocation?: {
1156
- projectId: string;
1157
- pathname: string;
1158
- search?: string | undefined;
1159
- hash?: string | undefined;
1160
- } | undefined;
1129
+ error: string;
1161
1130
  };
1162
1131
  outputFormat: "json";
1163
- status: import("hono/utils/http-status").ContentfulStatusCode;
1132
+ status: 500;
1164
1133
  input: {
1165
1134
  json: {
1166
1135
  [x: string]: unknown;
@@ -1193,10 +1162,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1193
1162
  };
1194
1163
  } | {
1195
1164
  output: {
1196
- error: string;
1165
+ [x: string]: import("hono/utils/types").JSONValue;
1166
+ sidebar?: {
1167
+ [x: string]: import("hono/utils/types").JSONValue;
1168
+ collapsed?: {
1169
+ [x: string]: boolean;
1170
+ } | undefined;
1171
+ projectOrder?: string[] | undefined;
1172
+ } | undefined;
1173
+ dismissedProviderAuthFailures?: {
1174
+ [x: string]: string | undefined;
1175
+ } | undefined;
1176
+ appearance?: {
1177
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1178
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1179
+ width?: "narrow" | "wide" | undefined;
1180
+ } | undefined;
1181
+ notifications?: {
1182
+ [x: string]: import("hono/utils/types").JSONValue;
1183
+ enabled?: boolean | undefined;
1184
+ } | undefined;
1185
+ taskTable?: {
1186
+ [x: string]: import("hono/utils/types").JSONValue;
1187
+ expandedColumns?: {
1188
+ [x: string]: boolean;
1189
+ } | undefined;
1190
+ } | undefined;
1191
+ lastLocation?: {
1192
+ projectId: string;
1193
+ pathname: string;
1194
+ search?: string | undefined;
1195
+ hash?: string | undefined;
1196
+ } | undefined;
1197
1197
  };
1198
1198
  outputFormat: "json";
1199
- status: 500;
1199
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1200
1200
  input: {
1201
1201
  json: {
1202
1202
  [x: string]: unknown;
@@ -1284,18 +1284,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1284
1284
  };
1285
1285
  } | {
1286
1286
  output: {
1287
- providers: {
1288
- requiresAccountHome?: boolean | undefined;
1289
- provider: string;
1290
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1291
- enabled?: boolean | undefined;
1292
- hint?: string | undefined;
1293
- authFailureId?: string | undefined;
1294
- profileId?: string | undefined;
1295
- }[];
1287
+ error: string;
1296
1288
  };
1297
1289
  outputFormat: "json";
1298
- status: import("hono/utils/http-status").ContentfulStatusCode;
1290
+ status: 500;
1299
1291
  input: {
1300
1292
  param: {
1301
1293
  provider: string;
@@ -1307,10 +1299,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1307
1299
  };
1308
1300
  } | {
1309
1301
  output: {
1310
- error: string;
1302
+ providers: {
1303
+ requiresAccountHome?: boolean | undefined;
1304
+ provider: string;
1305
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1306
+ enabled?: boolean | undefined;
1307
+ hint?: string | undefined;
1308
+ authFailureId?: string | undefined;
1309
+ profileId?: string | undefined;
1310
+ }[];
1311
1311
  };
1312
1312
  outputFormat: "json";
1313
- status: 500;
1313
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1314
1314
  input: {
1315
1315
  param: {
1316
1316
  provider: string;
@@ -1342,18 +1342,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1342
1342
  };
1343
1343
  } | {
1344
1344
  output: {
1345
- providers: {
1346
- requiresAccountHome?: boolean | undefined;
1347
- provider: string;
1348
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1349
- enabled?: boolean | undefined;
1350
- hint?: string | undefined;
1351
- authFailureId?: string | undefined;
1352
- profileId?: string | undefined;
1353
- }[];
1345
+ error: string;
1354
1346
  };
1355
1347
  outputFormat: "json";
1356
- status: import("hono/utils/http-status").ContentfulStatusCode;
1348
+ status: 409;
1357
1349
  input: {
1358
1350
  param: {
1359
1351
  provider: string;
@@ -1365,10 +1357,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1365
1357
  };
1366
1358
  } | {
1367
1359
  output: {
1368
- error: string;
1360
+ providers: {
1361
+ requiresAccountHome?: boolean | undefined;
1362
+ provider: string;
1363
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1364
+ enabled?: boolean | undefined;
1365
+ hint?: string | undefined;
1366
+ authFailureId?: string | undefined;
1367
+ profileId?: string | undefined;
1368
+ }[];
1369
1369
  };
1370
1370
  outputFormat: "json";
1371
- status: 409;
1371
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1372
1372
  input: {
1373
1373
  param: {
1374
1374
  provider: string;
@@ -1387,7 +1387,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1387
1387
  error: string;
1388
1388
  };
1389
1389
  outputFormat: "json";
1390
- status: 409;
1390
+ status: 400;
1391
1391
  input: {
1392
1392
  json: {
1393
1393
  provider: string;
@@ -1399,7 +1399,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1399
1399
  error: string;
1400
1400
  };
1401
1401
  outputFormat: "json";
1402
- status: 400;
1402
+ status: 409;
1403
1403
  input: {
1404
1404
  json: {
1405
1405
  provider: string;
@@ -1454,7 +1454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1454
1454
  error: string;
1455
1455
  };
1456
1456
  outputFormat: "json";
1457
- status: 409;
1457
+ status: 400;
1458
1458
  input: {
1459
1459
  json: {
1460
1460
  provider: string;
@@ -1466,7 +1466,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1466
1466
  error: string;
1467
1467
  };
1468
1468
  outputFormat: "json";
1469
- status: 400;
1469
+ status: 409;
1470
1470
  input: {
1471
1471
  json: {
1472
1472
  provider: string;
@@ -1709,10 +1709,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1709
1709
  "/workspace/agent-profiles": {
1710
1710
  $post: {
1711
1711
  output: {
1712
- error: string;
1712
+ profile: {
1713
+ id: string;
1714
+ provider: string;
1715
+ label: string;
1716
+ configDir?: string | undefined;
1717
+ path?: string | undefined;
1718
+ exists: boolean;
1719
+ looksValid: boolean;
1720
+ isDefault: boolean;
1721
+ status?: {
1722
+ requiresAccountHome?: boolean | undefined;
1723
+ provider: string;
1724
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1725
+ enabled?: boolean | undefined;
1726
+ hint?: string | undefined;
1727
+ authFailureId?: string | undefined;
1728
+ profileId?: string | undefined;
1729
+ } | undefined;
1730
+ };
1713
1731
  };
1714
1732
  outputFormat: "json";
1715
- status: 409;
1733
+ status: 201;
1716
1734
  input: {
1717
1735
  json: {
1718
1736
  provider: string;
@@ -1738,7 +1756,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1738
1756
  error: string;
1739
1757
  };
1740
1758
  outputFormat: "json";
1741
- status: 500;
1759
+ status: 409;
1742
1760
  input: {
1743
1761
  json: {
1744
1762
  provider: string;
@@ -1748,28 +1766,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1748
1766
  };
1749
1767
  } | {
1750
1768
  output: {
1751
- profile: {
1752
- id: string;
1753
- provider: string;
1754
- label: string;
1755
- configDir?: string | undefined;
1756
- path?: string | undefined;
1757
- exists: boolean;
1758
- looksValid: boolean;
1759
- isDefault: boolean;
1760
- status?: {
1761
- requiresAccountHome?: boolean | undefined;
1762
- provider: string;
1763
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1764
- enabled?: boolean | undefined;
1765
- hint?: string | undefined;
1766
- authFailureId?: string | undefined;
1767
- profileId?: string | undefined;
1768
- } | undefined;
1769
- };
1769
+ error: string;
1770
1770
  };
1771
1771
  outputFormat: "json";
1772
- status: 201;
1772
+ status: 500;
1773
1773
  input: {
1774
1774
  json: {
1775
1775
  provider: string;
@@ -1803,7 +1803,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1803
1803
  error: string;
1804
1804
  };
1805
1805
  outputFormat: "json";
1806
- status: 409;
1806
+ status: 400;
1807
1807
  input: {
1808
1808
  param: {
1809
1809
  id: string;
@@ -1819,7 +1819,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1819
1819
  error: string;
1820
1820
  };
1821
1821
  outputFormat: "json";
1822
- status: 400;
1822
+ status: 404;
1823
1823
  input: {
1824
1824
  param: {
1825
1825
  id: string;
@@ -1835,7 +1835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1835
1835
  error: string;
1836
1836
  };
1837
1837
  outputFormat: "json";
1838
- status: 404;
1838
+ status: 409;
1839
1839
  input: {
1840
1840
  param: {
1841
1841
  id: string;
@@ -1963,7 +1963,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1963
1963
  error: string;
1964
1964
  };
1965
1965
  outputFormat: "json";
1966
- status: 404;
1966
+ status: 400;
1967
1967
  input: {
1968
1968
  json: {
1969
1969
  projectId: string;
@@ -1976,7 +1976,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1976
1976
  error: string;
1977
1977
  };
1978
1978
  outputFormat: "json";
1979
- status: 400;
1979
+ status: 404;
1980
1980
  input: {
1981
1981
  json: {
1982
1982
  projectId: string;
@@ -2040,7 +2040,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2040
2040
  error: string;
2041
2041
  };
2042
2042
  outputFormat: "json";
2043
- status: 409;
2043
+ status: 404;
2044
2044
  input: {
2045
2045
  param: {
2046
2046
  id: string;
@@ -2051,7 +2051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2051
2051
  error: string;
2052
2052
  };
2053
2053
  outputFormat: "json";
2054
- status: 500;
2054
+ status: 409;
2055
2055
  input: {
2056
2056
  param: {
2057
2057
  id: string;
@@ -2062,7 +2062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2062
2062
  error: string;
2063
2063
  };
2064
2064
  outputFormat: "json";
2065
- status: 404;
2065
+ status: 500;
2066
2066
  input: {
2067
2067
  param: {
2068
2068
  id: string;
@@ -2095,7 +2095,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2095
2095
  source: "checkout" | "local";
2096
2096
  status: "missing" | "not-git" | "ok";
2097
2097
  branch?: string | undefined;
2098
- forge?: "github" | undefined;
2098
+ forge?: string | undefined;
2099
2099
  repoUrl?: string | undefined;
2100
2100
  maxParallel?: number | undefined;
2101
2101
  tags?: string[] | undefined;
@@ -2126,6 +2126,86 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2126
2126
  } & {
2127
2127
  "/projects": {
2128
2128
  $post: {
2129
+ output: {
2130
+ project: {
2131
+ id: string;
2132
+ name: string;
2133
+ root: string;
2134
+ addedAt: string;
2135
+ lastOpenedAt: string;
2136
+ source: "checkout" | "local";
2137
+ status: "missing" | "not-git" | "ok";
2138
+ branch?: string | undefined;
2139
+ forge?: string | undefined;
2140
+ repoUrl?: string | undefined;
2141
+ maxParallel?: number | undefined;
2142
+ tags?: string[] | undefined;
2143
+ webhook?: {
2144
+ url: string;
2145
+ tokenSet: boolean;
2146
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2147
+ } | undefined;
2148
+ webhooks?: {
2149
+ id: string;
2150
+ name: string;
2151
+ description?: string | undefined;
2152
+ url: string;
2153
+ tokenSet: boolean;
2154
+ tasks: boolean;
2155
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2156
+ agent: boolean;
2157
+ }[] | undefined;
2158
+ };
2159
+ error?: string | undefined;
2160
+ };
2161
+ outputFormat: "json";
2162
+ status: 200;
2163
+ input: {
2164
+ json: {
2165
+ root: string;
2166
+ };
2167
+ };
2168
+ } | {
2169
+ output: {
2170
+ project: {
2171
+ id: string;
2172
+ name: string;
2173
+ root: string;
2174
+ addedAt: string;
2175
+ lastOpenedAt: string;
2176
+ source: "checkout" | "local";
2177
+ status: "missing" | "not-git" | "ok";
2178
+ branch?: string | undefined;
2179
+ forge?: string | undefined;
2180
+ repoUrl?: string | undefined;
2181
+ maxParallel?: number | undefined;
2182
+ tags?: string[] | undefined;
2183
+ webhook?: {
2184
+ url: string;
2185
+ tokenSet: boolean;
2186
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2187
+ } | undefined;
2188
+ webhooks?: {
2189
+ id: string;
2190
+ name: string;
2191
+ description?: string | undefined;
2192
+ url: string;
2193
+ tokenSet: boolean;
2194
+ tasks: boolean;
2195
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2196
+ agent: boolean;
2197
+ }[] | undefined;
2198
+ };
2199
+ error: string;
2200
+ };
2201
+ outputFormat: "json";
2202
+ status: 409;
2203
+ input: {
2204
+ json: {
2205
+ root: string;
2206
+ };
2207
+ };
2208
+ } | {
2129
2209
  output: {
2130
2210
  error: string;
2131
2211
  };
@@ -2136,6 +2216,101 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2136
2216
  root: string;
2137
2217
  };
2138
2218
  };
2219
+ };
2220
+ };
2221
+ } & {
2222
+ "/projects/:projectId": {
2223
+ $delete: {
2224
+ output: {
2225
+ error: string;
2226
+ };
2227
+ outputFormat: "json";
2228
+ status: 404;
2229
+ input: {
2230
+ param: {
2231
+ projectId: string;
2232
+ };
2233
+ };
2234
+ } | {
2235
+ output: {
2236
+ error: string;
2237
+ };
2238
+ outputFormat: "json";
2239
+ status: 409;
2240
+ input: {
2241
+ param: {
2242
+ projectId: string;
2243
+ };
2244
+ };
2245
+ } | {
2246
+ output: {
2247
+ error: string;
2248
+ };
2249
+ outputFormat: "json";
2250
+ status: 500;
2251
+ input: {
2252
+ param: {
2253
+ projectId: string;
2254
+ };
2255
+ };
2256
+ } | {
2257
+ output: {
2258
+ removed: true;
2259
+ id: string;
2260
+ };
2261
+ outputFormat: "json";
2262
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2263
+ input: {
2264
+ param: {
2265
+ projectId: string;
2266
+ };
2267
+ };
2268
+ };
2269
+ };
2270
+ } & {
2271
+ "/projects/:projectId": {
2272
+ $patch: {
2273
+ output: {
2274
+ error: string;
2275
+ };
2276
+ outputFormat: "json";
2277
+ status: 404;
2278
+ input: {
2279
+ json: {
2280
+ maxParallel?: number | null | undefined;
2281
+ tags?: string[] | null | undefined;
2282
+ webhook?: {
2283
+ url: string;
2284
+ token?: string | undefined;
2285
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2286
+ } | null | undefined;
2287
+ };
2288
+ } & {
2289
+ param: {
2290
+ projectId: string;
2291
+ };
2292
+ };
2293
+ } | {
2294
+ output: {
2295
+ error: string;
2296
+ };
2297
+ outputFormat: "json";
2298
+ status: 500;
2299
+ input: {
2300
+ json: {
2301
+ maxParallel?: number | null | undefined;
2302
+ tags?: string[] | null | undefined;
2303
+ webhook?: {
2304
+ url: string;
2305
+ token?: string | undefined;
2306
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2307
+ } | null | undefined;
2308
+ };
2309
+ } & {
2310
+ param: {
2311
+ projectId: string;
2312
+ };
2313
+ };
2139
2314
  } | {
2140
2315
  output: {
2141
2316
  project: {
@@ -2147,182 +2322,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2147
2322
  source: "checkout" | "local";
2148
2323
  status: "missing" | "not-git" | "ok";
2149
2324
  branch?: string | undefined;
2150
- forge?: "github" | undefined;
2151
- repoUrl?: string | undefined;
2152
- maxParallel?: number | undefined;
2153
- tags?: string[] | undefined;
2154
- webhook?: {
2155
- url: string;
2156
- tokenSet: boolean;
2157
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2158
- } | undefined;
2159
- webhooks?: {
2160
- id: string;
2161
- name: string;
2162
- description?: string | undefined;
2163
- url: string;
2164
- tokenSet: boolean;
2165
- tasks: boolean;
2166
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2167
- agent: boolean;
2168
- }[] | undefined;
2169
- };
2170
- error: string;
2171
- };
2172
- outputFormat: "json";
2173
- status: 409;
2174
- input: {
2175
- json: {
2176
- root: string;
2177
- };
2178
- };
2179
- } | {
2180
- output: {
2181
- project: {
2182
- id: string;
2183
- name: string;
2184
- root: string;
2185
- addedAt: string;
2186
- lastOpenedAt: string;
2187
- source: "checkout" | "local";
2188
- status: "missing" | "not-git" | "ok";
2189
- branch?: string | undefined;
2190
- forge?: "github" | undefined;
2191
- repoUrl?: string | undefined;
2192
- maxParallel?: number | undefined;
2193
- tags?: string[] | undefined;
2194
- webhook?: {
2195
- url: string;
2196
- tokenSet: boolean;
2197
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2198
- } | undefined;
2199
- webhooks?: {
2200
- id: string;
2201
- name: string;
2202
- description?: string | undefined;
2203
- url: string;
2204
- tokenSet: boolean;
2205
- tasks: boolean;
2206
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2207
- agent: boolean;
2208
- }[] | undefined;
2209
- };
2210
- error?: string | undefined;
2211
- };
2212
- outputFormat: "json";
2213
- status: 200;
2214
- input: {
2215
- json: {
2216
- root: string;
2217
- };
2218
- };
2219
- };
2220
- };
2221
- } & {
2222
- "/projects/:projectId": {
2223
- $delete: {
2224
- output: {
2225
- error: string;
2226
- };
2227
- outputFormat: "json";
2228
- status: 404;
2229
- input: {
2230
- param: {
2231
- projectId: string;
2232
- };
2233
- };
2234
- } | {
2235
- output: {
2236
- error: string;
2237
- };
2238
- outputFormat: "json";
2239
- status: 409;
2240
- input: {
2241
- param: {
2242
- projectId: string;
2243
- };
2244
- };
2245
- } | {
2246
- output: {
2247
- error: string;
2248
- };
2249
- outputFormat: "json";
2250
- status: 500;
2251
- input: {
2252
- param: {
2253
- projectId: string;
2254
- };
2255
- };
2256
- } | {
2257
- output: {
2258
- removed: true;
2259
- id: string;
2260
- };
2261
- outputFormat: "json";
2262
- status: import("hono/utils/http-status").ContentfulStatusCode;
2263
- input: {
2264
- param: {
2265
- projectId: string;
2266
- };
2267
- };
2268
- };
2269
- };
2270
- } & {
2271
- "/projects/:projectId": {
2272
- $patch: {
2273
- output: {
2274
- error: string;
2275
- };
2276
- outputFormat: "json";
2277
- status: 404;
2278
- input: {
2279
- json: {
2280
- maxParallel?: number | null | undefined;
2281
- tags?: string[] | null | undefined;
2282
- webhook?: {
2283
- url: string;
2284
- token?: string | undefined;
2285
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2286
- } | null | undefined;
2287
- };
2288
- } & {
2289
- param: {
2290
- projectId: string;
2291
- };
2292
- };
2293
- } | {
2294
- output: {
2295
- error: string;
2296
- };
2297
- outputFormat: "json";
2298
- status: 500;
2299
- input: {
2300
- json: {
2301
- maxParallel?: number | null | undefined;
2302
- tags?: string[] | null | undefined;
2303
- webhook?: {
2304
- url: string;
2305
- token?: string | undefined;
2306
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2307
- } | null | undefined;
2308
- };
2309
- } & {
2310
- param: {
2311
- projectId: string;
2312
- };
2313
- };
2314
- } | {
2315
- output: {
2316
- project: {
2317
- id: string;
2318
- name: string;
2319
- root: string;
2320
- addedAt: string;
2321
- lastOpenedAt: string;
2322
- source: "checkout" | "local";
2323
- status: "missing" | "not-git" | "ok";
2324
- branch?: string | undefined;
2325
- forge?: "github" | undefined;
2325
+ forge?: string | undefined;
2326
2326
  repoUrl?: string | undefined;
2327
2327
  maxParallel?: number | undefined;
2328
2328
  tags?: string[] | undefined;
@@ -2369,7 +2369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2369
2369
  error: string;
2370
2370
  };
2371
2371
  outputFormat: "json";
2372
- status: 404;
2372
+ status: 400;
2373
2373
  input: {
2374
2374
  param: {
2375
2375
  projectId: string;
@@ -2380,7 +2380,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2380
2380
  error: string;
2381
2381
  };
2382
2382
  outputFormat: "json";
2383
- status: 400;
2383
+ status: 404;
2384
2384
  input: {
2385
2385
  param: {
2386
2386
  projectId: string;
@@ -2405,27 +2405,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2405
2405
  } & {
2406
2406
  "/projects/:projectId/webhooks": {
2407
2407
  $post: {
2408
- output: {
2409
- error: string;
2410
- };
2411
- outputFormat: "json";
2412
- status: 400 | 404 | 409 | 500;
2413
- input: {
2414
- json: {
2415
- name: string;
2416
- description?: string | undefined;
2417
- url: string;
2418
- token?: string | undefined;
2419
- tasks?: boolean | undefined;
2420
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2421
- agent?: boolean | undefined;
2422
- };
2423
- } & {
2424
- param: {
2425
- projectId: string;
2426
- };
2427
- };
2428
- } | {
2429
2408
  output: {
2430
2409
  project: {
2431
2410
  id: string;
@@ -2436,7 +2415,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2436
2415
  source: "checkout" | "local";
2437
2416
  status: "missing" | "not-git" | "ok";
2438
2417
  branch?: string | undefined;
2439
- forge?: "github" | undefined;
2418
+ forge?: string | undefined;
2440
2419
  repoUrl?: string | undefined;
2441
2420
  maxParallel?: number | undefined;
2442
2421
  tags?: string[] | undefined;
@@ -2484,6 +2463,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2484
2463
  projectId: string;
2485
2464
  };
2486
2465
  };
2466
+ } | {
2467
+ output: {
2468
+ error: string;
2469
+ };
2470
+ outputFormat: "json";
2471
+ status: 400 | 404 | 409 | 500;
2472
+ input: {
2473
+ json: {
2474
+ name: string;
2475
+ description?: string | undefined;
2476
+ url: string;
2477
+ token?: string | undefined;
2478
+ tasks?: boolean | undefined;
2479
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2480
+ agent?: boolean | undefined;
2481
+ };
2482
+ } & {
2483
+ param: {
2484
+ projectId: string;
2485
+ };
2486
+ };
2487
2487
  };
2488
2488
  };
2489
2489
  } & {
@@ -2522,7 +2522,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2522
2522
  source: "checkout" | "local";
2523
2523
  status: "missing" | "not-git" | "ok";
2524
2524
  branch?: string | undefined;
2525
- forge?: "github" | undefined;
2525
+ forge?: string | undefined;
2526
2526
  repoUrl?: string | undefined;
2527
2527
  maxParallel?: number | undefined;
2528
2528
  tags?: string[] | undefined;
@@ -2621,7 +2621,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2621
2621
  source: "checkout" | "local";
2622
2622
  status: "missing" | "not-git" | "ok";
2623
2623
  branch?: string | undefined;
2624
- forge?: "github" | undefined;
2624
+ forge?: string | undefined;
2625
2625
  repoUrl?: string | undefined;
2626
2626
  maxParallel?: number | undefined;
2627
2627
  tags?: string[] | undefined;
@@ -2681,13 +2681,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2681
2681
  };
2682
2682
  } | {
2683
2683
  output: {
2684
- ok: boolean;
2685
- status?: number | undefined;
2686
- error?: string | undefined;
2687
- dryRun?: boolean | undefined;
2684
+ error: string;
2688
2685
  };
2689
2686
  outputFormat: "json";
2690
- status: import("hono/utils/http-status").ContentfulStatusCode;
2687
+ status: 404;
2691
2688
  input: {
2692
2689
  param: {
2693
2690
  projectId: string;
@@ -2696,10 +2693,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2696
2693
  };
2697
2694
  } | {
2698
2695
  output: {
2699
- error: string;
2696
+ ok: boolean;
2697
+ status?: number | undefined;
2698
+ error?: string | undefined;
2699
+ dryRun?: boolean | undefined;
2700
2700
  };
2701
2701
  outputFormat: "json";
2702
- status: 404;
2702
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2703
2703
  input: {
2704
2704
  param: {
2705
2705
  projectId: string;
@@ -2755,7 +2755,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2755
2755
  source: "checkout" | "local";
2756
2756
  status: "missing" | "not-git" | "ok";
2757
2757
  branch?: string | undefined;
2758
- forge?: "github" | undefined;
2758
+ forge?: string | undefined;
2759
2759
  repoUrl?: string | undefined;
2760
2760
  maxParallel?: number | undefined;
2761
2761
  tags?: string[] | undefined;
@@ -2837,7 +2837,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2837
2837
  source: "checkout" | "local";
2838
2838
  status: "missing" | "not-git" | "ok";
2839
2839
  branch?: string | undefined;
2840
- forge?: "github" | undefined;
2840
+ forge?: string | undefined;
2841
2841
  repoUrl?: string | undefined;
2842
2842
  maxParallel?: number | undefined;
2843
2843
  tags?: string[] | undefined;
@@ -2940,11 +2940,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2940
2940
  "/runner-install/:runner": {
2941
2941
  $post: {
2942
2942
  output: {
2943
- error: string;
2944
- code?: "invalid_input" | undefined;
2943
+ supported: boolean;
2944
+ installedVersion: string | null;
2945
+ latestVersion: string | null;
2946
+ updateAvailable: boolean;
2947
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2948
+ error: string | null;
2945
2949
  };
2946
2950
  outputFormat: "json";
2947
- status: 400;
2951
+ status: 202;
2948
2952
  input: {
2949
2953
  param: {
2950
2954
  runner: string;
@@ -2956,15 +2960,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2956
2960
  };
2957
2961
  } | {
2958
2962
  output: {
2959
- supported: boolean;
2960
- installedVersion: string | null;
2961
- latestVersion: string | null;
2962
- updateAvailable: boolean;
2963
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2964
- error: string | null;
2963
+ error: string;
2964
+ code?: "invalid_input" | undefined;
2965
2965
  };
2966
2966
  outputFormat: "json";
2967
- status: 202;
2967
+ status: 400;
2968
2968
  input: {
2969
2969
  param: {
2970
2970
  runner: string;
@@ -3041,12 +3041,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3041
3041
  output: {
3042
3042
  generation: string;
3043
3043
  results: ({
3044
- projectId: string;
3045
- runId: string;
3046
- type: "error" | "reset";
3047
- status: 400 | 404 | 409 | 413 | 503;
3048
- error: string;
3049
- } | {
3050
3044
  projectId: string;
3051
3045
  runId: string;
3052
3046
  type: "batch";
@@ -3067,6 +3061,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3067
3061
  cursor: string;
3068
3062
  afterSeq: number;
3069
3063
  hasMore: boolean;
3064
+ } | {
3065
+ projectId: string;
3066
+ runId: string;
3067
+ type: "error" | "reset";
3068
+ status: 400 | 404 | 409 | 413 | 503;
3069
+ error: string;
3070
3070
  })[];
3071
3071
  };
3072
3072
  outputFormat: "json";
@@ -3321,18 +3321,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3321
3321
  }, "/"> | import("hono/types").MergeSchemaPath<{
3322
3322
  "/plan": {
3323
3323
  $post: {
3324
- output: {
3325
- error: string;
3326
- };
3327
- outputFormat: "json";
3328
- status: 400 | 404 | 409;
3329
- input: {
3330
- json: {
3331
- task: string;
3332
- agentProfile?: string | undefined;
3333
- };
3334
- };
3335
- } | {
3336
3324
  output: {
3337
3325
  name?: string;
3338
3326
  steps: {
@@ -3369,6 +3357,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3369
3357
  agentProfile?: string | undefined;
3370
3358
  };
3371
3359
  };
3360
+ } | {
3361
+ output: {
3362
+ error: string;
3363
+ };
3364
+ outputFormat: "json";
3365
+ status: 400 | 404 | 409;
3366
+ input: {
3367
+ json: {
3368
+ task: string;
3369
+ agentProfile?: string | undefined;
3370
+ };
3371
+ };
3372
3372
  };
3373
3373
  };
3374
3374
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3393,7 +3393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3393
3393
  error: string;
3394
3394
  };
3395
3395
  outputFormat: "json";
3396
- status: 409;
3396
+ status: 400;
3397
3397
  input: {
3398
3398
  json: {
3399
3399
  target: string;
@@ -3404,7 +3404,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3404
3404
  error: string;
3405
3405
  };
3406
3406
  outputFormat: "json";
3407
- status: 400;
3407
+ status: 409;
3408
3408
  input: {
3409
3409
  json: {
3410
3410
  target: string;
@@ -3471,42 +3471,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3471
3471
  "/ui-state": {
3472
3472
  $put: {
3473
3473
  output: {
3474
- [x: string]: import("hono/utils/types").JSONValue;
3475
- sidebarLimits?: {
3476
- overall?: number | null | undefined;
3477
- needsYou?: number | null | undefined;
3478
- finished?: number | null | undefined;
3479
- working?: number | null | undefined;
3480
- } | undefined;
3481
- lastTask?: {
3482
- source: "skill" | "workflow";
3483
- ref: string;
3484
- } | null | undefined;
3485
- recentSources?: {
3486
- source: "skill" | "workflow";
3487
- ref: string;
3488
- }[] | undefined;
3489
- lastWorktree?: boolean | undefined;
3490
- lastAutonomous?: boolean | undefined;
3491
- skillUsage?: {
3492
- [x: string]: number;
3493
- } | undefined;
3494
- runsView?: "list" | "table" | undefined;
3495
- githubView?: "issues" | "prs" | undefined;
3496
- appearance?: {
3497
- accent?: "cezarion" | "lime" | "violet" | undefined;
3498
- density?: "comfortable" | "compact" | "ultra" | undefined;
3499
- width?: "narrow" | "wide" | undefined;
3500
- } | undefined;
3501
- promptTemplates?: {
3502
- id: string;
3503
- label: string;
3504
- text: string;
3505
- skills?: string[] | undefined;
3506
- }[] | undefined;
3474
+ error: string;
3507
3475
  };
3508
3476
  outputFormat: "json";
3509
- status: import("hono/utils/http-status").ContentfulStatusCode;
3477
+ status: 500;
3510
3478
  input: {
3511
3479
  json: {
3512
3480
  [x: string]: unknown;
@@ -3544,10 +3512,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3544
3512
  };
3545
3513
  } | {
3546
3514
  output: {
3547
- error: string;
3515
+ [x: string]: import("hono/utils/types").JSONValue;
3516
+ sidebarLimits?: {
3517
+ overall?: number | null | undefined;
3518
+ needsYou?: number | null | undefined;
3519
+ finished?: number | null | undefined;
3520
+ working?: number | null | undefined;
3521
+ } | undefined;
3522
+ lastTask?: {
3523
+ source: "skill" | "workflow";
3524
+ ref: string;
3525
+ } | null | undefined;
3526
+ recentSources?: {
3527
+ source: "skill" | "workflow";
3528
+ ref: string;
3529
+ }[] | undefined;
3530
+ lastWorktree?: boolean | undefined;
3531
+ lastAutonomous?: boolean | undefined;
3532
+ skillUsage?: {
3533
+ [x: string]: number;
3534
+ } | undefined;
3535
+ runsView?: "list" | "table" | undefined;
3536
+ githubView?: "issues" | "prs" | undefined;
3537
+ appearance?: {
3538
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3539
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3540
+ width?: "narrow" | "wide" | undefined;
3541
+ } | undefined;
3542
+ promptTemplates?: {
3543
+ id: string;
3544
+ label: string;
3545
+ text: string;
3546
+ skills?: string[] | undefined;
3547
+ }[] | undefined;
3548
3548
  };
3549
3549
  outputFormat: "json";
3550
- status: 500;
3550
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3551
3551
  input: {
3552
3552
  json: {
3553
3553
  [x: string]: unknown;
@@ -3588,9 +3588,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3588
3588
  }, "/"> | import("hono/types").MergeSchemaPath<{
3589
3589
  "/runs/:id/events": {
3590
3590
  $get: {
3591
- output: {};
3592
- outputFormat: string;
3593
- status: import("hono/utils/http-status").StatusCode;
3591
+ output: {
3592
+ error: string;
3593
+ code?: "invalid_input" | undefined;
3594
+ };
3595
+ outputFormat: "json";
3596
+ status: 400;
3594
3597
  input: {
3595
3598
  param: {
3596
3599
  id: string;
@@ -3602,12 +3605,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3602
3605
  };
3603
3606
  };
3604
3607
  } | {
3605
- output: {
3606
- error: string;
3607
- code?: "invalid_input" | undefined;
3608
- };
3609
- outputFormat: "json";
3610
- status: 400;
3608
+ output: {};
3609
+ outputFormat: string;
3610
+ status: import("hono/utils/http-status").StatusCode;
3611
3611
  input: {
3612
3612
  param: {
3613
3613
  id: string;
@@ -3668,34 +3668,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3668
3668
  "/config": {
3669
3669
  $put: {
3670
3670
  output: {
3671
- archiveOnMerge: boolean | null;
3672
- effectiveArchiveOnMerge: boolean;
3673
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3674
- baseBranch: string | null;
3675
- defaultRunner: string;
3676
- systemPrompt: string | null;
3677
- defaultModels: {
3678
- [x: string]: string | undefined;
3679
- };
3680
- modelsLocked: boolean;
3681
- maxParallel: number;
3682
- memoryLimitMb: number | null;
3683
- worktreeRetention: number;
3684
- liveTitleUpdates: boolean | null;
3685
- reviewGate: boolean | null;
3686
- worktreeSetup: {
3687
- commands: string[];
3688
- timeoutSeconds: number;
3689
- } | null;
3690
- worktreeSetupIssue: string | null;
3691
- worktreeTeardown: {
3692
- commands: string[];
3693
- timeoutSeconds: number;
3694
- } | null;
3695
- worktreeTeardownIssue: string | null;
3671
+ error: string;
3696
3672
  };
3697
3673
  outputFormat: "json";
3698
- status: import("hono/utils/http-status").ContentfulStatusCode;
3674
+ status: 409;
3699
3675
  input: {
3700
3676
  json: {
3701
3677
  archiveOnMerge?: boolean | null | undefined;
@@ -3723,7 +3699,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3723
3699
  error: string;
3724
3700
  };
3725
3701
  outputFormat: "json";
3726
- status: 409;
3702
+ status: 500;
3727
3703
  input: {
3728
3704
  json: {
3729
3705
  archiveOnMerge?: boolean | null | undefined;
@@ -3748,10 +3724,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3748
3724
  };
3749
3725
  } | {
3750
3726
  output: {
3751
- error: string;
3727
+ archiveOnMerge: boolean | null;
3728
+ effectiveArchiveOnMerge: boolean;
3729
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3730
+ baseBranch: string | null;
3731
+ defaultRunner: string;
3732
+ systemPrompt: string | null;
3733
+ defaultModels: {
3734
+ [x: string]: string | undefined;
3735
+ };
3736
+ modelsLocked: boolean;
3737
+ maxParallel: number;
3738
+ memoryLimitMb: number | null;
3739
+ worktreeRetention: number;
3740
+ liveTitleUpdates: boolean | null;
3741
+ reviewGate: boolean | null;
3742
+ worktreeSetup: {
3743
+ commands: string[];
3744
+ timeoutSeconds: number;
3745
+ } | null;
3746
+ worktreeSetupIssue: string | null;
3747
+ worktreeTeardown: {
3748
+ commands: string[];
3749
+ timeoutSeconds: number;
3750
+ } | null;
3751
+ worktreeTeardownIssue: string | null;
3752
3752
  };
3753
3753
  outputFormat: "json";
3754
- status: 500;
3754
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3755
3755
  input: {
3756
3756
  json: {
3757
3757
  archiveOnMerge?: boolean | null | undefined;
@@ -3900,7 +3900,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3900
3900
  error: string;
3901
3901
  };
3902
3902
  outputFormat: "json";
3903
- status: 409;
3903
+ status: 400;
3904
3904
  input: {
3905
3905
  query: {
3906
3906
  q?: string | undefined;
@@ -3913,7 +3913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3913
3913
  error: string;
3914
3914
  };
3915
3915
  outputFormat: "json";
3916
- status: 400;
3916
+ status: 409;
3917
3917
  input: {
3918
3918
  query: {
3919
3919
  q?: string | undefined;
@@ -4018,10 +4018,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4018
4018
  };
4019
4019
  } | {
4020
4020
  output: {
4021
- error: string;
4021
+ runId: string;
4022
+ worktreeReclaimedAt: string;
4022
4023
  };
4023
4024
  outputFormat: "json";
4024
- status: 404 | 409;
4025
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4025
4026
  input: {
4026
4027
  param: {
4027
4028
  runId: string;
@@ -4033,11 +4034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4033
4034
  };
4034
4035
  } | {
4035
4036
  output: {
4036
- runId: string;
4037
- worktreeReclaimedAt: string;
4037
+ error: string;
4038
4038
  };
4039
4039
  outputFormat: "json";
4040
- status: import("hono/utils/http-status").ContentfulStatusCode;
4040
+ status: 404 | 409;
4041
4041
  input: {
4042
4042
  param: {
4043
4043
  runId: string;
@@ -4137,14 +4137,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4137
4137
  "/agent-config/:id": {
4138
4138
  $put: {
4139
4139
  output: {
4140
- id: string;
4141
- path: string;
4142
- exists: boolean;
4143
- content: string;
4144
- version: string | null;
4140
+ error: string;
4145
4141
  };
4146
4142
  outputFormat: "json";
4147
- status: import("hono/utils/http-status").ContentfulStatusCode;
4143
+ status: 404;
4148
4144
  input: {
4149
4145
  json: {
4150
4146
  content: string;
@@ -4157,10 +4153,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4157
4153
  };
4158
4154
  } | {
4159
4155
  output: {
4160
- error: string;
4156
+ id: string;
4157
+ path: string;
4158
+ exists: boolean;
4159
+ content: string;
4160
+ version: string | null;
4161
4161
  };
4162
4162
  outputFormat: "json";
4163
- status: 404;
4163
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4164
4164
  input: {
4165
4165
  json: {
4166
4166
  content: string;
@@ -4337,10 +4337,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4337
4337
  "/workflows": {
4338
4338
  $post: {
4339
4339
  output: {
4340
- error: string;
4340
+ path: string;
4341
+ name: string;
4341
4342
  };
4342
4343
  outputFormat: "json";
4343
- status: 400;
4344
+ status: 201;
4344
4345
  input: {
4345
4346
  json: {
4346
4347
  name: string;
@@ -4373,10 +4374,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4373
4374
  } | {
4374
4375
  output: {
4375
4376
  error: string;
4376
- exists: true;
4377
4377
  };
4378
4378
  outputFormat: "json";
4379
- status: 409;
4379
+ status: 400;
4380
4380
  input: {
4381
4381
  json: {
4382
4382
  name: string;
@@ -4409,9 +4409,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4409
4409
  } | {
4410
4410
  output: {
4411
4411
  error: string;
4412
+ exists: true;
4412
4413
  };
4413
4414
  outputFormat: "json";
4414
- status: 500;
4415
+ status: 409;
4415
4416
  input: {
4416
4417
  json: {
4417
4418
  name: string;
@@ -4443,11 +4444,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4443
4444
  };
4444
4445
  } | {
4445
4446
  output: {
4446
- path: string;
4447
- name: string;
4447
+ error: string;
4448
4448
  };
4449
4449
  outputFormat: "json";
4450
- status: 201;
4450
+ status: 500;
4451
4451
  input: {
4452
4452
  json: {
4453
4453
  name: string;
@@ -4483,10 +4483,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4483
4483
  "/workflows/:name": {
4484
4484
  $delete: {
4485
4485
  output: {
4486
- error: string;
4486
+ ok: true;
4487
+ path: string;
4487
4488
  };
4488
4489
  outputFormat: "json";
4489
- status: 400 | 404 | 409 | 500;
4490
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4490
4491
  input: {
4491
4492
  param: {
4492
4493
  name: string;
@@ -4494,11 +4495,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4494
4495
  };
4495
4496
  } | {
4496
4497
  output: {
4497
- ok: true;
4498
- path: string;
4498
+ error: string;
4499
4499
  };
4500
4500
  outputFormat: "json";
4501
- status: import("hono/utils/http-status").ContentfulStatusCode;
4501
+ status: 400 | 404 | 409 | 500;
4502
4502
  input: {
4503
4503
  param: {
4504
4504
  name: string;
@@ -4674,14 +4674,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4674
4674
  "/repo/branches/delete": {
4675
4675
  $post: {
4676
4676
  output: {
4677
- error: string;
4677
+ deleted: string[];
4678
4678
  refused: {
4679
4679
  name: string;
4680
4680
  reason: string;
4681
4681
  }[];
4682
+ dropped?: {
4683
+ sha: string;
4684
+ subject: string;
4685
+ }[] | undefined;
4682
4686
  };
4683
4687
  outputFormat: "json";
4684
- status: 409;
4688
+ status: 200;
4685
4689
  input: {
4686
4690
  json: {
4687
4691
  names: string[];
@@ -4690,18 +4694,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4690
4694
  };
4691
4695
  } | {
4692
4696
  output: {
4693
- deleted: string[];
4697
+ error: string;
4694
4698
  refused: {
4695
4699
  name: string;
4696
4700
  reason: string;
4697
4701
  }[];
4698
- dropped?: {
4699
- sha: string;
4700
- subject: string;
4701
- }[] | undefined;
4702
4702
  };
4703
4703
  outputFormat: "json";
4704
- status: 200;
4704
+ status: 409;
4705
4705
  input: {
4706
4706
  json: {
4707
4707
  names: string[];
@@ -4858,10 +4858,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4858
4858
  "/repo/pull": {
4859
4859
  $post: {
4860
4860
  output: {
4861
- error: string;
4861
+ branch: string;
4862
+ pulled: true;
4863
+ summary: string;
4862
4864
  };
4863
4865
  outputFormat: "json";
4864
- status: 409;
4866
+ status: 200;
4865
4867
  input: {
4866
4868
  json: {
4867
4869
  branch?: string | undefined;
@@ -4870,12 +4872,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4870
4872
  };
4871
4873
  } | {
4872
4874
  output: {
4873
- branch: string;
4874
- pulled: true;
4875
- summary: string;
4875
+ error: string;
4876
4876
  };
4877
4877
  outputFormat: "json";
4878
- status: 200;
4878
+ status: 409;
4879
4879
  input: {
4880
4880
  json: {
4881
4881
  branch?: string | undefined;
@@ -6726,6 +6726,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6726
6726
  archivedAt: string;
6727
6727
  fingerprint: string;
6728
6728
  pullRequests: {
6729
+ host?: string | undefined;
6729
6730
  owner: string;
6730
6731
  repo: string;
6731
6732
  number: number;
@@ -6824,6 +6825,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6824
6825
  } & {
6825
6826
  "/run-summaries": {
6826
6827
  $get: {
6828
+ output: {
6829
+ error: string;
6830
+ code?: "invalid_input" | undefined;
6831
+ };
6832
+ outputFormat: "json";
6833
+ status: 400;
6834
+ input: {
6835
+ query: {
6836
+ archived?: "all" | "recent" | undefined;
6837
+ };
6838
+ };
6839
+ } | {
6827
6840
  output: {
6828
6841
  id: string;
6829
6842
  title: string;
@@ -6961,18 +6974,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6961
6974
  archived?: "all" | "recent" | undefined;
6962
6975
  };
6963
6976
  };
6964
- } | {
6965
- output: {
6966
- error: string;
6967
- code?: "invalid_input" | undefined;
6968
- };
6969
- outputFormat: "json";
6970
- status: 400;
6971
- input: {
6972
- query: {
6973
- archived?: "all" | "recent" | undefined;
6974
- };
6975
- };
6976
6977
  };
6977
6978
  };
6978
6979
  } & {
@@ -7334,11 +7335,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7334
7335
  "/runs/:id/worker-destroy": {
7335
7336
  $post: {
7336
7337
  output: {
7337
- error: string;
7338
- code?: "invalid_input" | undefined;
7338
+ workerId: string;
7339
+ state: "complete" | "incomplete";
7340
+ work?: {
7341
+ uncommittedFiles: number;
7342
+ commits: number;
7343
+ } | undefined;
7344
+ deleted?: ({
7345
+ kind: "worktree";
7346
+ path: string;
7347
+ } | {
7348
+ kind: "branch";
7349
+ ref: string;
7350
+ })[] | undefined;
7351
+ remaining: ("branch" | "process" | "worktree")[];
7352
+ error?: string | undefined;
7339
7353
  };
7340
7354
  outputFormat: "json";
7341
- status: 400;
7355
+ status: 200;
7342
7356
  input: {
7343
7357
  query: {
7344
7358
  [x: string]: string | string[];
@@ -7354,24 +7368,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7354
7368
  };
7355
7369
  } | {
7356
7370
  output: {
7357
- workerId: string;
7358
- state: "complete" | "incomplete";
7359
- work?: {
7360
- uncommittedFiles: number;
7361
- commits: number;
7362
- } | undefined;
7363
- deleted?: ({
7364
- kind: "worktree";
7365
- path: string;
7366
- } | {
7367
- kind: "branch";
7368
- ref: string;
7369
- })[] | undefined;
7370
- remaining: ("branch" | "process" | "worktree")[];
7371
- error?: string | undefined;
7371
+ error: string;
7372
+ code?: "invalid_input" | undefined;
7372
7373
  };
7373
7374
  outputFormat: "json";
7374
- status: 200;
7375
+ status: 400;
7375
7376
  input: {
7376
7377
  query: {
7377
7378
  [x: string]: string | string[];
@@ -7487,6 +7488,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7487
7488
  } & {
7488
7489
  "/runs/:id/archive": {
7489
7490
  $post: {
7491
+ output: {
7492
+ error: string;
7493
+ };
7494
+ outputFormat: "json";
7495
+ status: 404;
7496
+ input: {
7497
+ json: {
7498
+ archived?: boolean | undefined;
7499
+ };
7500
+ } & {
7501
+ param: {
7502
+ id: string;
7503
+ };
7504
+ };
7505
+ } | {
7490
7506
  output: {
7491
7507
  archiveWhenDone?: boolean | undefined;
7492
7508
  autoMergePr?: boolean | undefined;
@@ -8572,6 +8588,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8572
8588
  archivedAt: string;
8573
8589
  fingerprint: string;
8574
8590
  pullRequests: {
8591
+ host?: string | undefined;
8575
8592
  owner: string;
8576
8593
  repo: string;
8577
8594
  number: number;
@@ -8665,32 +8682,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8665
8682
  id: string;
8666
8683
  };
8667
8684
  };
8668
- } | {
8685
+ };
8686
+ };
8687
+ } & {
8688
+ "/runs/:id/pin": {
8689
+ $post: {
8669
8690
  output: {
8670
8691
  error: string;
8692
+ code?: "invalid_input" | undefined;
8671
8693
  };
8672
8694
  outputFormat: "json";
8673
- status: 404;
8695
+ status: 400;
8674
8696
  input: {
8675
- json: {
8676
- archived?: boolean | undefined;
8677
- };
8678
- } & {
8679
8697
  param: {
8680
8698
  id: string;
8681
8699
  };
8700
+ } & {
8701
+ json: {
8702
+ pinned?: boolean | undefined;
8703
+ };
8682
8704
  };
8683
- };
8684
- };
8685
- } & {
8686
- "/runs/:id/pin": {
8687
- $post: {
8705
+ } | {
8688
8706
  output: {
8689
8707
  error: string;
8690
- code?: "invalid_input" | undefined;
8691
8708
  };
8692
8709
  outputFormat: "json";
8693
- status: 400;
8710
+ status: 404;
8694
8711
  input: {
8695
8712
  param: {
8696
8713
  id: string;
@@ -9786,6 +9803,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9786
9803
  archivedAt: string;
9787
9804
  fingerprint: string;
9788
9805
  pullRequests: {
9806
+ host?: string | undefined;
9789
9807
  owner: string;
9790
9808
  repo: string;
9791
9809
  number: number;
@@ -9879,21 +9897,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9879
9897
  pinned?: boolean | undefined;
9880
9898
  };
9881
9899
  };
9882
- } | {
9883
- output: {
9884
- error: string;
9885
- };
9886
- outputFormat: "json";
9887
- status: 404;
9888
- input: {
9889
- param: {
9890
- id: string;
9891
- };
9892
- } & {
9893
- json: {
9894
- pinned?: boolean | undefined;
9895
- };
9896
- };
9897
9900
  };
9898
9901
  };
9899
9902
  } & {
@@ -9920,7 +9923,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9920
9923
  error: string;
9921
9924
  };
9922
9925
  outputFormat: "json";
9923
- status: 404;
9926
+ status: 400;
9924
9927
  input: {
9925
9928
  param: {
9926
9929
  id: string;
@@ -9936,7 +9939,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9936
9939
  error: string;
9937
9940
  };
9938
9941
  outputFormat: "json";
9939
- status: 400;
9942
+ status: 404;
9940
9943
  input: {
9941
9944
  param: {
9942
9945
  id: string;
@@ -10733,6 +10736,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10733
10736
  archivedAt: string;
10734
10737
  fingerprint: string;
10735
10738
  pullRequests: {
10739
+ host?: string | undefined;
10736
10740
  owner: string;
10737
10741
  repo: string;
10738
10742
  number: number;
@@ -11158,6 +11162,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11158
11162
  } & {
11159
11163
  "/runs/:id/read": {
11160
11164
  $post: {
11165
+ output: {
11166
+ error: string;
11167
+ };
11168
+ outputFormat: "json";
11169
+ status: 404;
11170
+ input: {
11171
+ param: {
11172
+ id: string;
11173
+ };
11174
+ };
11175
+ } | {
11161
11176
  output: {
11162
11177
  archiveWhenDone?: boolean | undefined;
11163
11178
  autoMergePr?: boolean | undefined;
@@ -12243,6 +12258,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12243
12258
  archivedAt: string;
12244
12259
  fingerprint: string;
12245
12260
  pullRequests: {
12261
+ host?: string | undefined;
12246
12262
  owner: string;
12247
12263
  repo: string;
12248
12264
  number: number;
@@ -12332,7 +12348,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12332
12348
  id: string;
12333
12349
  };
12334
12350
  };
12335
- } | {
12351
+ };
12352
+ };
12353
+ } & {
12354
+ "/runs/:id/unread": {
12355
+ $post: {
12336
12356
  output: {
12337
12357
  error: string;
12338
12358
  };
@@ -12343,11 +12363,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12343
12363
  id: string;
12344
12364
  };
12345
12365
  };
12346
- };
12347
- };
12348
- } & {
12349
- "/runs/:id/unread": {
12350
- $post: {
12366
+ } | {
12351
12367
  output: {
12352
12368
  archiveWhenDone?: boolean | undefined;
12353
12369
  autoMergePr?: boolean | undefined;
@@ -13433,6 +13449,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13433
13449
  archivedAt: string;
13434
13450
  fingerprint: string;
13435
13451
  pullRequests: {
13452
+ host?: string | undefined;
13436
13453
  owner: string;
13437
13454
  repo: string;
13438
13455
  number: number;
@@ -13522,17 +13539,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13522
13539
  id: string;
13523
13540
  };
13524
13541
  };
13525
- } | {
13526
- output: {
13527
- error: string;
13528
- };
13529
- outputFormat: "json";
13530
- status: 404;
13531
- input: {
13532
- param: {
13533
- id: string;
13534
- };
13535
- };
13536
13542
  };
13537
13543
  };
13538
13544
  } & {
@@ -14323,6 +14329,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14323
14329
  archivedAt: string;
14324
14330
  fingerprint: string;
14325
14331
  pullRequests: {
14332
+ host?: string | undefined;
14326
14333
  owner: string;
14327
14334
  repo: string;
14328
14335
  number: number;
@@ -14808,6 +14815,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14808
14815
  } & {
14809
14816
  "/runs/:id": {
14810
14817
  $get: {
14818
+ output: {
14819
+ error: string;
14820
+ };
14821
+ outputFormat: "json";
14822
+ status: 404;
14823
+ input: {
14824
+ param: {
14825
+ id: string;
14826
+ };
14827
+ };
14828
+ } | {
14811
14829
  output: {
14812
14830
  archiveWhenDone?: boolean | undefined;
14813
14831
  autoMergePr?: boolean | undefined;
@@ -15893,6 +15911,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15893
15911
  archivedAt: string;
15894
15912
  fingerprint: string;
15895
15913
  pullRequests: {
15914
+ host?: string | undefined;
15896
15915
  owner: string;
15897
15916
  repo: string;
15898
15917
  number: number;
@@ -15990,17 +16009,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15990
16009
  id: string;
15991
16010
  };
15992
16011
  };
15993
- } | {
15994
- output: {
15995
- error: string;
15996
- };
15997
- outputFormat: "json";
15998
- status: 404;
15999
- input: {
16000
- param: {
16001
- id: string;
16002
- };
16003
- };
16004
16012
  };
16005
16013
  };
16006
16014
  } & {
@@ -16128,6 +16136,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16128
16136
  } & {
16129
16137
  "/runs/:id": {
16130
16138
  $patch: {
16139
+ output: {
16140
+ error: string;
16141
+ };
16142
+ outputFormat: "json";
16143
+ status: 400;
16144
+ input: {
16145
+ json: {
16146
+ archiveWhenDone?: boolean | undefined;
16147
+ autoMergePr?: boolean | undefined;
16148
+ allowWorkers?: boolean | undefined;
16149
+ allowMessaging?: boolean | undefined;
16150
+ title?: string | undefined;
16151
+ task?: string | undefined;
16152
+ };
16153
+ } & {
16154
+ param: {
16155
+ id: string;
16156
+ };
16157
+ };
16158
+ } | {
16159
+ output: {
16160
+ error: string;
16161
+ };
16162
+ outputFormat: "json";
16163
+ status: 404;
16164
+ input: {
16165
+ json: {
16166
+ archiveWhenDone?: boolean | undefined;
16167
+ autoMergePr?: boolean | undefined;
16168
+ allowWorkers?: boolean | undefined;
16169
+ allowMessaging?: boolean | undefined;
16170
+ title?: string | undefined;
16171
+ task?: string | undefined;
16172
+ };
16173
+ } & {
16174
+ param: {
16175
+ id: string;
16176
+ };
16177
+ };
16178
+ } | {
16179
+ output: {
16180
+ error: string;
16181
+ };
16182
+ outputFormat: "json";
16183
+ status: 409;
16184
+ input: {
16185
+ json: {
16186
+ archiveWhenDone?: boolean | undefined;
16187
+ autoMergePr?: boolean | undefined;
16188
+ allowWorkers?: boolean | undefined;
16189
+ allowMessaging?: boolean | undefined;
16190
+ title?: string | undefined;
16191
+ task?: string | undefined;
16192
+ };
16193
+ } & {
16194
+ param: {
16195
+ id: string;
16196
+ };
16197
+ };
16198
+ } | {
16131
16199
  output: {
16132
16200
  archiveWhenDone?: boolean | undefined;
16133
16201
  autoMergePr?: boolean | undefined;
@@ -16913,6 +16981,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16913
16981
  archivedAt: string;
16914
16982
  fingerprint: string;
16915
16983
  pullRequests: {
16984
+ host?: string | undefined;
16916
16985
  owner: string;
16917
16986
  repo: string;
16918
16987
  number: number;
@@ -17311,66 +17380,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17311
17380
  id: string;
17312
17381
  };
17313
17382
  };
17314
- } | {
17315
- output: {
17316
- error: string;
17317
- };
17318
- outputFormat: "json";
17319
- status: 404;
17320
- input: {
17321
- json: {
17322
- archiveWhenDone?: boolean | undefined;
17323
- autoMergePr?: boolean | undefined;
17324
- allowWorkers?: boolean | undefined;
17325
- allowMessaging?: boolean | undefined;
17326
- title?: string | undefined;
17327
- task?: string | undefined;
17328
- };
17329
- } & {
17330
- param: {
17331
- id: string;
17332
- };
17333
- };
17334
- } | {
17335
- output: {
17336
- error: string;
17337
- };
17338
- outputFormat: "json";
17339
- status: 400;
17340
- input: {
17341
- json: {
17342
- archiveWhenDone?: boolean | undefined;
17343
- autoMergePr?: boolean | undefined;
17344
- allowWorkers?: boolean | undefined;
17345
- allowMessaging?: boolean | undefined;
17346
- title?: string | undefined;
17347
- task?: string | undefined;
17348
- };
17349
- } & {
17350
- param: {
17351
- id: string;
17352
- };
17353
- };
17354
- } | {
17355
- output: {
17356
- error: string;
17357
- };
17358
- outputFormat: "json";
17359
- status: 409;
17360
- input: {
17361
- json: {
17362
- archiveWhenDone?: boolean | undefined;
17363
- autoMergePr?: boolean | undefined;
17364
- allowWorkers?: boolean | undefined;
17365
- allowMessaging?: boolean | undefined;
17366
- title?: string | undefined;
17367
- task?: string | undefined;
17368
- };
17369
- } & {
17370
- param: {
17371
- id: string;
17372
- };
17373
- };
17374
17383
  };
17375
17384
  };
17376
17385
  } & {
@@ -17475,7 +17484,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17475
17484
  error: string;
17476
17485
  };
17477
17486
  outputFormat: "json";
17478
- status: 404;
17487
+ status: 400;
17479
17488
  input: {
17480
17489
  json: {
17481
17490
  text?: string | undefined;
@@ -17494,7 +17503,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17494
17503
  error: string;
17495
17504
  };
17496
17505
  outputFormat: "json";
17497
- status: 409;
17506
+ status: 404;
17498
17507
  input: {
17499
17508
  json: {
17500
17509
  text?: string | undefined;
@@ -17510,10 +17519,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17510
17519
  };
17511
17520
  } | {
17512
17521
  output: {
17513
- delivered: true;
17522
+ error: string;
17514
17523
  };
17515
17524
  outputFormat: "json";
17516
- status: import("hono/utils/http-status").ContentfulStatusCode;
17525
+ status: 409;
17517
17526
  input: {
17518
17527
  json: {
17519
17528
  text?: string | undefined;
@@ -17529,10 +17538,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17529
17538
  };
17530
17539
  } | {
17531
17540
  output: {
17532
- error: string;
17541
+ delivered: true;
17533
17542
  };
17534
17543
  outputFormat: "json";
17535
- status: 400;
17544
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17536
17545
  input: {
17537
17546
  json: {
17538
17547
  text?: string | undefined;
@@ -17600,7 +17609,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17600
17609
  error: string;
17601
17610
  };
17602
17611
  outputFormat: "json";
17603
- status: 404;
17612
+ status: 400;
17604
17613
  input: {
17605
17614
  json: {
17606
17615
  text?: string | undefined;
@@ -17621,7 +17630,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17621
17630
  error: string;
17622
17631
  };
17623
17632
  outputFormat: "json";
17624
- status: 400;
17633
+ status: 404;
17625
17634
  input: {
17626
17635
  json: {
17627
17636
  text?: string | undefined;
@@ -17841,10 +17850,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17841
17850
  "/runs/:id/open-in-cli": {
17842
17851
  $post: {
17843
17852
  output: {
17844
- error: string;
17853
+ opened: true;
17854
+ command: string;
17845
17855
  };
17846
17856
  outputFormat: "json";
17847
- status: 404 | 409;
17857
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17848
17858
  input: {
17849
17859
  param: {
17850
17860
  id: string;
@@ -17852,11 +17862,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17852
17862
  };
17853
17863
  } | {
17854
17864
  output: {
17855
- opened: true;
17856
- command: string;
17865
+ error: string;
17857
17866
  };
17858
17867
  outputFormat: "json";
17859
- status: import("hono/utils/http-status").ContentfulStatusCode;
17868
+ status: 404 | 409;
17860
17869
  input: {
17861
17870
  param: {
17862
17871
  id: string;
@@ -17867,22 +17876,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17867
17876
  } & {
17868
17877
  "/runs/:id/open-in": {
17869
17878
  $post: {
17870
- output: {
17871
- error: string;
17872
- };
17873
- outputFormat: "json";
17874
- status: 404 | 409;
17875
- input: {
17876
- json: {
17877
- target: string;
17878
- path?: string | undefined;
17879
- };
17880
- } & {
17881
- param: {
17882
- id: string;
17883
- };
17884
- };
17885
- } | {
17886
17879
  output: {
17887
17880
  error: string;
17888
17881
  };
@@ -17915,26 +17908,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17915
17908
  id: string;
17916
17909
  };
17917
17910
  };
17918
- };
17919
- };
17920
- } & {
17921
- "/runs/:id/handoff": {
17922
- $get: {
17911
+ } | {
17923
17912
  output: {
17924
17913
  error: string;
17925
17914
  };
17926
17915
  outputFormat: "json";
17927
- status: 404;
17916
+ status: 404 | 409;
17928
17917
  input: {
17929
- param: {
17930
- id: string;
17918
+ json: {
17919
+ target: string;
17920
+ path?: string | undefined;
17931
17921
  };
17932
- };
17933
- } | {
17934
- output: string;
17935
- outputFormat: "text";
17936
- status: 200;
17937
- input: {
17922
+ } & {
17938
17923
  param: {
17939
17924
  id: string;
17940
17925
  };
@@ -17942,59 +17927,68 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17942
17927
  };
17943
17928
  };
17944
17929
  } & {
17945
- "/runs/:id/images/:file": {
17930
+ "/runs/:id/handoff": {
17946
17931
  $get: {
17947
- output: {};
17948
- outputFormat: string;
17949
- status: import("hono/utils/http-status").StatusCode;
17932
+ output: string;
17933
+ outputFormat: "text";
17934
+ status: 200;
17950
17935
  input: {
17951
17936
  param: {
17952
17937
  id: string;
17953
- file: string;
17954
17938
  };
17955
17939
  };
17956
17940
  } | {
17957
17941
  output: {
17958
17942
  error: string;
17959
- code?: "invalid_input" | undefined;
17960
17943
  };
17961
17944
  outputFormat: "json";
17962
- status: 400;
17945
+ status: 404;
17963
17946
  input: {
17964
17947
  param: {
17965
17948
  id: string;
17966
- file: string;
17967
17949
  };
17968
17950
  };
17969
17951
  };
17970
17952
  };
17971
17953
  } & {
17972
- "/runs/:id/diff": {
17954
+ "/runs/:id/images/:file": {
17973
17955
  $get: {
17974
17956
  output: {
17975
17957
  error: string;
17958
+ code?: "invalid_input" | undefined;
17976
17959
  };
17977
17960
  outputFormat: "json";
17978
- status: 404 | 409;
17961
+ status: 400;
17979
17962
  input: {
17980
17963
  param: {
17981
17964
  id: string;
17965
+ file: string;
17982
17966
  };
17983
17967
  };
17984
17968
  } | {
17985
- output: string;
17986
- outputFormat: "text";
17987
- status: import("hono/utils/http-status").ContentfulStatusCode;
17969
+ output: {};
17970
+ outputFormat: string;
17971
+ status: import("hono/utils/http-status").StatusCode;
17988
17972
  input: {
17989
17973
  param: {
17990
17974
  id: string;
17975
+ file: string;
17991
17976
  };
17992
17977
  };
17993
17978
  };
17994
17979
  };
17995
17980
  } & {
17996
- "/runs/:id/changes": {
17981
+ "/runs/:id/diff": {
17997
17982
  $get: {
17983
+ output: string;
17984
+ outputFormat: "text";
17985
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17986
+ input: {
17987
+ param: {
17988
+ id: string;
17989
+ };
17990
+ };
17991
+ } | {
17998
17992
  output: {
17999
17993
  error: string;
18000
17994
  };
@@ -18005,7 +17999,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18005
17999
  id: string;
18006
18000
  };
18007
18001
  };
18008
- } | {
18002
+ };
18003
+ };
18004
+ } & {
18005
+ "/runs/:id/changes": {
18006
+ $get: {
18009
18007
  output: {
18010
18008
  files: {
18011
18009
  path: string;
@@ -18034,11 +18032,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18034
18032
  id: string;
18035
18033
  };
18036
18034
  };
18037
- };
18038
- };
18039
- } & {
18040
- "/runs/:id/commits": {
18041
- $get: {
18035
+ } | {
18042
18036
  output: {
18043
18037
  error: string;
18044
18038
  };
@@ -18049,7 +18043,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18049
18043
  id: string;
18050
18044
  };
18051
18045
  };
18052
- } | {
18046
+ };
18047
+ };
18048
+ } & {
18049
+ "/runs/:id/commits": {
18050
+ $get: {
18053
18051
  output: {
18054
18052
  commits: {
18055
18053
  sha: string;
@@ -18065,11 +18063,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18065
18063
  id: string;
18066
18064
  };
18067
18065
  };
18068
- };
18069
- };
18070
- } & {
18071
- "/runs/:id/commit/:sha": {
18072
- $get: {
18066
+ } | {
18073
18067
  output: {
18074
18068
  error: string;
18075
18069
  };
@@ -18077,12 +18071,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18077
18071
  status: 404 | 409;
18078
18072
  input: {
18079
18073
  param: {
18080
- sha: string;
18081
- } & {
18082
18074
  id: string;
18083
18075
  };
18084
18076
  };
18085
- } | {
18077
+ };
18078
+ };
18079
+ } & {
18080
+ "/runs/:id/commit/:sha": {
18081
+ $get: {
18086
18082
  output: {
18087
18083
  sha: string;
18088
18084
  subject: string;
@@ -18108,9 +18104,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18108
18104
  status: import("hono/utils/http-status").ContentfulStatusCode;
18109
18105
  input: {
18110
18106
  param: {
18111
- sha: string;
18107
+ id: string;
18112
18108
  } & {
18109
+ sha: string;
18110
+ };
18111
+ };
18112
+ } | {
18113
+ output: {
18114
+ error: string;
18115
+ };
18116
+ outputFormat: "json";
18117
+ status: 404 | 409;
18118
+ input: {
18119
+ param: {
18113
18120
  id: string;
18121
+ } & {
18122
+ sha: string;
18114
18123
  };
18115
18124
  };
18116
18125
  };
@@ -18148,22 +18157,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18148
18157
  raw?: "1" | undefined;
18149
18158
  };
18150
18159
  };
18151
- } | {
18152
- output: {
18153
- error: string;
18154
- };
18155
- outputFormat: "json";
18156
- status: 404 | 409;
18157
- input: {
18158
- param: {
18159
- id: string;
18160
- };
18161
- } & {
18162
- query: {
18163
- path: string | string[];
18164
- raw?: "1" | undefined;
18165
- };
18166
- };
18167
18160
  } | {
18168
18161
  output: {
18169
18162
  type: "file";
@@ -18200,6 +18193,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18200
18193
  raw?: "1" | undefined;
18201
18194
  };
18202
18195
  };
18196
+ } | {
18197
+ output: {
18198
+ error: string;
18199
+ };
18200
+ outputFormat: "json";
18201
+ status: 404 | 409;
18202
+ input: {
18203
+ param: {
18204
+ id: string;
18205
+ };
18206
+ } & {
18207
+ query: {
18208
+ path: string | string[];
18209
+ raw?: "1" | undefined;
18210
+ };
18211
+ };
18203
18212
  };
18204
18213
  };
18205
18214
  } & {
@@ -18264,6 +18273,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18264
18273
  artifactId: string;
18265
18274
  };
18266
18275
  };
18276
+ } | {
18277
+ output: {
18278
+ error: string;
18279
+ };
18280
+ outputFormat: "json";
18281
+ status: 404;
18282
+ input: {
18283
+ param: {
18284
+ id: string;
18285
+ artifactId: string;
18286
+ };
18287
+ };
18267
18288
  } | {
18268
18289
  output: {
18269
18290
  type: "file";
@@ -18292,18 +18313,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18292
18313
  artifactId: string;
18293
18314
  };
18294
18315
  };
18295
- } | {
18296
- output: {
18297
- error: string;
18298
- };
18299
- outputFormat: "json";
18300
- status: 404;
18301
- input: {
18302
- param: {
18303
- id: string;
18304
- artifactId: string;
18305
- };
18306
- };
18307
18316
  };
18308
18317
  };
18309
18318
  } & {
@@ -18481,10 +18490,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18481
18490
  };
18482
18491
  } | {
18483
18492
  output: {
18484
- error: string;
18493
+ type: 'dir';
18494
+ path: string;
18495
+ entries: {
18496
+ name: string;
18497
+ type: 'dir' | 'file';
18498
+ size?: number;
18499
+ }[];
18485
18500
  };
18486
18501
  outputFormat: "json";
18487
- status: 404 | 409;
18502
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18488
18503
  input: {
18489
18504
  query: {
18490
18505
  path?: string | undefined;
@@ -18497,13 +18512,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18497
18512
  };
18498
18513
  } | {
18499
18514
  output: {
18500
- type: 'dir';
18515
+ type: 'file';
18501
18516
  path: string;
18502
- entries: {
18503
- name: string;
18504
- type: 'dir' | 'file';
18505
- size?: number;
18506
- }[];
18517
+ size: number;
18518
+ binary: boolean;
18519
+ tooLarge: boolean;
18520
+ content?: string | undefined;
18507
18521
  };
18508
18522
  outputFormat: "json";
18509
18523
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18519,15 +18533,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18519
18533
  };
18520
18534
  } | {
18521
18535
  output: {
18522
- type: 'file';
18523
- path: string;
18524
- size: number;
18525
- binary: boolean;
18526
- tooLarge: boolean;
18527
- content?: string | undefined;
18536
+ error: string;
18528
18537
  };
18529
18538
  outputFormat: "json";
18530
- status: import("hono/utils/http-status").ContentfulStatusCode;
18539
+ status: 404 | 409;
18531
18540
  input: {
18532
18541
  query: {
18533
18542
  path?: string | undefined;
@@ -18544,10 +18553,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18544
18553
  "/runs/:id/git/commit": {
18545
18554
  $post: {
18546
18555
  output: {
18547
- error: string;
18556
+ committed: true;
18557
+ sha: string;
18548
18558
  };
18549
18559
  outputFormat: "json";
18550
- status: 404 | 409;
18560
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18551
18561
  input: {
18552
18562
  json: {
18553
18563
  message: string;
@@ -18559,11 +18569,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18559
18569
  };
18560
18570
  } | {
18561
18571
  output: {
18562
- committed: true;
18563
- sha: string;
18572
+ error: string;
18564
18573
  };
18565
18574
  outputFormat: "json";
18566
- status: import("hono/utils/http-status").ContentfulStatusCode;
18575
+ status: 404 | 409;
18567
18576
  input: {
18568
18577
  json: {
18569
18578
  message: string;
@@ -18579,10 +18588,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18579
18588
  "/runs/:id/git/push": {
18580
18589
  $post: {
18581
18590
  output: {
18582
- error: string;
18591
+ pushed: true;
18592
+ branch: string;
18593
+ remote: string;
18594
+ upstreamSet: boolean;
18583
18595
  };
18584
18596
  outputFormat: "json";
18585
- status: 404 | 409;
18597
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18586
18598
  input: {
18587
18599
  param: {
18588
18600
  id: string;
@@ -18590,13 +18602,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18590
18602
  };
18591
18603
  } | {
18592
18604
  output: {
18593
- pushed: true;
18594
- branch: string;
18595
- remote: string;
18596
- upstreamSet: boolean;
18605
+ error: string;
18597
18606
  };
18598
18607
  outputFormat: "json";
18599
- status: import("hono/utils/http-status").ContentfulStatusCode;
18608
+ status: 404 | 409;
18600
18609
  input: {
18601
18610
  param: {
18602
18611
  id: string;
@@ -18608,10 +18617,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18608
18617
  "/runs/:id/pr": {
18609
18618
  $post: {
18610
18619
  output: {
18611
- error: string;
18620
+ url: string;
18621
+ dryRun: boolean;
18612
18622
  };
18613
18623
  outputFormat: "json";
18614
- status: 404 | 409;
18624
+ status: 201;
18615
18625
  input: {
18616
18626
  param: {
18617
18627
  id: string;
@@ -18619,11 +18629,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18619
18629
  };
18620
18630
  } | {
18621
18631
  output: {
18622
- url: string;
18623
- dryRun: boolean;
18632
+ error: string;
18624
18633
  };
18625
18634
  outputFormat: "json";
18626
- status: 201;
18635
+ status: 404 | 409;
18627
18636
  input: {
18628
18637
  param: {
18629
18638
  id: string;
@@ -18635,10 +18644,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18635
18644
  "/runs/:id/remove-worktree": {
18636
18645
  $post: {
18637
18646
  output: {
18638
- error: string;
18647
+ removed: true;
18639
18648
  };
18640
18649
  outputFormat: "json";
18641
- status: 404 | 409;
18650
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18642
18651
  input: {
18643
18652
  param: {
18644
18653
  id: string;
@@ -18646,10 +18655,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18646
18655
  };
18647
18656
  } | {
18648
18657
  output: {
18649
- removed: true;
18658
+ error: string;
18650
18659
  };
18651
18660
  outputFormat: "json";
18652
- status: import("hono/utils/http-status").ContentfulStatusCode;
18661
+ status: 404 | 409;
18653
18662
  input: {
18654
18663
  param: {
18655
18664
  id: string;
@@ -18661,10 +18670,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18661
18670
  "/runs/:id": {
18662
18671
  $delete: {
18663
18672
  output: {
18664
- error: string;
18673
+ deleted: true;
18665
18674
  };
18666
18675
  outputFormat: "json";
18667
- status: 404 | 409;
18676
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18668
18677
  input: {
18669
18678
  param: {
18670
18679
  id: string;
@@ -18672,10 +18681,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18672
18681
  };
18673
18682
  } | {
18674
18683
  output: {
18675
- deleted: true;
18684
+ error: string;
18676
18685
  };
18677
18686
  outputFormat: "json";
18678
- status: import("hono/utils/http-status").ContentfulStatusCode;
18687
+ status: 404 | 409;
18679
18688
  input: {
18680
18689
  param: {
18681
18690
  id: string;
@@ -18744,18 +18753,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18744
18753
  }, "/"> | import("hono/types").MergeSchemaPath<{
18745
18754
  "/plan": {
18746
18755
  $post: {
18747
- output: {
18748
- error: string;
18749
- };
18750
- outputFormat: "json";
18751
- status: 400 | 404 | 409;
18752
- input: {
18753
- json: {
18754
- task: string;
18755
- agentProfile?: string | undefined;
18756
- };
18757
- };
18758
- } | {
18759
18756
  output: {
18760
18757
  name?: string;
18761
18758
  steps: {
@@ -18792,6 +18789,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18792
18789
  agentProfile?: string | undefined;
18793
18790
  };
18794
18791
  };
18792
+ } | {
18793
+ output: {
18794
+ error: string;
18795
+ };
18796
+ outputFormat: "json";
18797
+ status: 400 | 404 | 409;
18798
+ input: {
18799
+ json: {
18800
+ task: string;
18801
+ agentProfile?: string | undefined;
18802
+ };
18803
+ };
18795
18804
  };
18796
18805
  };
18797
18806
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18816,7 +18825,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18816
18825
  error: string;
18817
18826
  };
18818
18827
  outputFormat: "json";
18819
- status: 409;
18828
+ status: 400;
18820
18829
  input: {
18821
18830
  json: {
18822
18831
  target: string;
@@ -18827,7 +18836,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18827
18836
  error: string;
18828
18837
  };
18829
18838
  outputFormat: "json";
18830
- status: 400;
18839
+ status: 409;
18831
18840
  input: {
18832
18841
  json: {
18833
18842
  target: string;
@@ -18894,42 +18903,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18894
18903
  "/ui-state": {
18895
18904
  $put: {
18896
18905
  output: {
18897
- [x: string]: import("hono/utils/types").JSONValue;
18898
- sidebarLimits?: {
18899
- overall?: number | null | undefined;
18900
- needsYou?: number | null | undefined;
18901
- finished?: number | null | undefined;
18902
- working?: number | null | undefined;
18903
- } | undefined;
18904
- lastTask?: {
18905
- source: "skill" | "workflow";
18906
- ref: string;
18907
- } | null | undefined;
18908
- recentSources?: {
18909
- source: "skill" | "workflow";
18910
- ref: string;
18911
- }[] | undefined;
18912
- lastWorktree?: boolean | undefined;
18913
- lastAutonomous?: boolean | undefined;
18914
- skillUsage?: {
18915
- [x: string]: number;
18916
- } | undefined;
18917
- runsView?: "list" | "table" | undefined;
18918
- githubView?: "issues" | "prs" | undefined;
18919
- appearance?: {
18920
- accent?: "cezarion" | "lime" | "violet" | undefined;
18921
- density?: "comfortable" | "compact" | "ultra" | undefined;
18922
- width?: "narrow" | "wide" | undefined;
18923
- } | undefined;
18924
- promptTemplates?: {
18925
- id: string;
18926
- label: string;
18927
- text: string;
18928
- skills?: string[] | undefined;
18929
- }[] | undefined;
18906
+ error: string;
18930
18907
  };
18931
18908
  outputFormat: "json";
18932
- status: import("hono/utils/http-status").ContentfulStatusCode;
18909
+ status: 500;
18933
18910
  input: {
18934
18911
  json: {
18935
18912
  [x: string]: unknown;
@@ -18967,10 +18944,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18967
18944
  };
18968
18945
  } | {
18969
18946
  output: {
18970
- error: string;
18947
+ [x: string]: import("hono/utils/types").JSONValue;
18948
+ sidebarLimits?: {
18949
+ overall?: number | null | undefined;
18950
+ needsYou?: number | null | undefined;
18951
+ finished?: number | null | undefined;
18952
+ working?: number | null | undefined;
18953
+ } | undefined;
18954
+ lastTask?: {
18955
+ source: "skill" | "workflow";
18956
+ ref: string;
18957
+ } | null | undefined;
18958
+ recentSources?: {
18959
+ source: "skill" | "workflow";
18960
+ ref: string;
18961
+ }[] | undefined;
18962
+ lastWorktree?: boolean | undefined;
18963
+ lastAutonomous?: boolean | undefined;
18964
+ skillUsage?: {
18965
+ [x: string]: number;
18966
+ } | undefined;
18967
+ runsView?: "list" | "table" | undefined;
18968
+ githubView?: "issues" | "prs" | undefined;
18969
+ appearance?: {
18970
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18971
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18972
+ width?: "narrow" | "wide" | undefined;
18973
+ } | undefined;
18974
+ promptTemplates?: {
18975
+ id: string;
18976
+ label: string;
18977
+ text: string;
18978
+ skills?: string[] | undefined;
18979
+ }[] | undefined;
18971
18980
  };
18972
18981
  outputFormat: "json";
18973
- status: 500;
18982
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18974
18983
  input: {
18975
18984
  json: {
18976
18985
  [x: string]: unknown;
@@ -19011,9 +19020,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19011
19020
  }, "/"> | import("hono/types").MergeSchemaPath<{
19012
19021
  "/runs/:id/events": {
19013
19022
  $get: {
19014
- output: {};
19015
- outputFormat: string;
19016
- status: import("hono/utils/http-status").StatusCode;
19023
+ output: {
19024
+ error: string;
19025
+ code?: "invalid_input" | undefined;
19026
+ };
19027
+ outputFormat: "json";
19028
+ status: 400;
19017
19029
  input: {
19018
19030
  param: {
19019
19031
  id: string;
@@ -19025,12 +19037,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19025
19037
  };
19026
19038
  };
19027
19039
  } | {
19028
- output: {
19029
- error: string;
19030
- code?: "invalid_input" | undefined;
19031
- };
19032
- outputFormat: "json";
19033
- status: 400;
19040
+ output: {};
19041
+ outputFormat: string;
19042
+ status: import("hono/utils/http-status").StatusCode;
19034
19043
  input: {
19035
19044
  param: {
19036
19045
  id: string;
@@ -19091,34 +19100,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19091
19100
  "/config": {
19092
19101
  $put: {
19093
19102
  output: {
19094
- archiveOnMerge: boolean | null;
19095
- effectiveArchiveOnMerge: boolean;
19096
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19097
- baseBranch: string | null;
19098
- defaultRunner: string;
19099
- systemPrompt: string | null;
19100
- defaultModels: {
19101
- [x: string]: string | undefined;
19102
- };
19103
- modelsLocked: boolean;
19104
- maxParallel: number;
19105
- memoryLimitMb: number | null;
19106
- worktreeRetention: number;
19107
- liveTitleUpdates: boolean | null;
19108
- reviewGate: boolean | null;
19109
- worktreeSetup: {
19110
- commands: string[];
19111
- timeoutSeconds: number;
19112
- } | null;
19113
- worktreeSetupIssue: string | null;
19114
- worktreeTeardown: {
19115
- commands: string[];
19116
- timeoutSeconds: number;
19117
- } | null;
19118
- worktreeTeardownIssue: string | null;
19103
+ error: string;
19119
19104
  };
19120
19105
  outputFormat: "json";
19121
- status: import("hono/utils/http-status").ContentfulStatusCode;
19106
+ status: 409;
19122
19107
  input: {
19123
19108
  json: {
19124
19109
  archiveOnMerge?: boolean | null | undefined;
@@ -19146,7 +19131,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19146
19131
  error: string;
19147
19132
  };
19148
19133
  outputFormat: "json";
19149
- status: 409;
19134
+ status: 500;
19150
19135
  input: {
19151
19136
  json: {
19152
19137
  archiveOnMerge?: boolean | null | undefined;
@@ -19171,10 +19156,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19171
19156
  };
19172
19157
  } | {
19173
19158
  output: {
19174
- error: string;
19159
+ archiveOnMerge: boolean | null;
19160
+ effectiveArchiveOnMerge: boolean;
19161
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19162
+ baseBranch: string | null;
19163
+ defaultRunner: string;
19164
+ systemPrompt: string | null;
19165
+ defaultModels: {
19166
+ [x: string]: string | undefined;
19167
+ };
19168
+ modelsLocked: boolean;
19169
+ maxParallel: number;
19170
+ memoryLimitMb: number | null;
19171
+ worktreeRetention: number;
19172
+ liveTitleUpdates: boolean | null;
19173
+ reviewGate: boolean | null;
19174
+ worktreeSetup: {
19175
+ commands: string[];
19176
+ timeoutSeconds: number;
19177
+ } | null;
19178
+ worktreeSetupIssue: string | null;
19179
+ worktreeTeardown: {
19180
+ commands: string[];
19181
+ timeoutSeconds: number;
19182
+ } | null;
19183
+ worktreeTeardownIssue: string | null;
19175
19184
  };
19176
19185
  outputFormat: "json";
19177
- status: 500;
19186
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19178
19187
  input: {
19179
19188
  json: {
19180
19189
  archiveOnMerge?: boolean | null | undefined;
@@ -19323,7 +19332,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19323
19332
  error: string;
19324
19333
  };
19325
19334
  outputFormat: "json";
19326
- status: 409;
19335
+ status: 400;
19327
19336
  input: {
19328
19337
  query: {
19329
19338
  q?: string | undefined;
@@ -19336,7 +19345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19336
19345
  error: string;
19337
19346
  };
19338
19347
  outputFormat: "json";
19339
- status: 400;
19348
+ status: 409;
19340
19349
  input: {
19341
19350
  query: {
19342
19351
  q?: string | undefined;
@@ -19441,10 +19450,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19441
19450
  };
19442
19451
  } | {
19443
19452
  output: {
19444
- error: string;
19453
+ runId: string;
19454
+ worktreeReclaimedAt: string;
19445
19455
  };
19446
19456
  outputFormat: "json";
19447
- status: 404 | 409;
19457
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19448
19458
  input: {
19449
19459
  param: {
19450
19460
  runId: string;
@@ -19456,11 +19466,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19456
19466
  };
19457
19467
  } | {
19458
19468
  output: {
19459
- runId: string;
19460
- worktreeReclaimedAt: string;
19469
+ error: string;
19461
19470
  };
19462
19471
  outputFormat: "json";
19463
- status: import("hono/utils/http-status").ContentfulStatusCode;
19472
+ status: 404 | 409;
19464
19473
  input: {
19465
19474
  param: {
19466
19475
  runId: string;
@@ -19560,14 +19569,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19560
19569
  "/agent-config/:id": {
19561
19570
  $put: {
19562
19571
  output: {
19563
- id: string;
19564
- path: string;
19565
- exists: boolean;
19566
- content: string;
19567
- version: string | null;
19572
+ error: string;
19568
19573
  };
19569
19574
  outputFormat: "json";
19570
- status: import("hono/utils/http-status").ContentfulStatusCode;
19575
+ status: 404;
19571
19576
  input: {
19572
19577
  json: {
19573
19578
  content: string;
@@ -19580,10 +19585,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19580
19585
  };
19581
19586
  } | {
19582
19587
  output: {
19583
- error: string;
19588
+ id: string;
19589
+ path: string;
19590
+ exists: boolean;
19591
+ content: string;
19592
+ version: string | null;
19584
19593
  };
19585
19594
  outputFormat: "json";
19586
- status: 404;
19595
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19587
19596
  input: {
19588
19597
  json: {
19589
19598
  content: string;
@@ -19760,10 +19769,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19760
19769
  "/workflows": {
19761
19770
  $post: {
19762
19771
  output: {
19763
- error: string;
19772
+ path: string;
19773
+ name: string;
19764
19774
  };
19765
19775
  outputFormat: "json";
19766
- status: 400;
19776
+ status: 201;
19767
19777
  input: {
19768
19778
  json: {
19769
19779
  name: string;
@@ -19796,10 +19806,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19796
19806
  } | {
19797
19807
  output: {
19798
19808
  error: string;
19799
- exists: true;
19800
19809
  };
19801
19810
  outputFormat: "json";
19802
- status: 409;
19811
+ status: 400;
19803
19812
  input: {
19804
19813
  json: {
19805
19814
  name: string;
@@ -19832,9 +19841,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19832
19841
  } | {
19833
19842
  output: {
19834
19843
  error: string;
19844
+ exists: true;
19835
19845
  };
19836
19846
  outputFormat: "json";
19837
- status: 500;
19847
+ status: 409;
19838
19848
  input: {
19839
19849
  json: {
19840
19850
  name: string;
@@ -19866,11 +19876,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19866
19876
  };
19867
19877
  } | {
19868
19878
  output: {
19869
- path: string;
19870
- name: string;
19879
+ error: string;
19871
19880
  };
19872
19881
  outputFormat: "json";
19873
- status: 201;
19882
+ status: 500;
19874
19883
  input: {
19875
19884
  json: {
19876
19885
  name: string;
@@ -19906,10 +19915,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19906
19915
  "/workflows/:name": {
19907
19916
  $delete: {
19908
19917
  output: {
19909
- error: string;
19918
+ ok: true;
19919
+ path: string;
19910
19920
  };
19911
19921
  outputFormat: "json";
19912
- status: 400 | 404 | 409 | 500;
19922
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19913
19923
  input: {
19914
19924
  param: {
19915
19925
  name: string;
@@ -19917,11 +19927,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19917
19927
  };
19918
19928
  } | {
19919
19929
  output: {
19920
- ok: true;
19921
- path: string;
19930
+ error: string;
19922
19931
  };
19923
19932
  outputFormat: "json";
19924
- status: import("hono/utils/http-status").ContentfulStatusCode;
19933
+ status: 400 | 404 | 409 | 500;
19925
19934
  input: {
19926
19935
  param: {
19927
19936
  name: string;
@@ -20097,14 +20106,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20097
20106
  "/repo/branches/delete": {
20098
20107
  $post: {
20099
20108
  output: {
20100
- error: string;
20109
+ deleted: string[];
20101
20110
  refused: {
20102
20111
  name: string;
20103
20112
  reason: string;
20104
20113
  }[];
20114
+ dropped?: {
20115
+ sha: string;
20116
+ subject: string;
20117
+ }[] | undefined;
20105
20118
  };
20106
20119
  outputFormat: "json";
20107
- status: 409;
20120
+ status: 200;
20108
20121
  input: {
20109
20122
  json: {
20110
20123
  names: string[];
@@ -20113,18 +20126,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20113
20126
  };
20114
20127
  } | {
20115
20128
  output: {
20116
- deleted: string[];
20129
+ error: string;
20117
20130
  refused: {
20118
20131
  name: string;
20119
20132
  reason: string;
20120
20133
  }[];
20121
- dropped?: {
20122
- sha: string;
20123
- subject: string;
20124
- }[] | undefined;
20125
20134
  };
20126
20135
  outputFormat: "json";
20127
- status: 200;
20136
+ status: 409;
20128
20137
  input: {
20129
20138
  json: {
20130
20139
  names: string[];
@@ -20281,10 +20290,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20281
20290
  "/repo/pull": {
20282
20291
  $post: {
20283
20292
  output: {
20284
- error: string;
20293
+ branch: string;
20294
+ pulled: true;
20295
+ summary: string;
20285
20296
  };
20286
20297
  outputFormat: "json";
20287
- status: 409;
20298
+ status: 200;
20288
20299
  input: {
20289
20300
  json: {
20290
20301
  branch?: string | undefined;
@@ -20293,12 +20304,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20293
20304
  };
20294
20305
  } | {
20295
20306
  output: {
20296
- branch: string;
20297
- pulled: true;
20298
- summary: string;
20307
+ error: string;
20299
20308
  };
20300
20309
  outputFormat: "json";
20301
- status: 200;
20310
+ status: 409;
20302
20311
  input: {
20303
20312
  json: {
20304
20313
  branch?: string | undefined;
@@ -22149,6 +22158,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22149
22158
  archivedAt: string;
22150
22159
  fingerprint: string;
22151
22160
  pullRequests: {
22161
+ host?: string | undefined;
22152
22162
  owner: string;
22153
22163
  repo: string;
22154
22164
  number: number;
@@ -22247,6 +22257,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22247
22257
  } & {
22248
22258
  "/run-summaries": {
22249
22259
  $get: {
22260
+ output: {
22261
+ error: string;
22262
+ code?: "invalid_input" | undefined;
22263
+ };
22264
+ outputFormat: "json";
22265
+ status: 400;
22266
+ input: {
22267
+ query: {
22268
+ archived?: "all" | "recent" | undefined;
22269
+ };
22270
+ };
22271
+ } | {
22250
22272
  output: {
22251
22273
  id: string;
22252
22274
  title: string;
@@ -22384,18 +22406,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22384
22406
  archived?: "all" | "recent" | undefined;
22385
22407
  };
22386
22408
  };
22387
- } | {
22388
- output: {
22389
- error: string;
22390
- code?: "invalid_input" | undefined;
22391
- };
22392
- outputFormat: "json";
22393
- status: 400;
22394
- input: {
22395
- query: {
22396
- archived?: "all" | "recent" | undefined;
22397
- };
22398
- };
22399
22409
  };
22400
22410
  };
22401
22411
  } & {
@@ -22757,11 +22767,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22757
22767
  "/runs/:id/worker-destroy": {
22758
22768
  $post: {
22759
22769
  output: {
22760
- error: string;
22761
- code?: "invalid_input" | undefined;
22770
+ workerId: string;
22771
+ state: "complete" | "incomplete";
22772
+ work?: {
22773
+ uncommittedFiles: number;
22774
+ commits: number;
22775
+ } | undefined;
22776
+ deleted?: ({
22777
+ kind: "worktree";
22778
+ path: string;
22779
+ } | {
22780
+ kind: "branch";
22781
+ ref: string;
22782
+ })[] | undefined;
22783
+ remaining: ("branch" | "process" | "worktree")[];
22784
+ error?: string | undefined;
22762
22785
  };
22763
22786
  outputFormat: "json";
22764
- status: 400;
22787
+ status: 200;
22765
22788
  input: {
22766
22789
  query: {
22767
22790
  [x: string]: string | string[];
@@ -22777,24 +22800,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22777
22800
  };
22778
22801
  } | {
22779
22802
  output: {
22780
- workerId: string;
22781
- state: "complete" | "incomplete";
22782
- work?: {
22783
- uncommittedFiles: number;
22784
- commits: number;
22785
- } | undefined;
22786
- deleted?: ({
22787
- kind: "worktree";
22788
- path: string;
22789
- } | {
22790
- kind: "branch";
22791
- ref: string;
22792
- })[] | undefined;
22793
- remaining: ("branch" | "process" | "worktree")[];
22794
- error?: string | undefined;
22803
+ error: string;
22804
+ code?: "invalid_input" | undefined;
22795
22805
  };
22796
22806
  outputFormat: "json";
22797
- status: 200;
22807
+ status: 400;
22798
22808
  input: {
22799
22809
  query: {
22800
22810
  [x: string]: string | string[];
@@ -22910,6 +22920,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22910
22920
  } & {
22911
22921
  "/runs/:id/archive": {
22912
22922
  $post: {
22923
+ output: {
22924
+ error: string;
22925
+ };
22926
+ outputFormat: "json";
22927
+ status: 404;
22928
+ input: {
22929
+ json: {
22930
+ archived?: boolean | undefined;
22931
+ };
22932
+ } & {
22933
+ param: {
22934
+ id: string;
22935
+ };
22936
+ };
22937
+ } | {
22913
22938
  output: {
22914
22939
  archiveWhenDone?: boolean | undefined;
22915
22940
  autoMergePr?: boolean | undefined;
@@ -23995,6 +24020,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23995
24020
  archivedAt: string;
23996
24021
  fingerprint: string;
23997
24022
  pullRequests: {
24023
+ host?: string | undefined;
23998
24024
  owner: string;
23999
24025
  repo: string;
24000
24026
  number: number;
@@ -24088,32 +24114,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24088
24114
  id: string;
24089
24115
  };
24090
24116
  };
24091
- } | {
24117
+ };
24118
+ };
24119
+ } & {
24120
+ "/runs/:id/pin": {
24121
+ $post: {
24092
24122
  output: {
24093
24123
  error: string;
24124
+ code?: "invalid_input" | undefined;
24094
24125
  };
24095
24126
  outputFormat: "json";
24096
- status: 404;
24127
+ status: 400;
24097
24128
  input: {
24098
- json: {
24099
- archived?: boolean | undefined;
24100
- };
24101
- } & {
24102
24129
  param: {
24103
24130
  id: string;
24104
24131
  };
24132
+ } & {
24133
+ json: {
24134
+ pinned?: boolean | undefined;
24135
+ };
24105
24136
  };
24106
- };
24107
- };
24108
- } & {
24109
- "/runs/:id/pin": {
24110
- $post: {
24137
+ } | {
24111
24138
  output: {
24112
24139
  error: string;
24113
- code?: "invalid_input" | undefined;
24114
24140
  };
24115
24141
  outputFormat: "json";
24116
- status: 400;
24142
+ status: 404;
24117
24143
  input: {
24118
24144
  param: {
24119
24145
  id: string;
@@ -25209,6 +25235,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25209
25235
  archivedAt: string;
25210
25236
  fingerprint: string;
25211
25237
  pullRequests: {
25238
+ host?: string | undefined;
25212
25239
  owner: string;
25213
25240
  repo: string;
25214
25241
  number: number;
@@ -25302,21 +25329,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25302
25329
  pinned?: boolean | undefined;
25303
25330
  };
25304
25331
  };
25305
- } | {
25306
- output: {
25307
- error: string;
25308
- };
25309
- outputFormat: "json";
25310
- status: 404;
25311
- input: {
25312
- param: {
25313
- id: string;
25314
- };
25315
- } & {
25316
- json: {
25317
- pinned?: boolean | undefined;
25318
- };
25319
- };
25320
25332
  };
25321
25333
  };
25322
25334
  } & {
@@ -25343,7 +25355,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25343
25355
  error: string;
25344
25356
  };
25345
25357
  outputFormat: "json";
25346
- status: 404;
25358
+ status: 400;
25347
25359
  input: {
25348
25360
  param: {
25349
25361
  id: string;
@@ -25359,7 +25371,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25359
25371
  error: string;
25360
25372
  };
25361
25373
  outputFormat: "json";
25362
- status: 400;
25374
+ status: 404;
25363
25375
  input: {
25364
25376
  param: {
25365
25377
  id: string;
@@ -26156,6 +26168,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26156
26168
  archivedAt: string;
26157
26169
  fingerprint: string;
26158
26170
  pullRequests: {
26171
+ host?: string | undefined;
26159
26172
  owner: string;
26160
26173
  repo: string;
26161
26174
  number: number;
@@ -26581,6 +26594,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26581
26594
  } & {
26582
26595
  "/runs/:id/read": {
26583
26596
  $post: {
26597
+ output: {
26598
+ error: string;
26599
+ };
26600
+ outputFormat: "json";
26601
+ status: 404;
26602
+ input: {
26603
+ param: {
26604
+ id: string;
26605
+ };
26606
+ };
26607
+ } | {
26584
26608
  output: {
26585
26609
  archiveWhenDone?: boolean | undefined;
26586
26610
  autoMergePr?: boolean | undefined;
@@ -27666,6 +27690,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27666
27690
  archivedAt: string;
27667
27691
  fingerprint: string;
27668
27692
  pullRequests: {
27693
+ host?: string | undefined;
27669
27694
  owner: string;
27670
27695
  repo: string;
27671
27696
  number: number;
@@ -27755,7 +27780,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27755
27780
  id: string;
27756
27781
  };
27757
27782
  };
27758
- } | {
27783
+ };
27784
+ };
27785
+ } & {
27786
+ "/runs/:id/unread": {
27787
+ $post: {
27759
27788
  output: {
27760
27789
  error: string;
27761
27790
  };
@@ -27766,11 +27795,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27766
27795
  id: string;
27767
27796
  };
27768
27797
  };
27769
- };
27770
- };
27771
- } & {
27772
- "/runs/:id/unread": {
27773
- $post: {
27798
+ } | {
27774
27799
  output: {
27775
27800
  archiveWhenDone?: boolean | undefined;
27776
27801
  autoMergePr?: boolean | undefined;
@@ -28856,6 +28881,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28856
28881
  archivedAt: string;
28857
28882
  fingerprint: string;
28858
28883
  pullRequests: {
28884
+ host?: string | undefined;
28859
28885
  owner: string;
28860
28886
  repo: string;
28861
28887
  number: number;
@@ -28945,17 +28971,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28945
28971
  id: string;
28946
28972
  };
28947
28973
  };
28948
- } | {
28949
- output: {
28950
- error: string;
28951
- };
28952
- outputFormat: "json";
28953
- status: 404;
28954
- input: {
28955
- param: {
28956
- id: string;
28957
- };
28958
- };
28959
28974
  };
28960
28975
  };
28961
28976
  } & {
@@ -29746,6 +29761,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29746
29761
  archivedAt: string;
29747
29762
  fingerprint: string;
29748
29763
  pullRequests: {
29764
+ host?: string | undefined;
29749
29765
  owner: string;
29750
29766
  repo: string;
29751
29767
  number: number;
@@ -30231,6 +30247,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30231
30247
  } & {
30232
30248
  "/runs/:id": {
30233
30249
  $get: {
30250
+ output: {
30251
+ error: string;
30252
+ };
30253
+ outputFormat: "json";
30254
+ status: 404;
30255
+ input: {
30256
+ param: {
30257
+ id: string;
30258
+ };
30259
+ };
30260
+ } | {
30234
30261
  output: {
30235
30262
  archiveWhenDone?: boolean | undefined;
30236
30263
  autoMergePr?: boolean | undefined;
@@ -31316,6 +31343,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31316
31343
  archivedAt: string;
31317
31344
  fingerprint: string;
31318
31345
  pullRequests: {
31346
+ host?: string | undefined;
31319
31347
  owner: string;
31320
31348
  repo: string;
31321
31349
  number: number;
@@ -31413,17 +31441,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31413
31441
  id: string;
31414
31442
  };
31415
31443
  };
31416
- } | {
31417
- output: {
31418
- error: string;
31419
- };
31420
- outputFormat: "json";
31421
- status: 404;
31422
- input: {
31423
- param: {
31424
- id: string;
31425
- };
31426
- };
31427
31444
  };
31428
31445
  };
31429
31446
  } & {
@@ -31551,6 +31568,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31551
31568
  } & {
31552
31569
  "/runs/:id": {
31553
31570
  $patch: {
31571
+ output: {
31572
+ error: string;
31573
+ };
31574
+ outputFormat: "json";
31575
+ status: 400;
31576
+ input: {
31577
+ json: {
31578
+ archiveWhenDone?: boolean | undefined;
31579
+ autoMergePr?: boolean | undefined;
31580
+ allowWorkers?: boolean | undefined;
31581
+ allowMessaging?: boolean | undefined;
31582
+ title?: string | undefined;
31583
+ task?: string | undefined;
31584
+ };
31585
+ } & {
31586
+ param: {
31587
+ id: string;
31588
+ };
31589
+ };
31590
+ } | {
31591
+ output: {
31592
+ error: string;
31593
+ };
31594
+ outputFormat: "json";
31595
+ status: 404;
31596
+ input: {
31597
+ json: {
31598
+ archiveWhenDone?: boolean | undefined;
31599
+ autoMergePr?: boolean | undefined;
31600
+ allowWorkers?: boolean | undefined;
31601
+ allowMessaging?: boolean | undefined;
31602
+ title?: string | undefined;
31603
+ task?: string | undefined;
31604
+ };
31605
+ } & {
31606
+ param: {
31607
+ id: string;
31608
+ };
31609
+ };
31610
+ } | {
31611
+ output: {
31612
+ error: string;
31613
+ };
31614
+ outputFormat: "json";
31615
+ status: 409;
31616
+ input: {
31617
+ json: {
31618
+ archiveWhenDone?: boolean | undefined;
31619
+ autoMergePr?: boolean | undefined;
31620
+ allowWorkers?: boolean | undefined;
31621
+ allowMessaging?: boolean | undefined;
31622
+ title?: string | undefined;
31623
+ task?: string | undefined;
31624
+ };
31625
+ } & {
31626
+ param: {
31627
+ id: string;
31628
+ };
31629
+ };
31630
+ } | {
31554
31631
  output: {
31555
31632
  archiveWhenDone?: boolean | undefined;
31556
31633
  autoMergePr?: boolean | undefined;
@@ -32336,6 +32413,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32336
32413
  archivedAt: string;
32337
32414
  fingerprint: string;
32338
32415
  pullRequests: {
32416
+ host?: string | undefined;
32339
32417
  owner: string;
32340
32418
  repo: string;
32341
32419
  number: number;
@@ -32734,66 +32812,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32734
32812
  id: string;
32735
32813
  };
32736
32814
  };
32737
- } | {
32738
- output: {
32739
- error: string;
32740
- };
32741
- outputFormat: "json";
32742
- status: 404;
32743
- input: {
32744
- json: {
32745
- archiveWhenDone?: boolean | undefined;
32746
- autoMergePr?: boolean | undefined;
32747
- allowWorkers?: boolean | undefined;
32748
- allowMessaging?: boolean | undefined;
32749
- title?: string | undefined;
32750
- task?: string | undefined;
32751
- };
32752
- } & {
32753
- param: {
32754
- id: string;
32755
- };
32756
- };
32757
- } | {
32758
- output: {
32759
- error: string;
32760
- };
32761
- outputFormat: "json";
32762
- status: 400;
32763
- input: {
32764
- json: {
32765
- archiveWhenDone?: boolean | undefined;
32766
- autoMergePr?: boolean | undefined;
32767
- allowWorkers?: boolean | undefined;
32768
- allowMessaging?: boolean | undefined;
32769
- title?: string | undefined;
32770
- task?: string | undefined;
32771
- };
32772
- } & {
32773
- param: {
32774
- id: string;
32775
- };
32776
- };
32777
- } | {
32778
- output: {
32779
- error: string;
32780
- };
32781
- outputFormat: "json";
32782
- status: 409;
32783
- input: {
32784
- json: {
32785
- archiveWhenDone?: boolean | undefined;
32786
- autoMergePr?: boolean | undefined;
32787
- allowWorkers?: boolean | undefined;
32788
- allowMessaging?: boolean | undefined;
32789
- title?: string | undefined;
32790
- task?: string | undefined;
32791
- };
32792
- } & {
32793
- param: {
32794
- id: string;
32795
- };
32796
- };
32797
32815
  };
32798
32816
  };
32799
32817
  } & {
@@ -32898,7 +32916,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32898
32916
  error: string;
32899
32917
  };
32900
32918
  outputFormat: "json";
32901
- status: 404;
32919
+ status: 400;
32902
32920
  input: {
32903
32921
  json: {
32904
32922
  text?: string | undefined;
@@ -32917,7 +32935,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32917
32935
  error: string;
32918
32936
  };
32919
32937
  outputFormat: "json";
32920
- status: 409;
32938
+ status: 404;
32921
32939
  input: {
32922
32940
  json: {
32923
32941
  text?: string | undefined;
@@ -32933,10 +32951,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32933
32951
  };
32934
32952
  } | {
32935
32953
  output: {
32936
- delivered: true;
32954
+ error: string;
32937
32955
  };
32938
32956
  outputFormat: "json";
32939
- status: import("hono/utils/http-status").ContentfulStatusCode;
32957
+ status: 409;
32940
32958
  input: {
32941
32959
  json: {
32942
32960
  text?: string | undefined;
@@ -32952,10 +32970,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32952
32970
  };
32953
32971
  } | {
32954
32972
  output: {
32955
- error: string;
32973
+ delivered: true;
32956
32974
  };
32957
32975
  outputFormat: "json";
32958
- status: 400;
32976
+ status: import("hono/utils/http-status").ContentfulStatusCode;
32959
32977
  input: {
32960
32978
  json: {
32961
32979
  text?: string | undefined;
@@ -33023,7 +33041,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33023
33041
  error: string;
33024
33042
  };
33025
33043
  outputFormat: "json";
33026
- status: 404;
33044
+ status: 400;
33027
33045
  input: {
33028
33046
  json: {
33029
33047
  text?: string | undefined;
@@ -33044,7 +33062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33044
33062
  error: string;
33045
33063
  };
33046
33064
  outputFormat: "json";
33047
- status: 400;
33065
+ status: 404;
33048
33066
  input: {
33049
33067
  json: {
33050
33068
  text?: string | undefined;
@@ -33264,10 +33282,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33264
33282
  "/runs/:id/open-in-cli": {
33265
33283
  $post: {
33266
33284
  output: {
33267
- error: string;
33285
+ opened: true;
33286
+ command: string;
33268
33287
  };
33269
33288
  outputFormat: "json";
33270
- status: 404 | 409;
33289
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33271
33290
  input: {
33272
33291
  param: {
33273
33292
  id: string;
@@ -33275,11 +33294,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33275
33294
  };
33276
33295
  } | {
33277
33296
  output: {
33278
- opened: true;
33279
- command: string;
33297
+ error: string;
33280
33298
  };
33281
33299
  outputFormat: "json";
33282
- status: import("hono/utils/http-status").ContentfulStatusCode;
33300
+ status: 404 | 409;
33283
33301
  input: {
33284
33302
  param: {
33285
33303
  id: string;
@@ -33294,7 +33312,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33294
33312
  error: string;
33295
33313
  };
33296
33314
  outputFormat: "json";
33297
- status: 404 | 409;
33315
+ status: 400;
33298
33316
  input: {
33299
33317
  json: {
33300
33318
  target: string;
@@ -33307,10 +33325,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33307
33325
  };
33308
33326
  } | {
33309
33327
  output: {
33310
- error: string;
33328
+ opened: true;
33329
+ path: string;
33311
33330
  };
33312
33331
  outputFormat: "json";
33313
- status: 400;
33332
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33314
33333
  input: {
33315
33334
  json: {
33316
33335
  target: string;
@@ -33323,11 +33342,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33323
33342
  };
33324
33343
  } | {
33325
33344
  output: {
33326
- opened: true;
33327
- path: string;
33345
+ error: string;
33328
33346
  };
33329
33347
  outputFormat: "json";
33330
- status: import("hono/utils/http-status").ContentfulStatusCode;
33348
+ status: 404 | 409;
33331
33349
  input: {
33332
33350
  json: {
33333
33351
  target: string;
@@ -33343,20 +33361,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33343
33361
  } & {
33344
33362
  "/runs/:id/handoff": {
33345
33363
  $get: {
33346
- output: {
33347
- error: string;
33348
- };
33349
- outputFormat: "json";
33350
- status: 404;
33364
+ output: string;
33365
+ outputFormat: "text";
33366
+ status: 200;
33351
33367
  input: {
33352
33368
  param: {
33353
33369
  id: string;
33354
33370
  };
33355
33371
  };
33356
33372
  } | {
33357
- output: string;
33358
- outputFormat: "text";
33359
- status: 200;
33373
+ output: {
33374
+ error: string;
33375
+ };
33376
+ outputFormat: "json";
33377
+ status: 404;
33360
33378
  input: {
33361
33379
  param: {
33362
33380
  id: string;
@@ -33367,9 +33385,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33367
33385
  } & {
33368
33386
  "/runs/:id/images/:file": {
33369
33387
  $get: {
33370
- output: {};
33371
- outputFormat: string;
33372
- status: import("hono/utils/http-status").StatusCode;
33388
+ output: {
33389
+ error: string;
33390
+ code?: "invalid_input" | undefined;
33391
+ };
33392
+ outputFormat: "json";
33393
+ status: 400;
33373
33394
  input: {
33374
33395
  param: {
33375
33396
  id: string;
@@ -33377,12 +33398,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33377
33398
  };
33378
33399
  };
33379
33400
  } | {
33380
- output: {
33381
- error: string;
33382
- code?: "invalid_input" | undefined;
33383
- };
33384
- outputFormat: "json";
33385
- status: 400;
33401
+ output: {};
33402
+ outputFormat: string;
33403
+ status: import("hono/utils/http-status").StatusCode;
33386
33404
  input: {
33387
33405
  param: {
33388
33406
  id: string;
@@ -33394,17 +33412,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33394
33412
  } & {
33395
33413
  "/runs/:id/diff": {
33396
33414
  $get: {
33397
- output: {
33398
- error: string;
33399
- };
33400
- outputFormat: "json";
33401
- status: 404 | 409;
33402
- input: {
33403
- param: {
33404
- id: string;
33405
- };
33406
- };
33407
- } | {
33408
33415
  output: string;
33409
33416
  outputFormat: "text";
33410
33417
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33413,11 +33420,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33413
33420
  id: string;
33414
33421
  };
33415
33422
  };
33416
- };
33417
- };
33418
- } & {
33419
- "/runs/:id/changes": {
33420
- $get: {
33423
+ } | {
33421
33424
  output: {
33422
33425
  error: string;
33423
33426
  };
@@ -33428,7 +33431,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33428
33431
  id: string;
33429
33432
  };
33430
33433
  };
33431
- } | {
33434
+ };
33435
+ };
33436
+ } & {
33437
+ "/runs/:id/changes": {
33438
+ $get: {
33432
33439
  output: {
33433
33440
  files: {
33434
33441
  path: string;
@@ -33457,11 +33464,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33457
33464
  id: string;
33458
33465
  };
33459
33466
  };
33460
- };
33461
- };
33462
- } & {
33463
- "/runs/:id/commits": {
33464
- $get: {
33467
+ } | {
33465
33468
  output: {
33466
33469
  error: string;
33467
33470
  };
@@ -33472,7 +33475,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33472
33475
  id: string;
33473
33476
  };
33474
33477
  };
33475
- } | {
33478
+ };
33479
+ };
33480
+ } & {
33481
+ "/runs/:id/commits": {
33482
+ $get: {
33476
33483
  output: {
33477
33484
  commits: {
33478
33485
  sha: string;
@@ -33488,11 +33495,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33488
33495
  id: string;
33489
33496
  };
33490
33497
  };
33491
- };
33492
- };
33493
- } & {
33494
- "/runs/:id/commit/:sha": {
33495
- $get: {
33498
+ } | {
33496
33499
  output: {
33497
33500
  error: string;
33498
33501
  };
@@ -33500,12 +33503,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33500
33503
  status: 404 | 409;
33501
33504
  input: {
33502
33505
  param: {
33503
- sha: string;
33504
- } & {
33505
33506
  id: string;
33506
33507
  };
33507
33508
  };
33508
- } | {
33509
+ };
33510
+ };
33511
+ } & {
33512
+ "/runs/:id/commit/:sha": {
33513
+ $get: {
33509
33514
  output: {
33510
33515
  sha: string;
33511
33516
  subject: string;
@@ -33531,9 +33536,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33531
33536
  status: import("hono/utils/http-status").ContentfulStatusCode;
33532
33537
  input: {
33533
33538
  param: {
33534
- sha: string;
33539
+ id: string;
33535
33540
  } & {
33541
+ sha: string;
33542
+ };
33543
+ };
33544
+ } | {
33545
+ output: {
33546
+ error: string;
33547
+ };
33548
+ outputFormat: "json";
33549
+ status: 404 | 409;
33550
+ input: {
33551
+ param: {
33536
33552
  id: string;
33553
+ } & {
33554
+ sha: string;
33537
33555
  };
33538
33556
  };
33539
33557
  };
@@ -33571,22 +33589,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33571
33589
  raw?: "1" | undefined;
33572
33590
  };
33573
33591
  };
33574
- } | {
33575
- output: {
33576
- error: string;
33577
- };
33578
- outputFormat: "json";
33579
- status: 404 | 409;
33580
- input: {
33581
- param: {
33582
- id: string;
33583
- };
33584
- } & {
33585
- query: {
33586
- path: string | string[];
33587
- raw?: "1" | undefined;
33588
- };
33589
- };
33590
33592
  } | {
33591
33593
  output: {
33592
33594
  type: "file";
@@ -33623,6 +33625,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33623
33625
  raw?: "1" | undefined;
33624
33626
  };
33625
33627
  };
33628
+ } | {
33629
+ output: {
33630
+ error: string;
33631
+ };
33632
+ outputFormat: "json";
33633
+ status: 404 | 409;
33634
+ input: {
33635
+ param: {
33636
+ id: string;
33637
+ };
33638
+ } & {
33639
+ query: {
33640
+ path: string | string[];
33641
+ raw?: "1" | undefined;
33642
+ };
33643
+ };
33626
33644
  };
33627
33645
  };
33628
33646
  } & {
@@ -33687,6 +33705,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33687
33705
  artifactId: string;
33688
33706
  };
33689
33707
  };
33708
+ } | {
33709
+ output: {
33710
+ error: string;
33711
+ };
33712
+ outputFormat: "json";
33713
+ status: 404;
33714
+ input: {
33715
+ param: {
33716
+ id: string;
33717
+ artifactId: string;
33718
+ };
33719
+ };
33690
33720
  } | {
33691
33721
  output: {
33692
33722
  type: "file";
@@ -33715,18 +33745,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33715
33745
  artifactId: string;
33716
33746
  };
33717
33747
  };
33718
- } | {
33719
- output: {
33720
- error: string;
33721
- };
33722
- outputFormat: "json";
33723
- status: 404;
33724
- input: {
33725
- param: {
33726
- id: string;
33727
- artifactId: string;
33728
- };
33729
- };
33730
33748
  };
33731
33749
  };
33732
33750
  } & {
@@ -33904,10 +33922,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33904
33922
  };
33905
33923
  } | {
33906
33924
  output: {
33907
- error: string;
33925
+ type: 'dir';
33926
+ path: string;
33927
+ entries: {
33928
+ name: string;
33929
+ type: 'dir' | 'file';
33930
+ size?: number;
33931
+ }[];
33908
33932
  };
33909
33933
  outputFormat: "json";
33910
- status: 404 | 409;
33934
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33911
33935
  input: {
33912
33936
  query: {
33913
33937
  path?: string | undefined;
@@ -33920,13 +33944,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33920
33944
  };
33921
33945
  } | {
33922
33946
  output: {
33923
- type: 'dir';
33947
+ type: 'file';
33924
33948
  path: string;
33925
- entries: {
33926
- name: string;
33927
- type: 'dir' | 'file';
33928
- size?: number;
33929
- }[];
33949
+ size: number;
33950
+ binary: boolean;
33951
+ tooLarge: boolean;
33952
+ content?: string | undefined;
33930
33953
  };
33931
33954
  outputFormat: "json";
33932
33955
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33942,15 +33965,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33942
33965
  };
33943
33966
  } | {
33944
33967
  output: {
33945
- type: 'file';
33946
- path: string;
33947
- size: number;
33948
- binary: boolean;
33949
- tooLarge: boolean;
33950
- content?: string | undefined;
33968
+ error: string;
33951
33969
  };
33952
33970
  outputFormat: "json";
33953
- status: import("hono/utils/http-status").ContentfulStatusCode;
33971
+ status: 404 | 409;
33954
33972
  input: {
33955
33973
  query: {
33956
33974
  path?: string | undefined;
@@ -33967,10 +33985,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33967
33985
  "/runs/:id/git/commit": {
33968
33986
  $post: {
33969
33987
  output: {
33970
- error: string;
33988
+ committed: true;
33989
+ sha: string;
33971
33990
  };
33972
33991
  outputFormat: "json";
33973
- status: 404 | 409;
33992
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33974
33993
  input: {
33975
33994
  json: {
33976
33995
  message: string;
@@ -33982,11 +34001,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33982
34001
  };
33983
34002
  } | {
33984
34003
  output: {
33985
- committed: true;
33986
- sha: string;
34004
+ error: string;
33987
34005
  };
33988
34006
  outputFormat: "json";
33989
- status: import("hono/utils/http-status").ContentfulStatusCode;
34007
+ status: 404 | 409;
33990
34008
  input: {
33991
34009
  json: {
33992
34010
  message: string;
@@ -34002,10 +34020,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34002
34020
  "/runs/:id/git/push": {
34003
34021
  $post: {
34004
34022
  output: {
34005
- error: string;
34023
+ pushed: true;
34024
+ branch: string;
34025
+ remote: string;
34026
+ upstreamSet: boolean;
34006
34027
  };
34007
34028
  outputFormat: "json";
34008
- status: 404 | 409;
34029
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34009
34030
  input: {
34010
34031
  param: {
34011
34032
  id: string;
@@ -34013,13 +34034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34013
34034
  };
34014
34035
  } | {
34015
34036
  output: {
34016
- pushed: true;
34017
- branch: string;
34018
- remote: string;
34019
- upstreamSet: boolean;
34037
+ error: string;
34020
34038
  };
34021
34039
  outputFormat: "json";
34022
- status: import("hono/utils/http-status").ContentfulStatusCode;
34040
+ status: 404 | 409;
34023
34041
  input: {
34024
34042
  param: {
34025
34043
  id: string;
@@ -34031,10 +34049,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34031
34049
  "/runs/:id/pr": {
34032
34050
  $post: {
34033
34051
  output: {
34034
- error: string;
34052
+ url: string;
34053
+ dryRun: boolean;
34035
34054
  };
34036
34055
  outputFormat: "json";
34037
- status: 404 | 409;
34056
+ status: 201;
34038
34057
  input: {
34039
34058
  param: {
34040
34059
  id: string;
@@ -34042,11 +34061,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34042
34061
  };
34043
34062
  } | {
34044
34063
  output: {
34045
- url: string;
34046
- dryRun: boolean;
34064
+ error: string;
34047
34065
  };
34048
34066
  outputFormat: "json";
34049
- status: 201;
34067
+ status: 404 | 409;
34050
34068
  input: {
34051
34069
  param: {
34052
34070
  id: string;
@@ -34058,10 +34076,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34058
34076
  "/runs/:id/remove-worktree": {
34059
34077
  $post: {
34060
34078
  output: {
34061
- error: string;
34079
+ removed: true;
34062
34080
  };
34063
34081
  outputFormat: "json";
34064
- status: 404 | 409;
34082
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34065
34083
  input: {
34066
34084
  param: {
34067
34085
  id: string;
@@ -34069,10 +34087,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34069
34087
  };
34070
34088
  } | {
34071
34089
  output: {
34072
- removed: true;
34090
+ error: string;
34073
34091
  };
34074
34092
  outputFormat: "json";
34075
- status: import("hono/utils/http-status").ContentfulStatusCode;
34093
+ status: 404 | 409;
34076
34094
  input: {
34077
34095
  param: {
34078
34096
  id: string;
@@ -34084,10 +34102,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34084
34102
  "/runs/:id": {
34085
34103
  $delete: {
34086
34104
  output: {
34087
- error: string;
34105
+ deleted: true;
34088
34106
  };
34089
34107
  outputFormat: "json";
34090
- status: 404 | 409;
34108
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34091
34109
  input: {
34092
34110
  param: {
34093
34111
  id: string;
@@ -34095,10 +34113,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34095
34113
  };
34096
34114
  } | {
34097
34115
  output: {
34098
- deleted: true;
34116
+ error: string;
34099
34117
  };
34100
34118
  outputFormat: "json";
34101
- status: import("hono/utils/http-status").ContentfulStatusCode;
34119
+ status: 404 | 409;
34102
34120
  input: {
34103
34121
  param: {
34104
34122
  id: string;