@hearsay-tools/squawk 0.18.0-dev.7871 → 0.18.0-dev.7880

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.
@@ -182,220 +182,6 @@ export declare class WorkspaceEventBus {
182
182
  on(listener: (event: WorkspaceEventName, data: unknown) => void): () => void;
183
183
  }
184
184
  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<{
185
- "/health": {
186
- $get: {
187
- output: {
188
- version: string;
189
- latestVersion?: string | undefined;
190
- repoRoot: string;
191
- repo: {
192
- root: string;
193
- branch: string;
194
- remote?: string | undefined;
195
- } | null;
196
- checks: {
197
- name: string;
198
- available: boolean;
199
- version?: string;
200
- hint?: string;
201
- }[];
202
- defaultRunner: string;
203
- forge: {
204
- available?: boolean | undefined;
205
- reason?: string;
206
- kind: "github";
207
- } | null;
208
- capabilities: {
209
- localHandoff: boolean;
210
- settingsAdmin: boolean;
211
- remoteSettingsAdmin: boolean;
212
- automations: boolean;
213
- preview: boolean;
214
- tokenMetrics: boolean;
215
- tokenUsageMetrics: boolean;
216
- costMetrics: boolean;
217
- };
218
- projects: {
219
- id: string;
220
- name: string;
221
- }[];
222
- bootProject: string;
223
- };
224
- outputFormat: "json";
225
- status: import("hono/utils/http-status").ContentfulStatusCode;
226
- input: {};
227
- };
228
- };
229
- }, "/"> | import("hono/types").MergeSchemaPath<{
230
- "/fs/browse": {
231
- $get: {
232
- output: {
233
- error: string;
234
- code?: "invalid_input" | undefined;
235
- };
236
- outputFormat: "json";
237
- status: 400;
238
- input: {
239
- query: {
240
- path?: string | undefined;
241
- showHidden?: string | undefined;
242
- };
243
- };
244
- } | {
245
- output: {
246
- error: string;
247
- };
248
- outputFormat: "json";
249
- status: 400 | 403 | 404;
250
- input: {
251
- query: {
252
- path?: string | undefined;
253
- showHidden?: string | undefined;
254
- };
255
- };
256
- } | {
257
- output: {
258
- path: string;
259
- parent: string | null;
260
- dirs: {
261
- name: string;
262
- path: string;
263
- isRepo: boolean;
264
- }[];
265
- truncated: boolean;
266
- };
267
- outputFormat: "json";
268
- status: import("hono/utils/http-status").ContentfulStatusCode;
269
- input: {
270
- query: {
271
- path?: string | undefined;
272
- showHidden?: string | undefined;
273
- };
274
- };
275
- };
276
- };
277
- }, "/"> | import("hono/types").MergeSchemaPath<{
278
- "/automation-checks/:checkId": {
279
- $get: {
280
- output: {
281
- id: string;
282
- automationId: string;
283
- mode: 'preview' | 'execute';
284
- status: 'queued' | 'running' | 'complete' | 'error';
285
- createdAt: string;
286
- completedAt?: string;
287
- matches?: number;
288
- truncated?: boolean;
289
- error?: string;
290
- };
291
- outputFormat: "json";
292
- status: import("hono/utils/http-status").ContentfulStatusCode;
293
- input: {
294
- param: {
295
- checkId: string;
296
- };
297
- };
298
- } | {
299
- output: {
300
- error: string;
301
- };
302
- outputFormat: "json";
303
- status: 404;
304
- input: {
305
- param: {
306
- checkId: string;
307
- };
308
- };
309
- };
310
- };
311
- }, "/"> | import("hono/types").MergeSchemaPath<{
312
- "/workspace/events": {
313
- $get: {
314
- output: {};
315
- outputFormat: string;
316
- status: import("hono/utils/http-status").StatusCode;
317
- input: {
318
- query: {
319
- runs?: "summary" | undefined;
320
- };
321
- };
322
- } | {
323
- output: {
324
- error: string;
325
- code?: "invalid_input" | undefined;
326
- };
327
- outputFormat: "json";
328
- status: 400;
329
- input: {
330
- query: {
331
- runs?: "summary" | undefined;
332
- };
333
- };
334
- };
335
- };
336
- }, "/"> | import("hono/types").MergeSchemaPath<{
337
- "/models": {
338
- $get: {
339
- output: {
340
- error: string;
341
- code?: "invalid_input" | undefined;
342
- };
343
- outputFormat: "json";
344
- status: 400;
345
- input: {
346
- query: {
347
- runner: string | string[];
348
- profileId?: string | undefined;
349
- };
350
- };
351
- } | {
352
- output: {
353
- runner: string;
354
- models: {
355
- id: string;
356
- label: string;
357
- description: string;
358
- effortLevels?: import('../contract/index.js').EffortLevel[];
359
- }[];
360
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
361
- stale: boolean;
362
- reason?: string;
363
- };
364
- outputFormat: "json";
365
- status: import("hono/utils/http-status").ContentfulStatusCode;
366
- input: {
367
- query: {
368
- runner: string | string[];
369
- profileId?: string | undefined;
370
- };
371
- };
372
- } | {
373
- output: {
374
- error: string;
375
- };
376
- outputFormat: "json";
377
- status: 409;
378
- input: {
379
- query: {
380
- runner: string | string[];
381
- profileId?: string | undefined;
382
- };
383
- };
384
- } | {
385
- output: {
386
- error: string;
387
- };
388
- outputFormat: "json";
389
- status: 400;
390
- input: {
391
- query: {
392
- runner: string | string[];
393
- profileId?: string | undefined;
394
- };
395
- };
396
- };
397
- };
398
- }, "/"> | import("hono/types").MergeSchemaPath<{
399
185
  "/workspace/activity": {
400
186
  $get: {
401
187
  output: {
@@ -653,6 +439,220 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
653
439
  };
654
440
  };
655
441
  };
442
+ }, "/"> | import("hono/types").MergeSchemaPath<{
443
+ "/health": {
444
+ $get: {
445
+ output: {
446
+ version: string;
447
+ latestVersion?: string | undefined;
448
+ repoRoot: string;
449
+ repo: {
450
+ root: string;
451
+ branch: string;
452
+ remote?: string | undefined;
453
+ } | null;
454
+ checks: {
455
+ name: string;
456
+ available: boolean;
457
+ version?: string;
458
+ hint?: string;
459
+ }[];
460
+ defaultRunner: string;
461
+ forge: {
462
+ available?: boolean | undefined;
463
+ reason?: string;
464
+ kind: "github";
465
+ } | null;
466
+ capabilities: {
467
+ localHandoff: boolean;
468
+ settingsAdmin: boolean;
469
+ remoteSettingsAdmin: boolean;
470
+ automations: boolean;
471
+ preview: boolean;
472
+ tokenMetrics: boolean;
473
+ tokenUsageMetrics: boolean;
474
+ costMetrics: boolean;
475
+ };
476
+ projects: {
477
+ id: string;
478
+ name: string;
479
+ }[];
480
+ bootProject: string;
481
+ };
482
+ outputFormat: "json";
483
+ status: import("hono/utils/http-status").ContentfulStatusCode;
484
+ input: {};
485
+ };
486
+ };
487
+ }, "/"> | import("hono/types").MergeSchemaPath<{
488
+ "/fs/browse": {
489
+ $get: {
490
+ output: {
491
+ error: string;
492
+ code?: "invalid_input" | undefined;
493
+ };
494
+ outputFormat: "json";
495
+ status: 400;
496
+ input: {
497
+ query: {
498
+ path?: string | undefined;
499
+ showHidden?: string | undefined;
500
+ };
501
+ };
502
+ } | {
503
+ output: {
504
+ error: string;
505
+ };
506
+ outputFormat: "json";
507
+ status: 400 | 403 | 404;
508
+ input: {
509
+ query: {
510
+ path?: string | undefined;
511
+ showHidden?: string | undefined;
512
+ };
513
+ };
514
+ } | {
515
+ output: {
516
+ path: string;
517
+ parent: string | null;
518
+ dirs: {
519
+ name: string;
520
+ path: string;
521
+ isRepo: boolean;
522
+ }[];
523
+ truncated: boolean;
524
+ };
525
+ outputFormat: "json";
526
+ status: import("hono/utils/http-status").ContentfulStatusCode;
527
+ input: {
528
+ query: {
529
+ path?: string | undefined;
530
+ showHidden?: string | undefined;
531
+ };
532
+ };
533
+ };
534
+ };
535
+ }, "/"> | import("hono/types").MergeSchemaPath<{
536
+ "/automation-checks/:checkId": {
537
+ $get: {
538
+ output: {
539
+ id: string;
540
+ automationId: string;
541
+ mode: 'preview' | 'execute';
542
+ status: 'queued' | 'running' | 'complete' | 'error';
543
+ createdAt: string;
544
+ completedAt?: string;
545
+ matches?: number;
546
+ truncated?: boolean;
547
+ error?: string;
548
+ };
549
+ outputFormat: "json";
550
+ status: import("hono/utils/http-status").ContentfulStatusCode;
551
+ input: {
552
+ param: {
553
+ checkId: string;
554
+ };
555
+ };
556
+ } | {
557
+ output: {
558
+ error: string;
559
+ };
560
+ outputFormat: "json";
561
+ status: 404;
562
+ input: {
563
+ param: {
564
+ checkId: string;
565
+ };
566
+ };
567
+ };
568
+ };
569
+ }, "/"> | import("hono/types").MergeSchemaPath<{
570
+ "/workspace/events": {
571
+ $get: {
572
+ output: {};
573
+ outputFormat: string;
574
+ status: import("hono/utils/http-status").StatusCode;
575
+ input: {
576
+ query: {
577
+ runs?: "summary" | undefined;
578
+ };
579
+ };
580
+ } | {
581
+ output: {
582
+ error: string;
583
+ code?: "invalid_input" | undefined;
584
+ };
585
+ outputFormat: "json";
586
+ status: 400;
587
+ input: {
588
+ query: {
589
+ runs?: "summary" | undefined;
590
+ };
591
+ };
592
+ };
593
+ };
594
+ }, "/"> | import("hono/types").MergeSchemaPath<{
595
+ "/models": {
596
+ $get: {
597
+ output: {
598
+ error: string;
599
+ code?: "invalid_input" | undefined;
600
+ };
601
+ outputFormat: "json";
602
+ status: 400;
603
+ input: {
604
+ query: {
605
+ runner: string | string[];
606
+ profileId?: string | undefined;
607
+ };
608
+ };
609
+ } | {
610
+ output: {
611
+ runner: string;
612
+ models: {
613
+ id: string;
614
+ label: string;
615
+ description: string;
616
+ effortLevels?: import('../contract/index.js').EffortLevel[];
617
+ }[];
618
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
619
+ stale: boolean;
620
+ reason?: string;
621
+ };
622
+ outputFormat: "json";
623
+ status: import("hono/utils/http-status").ContentfulStatusCode;
624
+ input: {
625
+ query: {
626
+ runner: string | string[];
627
+ profileId?: string | undefined;
628
+ };
629
+ };
630
+ } | {
631
+ output: {
632
+ error: string;
633
+ };
634
+ outputFormat: "json";
635
+ status: 409;
636
+ input: {
637
+ query: {
638
+ runner: string | string[];
639
+ profileId?: string | undefined;
640
+ };
641
+ };
642
+ } | {
643
+ output: {
644
+ error: string;
645
+ };
646
+ outputFormat: "json";
647
+ status: 400;
648
+ input: {
649
+ query: {
650
+ runner: string | string[];
651
+ profileId?: string | undefined;
652
+ };
653
+ };
654
+ };
655
+ };
656
656
  }, "/"> | import("hono/types").MergeSchemaPath<{
657
657
  "/workspace/runs-index": {
658
658
  $get: {
@@ -948,223 +948,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
948
948
  };
949
949
  };
950
950
  };
951
- }, "/"> | import("hono/types").MergeSchemaPath<{
952
- "/providers/sign-in/start": {
953
- $post: {
954
- output: {
955
- error: string;
956
- };
957
- outputFormat: "json";
958
- status: 409;
959
- input: {
960
- json: {
961
- provider: string;
962
- profileId?: string | undefined;
963
- };
964
- };
965
- } | {
966
- output: {
967
- error: string;
968
- };
969
- outputFormat: "json";
970
- status: 400;
971
- input: {
972
- json: {
973
- provider: string;
974
- profileId?: string | undefined;
975
- };
976
- };
977
- } | {
978
- output: {
979
- id: string;
980
- state: "waiting";
981
- url: string;
982
- } | {
983
- id: string;
984
- state: "cancelled" | "connected";
985
- } | {
986
- id: string;
987
- state: "failed";
988
- error: string;
989
- };
990
- outputFormat: "json";
991
- status: import("hono/utils/http-status").ContentfulStatusCode;
992
- input: {
993
- json: {
994
- provider: string;
995
- profileId?: string | undefined;
996
- };
997
- };
998
- };
999
- };
1000
- } & {
1001
- "/providers/sign-in/:id": {
1002
- $get: {
1003
- output: {
1004
- error: string;
1005
- code?: "invalid_input" | undefined;
1006
- };
1007
- outputFormat: "json";
1008
- status: 400;
1009
- input: {
1010
- param: {
1011
- id: string;
1012
- };
1013
- };
1014
- } | {
1015
- output: {
1016
- error: string;
1017
- };
1018
- outputFormat: "json";
1019
- status: 404;
1020
- input: {
1021
- param: {
1022
- id: string;
1023
- };
1024
- };
1025
- } | {
1026
- output: {
1027
- id: string;
1028
- state: "waiting";
1029
- url: string;
1030
- } | {
1031
- id: string;
1032
- state: "cancelled" | "connected";
1033
- } | {
1034
- id: string;
1035
- state: "failed";
1036
- error: string;
1037
- };
1038
- outputFormat: "json";
1039
- status: import("hono/utils/http-status").ContentfulStatusCode;
1040
- input: {
1041
- param: {
1042
- id: string;
1043
- };
1044
- };
1045
- };
1046
- };
1047
- } & {
1048
- "/providers/sign-in/:id/redirect": {
1049
- $post: {
1050
- output: {
1051
- error: string;
1052
- code?: "invalid_input" | undefined;
1053
- };
1054
- outputFormat: "json";
1055
- status: 400;
1056
- input: {
1057
- param: {
1058
- id: string;
1059
- };
1060
- } & {
1061
- json: {
1062
- redirectUrl: string;
1063
- };
1064
- };
1065
- } | {
1066
- output: {
1067
- error: string;
1068
- };
1069
- outputFormat: "json";
1070
- status: 404;
1071
- input: {
1072
- param: {
1073
- id: string;
1074
- };
1075
- } & {
1076
- json: {
1077
- redirectUrl: string;
1078
- };
1079
- };
1080
- } | {
1081
- output: {
1082
- error: string;
1083
- };
1084
- outputFormat: "json";
1085
- status: 409;
1086
- input: {
1087
- param: {
1088
- id: string;
1089
- };
1090
- } & {
1091
- json: {
1092
- redirectUrl: string;
1093
- };
1094
- };
1095
- } | {
1096
- output: {
1097
- id: string;
1098
- state: "waiting";
1099
- url: string;
1100
- } | {
1101
- id: string;
1102
- state: "cancelled" | "connected";
1103
- } | {
1104
- id: string;
1105
- state: "failed";
1106
- error: string;
1107
- };
1108
- outputFormat: "json";
1109
- status: import("hono/utils/http-status").ContentfulStatusCode;
1110
- input: {
1111
- param: {
1112
- id: string;
1113
- };
1114
- } & {
1115
- json: {
1116
- redirectUrl: string;
1117
- };
1118
- };
1119
- };
1120
- };
1121
- } & {
1122
- "/providers/sign-in/:id": {
1123
- $delete: {
1124
- output: {
1125
- error: string;
1126
- code?: "invalid_input" | undefined;
1127
- };
1128
- outputFormat: "json";
1129
- status: 400;
1130
- input: {
1131
- param: {
1132
- id: string;
1133
- };
1134
- };
1135
- } | {
1136
- output: {
1137
- error: string;
1138
- };
1139
- outputFormat: "json";
1140
- status: 404;
1141
- input: {
1142
- param: {
1143
- id: string;
1144
- };
1145
- };
1146
- } | {
1147
- output: {
1148
- id: string;
1149
- state: "waiting";
1150
- url: string;
1151
- } | {
1152
- id: string;
1153
- state: "cancelled" | "connected";
1154
- } | {
1155
- id: string;
1156
- state: "failed";
1157
- error: string;
1158
- };
1159
- outputFormat: "json";
1160
- status: import("hono/utils/http-status").ContentfulStatusCode;
1161
- input: {
1162
- param: {
1163
- id: string;
1164
- };
1165
- };
1166
- };
1167
- };
1168
951
  }, "/"> | import("hono/types").MergeSchemaPath<{
1169
952
  "/providers/status": {
1170
953
  $get: {
@@ -1682,6 +1465,223 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1682
1465
  };
1683
1466
  };
1684
1467
  };
1468
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1469
+ "/providers/sign-in/start": {
1470
+ $post: {
1471
+ output: {
1472
+ error: string;
1473
+ };
1474
+ outputFormat: "json";
1475
+ status: 409;
1476
+ input: {
1477
+ json: {
1478
+ provider: string;
1479
+ profileId?: string | undefined;
1480
+ };
1481
+ };
1482
+ } | {
1483
+ output: {
1484
+ error: string;
1485
+ };
1486
+ outputFormat: "json";
1487
+ status: 400;
1488
+ input: {
1489
+ json: {
1490
+ provider: string;
1491
+ profileId?: string | undefined;
1492
+ };
1493
+ };
1494
+ } | {
1495
+ output: {
1496
+ id: string;
1497
+ state: "waiting";
1498
+ url: string;
1499
+ } | {
1500
+ id: string;
1501
+ state: "cancelled" | "connected";
1502
+ } | {
1503
+ id: string;
1504
+ state: "failed";
1505
+ error: string;
1506
+ };
1507
+ outputFormat: "json";
1508
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1509
+ input: {
1510
+ json: {
1511
+ provider: string;
1512
+ profileId?: string | undefined;
1513
+ };
1514
+ };
1515
+ };
1516
+ };
1517
+ } & {
1518
+ "/providers/sign-in/:id": {
1519
+ $get: {
1520
+ output: {
1521
+ error: string;
1522
+ code?: "invalid_input" | undefined;
1523
+ };
1524
+ outputFormat: "json";
1525
+ status: 400;
1526
+ input: {
1527
+ param: {
1528
+ id: string;
1529
+ };
1530
+ };
1531
+ } | {
1532
+ output: {
1533
+ error: string;
1534
+ };
1535
+ outputFormat: "json";
1536
+ status: 404;
1537
+ input: {
1538
+ param: {
1539
+ id: string;
1540
+ };
1541
+ };
1542
+ } | {
1543
+ output: {
1544
+ id: string;
1545
+ state: "waiting";
1546
+ url: string;
1547
+ } | {
1548
+ id: string;
1549
+ state: "cancelled" | "connected";
1550
+ } | {
1551
+ id: string;
1552
+ state: "failed";
1553
+ error: string;
1554
+ };
1555
+ outputFormat: "json";
1556
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1557
+ input: {
1558
+ param: {
1559
+ id: string;
1560
+ };
1561
+ };
1562
+ };
1563
+ };
1564
+ } & {
1565
+ "/providers/sign-in/:id/redirect": {
1566
+ $post: {
1567
+ output: {
1568
+ error: string;
1569
+ code?: "invalid_input" | undefined;
1570
+ };
1571
+ outputFormat: "json";
1572
+ status: 400;
1573
+ input: {
1574
+ param: {
1575
+ id: string;
1576
+ };
1577
+ } & {
1578
+ json: {
1579
+ redirectUrl: string;
1580
+ };
1581
+ };
1582
+ } | {
1583
+ output: {
1584
+ error: string;
1585
+ };
1586
+ outputFormat: "json";
1587
+ status: 404;
1588
+ input: {
1589
+ param: {
1590
+ id: string;
1591
+ };
1592
+ } & {
1593
+ json: {
1594
+ redirectUrl: string;
1595
+ };
1596
+ };
1597
+ } | {
1598
+ output: {
1599
+ error: string;
1600
+ };
1601
+ outputFormat: "json";
1602
+ status: 409;
1603
+ input: {
1604
+ param: {
1605
+ id: string;
1606
+ };
1607
+ } & {
1608
+ json: {
1609
+ redirectUrl: string;
1610
+ };
1611
+ };
1612
+ } | {
1613
+ output: {
1614
+ id: string;
1615
+ state: "waiting";
1616
+ url: string;
1617
+ } | {
1618
+ id: string;
1619
+ state: "cancelled" | "connected";
1620
+ } | {
1621
+ id: string;
1622
+ state: "failed";
1623
+ error: string;
1624
+ };
1625
+ outputFormat: "json";
1626
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1627
+ input: {
1628
+ param: {
1629
+ id: string;
1630
+ };
1631
+ } & {
1632
+ json: {
1633
+ redirectUrl: string;
1634
+ };
1635
+ };
1636
+ };
1637
+ };
1638
+ } & {
1639
+ "/providers/sign-in/:id": {
1640
+ $delete: {
1641
+ output: {
1642
+ error: string;
1643
+ code?: "invalid_input" | undefined;
1644
+ };
1645
+ outputFormat: "json";
1646
+ status: 400;
1647
+ input: {
1648
+ param: {
1649
+ id: string;
1650
+ };
1651
+ };
1652
+ } | {
1653
+ output: {
1654
+ error: string;
1655
+ };
1656
+ outputFormat: "json";
1657
+ status: 404;
1658
+ input: {
1659
+ param: {
1660
+ id: string;
1661
+ };
1662
+ };
1663
+ } | {
1664
+ output: {
1665
+ id: string;
1666
+ state: "waiting";
1667
+ url: string;
1668
+ } | {
1669
+ id: string;
1670
+ state: "cancelled" | "connected";
1671
+ } | {
1672
+ id: string;
1673
+ state: "failed";
1674
+ error: string;
1675
+ };
1676
+ outputFormat: "json";
1677
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1678
+ input: {
1679
+ param: {
1680
+ id: string;
1681
+ };
1682
+ };
1683
+ };
1684
+ };
1685
1685
  }, "/"> | import("hono/types").MergeSchemaPath<{
1686
1686
  "/workspace/agent-profiles": {
1687
1687
  $get: {
@@ -8457,22 +8457,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8457
8457
  "/runs/:id/worker-destroy": {
8458
8458
  $post: {
8459
8459
  output: {
8460
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8461
- readonly error: string;
8462
- readonly modelChoices?: {
8463
- runner: string;
8464
- requestedModel: string;
8465
- availableModels: {
8466
- id: string;
8467
- label: string;
8468
- description: string;
8469
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8470
- }[];
8471
- otherRunners: string[];
8472
- } | undefined;
8460
+ error: string;
8461
+ code?: "invalid_input" | undefined;
8473
8462
  };
8474
8463
  outputFormat: "json";
8475
- status: 400 | 401 | 403 | 409 | 503;
8464
+ status: 400;
8476
8465
  input: {
8477
8466
  query: {
8478
8467
  [x: string]: string | string[];
@@ -8488,11 +8477,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8488
8477
  };
8489
8478
  } | {
8490
8479
  output: {
8491
- error: string;
8492
- code?: "invalid_input" | undefined;
8480
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8481
+ readonly error: string;
8482
+ readonly modelChoices?: {
8483
+ runner: string;
8484
+ requestedModel: string;
8485
+ availableModels: {
8486
+ id: string;
8487
+ label: string;
8488
+ description: string;
8489
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8490
+ }[];
8491
+ otherRunners: string[];
8492
+ } | undefined;
8493
8493
  };
8494
8494
  outputFormat: "json";
8495
- status: 400;
8495
+ status: 400 | 401 | 403 | 409 | 503;
8496
8496
  input: {
8497
8497
  query: {
8498
8498
  [x: string]: string | string[];
@@ -18436,7 +18436,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18436
18436
  error: string;
18437
18437
  };
18438
18438
  outputFormat: "json";
18439
- status: 404 | 409;
18439
+ status: 400;
18440
18440
  input: {
18441
18441
  json: {
18442
18442
  target: string;
@@ -18449,10 +18449,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18449
18449
  };
18450
18450
  } | {
18451
18451
  output: {
18452
- error: string;
18452
+ opened: true;
18453
+ path: string;
18453
18454
  };
18454
18455
  outputFormat: "json";
18455
- status: 400;
18456
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18456
18457
  input: {
18457
18458
  json: {
18458
18459
  target: string;
@@ -18465,11 +18466,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18465
18466
  };
18466
18467
  } | {
18467
18468
  output: {
18468
- opened: true;
18469
- path: string;
18469
+ error: string;
18470
18470
  };
18471
18471
  outputFormat: "json";
18472
- status: import("hono/utils/http-status").ContentfulStatusCode;
18472
+ status: 404 | 409;
18473
18473
  input: {
18474
18474
  json: {
18475
18475
  target: string;
@@ -24416,22 +24416,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24416
24416
  "/runs/:id/worker-destroy": {
24417
24417
  $post: {
24418
24418
  output: {
24419
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24420
- readonly error: string;
24421
- readonly modelChoices?: {
24422
- runner: string;
24423
- requestedModel: string;
24424
- availableModels: {
24425
- id: string;
24426
- label: string;
24427
- description: string;
24428
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24429
- }[];
24430
- otherRunners: string[];
24431
- } | undefined;
24419
+ error: string;
24420
+ code?: "invalid_input" | undefined;
24432
24421
  };
24433
24422
  outputFormat: "json";
24434
- status: 400 | 401 | 403 | 409 | 503;
24423
+ status: 400;
24435
24424
  input: {
24436
24425
  query: {
24437
24426
  [x: string]: string | string[];
@@ -24447,11 +24436,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24447
24436
  };
24448
24437
  } | {
24449
24438
  output: {
24450
- error: string;
24451
- code?: "invalid_input" | undefined;
24439
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24440
+ readonly error: string;
24441
+ readonly modelChoices?: {
24442
+ runner: string;
24443
+ requestedModel: string;
24444
+ availableModels: {
24445
+ id: string;
24446
+ label: string;
24447
+ description: string;
24448
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24449
+ }[];
24450
+ otherRunners: string[];
24451
+ } | undefined;
24452
24452
  };
24453
24453
  outputFormat: "json";
24454
- status: 400;
24454
+ status: 400 | 401 | 403 | 409 | 503;
24455
24455
  input: {
24456
24456
  query: {
24457
24457
  [x: string]: string | string[];
@@ -34395,7 +34395,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34395
34395
  error: string;
34396
34396
  };
34397
34397
  outputFormat: "json";
34398
- status: 404 | 409;
34398
+ status: 400;
34399
34399
  input: {
34400
34400
  json: {
34401
34401
  target: string;
@@ -34408,10 +34408,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34408
34408
  };
34409
34409
  } | {
34410
34410
  output: {
34411
- error: string;
34411
+ opened: true;
34412
+ path: string;
34412
34413
  };
34413
34414
  outputFormat: "json";
34414
- status: 400;
34415
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34415
34416
  input: {
34416
34417
  json: {
34417
34418
  target: string;
@@ -34424,11 +34425,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34424
34425
  };
34425
34426
  } | {
34426
34427
  output: {
34427
- opened: true;
34428
- path: string;
34428
+ error: string;
34429
34429
  };
34430
34430
  outputFormat: "json";
34431
- status: import("hono/utils/http-status").ContentfulStatusCode;
34431
+ status: 404 | 409;
34432
34432
  input: {
34433
34433
  json: {
34434
34434
  target: string;