@hearsay-tools/squawk 0.19.0-pr4457.8756 → 0.19.0-pr4457.8764

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 (64) hide show
  1. package/dist/core/http-route-registry.js +3 -0
  2. package/dist/core/http-route-registry.js.map +1 -1
  3. package/dist/server/live-routes.d.ts +6 -6
  4. package/dist/server/plugin-http-routes.d.ts +26 -9
  5. package/dist/server/plugin-http-routes.js +95 -27
  6. package/dist/server/plugin-http-routes.js.map +1 -1
  7. package/dist/server/projects-routes.d.ts +45 -45
  8. package/dist/server/runners-routes.d.ts +10 -10
  9. package/dist/server/runs-routes.d.ts +16 -16
  10. package/dist/server/server.d.ts +1206 -1212
  11. package/dist/server/server.js +31 -55
  12. package/dist/server/server.js.map +1 -1
  13. package/dist/server/workspace-routes.d.ts +84 -84
  14. package/dist/server/ws.d.ts +6 -0
  15. package/dist/server/ws.js +41 -0
  16. package/dist/server/ws.js.map +1 -1
  17. package/package.json +4 -4
  18. package/web/dist/assets/{accounts-section-CqJiDoKE.js → accounts-section-DhS7blSK.js} +1 -1
  19. package/web/dist/assets/activity-motion-aJkLHTxc.js +1 -0
  20. package/web/dist/assets/{activity-route-DOcAtf9i.js → activity-route-D2sff_BA.js} +1 -1
  21. package/web/dist/assets/{agent-config-section-B6lCNWlM.js → agent-config-section-C7SMwOgZ.js} +1 -1
  22. package/web/dist/assets/{agent-defaults-section-DHwkBXuz.js → agent-defaults-section-CvMgsSLY.js} +1 -1
  23. package/web/dist/assets/{appearance-DEK8ezEQ.js → appearance-44RH8bum.js} +1 -1
  24. package/web/dist/assets/{automations-route-BXoyFkhx.js → automations-route-CygHw9Ni.js} +1 -1
  25. package/web/dist/assets/{commit-list-DjhAXNOu.js → commit-list-Djmz3j1l.js} +1 -1
  26. package/web/dist/assets/{diff-eQ6oM_Ti.js → diff-ByLut7n4.js} +2 -2
  27. package/web/dist/assets/{diff-controls-CYiGOTLb.js → diff-controls-BEVRwCau.js} +1 -1
  28. package/web/dist/assets/{diff-view-kgRbXZ06.js → diff-view-kvjafBI7.js} +1 -1
  29. package/web/dist/assets/{file-preview-D5Mc18GN.js → file-preview-Ce0Jsxbm.js} +1 -1
  30. package/web/dist/assets/{git-toolbar-BYCPpYE3.js → git-toolbar-Cn1ASnMZ.js} +1 -1
  31. package/web/dist/assets/{github-B0s8RT3R.js → github-CxYmUkO9.js} +1 -1
  32. package/web/dist/assets/{global-activity-route-DTNGyGoC.js → global-activity-route-ALFcEqug.js} +2 -2
  33. package/web/dist/assets/{index-DwDvloUQ.js → index-BZr8Y74X.js} +4 -4
  34. package/web/dist/assets/{markdown-jbBslIIT.js → markdown-BRNtAZkY.js} +1 -1
  35. package/web/dist/assets/{notifications-section-C1aUjb3n.js → notifications-section-C_IsaiyD.js} +1 -1
  36. package/web/dist/assets/{preview-pane-connected-ChoZcfZF.js → preview-pane-connected-DzajVDzR.js} +1 -1
  37. package/web/dist/assets/{projects-section-Dlz2V18-.js → projects-section-Cme2qWcF.js} +1 -1
  38. package/web/dist/assets/{prompt-templates-section-KYeZJ5it.js → prompt-templates-section-DVr3aKc-.js} +1 -1
  39. package/web/dist/assets/{remote-settings-notice-CXNs2m11.js → remote-settings-notice-BFeWL9QB.js} +1 -1
  40. package/web/dist/assets/{repo-git-xHDvySA0.js → repo-git-C3YNr0yL.js} +1 -1
  41. package/web/dist/assets/{report-reader-pkkocX-w.js → report-reader-Bm0J3ujk.js} +1 -1
  42. package/web/dist/assets/{reports-DE76L7r9.js → reports-CNL2zChD.js} +1 -1
  43. package/web/dist/assets/{resources-section-CsyiFux8.js → resources-section-BymE7-3T.js} +1 -1
  44. package/web/dist/assets/{review-panel-CLsVpcPr.js → review-panel-3oSwii0J.js} +1 -1
  45. package/web/dist/assets/{run-header-kGdJVGJm.js → run-header-CI49Lba9.js} +1 -1
  46. package/web/dist/assets/{select-BH4KzC9I.js → select-DEqrvCmQ.js} +1 -1
  47. package/web/dist/assets/{session-context-section-CQaaWpJ6.js → session-context-section-oK9zU15I.js} +1 -1
  48. package/web/dist/assets/{settings-agent-picker-Cv_4wnFI.js → settings-agent-picker-BqRDs5nQ.js} +1 -1
  49. package/web/dist/assets/{settings-shell-CG6eFmsm.js → settings-shell-11SRBczO.js} +1 -1
  50. package/web/dist/assets/{sidebar-section-CcO5Q0as.js → sidebar-section-DujeUKJ0.js} +1 -1
  51. package/web/dist/assets/{skills-C2TtFkX0.js → skills-B6vquPg1.js} +1 -1
  52. package/web/dist/assets/{task-changes-CS7sYCut.js → task-changes-t473lMAF.js} +1 -1
  53. package/web/dist/assets/{task-commits-B0HDJ95C.js → task-commits-CuXxfPY6.js} +1 -1
  54. package/web/dist/assets/{task-file-scope-vwEp2s7o.js → task-file-scope-DK1biohR.js} +1 -1
  55. package/web/dist/assets/{task-files-kehKktnF.js → task-files-C0zhDxod.js} +1 -1
  56. package/web/dist/assets/{task-github-item-BNc2Oyvq.js → task-github-item-CFU1Rbv0.js} +1 -1
  57. package/web/dist/assets/{task-thread-BRpUqs1N.js → task-thread-1BQ5lWbM.js} +1 -1
  58. package/web/dist/assets/{thread-state-B_UW2DqR.js → thread-state-BHI3Jijs.js} +1 -1
  59. package/web/dist/assets/{use-hand-to-agent-state-DzPA14Gk.js → use-hand-to-agent-state-BHAhGcZe.js} +1 -1
  60. package/web/dist/assets/{workflows-CKtzm8xW.js → workflows-BMlXKiaH.js} +1 -1
  61. package/web/dist/assets/{workspace-tools-Br4fSGhx.js → workspace-tools-CsrBXG_p.js} +1 -1
  62. package/web/dist/assets/{worktrees-section-TGAZ2n-T.js → worktrees-section-DvFx6o_A.js} +1 -1
  63. package/web/dist/index.html +1 -1
  64. package/web/dist/assets/activity-motion-BrtMWCAJ.js +0 -1
@@ -6,7 +6,6 @@ import { type WorkspaceProjects } from './workspace-projects.ts';
6
6
  import { type WorkerCleanupFactory } from '../delegation/service.ts';
7
7
  import type { DelegationController } from '../delegation/provision.ts';
8
8
  import { AutomationStore } from '../automations/store.ts';
9
- import type { IncomingMessage } from 'node:http';
10
9
  import { Hono } from 'hono';
11
10
  import { TaskWebhooks } from '../runs/webhook.ts';
12
11
  import type { HttpRouteDefinition } from '../core/http-route-registry.ts';
@@ -20,7 +19,7 @@ import { WorkspaceSemaphore } from '../workspace/semaphore.ts';
20
19
  import { type CloneRunner } from './checkout.ts';
21
20
  import { type CommandRunner } from './create-project.ts';
22
21
  import { ProjectContexts, type ProjectRunManager, type RunManagerFactory } from './project-context.ts';
23
- import type { SocketHub, WsUpgradeVerdict } from './ws.ts';
22
+ import type { SocketHub } from './ws.ts';
24
23
  import type { PreviewHost } from '../preview/host.ts';
25
24
  import { type ForgeFactory } from './forge/index.ts';
26
25
  import { type CockpitOwnership } from './cockpit-ownership.ts';
@@ -159,7 +158,7 @@ export interface ProjectRouteInfo {
159
158
  export declare function projectRouteManifest(app: Hono): ProjectRouteInfo[];
160
159
  export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse, UpdateProjectResponse } from '../contract/index.js';
161
160
  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<{
162
- "/fs/browse": {
161
+ "/models": {
163
162
  $get: {
164
163
  output: {
165
164
  error: string;
@@ -169,27 +168,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
169
168
  status: 400;
170
169
  input: {
171
170
  query: {
172
- path?: string | undefined;
173
- showHidden?: string | undefined;
171
+ runner: string | string[];
172
+ profileId?: string | undefined;
174
173
  };
175
174
  };
176
175
  } | {
177
176
  output: {
178
- path: string;
179
- parent: string | null;
180
- dirs: {
181
- name: string;
182
- path: string;
183
- isRepo: boolean;
177
+ runner: string;
178
+ models: {
179
+ id: string;
180
+ label: string;
181
+ description: string;
182
+ effortLevels?: import('../contract/index.js').EffortLevel[];
184
183
  }[];
185
- truncated: boolean;
184
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
185
+ stale: boolean;
186
+ reason?: string;
186
187
  };
187
188
  outputFormat: "json";
188
189
  status: import("hono/utils/http-status").ContentfulStatusCode;
189
190
  input: {
190
191
  query: {
191
- path?: string | undefined;
192
- showHidden?: string | undefined;
192
+ runner: string | string[];
193
+ profileId?: string | undefined;
193
194
  };
194
195
  };
195
196
  } | {
@@ -197,17 +198,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
197
198
  error: string;
198
199
  };
199
200
  outputFormat: "json";
200
- status: 400 | 403 | 404;
201
+ status: 400;
201
202
  input: {
202
203
  query: {
203
- path?: string | undefined;
204
- showHidden?: string | undefined;
204
+ runner: string | string[];
205
+ profileId?: string | undefined;
205
206
  };
206
207
  };
207
208
  };
208
209
  };
209
210
  }, "/"> | import("hono/types").MergeSchemaPath<{
210
- "/workspace/events": {
211
+ "/fs/browse": {
211
212
  $get: {
212
213
  output: {
213
214
  error: string;
@@ -217,10 +218,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
217
218
  status: 400;
218
219
  input: {
219
220
  query: {
220
- runs?: "summary" | undefined;
221
+ path?: string | undefined;
222
+ showHidden?: string | undefined;
221
223
  };
222
224
  };
223
225
  } | {
226
+ output: {
227
+ error: string;
228
+ };
229
+ outputFormat: "json";
230
+ status: 400 | 403 | 404;
231
+ input: {
232
+ query: {
233
+ path?: string | undefined;
234
+ showHidden?: string | undefined;
235
+ };
236
+ };
237
+ } | {
238
+ output: {
239
+ path: string;
240
+ parent: string | null;
241
+ dirs: {
242
+ name: string;
243
+ path: string;
244
+ isRepo: boolean;
245
+ }[];
246
+ truncated: boolean;
247
+ };
248
+ outputFormat: "json";
249
+ status: import("hono/utils/http-status").ContentfulStatusCode;
250
+ input: {
251
+ query: {
252
+ path?: string | undefined;
253
+ showHidden?: string | undefined;
254
+ };
255
+ };
256
+ };
257
+ };
258
+ }, "/"> | import("hono/types").MergeSchemaPath<{
259
+ "/workspace/events": {
260
+ $get: {
224
261
  output: {};
225
262
  outputFormat: string;
226
263
  status: import("hono/utils/http-status").StatusCode;
@@ -229,6 +266,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
229
266
  runs?: "summary" | undefined;
230
267
  };
231
268
  };
269
+ } | {
270
+ output: {
271
+ error: string;
272
+ code?: "invalid_input" | undefined;
273
+ };
274
+ outputFormat: "json";
275
+ status: 400;
276
+ input: {
277
+ query: {
278
+ runs?: "summary" | undefined;
279
+ };
280
+ };
232
281
  };
233
282
  };
234
283
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -290,7 +339,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
290
339
  };
291
340
  };
292
341
  }, "/"> | import("hono/types").MergeSchemaPath<{
293
- "/models": {
342
+ "/workspace/activity": {
294
343
  $get: {
295
344
  output: {
296
345
  error: string;
@@ -300,8 +349,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
300
349
  status: 400;
301
350
  input: {
302
351
  query: {
303
- runner: string | string[];
304
- profileId?: string | undefined;
352
+ project?: string | undefined;
305
353
  };
306
354
  };
307
355
  } | {
@@ -309,39 +357,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
309
357
  error: string;
310
358
  };
311
359
  outputFormat: "json";
312
- status: 400;
360
+ status: 404 | 409 | 503;
313
361
  input: {
314
362
  query: {
315
- runner: string | string[];
316
- profileId?: string | undefined;
363
+ project?: string | undefined;
317
364
  };
318
365
  };
319
366
  } | {
320
- output: {
321
- runner: string;
322
- models: {
323
- id: string;
324
- label: string;
325
- description: string;
326
- effortLevels?: import('../contract/index.js').EffortLevel[];
327
- }[];
328
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
329
- stale: boolean;
330
- reason?: string;
331
- };
332
- outputFormat: "json";
333
- status: import("hono/utils/http-status").ContentfulStatusCode;
334
- input: {
335
- query: {
336
- runner: string | string[];
337
- profileId?: string | undefined;
338
- };
339
- };
340
- };
341
- };
342
- }, "/"> | import("hono/types").MergeSchemaPath<{
343
- "/workspace/activity": {
344
- $get: {
345
367
  output: {
346
368
  generatedAt: string;
347
369
  projects: {
@@ -592,29 +614,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
592
614
  project?: string | undefined;
593
615
  };
594
616
  };
595
- } | {
596
- output: {
597
- error: string;
598
- code?: "invalid_input" | undefined;
599
- };
600
- outputFormat: "json";
601
- status: 400;
602
- input: {
603
- query: {
604
- project?: string | undefined;
605
- };
606
- };
607
- } | {
608
- output: {
609
- error: string;
610
- };
611
- outputFormat: "json";
612
- status: 404 | 409 | 503;
613
- input: {
614
- query: {
615
- project?: string | undefined;
616
- };
617
- };
618
617
  };
619
618
  };
620
619
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -971,10 +970,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
971
970
  "/workspace/config": {
972
971
  $put: {
973
972
  output: {
974
- error: string;
973
+ browseRoot: string;
974
+ projectsDir: string;
975
+ archiveOnMerge: boolean | null;
976
+ effectiveArchiveOnMerge: boolean;
977
+ archiveOnMergeSource: "default" | "environment" | "global";
978
+ composerDefaults: {
979
+ autonomous: boolean | null;
980
+ worktree: boolean | null;
981
+ inheritedAutonomous: "source-dependent" | boolean;
982
+ inheritedWorktree: boolean;
983
+ };
984
+ resources: {
985
+ maxParallel: number;
986
+ maxMonitoringSessions: number;
987
+ monitoringWakeIntervalMinutes: number | null;
988
+ autoResumeOnUsageLimit: boolean;
989
+ memoryLimitMb: number | null;
990
+ worktreeRetentionDefault: number;
991
+ };
992
+ agentDefaults: {
993
+ runner?: string | undefined;
994
+ models?: {
995
+ [x: string]: string | undefined;
996
+ } | undefined;
997
+ };
975
998
  };
976
999
  outputFormat: "json";
977
- status: 400;
1000
+ status: import("hono/utils/http-status").ContentfulStatusCode;
978
1001
  input: {
979
1002
  json: {
980
1003
  browseRoot?: string | undefined;
@@ -1003,7 +1026,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1003
1026
  error: string;
1004
1027
  };
1005
1028
  outputFormat: "json";
1006
- status: 500;
1029
+ status: 400;
1007
1030
  input: {
1008
1031
  json: {
1009
1032
  browseRoot?: string | undefined;
@@ -1029,34 +1052,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1029
1052
  };
1030
1053
  } | {
1031
1054
  output: {
1032
- browseRoot: string;
1033
- projectsDir: string;
1034
- archiveOnMerge: boolean | null;
1035
- effectiveArchiveOnMerge: boolean;
1036
- archiveOnMergeSource: "default" | "environment" | "global";
1037
- composerDefaults: {
1038
- autonomous: boolean | null;
1039
- worktree: boolean | null;
1040
- inheritedAutonomous: "source-dependent" | boolean;
1041
- inheritedWorktree: boolean;
1042
- };
1043
- resources: {
1044
- maxParallel: number;
1045
- maxMonitoringSessions: number;
1046
- monitoringWakeIntervalMinutes: number | null;
1047
- autoResumeOnUsageLimit: boolean;
1048
- memoryLimitMb: number | null;
1049
- worktreeRetentionDefault: number;
1050
- };
1051
- agentDefaults: {
1052
- runner?: string | undefined;
1053
- models?: {
1054
- [x: string]: string | undefined;
1055
- } | undefined;
1056
- };
1055
+ error: string;
1057
1056
  };
1058
1057
  outputFormat: "json";
1059
- status: import("hono/utils/http-status").ContentfulStatusCode;
1058
+ status: 500;
1060
1059
  input: {
1061
1060
  json: {
1062
1061
  browseRoot?: string | undefined;
@@ -1127,6 +1126,73 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1127
1126
  } & {
1128
1127
  "/workspace/ui-state": {
1129
1128
  $put: {
1129
+ output: {
1130
+ [x: string]: import("hono/utils/types").JSONValue;
1131
+ sidebar?: {
1132
+ [x: string]: import("hono/utils/types").JSONValue;
1133
+ collapsed?: {
1134
+ [x: string]: boolean;
1135
+ } | undefined;
1136
+ projectOrder?: string[] | undefined;
1137
+ } | undefined;
1138
+ dismissedProviderAuthFailures?: {
1139
+ [x: string]: string | undefined;
1140
+ } | undefined;
1141
+ appearance?: {
1142
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1143
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1144
+ width?: "narrow" | "wide" | undefined;
1145
+ } | undefined;
1146
+ notifications?: {
1147
+ [x: string]: import("hono/utils/types").JSONValue;
1148
+ enabled?: boolean | undefined;
1149
+ } | undefined;
1150
+ taskTable?: {
1151
+ [x: string]: import("hono/utils/types").JSONValue;
1152
+ expandedColumns?: {
1153
+ [x: string]: boolean;
1154
+ } | undefined;
1155
+ } | undefined;
1156
+ lastLocation?: {
1157
+ projectId: string;
1158
+ pathname: string;
1159
+ search?: string | undefined;
1160
+ hash?: string | undefined;
1161
+ } | undefined;
1162
+ };
1163
+ outputFormat: "json";
1164
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1165
+ input: {
1166
+ json: {
1167
+ [x: string]: unknown;
1168
+ appearance?: {
1169
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1170
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1171
+ width?: "narrow" | "wide" | undefined;
1172
+ } | undefined;
1173
+ notifications?: {
1174
+ [x: string]: unknown;
1175
+ enabled?: boolean | undefined;
1176
+ } | undefined;
1177
+ lastLocation?: {
1178
+ projectId: string;
1179
+ pathname: string;
1180
+ search?: string | undefined;
1181
+ hash?: string | undefined;
1182
+ } | undefined;
1183
+ sidebar?: {
1184
+ [x: string]: unknown;
1185
+ collapsed?: Record<string, boolean> | undefined;
1186
+ projectOrder?: string[] | undefined;
1187
+ } | undefined;
1188
+ dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1189
+ taskTable?: {
1190
+ [x: string]: unknown;
1191
+ expandedColumns?: Record<string, boolean> | undefined;
1192
+ } | undefined;
1193
+ };
1194
+ };
1195
+ } | {
1130
1196
  output: {
1131
1197
  error: string;
1132
1198
  };
@@ -1162,73 +1228,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1162
1228
  } | undefined;
1163
1229
  };
1164
1230
  };
1165
- } | {
1166
- output: {
1167
- [x: string]: import("hono/utils/types").JSONValue;
1168
- sidebar?: {
1169
- [x: string]: import("hono/utils/types").JSONValue;
1170
- collapsed?: {
1171
- [x: string]: boolean;
1172
- } | undefined;
1173
- projectOrder?: string[] | undefined;
1174
- } | undefined;
1175
- dismissedProviderAuthFailures?: {
1176
- [x: string]: string | undefined;
1177
- } | undefined;
1178
- appearance?: {
1179
- accent?: "cezarion" | "lime" | "violet" | undefined;
1180
- density?: "comfortable" | "compact" | "ultra" | undefined;
1181
- width?: "narrow" | "wide" | undefined;
1182
- } | undefined;
1183
- notifications?: {
1184
- [x: string]: import("hono/utils/types").JSONValue;
1185
- enabled?: boolean | undefined;
1186
- } | undefined;
1187
- taskTable?: {
1188
- [x: string]: import("hono/utils/types").JSONValue;
1189
- expandedColumns?: {
1190
- [x: string]: boolean;
1191
- } | undefined;
1192
- } | undefined;
1193
- lastLocation?: {
1194
- projectId: string;
1195
- pathname: string;
1196
- search?: string | undefined;
1197
- hash?: string | undefined;
1198
- } | undefined;
1199
- };
1200
- outputFormat: "json";
1201
- status: import("hono/utils/http-status").ContentfulStatusCode;
1202
- input: {
1203
- json: {
1204
- [x: string]: unknown;
1205
- appearance?: {
1206
- accent?: "cezarion" | "lime" | "violet" | undefined;
1207
- density?: "comfortable" | "compact" | "ultra" | undefined;
1208
- width?: "narrow" | "wide" | undefined;
1209
- } | undefined;
1210
- notifications?: {
1211
- [x: string]: unknown;
1212
- enabled?: boolean | undefined;
1213
- } | undefined;
1214
- lastLocation?: {
1215
- projectId: string;
1216
- pathname: string;
1217
- search?: string | undefined;
1218
- hash?: string | undefined;
1219
- } | undefined;
1220
- sidebar?: {
1221
- [x: string]: unknown;
1222
- collapsed?: Record<string, boolean> | undefined;
1223
- projectOrder?: string[] | undefined;
1224
- } | undefined;
1225
- dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1226
- taskTable?: {
1227
- [x: string]: unknown;
1228
- expandedColumns?: Record<string, boolean> | undefined;
1229
- } | undefined;
1230
- };
1231
- };
1232
1231
  };
1233
1232
  };
1234
1233
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1286,10 +1285,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1286
1285
  };
1287
1286
  } | {
1288
1287
  output: {
1289
- error: string;
1288
+ providers: {
1289
+ requiresAccountHome?: boolean | undefined;
1290
+ provider: string;
1291
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1292
+ enabled?: boolean | undefined;
1293
+ hint?: string | undefined;
1294
+ authFailureId?: string | undefined;
1295
+ profileId?: string | undefined;
1296
+ }[];
1290
1297
  };
1291
1298
  outputFormat: "json";
1292
- status: 500;
1299
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1293
1300
  input: {
1294
1301
  param: {
1295
1302
  provider: string;
@@ -1301,18 +1308,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1301
1308
  };
1302
1309
  } | {
1303
1310
  output: {
1304
- providers: {
1305
- requiresAccountHome?: boolean | undefined;
1306
- provider: string;
1307
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1308
- enabled?: boolean | undefined;
1309
- hint?: string | undefined;
1310
- authFailureId?: string | undefined;
1311
- profileId?: string | undefined;
1312
- }[];
1311
+ error: string;
1313
1312
  };
1314
1313
  outputFormat: "json";
1315
- status: import("hono/utils/http-status").ContentfulStatusCode;
1314
+ status: 500;
1316
1315
  input: {
1317
1316
  param: {
1318
1317
  provider: string;
@@ -1344,10 +1343,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1344
1343
  };
1345
1344
  } | {
1346
1345
  output: {
1347
- error: string;
1346
+ providers: {
1347
+ requiresAccountHome?: boolean | undefined;
1348
+ provider: string;
1349
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1350
+ enabled?: boolean | undefined;
1351
+ hint?: string | undefined;
1352
+ authFailureId?: string | undefined;
1353
+ profileId?: string | undefined;
1354
+ }[];
1348
1355
  };
1349
1356
  outputFormat: "json";
1350
- status: 409;
1357
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1351
1358
  input: {
1352
1359
  param: {
1353
1360
  provider: string;
@@ -1359,18 +1366,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1359
1366
  };
1360
1367
  } | {
1361
1368
  output: {
1362
- providers: {
1363
- requiresAccountHome?: boolean | undefined;
1364
- provider: string;
1365
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1366
- enabled?: boolean | undefined;
1367
- hint?: string | undefined;
1368
- authFailureId?: string | undefined;
1369
- profileId?: string | undefined;
1370
- }[];
1369
+ error: string;
1371
1370
  };
1372
1371
  outputFormat: "json";
1373
- status: import("hono/utils/http-status").ContentfulStatusCode;
1372
+ status: 409;
1374
1373
  input: {
1375
1374
  param: {
1376
1375
  provider: string;
@@ -1456,7 +1455,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1456
1455
  error: string;
1457
1456
  };
1458
1457
  outputFormat: "json";
1459
- status: 400;
1458
+ status: 409;
1460
1459
  input: {
1461
1460
  json: {
1462
1461
  provider: string;
@@ -1468,7 +1467,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1468
1467
  error: string;
1469
1468
  };
1470
1469
  outputFormat: "json";
1471
- status: 409;
1470
+ status: 400;
1472
1471
  input: {
1473
1472
  json: {
1474
1473
  provider: string;
@@ -1711,28 +1710,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1711
1710
  "/workspace/agent-profiles": {
1712
1711
  $post: {
1713
1712
  output: {
1714
- profile: {
1715
- id: string;
1716
- provider: string;
1717
- label: string;
1718
- configDir?: string | undefined;
1719
- path?: string | undefined;
1720
- exists: boolean;
1721
- looksValid: boolean;
1722
- isDefault: boolean;
1723
- status?: {
1724
- requiresAccountHome?: boolean | undefined;
1725
- provider: string;
1726
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1727
- enabled?: boolean | undefined;
1728
- hint?: string | undefined;
1729
- authFailureId?: string | undefined;
1730
- profileId?: string | undefined;
1731
- } | undefined;
1732
- };
1713
+ error: string;
1733
1714
  };
1734
1715
  outputFormat: "json";
1735
- status: 201;
1716
+ status: 400;
1736
1717
  input: {
1737
1718
  json: {
1738
1719
  provider: string;
@@ -1745,7 +1726,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1745
1726
  error: string;
1746
1727
  };
1747
1728
  outputFormat: "json";
1748
- status: 400;
1729
+ status: 409;
1749
1730
  input: {
1750
1731
  json: {
1751
1732
  provider: string;
@@ -1758,7 +1739,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1758
1739
  error: string;
1759
1740
  };
1760
1741
  outputFormat: "json";
1761
- status: 409;
1742
+ status: 500;
1762
1743
  input: {
1763
1744
  json: {
1764
1745
  provider: string;
@@ -1768,10 +1749,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1768
1749
  };
1769
1750
  } | {
1770
1751
  output: {
1771
- error: string;
1752
+ profile: {
1753
+ id: string;
1754
+ provider: string;
1755
+ label: string;
1756
+ configDir?: string | undefined;
1757
+ path?: string | undefined;
1758
+ exists: boolean;
1759
+ looksValid: boolean;
1760
+ isDefault: boolean;
1761
+ status?: {
1762
+ requiresAccountHome?: boolean | undefined;
1763
+ provider: string;
1764
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1765
+ enabled?: boolean | undefined;
1766
+ hint?: string | undefined;
1767
+ authFailureId?: string | undefined;
1768
+ profileId?: string | undefined;
1769
+ } | undefined;
1770
+ };
1772
1771
  };
1773
1772
  outputFormat: "json";
1774
- status: 500;
1773
+ status: 201;
1775
1774
  input: {
1776
1775
  json: {
1777
1776
  provider: string;
@@ -1965,7 +1964,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1965
1964
  error: string;
1966
1965
  };
1967
1966
  outputFormat: "json";
1968
- status: 400;
1967
+ status: 404;
1969
1968
  input: {
1970
1969
  json: {
1971
1970
  projectId: string;
@@ -1978,7 +1977,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1978
1977
  error: string;
1979
1978
  };
1980
1979
  outputFormat: "json";
1981
- status: 404;
1980
+ status: 400;
1982
1981
  input: {
1983
1982
  json: {
1984
1983
  projectId: string;
@@ -2042,7 +2041,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2042
2041
  error: string;
2043
2042
  };
2044
2043
  outputFormat: "json";
2045
- status: 404;
2044
+ status: 409;
2046
2045
  input: {
2047
2046
  param: {
2048
2047
  id: string;
@@ -2053,7 +2052,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2053
2052
  error: string;
2054
2053
  };
2055
2054
  outputFormat: "json";
2056
- status: 409;
2055
+ status: 500;
2057
2056
  input: {
2058
2057
  param: {
2059
2058
  id: string;
@@ -2064,7 +2063,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2064
2063
  error: string;
2065
2064
  };
2066
2065
  outputFormat: "json";
2067
- status: 500;
2066
+ status: 404;
2068
2067
  input: {
2069
2068
  param: {
2070
2069
  id: string;
@@ -2128,6 +2127,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2128
2127
  } & {
2129
2128
  "/projects": {
2130
2129
  $post: {
2130
+ output: {
2131
+ error: string;
2132
+ };
2133
+ outputFormat: "json";
2134
+ status: 400 | 500;
2135
+ input: {
2136
+ json: {
2137
+ root: string;
2138
+ };
2139
+ };
2140
+ } | {
2131
2141
  output: {
2132
2142
  project: {
2133
2143
  id: string;
@@ -2158,10 +2168,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2158
2168
  agent: boolean;
2159
2169
  }[] | undefined;
2160
2170
  };
2161
- error?: string | undefined;
2171
+ error: string;
2162
2172
  };
2163
2173
  outputFormat: "json";
2164
- status: 200;
2174
+ status: 409;
2165
2175
  input: {
2166
2176
  json: {
2167
2177
  root: string;
@@ -2198,21 +2208,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2198
2208
  agent: boolean;
2199
2209
  }[] | undefined;
2200
2210
  };
2201
- error: string;
2202
- };
2203
- outputFormat: "json";
2204
- status: 409;
2205
- input: {
2206
- json: {
2207
- root: string;
2208
- };
2209
- };
2210
- } | {
2211
- output: {
2212
- error: string;
2211
+ error?: string | undefined;
2213
2212
  };
2214
2213
  outputFormat: "json";
2215
- status: 400 | 500;
2214
+ status: 200;
2216
2215
  input: {
2217
2216
  json: {
2218
2217
  root: string;
@@ -2371,7 +2370,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2371
2370
  error: string;
2372
2371
  };
2373
2372
  outputFormat: "json";
2374
- status: 400;
2373
+ status: 404;
2375
2374
  input: {
2376
2375
  param: {
2377
2376
  projectId: string;
@@ -2382,7 +2381,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2382
2381
  error: string;
2383
2382
  };
2384
2383
  outputFormat: "json";
2385
- status: 404;
2384
+ status: 400;
2386
2385
  input: {
2387
2386
  param: {
2388
2387
  projectId: string;
@@ -2407,6 +2406,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2407
2406
  } & {
2408
2407
  "/projects/:projectId/webhooks": {
2409
2408
  $post: {
2409
+ output: {
2410
+ error: string;
2411
+ };
2412
+ outputFormat: "json";
2413
+ status: 400 | 404 | 409 | 500;
2414
+ input: {
2415
+ json: {
2416
+ name: string;
2417
+ description?: string | undefined;
2418
+ url: string;
2419
+ token?: string | undefined;
2420
+ tasks?: boolean | undefined;
2421
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2422
+ agent?: boolean | undefined;
2423
+ };
2424
+ } & {
2425
+ param: {
2426
+ projectId: string;
2427
+ };
2428
+ };
2429
+ } | {
2410
2430
  output: {
2411
2431
  project: {
2412
2432
  id: string;
@@ -2465,27 +2485,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2465
2485
  projectId: string;
2466
2486
  };
2467
2487
  };
2468
- } | {
2469
- output: {
2470
- error: string;
2471
- };
2472
- outputFormat: "json";
2473
- status: 400 | 404 | 409 | 500;
2474
- input: {
2475
- json: {
2476
- name: string;
2477
- description?: string | undefined;
2478
- url: string;
2479
- token?: string | undefined;
2480
- tasks?: boolean | undefined;
2481
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2482
- agent?: boolean | undefined;
2483
- };
2484
- } & {
2485
- param: {
2486
- projectId: string;
2487
- };
2488
- };
2489
2488
  };
2490
2489
  };
2491
2490
  } & {
@@ -2683,10 +2682,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2683
2682
  };
2684
2683
  } | {
2685
2684
  output: {
2686
- error: string;
2685
+ ok: boolean;
2686
+ status?: number | undefined;
2687
+ error?: string | undefined;
2688
+ dryRun?: boolean | undefined;
2687
2689
  };
2688
2690
  outputFormat: "json";
2689
- status: 404;
2691
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2690
2692
  input: {
2691
2693
  param: {
2692
2694
  projectId: string;
@@ -2695,13 +2697,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2695
2697
  };
2696
2698
  } | {
2697
2699
  output: {
2698
- ok: boolean;
2699
- status?: number | undefined;
2700
- error?: string | undefined;
2701
- dryRun?: boolean | undefined;
2700
+ error: string;
2702
2701
  };
2703
2702
  outputFormat: "json";
2704
- status: import("hono/utils/http-status").ContentfulStatusCode;
2703
+ status: 404;
2705
2704
  input: {
2706
2705
  param: {
2707
2706
  projectId: string;
@@ -2942,15 +2941,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2942
2941
  "/runner-install/:runner": {
2943
2942
  $post: {
2944
2943
  output: {
2945
- supported: boolean;
2946
- installedVersion: string | null;
2947
- latestVersion: string | null;
2948
- updateAvailable: boolean;
2949
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2950
- error: string | null;
2944
+ error: string;
2945
+ code?: "invalid_input" | undefined;
2951
2946
  };
2952
2947
  outputFormat: "json";
2953
- status: 202;
2948
+ status: 400;
2954
2949
  input: {
2955
2950
  param: {
2956
2951
  runner: string;
@@ -2962,11 +2957,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2962
2957
  };
2963
2958
  } | {
2964
2959
  output: {
2965
- error: string;
2966
- code?: "invalid_input" | undefined;
2960
+ supported: boolean;
2961
+ installedVersion: string | null;
2962
+ latestVersion: string | null;
2963
+ updateAvailable: boolean;
2964
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2965
+ error: string | null;
2967
2966
  };
2968
2967
  outputFormat: "json";
2969
- status: 400;
2968
+ status: 202;
2970
2969
  input: {
2971
2970
  param: {
2972
2971
  runner: string;
@@ -3323,6 +3322,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3323
3322
  }, "/"> | import("hono/types").MergeSchemaPath<{
3324
3323
  "/plan": {
3325
3324
  $post: {
3325
+ output: {
3326
+ error: string;
3327
+ };
3328
+ outputFormat: "json";
3329
+ status: 400 | 404 | 409;
3330
+ input: {
3331
+ json: {
3332
+ task: string;
3333
+ agentProfile?: string | undefined;
3334
+ };
3335
+ };
3336
+ } | {
3326
3337
  output: {
3327
3338
  name?: string;
3328
3339
  steps: {
@@ -3359,18 +3370,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3359
3370
  agentProfile?: string | undefined;
3360
3371
  };
3361
3372
  };
3362
- } | {
3363
- output: {
3364
- error: string;
3365
- };
3366
- outputFormat: "json";
3367
- status: 400 | 404 | 409;
3368
- input: {
3369
- json: {
3370
- task: string;
3371
- agentProfile?: string | undefined;
3372
- };
3373
- };
3374
3373
  };
3375
3374
  };
3376
3375
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3420,10 +3419,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3420
3419
  "/ui-state": {
3421
3420
  $put: {
3422
3421
  output: {
3423
- error: string;
3422
+ [x: string]: import("hono/utils/types").JSONValue;
3423
+ sidebarLimits?: {
3424
+ overall?: number | null | undefined;
3425
+ needsYou?: number | null | undefined;
3426
+ finished?: number | null | undefined;
3427
+ working?: number | null | undefined;
3428
+ } | undefined;
3429
+ lastTask?: {
3430
+ source: "skill" | "workflow";
3431
+ ref: string;
3432
+ } | null | undefined;
3433
+ recentSources?: {
3434
+ source: "skill" | "workflow";
3435
+ ref: string;
3436
+ }[] | undefined;
3437
+ lastWorktree?: boolean | undefined;
3438
+ lastAutonomous?: boolean | undefined;
3439
+ skillUsage?: {
3440
+ [x: string]: number;
3441
+ } | undefined;
3442
+ runsView?: "list" | "table" | undefined;
3443
+ githubView?: "issues" | "prs" | undefined;
3444
+ appearance?: {
3445
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3446
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3447
+ width?: "narrow" | "wide" | undefined;
3448
+ } | undefined;
3449
+ promptTemplates?: {
3450
+ id: string;
3451
+ label: string;
3452
+ text: string;
3453
+ skills?: string[] | undefined;
3454
+ }[] | undefined;
3424
3455
  };
3425
3456
  outputFormat: "json";
3426
- status: 500;
3457
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3427
3458
  input: {
3428
3459
  json: {
3429
3460
  [x: string]: unknown;
@@ -3461,42 +3492,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3461
3492
  };
3462
3493
  } | {
3463
3494
  output: {
3464
- [x: string]: import("hono/utils/types").JSONValue;
3465
- sidebarLimits?: {
3466
- overall?: number | null | undefined;
3467
- needsYou?: number | null | undefined;
3468
- finished?: number | null | undefined;
3469
- working?: number | null | undefined;
3470
- } | undefined;
3471
- lastTask?: {
3472
- source: "skill" | "workflow";
3473
- ref: string;
3474
- } | null | undefined;
3475
- recentSources?: {
3476
- source: "skill" | "workflow";
3477
- ref: string;
3478
- }[] | undefined;
3479
- lastWorktree?: boolean | undefined;
3480
- lastAutonomous?: boolean | undefined;
3481
- skillUsage?: {
3482
- [x: string]: number;
3483
- } | undefined;
3484
- runsView?: "list" | "table" | undefined;
3485
- githubView?: "issues" | "prs" | undefined;
3486
- appearance?: {
3487
- accent?: "cezarion" | "lime" | "violet" | undefined;
3488
- density?: "comfortable" | "compact" | "ultra" | undefined;
3489
- width?: "narrow" | "wide" | undefined;
3490
- } | undefined;
3491
- promptTemplates?: {
3492
- id: string;
3493
- label: string;
3494
- text: string;
3495
- skills?: string[] | undefined;
3496
- }[] | undefined;
3495
+ error: string;
3497
3496
  };
3498
3497
  outputFormat: "json";
3499
- status: import("hono/utils/http-status").ContentfulStatusCode;
3498
+ status: 500;
3500
3499
  input: {
3501
3500
  json: {
3502
3501
  [x: string]: unknown;
@@ -3556,7 +3555,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3556
3555
  error: string;
3557
3556
  };
3558
3557
  outputFormat: "json";
3559
- status: 400;
3558
+ status: 409;
3560
3559
  input: {
3561
3560
  json: {
3562
3561
  target: string;
@@ -3567,7 +3566,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3567
3566
  error: string;
3568
3567
  };
3569
3568
  outputFormat: "json";
3570
- status: 409;
3569
+ status: 400;
3571
3570
  input: {
3572
3571
  json: {
3573
3572
  target: string;
@@ -3590,12 +3589,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3590
3589
  }, "/"> | import("hono/types").MergeSchemaPath<{
3591
3590
  "/runs/:id/events": {
3592
3591
  $get: {
3593
- output: {
3594
- error: string;
3595
- code?: "invalid_input" | undefined;
3596
- };
3597
- outputFormat: "json";
3598
- status: 400;
3592
+ output: {};
3593
+ outputFormat: string;
3594
+ status: import("hono/utils/http-status").StatusCode;
3599
3595
  input: {
3600
3596
  param: {
3601
3597
  id: string;
@@ -3607,9 +3603,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3607
3603
  };
3608
3604
  };
3609
3605
  } | {
3610
- output: {};
3611
- outputFormat: string;
3612
- status: import("hono/utils/http-status").StatusCode;
3606
+ output: {
3607
+ error: string;
3608
+ code?: "invalid_input" | undefined;
3609
+ };
3610
+ outputFormat: "json";
3611
+ status: 400;
3613
3612
  input: {
3614
3613
  param: {
3615
3614
  id: string;
@@ -3670,10 +3669,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3670
3669
  "/config": {
3671
3670
  $put: {
3672
3671
  output: {
3673
- error: string;
3672
+ archiveOnMerge: boolean | null;
3673
+ effectiveArchiveOnMerge: boolean;
3674
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3675
+ baseBranch: string | null;
3676
+ defaultRunner: string;
3677
+ systemPrompt: string | null;
3678
+ defaultModels: {
3679
+ [x: string]: string | undefined;
3680
+ };
3681
+ modelsLocked: boolean;
3682
+ maxParallel: number;
3683
+ memoryLimitMb: number | null;
3684
+ worktreeRetention: number;
3685
+ liveTitleUpdates: boolean | null;
3686
+ reviewGate: boolean | null;
3687
+ worktreeSetup: {
3688
+ commands: string[];
3689
+ timeoutSeconds: number;
3690
+ } | null;
3691
+ worktreeSetupIssue: string | null;
3692
+ worktreeTeardown: {
3693
+ commands: string[];
3694
+ timeoutSeconds: number;
3695
+ } | null;
3696
+ worktreeTeardownIssue: string | null;
3674
3697
  };
3675
3698
  outputFormat: "json";
3676
- status: 409;
3699
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3677
3700
  input: {
3678
3701
  json: {
3679
3702
  archiveOnMerge?: boolean | null | undefined;
@@ -3701,7 +3724,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3701
3724
  error: string;
3702
3725
  };
3703
3726
  outputFormat: "json";
3704
- status: 500;
3727
+ status: 409;
3705
3728
  input: {
3706
3729
  json: {
3707
3730
  archiveOnMerge?: boolean | null | undefined;
@@ -3726,34 +3749,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3726
3749
  };
3727
3750
  } | {
3728
3751
  output: {
3729
- archiveOnMerge: boolean | null;
3730
- effectiveArchiveOnMerge: boolean;
3731
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3732
- baseBranch: string | null;
3733
- defaultRunner: string;
3734
- systemPrompt: string | null;
3735
- defaultModels: {
3736
- [x: string]: string | undefined;
3737
- };
3738
- modelsLocked: boolean;
3739
- maxParallel: number;
3740
- memoryLimitMb: number | null;
3741
- worktreeRetention: number;
3742
- liveTitleUpdates: boolean | null;
3743
- reviewGate: boolean | null;
3744
- worktreeSetup: {
3745
- commands: string[];
3746
- timeoutSeconds: number;
3747
- } | null;
3748
- worktreeSetupIssue: string | null;
3749
- worktreeTeardown: {
3750
- commands: string[];
3751
- timeoutSeconds: number;
3752
- } | null;
3753
- worktreeTeardownIssue: string | null;
3752
+ error: string;
3754
3753
  };
3755
3754
  outputFormat: "json";
3756
- status: import("hono/utils/http-status").ContentfulStatusCode;
3755
+ status: 500;
3757
3756
  input: {
3758
3757
  json: {
3759
3758
  archiveOnMerge?: boolean | null | undefined;
@@ -3902,7 +3901,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3902
3901
  error: string;
3903
3902
  };
3904
3903
  outputFormat: "json";
3905
- status: 400;
3904
+ status: 409;
3906
3905
  input: {
3907
3906
  query: {
3908
3907
  q?: string | undefined;
@@ -3915,7 +3914,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3915
3914
  error: string;
3916
3915
  };
3917
3916
  outputFormat: "json";
3918
- status: 409;
3917
+ status: 400;
3919
3918
  input: {
3920
3919
  query: {
3921
3920
  q?: string | undefined;
@@ -4020,11 +4019,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4020
4019
  };
4021
4020
  } | {
4022
4021
  output: {
4023
- runId: string;
4024
- worktreeReclaimedAt: string;
4022
+ error: string;
4025
4023
  };
4026
4024
  outputFormat: "json";
4027
- status: import("hono/utils/http-status").ContentfulStatusCode;
4025
+ status: 404 | 409;
4028
4026
  input: {
4029
4027
  param: {
4030
4028
  runId: string;
@@ -4036,10 +4034,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4036
4034
  };
4037
4035
  } | {
4038
4036
  output: {
4039
- error: string;
4037
+ runId: string;
4038
+ worktreeReclaimedAt: string;
4040
4039
  };
4041
4040
  outputFormat: "json";
4042
- status: 404 | 409;
4041
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4043
4042
  input: {
4044
4043
  param: {
4045
4044
  runId: string;
@@ -4139,10 +4138,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4139
4138
  "/agent-config/:id": {
4140
4139
  $put: {
4141
4140
  output: {
4142
- error: string;
4141
+ id: string;
4142
+ path: string;
4143
+ exists: boolean;
4144
+ content: string;
4145
+ version: string | null;
4143
4146
  };
4144
4147
  outputFormat: "json";
4145
- status: 404;
4148
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4146
4149
  input: {
4147
4150
  json: {
4148
4151
  content: string;
@@ -4155,14 +4158,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4155
4158
  };
4156
4159
  } | {
4157
4160
  output: {
4158
- id: string;
4159
- path: string;
4160
- exists: boolean;
4161
- content: string;
4162
- version: string | null;
4161
+ error: string;
4163
4162
  };
4164
4163
  outputFormat: "json";
4165
- status: import("hono/utils/http-status").ContentfulStatusCode;
4164
+ status: 404;
4166
4165
  input: {
4167
4166
  json: {
4168
4167
  content: string;
@@ -4338,42 +4337,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4338
4337
  } & {
4339
4338
  "/workflows": {
4340
4339
  $post: {
4341
- output: {
4342
- path: string;
4343
- name: string;
4344
- };
4345
- outputFormat: "json";
4346
- status: 201;
4347
- input: {
4348
- json: {
4349
- name: string;
4350
- description?: string | undefined;
4351
- steps?: {
4352
- id: string;
4353
- name?: string | undefined;
4354
- prompt?: string | undefined;
4355
- skill?: string | undefined;
4356
- model?: string | undefined;
4357
- effort?: string | undefined;
4358
- timeoutMs?: number | undefined;
4359
- runner?: string | undefined;
4360
- agentProfile?: string | undefined;
4361
- allowedTools?: string[] | undefined;
4362
- bashAllowlist?: string[] | undefined;
4363
- kind?: "plugin" | undefined;
4364
- pluginKind?: string | undefined;
4365
- config?: Record<string, unknown> | undefined;
4366
- command?: string | undefined;
4367
- onFail?: {
4368
- retry: string;
4369
- max?: number | undefined;
4370
- } | undefined;
4371
- }[] | undefined;
4372
- skills?: string[] | undefined;
4373
- overwrite?: boolean | undefined;
4374
- };
4375
- };
4376
- } | {
4377
4340
  output: {
4378
4341
  error: string;
4379
4342
  };
@@ -4479,17 +4442,52 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4479
4442
  overwrite?: boolean | undefined;
4480
4443
  };
4481
4444
  };
4445
+ } | {
4446
+ output: {
4447
+ path: string;
4448
+ name: string;
4449
+ };
4450
+ outputFormat: "json";
4451
+ status: 201;
4452
+ input: {
4453
+ json: {
4454
+ name: string;
4455
+ description?: string | undefined;
4456
+ steps?: {
4457
+ id: string;
4458
+ name?: string | undefined;
4459
+ prompt?: string | undefined;
4460
+ skill?: string | undefined;
4461
+ model?: string | undefined;
4462
+ effort?: string | undefined;
4463
+ timeoutMs?: number | undefined;
4464
+ runner?: string | undefined;
4465
+ agentProfile?: string | undefined;
4466
+ allowedTools?: string[] | undefined;
4467
+ bashAllowlist?: string[] | undefined;
4468
+ kind?: "plugin" | undefined;
4469
+ pluginKind?: string | undefined;
4470
+ config?: Record<string, unknown> | undefined;
4471
+ command?: string | undefined;
4472
+ onFail?: {
4473
+ retry: string;
4474
+ max?: number | undefined;
4475
+ } | undefined;
4476
+ }[] | undefined;
4477
+ skills?: string[] | undefined;
4478
+ overwrite?: boolean | undefined;
4479
+ };
4480
+ };
4482
4481
  };
4483
4482
  };
4484
4483
  } & {
4485
4484
  "/workflows/:name": {
4486
4485
  $delete: {
4487
4486
  output: {
4488
- ok: true;
4489
- path: string;
4487
+ error: string;
4490
4488
  };
4491
4489
  outputFormat: "json";
4492
- status: import("hono/utils/http-status").ContentfulStatusCode;
4490
+ status: 400 | 404 | 409 | 500;
4493
4491
  input: {
4494
4492
  param: {
4495
4493
  name: string;
@@ -4497,10 +4495,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4497
4495
  };
4498
4496
  } | {
4499
4497
  output: {
4500
- error: string;
4498
+ ok: true;
4499
+ path: string;
4501
4500
  };
4502
4501
  outputFormat: "json";
4503
- status: 400 | 404 | 409 | 500;
4502
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4504
4503
  input: {
4505
4504
  param: {
4506
4505
  name: string;
@@ -4676,18 +4675,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4676
4675
  "/repo/branches/delete": {
4677
4676
  $post: {
4678
4677
  output: {
4679
- deleted: string[];
4678
+ error: string;
4680
4679
  refused: {
4681
4680
  name: string;
4682
4681
  reason: string;
4683
4682
  }[];
4684
- dropped?: {
4685
- sha: string;
4686
- subject: string;
4687
- }[] | undefined;
4688
4683
  };
4689
4684
  outputFormat: "json";
4690
- status: 200;
4685
+ status: 409;
4691
4686
  input: {
4692
4687
  json: {
4693
4688
  names: string[];
@@ -4696,14 +4691,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4696
4691
  };
4697
4692
  } | {
4698
4693
  output: {
4699
- error: string;
4694
+ deleted: string[];
4700
4695
  refused: {
4701
4696
  name: string;
4702
4697
  reason: string;
4703
4698
  }[];
4699
+ dropped?: {
4700
+ sha: string;
4701
+ subject: string;
4702
+ }[] | undefined;
4704
4703
  };
4705
4704
  outputFormat: "json";
4706
- status: 409;
4705
+ status: 200;
4707
4706
  input: {
4708
4707
  json: {
4709
4708
  names: string[];
@@ -4724,12 +4723,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4724
4723
  } & {
4725
4724
  "/repo/commit/:sha": {
4726
4725
  $get: {
4727
- output: {
4728
- error: string;
4729
- code?: "invalid_input" | undefined;
4730
- };
4731
- outputFormat: "json";
4732
- status: 400;
4726
+ output: string;
4727
+ outputFormat: "text";
4728
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4733
4729
  input: {
4734
4730
  query: {
4735
4731
  structured?: string | undefined;
@@ -4742,9 +4738,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4742
4738
  } | {
4743
4739
  output: {
4744
4740
  error: string;
4741
+ code?: "invalid_input" | undefined;
4745
4742
  };
4746
4743
  outputFormat: "json";
4747
- status: 409;
4744
+ status: 400;
4748
4745
  input: {
4749
4746
  query: {
4750
4747
  structured?: string | undefined;
@@ -4788,9 +4785,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4788
4785
  };
4789
4786
  };
4790
4787
  } | {
4791
- output: string;
4792
- outputFormat: "text";
4793
- status: import("hono/utils/http-status").ContentfulStatusCode;
4788
+ output: {
4789
+ error: string;
4790
+ };
4791
+ outputFormat: "json";
4792
+ status: 409;
4794
4793
  input: {
4795
4794
  query: {
4796
4795
  structured?: string | undefined;
@@ -4805,13 +4804,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4805
4804
  } & {
4806
4805
  "/repo/changes": {
4807
4806
  $get: {
4808
- output: {
4809
- error: string;
4810
- };
4811
- outputFormat: "json";
4812
- status: 409;
4813
- input: {};
4814
- } | {
4815
4807
  output: {
4816
4808
  files: {
4817
4809
  path: string;
@@ -4836,6 +4828,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4836
4828
  outputFormat: "json";
4837
4829
  status: import("hono/utils/http-status").ContentfulStatusCode;
4838
4830
  input: {};
4831
+ } | {
4832
+ output: {
4833
+ error: string;
4834
+ };
4835
+ outputFormat: "json";
4836
+ status: 409;
4837
+ input: {};
4839
4838
  };
4840
4839
  };
4841
4840
  } & {
@@ -4860,12 +4859,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4860
4859
  "/repo/pull": {
4861
4860
  $post: {
4862
4861
  output: {
4863
- branch: string;
4864
- pulled: true;
4865
- summary: string;
4862
+ error: string;
4866
4863
  };
4867
4864
  outputFormat: "json";
4868
- status: 200;
4865
+ status: 409;
4869
4866
  input: {
4870
4867
  json: {
4871
4868
  branch?: string | undefined;
@@ -4874,10 +4871,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4874
4871
  };
4875
4872
  } | {
4876
4873
  output: {
4877
- error: string;
4874
+ branch: string;
4875
+ pulled: true;
4876
+ summary: string;
4878
4877
  };
4879
4878
  outputFormat: "json";
4880
- status: 409;
4879
+ status: 200;
4881
4880
  input: {
4882
4881
  json: {
4883
4882
  branch?: string | undefined;
@@ -6826,18 +6825,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6826
6825
  } & {
6827
6826
  "/run-summaries": {
6828
6827
  $get: {
6829
- output: {
6830
- error: string;
6831
- code?: "invalid_input" | undefined;
6832
- };
6833
- outputFormat: "json";
6834
- status: 400;
6835
- input: {
6836
- query: {
6837
- archived?: "all" | "recent" | undefined;
6838
- };
6839
- };
6840
- } | {
6841
6828
  output: {
6842
6829
  id: string;
6843
6830
  title: string;
@@ -6975,6 +6962,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6975
6962
  archived?: "all" | "recent" | undefined;
6976
6963
  };
6977
6964
  };
6965
+ } | {
6966
+ output: {
6967
+ error: string;
6968
+ code?: "invalid_input" | undefined;
6969
+ };
6970
+ outputFormat: "json";
6971
+ status: 400;
6972
+ input: {
6973
+ query: {
6974
+ archived?: "all" | "recent" | undefined;
6975
+ };
6976
+ };
6978
6977
  };
6979
6978
  };
6980
6979
  } & {
@@ -7336,24 +7335,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7336
7335
  "/runs/:id/worker-destroy": {
7337
7336
  $post: {
7338
7337
  output: {
7339
- workerId: string;
7340
- state: "complete" | "incomplete";
7341
- work?: {
7342
- uncommittedFiles: number;
7343
- commits: number;
7338
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7339
+ readonly error: string;
7340
+ readonly modelChoices?: {
7341
+ runner: string;
7342
+ requestedModel: string;
7343
+ availableModels: {
7344
+ id: string;
7345
+ label: string;
7346
+ description: string;
7347
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7348
+ }[];
7349
+ otherRunners: string[];
7344
7350
  } | undefined;
7345
- deleted?: ({
7346
- kind: "worktree";
7347
- path: string;
7348
- } | {
7349
- kind: "branch";
7350
- ref: string;
7351
- })[] | undefined;
7352
- remaining: ("branch" | "process" | "worktree")[];
7353
- error?: string | undefined;
7354
7351
  };
7355
7352
  outputFormat: "json";
7356
- status: 200;
7353
+ status: 400 | 401 | 403 | 409 | 503;
7357
7354
  input: {
7358
7355
  query: {
7359
7356
  [x: string]: string | string[];
@@ -7406,7 +7403,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7406
7403
  error?: string | undefined;
7407
7404
  };
7408
7405
  outputFormat: "json";
7409
- status: 409;
7406
+ status: 200;
7410
7407
  input: {
7411
7408
  query: {
7412
7409
  [x: string]: string | string[];
@@ -7422,22 +7419,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7422
7419
  };
7423
7420
  } | {
7424
7421
  output: {
7425
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7426
- readonly error: string;
7427
- readonly modelChoices?: {
7428
- runner: string;
7429
- requestedModel: string;
7430
- availableModels: {
7431
- id: string;
7432
- label: string;
7433
- description: string;
7434
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7435
- }[];
7436
- otherRunners: string[];
7422
+ workerId: string;
7423
+ state: "complete" | "incomplete";
7424
+ work?: {
7425
+ uncommittedFiles: number;
7426
+ commits: number;
7437
7427
  } | undefined;
7428
+ deleted?: ({
7429
+ kind: "worktree";
7430
+ path: string;
7431
+ } | {
7432
+ kind: "branch";
7433
+ ref: string;
7434
+ })[] | undefined;
7435
+ remaining: ("branch" | "process" | "worktree")[];
7436
+ error?: string | undefined;
7438
7437
  };
7439
7438
  outputFormat: "json";
7440
- status: 400 | 401 | 403 | 409 | 503;
7439
+ status: 409;
7441
7440
  input: {
7442
7441
  query: {
7443
7442
  [x: string]: string | string[];
@@ -7489,21 +7488,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7489
7488
  } & {
7490
7489
  "/runs/:id/archive": {
7491
7490
  $post: {
7492
- output: {
7493
- error: string;
7494
- };
7495
- outputFormat: "json";
7496
- status: 404;
7497
- input: {
7498
- json: {
7499
- archived?: boolean | undefined;
7500
- };
7501
- } & {
7502
- param: {
7503
- id: string;
7504
- };
7505
- };
7506
- } | {
7507
7491
  output: {
7508
7492
  archiveWhenDone?: boolean | undefined;
7509
7493
  autoMergePr?: boolean | undefined;
@@ -8682,32 +8666,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8682
8666
  id: string;
8683
8667
  };
8684
8668
  };
8685
- };
8686
- };
8687
- } & {
8688
- "/runs/:id/pin": {
8689
- $post: {
8669
+ } | {
8690
8670
  output: {
8691
8671
  error: string;
8692
- code?: "invalid_input" | undefined;
8693
8672
  };
8694
8673
  outputFormat: "json";
8695
- status: 400;
8674
+ status: 404;
8696
8675
  input: {
8697
- param: {
8698
- id: string;
8676
+ json: {
8677
+ archived?: boolean | undefined;
8699
8678
  };
8700
8679
  } & {
8701
- json: {
8702
- pinned?: boolean | undefined;
8680
+ param: {
8681
+ id: string;
8703
8682
  };
8704
8683
  };
8705
- } | {
8684
+ };
8685
+ };
8686
+ } & {
8687
+ "/runs/:id/pin": {
8688
+ $post: {
8706
8689
  output: {
8707
8690
  error: string;
8691
+ code?: "invalid_input" | undefined;
8708
8692
  };
8709
8693
  outputFormat: "json";
8710
- status: 404;
8694
+ status: 400;
8711
8695
  input: {
8712
8696
  param: {
8713
8697
  id: string;
@@ -9896,6 +9880,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9896
9880
  pinned?: boolean | undefined;
9897
9881
  };
9898
9882
  };
9883
+ } | {
9884
+ output: {
9885
+ error: string;
9886
+ };
9887
+ outputFormat: "json";
9888
+ status: 404;
9889
+ input: {
9890
+ param: {
9891
+ id: string;
9892
+ };
9893
+ } & {
9894
+ json: {
9895
+ pinned?: boolean | undefined;
9896
+ };
9897
+ };
9899
9898
  };
9900
9899
  };
9901
9900
  } & {
@@ -9922,7 +9921,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9922
9921
  error: string;
9923
9922
  };
9924
9923
  outputFormat: "json";
9925
- status: 400;
9924
+ status: 404;
9926
9925
  input: {
9927
9926
  param: {
9928
9927
  id: string;
@@ -9938,7 +9937,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9938
9937
  error: string;
9939
9938
  };
9940
9939
  outputFormat: "json";
9941
- status: 404;
9940
+ status: 400;
9942
9941
  input: {
9943
9942
  param: {
9944
9943
  id: string;
@@ -11160,17 +11159,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11160
11159
  } & {
11161
11160
  "/runs/:id/read": {
11162
11161
  $post: {
11163
- output: {
11164
- error: string;
11165
- };
11166
- outputFormat: "json";
11167
- status: 404;
11168
- input: {
11169
- param: {
11170
- id: string;
11171
- };
11172
- };
11173
- } | {
11174
11162
  output: {
11175
11163
  archiveWhenDone?: boolean | undefined;
11176
11164
  autoMergePr?: boolean | undefined;
@@ -12345,11 +12333,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12345
12333
  id: string;
12346
12334
  };
12347
12335
  };
12348
- };
12349
- };
12350
- } & {
12351
- "/runs/:id/unread": {
12352
- $post: {
12336
+ } | {
12353
12337
  output: {
12354
12338
  error: string;
12355
12339
  };
@@ -12360,7 +12344,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12360
12344
  id: string;
12361
12345
  };
12362
12346
  };
12363
- } | {
12347
+ };
12348
+ };
12349
+ } & {
12350
+ "/runs/:id/unread": {
12351
+ $post: {
12364
12352
  output: {
12365
12353
  archiveWhenDone?: boolean | undefined;
12366
12354
  autoMergePr?: boolean | undefined;
@@ -13535,6 +13523,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13535
13523
  id: string;
13536
13524
  };
13537
13525
  };
13526
+ } | {
13527
+ output: {
13528
+ error: string;
13529
+ };
13530
+ outputFormat: "json";
13531
+ status: 404;
13532
+ input: {
13533
+ param: {
13534
+ id: string;
13535
+ };
13536
+ };
13538
13537
  };
13539
13538
  };
13540
13539
  } & {
@@ -14810,17 +14809,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14810
14809
  } & {
14811
14810
  "/runs/:id": {
14812
14811
  $get: {
14813
- output: {
14814
- error: string;
14815
- };
14816
- outputFormat: "json";
14817
- status: 404;
14818
- input: {
14819
- param: {
14820
- id: string;
14821
- };
14822
- };
14823
- } | {
14824
14812
  output: {
14825
14813
  archiveWhenDone?: boolean | undefined;
14826
14814
  autoMergePr?: boolean | undefined;
@@ -16003,6 +15991,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16003
15991
  id: string;
16004
15992
  };
16005
15993
  };
15994
+ } | {
15995
+ output: {
15996
+ error: string;
15997
+ };
15998
+ outputFormat: "json";
15999
+ status: 404;
16000
+ input: {
16001
+ param: {
16002
+ id: string;
16003
+ };
16004
+ };
16006
16005
  };
16007
16006
  };
16008
16007
  } & {
@@ -16130,66 +16129,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16130
16129
  } & {
16131
16130
  "/runs/:id": {
16132
16131
  $patch: {
16133
- output: {
16134
- error: string;
16135
- };
16136
- outputFormat: "json";
16137
- status: 400;
16138
- input: {
16139
- json: {
16140
- archiveWhenDone?: boolean | undefined;
16141
- autoMergePr?: boolean | undefined;
16142
- allowWorkers?: boolean | undefined;
16143
- allowMessaging?: boolean | undefined;
16144
- title?: string | undefined;
16145
- task?: string | undefined;
16146
- };
16147
- } & {
16148
- param: {
16149
- id: string;
16150
- };
16151
- };
16152
- } | {
16153
- output: {
16154
- error: string;
16155
- };
16156
- outputFormat: "json";
16157
- status: 404;
16158
- input: {
16159
- json: {
16160
- archiveWhenDone?: boolean | undefined;
16161
- autoMergePr?: boolean | undefined;
16162
- allowWorkers?: boolean | undefined;
16163
- allowMessaging?: boolean | undefined;
16164
- title?: string | undefined;
16165
- task?: string | undefined;
16166
- };
16167
- } & {
16168
- param: {
16169
- id: string;
16170
- };
16171
- };
16172
- } | {
16173
- output: {
16174
- error: string;
16175
- };
16176
- outputFormat: "json";
16177
- status: 409;
16178
- input: {
16179
- json: {
16180
- archiveWhenDone?: boolean | undefined;
16181
- autoMergePr?: boolean | undefined;
16182
- allowWorkers?: boolean | undefined;
16183
- allowMessaging?: boolean | undefined;
16184
- title?: string | undefined;
16185
- task?: string | undefined;
16186
- };
16187
- } & {
16188
- param: {
16189
- id: string;
16190
- };
16191
- };
16192
- } | {
16193
16132
  output: {
16194
16133
  archiveWhenDone?: boolean | undefined;
16195
16134
  autoMergePr?: boolean | undefined;
@@ -17373,6 +17312,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17373
17312
  id: string;
17374
17313
  };
17375
17314
  };
17315
+ } | {
17316
+ output: {
17317
+ error: string;
17318
+ };
17319
+ outputFormat: "json";
17320
+ status: 404;
17321
+ input: {
17322
+ json: {
17323
+ archiveWhenDone?: boolean | undefined;
17324
+ autoMergePr?: boolean | undefined;
17325
+ allowWorkers?: boolean | undefined;
17326
+ allowMessaging?: boolean | undefined;
17327
+ title?: string | undefined;
17328
+ task?: string | undefined;
17329
+ };
17330
+ } & {
17331
+ param: {
17332
+ id: string;
17333
+ };
17334
+ };
17335
+ } | {
17336
+ output: {
17337
+ error: string;
17338
+ };
17339
+ outputFormat: "json";
17340
+ status: 400;
17341
+ input: {
17342
+ json: {
17343
+ archiveWhenDone?: boolean | undefined;
17344
+ autoMergePr?: boolean | undefined;
17345
+ allowWorkers?: boolean | undefined;
17346
+ allowMessaging?: boolean | undefined;
17347
+ title?: string | undefined;
17348
+ task?: string | undefined;
17349
+ };
17350
+ } & {
17351
+ param: {
17352
+ id: string;
17353
+ };
17354
+ };
17355
+ } | {
17356
+ output: {
17357
+ error: string;
17358
+ };
17359
+ outputFormat: "json";
17360
+ status: 409;
17361
+ input: {
17362
+ json: {
17363
+ archiveWhenDone?: boolean | undefined;
17364
+ autoMergePr?: boolean | undefined;
17365
+ allowWorkers?: boolean | undefined;
17366
+ allowMessaging?: boolean | undefined;
17367
+ title?: string | undefined;
17368
+ task?: string | undefined;
17369
+ };
17370
+ } & {
17371
+ param: {
17372
+ id: string;
17373
+ };
17374
+ };
17376
17375
  };
17377
17376
  };
17378
17377
  } & {
@@ -17477,7 +17476,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17477
17476
  error: string;
17478
17477
  };
17479
17478
  outputFormat: "json";
17480
- status: 400;
17479
+ status: 404;
17481
17480
  input: {
17482
17481
  json: {
17483
17482
  text?: string | undefined;
@@ -17496,7 +17495,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17496
17495
  error: string;
17497
17496
  };
17498
17497
  outputFormat: "json";
17499
- status: 404;
17498
+ status: 409;
17500
17499
  input: {
17501
17500
  json: {
17502
17501
  text?: string | undefined;
@@ -17512,10 +17511,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17512
17511
  };
17513
17512
  } | {
17514
17513
  output: {
17515
- error: string;
17514
+ delivered: true;
17516
17515
  };
17517
17516
  outputFormat: "json";
17518
- status: 409;
17517
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17519
17518
  input: {
17520
17519
  json: {
17521
17520
  text?: string | undefined;
@@ -17531,10 +17530,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17531
17530
  };
17532
17531
  } | {
17533
17532
  output: {
17534
- delivered: true;
17533
+ error: string;
17535
17534
  };
17536
17535
  outputFormat: "json";
17537
- status: import("hono/utils/http-status").ContentfulStatusCode;
17536
+ status: 400;
17538
17537
  input: {
17539
17538
  json: {
17540
17539
  text?: string | undefined;
@@ -17602,7 +17601,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17602
17601
  error: string;
17603
17602
  };
17604
17603
  outputFormat: "json";
17605
- status: 400;
17604
+ status: 404;
17606
17605
  input: {
17607
17606
  json: {
17608
17607
  text?: string | undefined;
@@ -17623,7 +17622,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17623
17622
  error: string;
17624
17623
  };
17625
17624
  outputFormat: "json";
17626
- status: 404;
17625
+ status: 400;
17627
17626
  input: {
17628
17627
  json: {
17629
17628
  text?: string | undefined;
@@ -17843,11 +17842,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17843
17842
  "/runs/:id/open-in-cli": {
17844
17843
  $post: {
17845
17844
  output: {
17846
- opened: true;
17847
- command: string;
17845
+ error: string;
17848
17846
  };
17849
17847
  outputFormat: "json";
17850
- status: import("hono/utils/http-status").ContentfulStatusCode;
17848
+ status: 404 | 409;
17851
17849
  input: {
17852
17850
  param: {
17853
17851
  id: string;
@@ -17855,10 +17853,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17855
17853
  };
17856
17854
  } | {
17857
17855
  output: {
17858
- error: string;
17856
+ opened: true;
17857
+ command: string;
17859
17858
  };
17860
17859
  outputFormat: "json";
17861
- status: 404 | 409;
17860
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17862
17861
  input: {
17863
17862
  param: {
17864
17863
  id: string;
@@ -17946,12 +17945,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17946
17945
  } & {
17947
17946
  "/runs/:id/images/:file": {
17948
17947
  $get: {
17949
- output: {
17950
- error: string;
17951
- code?: "invalid_input" | undefined;
17952
- };
17953
- outputFormat: "json";
17954
- status: 400;
17948
+ output: {};
17949
+ outputFormat: string;
17950
+ status: import("hono/utils/http-status").StatusCode;
17955
17951
  input: {
17956
17952
  param: {
17957
17953
  id: string;
@@ -17959,9 +17955,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17959
17955
  };
17960
17956
  };
17961
17957
  } | {
17962
- output: {};
17963
- outputFormat: string;
17964
- status: import("hono/utils/http-status").StatusCode;
17958
+ output: {
17959
+ error: string;
17960
+ code?: "invalid_input" | undefined;
17961
+ };
17962
+ outputFormat: "json";
17963
+ status: 400;
17965
17964
  input: {
17966
17965
  param: {
17967
17966
  id: string;
@@ -17997,6 +17996,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17997
17996
  } & {
17998
17997
  "/runs/:id/changes": {
17999
17998
  $get: {
17999
+ output: {
18000
+ error: string;
18001
+ };
18002
+ outputFormat: "json";
18003
+ status: 404 | 409;
18004
+ input: {
18005
+ param: {
18006
+ id: string;
18007
+ };
18008
+ };
18009
+ } | {
18000
18010
  output: {
18001
18011
  files: {
18002
18012
  path: string;
@@ -18025,7 +18035,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18025
18035
  id: string;
18026
18036
  };
18027
18037
  };
18028
- } | {
18038
+ };
18039
+ };
18040
+ } & {
18041
+ "/runs/:id/commits": {
18042
+ $get: {
18029
18043
  output: {
18030
18044
  error: string;
18031
18045
  };
@@ -18036,11 +18050,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18036
18050
  id: string;
18037
18051
  };
18038
18052
  };
18039
- };
18040
- };
18041
- } & {
18042
- "/runs/:id/commits": {
18043
- $get: {
18053
+ } | {
18044
18054
  output: {
18045
18055
  commits: {
18046
18056
  sha: string;
@@ -18056,7 +18066,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18056
18066
  id: string;
18057
18067
  };
18058
18068
  };
18059
- } | {
18069
+ };
18070
+ };
18071
+ } & {
18072
+ "/runs/:id/commit/:sha": {
18073
+ $get: {
18060
18074
  output: {
18061
18075
  error: string;
18062
18076
  };
@@ -18065,13 +18079,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18065
18079
  input: {
18066
18080
  param: {
18067
18081
  id: string;
18082
+ } & {
18083
+ sha: string;
18068
18084
  };
18069
18085
  };
18070
- };
18071
- };
18072
- } & {
18073
- "/runs/:id/commit/:sha": {
18074
- $get: {
18086
+ } | {
18075
18087
  output: {
18076
18088
  sha: string;
18077
18089
  subject: string;
@@ -18102,19 +18114,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18102
18114
  sha: string;
18103
18115
  };
18104
18116
  };
18105
- } | {
18106
- output: {
18107
- error: string;
18108
- };
18109
- outputFormat: "json";
18110
- status: 404 | 409;
18111
- input: {
18112
- param: {
18113
- id: string;
18114
- } & {
18115
- sha: string;
18116
- };
18117
- };
18118
18117
  };
18119
18118
  };
18120
18119
  } & {
@@ -18150,6 +18149,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18150
18149
  raw?: "1" | undefined;
18151
18150
  };
18152
18151
  };
18152
+ } | {
18153
+ output: {
18154
+ error: string;
18155
+ };
18156
+ outputFormat: "json";
18157
+ status: 404 | 409;
18158
+ input: {
18159
+ param: {
18160
+ id: string;
18161
+ };
18162
+ } & {
18163
+ query: {
18164
+ path: string | string[];
18165
+ raw?: "1" | undefined;
18166
+ };
18167
+ };
18153
18168
  } | {
18154
18169
  output: {
18155
18170
  type: "file";
@@ -18186,22 +18201,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18186
18201
  raw?: "1" | undefined;
18187
18202
  };
18188
18203
  };
18189
- } | {
18190
- output: {
18191
- error: string;
18192
- };
18193
- outputFormat: "json";
18194
- status: 404 | 409;
18195
- input: {
18196
- param: {
18197
- id: string;
18198
- };
18199
- } & {
18200
- query: {
18201
- path: string | string[];
18202
- raw?: "1" | undefined;
18203
- };
18204
- };
18205
18204
  };
18206
18205
  };
18207
18206
  } & {
@@ -18266,18 +18265,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18266
18265
  artifactId: string;
18267
18266
  };
18268
18267
  };
18269
- } | {
18270
- output: {
18271
- error: string;
18272
- };
18273
- outputFormat: "json";
18274
- status: 404;
18275
- input: {
18276
- param: {
18277
- id: string;
18278
- artifactId: string;
18279
- };
18280
- };
18281
18268
  } | {
18282
18269
  output: {
18283
18270
  type: "file";
@@ -18306,6 +18293,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18306
18293
  artifactId: string;
18307
18294
  };
18308
18295
  };
18296
+ } | {
18297
+ output: {
18298
+ error: string;
18299
+ };
18300
+ outputFormat: "json";
18301
+ status: 404;
18302
+ input: {
18303
+ param: {
18304
+ id: string;
18305
+ artifactId: string;
18306
+ };
18307
+ };
18309
18308
  };
18310
18309
  };
18311
18310
  } & {
@@ -18483,16 +18482,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18483
18482
  };
18484
18483
  } | {
18485
18484
  output: {
18486
- type: 'dir';
18487
- path: string;
18488
- entries: {
18489
- name: string;
18490
- type: 'dir' | 'file';
18491
- size?: number;
18492
- }[];
18485
+ error: string;
18493
18486
  };
18494
18487
  outputFormat: "json";
18495
- status: import("hono/utils/http-status").ContentfulStatusCode;
18488
+ status: 404 | 409;
18496
18489
  input: {
18497
18490
  query: {
18498
18491
  path?: string | undefined;
@@ -18505,12 +18498,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18505
18498
  };
18506
18499
  } | {
18507
18500
  output: {
18508
- type: 'file';
18501
+ type: 'dir';
18509
18502
  path: string;
18510
- size: number;
18511
- binary: boolean;
18512
- tooLarge: boolean;
18513
- content?: string | undefined;
18503
+ entries: {
18504
+ name: string;
18505
+ type: 'dir' | 'file';
18506
+ size?: number;
18507
+ }[];
18514
18508
  };
18515
18509
  outputFormat: "json";
18516
18510
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18526,10 +18520,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18526
18520
  };
18527
18521
  } | {
18528
18522
  output: {
18529
- error: string;
18523
+ type: 'file';
18524
+ path: string;
18525
+ size: number;
18526
+ binary: boolean;
18527
+ tooLarge: boolean;
18528
+ content?: string | undefined;
18530
18529
  };
18531
18530
  outputFormat: "json";
18532
- status: 404 | 409;
18531
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18533
18532
  input: {
18534
18533
  query: {
18535
18534
  path?: string | undefined;
@@ -18546,11 +18545,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18546
18545
  "/runs/:id/git/commit": {
18547
18546
  $post: {
18548
18547
  output: {
18549
- committed: true;
18550
- sha: string;
18548
+ error: string;
18551
18549
  };
18552
18550
  outputFormat: "json";
18553
- status: import("hono/utils/http-status").ContentfulStatusCode;
18551
+ status: 404 | 409;
18554
18552
  input: {
18555
18553
  json: {
18556
18554
  message: string;
@@ -18562,10 +18560,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18562
18560
  };
18563
18561
  } | {
18564
18562
  output: {
18565
- error: string;
18563
+ committed: true;
18564
+ sha: string;
18566
18565
  };
18567
18566
  outputFormat: "json";
18568
- status: 404 | 409;
18567
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18569
18568
  input: {
18570
18569
  json: {
18571
18570
  message: string;
@@ -18581,13 +18580,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18581
18580
  "/runs/:id/git/push": {
18582
18581
  $post: {
18583
18582
  output: {
18584
- pushed: true;
18585
- branch: string;
18586
- remote: string;
18587
- upstreamSet: boolean;
18583
+ error: string;
18588
18584
  };
18589
18585
  outputFormat: "json";
18590
- status: import("hono/utils/http-status").ContentfulStatusCode;
18586
+ status: 404 | 409;
18591
18587
  input: {
18592
18588
  param: {
18593
18589
  id: string;
@@ -18595,10 +18591,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18595
18591
  };
18596
18592
  } | {
18597
18593
  output: {
18598
- error: string;
18594
+ pushed: true;
18595
+ branch: string;
18596
+ remote: string;
18597
+ upstreamSet: boolean;
18599
18598
  };
18600
18599
  outputFormat: "json";
18601
- status: 404 | 409;
18600
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18602
18601
  input: {
18603
18602
  param: {
18604
18603
  id: string;
@@ -18610,11 +18609,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18610
18609
  "/runs/:id/pr": {
18611
18610
  $post: {
18612
18611
  output: {
18613
- url: string;
18614
- dryRun: boolean;
18612
+ error: string;
18615
18613
  };
18616
18614
  outputFormat: "json";
18617
- status: 201;
18615
+ status: 404 | 409;
18618
18616
  input: {
18619
18617
  param: {
18620
18618
  id: string;
@@ -18622,10 +18620,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18622
18620
  };
18623
18621
  } | {
18624
18622
  output: {
18625
- error: string;
18623
+ url: string;
18624
+ dryRun: boolean;
18626
18625
  };
18627
18626
  outputFormat: "json";
18628
- status: 404 | 409;
18627
+ status: 201;
18629
18628
  input: {
18630
18629
  param: {
18631
18630
  id: string;
@@ -18637,10 +18636,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18637
18636
  "/runs/:id/remove-worktree": {
18638
18637
  $post: {
18639
18638
  output: {
18640
- removed: true;
18639
+ error: string;
18641
18640
  };
18642
18641
  outputFormat: "json";
18643
- status: import("hono/utils/http-status").ContentfulStatusCode;
18642
+ status: 404 | 409;
18644
18643
  input: {
18645
18644
  param: {
18646
18645
  id: string;
@@ -18648,10 +18647,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18648
18647
  };
18649
18648
  } | {
18650
18649
  output: {
18651
- error: string;
18650
+ removed: true;
18652
18651
  };
18653
18652
  outputFormat: "json";
18654
- status: 404 | 409;
18653
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18655
18654
  input: {
18656
18655
  param: {
18657
18656
  id: string;
@@ -18663,10 +18662,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18663
18662
  "/runs/:id": {
18664
18663
  $delete: {
18665
18664
  output: {
18666
- deleted: true;
18665
+ error: string;
18667
18666
  };
18668
18667
  outputFormat: "json";
18669
- status: import("hono/utils/http-status").ContentfulStatusCode;
18668
+ status: 404 | 409;
18670
18669
  input: {
18671
18670
  param: {
18672
18671
  id: string;
@@ -18674,10 +18673,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18674
18673
  };
18675
18674
  } | {
18676
18675
  output: {
18677
- error: string;
18676
+ deleted: true;
18678
18677
  };
18679
18678
  outputFormat: "json";
18680
- status: 404 | 409;
18679
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18681
18680
  input: {
18682
18681
  param: {
18683
18682
  id: string;
@@ -18746,6 +18745,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18746
18745
  }, "/"> | import("hono/types").MergeSchemaPath<{
18747
18746
  "/plan": {
18748
18747
  $post: {
18748
+ output: {
18749
+ error: string;
18750
+ };
18751
+ outputFormat: "json";
18752
+ status: 400 | 404 | 409;
18753
+ input: {
18754
+ json: {
18755
+ task: string;
18756
+ agentProfile?: string | undefined;
18757
+ };
18758
+ };
18759
+ } | {
18749
18760
  output: {
18750
18761
  name?: string;
18751
18762
  steps: {
@@ -18782,18 +18793,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18782
18793
  agentProfile?: string | undefined;
18783
18794
  };
18784
18795
  };
18785
- } | {
18786
- output: {
18787
- error: string;
18788
- };
18789
- outputFormat: "json";
18790
- status: 400 | 404 | 409;
18791
- input: {
18792
- json: {
18793
- task: string;
18794
- agentProfile?: string | undefined;
18795
- };
18796
- };
18797
18796
  };
18798
18797
  };
18799
18798
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18843,10 +18842,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18843
18842
  "/ui-state": {
18844
18843
  $put: {
18845
18844
  output: {
18846
- error: string;
18845
+ [x: string]: import("hono/utils/types").JSONValue;
18846
+ sidebarLimits?: {
18847
+ overall?: number | null | undefined;
18848
+ needsYou?: number | null | undefined;
18849
+ finished?: number | null | undefined;
18850
+ working?: number | null | undefined;
18851
+ } | undefined;
18852
+ lastTask?: {
18853
+ source: "skill" | "workflow";
18854
+ ref: string;
18855
+ } | null | undefined;
18856
+ recentSources?: {
18857
+ source: "skill" | "workflow";
18858
+ ref: string;
18859
+ }[] | undefined;
18860
+ lastWorktree?: boolean | undefined;
18861
+ lastAutonomous?: boolean | undefined;
18862
+ skillUsage?: {
18863
+ [x: string]: number;
18864
+ } | undefined;
18865
+ runsView?: "list" | "table" | undefined;
18866
+ githubView?: "issues" | "prs" | undefined;
18867
+ appearance?: {
18868
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18869
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18870
+ width?: "narrow" | "wide" | undefined;
18871
+ } | undefined;
18872
+ promptTemplates?: {
18873
+ id: string;
18874
+ label: string;
18875
+ text: string;
18876
+ skills?: string[] | undefined;
18877
+ }[] | undefined;
18847
18878
  };
18848
18879
  outputFormat: "json";
18849
- status: 500;
18880
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18850
18881
  input: {
18851
18882
  json: {
18852
18883
  [x: string]: unknown;
@@ -18884,42 +18915,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18884
18915
  };
18885
18916
  } | {
18886
18917
  output: {
18887
- [x: string]: import("hono/utils/types").JSONValue;
18888
- sidebarLimits?: {
18889
- overall?: number | null | undefined;
18890
- needsYou?: number | null | undefined;
18891
- finished?: number | null | undefined;
18892
- working?: number | null | undefined;
18893
- } | undefined;
18894
- lastTask?: {
18895
- source: "skill" | "workflow";
18896
- ref: string;
18897
- } | null | undefined;
18898
- recentSources?: {
18899
- source: "skill" | "workflow";
18900
- ref: string;
18901
- }[] | undefined;
18902
- lastWorktree?: boolean | undefined;
18903
- lastAutonomous?: boolean | undefined;
18904
- skillUsage?: {
18905
- [x: string]: number;
18906
- } | undefined;
18907
- runsView?: "list" | "table" | undefined;
18908
- githubView?: "issues" | "prs" | undefined;
18909
- appearance?: {
18910
- accent?: "cezarion" | "lime" | "violet" | undefined;
18911
- density?: "comfortable" | "compact" | "ultra" | undefined;
18912
- width?: "narrow" | "wide" | undefined;
18913
- } | undefined;
18914
- promptTemplates?: {
18915
- id: string;
18916
- label: string;
18917
- text: string;
18918
- skills?: string[] | undefined;
18919
- }[] | undefined;
18918
+ error: string;
18920
18919
  };
18921
18920
  outputFormat: "json";
18922
- status: import("hono/utils/http-status").ContentfulStatusCode;
18921
+ status: 500;
18923
18922
  input: {
18924
18923
  json: {
18925
18924
  [x: string]: unknown;
@@ -18979,7 +18978,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18979
18978
  error: string;
18980
18979
  };
18981
18980
  outputFormat: "json";
18982
- status: 400;
18981
+ status: 409;
18983
18982
  input: {
18984
18983
  json: {
18985
18984
  target: string;
@@ -18990,7 +18989,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18990
18989
  error: string;
18991
18990
  };
18992
18991
  outputFormat: "json";
18993
- status: 409;
18992
+ status: 400;
18994
18993
  input: {
18995
18994
  json: {
18996
18995
  target: string;
@@ -19013,12 +19012,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19013
19012
  }, "/"> | import("hono/types").MergeSchemaPath<{
19014
19013
  "/runs/:id/events": {
19015
19014
  $get: {
19016
- output: {
19017
- error: string;
19018
- code?: "invalid_input" | undefined;
19019
- };
19020
- outputFormat: "json";
19021
- status: 400;
19015
+ output: {};
19016
+ outputFormat: string;
19017
+ status: import("hono/utils/http-status").StatusCode;
19022
19018
  input: {
19023
19019
  param: {
19024
19020
  id: string;
@@ -19030,9 +19026,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19030
19026
  };
19031
19027
  };
19032
19028
  } | {
19033
- output: {};
19034
- outputFormat: string;
19035
- status: import("hono/utils/http-status").StatusCode;
19029
+ output: {
19030
+ error: string;
19031
+ code?: "invalid_input" | undefined;
19032
+ };
19033
+ outputFormat: "json";
19034
+ status: 400;
19036
19035
  input: {
19037
19036
  param: {
19038
19037
  id: string;
@@ -19093,10 +19092,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19093
19092
  "/config": {
19094
19093
  $put: {
19095
19094
  output: {
19096
- error: string;
19095
+ archiveOnMerge: boolean | null;
19096
+ effectiveArchiveOnMerge: boolean;
19097
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19098
+ baseBranch: string | null;
19099
+ defaultRunner: string;
19100
+ systemPrompt: string | null;
19101
+ defaultModels: {
19102
+ [x: string]: string | undefined;
19103
+ };
19104
+ modelsLocked: boolean;
19105
+ maxParallel: number;
19106
+ memoryLimitMb: number | null;
19107
+ worktreeRetention: number;
19108
+ liveTitleUpdates: boolean | null;
19109
+ reviewGate: boolean | null;
19110
+ worktreeSetup: {
19111
+ commands: string[];
19112
+ timeoutSeconds: number;
19113
+ } | null;
19114
+ worktreeSetupIssue: string | null;
19115
+ worktreeTeardown: {
19116
+ commands: string[];
19117
+ timeoutSeconds: number;
19118
+ } | null;
19119
+ worktreeTeardownIssue: string | null;
19097
19120
  };
19098
19121
  outputFormat: "json";
19099
- status: 409;
19122
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19100
19123
  input: {
19101
19124
  json: {
19102
19125
  archiveOnMerge?: boolean | null | undefined;
@@ -19124,7 +19147,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19124
19147
  error: string;
19125
19148
  };
19126
19149
  outputFormat: "json";
19127
- status: 500;
19150
+ status: 409;
19128
19151
  input: {
19129
19152
  json: {
19130
19153
  archiveOnMerge?: boolean | null | undefined;
@@ -19149,34 +19172,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19149
19172
  };
19150
19173
  } | {
19151
19174
  output: {
19152
- archiveOnMerge: boolean | null;
19153
- effectiveArchiveOnMerge: boolean;
19154
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19155
- baseBranch: string | null;
19156
- defaultRunner: string;
19157
- systemPrompt: string | null;
19158
- defaultModels: {
19159
- [x: string]: string | undefined;
19160
- };
19161
- modelsLocked: boolean;
19162
- maxParallel: number;
19163
- memoryLimitMb: number | null;
19164
- worktreeRetention: number;
19165
- liveTitleUpdates: boolean | null;
19166
- reviewGate: boolean | null;
19167
- worktreeSetup: {
19168
- commands: string[];
19169
- timeoutSeconds: number;
19170
- } | null;
19171
- worktreeSetupIssue: string | null;
19172
- worktreeTeardown: {
19173
- commands: string[];
19174
- timeoutSeconds: number;
19175
- } | null;
19176
- worktreeTeardownIssue: string | null;
19175
+ error: string;
19177
19176
  };
19178
19177
  outputFormat: "json";
19179
- status: import("hono/utils/http-status").ContentfulStatusCode;
19178
+ status: 500;
19180
19179
  input: {
19181
19180
  json: {
19182
19181
  archiveOnMerge?: boolean | null | undefined;
@@ -19325,7 +19324,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19325
19324
  error: string;
19326
19325
  };
19327
19326
  outputFormat: "json";
19328
- status: 400;
19327
+ status: 409;
19329
19328
  input: {
19330
19329
  query: {
19331
19330
  q?: string | undefined;
@@ -19338,7 +19337,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19338
19337
  error: string;
19339
19338
  };
19340
19339
  outputFormat: "json";
19341
- status: 409;
19340
+ status: 400;
19342
19341
  input: {
19343
19342
  query: {
19344
19343
  q?: string | undefined;
@@ -19443,11 +19442,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19443
19442
  };
19444
19443
  } | {
19445
19444
  output: {
19446
- runId: string;
19447
- worktreeReclaimedAt: string;
19445
+ error: string;
19448
19446
  };
19449
19447
  outputFormat: "json";
19450
- status: import("hono/utils/http-status").ContentfulStatusCode;
19448
+ status: 404 | 409;
19451
19449
  input: {
19452
19450
  param: {
19453
19451
  runId: string;
@@ -19459,10 +19457,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19459
19457
  };
19460
19458
  } | {
19461
19459
  output: {
19462
- error: string;
19460
+ runId: string;
19461
+ worktreeReclaimedAt: string;
19463
19462
  };
19464
19463
  outputFormat: "json";
19465
- status: 404 | 409;
19464
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19466
19465
  input: {
19467
19466
  param: {
19468
19467
  runId: string;
@@ -19562,10 +19561,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19562
19561
  "/agent-config/:id": {
19563
19562
  $put: {
19564
19563
  output: {
19565
- error: string;
19564
+ id: string;
19565
+ path: string;
19566
+ exists: boolean;
19567
+ content: string;
19568
+ version: string | null;
19566
19569
  };
19567
19570
  outputFormat: "json";
19568
- status: 404;
19571
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19569
19572
  input: {
19570
19573
  json: {
19571
19574
  content: string;
@@ -19578,14 +19581,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19578
19581
  };
19579
19582
  } | {
19580
19583
  output: {
19581
- id: string;
19582
- path: string;
19583
- exists: boolean;
19584
- content: string;
19585
- version: string | null;
19584
+ error: string;
19586
19585
  };
19587
19586
  outputFormat: "json";
19588
- status: import("hono/utils/http-status").ContentfulStatusCode;
19587
+ status: 404;
19589
19588
  input: {
19590
19589
  json: {
19591
19590
  content: string;
@@ -19762,11 +19761,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19762
19761
  "/workflows": {
19763
19762
  $post: {
19764
19763
  output: {
19765
- path: string;
19766
- name: string;
19764
+ error: string;
19767
19765
  };
19768
19766
  outputFormat: "json";
19769
- status: 201;
19767
+ status: 400;
19770
19768
  input: {
19771
19769
  json: {
19772
19770
  name: string;
@@ -19799,9 +19797,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19799
19797
  } | {
19800
19798
  output: {
19801
19799
  error: string;
19800
+ exists: true;
19802
19801
  };
19803
19802
  outputFormat: "json";
19804
- status: 400;
19803
+ status: 409;
19805
19804
  input: {
19806
19805
  json: {
19807
19806
  name: string;
@@ -19834,10 +19833,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19834
19833
  } | {
19835
19834
  output: {
19836
19835
  error: string;
19837
- exists: true;
19838
19836
  };
19839
19837
  outputFormat: "json";
19840
- status: 409;
19838
+ status: 500;
19841
19839
  input: {
19842
19840
  json: {
19843
19841
  name: string;
@@ -19869,10 +19867,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19869
19867
  };
19870
19868
  } | {
19871
19869
  output: {
19872
- error: string;
19870
+ path: string;
19871
+ name: string;
19873
19872
  };
19874
19873
  outputFormat: "json";
19875
- status: 500;
19874
+ status: 201;
19876
19875
  input: {
19877
19876
  json: {
19878
19877
  name: string;
@@ -19908,11 +19907,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19908
19907
  "/workflows/:name": {
19909
19908
  $delete: {
19910
19909
  output: {
19911
- ok: true;
19912
- path: string;
19910
+ error: string;
19913
19911
  };
19914
19912
  outputFormat: "json";
19915
- status: import("hono/utils/http-status").ContentfulStatusCode;
19913
+ status: 400 | 404 | 409 | 500;
19916
19914
  input: {
19917
19915
  param: {
19918
19916
  name: string;
@@ -19920,10 +19918,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19920
19918
  };
19921
19919
  } | {
19922
19920
  output: {
19923
- error: string;
19921
+ ok: true;
19922
+ path: string;
19924
19923
  };
19925
19924
  outputFormat: "json";
19926
- status: 400 | 404 | 409 | 500;
19925
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19927
19926
  input: {
19928
19927
  param: {
19929
19928
  name: string;
@@ -20099,18 +20098,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20099
20098
  "/repo/branches/delete": {
20100
20099
  $post: {
20101
20100
  output: {
20102
- deleted: string[];
20101
+ error: string;
20103
20102
  refused: {
20104
20103
  name: string;
20105
20104
  reason: string;
20106
20105
  }[];
20107
- dropped?: {
20108
- sha: string;
20109
- subject: string;
20110
- }[] | undefined;
20111
20106
  };
20112
20107
  outputFormat: "json";
20113
- status: 200;
20108
+ status: 409;
20114
20109
  input: {
20115
20110
  json: {
20116
20111
  names: string[];
@@ -20119,14 +20114,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20119
20114
  };
20120
20115
  } | {
20121
20116
  output: {
20122
- error: string;
20117
+ deleted: string[];
20123
20118
  refused: {
20124
20119
  name: string;
20125
20120
  reason: string;
20126
20121
  }[];
20122
+ dropped?: {
20123
+ sha: string;
20124
+ subject: string;
20125
+ }[] | undefined;
20127
20126
  };
20128
20127
  outputFormat: "json";
20129
- status: 409;
20128
+ status: 200;
20130
20129
  input: {
20131
20130
  json: {
20132
20131
  names: string[];
@@ -20147,12 +20146,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20147
20146
  } & {
20148
20147
  "/repo/commit/:sha": {
20149
20148
  $get: {
20150
- output: {
20151
- error: string;
20152
- code?: "invalid_input" | undefined;
20153
- };
20154
- outputFormat: "json";
20155
- status: 400;
20149
+ output: string;
20150
+ outputFormat: "text";
20151
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20156
20152
  input: {
20157
20153
  query: {
20158
20154
  structured?: string | undefined;
@@ -20165,9 +20161,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20165
20161
  } | {
20166
20162
  output: {
20167
20163
  error: string;
20164
+ code?: "invalid_input" | undefined;
20168
20165
  };
20169
20166
  outputFormat: "json";
20170
- status: 409;
20167
+ status: 400;
20171
20168
  input: {
20172
20169
  query: {
20173
20170
  structured?: string | undefined;
@@ -20211,9 +20208,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20211
20208
  };
20212
20209
  };
20213
20210
  } | {
20214
- output: string;
20215
- outputFormat: "text";
20216
- status: import("hono/utils/http-status").ContentfulStatusCode;
20211
+ output: {
20212
+ error: string;
20213
+ };
20214
+ outputFormat: "json";
20215
+ status: 409;
20217
20216
  input: {
20218
20217
  query: {
20219
20218
  structured?: string | undefined;
@@ -20228,13 +20227,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20228
20227
  } & {
20229
20228
  "/repo/changes": {
20230
20229
  $get: {
20231
- output: {
20232
- error: string;
20233
- };
20234
- outputFormat: "json";
20235
- status: 409;
20236
- input: {};
20237
- } | {
20238
20230
  output: {
20239
20231
  files: {
20240
20232
  path: string;
@@ -20259,6 +20251,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20259
20251
  outputFormat: "json";
20260
20252
  status: import("hono/utils/http-status").ContentfulStatusCode;
20261
20253
  input: {};
20254
+ } | {
20255
+ output: {
20256
+ error: string;
20257
+ };
20258
+ outputFormat: "json";
20259
+ status: 409;
20260
+ input: {};
20262
20261
  };
20263
20262
  };
20264
20263
  } & {
@@ -20283,12 +20282,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20283
20282
  "/repo/pull": {
20284
20283
  $post: {
20285
20284
  output: {
20286
- branch: string;
20287
- pulled: true;
20288
- summary: string;
20285
+ error: string;
20289
20286
  };
20290
20287
  outputFormat: "json";
20291
- status: 200;
20288
+ status: 409;
20292
20289
  input: {
20293
20290
  json: {
20294
20291
  branch?: string | undefined;
@@ -20297,10 +20294,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20297
20294
  };
20298
20295
  } | {
20299
20296
  output: {
20300
- error: string;
20297
+ branch: string;
20298
+ pulled: true;
20299
+ summary: string;
20301
20300
  };
20302
20301
  outputFormat: "json";
20303
- status: 409;
20302
+ status: 200;
20304
20303
  input: {
20305
20304
  json: {
20306
20305
  branch?: string | undefined;
@@ -22249,18 +22248,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22249
22248
  } & {
22250
22249
  "/run-summaries": {
22251
22250
  $get: {
22252
- output: {
22253
- error: string;
22254
- code?: "invalid_input" | undefined;
22255
- };
22256
- outputFormat: "json";
22257
- status: 400;
22258
- input: {
22259
- query: {
22260
- archived?: "all" | "recent" | undefined;
22261
- };
22262
- };
22263
- } | {
22264
22251
  output: {
22265
22252
  id: string;
22266
22253
  title: string;
@@ -22398,6 +22385,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22398
22385
  archived?: "all" | "recent" | undefined;
22399
22386
  };
22400
22387
  };
22388
+ } | {
22389
+ output: {
22390
+ error: string;
22391
+ code?: "invalid_input" | undefined;
22392
+ };
22393
+ outputFormat: "json";
22394
+ status: 400;
22395
+ input: {
22396
+ query: {
22397
+ archived?: "all" | "recent" | undefined;
22398
+ };
22399
+ };
22401
22400
  };
22402
22401
  };
22403
22402
  } & {
@@ -22758,92 +22757,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22758
22757
  } & {
22759
22758
  "/runs/:id/worker-destroy": {
22760
22759
  $post: {
22761
- output: {
22762
- workerId: string;
22763
- state: "complete" | "incomplete";
22764
- work?: {
22765
- uncommittedFiles: number;
22766
- commits: number;
22767
- } | undefined;
22768
- deleted?: ({
22769
- kind: "worktree";
22770
- path: string;
22771
- } | {
22772
- kind: "branch";
22773
- ref: string;
22774
- })[] | undefined;
22775
- remaining: ("branch" | "process" | "worktree")[];
22776
- error?: string | undefined;
22777
- };
22778
- outputFormat: "json";
22779
- status: 200;
22780
- input: {
22781
- query: {
22782
- [x: string]: string | string[];
22783
- };
22784
- } & {
22785
- param: {
22786
- id: string;
22787
- };
22788
- } & {
22789
- json: {
22790
- discardWork?: true | undefined;
22791
- };
22792
- };
22793
- } | {
22794
- output: {
22795
- error: string;
22796
- code?: "invalid_input" | undefined;
22797
- };
22798
- outputFormat: "json";
22799
- status: 400;
22800
- input: {
22801
- query: {
22802
- [x: string]: string | string[];
22803
- };
22804
- } & {
22805
- param: {
22806
- id: string;
22807
- };
22808
- } & {
22809
- json: {
22810
- discardWork?: true | undefined;
22811
- };
22812
- };
22813
- } | {
22814
- output: {
22815
- workerId: string;
22816
- state: "complete" | "incomplete";
22817
- work?: {
22818
- uncommittedFiles: number;
22819
- commits: number;
22820
- } | undefined;
22821
- deleted?: ({
22822
- kind: "worktree";
22823
- path: string;
22824
- } | {
22825
- kind: "branch";
22826
- ref: string;
22827
- })[] | undefined;
22828
- remaining: ("branch" | "process" | "worktree")[];
22829
- error?: string | undefined;
22830
- };
22831
- outputFormat: "json";
22832
- status: 409;
22833
- input: {
22834
- query: {
22835
- [x: string]: string | string[];
22836
- };
22837
- } & {
22838
- param: {
22839
- id: string;
22840
- };
22841
- } & {
22842
- json: {
22843
- discardWork?: true | undefined;
22844
- };
22845
- };
22846
- } | {
22847
22760
  output: {
22848
22761
  readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22849
22762
  readonly error: string;
@@ -22874,6 +22787,92 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22874
22787
  discardWork?: true | undefined;
22875
22788
  };
22876
22789
  };
22790
+ } | {
22791
+ output: {
22792
+ error: string;
22793
+ code?: "invalid_input" | undefined;
22794
+ };
22795
+ outputFormat: "json";
22796
+ status: 400;
22797
+ input: {
22798
+ query: {
22799
+ [x: string]: string | string[];
22800
+ };
22801
+ } & {
22802
+ param: {
22803
+ id: string;
22804
+ };
22805
+ } & {
22806
+ json: {
22807
+ discardWork?: true | undefined;
22808
+ };
22809
+ };
22810
+ } | {
22811
+ output: {
22812
+ workerId: string;
22813
+ state: "complete" | "incomplete";
22814
+ work?: {
22815
+ uncommittedFiles: number;
22816
+ commits: number;
22817
+ } | undefined;
22818
+ deleted?: ({
22819
+ kind: "worktree";
22820
+ path: string;
22821
+ } | {
22822
+ kind: "branch";
22823
+ ref: string;
22824
+ })[] | undefined;
22825
+ remaining: ("branch" | "process" | "worktree")[];
22826
+ error?: string | undefined;
22827
+ };
22828
+ outputFormat: "json";
22829
+ status: 200;
22830
+ input: {
22831
+ query: {
22832
+ [x: string]: string | string[];
22833
+ };
22834
+ } & {
22835
+ param: {
22836
+ id: string;
22837
+ };
22838
+ } & {
22839
+ json: {
22840
+ discardWork?: true | undefined;
22841
+ };
22842
+ };
22843
+ } | {
22844
+ output: {
22845
+ workerId: string;
22846
+ state: "complete" | "incomplete";
22847
+ work?: {
22848
+ uncommittedFiles: number;
22849
+ commits: number;
22850
+ } | undefined;
22851
+ deleted?: ({
22852
+ kind: "worktree";
22853
+ path: string;
22854
+ } | {
22855
+ kind: "branch";
22856
+ ref: string;
22857
+ })[] | undefined;
22858
+ remaining: ("branch" | "process" | "worktree")[];
22859
+ error?: string | undefined;
22860
+ };
22861
+ outputFormat: "json";
22862
+ status: 409;
22863
+ input: {
22864
+ query: {
22865
+ [x: string]: string | string[];
22866
+ };
22867
+ } & {
22868
+ param: {
22869
+ id: string;
22870
+ };
22871
+ } & {
22872
+ json: {
22873
+ discardWork?: true | undefined;
22874
+ };
22875
+ };
22877
22876
  };
22878
22877
  };
22879
22878
  } & {
@@ -22912,21 +22911,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22912
22911
  } & {
22913
22912
  "/runs/:id/archive": {
22914
22913
  $post: {
22915
- output: {
22916
- error: string;
22917
- };
22918
- outputFormat: "json";
22919
- status: 404;
22920
- input: {
22921
- json: {
22922
- archived?: boolean | undefined;
22923
- };
22924
- } & {
22925
- param: {
22926
- id: string;
22927
- };
22928
- };
22929
- } | {
22930
22914
  output: {
22931
22915
  archiveWhenDone?: boolean | undefined;
22932
22916
  autoMergePr?: boolean | undefined;
@@ -24105,32 +24089,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24105
24089
  id: string;
24106
24090
  };
24107
24091
  };
24108
- };
24109
- };
24110
- } & {
24111
- "/runs/:id/pin": {
24112
- $post: {
24092
+ } | {
24113
24093
  output: {
24114
24094
  error: string;
24115
- code?: "invalid_input" | undefined;
24116
24095
  };
24117
24096
  outputFormat: "json";
24118
- status: 400;
24097
+ status: 404;
24119
24098
  input: {
24120
- param: {
24121
- id: string;
24099
+ json: {
24100
+ archived?: boolean | undefined;
24122
24101
  };
24123
24102
  } & {
24124
- json: {
24125
- pinned?: boolean | undefined;
24103
+ param: {
24104
+ id: string;
24126
24105
  };
24127
24106
  };
24128
- } | {
24107
+ };
24108
+ };
24109
+ } & {
24110
+ "/runs/:id/pin": {
24111
+ $post: {
24129
24112
  output: {
24130
24113
  error: string;
24114
+ code?: "invalid_input" | undefined;
24131
24115
  };
24132
24116
  outputFormat: "json";
24133
- status: 404;
24117
+ status: 400;
24134
24118
  input: {
24135
24119
  param: {
24136
24120
  id: string;
@@ -25319,6 +25303,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25319
25303
  pinned?: boolean | undefined;
25320
25304
  };
25321
25305
  };
25306
+ } | {
25307
+ output: {
25308
+ error: string;
25309
+ };
25310
+ outputFormat: "json";
25311
+ status: 404;
25312
+ input: {
25313
+ param: {
25314
+ id: string;
25315
+ };
25316
+ } & {
25317
+ json: {
25318
+ pinned?: boolean | undefined;
25319
+ };
25320
+ };
25322
25321
  };
25323
25322
  };
25324
25323
  } & {
@@ -25345,7 +25344,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25345
25344
  error: string;
25346
25345
  };
25347
25346
  outputFormat: "json";
25348
- status: 400;
25347
+ status: 404;
25349
25348
  input: {
25350
25349
  param: {
25351
25350
  id: string;
@@ -25361,7 +25360,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25361
25360
  error: string;
25362
25361
  };
25363
25362
  outputFormat: "json";
25364
- status: 404;
25363
+ status: 400;
25365
25364
  input: {
25366
25365
  param: {
25367
25366
  id: string;
@@ -26583,17 +26582,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26583
26582
  } & {
26584
26583
  "/runs/:id/read": {
26585
26584
  $post: {
26586
- output: {
26587
- error: string;
26588
- };
26589
- outputFormat: "json";
26590
- status: 404;
26591
- input: {
26592
- param: {
26593
- id: string;
26594
- };
26595
- };
26596
- } | {
26597
26585
  output: {
26598
26586
  archiveWhenDone?: boolean | undefined;
26599
26587
  autoMergePr?: boolean | undefined;
@@ -27768,11 +27756,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27768
27756
  id: string;
27769
27757
  };
27770
27758
  };
27771
- };
27772
- };
27773
- } & {
27774
- "/runs/:id/unread": {
27775
- $post: {
27759
+ } | {
27776
27760
  output: {
27777
27761
  error: string;
27778
27762
  };
@@ -27783,7 +27767,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27783
27767
  id: string;
27784
27768
  };
27785
27769
  };
27786
- } | {
27770
+ };
27771
+ };
27772
+ } & {
27773
+ "/runs/:id/unread": {
27774
+ $post: {
27787
27775
  output: {
27788
27776
  archiveWhenDone?: boolean | undefined;
27789
27777
  autoMergePr?: boolean | undefined;
@@ -28958,6 +28946,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28958
28946
  id: string;
28959
28947
  };
28960
28948
  };
28949
+ } | {
28950
+ output: {
28951
+ error: string;
28952
+ };
28953
+ outputFormat: "json";
28954
+ status: 404;
28955
+ input: {
28956
+ param: {
28957
+ id: string;
28958
+ };
28959
+ };
28961
28960
  };
28962
28961
  };
28963
28962
  } & {
@@ -30233,17 +30232,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30233
30232
  } & {
30234
30233
  "/runs/:id": {
30235
30234
  $get: {
30236
- output: {
30237
- error: string;
30238
- };
30239
- outputFormat: "json";
30240
- status: 404;
30241
- input: {
30242
- param: {
30243
- id: string;
30244
- };
30245
- };
30246
- } | {
30247
30235
  output: {
30248
30236
  archiveWhenDone?: boolean | undefined;
30249
30237
  autoMergePr?: boolean | undefined;
@@ -31426,6 +31414,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31426
31414
  id: string;
31427
31415
  };
31428
31416
  };
31417
+ } | {
31418
+ output: {
31419
+ error: string;
31420
+ };
31421
+ outputFormat: "json";
31422
+ status: 404;
31423
+ input: {
31424
+ param: {
31425
+ id: string;
31426
+ };
31427
+ };
31429
31428
  };
31430
31429
  };
31431
31430
  } & {
@@ -31553,66 +31552,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31553
31552
  } & {
31554
31553
  "/runs/:id": {
31555
31554
  $patch: {
31556
- output: {
31557
- error: string;
31558
- };
31559
- outputFormat: "json";
31560
- status: 400;
31561
- input: {
31562
- json: {
31563
- archiveWhenDone?: boolean | undefined;
31564
- autoMergePr?: boolean | undefined;
31565
- allowWorkers?: boolean | undefined;
31566
- allowMessaging?: boolean | undefined;
31567
- title?: string | undefined;
31568
- task?: string | undefined;
31569
- };
31570
- } & {
31571
- param: {
31572
- id: string;
31573
- };
31574
- };
31575
- } | {
31576
- output: {
31577
- error: string;
31578
- };
31579
- outputFormat: "json";
31580
- status: 404;
31581
- input: {
31582
- json: {
31583
- archiveWhenDone?: boolean | undefined;
31584
- autoMergePr?: boolean | undefined;
31585
- allowWorkers?: boolean | undefined;
31586
- allowMessaging?: boolean | undefined;
31587
- title?: string | undefined;
31588
- task?: string | undefined;
31589
- };
31590
- } & {
31591
- param: {
31592
- id: string;
31593
- };
31594
- };
31595
- } | {
31596
- output: {
31597
- error: string;
31598
- };
31599
- outputFormat: "json";
31600
- status: 409;
31601
- input: {
31602
- json: {
31603
- archiveWhenDone?: boolean | undefined;
31604
- autoMergePr?: boolean | undefined;
31605
- allowWorkers?: boolean | undefined;
31606
- allowMessaging?: boolean | undefined;
31607
- title?: string | undefined;
31608
- task?: string | undefined;
31609
- };
31610
- } & {
31611
- param: {
31612
- id: string;
31613
- };
31614
- };
31615
- } | {
31616
31555
  output: {
31617
31556
  archiveWhenDone?: boolean | undefined;
31618
31557
  autoMergePr?: boolean | undefined;
@@ -32796,6 +32735,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32796
32735
  id: string;
32797
32736
  };
32798
32737
  };
32738
+ } | {
32739
+ output: {
32740
+ error: string;
32741
+ };
32742
+ outputFormat: "json";
32743
+ status: 404;
32744
+ input: {
32745
+ json: {
32746
+ archiveWhenDone?: boolean | undefined;
32747
+ autoMergePr?: boolean | undefined;
32748
+ allowWorkers?: boolean | undefined;
32749
+ allowMessaging?: boolean | undefined;
32750
+ title?: string | undefined;
32751
+ task?: string | undefined;
32752
+ };
32753
+ } & {
32754
+ param: {
32755
+ id: string;
32756
+ };
32757
+ };
32758
+ } | {
32759
+ output: {
32760
+ error: string;
32761
+ };
32762
+ outputFormat: "json";
32763
+ status: 400;
32764
+ input: {
32765
+ json: {
32766
+ archiveWhenDone?: boolean | undefined;
32767
+ autoMergePr?: boolean | undefined;
32768
+ allowWorkers?: boolean | undefined;
32769
+ allowMessaging?: boolean | undefined;
32770
+ title?: string | undefined;
32771
+ task?: string | undefined;
32772
+ };
32773
+ } & {
32774
+ param: {
32775
+ id: string;
32776
+ };
32777
+ };
32778
+ } | {
32779
+ output: {
32780
+ error: string;
32781
+ };
32782
+ outputFormat: "json";
32783
+ status: 409;
32784
+ input: {
32785
+ json: {
32786
+ archiveWhenDone?: boolean | undefined;
32787
+ autoMergePr?: boolean | undefined;
32788
+ allowWorkers?: boolean | undefined;
32789
+ allowMessaging?: boolean | undefined;
32790
+ title?: string | undefined;
32791
+ task?: string | undefined;
32792
+ };
32793
+ } & {
32794
+ param: {
32795
+ id: string;
32796
+ };
32797
+ };
32799
32798
  };
32800
32799
  };
32801
32800
  } & {
@@ -32900,7 +32899,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32900
32899
  error: string;
32901
32900
  };
32902
32901
  outputFormat: "json";
32903
- status: 400;
32902
+ status: 404;
32904
32903
  input: {
32905
32904
  json: {
32906
32905
  text?: string | undefined;
@@ -32919,7 +32918,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32919
32918
  error: string;
32920
32919
  };
32921
32920
  outputFormat: "json";
32922
- status: 404;
32921
+ status: 409;
32923
32922
  input: {
32924
32923
  json: {
32925
32924
  text?: string | undefined;
@@ -32935,10 +32934,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32935
32934
  };
32936
32935
  } | {
32937
32936
  output: {
32938
- error: string;
32937
+ delivered: true;
32939
32938
  };
32940
32939
  outputFormat: "json";
32941
- status: 409;
32940
+ status: import("hono/utils/http-status").ContentfulStatusCode;
32942
32941
  input: {
32943
32942
  json: {
32944
32943
  text?: string | undefined;
@@ -32954,10 +32953,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32954
32953
  };
32955
32954
  } | {
32956
32955
  output: {
32957
- delivered: true;
32956
+ error: string;
32958
32957
  };
32959
32958
  outputFormat: "json";
32960
- status: import("hono/utils/http-status").ContentfulStatusCode;
32959
+ status: 400;
32961
32960
  input: {
32962
32961
  json: {
32963
32962
  text?: string | undefined;
@@ -33025,7 +33024,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33025
33024
  error: string;
33026
33025
  };
33027
33026
  outputFormat: "json";
33028
- status: 400;
33027
+ status: 404;
33029
33028
  input: {
33030
33029
  json: {
33031
33030
  text?: string | undefined;
@@ -33046,7 +33045,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33046
33045
  error: string;
33047
33046
  };
33048
33047
  outputFormat: "json";
33049
- status: 404;
33048
+ status: 400;
33050
33049
  input: {
33051
33050
  json: {
33052
33051
  text?: string | undefined;
@@ -33266,11 +33265,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33266
33265
  "/runs/:id/open-in-cli": {
33267
33266
  $post: {
33268
33267
  output: {
33269
- opened: true;
33270
- command: string;
33268
+ error: string;
33271
33269
  };
33272
33270
  outputFormat: "json";
33273
- status: import("hono/utils/http-status").ContentfulStatusCode;
33271
+ status: 404 | 409;
33274
33272
  input: {
33275
33273
  param: {
33276
33274
  id: string;
@@ -33278,10 +33276,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33278
33276
  };
33279
33277
  } | {
33280
33278
  output: {
33281
- error: string;
33279
+ opened: true;
33280
+ command: string;
33282
33281
  };
33283
33282
  outputFormat: "json";
33284
- status: 404 | 409;
33283
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33285
33284
  input: {
33286
33285
  param: {
33287
33286
  id: string;
@@ -33369,12 +33368,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33369
33368
  } & {
33370
33369
  "/runs/:id/images/:file": {
33371
33370
  $get: {
33372
- output: {
33373
- error: string;
33374
- code?: "invalid_input" | undefined;
33375
- };
33376
- outputFormat: "json";
33377
- status: 400;
33371
+ output: {};
33372
+ outputFormat: string;
33373
+ status: import("hono/utils/http-status").StatusCode;
33378
33374
  input: {
33379
33375
  param: {
33380
33376
  id: string;
@@ -33382,9 +33378,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33382
33378
  };
33383
33379
  };
33384
33380
  } | {
33385
- output: {};
33386
- outputFormat: string;
33387
- status: import("hono/utils/http-status").StatusCode;
33381
+ output: {
33382
+ error: string;
33383
+ code?: "invalid_input" | undefined;
33384
+ };
33385
+ outputFormat: "json";
33386
+ status: 400;
33388
33387
  input: {
33389
33388
  param: {
33390
33389
  id: string;
@@ -33420,6 +33419,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33420
33419
  } & {
33421
33420
  "/runs/:id/changes": {
33422
33421
  $get: {
33422
+ output: {
33423
+ error: string;
33424
+ };
33425
+ outputFormat: "json";
33426
+ status: 404 | 409;
33427
+ input: {
33428
+ param: {
33429
+ id: string;
33430
+ };
33431
+ };
33432
+ } | {
33423
33433
  output: {
33424
33434
  files: {
33425
33435
  path: string;
@@ -33448,7 +33458,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33448
33458
  id: string;
33449
33459
  };
33450
33460
  };
33451
- } | {
33461
+ };
33462
+ };
33463
+ } & {
33464
+ "/runs/:id/commits": {
33465
+ $get: {
33452
33466
  output: {
33453
33467
  error: string;
33454
33468
  };
@@ -33459,11 +33473,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33459
33473
  id: string;
33460
33474
  };
33461
33475
  };
33462
- };
33463
- };
33464
- } & {
33465
- "/runs/:id/commits": {
33466
- $get: {
33476
+ } | {
33467
33477
  output: {
33468
33478
  commits: {
33469
33479
  sha: string;
@@ -33479,7 +33489,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33479
33489
  id: string;
33480
33490
  };
33481
33491
  };
33482
- } | {
33492
+ };
33493
+ };
33494
+ } & {
33495
+ "/runs/:id/commit/:sha": {
33496
+ $get: {
33483
33497
  output: {
33484
33498
  error: string;
33485
33499
  };
@@ -33488,13 +33502,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33488
33502
  input: {
33489
33503
  param: {
33490
33504
  id: string;
33505
+ } & {
33506
+ sha: string;
33491
33507
  };
33492
33508
  };
33493
- };
33494
- };
33495
- } & {
33496
- "/runs/:id/commit/:sha": {
33497
- $get: {
33509
+ } | {
33498
33510
  output: {
33499
33511
  sha: string;
33500
33512
  subject: string;
@@ -33525,19 +33537,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33525
33537
  sha: string;
33526
33538
  };
33527
33539
  };
33528
- } | {
33529
- output: {
33530
- error: string;
33531
- };
33532
- outputFormat: "json";
33533
- status: 404 | 409;
33534
- input: {
33535
- param: {
33536
- id: string;
33537
- } & {
33538
- sha: string;
33539
- };
33540
- };
33541
33540
  };
33542
33541
  };
33543
33542
  } & {
@@ -33573,6 +33572,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33573
33572
  raw?: "1" | undefined;
33574
33573
  };
33575
33574
  };
33575
+ } | {
33576
+ output: {
33577
+ error: string;
33578
+ };
33579
+ outputFormat: "json";
33580
+ status: 404 | 409;
33581
+ input: {
33582
+ param: {
33583
+ id: string;
33584
+ };
33585
+ } & {
33586
+ query: {
33587
+ path: string | string[];
33588
+ raw?: "1" | undefined;
33589
+ };
33590
+ };
33576
33591
  } | {
33577
33592
  output: {
33578
33593
  type: "file";
@@ -33609,22 +33624,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33609
33624
  raw?: "1" | undefined;
33610
33625
  };
33611
33626
  };
33612
- } | {
33613
- output: {
33614
- error: string;
33615
- };
33616
- outputFormat: "json";
33617
- status: 404 | 409;
33618
- input: {
33619
- param: {
33620
- id: string;
33621
- };
33622
- } & {
33623
- query: {
33624
- path: string | string[];
33625
- raw?: "1" | undefined;
33626
- };
33627
- };
33628
33627
  };
33629
33628
  };
33630
33629
  } & {
@@ -33689,18 +33688,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33689
33688
  artifactId: string;
33690
33689
  };
33691
33690
  };
33692
- } | {
33693
- output: {
33694
- error: string;
33695
- };
33696
- outputFormat: "json";
33697
- status: 404;
33698
- input: {
33699
- param: {
33700
- id: string;
33701
- artifactId: string;
33702
- };
33703
- };
33704
33691
  } | {
33705
33692
  output: {
33706
33693
  type: "file";
@@ -33729,6 +33716,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33729
33716
  artifactId: string;
33730
33717
  };
33731
33718
  };
33719
+ } | {
33720
+ output: {
33721
+ error: string;
33722
+ };
33723
+ outputFormat: "json";
33724
+ status: 404;
33725
+ input: {
33726
+ param: {
33727
+ id: string;
33728
+ artifactId: string;
33729
+ };
33730
+ };
33732
33731
  };
33733
33732
  };
33734
33733
  } & {
@@ -33906,16 +33905,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33906
33905
  };
33907
33906
  } | {
33908
33907
  output: {
33909
- type: 'dir';
33910
- path: string;
33911
- entries: {
33912
- name: string;
33913
- type: 'dir' | 'file';
33914
- size?: number;
33915
- }[];
33908
+ error: string;
33916
33909
  };
33917
33910
  outputFormat: "json";
33918
- status: import("hono/utils/http-status").ContentfulStatusCode;
33911
+ status: 404 | 409;
33919
33912
  input: {
33920
33913
  query: {
33921
33914
  path?: string | undefined;
@@ -33928,12 +33921,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33928
33921
  };
33929
33922
  } | {
33930
33923
  output: {
33931
- type: 'file';
33924
+ type: 'dir';
33932
33925
  path: string;
33933
- size: number;
33934
- binary: boolean;
33935
- tooLarge: boolean;
33936
- content?: string | undefined;
33926
+ entries: {
33927
+ name: string;
33928
+ type: 'dir' | 'file';
33929
+ size?: number;
33930
+ }[];
33937
33931
  };
33938
33932
  outputFormat: "json";
33939
33933
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33949,10 +33943,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33949
33943
  };
33950
33944
  } | {
33951
33945
  output: {
33952
- error: string;
33946
+ type: 'file';
33947
+ path: string;
33948
+ size: number;
33949
+ binary: boolean;
33950
+ tooLarge: boolean;
33951
+ content?: string | undefined;
33953
33952
  };
33954
33953
  outputFormat: "json";
33955
- status: 404 | 409;
33954
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33956
33955
  input: {
33957
33956
  query: {
33958
33957
  path?: string | undefined;
@@ -33969,11 +33968,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33969
33968
  "/runs/:id/git/commit": {
33970
33969
  $post: {
33971
33970
  output: {
33972
- committed: true;
33973
- sha: string;
33971
+ error: string;
33974
33972
  };
33975
33973
  outputFormat: "json";
33976
- status: import("hono/utils/http-status").ContentfulStatusCode;
33974
+ status: 404 | 409;
33977
33975
  input: {
33978
33976
  json: {
33979
33977
  message: string;
@@ -33985,10 +33983,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33985
33983
  };
33986
33984
  } | {
33987
33985
  output: {
33988
- error: string;
33986
+ committed: true;
33987
+ sha: string;
33989
33988
  };
33990
33989
  outputFormat: "json";
33991
- status: 404 | 409;
33990
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33992
33991
  input: {
33993
33992
  json: {
33994
33993
  message: string;
@@ -34004,13 +34003,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34004
34003
  "/runs/:id/git/push": {
34005
34004
  $post: {
34006
34005
  output: {
34007
- pushed: true;
34008
- branch: string;
34009
- remote: string;
34010
- upstreamSet: boolean;
34006
+ error: string;
34011
34007
  };
34012
34008
  outputFormat: "json";
34013
- status: import("hono/utils/http-status").ContentfulStatusCode;
34009
+ status: 404 | 409;
34014
34010
  input: {
34015
34011
  param: {
34016
34012
  id: string;
@@ -34018,10 +34014,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34018
34014
  };
34019
34015
  } | {
34020
34016
  output: {
34021
- error: string;
34017
+ pushed: true;
34018
+ branch: string;
34019
+ remote: string;
34020
+ upstreamSet: boolean;
34022
34021
  };
34023
34022
  outputFormat: "json";
34024
- status: 404 | 409;
34023
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34025
34024
  input: {
34026
34025
  param: {
34027
34026
  id: string;
@@ -34033,11 +34032,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34033
34032
  "/runs/:id/pr": {
34034
34033
  $post: {
34035
34034
  output: {
34036
- url: string;
34037
- dryRun: boolean;
34035
+ error: string;
34038
34036
  };
34039
34037
  outputFormat: "json";
34040
- status: 201;
34038
+ status: 404 | 409;
34041
34039
  input: {
34042
34040
  param: {
34043
34041
  id: string;
@@ -34045,10 +34043,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34045
34043
  };
34046
34044
  } | {
34047
34045
  output: {
34048
- error: string;
34046
+ url: string;
34047
+ dryRun: boolean;
34049
34048
  };
34050
34049
  outputFormat: "json";
34051
- status: 404 | 409;
34050
+ status: 201;
34052
34051
  input: {
34053
34052
  param: {
34054
34053
  id: string;
@@ -34060,10 +34059,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34060
34059
  "/runs/:id/remove-worktree": {
34061
34060
  $post: {
34062
34061
  output: {
34063
- removed: true;
34062
+ error: string;
34064
34063
  };
34065
34064
  outputFormat: "json";
34066
- status: import("hono/utils/http-status").ContentfulStatusCode;
34065
+ status: 404 | 409;
34067
34066
  input: {
34068
34067
  param: {
34069
34068
  id: string;
@@ -34071,10 +34070,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34071
34070
  };
34072
34071
  } | {
34073
34072
  output: {
34074
- error: string;
34073
+ removed: true;
34075
34074
  };
34076
34075
  outputFormat: "json";
34077
- status: 404 | 409;
34076
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34078
34077
  input: {
34079
34078
  param: {
34080
34079
  id: string;
@@ -34086,10 +34085,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34086
34085
  "/runs/:id": {
34087
34086
  $delete: {
34088
34087
  output: {
34089
- deleted: true;
34088
+ error: string;
34090
34089
  };
34091
34090
  outputFormat: "json";
34092
- status: import("hono/utils/http-status").ContentfulStatusCode;
34091
+ status: 404 | 409;
34093
34092
  input: {
34094
34093
  param: {
34095
34094
  id: string;
@@ -34097,10 +34096,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34097
34096
  };
34098
34097
  } | {
34099
34098
  output: {
34100
- error: string;
34099
+ deleted: true;
34101
34100
  };
34102
34101
  outputFormat: "json";
34103
- status: 404 | 409;
34102
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34104
34103
  input: {
34105
34104
  param: {
34106
34105
  id: string;
@@ -34112,9 +34111,4 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34112
34111
  /** The host a thread link names (#589): the bound one, or loopback for a wildcard bind. */
34113
34112
  /** The built-in skills a project's manager offers (#774). Test apps inject partial managers. */
34114
34113
  export { cockpitOriginFor } from './server-deps.ts';
34115
- /**
34116
- * Validate topic-bus upgrades before handshake. Local Host must be loopback. Same-authority or
34117
- * native clients are trusted; verified dev proxies are trusted. Metadata-free foreign loopback
34118
- * origins are untrusted and may read only loopbackReadable topics.
34119
- */
34120
- export declare function verifyWsUpgrade(req: IncomingMessage, bindHost?: string): WsUpgradeVerdict;
34114
+ export { verifyWsUpgrade } from './ws.ts';