@hearsay-tools/squawk 0.18.0-pr4110.7877 → 0.18.0-pr4113.7886
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.
- package/dist/autosave-commit.js +15 -46
- package/dist/autosave-commit.js.map +1 -1
- package/dist/ci-wait/tools.d.ts +4 -4
- package/dist/runs/project-run-connection.d.ts +2 -1
- package/dist/runs/project-run-connection.js +4 -1
- package/dist/runs/project-run-connection.js.map +1 -1
- package/dist/runs/project-run-sources.d.ts +2 -2
- package/dist/runs/project-run-sources.js +4 -3
- package/dist/runs/project-run-sources.js.map +1 -1
- package/dist/runs/run-database-migrations.js +41 -0
- package/dist/runs/run-database-migrations.js.map +1 -1
- package/dist/runs/run-database-version.d.ts +3 -2
- package/dist/runs/run-database-version.js +3 -2
- package/dist/runs/run-database-version.js.map +1 -1
- package/dist/runs/run-database.d.ts +1 -1
- package/dist/runs/run-database.js +60 -45
- package/dist/runs/run-database.js.map +1 -1
- package/dist/runs/run-index-cache.d.ts +10 -0
- package/dist/runs/run-index-cache.js +45 -0
- package/dist/runs/run-index-cache.js.map +1 -0
- package/dist/runs/run-index.js +12 -6
- package/dist/runs/run-index.js.map +1 -1
- package/dist/server/brand-file-routes.d.ts +1 -1
- package/dist/server/server.d.ts +529 -529
- package/dist/server/server.js +26 -28
- package/dist/server/server.js.map +1 -1
- package/dist/server/static-assets.d.ts +5 -0
- package/dist/server/static-assets.js +109 -0
- package/dist/server/static-assets.js.map +1 -0
- package/dist/workflows/attachment-path.d.ts +2 -0
- package/dist/workflows/attachment-path.js +21 -0
- package/dist/workflows/attachment-path.js.map +1 -1
- package/package.json +4 -4
package/dist/server/server.d.ts
CHANGED
|
@@ -182,6 +182,68 @@ 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
|
+
"/models": {
|
|
186
|
+
$get: {
|
|
187
|
+
output: {
|
|
188
|
+
error: string;
|
|
189
|
+
code?: "invalid_input" | undefined;
|
|
190
|
+
};
|
|
191
|
+
outputFormat: "json";
|
|
192
|
+
status: 400;
|
|
193
|
+
input: {
|
|
194
|
+
query: {
|
|
195
|
+
runner: string | string[];
|
|
196
|
+
profileId?: string | undefined;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
} | {
|
|
200
|
+
output: {
|
|
201
|
+
runner: string;
|
|
202
|
+
models: {
|
|
203
|
+
id: string;
|
|
204
|
+
label: string;
|
|
205
|
+
description: string;
|
|
206
|
+
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
207
|
+
}[];
|
|
208
|
+
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
209
|
+
stale: boolean;
|
|
210
|
+
reason?: string;
|
|
211
|
+
};
|
|
212
|
+
outputFormat: "json";
|
|
213
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
214
|
+
input: {
|
|
215
|
+
query: {
|
|
216
|
+
runner: string | string[];
|
|
217
|
+
profileId?: string | undefined;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
} | {
|
|
221
|
+
output: {
|
|
222
|
+
error: string;
|
|
223
|
+
};
|
|
224
|
+
outputFormat: "json";
|
|
225
|
+
status: 409;
|
|
226
|
+
input: {
|
|
227
|
+
query: {
|
|
228
|
+
runner: string | string[];
|
|
229
|
+
profileId?: string | undefined;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
} | {
|
|
233
|
+
output: {
|
|
234
|
+
error: string;
|
|
235
|
+
};
|
|
236
|
+
outputFormat: "json";
|
|
237
|
+
status: 400;
|
|
238
|
+
input: {
|
|
239
|
+
query: {
|
|
240
|
+
runner: string | string[];
|
|
241
|
+
profileId?: string | undefined;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
185
247
|
"/health": {
|
|
186
248
|
$get: {
|
|
187
249
|
output: {
|
|
@@ -333,68 +395,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
333
395
|
};
|
|
334
396
|
};
|
|
335
397
|
};
|
|
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
398
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
399
399
|
"/workspace/activity": {
|
|
400
400
|
$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: {
|
|
@@ -3406,6 +3406,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3406
3406
|
};
|
|
3407
3407
|
};
|
|
3408
3408
|
};
|
|
3409
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3410
|
+
"/reports/state": {
|
|
3411
|
+
$get: {
|
|
3412
|
+
output: {
|
|
3413
|
+
error: string;
|
|
3414
|
+
};
|
|
3415
|
+
outputFormat: "json";
|
|
3416
|
+
status: 409;
|
|
3417
|
+
input: {};
|
|
3418
|
+
} | {
|
|
3419
|
+
output: {
|
|
3420
|
+
epoch: string;
|
|
3421
|
+
generation: number;
|
|
3422
|
+
metadataGeneration: number;
|
|
3423
|
+
};
|
|
3424
|
+
outputFormat: "json";
|
|
3425
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3426
|
+
input: {};
|
|
3427
|
+
};
|
|
3428
|
+
};
|
|
3429
|
+
} & {
|
|
3430
|
+
"/reports": {
|
|
3431
|
+
$get: {
|
|
3432
|
+
output: {
|
|
3433
|
+
error: string;
|
|
3434
|
+
code?: "invalid_input" | undefined;
|
|
3435
|
+
};
|
|
3436
|
+
outputFormat: "json";
|
|
3437
|
+
status: 400;
|
|
3438
|
+
input: {
|
|
3439
|
+
query: {
|
|
3440
|
+
q?: string | undefined;
|
|
3441
|
+
before?: string | undefined;
|
|
3442
|
+
limit?: number | undefined;
|
|
3443
|
+
};
|
|
3444
|
+
};
|
|
3445
|
+
} | {
|
|
3446
|
+
output: {
|
|
3447
|
+
error: string;
|
|
3448
|
+
};
|
|
3449
|
+
outputFormat: "json";
|
|
3450
|
+
status: 409;
|
|
3451
|
+
input: {
|
|
3452
|
+
query: {
|
|
3453
|
+
q?: string | undefined;
|
|
3454
|
+
before?: string | undefined;
|
|
3455
|
+
limit?: number | undefined;
|
|
3456
|
+
};
|
|
3457
|
+
};
|
|
3458
|
+
} | {
|
|
3459
|
+
output: {
|
|
3460
|
+
error: string;
|
|
3461
|
+
};
|
|
3462
|
+
outputFormat: "json";
|
|
3463
|
+
status: 400;
|
|
3464
|
+
input: {
|
|
3465
|
+
query: {
|
|
3466
|
+
q?: string | undefined;
|
|
3467
|
+
before?: string | undefined;
|
|
3468
|
+
limit?: number | undefined;
|
|
3469
|
+
};
|
|
3470
|
+
};
|
|
3471
|
+
} | {
|
|
3472
|
+
output: {
|
|
3473
|
+
reports: {
|
|
3474
|
+
id: string;
|
|
3475
|
+
runId: string;
|
|
3476
|
+
name: string;
|
|
3477
|
+
title: string;
|
|
3478
|
+
createdAt: string;
|
|
3479
|
+
size: number;
|
|
3480
|
+
taskTitle: string;
|
|
3481
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3482
|
+
}[];
|
|
3483
|
+
nextCursor: string | null;
|
|
3484
|
+
total: number;
|
|
3485
|
+
};
|
|
3486
|
+
outputFormat: "json";
|
|
3487
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3488
|
+
input: {
|
|
3489
|
+
query: {
|
|
3490
|
+
q?: string | undefined;
|
|
3491
|
+
before?: string | undefined;
|
|
3492
|
+
limit?: number | undefined;
|
|
3493
|
+
};
|
|
3494
|
+
};
|
|
3495
|
+
};
|
|
3496
|
+
};
|
|
3409
3497
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3410
3498
|
"/ui-state": {
|
|
3411
3499
|
$get: {
|
|
@@ -3894,94 +3982,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3894
3982
|
};
|
|
3895
3983
|
};
|
|
3896
3984
|
};
|
|
3897
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3898
|
-
"/reports/state": {
|
|
3899
|
-
$get: {
|
|
3900
|
-
output: {
|
|
3901
|
-
error: string;
|
|
3902
|
-
};
|
|
3903
|
-
outputFormat: "json";
|
|
3904
|
-
status: 409;
|
|
3905
|
-
input: {};
|
|
3906
|
-
} | {
|
|
3907
|
-
output: {
|
|
3908
|
-
epoch: string;
|
|
3909
|
-
generation: number;
|
|
3910
|
-
metadataGeneration: number;
|
|
3911
|
-
};
|
|
3912
|
-
outputFormat: "json";
|
|
3913
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3914
|
-
input: {};
|
|
3915
|
-
};
|
|
3916
|
-
};
|
|
3917
|
-
} & {
|
|
3918
|
-
"/reports": {
|
|
3919
|
-
$get: {
|
|
3920
|
-
output: {
|
|
3921
|
-
error: string;
|
|
3922
|
-
code?: "invalid_input" | undefined;
|
|
3923
|
-
};
|
|
3924
|
-
outputFormat: "json";
|
|
3925
|
-
status: 400;
|
|
3926
|
-
input: {
|
|
3927
|
-
query: {
|
|
3928
|
-
q?: string | undefined;
|
|
3929
|
-
before?: string | undefined;
|
|
3930
|
-
limit?: number | undefined;
|
|
3931
|
-
};
|
|
3932
|
-
};
|
|
3933
|
-
} | {
|
|
3934
|
-
output: {
|
|
3935
|
-
error: string;
|
|
3936
|
-
};
|
|
3937
|
-
outputFormat: "json";
|
|
3938
|
-
status: 409;
|
|
3939
|
-
input: {
|
|
3940
|
-
query: {
|
|
3941
|
-
q?: string | undefined;
|
|
3942
|
-
before?: string | undefined;
|
|
3943
|
-
limit?: number | undefined;
|
|
3944
|
-
};
|
|
3945
|
-
};
|
|
3946
|
-
} | {
|
|
3947
|
-
output: {
|
|
3948
|
-
error: string;
|
|
3949
|
-
};
|
|
3950
|
-
outputFormat: "json";
|
|
3951
|
-
status: 400;
|
|
3952
|
-
input: {
|
|
3953
|
-
query: {
|
|
3954
|
-
q?: string | undefined;
|
|
3955
|
-
before?: string | undefined;
|
|
3956
|
-
limit?: number | undefined;
|
|
3957
|
-
};
|
|
3958
|
-
};
|
|
3959
|
-
} | {
|
|
3960
|
-
output: {
|
|
3961
|
-
reports: {
|
|
3962
|
-
id: string;
|
|
3963
|
-
runId: string;
|
|
3964
|
-
name: string;
|
|
3965
|
-
title: string;
|
|
3966
|
-
createdAt: string;
|
|
3967
|
-
size: number;
|
|
3968
|
-
taskTitle: string;
|
|
3969
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3970
|
-
}[];
|
|
3971
|
-
nextCursor: string | null;
|
|
3972
|
-
total: number;
|
|
3973
|
-
};
|
|
3974
|
-
outputFormat: "json";
|
|
3975
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3976
|
-
input: {
|
|
3977
|
-
query: {
|
|
3978
|
-
q?: string | undefined;
|
|
3979
|
-
before?: string | undefined;
|
|
3980
|
-
limit?: number | undefined;
|
|
3981
|
-
};
|
|
3982
|
-
};
|
|
3983
|
-
};
|
|
3984
|
-
};
|
|
3985
3985
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3986
3986
|
"/worktrees": {
|
|
3987
3987
|
$get: {
|
|
@@ -8456,37 +8456,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8456
8456
|
} & {
|
|
8457
8457
|
"/runs/:id/worker-destroy": {
|
|
8458
8458
|
$post: {
|
|
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;
|
|
8473
|
-
};
|
|
8474
|
-
outputFormat: "json";
|
|
8475
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
8476
|
-
input: {
|
|
8477
|
-
query: {
|
|
8478
|
-
[x: string]: string | string[];
|
|
8479
|
-
};
|
|
8480
|
-
} & {
|
|
8481
|
-
param: {
|
|
8482
|
-
id: string;
|
|
8483
|
-
};
|
|
8484
|
-
} & {
|
|
8485
|
-
json: {
|
|
8486
|
-
discardWork?: true | undefined;
|
|
8487
|
-
};
|
|
8488
|
-
};
|
|
8489
|
-
} | {
|
|
8490
8459
|
output: {
|
|
8491
8460
|
error: string;
|
|
8492
8461
|
code?: "invalid_input" | undefined;
|
|
@@ -8572,6 +8541,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8572
8541
|
discardWork?: true | undefined;
|
|
8573
8542
|
};
|
|
8574
8543
|
};
|
|
8544
|
+
} | {
|
|
8545
|
+
output: {
|
|
8546
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8547
|
+
readonly error: string;
|
|
8548
|
+
readonly modelChoices?: {
|
|
8549
|
+
runner: string;
|
|
8550
|
+
requestedModel: string;
|
|
8551
|
+
availableModels: {
|
|
8552
|
+
id: string;
|
|
8553
|
+
label: string;
|
|
8554
|
+
description: string;
|
|
8555
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8556
|
+
}[];
|
|
8557
|
+
otherRunners: string[];
|
|
8558
|
+
} | undefined;
|
|
8559
|
+
};
|
|
8560
|
+
outputFormat: "json";
|
|
8561
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8562
|
+
input: {
|
|
8563
|
+
query: {
|
|
8564
|
+
[x: string]: string | string[];
|
|
8565
|
+
};
|
|
8566
|
+
} & {
|
|
8567
|
+
param: {
|
|
8568
|
+
id: string;
|
|
8569
|
+
};
|
|
8570
|
+
} & {
|
|
8571
|
+
json: {
|
|
8572
|
+
discardWork?: true | undefined;
|
|
8573
|
+
};
|
|
8574
|
+
};
|
|
8575
8575
|
};
|
|
8576
8576
|
};
|
|
8577
8577
|
} & {
|
|
@@ -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:
|
|
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
|
-
|
|
18452
|
+
opened: true;
|
|
18453
|
+
path: string;
|
|
18453
18454
|
};
|
|
18454
18455
|
outputFormat: "json";
|
|
18455
|
-
status:
|
|
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
|
-
|
|
18469
|
-
path: string;
|
|
18469
|
+
error: string;
|
|
18470
18470
|
};
|
|
18471
18471
|
outputFormat: "json";
|
|
18472
|
-
status:
|
|
18472
|
+
status: 404 | 409;
|
|
18473
18473
|
input: {
|
|
18474
18474
|
json: {
|
|
18475
18475
|
target: string;
|
|
@@ -19365,6 +19365,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19365
19365
|
};
|
|
19366
19366
|
};
|
|
19367
19367
|
};
|
|
19368
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19369
|
+
"/reports/state": {
|
|
19370
|
+
$get: {
|
|
19371
|
+
output: {
|
|
19372
|
+
error: string;
|
|
19373
|
+
};
|
|
19374
|
+
outputFormat: "json";
|
|
19375
|
+
status: 409;
|
|
19376
|
+
input: {};
|
|
19377
|
+
} | {
|
|
19378
|
+
output: {
|
|
19379
|
+
epoch: string;
|
|
19380
|
+
generation: number;
|
|
19381
|
+
metadataGeneration: number;
|
|
19382
|
+
};
|
|
19383
|
+
outputFormat: "json";
|
|
19384
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19385
|
+
input: {};
|
|
19386
|
+
};
|
|
19387
|
+
};
|
|
19388
|
+
} & {
|
|
19389
|
+
"/reports": {
|
|
19390
|
+
$get: {
|
|
19391
|
+
output: {
|
|
19392
|
+
error: string;
|
|
19393
|
+
code?: "invalid_input" | undefined;
|
|
19394
|
+
};
|
|
19395
|
+
outputFormat: "json";
|
|
19396
|
+
status: 400;
|
|
19397
|
+
input: {
|
|
19398
|
+
query: {
|
|
19399
|
+
q?: string | undefined;
|
|
19400
|
+
before?: string | undefined;
|
|
19401
|
+
limit?: number | undefined;
|
|
19402
|
+
};
|
|
19403
|
+
};
|
|
19404
|
+
} | {
|
|
19405
|
+
output: {
|
|
19406
|
+
error: string;
|
|
19407
|
+
};
|
|
19408
|
+
outputFormat: "json";
|
|
19409
|
+
status: 409;
|
|
19410
|
+
input: {
|
|
19411
|
+
query: {
|
|
19412
|
+
q?: string | undefined;
|
|
19413
|
+
before?: string | undefined;
|
|
19414
|
+
limit?: number | undefined;
|
|
19415
|
+
};
|
|
19416
|
+
};
|
|
19417
|
+
} | {
|
|
19418
|
+
output: {
|
|
19419
|
+
error: string;
|
|
19420
|
+
};
|
|
19421
|
+
outputFormat: "json";
|
|
19422
|
+
status: 400;
|
|
19423
|
+
input: {
|
|
19424
|
+
query: {
|
|
19425
|
+
q?: string | undefined;
|
|
19426
|
+
before?: string | undefined;
|
|
19427
|
+
limit?: number | undefined;
|
|
19428
|
+
};
|
|
19429
|
+
};
|
|
19430
|
+
} | {
|
|
19431
|
+
output: {
|
|
19432
|
+
reports: {
|
|
19433
|
+
id: string;
|
|
19434
|
+
runId: string;
|
|
19435
|
+
name: string;
|
|
19436
|
+
title: string;
|
|
19437
|
+
createdAt: string;
|
|
19438
|
+
size: number;
|
|
19439
|
+
taskTitle: string;
|
|
19440
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19441
|
+
}[];
|
|
19442
|
+
nextCursor: string | null;
|
|
19443
|
+
total: number;
|
|
19444
|
+
};
|
|
19445
|
+
outputFormat: "json";
|
|
19446
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19447
|
+
input: {
|
|
19448
|
+
query: {
|
|
19449
|
+
q?: string | undefined;
|
|
19450
|
+
before?: string | undefined;
|
|
19451
|
+
limit?: number | undefined;
|
|
19452
|
+
};
|
|
19453
|
+
};
|
|
19454
|
+
};
|
|
19455
|
+
};
|
|
19368
19456
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19369
19457
|
"/ui-state": {
|
|
19370
19458
|
$get: {
|
|
@@ -19853,94 +19941,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19853
19941
|
};
|
|
19854
19942
|
};
|
|
19855
19943
|
};
|
|
19856
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19857
|
-
"/reports/state": {
|
|
19858
|
-
$get: {
|
|
19859
|
-
output: {
|
|
19860
|
-
error: string;
|
|
19861
|
-
};
|
|
19862
|
-
outputFormat: "json";
|
|
19863
|
-
status: 409;
|
|
19864
|
-
input: {};
|
|
19865
|
-
} | {
|
|
19866
|
-
output: {
|
|
19867
|
-
epoch: string;
|
|
19868
|
-
generation: number;
|
|
19869
|
-
metadataGeneration: number;
|
|
19870
|
-
};
|
|
19871
|
-
outputFormat: "json";
|
|
19872
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19873
|
-
input: {};
|
|
19874
|
-
};
|
|
19875
|
-
};
|
|
19876
|
-
} & {
|
|
19877
|
-
"/reports": {
|
|
19878
|
-
$get: {
|
|
19879
|
-
output: {
|
|
19880
|
-
error: string;
|
|
19881
|
-
code?: "invalid_input" | undefined;
|
|
19882
|
-
};
|
|
19883
|
-
outputFormat: "json";
|
|
19884
|
-
status: 400;
|
|
19885
|
-
input: {
|
|
19886
|
-
query: {
|
|
19887
|
-
q?: string | undefined;
|
|
19888
|
-
before?: string | undefined;
|
|
19889
|
-
limit?: number | undefined;
|
|
19890
|
-
};
|
|
19891
|
-
};
|
|
19892
|
-
} | {
|
|
19893
|
-
output: {
|
|
19894
|
-
error: string;
|
|
19895
|
-
};
|
|
19896
|
-
outputFormat: "json";
|
|
19897
|
-
status: 409;
|
|
19898
|
-
input: {
|
|
19899
|
-
query: {
|
|
19900
|
-
q?: string | undefined;
|
|
19901
|
-
before?: string | undefined;
|
|
19902
|
-
limit?: number | undefined;
|
|
19903
|
-
};
|
|
19904
|
-
};
|
|
19905
|
-
} | {
|
|
19906
|
-
output: {
|
|
19907
|
-
error: string;
|
|
19908
|
-
};
|
|
19909
|
-
outputFormat: "json";
|
|
19910
|
-
status: 400;
|
|
19911
|
-
input: {
|
|
19912
|
-
query: {
|
|
19913
|
-
q?: string | undefined;
|
|
19914
|
-
before?: string | undefined;
|
|
19915
|
-
limit?: number | undefined;
|
|
19916
|
-
};
|
|
19917
|
-
};
|
|
19918
|
-
} | {
|
|
19919
|
-
output: {
|
|
19920
|
-
reports: {
|
|
19921
|
-
id: string;
|
|
19922
|
-
runId: string;
|
|
19923
|
-
name: string;
|
|
19924
|
-
title: string;
|
|
19925
|
-
createdAt: string;
|
|
19926
|
-
size: number;
|
|
19927
|
-
taskTitle: string;
|
|
19928
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19929
|
-
}[];
|
|
19930
|
-
nextCursor: string | null;
|
|
19931
|
-
total: number;
|
|
19932
|
-
};
|
|
19933
|
-
outputFormat: "json";
|
|
19934
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19935
|
-
input: {
|
|
19936
|
-
query: {
|
|
19937
|
-
q?: string | undefined;
|
|
19938
|
-
before?: string | undefined;
|
|
19939
|
-
limit?: number | undefined;
|
|
19940
|
-
};
|
|
19941
|
-
};
|
|
19942
|
-
};
|
|
19943
|
-
};
|
|
19944
19944
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19945
19945
|
"/worktrees": {
|
|
19946
19946
|
$get: {
|
|
@@ -24415,37 +24415,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24415
24415
|
} & {
|
|
24416
24416
|
"/runs/:id/worker-destroy": {
|
|
24417
24417
|
$post: {
|
|
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;
|
|
24432
|
-
};
|
|
24433
|
-
outputFormat: "json";
|
|
24434
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
24435
|
-
input: {
|
|
24436
|
-
query: {
|
|
24437
|
-
[x: string]: string | string[];
|
|
24438
|
-
};
|
|
24439
|
-
} & {
|
|
24440
|
-
param: {
|
|
24441
|
-
id: string;
|
|
24442
|
-
};
|
|
24443
|
-
} & {
|
|
24444
|
-
json: {
|
|
24445
|
-
discardWork?: true | undefined;
|
|
24446
|
-
};
|
|
24447
|
-
};
|
|
24448
|
-
} | {
|
|
24449
24418
|
output: {
|
|
24450
24419
|
error: string;
|
|
24451
24420
|
code?: "invalid_input" | undefined;
|
|
@@ -24531,6 +24500,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24531
24500
|
discardWork?: true | undefined;
|
|
24532
24501
|
};
|
|
24533
24502
|
};
|
|
24503
|
+
} | {
|
|
24504
|
+
output: {
|
|
24505
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24506
|
+
readonly error: string;
|
|
24507
|
+
readonly modelChoices?: {
|
|
24508
|
+
runner: string;
|
|
24509
|
+
requestedModel: string;
|
|
24510
|
+
availableModels: {
|
|
24511
|
+
id: string;
|
|
24512
|
+
label: string;
|
|
24513
|
+
description: string;
|
|
24514
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24515
|
+
}[];
|
|
24516
|
+
otherRunners: string[];
|
|
24517
|
+
} | undefined;
|
|
24518
|
+
};
|
|
24519
|
+
outputFormat: "json";
|
|
24520
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
24521
|
+
input: {
|
|
24522
|
+
query: {
|
|
24523
|
+
[x: string]: string | string[];
|
|
24524
|
+
};
|
|
24525
|
+
} & {
|
|
24526
|
+
param: {
|
|
24527
|
+
id: string;
|
|
24528
|
+
};
|
|
24529
|
+
} & {
|
|
24530
|
+
json: {
|
|
24531
|
+
discardWork?: true | undefined;
|
|
24532
|
+
};
|
|
24533
|
+
};
|
|
24534
24534
|
};
|
|
24535
24535
|
};
|
|
24536
24536
|
} & {
|
|
@@ -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:
|
|
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
|
-
|
|
34411
|
+
opened: true;
|
|
34412
|
+
path: string;
|
|
34412
34413
|
};
|
|
34413
34414
|
outputFormat: "json";
|
|
34414
|
-
status:
|
|
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
|
-
|
|
34428
|
-
path: string;
|
|
34428
|
+
error: string;
|
|
34429
34429
|
};
|
|
34430
34430
|
outputFormat: "json";
|
|
34431
|
-
status:
|
|
34431
|
+
status: 404 | 409;
|
|
34432
34432
|
input: {
|
|
34433
34433
|
json: {
|
|
34434
34434
|
target: string;
|