@decocms/runtime 0.27.0 → 0.28.0-beta.2
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/bindings/deconfig/index.d.ts +3 -3
- package/dist/bindings/index.d.ts +231 -231
- package/dist/drizzle.d.ts +2 -2
- package/dist/{index-COMJ3oN7.d.ts → index-DjDlgN1G.d.ts} +1 -1
- package/dist/{index-DqyElLzZ.d.ts → index-n3Qln2L7.d.ts} +8 -8
- package/dist/index.d.ts +2 -2
- package/dist/mastra.d.ts +2 -2
- package/dist/{mcp-Dbqp-p04.d.ts → mcp-DZsyjtAW.d.ts} +4 -4
- package/dist/mcp-client.d.ts +4 -1
- package/dist/proxy.d.ts +1 -1
- package/dist/resources.d.ts +42 -42
- package/dist/views.d.ts +12 -12
- package/package.json +2 -2
- package/src/bindings/language-model/ai-sdk.ts +3 -3
- package/src/bindings/language-model/utils.ts +1 -1
package/dist/bindings/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
export { B as BaseResourceDataSchema, D as DeconfigClient, b as DeconfigResourceOptions, E as EnhancedResourcesTools, f as ResourceBinding, g as ResourceBindingsFunction, R as ResourcesBinding, d as ResourcesTools, a as createDeconfigResource, c as createResourceBindings, e as deconfigTools } from '../index-
|
|
3
|
+
export { B as BaseResourceDataSchema, D as DeconfigClient, b as DeconfigResourceOptions, E as EnhancedResourcesTools, f as ResourceBinding, g as ResourceBindingsFunction, R as ResourcesBinding, d as ResourcesTools, a as createDeconfigResource, c as createResourceBindings, e as deconfigTools } from '../index-n3Qln2L7.js';
|
|
4
4
|
import * as _mastra_core from '@mastra/core';
|
|
5
|
-
import { c as createPrivateTool, a as createStreamableTool, S as StreamableTool } from '../index-
|
|
5
|
+
import { c as createPrivateTool, a as createStreamableTool, S as StreamableTool } from '../index-DjDlgN1G.js';
|
|
6
6
|
import { MCPConnection } from '@decocms/bindings/connection';
|
|
7
|
-
import { M as MCPClientFetchStub } from '../mcp-
|
|
7
|
+
import { M as MCPClientFetchStub } from '../mcp-DZsyjtAW.js';
|
|
8
8
|
import { ToolBinder } from '@decocms/bindings';
|
|
9
9
|
import '@cloudflare/workers-types';
|
|
10
10
|
import '@mastra/core/di';
|
|
@@ -312,13 +312,13 @@ declare const ViewBinding: {
|
|
|
312
312
|
prompt: z.ZodOptional<z.ZodString>;
|
|
313
313
|
installBehavior: z.ZodOptional<z.ZodEnum<["none", "open", "autoPin"]>>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
title: string;
|
|
316
315
|
tools: string[];
|
|
316
|
+
title: string;
|
|
317
317
|
icon: string;
|
|
318
|
-
|
|
318
|
+
id?: string | undefined;
|
|
319
319
|
name?: string | undefined;
|
|
320
|
+
url?: string | undefined;
|
|
320
321
|
description?: string | undefined;
|
|
321
|
-
id?: string | undefined;
|
|
322
322
|
resourceName?: string | undefined;
|
|
323
323
|
mimeTypePattern?: string | undefined;
|
|
324
324
|
prompt?: string | undefined;
|
|
@@ -326,25 +326,25 @@ declare const ViewBinding: {
|
|
|
326
326
|
}, {
|
|
327
327
|
title: string;
|
|
328
328
|
icon: string;
|
|
329
|
-
|
|
329
|
+
id?: string | undefined;
|
|
330
330
|
name?: string | undefined;
|
|
331
|
+
url?: string | undefined;
|
|
331
332
|
description?: string | undefined;
|
|
332
|
-
tools?: string[] | undefined;
|
|
333
|
-
id?: string | undefined;
|
|
334
333
|
resourceName?: string | undefined;
|
|
334
|
+
tools?: string[] | undefined;
|
|
335
335
|
mimeTypePattern?: string | undefined;
|
|
336
336
|
prompt?: string | undefined;
|
|
337
337
|
installBehavior?: "open" | "none" | "autoPin" | undefined;
|
|
338
338
|
}>, "many">;
|
|
339
339
|
}, "strip", z.ZodTypeAny, {
|
|
340
340
|
views: {
|
|
341
|
-
title: string;
|
|
342
341
|
tools: string[];
|
|
342
|
+
title: string;
|
|
343
343
|
icon: string;
|
|
344
|
-
|
|
344
|
+
id?: string | undefined;
|
|
345
345
|
name?: string | undefined;
|
|
346
|
+
url?: string | undefined;
|
|
346
347
|
description?: string | undefined;
|
|
347
|
-
id?: string | undefined;
|
|
348
348
|
resourceName?: string | undefined;
|
|
349
349
|
mimeTypePattern?: string | undefined;
|
|
350
350
|
prompt?: string | undefined;
|
|
@@ -354,12 +354,12 @@ declare const ViewBinding: {
|
|
|
354
354
|
views: {
|
|
355
355
|
title: string;
|
|
356
356
|
icon: string;
|
|
357
|
-
|
|
357
|
+
id?: string | undefined;
|
|
358
358
|
name?: string | undefined;
|
|
359
|
+
url?: string | undefined;
|
|
359
360
|
description?: string | undefined;
|
|
360
|
-
tools?: string[] | undefined;
|
|
361
|
-
id?: string | undefined;
|
|
362
361
|
resourceName?: string | undefined;
|
|
362
|
+
tools?: string[] | undefined;
|
|
363
363
|
mimeTypePattern?: string | undefined;
|
|
364
364
|
prompt?: string | undefined;
|
|
365
365
|
installBehavior?: "open" | "none" | "autoPin" | undefined;
|
|
@@ -391,13 +391,13 @@ declare const VIEW_BINDING: readonly [{
|
|
|
391
391
|
prompt: z.ZodOptional<z.ZodString>;
|
|
392
392
|
installBehavior: z.ZodOptional<z.ZodEnum<["none", "open", "autoPin"]>>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
|
-
title: string;
|
|
395
394
|
tools: string[];
|
|
395
|
+
title: string;
|
|
396
396
|
icon: string;
|
|
397
|
-
|
|
397
|
+
id?: string | undefined;
|
|
398
398
|
name?: string | undefined;
|
|
399
|
+
url?: string | undefined;
|
|
399
400
|
description?: string | undefined;
|
|
400
|
-
id?: string | undefined;
|
|
401
401
|
resourceName?: string | undefined;
|
|
402
402
|
mimeTypePattern?: string | undefined;
|
|
403
403
|
prompt?: string | undefined;
|
|
@@ -405,25 +405,25 @@ declare const VIEW_BINDING: readonly [{
|
|
|
405
405
|
}, {
|
|
406
406
|
title: string;
|
|
407
407
|
icon: string;
|
|
408
|
-
|
|
408
|
+
id?: string | undefined;
|
|
409
409
|
name?: string | undefined;
|
|
410
|
+
url?: string | undefined;
|
|
410
411
|
description?: string | undefined;
|
|
411
|
-
tools?: string[] | undefined;
|
|
412
|
-
id?: string | undefined;
|
|
413
412
|
resourceName?: string | undefined;
|
|
413
|
+
tools?: string[] | undefined;
|
|
414
414
|
mimeTypePattern?: string | undefined;
|
|
415
415
|
prompt?: string | undefined;
|
|
416
416
|
installBehavior?: "open" | "none" | "autoPin" | undefined;
|
|
417
417
|
}>, "many">;
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
419
|
views: {
|
|
420
|
-
title: string;
|
|
421
420
|
tools: string[];
|
|
421
|
+
title: string;
|
|
422
422
|
icon: string;
|
|
423
|
-
|
|
423
|
+
id?: string | undefined;
|
|
424
424
|
name?: string | undefined;
|
|
425
|
+
url?: string | undefined;
|
|
425
426
|
description?: string | undefined;
|
|
426
|
-
id?: string | undefined;
|
|
427
427
|
resourceName?: string | undefined;
|
|
428
428
|
mimeTypePattern?: string | undefined;
|
|
429
429
|
prompt?: string | undefined;
|
|
@@ -433,12 +433,12 @@ declare const VIEW_BINDING: readonly [{
|
|
|
433
433
|
views: {
|
|
434
434
|
title: string;
|
|
435
435
|
icon: string;
|
|
436
|
-
|
|
436
|
+
id?: string | undefined;
|
|
437
437
|
name?: string | undefined;
|
|
438
|
+
url?: string | undefined;
|
|
438
439
|
description?: string | undefined;
|
|
439
|
-
tools?: string[] | undefined;
|
|
440
|
-
id?: string | undefined;
|
|
441
440
|
resourceName?: string | undefined;
|
|
441
|
+
tools?: string[] | undefined;
|
|
442
442
|
mimeTypePattern?: string | undefined;
|
|
443
443
|
prompt?: string | undefined;
|
|
444
444
|
installBehavior?: "open" | "none" | "autoPin" | undefined;
|
|
@@ -459,13 +459,13 @@ declare const listViewsSchema: z.ZodObject<{
|
|
|
459
459
|
prompt: z.ZodOptional<z.ZodString>;
|
|
460
460
|
installBehavior: z.ZodOptional<z.ZodEnum<["none", "open", "autoPin"]>>;
|
|
461
461
|
}, "strip", z.ZodTypeAny, {
|
|
462
|
-
title: string;
|
|
463
462
|
tools: string[];
|
|
463
|
+
title: string;
|
|
464
464
|
icon: string;
|
|
465
|
-
|
|
465
|
+
id?: string | undefined;
|
|
466
466
|
name?: string | undefined;
|
|
467
|
+
url?: string | undefined;
|
|
467
468
|
description?: string | undefined;
|
|
468
|
-
id?: string | undefined;
|
|
469
469
|
resourceName?: string | undefined;
|
|
470
470
|
mimeTypePattern?: string | undefined;
|
|
471
471
|
prompt?: string | undefined;
|
|
@@ -473,25 +473,25 @@ declare const listViewsSchema: z.ZodObject<{
|
|
|
473
473
|
}, {
|
|
474
474
|
title: string;
|
|
475
475
|
icon: string;
|
|
476
|
-
|
|
476
|
+
id?: string | undefined;
|
|
477
477
|
name?: string | undefined;
|
|
478
|
+
url?: string | undefined;
|
|
478
479
|
description?: string | undefined;
|
|
479
|
-
tools?: string[] | undefined;
|
|
480
|
-
id?: string | undefined;
|
|
481
480
|
resourceName?: string | undefined;
|
|
481
|
+
tools?: string[] | undefined;
|
|
482
482
|
mimeTypePattern?: string | undefined;
|
|
483
483
|
prompt?: string | undefined;
|
|
484
484
|
installBehavior?: "open" | "none" | "autoPin" | undefined;
|
|
485
485
|
}>, "many">;
|
|
486
486
|
}, "strip", z.ZodTypeAny, {
|
|
487
487
|
views: {
|
|
488
|
-
title: string;
|
|
489
488
|
tools: string[];
|
|
489
|
+
title: string;
|
|
490
490
|
icon: string;
|
|
491
|
-
|
|
491
|
+
id?: string | undefined;
|
|
492
492
|
name?: string | undefined;
|
|
493
|
+
url?: string | undefined;
|
|
493
494
|
description?: string | undefined;
|
|
494
|
-
id?: string | undefined;
|
|
495
495
|
resourceName?: string | undefined;
|
|
496
496
|
mimeTypePattern?: string | undefined;
|
|
497
497
|
prompt?: string | undefined;
|
|
@@ -501,12 +501,12 @@ declare const listViewsSchema: z.ZodObject<{
|
|
|
501
501
|
views: {
|
|
502
502
|
title: string;
|
|
503
503
|
icon: string;
|
|
504
|
-
|
|
504
|
+
id?: string | undefined;
|
|
505
505
|
name?: string | undefined;
|
|
506
|
+
url?: string | undefined;
|
|
506
507
|
description?: string | undefined;
|
|
507
|
-
tools?: string[] | undefined;
|
|
508
|
-
id?: string | undefined;
|
|
509
508
|
resourceName?: string | undefined;
|
|
509
|
+
tools?: string[] | undefined;
|
|
510
510
|
mimeTypePattern?: string | undefined;
|
|
511
511
|
prompt?: string | undefined;
|
|
512
512
|
installBehavior?: "open" | "none" | "autoPin" | undefined;
|
|
@@ -751,11 +751,11 @@ declare const DeleteOutputSchema: z.ZodObject<{
|
|
|
751
751
|
success: z.ZodBoolean;
|
|
752
752
|
uri: z.ZodString;
|
|
753
753
|
}, "strip", z.ZodTypeAny, {
|
|
754
|
-
uri: string;
|
|
755
754
|
success: boolean;
|
|
756
|
-
}, {
|
|
757
755
|
uri: string;
|
|
756
|
+
}, {
|
|
758
757
|
success: boolean;
|
|
758
|
+
uri: string;
|
|
759
759
|
}>;
|
|
760
760
|
/**
|
|
761
761
|
* Factory function to create item schema for a specific resource type
|
|
@@ -1184,10 +1184,13 @@ declare const WellKnownBindings: {
|
|
|
1184
1184
|
}>>;
|
|
1185
1185
|
provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1186
1186
|
}, "strip", zod.ZodTypeAny, {
|
|
1187
|
-
description: string | null;
|
|
1188
1187
|
id: string;
|
|
1189
|
-
|
|
1188
|
+
title: string;
|
|
1189
|
+
created_at: string;
|
|
1190
|
+
updated_at: string;
|
|
1191
|
+
description: string | null;
|
|
1190
1192
|
capabilities: string[];
|
|
1193
|
+
logo: string | null;
|
|
1191
1194
|
limits: {
|
|
1192
1195
|
maxOutputTokens: number;
|
|
1193
1196
|
contextWindow: number;
|
|
@@ -1196,17 +1199,17 @@ declare const WellKnownBindings: {
|
|
|
1196
1199
|
input: number;
|
|
1197
1200
|
output: number;
|
|
1198
1201
|
} | null;
|
|
1199
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1200
|
-
title: string;
|
|
1201
|
-
created_at: string;
|
|
1202
|
-
updated_at: string;
|
|
1202
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1203
1203
|
created_by?: string | undefined;
|
|
1204
1204
|
updated_by?: string | undefined;
|
|
1205
1205
|
}, {
|
|
1206
|
-
description: string | null;
|
|
1207
1206
|
id: string;
|
|
1208
|
-
|
|
1207
|
+
title: string;
|
|
1208
|
+
created_at: string;
|
|
1209
|
+
updated_at: string;
|
|
1210
|
+
description: string | null;
|
|
1209
1211
|
capabilities: string[];
|
|
1212
|
+
logo: string | null;
|
|
1210
1213
|
limits: {
|
|
1211
1214
|
maxOutputTokens: number;
|
|
1212
1215
|
contextWindow: number;
|
|
@@ -1215,10 +1218,7 @@ declare const WellKnownBindings: {
|
|
|
1215
1218
|
input: number;
|
|
1216
1219
|
output: number;
|
|
1217
1220
|
} | null;
|
|
1218
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1219
|
-
title: string;
|
|
1220
|
-
created_at: string;
|
|
1221
|
-
updated_at: string;
|
|
1221
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1222
1222
|
created_by?: string | undefined;
|
|
1223
1223
|
updated_by?: string | undefined;
|
|
1224
1224
|
}>, "many">;
|
|
@@ -1226,10 +1226,13 @@ declare const WellKnownBindings: {
|
|
|
1226
1226
|
hasMore: zod.ZodOptional<zod.ZodBoolean>;
|
|
1227
1227
|
}, "strip", zod.ZodTypeAny, {
|
|
1228
1228
|
items: {
|
|
1229
|
-
description: string | null;
|
|
1230
1229
|
id: string;
|
|
1231
|
-
|
|
1230
|
+
title: string;
|
|
1231
|
+
created_at: string;
|
|
1232
|
+
updated_at: string;
|
|
1233
|
+
description: string | null;
|
|
1232
1234
|
capabilities: string[];
|
|
1235
|
+
logo: string | null;
|
|
1233
1236
|
limits: {
|
|
1234
1237
|
maxOutputTokens: number;
|
|
1235
1238
|
contextWindow: number;
|
|
@@ -1238,10 +1241,7 @@ declare const WellKnownBindings: {
|
|
|
1238
1241
|
input: number;
|
|
1239
1242
|
output: number;
|
|
1240
1243
|
} | null;
|
|
1241
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1242
|
-
title: string;
|
|
1243
|
-
created_at: string;
|
|
1244
|
-
updated_at: string;
|
|
1244
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1245
1245
|
created_by?: string | undefined;
|
|
1246
1246
|
updated_by?: string | undefined;
|
|
1247
1247
|
}[];
|
|
@@ -1249,10 +1249,13 @@ declare const WellKnownBindings: {
|
|
|
1249
1249
|
hasMore?: boolean | undefined;
|
|
1250
1250
|
}, {
|
|
1251
1251
|
items: {
|
|
1252
|
-
description: string | null;
|
|
1253
1252
|
id: string;
|
|
1254
|
-
|
|
1253
|
+
title: string;
|
|
1254
|
+
created_at: string;
|
|
1255
|
+
updated_at: string;
|
|
1256
|
+
description: string | null;
|
|
1255
1257
|
capabilities: string[];
|
|
1258
|
+
logo: string | null;
|
|
1256
1259
|
limits: {
|
|
1257
1260
|
maxOutputTokens: number;
|
|
1258
1261
|
contextWindow: number;
|
|
@@ -1261,10 +1264,7 @@ declare const WellKnownBindings: {
|
|
|
1261
1264
|
input: number;
|
|
1262
1265
|
output: number;
|
|
1263
1266
|
} | null;
|
|
1264
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1265
|
-
title: string;
|
|
1266
|
-
created_at: string;
|
|
1267
|
-
updated_at: string;
|
|
1267
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1268
1268
|
created_by?: string | undefined;
|
|
1269
1269
|
updated_by?: string | undefined;
|
|
1270
1270
|
}[];
|
|
@@ -1314,10 +1314,13 @@ declare const WellKnownBindings: {
|
|
|
1314
1314
|
}>>;
|
|
1315
1315
|
provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1316
1316
|
}, "strip", zod.ZodTypeAny, {
|
|
1317
|
-
description: string | null;
|
|
1318
1317
|
id: string;
|
|
1319
|
-
|
|
1318
|
+
title: string;
|
|
1319
|
+
created_at: string;
|
|
1320
|
+
updated_at: string;
|
|
1321
|
+
description: string | null;
|
|
1320
1322
|
capabilities: string[];
|
|
1323
|
+
logo: string | null;
|
|
1321
1324
|
limits: {
|
|
1322
1325
|
maxOutputTokens: number;
|
|
1323
1326
|
contextWindow: number;
|
|
@@ -1326,17 +1329,17 @@ declare const WellKnownBindings: {
|
|
|
1326
1329
|
input: number;
|
|
1327
1330
|
output: number;
|
|
1328
1331
|
} | null;
|
|
1329
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1330
|
-
title: string;
|
|
1331
|
-
created_at: string;
|
|
1332
|
-
updated_at: string;
|
|
1332
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1333
1333
|
created_by?: string | undefined;
|
|
1334
1334
|
updated_by?: string | undefined;
|
|
1335
1335
|
}, {
|
|
1336
|
-
description: string | null;
|
|
1337
1336
|
id: string;
|
|
1338
|
-
|
|
1337
|
+
title: string;
|
|
1338
|
+
created_at: string;
|
|
1339
|
+
updated_at: string;
|
|
1340
|
+
description: string | null;
|
|
1339
1341
|
capabilities: string[];
|
|
1342
|
+
logo: string | null;
|
|
1340
1343
|
limits: {
|
|
1341
1344
|
maxOutputTokens: number;
|
|
1342
1345
|
contextWindow: number;
|
|
@@ -1345,19 +1348,19 @@ declare const WellKnownBindings: {
|
|
|
1345
1348
|
input: number;
|
|
1346
1349
|
output: number;
|
|
1347
1350
|
} | null;
|
|
1348
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1349
|
-
title: string;
|
|
1350
|
-
created_at: string;
|
|
1351
|
-
updated_at: string;
|
|
1351
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1352
1352
|
created_by?: string | undefined;
|
|
1353
1353
|
updated_by?: string | undefined;
|
|
1354
1354
|
}>>;
|
|
1355
1355
|
}, "strip", zod.ZodTypeAny, {
|
|
1356
1356
|
item: {
|
|
1357
|
-
description: string | null;
|
|
1358
1357
|
id: string;
|
|
1359
|
-
|
|
1358
|
+
title: string;
|
|
1359
|
+
created_at: string;
|
|
1360
|
+
updated_at: string;
|
|
1361
|
+
description: string | null;
|
|
1360
1362
|
capabilities: string[];
|
|
1363
|
+
logo: string | null;
|
|
1361
1364
|
limits: {
|
|
1362
1365
|
maxOutputTokens: number;
|
|
1363
1366
|
contextWindow: number;
|
|
@@ -1366,19 +1369,19 @@ declare const WellKnownBindings: {
|
|
|
1366
1369
|
input: number;
|
|
1367
1370
|
output: number;
|
|
1368
1371
|
} | null;
|
|
1369
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1370
|
-
title: string;
|
|
1371
|
-
created_at: string;
|
|
1372
|
-
updated_at: string;
|
|
1372
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1373
1373
|
created_by?: string | undefined;
|
|
1374
1374
|
updated_by?: string | undefined;
|
|
1375
1375
|
} | null;
|
|
1376
1376
|
}, {
|
|
1377
1377
|
item: {
|
|
1378
|
-
description: string | null;
|
|
1379
1378
|
id: string;
|
|
1380
|
-
|
|
1379
|
+
title: string;
|
|
1380
|
+
created_at: string;
|
|
1381
|
+
updated_at: string;
|
|
1382
|
+
description: string | null;
|
|
1381
1383
|
capabilities: string[];
|
|
1384
|
+
logo: string | null;
|
|
1382
1385
|
limits: {
|
|
1383
1386
|
maxOutputTokens: number;
|
|
1384
1387
|
contextWindow: number;
|
|
@@ -1387,10 +1390,7 @@ declare const WellKnownBindings: {
|
|
|
1387
1390
|
input: number;
|
|
1388
1391
|
output: number;
|
|
1389
1392
|
} | null;
|
|
1390
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1391
|
-
title: string;
|
|
1392
|
-
created_at: string;
|
|
1393
|
-
updated_at: string;
|
|
1393
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1394
1394
|
created_by?: string | undefined;
|
|
1395
1395
|
updated_by?: string | undefined;
|
|
1396
1396
|
} | null;
|
|
@@ -1431,10 +1431,13 @@ declare const WellKnownBindings: {
|
|
|
1431
1431
|
}>>;
|
|
1432
1432
|
provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1433
1433
|
}, "strip", zod.ZodTypeAny, {
|
|
1434
|
-
description: string | null;
|
|
1435
1434
|
id: string;
|
|
1436
|
-
|
|
1435
|
+
title: string;
|
|
1436
|
+
created_at: string;
|
|
1437
|
+
updated_at: string;
|
|
1438
|
+
description: string | null;
|
|
1437
1439
|
capabilities: string[];
|
|
1440
|
+
logo: string | null;
|
|
1438
1441
|
limits: {
|
|
1439
1442
|
maxOutputTokens: number;
|
|
1440
1443
|
contextWindow: number;
|
|
@@ -1443,17 +1446,17 @@ declare const WellKnownBindings: {
|
|
|
1443
1446
|
input: number;
|
|
1444
1447
|
output: number;
|
|
1445
1448
|
} | null;
|
|
1446
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1447
|
-
title: string;
|
|
1448
|
-
created_at: string;
|
|
1449
|
-
updated_at: string;
|
|
1449
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1450
1450
|
created_by?: string | undefined;
|
|
1451
1451
|
updated_by?: string | undefined;
|
|
1452
1452
|
}, {
|
|
1453
|
-
description: string | null;
|
|
1454
1453
|
id: string;
|
|
1455
|
-
|
|
1454
|
+
title: string;
|
|
1455
|
+
created_at: string;
|
|
1456
|
+
updated_at: string;
|
|
1457
|
+
description: string | null;
|
|
1456
1458
|
capabilities: string[];
|
|
1459
|
+
logo: string | null;
|
|
1457
1460
|
limits: {
|
|
1458
1461
|
maxOutputTokens: number;
|
|
1459
1462
|
contextWindow: number;
|
|
@@ -1462,19 +1465,19 @@ declare const WellKnownBindings: {
|
|
|
1462
1465
|
input: number;
|
|
1463
1466
|
output: number;
|
|
1464
1467
|
} | null;
|
|
1465
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1466
|
-
title: string;
|
|
1467
|
-
created_at: string;
|
|
1468
|
-
updated_at: string;
|
|
1468
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1469
1469
|
created_by?: string | undefined;
|
|
1470
1470
|
updated_by?: string | undefined;
|
|
1471
1471
|
}>;
|
|
1472
1472
|
}, "strip", zod.ZodTypeAny, {
|
|
1473
1473
|
data: {
|
|
1474
|
-
description: string | null;
|
|
1475
1474
|
id: string;
|
|
1476
|
-
|
|
1475
|
+
title: string;
|
|
1476
|
+
created_at: string;
|
|
1477
|
+
updated_at: string;
|
|
1478
|
+
description: string | null;
|
|
1477
1479
|
capabilities: string[];
|
|
1480
|
+
logo: string | null;
|
|
1478
1481
|
limits: {
|
|
1479
1482
|
maxOutputTokens: number;
|
|
1480
1483
|
contextWindow: number;
|
|
@@ -1483,19 +1486,19 @@ declare const WellKnownBindings: {
|
|
|
1483
1486
|
input: number;
|
|
1484
1487
|
output: number;
|
|
1485
1488
|
} | null;
|
|
1486
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1487
|
-
title: string;
|
|
1488
|
-
created_at: string;
|
|
1489
|
-
updated_at: string;
|
|
1489
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1490
1490
|
created_by?: string | undefined;
|
|
1491
1491
|
updated_by?: string | undefined;
|
|
1492
1492
|
};
|
|
1493
1493
|
}, {
|
|
1494
1494
|
data: {
|
|
1495
|
-
description: string | null;
|
|
1496
1495
|
id: string;
|
|
1497
|
-
|
|
1496
|
+
title: string;
|
|
1497
|
+
created_at: string;
|
|
1498
|
+
updated_at: string;
|
|
1499
|
+
description: string | null;
|
|
1498
1500
|
capabilities: string[];
|
|
1501
|
+
logo: string | null;
|
|
1499
1502
|
limits: {
|
|
1500
1503
|
maxOutputTokens: number;
|
|
1501
1504
|
contextWindow: number;
|
|
@@ -1504,10 +1507,7 @@ declare const WellKnownBindings: {
|
|
|
1504
1507
|
input: number;
|
|
1505
1508
|
output: number;
|
|
1506
1509
|
} | null;
|
|
1507
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1508
|
-
title: string;
|
|
1509
|
-
created_at: string;
|
|
1510
|
-
updated_at: string;
|
|
1510
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1511
1511
|
created_by?: string | undefined;
|
|
1512
1512
|
updated_by?: string | undefined;
|
|
1513
1513
|
};
|
|
@@ -1546,10 +1546,13 @@ declare const WellKnownBindings: {
|
|
|
1546
1546
|
}>>;
|
|
1547
1547
|
provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1548
1548
|
}, "strip", zod.ZodTypeAny, {
|
|
1549
|
-
description: string | null;
|
|
1550
1549
|
id: string;
|
|
1551
|
-
|
|
1550
|
+
title: string;
|
|
1551
|
+
created_at: string;
|
|
1552
|
+
updated_at: string;
|
|
1553
|
+
description: string | null;
|
|
1552
1554
|
capabilities: string[];
|
|
1555
|
+
logo: string | null;
|
|
1553
1556
|
limits: {
|
|
1554
1557
|
maxOutputTokens: number;
|
|
1555
1558
|
contextWindow: number;
|
|
@@ -1558,17 +1561,17 @@ declare const WellKnownBindings: {
|
|
|
1558
1561
|
input: number;
|
|
1559
1562
|
output: number;
|
|
1560
1563
|
} | null;
|
|
1561
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1562
|
-
title: string;
|
|
1563
|
-
created_at: string;
|
|
1564
|
-
updated_at: string;
|
|
1564
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1565
1565
|
created_by?: string | undefined;
|
|
1566
1566
|
updated_by?: string | undefined;
|
|
1567
1567
|
}, {
|
|
1568
|
-
description: string | null;
|
|
1569
1568
|
id: string;
|
|
1570
|
-
|
|
1569
|
+
title: string;
|
|
1570
|
+
created_at: string;
|
|
1571
|
+
updated_at: string;
|
|
1572
|
+
description: string | null;
|
|
1571
1573
|
capabilities: string[];
|
|
1574
|
+
logo: string | null;
|
|
1572
1575
|
limits: {
|
|
1573
1576
|
maxOutputTokens: number;
|
|
1574
1577
|
contextWindow: number;
|
|
@@ -1577,19 +1580,19 @@ declare const WellKnownBindings: {
|
|
|
1577
1580
|
input: number;
|
|
1578
1581
|
output: number;
|
|
1579
1582
|
} | null;
|
|
1580
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1581
|
-
title: string;
|
|
1582
|
-
created_at: string;
|
|
1583
|
-
updated_at: string;
|
|
1583
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1584
1584
|
created_by?: string | undefined;
|
|
1585
1585
|
updated_by?: string | undefined;
|
|
1586
1586
|
}>;
|
|
1587
1587
|
}, "strip", zod.ZodTypeAny, {
|
|
1588
1588
|
item: {
|
|
1589
|
-
description: string | null;
|
|
1590
1589
|
id: string;
|
|
1591
|
-
|
|
1590
|
+
title: string;
|
|
1591
|
+
created_at: string;
|
|
1592
|
+
updated_at: string;
|
|
1593
|
+
description: string | null;
|
|
1592
1594
|
capabilities: string[];
|
|
1595
|
+
logo: string | null;
|
|
1593
1596
|
limits: {
|
|
1594
1597
|
maxOutputTokens: number;
|
|
1595
1598
|
contextWindow: number;
|
|
@@ -1598,19 +1601,19 @@ declare const WellKnownBindings: {
|
|
|
1598
1601
|
input: number;
|
|
1599
1602
|
output: number;
|
|
1600
1603
|
} | null;
|
|
1601
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1602
|
-
title: string;
|
|
1603
|
-
created_at: string;
|
|
1604
|
-
updated_at: string;
|
|
1604
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1605
1605
|
created_by?: string | undefined;
|
|
1606
1606
|
updated_by?: string | undefined;
|
|
1607
1607
|
};
|
|
1608
1608
|
}, {
|
|
1609
1609
|
item: {
|
|
1610
|
-
description: string | null;
|
|
1611
1610
|
id: string;
|
|
1612
|
-
|
|
1611
|
+
title: string;
|
|
1612
|
+
created_at: string;
|
|
1613
|
+
updated_at: string;
|
|
1614
|
+
description: string | null;
|
|
1613
1615
|
capabilities: string[];
|
|
1616
|
+
logo: string | null;
|
|
1614
1617
|
limits: {
|
|
1615
1618
|
maxOutputTokens: number;
|
|
1616
1619
|
contextWindow: number;
|
|
@@ -1619,10 +1622,7 @@ declare const WellKnownBindings: {
|
|
|
1619
1622
|
input: number;
|
|
1620
1623
|
output: number;
|
|
1621
1624
|
} | null;
|
|
1622
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1623
|
-
title: string;
|
|
1624
|
-
created_at: string;
|
|
1625
|
-
updated_at: string;
|
|
1625
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1626
1626
|
created_by?: string | undefined;
|
|
1627
1627
|
updated_by?: string | undefined;
|
|
1628
1628
|
};
|
|
@@ -1684,10 +1684,13 @@ declare const WellKnownBindings: {
|
|
|
1684
1684
|
}>>;
|
|
1685
1685
|
provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1686
1686
|
}, "strip", zod.ZodTypeAny, {
|
|
1687
|
-
description: string | null;
|
|
1688
1687
|
id: string;
|
|
1689
|
-
|
|
1688
|
+
title: string;
|
|
1689
|
+
created_at: string;
|
|
1690
|
+
updated_at: string;
|
|
1691
|
+
description: string | null;
|
|
1690
1692
|
capabilities: string[];
|
|
1693
|
+
logo: string | null;
|
|
1691
1694
|
limits: {
|
|
1692
1695
|
maxOutputTokens: number;
|
|
1693
1696
|
contextWindow: number;
|
|
@@ -1696,17 +1699,17 @@ declare const WellKnownBindings: {
|
|
|
1696
1699
|
input: number;
|
|
1697
1700
|
output: number;
|
|
1698
1701
|
} | null;
|
|
1699
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1700
|
-
title: string;
|
|
1701
|
-
created_at: string;
|
|
1702
|
-
updated_at: string;
|
|
1702
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1703
1703
|
created_by?: string | undefined;
|
|
1704
1704
|
updated_by?: string | undefined;
|
|
1705
1705
|
}, {
|
|
1706
|
-
description: string | null;
|
|
1707
1706
|
id: string;
|
|
1708
|
-
|
|
1707
|
+
title: string;
|
|
1708
|
+
created_at: string;
|
|
1709
|
+
updated_at: string;
|
|
1710
|
+
description: string | null;
|
|
1709
1711
|
capabilities: string[];
|
|
1712
|
+
logo: string | null;
|
|
1710
1713
|
limits: {
|
|
1711
1714
|
maxOutputTokens: number;
|
|
1712
1715
|
contextWindow: number;
|
|
@@ -1715,19 +1718,19 @@ declare const WellKnownBindings: {
|
|
|
1715
1718
|
input: number;
|
|
1716
1719
|
output: number;
|
|
1717
1720
|
} | null;
|
|
1718
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1719
|
-
title: string;
|
|
1720
|
-
created_at: string;
|
|
1721
|
-
updated_at: string;
|
|
1721
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1722
1722
|
created_by?: string | undefined;
|
|
1723
1723
|
updated_by?: string | undefined;
|
|
1724
1724
|
}>;
|
|
1725
1725
|
}, "strip", zod.ZodTypeAny, {
|
|
1726
1726
|
item: {
|
|
1727
|
-
description: string | null;
|
|
1728
1727
|
id: string;
|
|
1729
|
-
|
|
1728
|
+
title: string;
|
|
1729
|
+
created_at: string;
|
|
1730
|
+
updated_at: string;
|
|
1731
|
+
description: string | null;
|
|
1730
1732
|
capabilities: string[];
|
|
1733
|
+
logo: string | null;
|
|
1731
1734
|
limits: {
|
|
1732
1735
|
maxOutputTokens: number;
|
|
1733
1736
|
contextWindow: number;
|
|
@@ -1736,19 +1739,19 @@ declare const WellKnownBindings: {
|
|
|
1736
1739
|
input: number;
|
|
1737
1740
|
output: number;
|
|
1738
1741
|
} | null;
|
|
1739
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1740
|
-
title: string;
|
|
1741
|
-
created_at: string;
|
|
1742
|
-
updated_at: string;
|
|
1742
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1743
1743
|
created_by?: string | undefined;
|
|
1744
1744
|
updated_by?: string | undefined;
|
|
1745
1745
|
};
|
|
1746
1746
|
}, {
|
|
1747
1747
|
item: {
|
|
1748
|
-
description: string | null;
|
|
1749
1748
|
id: string;
|
|
1750
|
-
|
|
1749
|
+
title: string;
|
|
1750
|
+
created_at: string;
|
|
1751
|
+
updated_at: string;
|
|
1752
|
+
description: string | null;
|
|
1751
1753
|
capabilities: string[];
|
|
1754
|
+
logo: string | null;
|
|
1752
1755
|
limits: {
|
|
1753
1756
|
maxOutputTokens: number;
|
|
1754
1757
|
contextWindow: number;
|
|
@@ -1757,10 +1760,7 @@ declare const WellKnownBindings: {
|
|
|
1757
1760
|
input: number;
|
|
1758
1761
|
output: number;
|
|
1759
1762
|
} | null;
|
|
1760
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1761
|
-
title: string;
|
|
1762
|
-
created_at: string;
|
|
1763
|
-
updated_at: string;
|
|
1763
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1764
1764
|
created_by?: string | undefined;
|
|
1765
1765
|
updated_by?: string | undefined;
|
|
1766
1766
|
};
|
|
@@ -1809,10 +1809,13 @@ declare const WellKnownBindings: {
|
|
|
1809
1809
|
}>>;
|
|
1810
1810
|
provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1811
1811
|
}, "strip", zod.ZodTypeAny, {
|
|
1812
|
-
description: string | null;
|
|
1813
1812
|
id: string;
|
|
1814
|
-
|
|
1813
|
+
title: string;
|
|
1814
|
+
created_at: string;
|
|
1815
|
+
updated_at: string;
|
|
1816
|
+
description: string | null;
|
|
1815
1817
|
capabilities: string[];
|
|
1818
|
+
logo: string | null;
|
|
1816
1819
|
limits: {
|
|
1817
1820
|
maxOutputTokens: number;
|
|
1818
1821
|
contextWindow: number;
|
|
@@ -1821,17 +1824,17 @@ declare const WellKnownBindings: {
|
|
|
1821
1824
|
input: number;
|
|
1822
1825
|
output: number;
|
|
1823
1826
|
} | null;
|
|
1824
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1825
|
-
title: string;
|
|
1826
|
-
created_at: string;
|
|
1827
|
-
updated_at: string;
|
|
1827
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1828
1828
|
created_by?: string | undefined;
|
|
1829
1829
|
updated_by?: string | undefined;
|
|
1830
1830
|
}, {
|
|
1831
|
-
description: string | null;
|
|
1832
1831
|
id: string;
|
|
1833
|
-
|
|
1832
|
+
title: string;
|
|
1833
|
+
created_at: string;
|
|
1834
|
+
updated_at: string;
|
|
1835
|
+
description: string | null;
|
|
1834
1836
|
capabilities: string[];
|
|
1837
|
+
logo: string | null;
|
|
1835
1838
|
limits: {
|
|
1836
1839
|
maxOutputTokens: number;
|
|
1837
1840
|
contextWindow: number;
|
|
@@ -1840,19 +1843,19 @@ declare const WellKnownBindings: {
|
|
|
1840
1843
|
input: number;
|
|
1841
1844
|
output: number;
|
|
1842
1845
|
} | null;
|
|
1843
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1844
|
-
title: string;
|
|
1845
|
-
created_at: string;
|
|
1846
|
-
updated_at: string;
|
|
1846
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1847
1847
|
created_by?: string | undefined;
|
|
1848
1848
|
updated_by?: string | undefined;
|
|
1849
1849
|
}>;
|
|
1850
1850
|
}, "strip", zod.ZodTypeAny, {
|
|
1851
1851
|
item: {
|
|
1852
|
-
description: string | null;
|
|
1853
1852
|
id: string;
|
|
1854
|
-
|
|
1853
|
+
title: string;
|
|
1854
|
+
created_at: string;
|
|
1855
|
+
updated_at: string;
|
|
1856
|
+
description: string | null;
|
|
1855
1857
|
capabilities: string[];
|
|
1858
|
+
logo: string | null;
|
|
1856
1859
|
limits: {
|
|
1857
1860
|
maxOutputTokens: number;
|
|
1858
1861
|
contextWindow: number;
|
|
@@ -1861,19 +1864,19 @@ declare const WellKnownBindings: {
|
|
|
1861
1864
|
input: number;
|
|
1862
1865
|
output: number;
|
|
1863
1866
|
} | null;
|
|
1864
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1865
|
-
title: string;
|
|
1866
|
-
created_at: string;
|
|
1867
|
-
updated_at: string;
|
|
1867
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1868
1868
|
created_by?: string | undefined;
|
|
1869
1869
|
updated_by?: string | undefined;
|
|
1870
1870
|
};
|
|
1871
1871
|
}, {
|
|
1872
1872
|
item: {
|
|
1873
|
-
description: string | null;
|
|
1874
1873
|
id: string;
|
|
1875
|
-
|
|
1874
|
+
title: string;
|
|
1875
|
+
created_at: string;
|
|
1876
|
+
updated_at: string;
|
|
1877
|
+
description: string | null;
|
|
1876
1878
|
capabilities: string[];
|
|
1879
|
+
logo: string | null;
|
|
1877
1880
|
limits: {
|
|
1878
1881
|
maxOutputTokens: number;
|
|
1879
1882
|
contextWindow: number;
|
|
@@ -1882,10 +1885,7 @@ declare const WellKnownBindings: {
|
|
|
1882
1885
|
input: number;
|
|
1883
1886
|
output: number;
|
|
1884
1887
|
} | null;
|
|
1885
|
-
provider: "openai" | "anthropic" | "google" | "
|
|
1886
|
-
title: string;
|
|
1887
|
-
created_at: string;
|
|
1888
|
-
updated_at: string;
|
|
1888
|
+
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1889
1889
|
created_by?: string | undefined;
|
|
1890
1890
|
updated_by?: string | undefined;
|
|
1891
1891
|
};
|
|
@@ -1935,14 +1935,14 @@ declare const WellKnownBindings: {
|
|
|
1935
1935
|
description: zod.ZodOptional<zod.ZodString>;
|
|
1936
1936
|
}, "strip", zod.ZodTypeAny, {
|
|
1937
1937
|
type: "json";
|
|
1938
|
-
schema?: any;
|
|
1939
|
-
name?: string | undefined;
|
|
1940
1938
|
description?: string | undefined;
|
|
1939
|
+
name?: string | undefined;
|
|
1940
|
+
schema?: any;
|
|
1941
1941
|
}, {
|
|
1942
1942
|
type: "json";
|
|
1943
|
-
schema?: any;
|
|
1944
|
-
name?: string | undefined;
|
|
1945
1943
|
description?: string | undefined;
|
|
1944
|
+
name?: string | undefined;
|
|
1945
|
+
schema?: any;
|
|
1946
1946
|
}>]>>;
|
|
1947
1947
|
tools: zod.ZodOptional<zod.ZodArray<zod.ZodAny, "many">>;
|
|
1948
1948
|
toolChoice: zod.ZodOptional<zod.ZodAny>;
|
|
@@ -1951,6 +1951,8 @@ declare const WellKnownBindings: {
|
|
|
1951
1951
|
headers: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodUndefined]>>>;
|
|
1952
1952
|
providerOptions: zod.ZodOptional<zod.ZodAny>;
|
|
1953
1953
|
}, "strip", zod.ZodTypeAny, {
|
|
1954
|
+
tools?: any[] | undefined;
|
|
1955
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1954
1956
|
prompt?: any;
|
|
1955
1957
|
maxOutputTokens?: number | undefined;
|
|
1956
1958
|
temperature?: number | undefined;
|
|
@@ -1964,17 +1966,17 @@ declare const WellKnownBindings: {
|
|
|
1964
1966
|
type: "text";
|
|
1965
1967
|
} | {
|
|
1966
1968
|
type: "json";
|
|
1967
|
-
schema?: any;
|
|
1968
|
-
name?: string | undefined;
|
|
1969
1969
|
description?: string | undefined;
|
|
1970
|
+
name?: string | undefined;
|
|
1971
|
+
schema?: any;
|
|
1970
1972
|
} | undefined;
|
|
1971
|
-
tools?: any[] | undefined;
|
|
1972
1973
|
toolChoice?: any;
|
|
1973
1974
|
includeRawChunks?: boolean | undefined;
|
|
1974
1975
|
abortSignal?: any;
|
|
1975
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1976
1976
|
providerOptions?: any;
|
|
1977
1977
|
}, {
|
|
1978
|
+
tools?: any[] | undefined;
|
|
1979
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1978
1980
|
prompt?: any;
|
|
1979
1981
|
maxOutputTokens?: number | undefined;
|
|
1980
1982
|
temperature?: number | undefined;
|
|
@@ -1988,20 +1990,20 @@ declare const WellKnownBindings: {
|
|
|
1988
1990
|
type: "text";
|
|
1989
1991
|
} | {
|
|
1990
1992
|
type: "json";
|
|
1991
|
-
schema?: any;
|
|
1992
|
-
name?: string | undefined;
|
|
1993
1993
|
description?: string | undefined;
|
|
1994
|
+
name?: string | undefined;
|
|
1995
|
+
schema?: any;
|
|
1994
1996
|
} | undefined;
|
|
1995
|
-
tools?: any[] | undefined;
|
|
1996
1997
|
toolChoice?: any;
|
|
1997
1998
|
includeRawChunks?: boolean | undefined;
|
|
1998
1999
|
abortSignal?: any;
|
|
1999
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2000
2000
|
providerOptions?: any;
|
|
2001
2001
|
}>;
|
|
2002
2002
|
}, "strip", zod.ZodTypeAny, {
|
|
2003
2003
|
modelId: string;
|
|
2004
2004
|
callOptions: {
|
|
2005
|
+
tools?: any[] | undefined;
|
|
2006
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2005
2007
|
prompt?: any;
|
|
2006
2008
|
maxOutputTokens?: number | undefined;
|
|
2007
2009
|
temperature?: number | undefined;
|
|
@@ -2015,20 +2017,20 @@ declare const WellKnownBindings: {
|
|
|
2015
2017
|
type: "text";
|
|
2016
2018
|
} | {
|
|
2017
2019
|
type: "json";
|
|
2018
|
-
schema?: any;
|
|
2019
|
-
name?: string | undefined;
|
|
2020
2020
|
description?: string | undefined;
|
|
2021
|
+
name?: string | undefined;
|
|
2022
|
+
schema?: any;
|
|
2021
2023
|
} | undefined;
|
|
2022
|
-
tools?: any[] | undefined;
|
|
2023
2024
|
toolChoice?: any;
|
|
2024
2025
|
includeRawChunks?: boolean | undefined;
|
|
2025
2026
|
abortSignal?: any;
|
|
2026
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2027
2027
|
providerOptions?: any;
|
|
2028
2028
|
};
|
|
2029
2029
|
}, {
|
|
2030
2030
|
modelId: string;
|
|
2031
2031
|
callOptions: {
|
|
2032
|
+
tools?: any[] | undefined;
|
|
2033
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2032
2034
|
prompt?: any;
|
|
2033
2035
|
maxOutputTokens?: number | undefined;
|
|
2034
2036
|
temperature?: number | undefined;
|
|
@@ -2042,15 +2044,13 @@ declare const WellKnownBindings: {
|
|
|
2042
2044
|
type: "text";
|
|
2043
2045
|
} | {
|
|
2044
2046
|
type: "json";
|
|
2045
|
-
schema?: any;
|
|
2046
|
-
name?: string | undefined;
|
|
2047
2047
|
description?: string | undefined;
|
|
2048
|
+
name?: string | undefined;
|
|
2049
|
+
schema?: any;
|
|
2048
2050
|
} | undefined;
|
|
2049
|
-
tools?: any[] | undefined;
|
|
2050
2051
|
toolChoice?: any;
|
|
2051
2052
|
includeRawChunks?: boolean | undefined;
|
|
2052
2053
|
abortSignal?: any;
|
|
2053
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2054
2054
|
providerOptions?: any;
|
|
2055
2055
|
};
|
|
2056
2056
|
}>;
|
|
@@ -2083,14 +2083,14 @@ declare const WellKnownBindings: {
|
|
|
2083
2083
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2084
2084
|
}, "strip", zod.ZodTypeAny, {
|
|
2085
2085
|
type: "json";
|
|
2086
|
-
schema?: any;
|
|
2087
|
-
name?: string | undefined;
|
|
2088
2086
|
description?: string | undefined;
|
|
2087
|
+
name?: string | undefined;
|
|
2088
|
+
schema?: any;
|
|
2089
2089
|
}, {
|
|
2090
2090
|
type: "json";
|
|
2091
|
-
schema?: any;
|
|
2092
|
-
name?: string | undefined;
|
|
2093
2091
|
description?: string | undefined;
|
|
2092
|
+
name?: string | undefined;
|
|
2093
|
+
schema?: any;
|
|
2094
2094
|
}>]>>;
|
|
2095
2095
|
tools: zod.ZodOptional<zod.ZodArray<zod.ZodAny, "many">>;
|
|
2096
2096
|
toolChoice: zod.ZodOptional<zod.ZodAny>;
|
|
@@ -2099,6 +2099,8 @@ declare const WellKnownBindings: {
|
|
|
2099
2099
|
headers: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodUndefined]>>>;
|
|
2100
2100
|
providerOptions: zod.ZodOptional<zod.ZodAny>;
|
|
2101
2101
|
}, "strip", zod.ZodTypeAny, {
|
|
2102
|
+
tools?: any[] | undefined;
|
|
2103
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2102
2104
|
prompt?: any;
|
|
2103
2105
|
maxOutputTokens?: number | undefined;
|
|
2104
2106
|
temperature?: number | undefined;
|
|
@@ -2112,17 +2114,17 @@ declare const WellKnownBindings: {
|
|
|
2112
2114
|
type: "text";
|
|
2113
2115
|
} | {
|
|
2114
2116
|
type: "json";
|
|
2115
|
-
schema?: any;
|
|
2116
|
-
name?: string | undefined;
|
|
2117
2117
|
description?: string | undefined;
|
|
2118
|
+
name?: string | undefined;
|
|
2119
|
+
schema?: any;
|
|
2118
2120
|
} | undefined;
|
|
2119
|
-
tools?: any[] | undefined;
|
|
2120
2121
|
toolChoice?: any;
|
|
2121
2122
|
includeRawChunks?: boolean | undefined;
|
|
2122
2123
|
abortSignal?: any;
|
|
2123
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2124
2124
|
providerOptions?: any;
|
|
2125
2125
|
}, {
|
|
2126
|
+
tools?: any[] | undefined;
|
|
2127
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2126
2128
|
prompt?: any;
|
|
2127
2129
|
maxOutputTokens?: number | undefined;
|
|
2128
2130
|
temperature?: number | undefined;
|
|
@@ -2136,20 +2138,20 @@ declare const WellKnownBindings: {
|
|
|
2136
2138
|
type: "text";
|
|
2137
2139
|
} | {
|
|
2138
2140
|
type: "json";
|
|
2139
|
-
schema?: any;
|
|
2140
|
-
name?: string | undefined;
|
|
2141
2141
|
description?: string | undefined;
|
|
2142
|
+
name?: string | undefined;
|
|
2143
|
+
schema?: any;
|
|
2142
2144
|
} | undefined;
|
|
2143
|
-
tools?: any[] | undefined;
|
|
2144
2145
|
toolChoice?: any;
|
|
2145
2146
|
includeRawChunks?: boolean | undefined;
|
|
2146
2147
|
abortSignal?: any;
|
|
2147
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2148
2148
|
providerOptions?: any;
|
|
2149
2149
|
}>;
|
|
2150
2150
|
}, "strip", zod.ZodTypeAny, {
|
|
2151
2151
|
modelId: string;
|
|
2152
2152
|
callOptions: {
|
|
2153
|
+
tools?: any[] | undefined;
|
|
2154
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2153
2155
|
prompt?: any;
|
|
2154
2156
|
maxOutputTokens?: number | undefined;
|
|
2155
2157
|
temperature?: number | undefined;
|
|
@@ -2163,20 +2165,20 @@ declare const WellKnownBindings: {
|
|
|
2163
2165
|
type: "text";
|
|
2164
2166
|
} | {
|
|
2165
2167
|
type: "json";
|
|
2166
|
-
schema?: any;
|
|
2167
|
-
name?: string | undefined;
|
|
2168
2168
|
description?: string | undefined;
|
|
2169
|
+
name?: string | undefined;
|
|
2170
|
+
schema?: any;
|
|
2169
2171
|
} | undefined;
|
|
2170
|
-
tools?: any[] | undefined;
|
|
2171
2172
|
toolChoice?: any;
|
|
2172
2173
|
includeRawChunks?: boolean | undefined;
|
|
2173
2174
|
abortSignal?: any;
|
|
2174
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2175
2175
|
providerOptions?: any;
|
|
2176
2176
|
};
|
|
2177
2177
|
}, {
|
|
2178
2178
|
modelId: string;
|
|
2179
2179
|
callOptions: {
|
|
2180
|
+
tools?: any[] | undefined;
|
|
2181
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2180
2182
|
prompt?: any;
|
|
2181
2183
|
maxOutputTokens?: number | undefined;
|
|
2182
2184
|
temperature?: number | undefined;
|
|
@@ -2190,15 +2192,13 @@ declare const WellKnownBindings: {
|
|
|
2190
2192
|
type: "text";
|
|
2191
2193
|
} | {
|
|
2192
2194
|
type: "json";
|
|
2193
|
-
schema?: any;
|
|
2194
|
-
name?: string | undefined;
|
|
2195
2195
|
description?: string | undefined;
|
|
2196
|
+
name?: string | undefined;
|
|
2197
|
+
schema?: any;
|
|
2196
2198
|
} | undefined;
|
|
2197
|
-
tools?: any[] | undefined;
|
|
2198
2199
|
toolChoice?: any;
|
|
2199
2200
|
includeRawChunks?: boolean | undefined;
|
|
2200
2201
|
abortSignal?: any;
|
|
2201
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2202
2202
|
providerOptions?: any;
|
|
2203
2203
|
};
|
|
2204
2204
|
}>;
|
|
@@ -2246,22 +2246,22 @@ declare const WellKnownBindings: {
|
|
|
2246
2246
|
headers: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
2247
2247
|
body: zod.ZodOptional<zod.ZodAny>;
|
|
2248
2248
|
}, "strip", zod.ZodTypeAny, {
|
|
2249
|
+
id?: string | undefined;
|
|
2249
2250
|
headers?: Record<string, string> | undefined;
|
|
2250
2251
|
body?: any;
|
|
2251
|
-
id?: string | undefined;
|
|
2252
2252
|
timestamp?: Date | undefined;
|
|
2253
2253
|
modelId?: string | undefined;
|
|
2254
2254
|
}, {
|
|
2255
|
+
id?: string | undefined;
|
|
2255
2256
|
headers?: Record<string, string> | undefined;
|
|
2256
2257
|
body?: any;
|
|
2257
|
-
id?: string | undefined;
|
|
2258
2258
|
timestamp?: Date | undefined;
|
|
2259
2259
|
modelId?: string | undefined;
|
|
2260
2260
|
}>>;
|
|
2261
2261
|
warnings: zod.ZodArray<zod.ZodAny, "many">;
|
|
2262
2262
|
}, "strip", zod.ZodTypeAny, {
|
|
2263
2263
|
content: any[];
|
|
2264
|
-
finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "
|
|
2264
|
+
finishReason: "length" | "unknown" | "error" | "stop" | "content-filter" | "tool-calls" | "other";
|
|
2265
2265
|
usage: {
|
|
2266
2266
|
inputTokens: number | undefined;
|
|
2267
2267
|
outputTokens: number | undefined;
|
|
@@ -2274,15 +2274,15 @@ declare const WellKnownBindings: {
|
|
|
2274
2274
|
body?: any;
|
|
2275
2275
|
} | undefined;
|
|
2276
2276
|
response?: {
|
|
2277
|
+
id?: string | undefined;
|
|
2277
2278
|
headers?: Record<string, string> | undefined;
|
|
2278
2279
|
body?: any;
|
|
2279
|
-
id?: string | undefined;
|
|
2280
2280
|
timestamp?: Date | undefined;
|
|
2281
2281
|
modelId?: string | undefined;
|
|
2282
2282
|
} | undefined;
|
|
2283
2283
|
}, {
|
|
2284
2284
|
content: any[];
|
|
2285
|
-
finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "
|
|
2285
|
+
finishReason: "length" | "unknown" | "error" | "stop" | "content-filter" | "tool-calls" | "other";
|
|
2286
2286
|
usage: {
|
|
2287
2287
|
inputTokens?: number | undefined;
|
|
2288
2288
|
outputTokens?: number | undefined;
|
|
@@ -2297,9 +2297,9 @@ declare const WellKnownBindings: {
|
|
|
2297
2297
|
body?: any;
|
|
2298
2298
|
} | undefined;
|
|
2299
2299
|
response?: {
|
|
2300
|
+
id?: string | undefined;
|
|
2300
2301
|
headers?: Record<string, string> | undefined;
|
|
2301
2302
|
body?: any;
|
|
2302
|
-
id?: string | undefined;
|
|
2303
2303
|
timestamp?: Date | undefined;
|
|
2304
2304
|
modelId?: string | undefined;
|
|
2305
2305
|
} | undefined;
|