@hearsay-tools/squawk 0.19.0-dev.9086 → 0.19.0-dev.9088

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 (48) hide show
  1. package/dist/built-in-cli-commands.js +6 -1
  2. package/dist/built-in-cli-commands.js.map +1 -1
  3. package/dist/ci-wait/controller.d.ts +7 -7
  4. package/dist/cli-dispatch.d.ts +2 -1
  5. package/dist/cli-dispatch.js +20 -7
  6. package/dist/cli-dispatch.js.map +1 -1
  7. package/dist/contract/hosts.d.ts +161 -0
  8. package/dist/contract/index.js +116 -0
  9. package/dist/core/cli-registry.d.ts +1 -0
  10. package/dist/core/cli-registry.js.map +1 -1
  11. package/dist/features/automations/tools.d.ts +8 -8
  12. package/dist/features/hosts/cli.d.ts +59 -0
  13. package/dist/features/hosts/cli.js +28 -17
  14. package/dist/features/hosts/cli.js.map +1 -1
  15. package/dist/features/hosts/host-server-cli.d.ts +13 -0
  16. package/dist/features/hosts/host-server-cli.js +246 -0
  17. package/dist/features/hosts/host-server-cli.js.map +1 -0
  18. package/dist/features/hosts/host-server.d.ts +51 -0
  19. package/dist/features/hosts/host-server.js +407 -0
  20. package/dist/features/hosts/host-server.js.map +1 -0
  21. package/dist/features/hosts/index.d.ts +2 -0
  22. package/dist/features/hosts/index.js +12 -0
  23. package/dist/features/hosts/index.js.map +1 -1
  24. package/dist/features/hosts/runtime-archive.d.ts +103 -0
  25. package/dist/features/hosts/runtime-archive.js +619 -0
  26. package/dist/features/hosts/runtime-archive.js.map +1 -0
  27. package/dist/features/hosts/start-methods.d.ts +76 -0
  28. package/dist/features/hosts/start-methods.js +234 -0
  29. package/dist/features/hosts/start-methods.js.map +1 -0
  30. package/dist/features/hosts/tar-gz.d.ts +30 -0
  31. package/dist/features/hosts/tar-gz.js +143 -0
  32. package/dist/features/hosts/tar-gz.js.map +1 -0
  33. package/dist/host-server-store.d.ts +103 -0
  34. package/dist/host-server-store.js +348 -0
  35. package/dist/host-server-store.js.map +1 -0
  36. package/dist/index.js +2 -2
  37. package/dist/index.js.map +1 -1
  38. package/dist/serve-command.d.ts +10 -1
  39. package/dist/serve-command.js +63 -9
  40. package/dist/serve-command.js.map +1 -1
  41. package/dist/server/live-routes.d.ts +6 -6
  42. package/dist/server/providers-routes.d.ts +58 -58
  43. package/dist/server/runner-install-routes.d.ts +10 -10
  44. package/dist/server/runs-routes.d.ts +995 -995
  45. package/dist/server/server.d.ts +699 -699
  46. package/dist/server/workspace-identity-routes.d.ts +5 -5
  47. package/dist/server/workspace-routes.d.ts +85 -85
  48. package/package.json +4 -4
@@ -167,6 +167,188 @@ export interface ProjectRouteInfo {
167
167
  export declare function projectRouteManifest(app: Hono): ProjectRouteInfo[];
168
168
  export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse, UpdateProjectResponse } from '../contract/index.js';
169
169
  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<{
170
+ "/health": {
171
+ $get: {
172
+ output: {
173
+ version: string;
174
+ latestVersion?: string | undefined;
175
+ repoRoot: string | null;
176
+ repo: {
177
+ root: string;
178
+ branch: string;
179
+ remote?: string | undefined;
180
+ } | null;
181
+ checks: {
182
+ name: string;
183
+ available: boolean;
184
+ version?: string;
185
+ hint?: string;
186
+ }[];
187
+ defaultRunner: string;
188
+ forge: {
189
+ available?: boolean | undefined;
190
+ reason?: string;
191
+ kind: string;
192
+ } | null;
193
+ capabilities: {
194
+ [x: string]: boolean | undefined;
195
+ localHandoff: boolean;
196
+ settingsAdmin: boolean;
197
+ remoteSettingsAdmin: boolean;
198
+ automations?: boolean | undefined;
199
+ preview: boolean;
200
+ tokenMetrics: boolean;
201
+ tokenUsageMetrics: boolean;
202
+ costMetrics: boolean;
203
+ };
204
+ projects: {
205
+ id: string;
206
+ name: string;
207
+ }[];
208
+ bootProject: string | null;
209
+ plugins: {
210
+ loaded: {
211
+ name: string;
212
+ source: "bundled" | "host";
213
+ path?: string | undefined;
214
+ }[];
215
+ failed: {
216
+ name: string;
217
+ source: "bundled" | "host";
218
+ path?: string | undefined;
219
+ error: string;
220
+ }[];
221
+ };
222
+ };
223
+ outputFormat: "json";
224
+ status: import("hono/utils/http-status").ContentfulStatusCode;
225
+ input: {};
226
+ };
227
+ };
228
+ }, "/"> | import("hono/types").MergeSchemaPath<{
229
+ "/fs/browse": {
230
+ $get: {
231
+ output: {
232
+ error: string;
233
+ code?: "invalid_input" | undefined;
234
+ };
235
+ outputFormat: "json";
236
+ status: 400;
237
+ input: {
238
+ query: {
239
+ path?: string | undefined;
240
+ showHidden?: string | undefined;
241
+ };
242
+ };
243
+ } | {
244
+ output: {
245
+ error: string;
246
+ };
247
+ outputFormat: "json";
248
+ status: 400 | 403 | 404;
249
+ input: {
250
+ query: {
251
+ path?: string | undefined;
252
+ showHidden?: string | undefined;
253
+ };
254
+ };
255
+ } | {
256
+ output: {
257
+ path: string;
258
+ parent: string | null;
259
+ dirs: {
260
+ name: string;
261
+ path: string;
262
+ isRepo: boolean;
263
+ }[];
264
+ truncated: boolean;
265
+ };
266
+ outputFormat: "json";
267
+ status: import("hono/utils/http-status").ContentfulStatusCode;
268
+ input: {
269
+ query: {
270
+ path?: string | undefined;
271
+ showHidden?: string | undefined;
272
+ };
273
+ };
274
+ };
275
+ };
276
+ }, "/"> | import("hono/types").MergeSchemaPath<{
277
+ "/workspace/events": {
278
+ $get: {
279
+ output: {};
280
+ outputFormat: string;
281
+ status: import("hono/utils/http-status").StatusCode;
282
+ input: {
283
+ query: {
284
+ runs?: "summary" | undefined;
285
+ };
286
+ };
287
+ } | {
288
+ output: {
289
+ error: string;
290
+ code?: "invalid_input" | undefined;
291
+ };
292
+ outputFormat: "json";
293
+ status: 400;
294
+ input: {
295
+ query: {
296
+ runs?: "summary" | undefined;
297
+ };
298
+ };
299
+ };
300
+ };
301
+ }, "/"> | import("hono/types").MergeSchemaPath<{
302
+ "/models": {
303
+ $get: {
304
+ output: {
305
+ error: string;
306
+ code?: "invalid_input" | undefined;
307
+ };
308
+ outputFormat: "json";
309
+ status: 400;
310
+ input: {
311
+ query: {
312
+ runner: string | string[];
313
+ profileId?: string | undefined;
314
+ };
315
+ };
316
+ } | {
317
+ output: {
318
+ runner: string;
319
+ models: {
320
+ id: string;
321
+ label: string;
322
+ description: string;
323
+ effortLevels?: import('../contract/index.js').EffortLevel[];
324
+ }[];
325
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
326
+ stale: boolean;
327
+ reason?: string;
328
+ };
329
+ outputFormat: "json";
330
+ status: import("hono/utils/http-status").ContentfulStatusCode;
331
+ input: {
332
+ query: {
333
+ runner: string | string[];
334
+ profileId?: string | undefined;
335
+ };
336
+ };
337
+ } | {
338
+ output: {
339
+ error: string;
340
+ };
341
+ outputFormat: "json";
342
+ status: 400;
343
+ input: {
344
+ query: {
345
+ runner: string | string[];
346
+ profileId?: string | undefined;
347
+ };
348
+ };
349
+ };
350
+ };
351
+ }, "/"> | import("hono/types").MergeSchemaPath<{
170
352
  "/workspace/activity": {
171
353
  $get: {
172
354
  output: {
@@ -444,188 +626,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
444
626
  };
445
627
  };
446
628
  };
447
- }, "/"> | import("hono/types").MergeSchemaPath<{
448
- "/models": {
449
- $get: {
450
- output: {
451
- error: string;
452
- code?: "invalid_input" | undefined;
453
- };
454
- outputFormat: "json";
455
- status: 400;
456
- input: {
457
- query: {
458
- runner: string | string[];
459
- profileId?: string | undefined;
460
- };
461
- };
462
- } | {
463
- output: {
464
- runner: string;
465
- models: {
466
- id: string;
467
- label: string;
468
- description: string;
469
- effortLevels?: import('../contract/index.js').EffortLevel[];
470
- }[];
471
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
472
- stale: boolean;
473
- reason?: string;
474
- };
475
- outputFormat: "json";
476
- status: import("hono/utils/http-status").ContentfulStatusCode;
477
- input: {
478
- query: {
479
- runner: string | string[];
480
- profileId?: string | undefined;
481
- };
482
- };
483
- } | {
484
- output: {
485
- error: string;
486
- };
487
- outputFormat: "json";
488
- status: 400;
489
- input: {
490
- query: {
491
- runner: string | string[];
492
- profileId?: string | undefined;
493
- };
494
- };
495
- };
496
- };
497
- }, "/"> | import("hono/types").MergeSchemaPath<{
498
- "/health": {
499
- $get: {
500
- output: {
501
- version: string;
502
- latestVersion?: string | undefined;
503
- repoRoot: string | null;
504
- repo: {
505
- root: string;
506
- branch: string;
507
- remote?: string | undefined;
508
- } | null;
509
- checks: {
510
- name: string;
511
- available: boolean;
512
- version?: string;
513
- hint?: string;
514
- }[];
515
- defaultRunner: string;
516
- forge: {
517
- available?: boolean | undefined;
518
- reason?: string;
519
- kind: string;
520
- } | null;
521
- capabilities: {
522
- [x: string]: boolean | undefined;
523
- localHandoff: boolean;
524
- settingsAdmin: boolean;
525
- remoteSettingsAdmin: boolean;
526
- automations?: boolean | undefined;
527
- preview: boolean;
528
- tokenMetrics: boolean;
529
- tokenUsageMetrics: boolean;
530
- costMetrics: boolean;
531
- };
532
- projects: {
533
- id: string;
534
- name: string;
535
- }[];
536
- bootProject: string | null;
537
- plugins: {
538
- loaded: {
539
- name: string;
540
- source: "bundled" | "host";
541
- path?: string | undefined;
542
- }[];
543
- failed: {
544
- name: string;
545
- source: "bundled" | "host";
546
- path?: string | undefined;
547
- error: string;
548
- }[];
549
- };
550
- };
551
- outputFormat: "json";
552
- status: import("hono/utils/http-status").ContentfulStatusCode;
553
- input: {};
554
- };
555
- };
556
- }, "/"> | import("hono/types").MergeSchemaPath<{
557
- "/fs/browse": {
558
- $get: {
559
- output: {
560
- error: string;
561
- code?: "invalid_input" | undefined;
562
- };
563
- outputFormat: "json";
564
- status: 400;
565
- input: {
566
- query: {
567
- path?: string | undefined;
568
- showHidden?: string | undefined;
569
- };
570
- };
571
- } | {
572
- output: {
573
- error: string;
574
- };
575
- outputFormat: "json";
576
- status: 400 | 403 | 404;
577
- input: {
578
- query: {
579
- path?: string | undefined;
580
- showHidden?: string | undefined;
581
- };
582
- };
583
- } | {
584
- output: {
585
- path: string;
586
- parent: string | null;
587
- dirs: {
588
- name: string;
589
- path: string;
590
- isRepo: boolean;
591
- }[];
592
- truncated: boolean;
593
- };
594
- outputFormat: "json";
595
- status: import("hono/utils/http-status").ContentfulStatusCode;
596
- input: {
597
- query: {
598
- path?: string | undefined;
599
- showHidden?: string | undefined;
600
- };
601
- };
602
- };
603
- };
604
- }, "/"> | import("hono/types").MergeSchemaPath<{
605
- "/workspace/events": {
606
- $get: {
607
- output: {};
608
- outputFormat: string;
609
- status: import("hono/utils/http-status").StatusCode;
610
- input: {
611
- query: {
612
- runs?: "summary" | undefined;
613
- };
614
- };
615
- } | {
616
- output: {
617
- error: string;
618
- code?: "invalid_input" | undefined;
619
- };
620
- outputFormat: "json";
621
- status: 400;
622
- input: {
623
- query: {
624
- runs?: "summary" | undefined;
625
- };
626
- };
627
- };
628
- };
629
629
  }, "/"> | import("hono/types").MergeSchemaPath<{
630
630
  "/workspace/runs-index": {
631
631
  $get: {
@@ -941,6 +941,223 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
941
941
  };
942
942
  };
943
943
  };
944
+ }, "/"> | import("hono/types").MergeSchemaPath<{
945
+ "/providers/sign-in/start": {
946
+ $post: {
947
+ output: {
948
+ error: string;
949
+ };
950
+ outputFormat: "json";
951
+ status: 409;
952
+ input: {
953
+ json: {
954
+ provider: string;
955
+ profileId?: string | undefined;
956
+ };
957
+ };
958
+ } | {
959
+ output: {
960
+ error: string;
961
+ };
962
+ outputFormat: "json";
963
+ status: 400;
964
+ input: {
965
+ json: {
966
+ provider: string;
967
+ profileId?: string | undefined;
968
+ };
969
+ };
970
+ } | {
971
+ output: {
972
+ id: string;
973
+ state: "waiting";
974
+ url: string;
975
+ } | {
976
+ id: string;
977
+ state: "cancelled" | "connected";
978
+ } | {
979
+ id: string;
980
+ state: "failed";
981
+ error: string;
982
+ };
983
+ outputFormat: "json";
984
+ status: import("hono/utils/http-status").ContentfulStatusCode;
985
+ input: {
986
+ json: {
987
+ provider: string;
988
+ profileId?: string | undefined;
989
+ };
990
+ };
991
+ };
992
+ };
993
+ } & {
994
+ "/providers/sign-in/:id": {
995
+ $get: {
996
+ output: {
997
+ error: string;
998
+ code?: "invalid_input" | undefined;
999
+ };
1000
+ outputFormat: "json";
1001
+ status: 400;
1002
+ input: {
1003
+ param: {
1004
+ id: string;
1005
+ };
1006
+ };
1007
+ } | {
1008
+ output: {
1009
+ error: string;
1010
+ };
1011
+ outputFormat: "json";
1012
+ status: 404;
1013
+ input: {
1014
+ param: {
1015
+ id: string;
1016
+ };
1017
+ };
1018
+ } | {
1019
+ output: {
1020
+ id: string;
1021
+ state: "waiting";
1022
+ url: string;
1023
+ } | {
1024
+ id: string;
1025
+ state: "cancelled" | "connected";
1026
+ } | {
1027
+ id: string;
1028
+ state: "failed";
1029
+ error: string;
1030
+ };
1031
+ outputFormat: "json";
1032
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1033
+ input: {
1034
+ param: {
1035
+ id: string;
1036
+ };
1037
+ };
1038
+ };
1039
+ };
1040
+ } & {
1041
+ "/providers/sign-in/:id/redirect": {
1042
+ $post: {
1043
+ output: {
1044
+ error: string;
1045
+ code?: "invalid_input" | undefined;
1046
+ };
1047
+ outputFormat: "json";
1048
+ status: 400;
1049
+ input: {
1050
+ param: {
1051
+ id: string;
1052
+ };
1053
+ } & {
1054
+ json: {
1055
+ redirectUrl: string;
1056
+ };
1057
+ };
1058
+ } | {
1059
+ output: {
1060
+ error: string;
1061
+ };
1062
+ outputFormat: "json";
1063
+ status: 404;
1064
+ input: {
1065
+ param: {
1066
+ id: string;
1067
+ };
1068
+ } & {
1069
+ json: {
1070
+ redirectUrl: string;
1071
+ };
1072
+ };
1073
+ } | {
1074
+ output: {
1075
+ error: string;
1076
+ };
1077
+ outputFormat: "json";
1078
+ status: 409;
1079
+ input: {
1080
+ param: {
1081
+ id: string;
1082
+ };
1083
+ } & {
1084
+ json: {
1085
+ redirectUrl: string;
1086
+ };
1087
+ };
1088
+ } | {
1089
+ output: {
1090
+ id: string;
1091
+ state: "waiting";
1092
+ url: string;
1093
+ } | {
1094
+ id: string;
1095
+ state: "cancelled" | "connected";
1096
+ } | {
1097
+ id: string;
1098
+ state: "failed";
1099
+ error: string;
1100
+ };
1101
+ outputFormat: "json";
1102
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1103
+ input: {
1104
+ param: {
1105
+ id: string;
1106
+ };
1107
+ } & {
1108
+ json: {
1109
+ redirectUrl: string;
1110
+ };
1111
+ };
1112
+ };
1113
+ };
1114
+ } & {
1115
+ "/providers/sign-in/:id": {
1116
+ $delete: {
1117
+ output: {
1118
+ error: string;
1119
+ code?: "invalid_input" | undefined;
1120
+ };
1121
+ outputFormat: "json";
1122
+ status: 400;
1123
+ input: {
1124
+ param: {
1125
+ id: string;
1126
+ };
1127
+ };
1128
+ } | {
1129
+ output: {
1130
+ error: string;
1131
+ };
1132
+ outputFormat: "json";
1133
+ status: 404;
1134
+ input: {
1135
+ param: {
1136
+ id: string;
1137
+ };
1138
+ };
1139
+ } | {
1140
+ output: {
1141
+ id: string;
1142
+ state: "waiting";
1143
+ url: string;
1144
+ } | {
1145
+ id: string;
1146
+ state: "cancelled" | "connected";
1147
+ } | {
1148
+ id: string;
1149
+ state: "failed";
1150
+ error: string;
1151
+ };
1152
+ outputFormat: "json";
1153
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1154
+ input: {
1155
+ param: {
1156
+ id: string;
1157
+ };
1158
+ };
1159
+ };
1160
+ };
944
1161
  }, "/"> | import("hono/types").MergeSchemaPath<{
945
1162
  "/providers/status": {
946
1163
  $get: {
@@ -1460,223 +1677,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1460
1677
  };
1461
1678
  };
1462
1679
  };
1463
- }, "/"> | import("hono/types").MergeSchemaPath<{
1464
- "/providers/sign-in/start": {
1465
- $post: {
1466
- output: {
1467
- error: string;
1468
- };
1469
- outputFormat: "json";
1470
- status: 409;
1471
- input: {
1472
- json: {
1473
- provider: string;
1474
- profileId?: string | undefined;
1475
- };
1476
- };
1477
- } | {
1478
- output: {
1479
- error: string;
1480
- };
1481
- outputFormat: "json";
1482
- status: 400;
1483
- input: {
1484
- json: {
1485
- provider: string;
1486
- profileId?: string | undefined;
1487
- };
1488
- };
1489
- } | {
1490
- output: {
1491
- id: string;
1492
- state: "waiting";
1493
- url: string;
1494
- } | {
1495
- id: string;
1496
- state: "cancelled" | "connected";
1497
- } | {
1498
- id: string;
1499
- state: "failed";
1500
- error: string;
1501
- };
1502
- outputFormat: "json";
1503
- status: import("hono/utils/http-status").ContentfulStatusCode;
1504
- input: {
1505
- json: {
1506
- provider: string;
1507
- profileId?: string | undefined;
1508
- };
1509
- };
1510
- };
1511
- };
1512
- } & {
1513
- "/providers/sign-in/:id": {
1514
- $get: {
1515
- output: {
1516
- error: string;
1517
- code?: "invalid_input" | undefined;
1518
- };
1519
- outputFormat: "json";
1520
- status: 400;
1521
- input: {
1522
- param: {
1523
- id: string;
1524
- };
1525
- };
1526
- } | {
1527
- output: {
1528
- error: string;
1529
- };
1530
- outputFormat: "json";
1531
- status: 404;
1532
- input: {
1533
- param: {
1534
- id: string;
1535
- };
1536
- };
1537
- } | {
1538
- output: {
1539
- id: string;
1540
- state: "waiting";
1541
- url: string;
1542
- } | {
1543
- id: string;
1544
- state: "cancelled" | "connected";
1545
- } | {
1546
- id: string;
1547
- state: "failed";
1548
- error: string;
1549
- };
1550
- outputFormat: "json";
1551
- status: import("hono/utils/http-status").ContentfulStatusCode;
1552
- input: {
1553
- param: {
1554
- id: string;
1555
- };
1556
- };
1557
- };
1558
- };
1559
- } & {
1560
- "/providers/sign-in/:id/redirect": {
1561
- $post: {
1562
- output: {
1563
- error: string;
1564
- code?: "invalid_input" | undefined;
1565
- };
1566
- outputFormat: "json";
1567
- status: 400;
1568
- input: {
1569
- param: {
1570
- id: string;
1571
- };
1572
- } & {
1573
- json: {
1574
- redirectUrl: string;
1575
- };
1576
- };
1577
- } | {
1578
- output: {
1579
- error: string;
1580
- };
1581
- outputFormat: "json";
1582
- status: 404;
1583
- input: {
1584
- param: {
1585
- id: string;
1586
- };
1587
- } & {
1588
- json: {
1589
- redirectUrl: string;
1590
- };
1591
- };
1592
- } | {
1593
- output: {
1594
- error: string;
1595
- };
1596
- outputFormat: "json";
1597
- status: 409;
1598
- input: {
1599
- param: {
1600
- id: string;
1601
- };
1602
- } & {
1603
- json: {
1604
- redirectUrl: string;
1605
- };
1606
- };
1607
- } | {
1608
- output: {
1609
- id: string;
1610
- state: "waiting";
1611
- url: string;
1612
- } | {
1613
- id: string;
1614
- state: "cancelled" | "connected";
1615
- } | {
1616
- id: string;
1617
- state: "failed";
1618
- error: string;
1619
- };
1620
- outputFormat: "json";
1621
- status: import("hono/utils/http-status").ContentfulStatusCode;
1622
- input: {
1623
- param: {
1624
- id: string;
1625
- };
1626
- } & {
1627
- json: {
1628
- redirectUrl: string;
1629
- };
1630
- };
1631
- };
1632
- };
1633
- } & {
1634
- "/providers/sign-in/:id": {
1635
- $delete: {
1636
- output: {
1637
- error: string;
1638
- code?: "invalid_input" | undefined;
1639
- };
1640
- outputFormat: "json";
1641
- status: 400;
1642
- input: {
1643
- param: {
1644
- id: string;
1645
- };
1646
- };
1647
- } | {
1648
- output: {
1649
- error: string;
1650
- };
1651
- outputFormat: "json";
1652
- status: 404;
1653
- input: {
1654
- param: {
1655
- id: string;
1656
- };
1657
- };
1658
- } | {
1659
- output: {
1660
- id: string;
1661
- state: "waiting";
1662
- url: string;
1663
- } | {
1664
- id: string;
1665
- state: "cancelled" | "connected";
1666
- } | {
1667
- id: string;
1668
- state: "failed";
1669
- error: string;
1670
- };
1671
- outputFormat: "json";
1672
- status: import("hono/utils/http-status").ContentfulStatusCode;
1673
- input: {
1674
- param: {
1675
- id: string;
1676
- };
1677
- };
1678
- };
1679
- };
1680
1680
  }, "/"> | import("hono/types").MergeSchemaPath<{
1681
1681
  "/workspace/agent-profiles": {
1682
1682
  $get: {
@@ -3149,12 +3149,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3149
3149
  output: {
3150
3150
  generation: string;
3151
3151
  results: ({
3152
- projectId: string;
3153
- runId: string;
3154
- type: "error" | "reset";
3155
- status: 400 | 404 | 409 | 413 | 503;
3156
- error: string;
3157
- } | {
3158
3152
  projectId: string;
3159
3153
  runId: string;
3160
3154
  type: "batch";
@@ -3175,6 +3169,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3175
3169
  cursor: string;
3176
3170
  afterSeq: number;
3177
3171
  hasMore: boolean;
3172
+ } | {
3173
+ projectId: string;
3174
+ runId: string;
3175
+ type: "error" | "reset";
3176
+ status: 400 | 404 | 409 | 413 | 503;
3177
+ error: string;
3178
3178
  })[];
3179
3179
  };
3180
3180
  outputFormat: "json";
@@ -3479,6 +3479,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3479
3479
  };
3480
3480
  };
3481
3481
  };
3482
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3483
+ "/open-targets": {
3484
+ $get: {
3485
+ output: {
3486
+ targets: {
3487
+ id: string;
3488
+ label: string;
3489
+ icon?: string;
3490
+ }[];
3491
+ };
3492
+ outputFormat: "json";
3493
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3494
+ input: {};
3495
+ };
3496
+ };
3497
+ } & {
3498
+ "/open-in": {
3499
+ $post: {
3500
+ output: {
3501
+ error: string;
3502
+ };
3503
+ outputFormat: "json";
3504
+ status: 409;
3505
+ input: {
3506
+ json: {
3507
+ target: string;
3508
+ };
3509
+ };
3510
+ } | {
3511
+ output: {
3512
+ error: string;
3513
+ };
3514
+ outputFormat: "json";
3515
+ status: 400;
3516
+ input: {
3517
+ json: {
3518
+ target: string;
3519
+ };
3520
+ };
3521
+ } | {
3522
+ output: {
3523
+ opened: true;
3524
+ path: string;
3525
+ };
3526
+ outputFormat: "json";
3527
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3528
+ input: {
3529
+ json: {
3530
+ target: string;
3531
+ };
3532
+ };
3533
+ };
3534
+ };
3482
3535
  }, "/"> | import("hono/types").MergeSchemaPath<{
3483
3536
  "/ui-state": {
3484
3537
  $get: {
@@ -3915,14 +3968,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3915
3968
  };
3916
3969
  };
3917
3970
  }, "/"> | import("hono/types").MergeSchemaPath<{
3918
- "/open-targets": {
3971
+ "/worktrees": {
3919
3972
  $get: {
3920
3973
  output: {
3921
- targets: {
3922
- id: string;
3923
- label: string;
3924
- icon?: string;
3974
+ worktrees: {
3975
+ runId: string;
3976
+ title: string;
3977
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3978
+ branch: string | null;
3979
+ sizeBytes: number | null;
3980
+ finishedAt: string | null;
3981
+ reclaimable: boolean;
3982
+ pastKeep: boolean;
3983
+ reclaimBlocker: {
3984
+ kind: "dirty";
3985
+ uncommittedFiles: number;
3986
+ detachedHead: boolean;
3987
+ } | {
3988
+ kind: "detached-head";
3989
+ } | {
3990
+ kind: "submodules";
3991
+ } | {
3992
+ kind: "invalid";
3993
+ } | null;
3925
3994
  }[];
3995
+ totalBytes: number | null;
3996
+ keep: number;
3926
3997
  };
3927
3998
  outputFormat: "json";
3928
3999
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -3930,16 +4001,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3930
4001
  };
3931
4002
  };
3932
4003
  } & {
3933
- "/open-in": {
4004
+ "/worktrees/reclaim": {
4005
+ $post: {
4006
+ output: {
4007
+ reclaimed: string[];
4008
+ };
4009
+ outputFormat: "json";
4010
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4011
+ input: {
4012
+ json: {
4013
+ discardWork: true;
4014
+ runIds: string[];
4015
+ } | {
4016
+ discardWork?: false | undefined;
4017
+ };
4018
+ };
4019
+ };
4020
+ };
4021
+ } & {
4022
+ "/worktrees/:runId/reclaim": {
3934
4023
  $post: {
3935
4024
  output: {
3936
4025
  error: string;
4026
+ code?: "invalid_input" | undefined;
3937
4027
  };
3938
4028
  outputFormat: "json";
3939
- status: 409;
4029
+ status: 400;
3940
4030
  input: {
4031
+ param: {
4032
+ runId: string;
4033
+ };
4034
+ } & {
3941
4035
  json: {
3942
- target: string;
4036
+ discardWork?: boolean | undefined;
3943
4037
  };
3944
4038
  };
3945
4039
  } | {
@@ -3947,22 +4041,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3947
4041
  error: string;
3948
4042
  };
3949
4043
  outputFormat: "json";
3950
- status: 400;
4044
+ status: 404 | 409;
3951
4045
  input: {
4046
+ param: {
4047
+ runId: string;
4048
+ };
4049
+ } & {
3952
4050
  json: {
3953
- target: string;
4051
+ discardWork?: boolean | undefined;
3954
4052
  };
3955
4053
  };
3956
4054
  } | {
3957
4055
  output: {
3958
- opened: true;
3959
- path: string;
4056
+ runId: string;
4057
+ worktreeReclaimedAt: string;
3960
4058
  };
3961
4059
  outputFormat: "json";
3962
4060
  status: import("hono/utils/http-status").ContentfulStatusCode;
3963
4061
  input: {
4062
+ param: {
4063
+ runId: string;
4064
+ };
4065
+ } & {
3964
4066
  json: {
3965
- target: string;
4067
+ discardWork?: boolean | undefined;
3966
4068
  };
3967
4069
  };
3968
4070
  };
@@ -4107,108 +4209,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4107
4209
  };
4108
4210
  };
4109
4211
  };
4110
- }, "/"> | import("hono/types").MergeSchemaPath<{
4111
- "/worktrees": {
4112
- $get: {
4113
- output: {
4114
- worktrees: {
4115
- runId: string;
4116
- title: string;
4117
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
4118
- branch: string | null;
4119
- sizeBytes: number | null;
4120
- finishedAt: string | null;
4121
- reclaimable: boolean;
4122
- pastKeep: boolean;
4123
- reclaimBlocker: {
4124
- kind: "dirty";
4125
- uncommittedFiles: number;
4126
- detachedHead: boolean;
4127
- } | {
4128
- kind: "detached-head";
4129
- } | {
4130
- kind: "submodules";
4131
- } | {
4132
- kind: "invalid";
4133
- } | null;
4134
- }[];
4135
- totalBytes: number | null;
4136
- keep: number;
4137
- };
4138
- outputFormat: "json";
4139
- status: import("hono/utils/http-status").ContentfulStatusCode;
4140
- input: {};
4141
- };
4142
- };
4143
- } & {
4144
- "/worktrees/reclaim": {
4145
- $post: {
4146
- output: {
4147
- reclaimed: string[];
4148
- };
4149
- outputFormat: "json";
4150
- status: import("hono/utils/http-status").ContentfulStatusCode;
4151
- input: {
4152
- json: {
4153
- discardWork: true;
4154
- runIds: string[];
4155
- } | {
4156
- discardWork?: false | undefined;
4157
- };
4158
- };
4159
- };
4160
- };
4161
- } & {
4162
- "/worktrees/:runId/reclaim": {
4163
- $post: {
4164
- output: {
4165
- error: string;
4166
- code?: "invalid_input" | undefined;
4167
- };
4168
- outputFormat: "json";
4169
- status: 400;
4170
- input: {
4171
- param: {
4172
- runId: string;
4173
- };
4174
- } & {
4175
- json: {
4176
- discardWork?: boolean | undefined;
4177
- };
4178
- };
4179
- } | {
4180
- output: {
4181
- error: string;
4182
- };
4183
- outputFormat: "json";
4184
- status: 404 | 409;
4185
- input: {
4186
- param: {
4187
- runId: string;
4188
- };
4189
- } & {
4190
- json: {
4191
- discardWork?: boolean | undefined;
4192
- };
4193
- };
4194
- } | {
4195
- output: {
4196
- runId: string;
4197
- worktreeReclaimedAt: string;
4198
- };
4199
- outputFormat: "json";
4200
- status: import("hono/utils/http-status").ContentfulStatusCode;
4201
- input: {
4202
- param: {
4203
- runId: string;
4204
- };
4205
- } & {
4206
- json: {
4207
- discardWork?: boolean | undefined;
4208
- };
4209
- };
4210
- };
4211
- };
4212
4212
  }, "/"> | import("hono/types").MergeSchemaPath<{
4213
4213
  "/session-context": {
4214
4214
  $get: {
@@ -5535,6 +5535,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5535
5535
  sha: string;
5536
5536
  };
5537
5537
  };
5538
+ } | {
5539
+ output: {
5540
+ error: string;
5541
+ };
5542
+ outputFormat: "json";
5543
+ status: 409;
5544
+ input: {
5545
+ query: {
5546
+ structured?: string | undefined;
5547
+ };
5548
+ } & {
5549
+ param: {
5550
+ sha: string;
5551
+ };
5552
+ };
5538
5553
  } | {
5539
5554
  output: {
5540
5555
  sha: string;
@@ -5568,21 +5583,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5568
5583
  sha: string;
5569
5584
  };
5570
5585
  };
5571
- } | {
5572
- output: {
5573
- error: string;
5574
- };
5575
- outputFormat: "json";
5576
- status: 409;
5577
- input: {
5578
- query: {
5579
- structured?: string | undefined;
5580
- };
5581
- } & {
5582
- param: {
5583
- sha: string;
5584
- };
5585
- };
5586
5586
  };
5587
5587
  };
5588
5588
  } & {
@@ -5686,6 +5686,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5686
5686
  } & {
5687
5687
  "/repo/changes": {
5688
5688
  $get: {
5689
+ output: {
5690
+ error: string;
5691
+ };
5692
+ outputFormat: "json";
5693
+ status: 409;
5694
+ input: {};
5695
+ } | {
5689
5696
  output: {
5690
5697
  files: {
5691
5698
  path: string;
@@ -5710,13 +5717,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5710
5717
  outputFormat: "json";
5711
5718
  status: import("hono/utils/http-status").ContentfulStatusCode;
5712
5719
  input: {};
5713
- } | {
5714
- output: {
5715
- error: string;
5716
- };
5717
- outputFormat: "json";
5718
- status: 409;
5719
- input: {};
5720
5720
  };
5721
5721
  };
5722
5722
  } & {
@@ -18038,7 +18038,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18038
18038
  error: string;
18039
18039
  };
18040
18040
  outputFormat: "json";
18041
- status: 400;
18041
+ status: 404 | 409;
18042
18042
  input: {
18043
18043
  json: {
18044
18044
  target: string;
@@ -18051,11 +18051,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18051
18051
  };
18052
18052
  } | {
18053
18053
  output: {
18054
- opened: true;
18055
- path: string;
18054
+ error: string;
18056
18055
  };
18057
18056
  outputFormat: "json";
18058
- status: import("hono/utils/http-status").ContentfulStatusCode;
18057
+ status: 400;
18059
18058
  input: {
18060
18059
  json: {
18061
18060
  target: string;
@@ -18068,10 +18067,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18068
18067
  };
18069
18068
  } | {
18070
18069
  output: {
18071
- error: string;
18070
+ opened: true;
18071
+ path: string;
18072
18072
  };
18073
18073
  outputFormat: "json";
18074
- status: 404 | 409;
18074
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18075
18075
  input: {
18076
18076
  json: {
18077
18077
  target: string;
@@ -18244,9 +18244,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18244
18244
  status: 404 | 409;
18245
18245
  input: {
18246
18246
  param: {
18247
- id: string;
18248
- } & {
18249
18247
  sha: string;
18248
+ } & {
18249
+ id: string;
18250
18250
  };
18251
18251
  };
18252
18252
  } | {
@@ -18275,9 +18275,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18275
18275
  status: import("hono/utils/http-status").ContentfulStatusCode;
18276
18276
  input: {
18277
18277
  param: {
18278
- id: string;
18279
- } & {
18280
18278
  sha: string;
18279
+ } & {
18280
+ id: string;
18281
18281
  };
18282
18282
  };
18283
18283
  };
@@ -19020,6 +19020,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19020
19020
  };
19021
19021
  };
19022
19022
  };
19023
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19024
+ "/open-targets": {
19025
+ $get: {
19026
+ output: {
19027
+ targets: {
19028
+ id: string;
19029
+ label: string;
19030
+ icon?: string;
19031
+ }[];
19032
+ };
19033
+ outputFormat: "json";
19034
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19035
+ input: {};
19036
+ };
19037
+ };
19038
+ } & {
19039
+ "/open-in": {
19040
+ $post: {
19041
+ output: {
19042
+ error: string;
19043
+ };
19044
+ outputFormat: "json";
19045
+ status: 409;
19046
+ input: {
19047
+ json: {
19048
+ target: string;
19049
+ };
19050
+ };
19051
+ } | {
19052
+ output: {
19053
+ error: string;
19054
+ };
19055
+ outputFormat: "json";
19056
+ status: 400;
19057
+ input: {
19058
+ json: {
19059
+ target: string;
19060
+ };
19061
+ };
19062
+ } | {
19063
+ output: {
19064
+ opened: true;
19065
+ path: string;
19066
+ };
19067
+ outputFormat: "json";
19068
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19069
+ input: {
19070
+ json: {
19071
+ target: string;
19072
+ };
19073
+ };
19074
+ };
19075
+ };
19023
19076
  }, "/"> | import("hono/types").MergeSchemaPath<{
19024
19077
  "/ui-state": {
19025
19078
  $get: {
@@ -19456,14 +19509,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19456
19509
  };
19457
19510
  };
19458
19511
  }, "/"> | import("hono/types").MergeSchemaPath<{
19459
- "/open-targets": {
19512
+ "/worktrees": {
19460
19513
  $get: {
19461
19514
  output: {
19462
- targets: {
19463
- id: string;
19464
- label: string;
19465
- icon?: string;
19515
+ worktrees: {
19516
+ runId: string;
19517
+ title: string;
19518
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19519
+ branch: string | null;
19520
+ sizeBytes: number | null;
19521
+ finishedAt: string | null;
19522
+ reclaimable: boolean;
19523
+ pastKeep: boolean;
19524
+ reclaimBlocker: {
19525
+ kind: "dirty";
19526
+ uncommittedFiles: number;
19527
+ detachedHead: boolean;
19528
+ } | {
19529
+ kind: "detached-head";
19530
+ } | {
19531
+ kind: "submodules";
19532
+ } | {
19533
+ kind: "invalid";
19534
+ } | null;
19466
19535
  }[];
19536
+ totalBytes: number | null;
19537
+ keep: number;
19467
19538
  };
19468
19539
  outputFormat: "json";
19469
19540
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -19471,16 +19542,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19471
19542
  };
19472
19543
  };
19473
19544
  } & {
19474
- "/open-in": {
19545
+ "/worktrees/reclaim": {
19546
+ $post: {
19547
+ output: {
19548
+ reclaimed: string[];
19549
+ };
19550
+ outputFormat: "json";
19551
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19552
+ input: {
19553
+ json: {
19554
+ discardWork: true;
19555
+ runIds: string[];
19556
+ } | {
19557
+ discardWork?: false | undefined;
19558
+ };
19559
+ };
19560
+ };
19561
+ };
19562
+ } & {
19563
+ "/worktrees/:runId/reclaim": {
19475
19564
  $post: {
19476
19565
  output: {
19477
19566
  error: string;
19567
+ code?: "invalid_input" | undefined;
19478
19568
  };
19479
19569
  outputFormat: "json";
19480
- status: 409;
19570
+ status: 400;
19481
19571
  input: {
19572
+ param: {
19573
+ runId: string;
19574
+ };
19575
+ } & {
19482
19576
  json: {
19483
- target: string;
19577
+ discardWork?: boolean | undefined;
19484
19578
  };
19485
19579
  };
19486
19580
  } | {
@@ -19488,22 +19582,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19488
19582
  error: string;
19489
19583
  };
19490
19584
  outputFormat: "json";
19491
- status: 400;
19585
+ status: 404 | 409;
19492
19586
  input: {
19587
+ param: {
19588
+ runId: string;
19589
+ };
19590
+ } & {
19493
19591
  json: {
19494
- target: string;
19592
+ discardWork?: boolean | undefined;
19495
19593
  };
19496
19594
  };
19497
19595
  } | {
19498
19596
  output: {
19499
- opened: true;
19500
- path: string;
19597
+ runId: string;
19598
+ worktreeReclaimedAt: string;
19501
19599
  };
19502
19600
  outputFormat: "json";
19503
19601
  status: import("hono/utils/http-status").ContentfulStatusCode;
19504
19602
  input: {
19603
+ param: {
19604
+ runId: string;
19605
+ };
19606
+ } & {
19505
19607
  json: {
19506
- target: string;
19608
+ discardWork?: boolean | undefined;
19507
19609
  };
19508
19610
  };
19509
19611
  };
@@ -19648,108 +19750,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19648
19750
  };
19649
19751
  };
19650
19752
  };
19651
- }, "/"> | import("hono/types").MergeSchemaPath<{
19652
- "/worktrees": {
19653
- $get: {
19654
- output: {
19655
- worktrees: {
19656
- runId: string;
19657
- title: string;
19658
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19659
- branch: string | null;
19660
- sizeBytes: number | null;
19661
- finishedAt: string | null;
19662
- reclaimable: boolean;
19663
- pastKeep: boolean;
19664
- reclaimBlocker: {
19665
- kind: "dirty";
19666
- uncommittedFiles: number;
19667
- detachedHead: boolean;
19668
- } | {
19669
- kind: "detached-head";
19670
- } | {
19671
- kind: "submodules";
19672
- } | {
19673
- kind: "invalid";
19674
- } | null;
19675
- }[];
19676
- totalBytes: number | null;
19677
- keep: number;
19678
- };
19679
- outputFormat: "json";
19680
- status: import("hono/utils/http-status").ContentfulStatusCode;
19681
- input: {};
19682
- };
19683
- };
19684
- } & {
19685
- "/worktrees/reclaim": {
19686
- $post: {
19687
- output: {
19688
- reclaimed: string[];
19689
- };
19690
- outputFormat: "json";
19691
- status: import("hono/utils/http-status").ContentfulStatusCode;
19692
- input: {
19693
- json: {
19694
- discardWork: true;
19695
- runIds: string[];
19696
- } | {
19697
- discardWork?: false | undefined;
19698
- };
19699
- };
19700
- };
19701
- };
19702
- } & {
19703
- "/worktrees/:runId/reclaim": {
19704
- $post: {
19705
- output: {
19706
- error: string;
19707
- code?: "invalid_input" | undefined;
19708
- };
19709
- outputFormat: "json";
19710
- status: 400;
19711
- input: {
19712
- param: {
19713
- runId: string;
19714
- };
19715
- } & {
19716
- json: {
19717
- discardWork?: boolean | undefined;
19718
- };
19719
- };
19720
- } | {
19721
- output: {
19722
- error: string;
19723
- };
19724
- outputFormat: "json";
19725
- status: 404 | 409;
19726
- input: {
19727
- param: {
19728
- runId: string;
19729
- };
19730
- } & {
19731
- json: {
19732
- discardWork?: boolean | undefined;
19733
- };
19734
- };
19735
- } | {
19736
- output: {
19737
- runId: string;
19738
- worktreeReclaimedAt: string;
19739
- };
19740
- outputFormat: "json";
19741
- status: import("hono/utils/http-status").ContentfulStatusCode;
19742
- input: {
19743
- param: {
19744
- runId: string;
19745
- };
19746
- } & {
19747
- json: {
19748
- discardWork?: boolean | undefined;
19749
- };
19750
- };
19751
- };
19752
- };
19753
19753
  }, "/"> | import("hono/types").MergeSchemaPath<{
19754
19754
  "/session-context": {
19755
19755
  $get: {
@@ -21076,6 +21076,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21076
21076
  sha: string;
21077
21077
  };
21078
21078
  };
21079
+ } | {
21080
+ output: {
21081
+ error: string;
21082
+ };
21083
+ outputFormat: "json";
21084
+ status: 409;
21085
+ input: {
21086
+ query: {
21087
+ structured?: string | undefined;
21088
+ };
21089
+ } & {
21090
+ param: {
21091
+ sha: string;
21092
+ };
21093
+ };
21079
21094
  } | {
21080
21095
  output: {
21081
21096
  sha: string;
@@ -21109,21 +21124,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21109
21124
  sha: string;
21110
21125
  };
21111
21126
  };
21112
- } | {
21113
- output: {
21114
- error: string;
21115
- };
21116
- outputFormat: "json";
21117
- status: 409;
21118
- input: {
21119
- query: {
21120
- structured?: string | undefined;
21121
- };
21122
- } & {
21123
- param: {
21124
- sha: string;
21125
- };
21126
- };
21127
21127
  };
21128
21128
  };
21129
21129
  } & {
@@ -21227,6 +21227,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21227
21227
  } & {
21228
21228
  "/repo/changes": {
21229
21229
  $get: {
21230
+ output: {
21231
+ error: string;
21232
+ };
21233
+ outputFormat: "json";
21234
+ status: 409;
21235
+ input: {};
21236
+ } | {
21230
21237
  output: {
21231
21238
  files: {
21232
21239
  path: string;
@@ -21251,13 +21258,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21251
21258
  outputFormat: "json";
21252
21259
  status: import("hono/utils/http-status").ContentfulStatusCode;
21253
21260
  input: {};
21254
- } | {
21255
- output: {
21256
- error: string;
21257
- };
21258
- outputFormat: "json";
21259
- status: 409;
21260
- input: {};
21261
21261
  };
21262
21262
  };
21263
21263
  } & {
@@ -33579,7 +33579,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33579
33579
  error: string;
33580
33580
  };
33581
33581
  outputFormat: "json";
33582
- status: 400;
33582
+ status: 404 | 409;
33583
33583
  input: {
33584
33584
  json: {
33585
33585
  target: string;
@@ -33592,11 +33592,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33592
33592
  };
33593
33593
  } | {
33594
33594
  output: {
33595
- opened: true;
33596
- path: string;
33595
+ error: string;
33597
33596
  };
33598
33597
  outputFormat: "json";
33599
- status: import("hono/utils/http-status").ContentfulStatusCode;
33598
+ status: 400;
33600
33599
  input: {
33601
33600
  json: {
33602
33601
  target: string;
@@ -33609,10 +33608,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33609
33608
  };
33610
33609
  } | {
33611
33610
  output: {
33612
- error: string;
33611
+ opened: true;
33612
+ path: string;
33613
33613
  };
33614
33614
  outputFormat: "json";
33615
- status: 404 | 409;
33615
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33616
33616
  input: {
33617
33617
  json: {
33618
33618
  target: string;
@@ -33785,9 +33785,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33785
33785
  status: 404 | 409;
33786
33786
  input: {
33787
33787
  param: {
33788
- id: string;
33789
- } & {
33790
33788
  sha: string;
33789
+ } & {
33790
+ id: string;
33791
33791
  };
33792
33792
  };
33793
33793
  } | {
@@ -33816,9 +33816,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33816
33816
  status: import("hono/utils/http-status").ContentfulStatusCode;
33817
33817
  input: {
33818
33818
  param: {
33819
- id: string;
33820
- } & {
33821
33819
  sha: string;
33820
+ } & {
33821
+ id: string;
33822
33822
  };
33823
33823
  };
33824
33824
  };